enum
Gdk::CrossingMode
Overview
Specifies the crossing mode for enter and leave events.
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/gdk.crEnum Members
-
Normal =
0_u32 -
crossing because of pointer motion.
-
Grab =
1_u32 -
crossing because a grab is activated.
-
Ungrab =
2_u32 -
crossing because a grab is deactivated.
-
GtkGrab =
3_u32 -
crossing because a GTK grab is activated.
-
GtkUngrab =
4_u32 -
crossing because a GTK grab is deactivated.
-
StateChanged =
5_u32 -
crossing because a GTK widget changed state (e.g. sensitivity).
-
TouchBegin =
6_u32 -
crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface.
-
TouchEnd =
7_u32 -
crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface.
-
DeviceSwitch =
8_u32 -
crossing because of a device switch (i.e. a mouse taking control of the pointer after a touch device), this event is synthetic as the pointer didn’t leave the surface.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#device_switch?
Returns
trueif this enum value equalsDeviceSwitch -
#grab?
Returns
trueif this enum value equalsGrab -
#gtk_grab?
Returns
trueif this enum value equalsGtkGrab -
#gtk_ungrab?
Returns
trueif this enum value equalsGtkUngrab -
#normal?
Returns
trueif this enum value equalsNormal -
#state_changed?
Returns
trueif this enum value equalsStateChanged -
#touch_begin?
Returns
trueif this enum value equalsTouchBegin -
#touch_end?
Returns
trueif this enum value equalsTouchEnd -
#ungrab?
Returns
trueif this enum value equalsUngrab
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.