GdkEventCrossing

Generated when the pointer enters or leaves a window. GdkEventType type; the type of the event (GDK_ENTER_NOTIFY or GDK_LEAVE_NOTIFY). GdkWindow *window; the window which received the event. gint8 send_event; TRUE if the event was sent explicitly (e.g. using XSendEvent). GdkWindow *subwindow; the window that was entered or left. guint32 time; the time of the event in milliseconds. gdouble x; the x coordinate of the pointer relative to the window. gdouble y; the y coordinate of the pointer relative to the window. gdouble x_root; the x coordinate of the pointer relative to the root of the screen. gdouble y_root; the y coordinate of the pointer relative to the root of the screen. 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. 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). gboolean focus; TRUE if window is the focus window or an inferior. guint state; a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType.

Members

Variables

detail
GdkNotifyType detail;
Undocumented in source.
focus
int focus;
Undocumented in source.
mode
GdkCrossingMode mode;
Undocumented in source.
sendEvent
byte sendEvent;
Undocumented in source.
state
uint state;
Undocumented in source.
subwindow
GdkWindow* subwindow;
Undocumented in source.
time
uint time;
Undocumented in source.
type
GdkEventType type;
Undocumented in source.
window
GdkWindow* window;
Undocumented in source.
x
double x;
Undocumented in source.
xRoot
double xRoot;
Undocumented in source.
y
double y;
Undocumented in source.
yRoot
double yRoot;
Undocumented in source.

Meta