GdkEventCrossing

Generated when the pointer enters or leaves a window.

Members

Variables

detail
GdkNotifyType detail;

the kind of crossing that happened (gdk.types.NotifyType.Inferior, gdk.types.NotifyType.Ancestor, gdk.types.NotifyType.Virtual, gdk.types.NotifyType.Nonlinear or gdk.types.NotifyType.NonlinearVirtual).

focus
gboolean focus;

true if @window is the focus window or an inferior.

mode
GdkCrossingMode mode;

the crossing mode (gdk.types.CrossingMode.Normal, gdk.types.CrossingMode.Grab, gdk.types.CrossingMode.Ungrab, gdk.types.CrossingMode.GtkGrab, gdk.types.CrossingMode.GtkUngrab or gdk.types.CrossingMode.StateChanged). gdk.types.CrossingMode.GtkGrab, gdk.types.CrossingMode.GtkUngrab, and gdk.types.CrossingMode.StateChanged were added in 2.14 and are always synthesized, never native.

sendEvent
byte sendEvent;

true if the event was sent explicitly.

state
GdkModifierType state;

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.

subwindow
GdkWindow* subwindow;

the window that was entered or left.

time
uint time;

the time of the event in milliseconds.

type
GdkEventType type;

the type of the event (gdk.types.EventType.EnterNotify or gdk.types.EventType.LeaveNotify).

window
GdkWindow* window;

the window which received the event.

x
double x;

the x coordinate of the pointer relative to the window.

xRoot
double xRoot;

the x coordinate of the pointer relative to the root of the screen.

y
double y;

the y coordinate of the pointer relative to the window.

yRoot
double yRoot;

the y coordinate of the pointer relative to the root of the screen.