GdkCrossingMode

Specifies the crossing mode for GdkEventCrossing

Values

ValueMeaning
NORMAL0

crossing because of pointer motion.

GRAB1

crossing because a grab is activated.

UNGRAB2

crossing because a grab is deactivated.

GTK_GRAB3

crossing because a GTK+ grab is activated.

GTK_UNGRAB4

crossing because a GTK+ grab is deactivated.

STATE_CHANGED5

crossing because a GTK+ widget changed state (e.g. sensitivity).

TOUCH_BEGIN6

crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the window.

TOUCH_END7

crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the window.

DEVICE_SWITCH8

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 window.