set_static_root_item


Description:

public void set_static_root_item (CanvasItem item)

Sets the static root item.

Any existing static items are removed.

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

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

Parameters:

this

a Canvas.

item

the static root item.




2022 vala-language.org