enum
Gdk::EventType
Overview
Specifies the type of the event.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum Members
-
Delete =
0_u32 -
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.
-
MotionNotify =
1_u32 -
the pointer (usually a mouse) has moved.
-
ButtonPress =
2_u32 -
a mouse button has been pressed.
-
ButtonRelease =
3_u32 -
a mouse button has been released.
-
KeyPress =
4_u32 -
a key has been pressed.
-
KeyRelease =
5_u32 -
a key has been released.
-
EnterNotify =
6_u32 -
the pointer has entered the surface.
-
LeaveNotify =
7_u32 -
the pointer has left the surface.
-
FocusChange =
8_u32 -
the keyboard focus has entered or left the surface.
-
ProximityIn =
9_u32 -
an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).
-
ProximityOut =
10_u32 -
an input device has moved out of contact with a sensing surface.
-
DragEnter =
11_u32 -
the mouse has entered the surface while a drag is in progress.
-
DragLeave =
12_u32 -
the mouse has left the surface while a drag is in progress.
-
DragMotion =
13_u32 -
the mouse has moved in the surface while a drag is in progress.
-
DropStart =
14_u32 -
a drop operation onto the surface has started.
-
Scroll =
15_u32 -
the scroll wheel was turned
-
GrabBroken =
16_u32 -
a pointer or keyboard grab was broken.
-
TouchBegin =
17_u32 -
A new touch event sequence has just started.
-
TouchUpdate =
18_u32 -
A touch event sequence has been updated.
-
TouchEnd =
19_u32 -
A touch event sequence has finished.
-
TouchCancel =
20_u32 -
A touch event sequence has been canceled.
-
TouchpadSwipe =
21_u32 -
A touchpad swipe gesture event, the current state is determined by its phase field.
-
TouchpadPinch =
22_u32 -
A touchpad pinch gesture event, the current state is determined by its phase field.
-
PadButtonPress =
23_u32 -
A tablet pad button press event.
-
PadButtonRelease =
24_u32 -
A tablet pad button release event.
-
PadRing =
25_u32 -
A tablet pad axis event from a "ring".
-
PadStrip =
26_u32 -
A tablet pad axis event from a "strip".
-
PadGroupMode =
27_u32 -
A tablet pad group mode change.
-
TouchpadHold =
28_u32 -
A touchpad hold gesture event, the current state is determined by its phase field. Since: 4.6
-
EventLast =
29_u32 -
marks the end of the Gdk::EventType enumeration.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#button_press?
Returns
trueif this enum value equalsButtonPress -
#button_release?
Returns
trueif this enum value equalsButtonRelease -
#delete?
Returns
trueif this enum value equalsDelete -
#drag_enter?
Returns
trueif this enum value equalsDragEnter -
#drag_leave?
Returns
trueif this enum value equalsDragLeave -
#drag_motion?
Returns
trueif this enum value equalsDragMotion -
#drop_start?
Returns
trueif this enum value equalsDropStart -
#enter_notify?
Returns
trueif this enum value equalsEnterNotify -
#event_last?
Returns
trueif this enum value equalsEventLast -
#focus_change?
Returns
trueif this enum value equalsFocusChange -
#grab_broken?
Returns
trueif this enum value equalsGrabBroken -
#key_press?
Returns
trueif this enum value equalsKeyPress -
#key_release?
Returns
trueif this enum value equalsKeyRelease -
#leave_notify?
Returns
trueif this enum value equalsLeaveNotify -
#motion_notify?
Returns
trueif this enum value equalsMotionNotify -
#pad_button_press?
Returns
trueif this enum value equalsPadButtonPress -
#pad_button_release?
Returns
trueif this enum value equalsPadButtonRelease -
#pad_group_mode?
Returns
trueif this enum value equalsPadGroupMode -
#pad_ring?
Returns
trueif this enum value equalsPadRing -
#pad_strip?
Returns
trueif this enum value equalsPadStrip -
#proximity_in?
Returns
trueif this enum value equalsProximityIn -
#proximity_out?
Returns
trueif this enum value equalsProximityOut -
#scroll?
Returns
trueif this enum value equalsScroll -
#touch_begin?
Returns
trueif this enum value equalsTouchBegin -
#touch_cancel?
Returns
trueif this enum value equalsTouchCancel -
#touch_end?
Returns
trueif this enum value equalsTouchEnd -
#touch_update?
Returns
trueif this enum value equalsTouchUpdate -
#touchpad_hold?
Returns
trueif this enum value equalsTouchpadHold -
#touchpad_pinch?
Returns
trueif this enum value equalsTouchpadPinch -
#touchpad_swipe?
Returns
trueif this enum value equalsTouchpadSwipe
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.