GOffice.CanvasItemClass¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
base |
r |
the parent class |
|
button2_pressed |
r |
callback for a double click event. |
|
button_pressed |
r |
callback for a button press event. |
|
button_released |
r |
callback for a button release event. |
|
copy |
r |
method for copying an item. |
|
distance |
r |
returns the distance between the item and the point defined by x and y. When the distance is larger than a few pixels, the result is not relevant, so an approximate |
|
draw |
r |
draws the item to the cairo context. |
|
draw_region |
r |
draws the item in the region defined by x0, y0, x1 and y1. Should return |
|
enter_notify |
r |
callback for an enter notify event. |
|
get_window |
r |
returns the |
|
key_pressed |
r |
callback for a key press event. |
|
key_released |
r |
callback for a key release event. |
|
leave_notify |
r |
callback for a leave notify event. |
|
motion |
r |
callback for a motion event. |
|
notify_scrolled |
r |
callback for a notify scrolled event. This is useful to reposition children of the |
|
realize |
r |
callback for a realizes event. |
|
reserved2 |
r |
||
reserved3 |
r |
||
reserved4 |
r |
||
unrealize |
r |
callback for an unrealize event. |
|
update_bounds |
r |
updates the bounds stored in |
Methods¶
None
Details¶
- class GOffice.CanvasItemClass¶
The base class for all canvas items.