Struct
GdkEventCrossing
Description [src]
struct GdkEventCrossing {
GdkEventType type;
GdkWindow* window;
gint8 send_event;
GdkWindow* subwindow;
guint32 time;
gdouble x;
gdouble y;
gdouble x_root;
gdouble y_root;
GdkCrossingMode mode;
GdkNotifyType detail;
gboolean focus;
GdkModifierType* state;
}
Generated when the pointer enters or leaves a window.
Structure members
type:GdkEventTypeThe type of the event (
GDK_ENTER_NOTIFYorGDK_LEAVE_NOTIFY).window:GdkWindowThe window which received the event.
send_event:gint8TRUEif the event was sent explicitly.subwindow:GdkWindowThe window that was entered or left.
time:guint32The time of the event in milliseconds.
x:gdoubleThe x coordinate of the pointer relative to the window.
y:gdoubleThe y coordinate of the pointer relative to the window.
x_root:gdoubleThe x coordinate of the pointer relative to the root of the screen.
y_root:gdoubleThe y coordinate of the pointer relative to the root of the screen.
mode:GdkCrossingModeThe crossing mode (
GDK_CROSSING_NORMAL,GDK_CROSSING_GRAB,GDK_CROSSING_UNGRAB,GDK_CROSSING_GTK_GRAB,GDK_CROSSING_GTK_UNGRABorGDK_CROSSING_STATE_CHANGED).GDK_CROSSING_GTK_GRAB,GDK_CROSSING_GTK_UNGRAB, andGDK_CROSSING_STATE_CHANGEDwere added in 2.14 and are always synthesized, never native.detail:GdkNotifyTypeThe kind of crossing that happened (
GDK_NOTIFY_INFERIOR,GDK_NOTIFY_ANCESTOR,GDK_NOTIFY_VIRTUAL,GDK_NOTIFY_NONLINEARorGDK_NOTIFY_NONLINEAR_VIRTUAL).focus:gbooleanTRUEifwindowis the focus window or an inferior.state:GdkModifierTypeA bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See
GdkModifierType.