GooCanvas.CanvasItemModelIface¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
add_child |
r |
||
animation_finished |
r |
||
base_iface |
r |
||
changed |
r |
||
child_added |
r |
||
child_moved |
r |
||
child_notify |
r |
||
child_removed |
r |
||
create_item |
r |
||
get_child |
r |
||
get_child_property |
r |
||
get_n_children |
r |
||
get_parent |
r |
||
get_style |
r |
||
get_transform |
r |
||
move_child |
r |
||
remove_child |
r |
||
set_child_property |
r |
||
set_parent |
r |
||
set_style |
r |
||
set_transform |
r |
Methods¶
None
Details¶
- class GooCanvas.CanvasItemModelIface¶
#GooCanvasItemModelIFace holds the virtual methods that make up the
GooCanvas.CanvasItemModel
interface.Simple item models only need to implement the get_parent(), set_parent() and create_item() methods.
Items that support transforms should also implement get_transform() and set_transform(). Items that support styles should implement get_style() and set_style().
Container items must implement get_n_children() and get_child(). Containers that support dynamic changes to their children should implement add_child(), move_child() and remove_child(). Layout containers like
GooCanvas.CanvasTable
may implement get_child_property() and set_child_property().