goocanvas.GroupModel
goocanvas.GroupModel — A model for group of items.
Description
goocanvas.GroupModel
represents a group of items. Groups can be nested to any depth, to create a hierarchy of items.
Items are ordered within each group, with later items being displayed above earlier items.
It is a subclass of
goocanvas.ItemModelSimple
and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".
Setting a style property on a
goocanvas.GroupModel
will affect all children of the
goocanvas.GroupModel
(unless the children override the property setting).
It also implements the
goocanvas.ItemModel
interface, so you can use the
goocanvas.ItemModel
functions such as
goocanvas.ItemModel.raise_()
and
goocanvas.ItemModel.rotate(),
and the properties such as "visibility" and "pointer-events".
Constructor
goocanvas.GroupModel(properties=None)
Creates a new canvas model group item.