:right-sidebar: True CrossingMode =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: CrossingMode :no-contents-entry: Specifies the crossing mode for enter and leave events. Fields ------ .. rst-class:: interim-class .. class:: CrossingMode :no-index: .. attribute:: 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. .. attribute:: GRAB Crossing because a grab is activated. .. attribute:: GTK_GRAB Crossing because a GTK grab is activated. .. attribute:: GTK_UNGRAB Crossing because a GTK grab is deactivated. .. attribute:: NORMAL Crossing because of pointer motion. .. attribute:: STATE_CHANGED Crossing because a GTK widget changed state (e.g. sensitivity). .. attribute:: TOUCH_BEGIN Crossing because a touch sequence has begun, this event is synthetic as the pointer might have not left the surface. .. attribute:: TOUCH_END Crossing because a touch sequence has ended, this event is synthetic as the pointer might have not left the surface. .. attribute:: UNGRAB Crossing because a grab is deactivated.