v_sim.SimplifiedEvents¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
button |
r/w |
the number of the button, 0 if not a button event ; |
|
buttonType |
r/w |
|
|
controlMod |
r/w |
|
|
letter |
r/w |
The value of the letter if the event is a key stroke ‘\0’ if not ; |
|
motion |
r/w |
|
|
root_x |
r/w |
the position x (in root window) for the event ; |
|
root_y |
r/w |
the position y (in root window) for the event ; |
|
shiftMod |
r/w |
|
|
specialKey |
r/w |
the value of a special key if the event is a key stroke but not with an ascii letter. |
|
x |
r/w |
the position x (on parent) for the event ; |
|
y |
r/w |
the position y (on parent) for the event ; |
Methods¶
None
Details¶
- class v_sim.SimplifiedEvents¶
This structure is a common interface for events (inspired from X). We don’t use the one introduced by GDK because we don’t want this dependency be a limitation.