goocanvas.Group
goocanvas.Group — A group of items.
Synopsis
class goocanvas.Group(goocanvas.ItemSimple):
goocanvas.Group(properties =None)
|
goocanvas.Group Properties
Implemented Interfaces
goocanvas.Group
implements
goocanvas.Item
Description
goocanvas.Group
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.ItemSimple
and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".
Setting a style property on a
goocanvas.Group
will affect all children of the
goocanvas.Group
(unless the children override the property setting).
It also implements the
goocanvas.Item
interface, so you can use the
goocanvas.Item
functions such as
goocanvas.Item.raise_()
and
goocanvas.Item.rotate()
,
and the properties such as "visibility" and "pointer-events".
Constructor
goocanvas.Group(properties
=None)
properties :
| A comma separated properties as **kwargs. |
Returns: | A new
goocanvas.Group
|
Creates a new canvas group item.