set_root_item


Description:

public void set_root_item (CanvasItem item)

Sets the root item of the canvas.

Any existing canvas items are removed.

Parameters:

this

a Canvas.

item

the root canvas item.