- button
uint button [@property getter]
- button
uint button [@property setter]
- device
gdk.device.Device device [@property getter]
- device
gdk.device.Device device [@property setter]
- sendEvent
byte sendEvent [@property getter]
- sendEvent
byte sendEvent [@property setter]
- state
gdk.types.ModifierType state [@property getter]
- state
gdk.types.ModifierType state [@property setter]
- time
uint time [@property getter]
- time
uint time [@property setter]
- type
gdk.types.EventType type [@property getter]
- type
gdk.types.EventType type [@property setter]
- window
gdk.window.Window window [@property getter]
- window
gdk.window.Window window [@property setter]
- x
double x [@property getter]
- x
double x [@property setter]
- xRoot
double xRoot [@property getter]
- xRoot
double xRoot [@property setter]
- y
double y [@property getter]
- y
double y [@property setter]
- yRoot
double yRoot [@property getter]
- yRoot
double yRoot [@property setter]
Used for button press and button release events. The @type field will be one of gdk.types.EventType.ButtonPress, gdk.types.EventType._2buttonPress, gdk.types.EventType._3buttonPress or gdk.types.EventType.ButtonRelease,
Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be:
Note that the first click is received just like a normal button press, while the second click results in a gdk.types.EventType._2buttonPress being received just after the gdk.types.EventType.ButtonPress.
Triple-clicks are very similar to double-clicks, except that gdk.types.EventType._3buttonPress is inserted after the third click. The order of the events is:
For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first button press.