set_static_root_item_model


Description:

public void set_static_root_item_model (CanvasItemModel model)

Sets the static root item model.

Any existing static item models are removed.

Static item models are exactly the same as ordinary item models, except that the corresponding items do not move or change size when the canvas is scrolled or the scale changes.

Static items models are added to the static root item model in exactly the same way that ordinary item models are added to the root item model.

Parameters:

this

a Canvas.

model

the static root item model.




2022 vala-language.org