GOffice.CanvasGroup¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The group horizontal offset |
||
r/w |
The group vertical offset |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
Xchildren |
[ |
r |
|
base |
r |
||
clip_path |
r |
||
clip_rule |
r |
||
priv |
r |
||
x |
r |
||
y |
r |
Class Details¶
- class GOffice.CanvasGroup(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- add_child(item)¶
- Parameters:
item (
GOffice.CanvasItem
) –GOffice.CanvasItem
Adds item as a new child to self.
- adjust_bounds(x0, y0, x1, y1)¶
- Parameters:
Adds self horizontal offset to x0 and x1, and vertical offset to y0 and y1. This function is called recursively so that when returning x0, y0, x1, and y1 are absolute coordinates in canvas space,
- adjust_coords(x, y)¶
-
Adds self horizontal offset to x0, and vertical offset to y0. This function is called recursively so that when returning x0 and y0 are absolute coordinates in canvas space,
- clear()¶
Destroys all self children.
- find_child(item)¶
- Parameters:
item (
GOffice.CanvasItem
) –GOffice.CanvasItem
- Returns:
The index of item in self, or -1 if item is not in self.
- Return type:
- get_child(n)¶
- get_children()¶
- Returns:
An array of the items in self.
- Return type:
- new()¶
- Returns:
the newly created
GOffice.CanvasGroup
.- Return type:
Creates a new
GOffice.CanvasGroup
as a child of self.
- remove_child(item)¶
- Parameters:
item (
GOffice.CanvasItem
) –GOffice.CanvasItem
Removes item from self. This function will fail if item is not a child of self.
Property Details¶
- GOffice.CanvasGroup.props.x¶
-
The group horizontal offset