GooCanvas.CanvasItemSimpleClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent_class |
r |
||
simple_create_path |
r |
|
|
simple_is_item_at |
r |
subclasses should override this to do hit-testing. |
|
simple_paint |
r |
subclasses should override this to paint their item. |
|
simple_update |
r |
subclasses should override this to calculate their new bounds, in user space. |
Methods¶
None
Details¶
- class GooCanvas.CanvasItemSimpleClass¶
The
GooCanvas.CanvasItemSimpleClass
-struct struct contains several methods that subclasses can override.Simple items need only implement the create_path() method. More complex items must override the update(), paint() and is_item_at() methods instead.