Gdk.EventCrossing

Fields

Name Type Access Description
detail Gdk.NotifyType r/w the kind of crossing that happened (Gdk.NotifyType.INFERIOR, Gdk.NotifyType.ANCESTOR, Gdk.NotifyType.VIRTUAL, Gdk.NotifyType.NONLINEAR or Gdk.NotifyType.NONLINEAR_VIRTUAL).
focus bool r/w True if window is the focus window or an inferior.
mode Gdk.CrossingMode r/w the crossing mode (Gdk.CrossingMode.NORMAL, Gdk.CrossingMode.GRAB, Gdk.CrossingMode.UNGRAB, Gdk.CrossingMode.GTK_GRAB, Gdk.CrossingMode.GTK_UNGRAB or Gdk.CrossingMode.STATE_CHANGED). Gdk.CrossingMode.GTK_GRAB, Gdk.CrossingMode.GTK_UNGRAB, and Gdk.CrossingMode.STATE_CHANGED were added in 2.14 and are always synthesized, never native.
send_event int r/w True if the event was sent explicitly.
state Gdk.ModifierType r/w a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See Gdk.ModifierType.
subwindow Gdk.Window r/w the window that was entered or left.
time int r/w the time of the event in milliseconds.
type Gdk.EventType r/w the type of the event (Gdk.EventType.ENTER_NOTIFY or Gdk.EventType.LEAVE_NOTIFY).
window Gdk.Window r/w the window which received the event.
x float r/w the x coordinate of the pointer relative to the window.
x_root float r/w the x coordinate of the pointer relative to the root of the screen.
y float r/w the y coordinate of the pointer relative to the window.
y_root float r/w the y coordinate of the pointer relative to the root of the screen.

Methods

None

Details

class Gdk.EventCrossing

Generated when the pointer enters or leaves a window.