set_root_item_model


Description:

public void set_root_item_model (CanvasItemModel model)

Sets the root item model of the canvas.

A hierarchy of canvas items will be created, corresponding to the hierarchy of items in the model. Any current canvas items will be removed.

Parameters:

this

a Canvas.

model

a CanvasItemModel.