CrossingMode#

class CrossingMode#

Specifies the crossing mode for enter and leave events.

Fields#

class CrossingMode
DEVICE_SWITCH#

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.

GRAB#

Crossing because a grab is activated.

GTK_GRAB#

Crossing because a GTK grab is activated.

GTK_UNGRAB#

Crossing because a GTK grab is deactivated.

NORMAL#

Crossing because of pointer motion.

STATE_CHANGED#

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

TOUCH_BEGIN#

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

TOUCH_END#

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

UNGRAB#

Crossing because a grab is deactivated.