GdkCrossingMode

Specifies the crossing mode for enter and leave events.

Values

ValueMeaning
Normal0

crossing because of pointer motion.

Grab1

crossing because a grab is activated.

Ungrab2

crossing because a grab is deactivated.

GtkGrab3

crossing because a GTK grab is activated.

GtkUngrab4

crossing because a GTK grab is deactivated.

StateChanged5

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

TouchBegin6

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

TouchEnd7

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

DeviceSwitch8

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.