set_root_item_model
Description:
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 |