Module: Gdk::EventType
- Defined in:
- (unknown)
Constant Summary collapse
- NOTHING =
a special code to indicate a null event.
-1 or :nothing
- DELETE =
the window manager has requested that the toplevel window be
hidden or destroyed, usually when the user clicks on a special icon in the title bar.
0 or :delete
- DESTROY =
the window has been destroyed.
1 or :destroy
- EXPOSE =
all or part of the window has become visible and needs to be
redrawn.
2 or :expose
- MOTION_NOTIFY =
the pointer (usually a mouse) has moved.
3 or :motion_notify
- BUTTON_PRESS =
a mouse button has been pressed.
4 or :button_press
- 2BUTTON_PRESS =
a mouse button has been double-clicked (clicked twice
within a short period of time). Note that each click also generates a %GDK_BUTTON_PRESS event.
5 or :2button_press
- DOUBLE_BUTTON_PRESS =
alias for %GDK_2BUTTON_PRESS, added in 3.6.
5 or :double_button_press
- 3BUTTON_PRESS =
a mouse button has been clicked 3 times in a short period
of time. Note that each click also generates a %GDK_BUTTON_PRESS event.
6 or :3button_press
- TRIPLE_BUTTON_PRESS =
alias for %GDK_3BUTTON_PRESS, added in 3.6.
6 or :triple_button_press
- BUTTON_RELEASE =
a mouse button has been released.
7 or :button_release
- KEY_PRESS =
a key has been pressed.
8 or :key_press
- KEY_RELEASE =
a key has been released.
9 or :key_release
- ENTER_NOTIFY =
the pointer has entered the window.
10 or :enter_notify
- LEAVE_NOTIFY =
the pointer has left the window.
11 or :leave_notify
- FOCUS_CHANGE =
the keyboard focus has entered or left the window.
12 or :focus_change
- CONFIGURE =
the size, position or stacking order of the window has changed.
Note that GTK+ discards these events for %GDK_WINDOW_CHILD windows.
13 or :configure
- MAP =
the window has been mapped.
14 or :map
- UNMAP =
the window has been unmapped.
15 or :unmap
- PROPERTY_NOTIFY =
a property on the window has been changed or deleted.
16 or :property_notify
- SELECTION_CLEAR =
the application has lost ownership of a selection.
17 or :selection_clear
- SELECTION_REQUEST =
another application has requested a selection.
18 or :selection_request
- SELECTION_NOTIFY =
a selection has been received.
19 or :selection_notify
- PROXIMITY_IN =
an input device has moved into contact with a sensing
surface (e.g. a touchscreen or graphics tablet).
20 or :proximity_in
- PROXIMITY_OUT =
an input device has moved out of contact with a sensing
surface.
21 or :proximity_out
- DRAG_ENTER =
the mouse has entered the window while a drag is in progress.
22 or :drag_enter
- DRAG_LEAVE =
the mouse has left the window while a drag is in progress.
23 or :drag_leave
- DRAG_MOTION =
the mouse has moved in the window while a drag is in
progress.
24 or :drag_motion
- DRAG_STATUS =
the status of the drag operation initiated by the window
has changed.
25 or :drag_status
- DROP_START =
a drop operation onto the window has started.
26 or :drop_start
- DROP_FINISHED =
the drop operation initiated by the window has completed.
27 or :drop_finished
- CLIENT_EVENT =
a message has been received from another application.
28 or :client_event
- VISIBILITY_NOTIFY =
the window visibility status has changed.
29 or :visibility_notify
- SCROLL =
the scroll wheel was turned
31 or :scroll
- WINDOW_STATE =
the state of a window has changed. See Gdk::WindowState
for the possible window states
32 or :window_state
- SETTING =
a setting has been modified.
33 or :setting
- OWNER_CHANGE =
the owner of a selection has changed. This event type
was added in 2.6
34 or :owner_change
- GRAB_BROKEN =
a pointer or keyboard grab was broken. This event type
was added in 2.8.
35 or :grab_broken
- DAMAGE =
the content of the window has been changed. This event type
was added in 2.14.
36 or :damage
- TOUCH_BEGIN =
A new touch event sequence has just started. This event
type was added in 3.4.
37 or :touch_begin
- TOUCH_UPDATE =
A touch event sequence has been updated. This event type
was added in 3.4.
38 or :touch_update
- TOUCH_END =
A touch event sequence has finished. This event type
was added in 3.4.
39 or :touch_end
- TOUCH_CANCEL =
A touch event sequence has been canceled. This event type
was added in 3.4.
40 or :touch_cancel
- TOUCHPAD_SWIPE =
A touchpad swipe gesture event, the current state
is determined by its phase field. This event type was added in 3.18.
41 or :touchpad_swipe
- TOUCHPAD_PINCH =
A touchpad pinch gesture event, the current state
is determined by its phase field. This event type was added in 3.18.
42 or :touchpad_pinch
- PAD_BUTTON_PRESS =
A tablet pad button press event. This event type
was added in 3.22.
43 or :pad_button_press
- PAD_BUTTON_RELEASE =
A tablet pad button release event. This event type
was added in 3.22.
44 or :pad_button_release
- PAD_RING =
A tablet pad axis event from a “ring”. This event type was
added in 3.22.
45 or :pad_ring
- PAD_STRIP =
A tablet pad axis event from a “strip”. This event type was
added in 3.22.
46 or :pad_strip
- PAD_GROUP_MODE =
A tablet pad group mode change. This event type was
added in 3.22.
47 or :pad_group_mode
- EVENT_LAST =
marks the end of the GdkEventType enumeration. Added in 2.18
48 or :event_last