GdkEventCrossing

Generated when the pointer enters or leaves a window.

Members

Variables

detail
GdkNotifyType detail;

the kind of crossing that happened (GDK_NOTIFY_INFERIOR, GDK_NOTIFY_ANCESTOR, GDK_NOTIFY_VIRTUAL, GDK_NOTIFY_NONLINEAR or GDK_NOTIFY_NONLINEAR_VIRTUAL).

focus
bool focus;

TRUE if window is the focus window or an inferior.

mode
GdkCrossingMode mode;

the crossing mode (GDK_CROSSING_NORMAL, GDK_CROSSING_GRAB, GDK_CROSSING_UNGRAB, GDK_CROSSING_GTK_GRAB, GDK_CROSSING_GTK_UNGRAB or GDK_CROSSING_STATE_CHANGED). GDK_CROSSING_GTK_GRAB, GDK_CROSSING_GTK_UNGRAB, and GDK_CROSSING_STATE_CHANGED were added in 2.14 and are always synthesized, never native.

sendEvent
byte sendEvent;

TRUE if the event was sent explicitly.

state
ModifierType 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_ENTER_NOTIFY or GDK_LEAVE_NOTIFY).

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.