Clutter.ButtonEvent¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
axes |
r/w |
reserved for future use |
|
button |
r/w |
event button |
|
click_count |
r/w |
number of button presses within the default time and radius |
|
device |
r/w |
the device that originated the event. If you want the physical device the event originated from, use |
|
flags |
r/w |
event flags |
|
modifier_state |
r/w |
button modifiers |
|
source |
r/w |
event source actor |
|
stage |
r/w |
event source stage |
|
time |
r/w |
event time |
|
type |
r/w |
event type |
|
x |
r/w |
event X coordinate, relative to the stage |
|
y |
r/w |
event Y coordinate, relative to the stage |
Methods¶
None
Details¶
- class Clutter.ButtonEvent¶
Button event.
The event coordinates are relative to the stage that received the event, and can be transformed into actor-relative coordinates by using
Clutter.Actor.transform_stage_point
().New in version 0.2.