EventType
- class EventType
Specifies the type of the event.
Fields
- class EventType
- BUTTON_PRESS
A mouse button has been pressed.
- BUTTON_RELEASE
A mouse button has been released.
- DELETE
The window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.
- DRAG_ENTER
The mouse has entered the surface while a drag is in progress.
- DRAG_LEAVE
The mouse has left the surface while a drag is in progress.
- DRAG_MOTION
The mouse has moved in the surface while a drag is in progress.
- DROP_START
A drop operation onto the surface has started.
- ENTER_NOTIFY
The pointer has entered the surface.
- EVENT_LAST
Marks the end of the GdkEventType enumeration.
- FOCUS_CHANGE
The keyboard focus has entered or left the surface.
- GRAB_BROKEN
A pointer or keyboard grab was broken.
- KEY_PRESS
A key has been pressed.
- KEY_RELEASE
A key has been released.
- LEAVE_NOTIFY
The pointer has left the surface.
- MOTION_NOTIFY
The pointer (usually a mouse) has moved.
- PAD_BUTTON_PRESS
A tablet pad button press event.
- PAD_BUTTON_RELEASE
A tablet pad button release event.
- PAD_GROUP_MODE
A tablet pad group mode change.
- PAD_RING
A tablet pad axis event from a “ring”.
- PAD_STRIP
A tablet pad axis event from a “strip”.
- PROXIMITY_IN
An input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).
- PROXIMITY_OUT
An input device has moved out of contact with a sensing surface.
- SCROLL
The scroll wheel was turned
- TOUCHPAD_HOLD
A touchpad hold gesture event, the current state is determined by its phase field.
Added in version 4.6.
- TOUCHPAD_PINCH
A touchpad pinch gesture event, the current state is determined by its phase field.
- TOUCHPAD_SWIPE
A touchpad swipe gesture event, the current state is determined by its phase field.
- TOUCH_BEGIN
A new touch event sequence has just started.
- TOUCH_CANCEL
A touch event sequence has been canceled.
- TOUCH_END
A touch event sequence has finished.
- TOUCH_UPDATE
A touch event sequence has been updated.