GDK Reference Manualgdouble y the y coordinate of the mouse relative to the window. gdouble pressure the pressure of the button press, intended for input devices such as graphics tablets. It defaults to 0.5. gdouble xtilt the horizontal tilt of the input device. Defaults to 0. gdouble ytilt the vertical tilt of the input device. Defaults to 0. guint state a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType. guint button the button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together. GdkInputSource source the input device where the event came from, usually GDK_SOURCE_MOUSE. guint32 deviceid the input device ID, usually GDK_CORE_POINTER but may be different if touch screens or graphics tablets are being used. gdouble x_root the x coordinate of the mouse relative to the root of the screen. gdouble y_root the y coordinate of the mouse relative to the root of the screen. struct GdkEventMotion
GdkEventType type the type of the event. GdkWindow *window the window which received the event. gint8 send_event TRUE if the event was sent explicitly (e.g. using XSendEvent). guint32 time gdouble x gdouble y gdouble pressure gdouble xtilt gdouble ytilt guint state gint16 is_hint GdkInputSource source guint32 deviceid gdouble x_root gdouble y_root struct GdkEventExpose
Generated when all or part of a window becomes visible and needs to be redrawn. GdkEventType type the type of the event (GDK_EXPOSE). GdkWindow *window the window which received the event. gint8 send_event TRUE if the event was sent explicitly (e.g. using XSendEvent). GdkRectangle area the area that needs to be redrawn. gint count the number of contiguous GDK_EXPOSE events following this one. The only use for this is "exposure compression", i.e. handling all contiguous GDK_EXPOSE events in one go, though GDK performs some exposure compression so this is not normally needed. struct GdkEventVisibility
Generated when the window visibility status has changed. GdkEventType type the type of the event (GDK_VISIBILITY_NOTIFY). GdkWindow *window the window which received the event. gint8 send_event TRUE if the event was sent explicitly (e.g. using XSendEvent). GdkVisibilityState state the new visibility state (GDK_VISIBILITY_FULLY_OBSCURED, GDK_VISIBILITY_PARTIAL or GDK_VISIBILITY_UNOBSCURED). struct GdkEventCrossing
GdkEventType type the type of the event. GdkWindow *window the window which received the event. gint8 send_event TRUE if the event was sent explicitly (e.g. using XSendEvent). GdkWindow *subwindow guint32 time the time of the event in milliseconds. gdouble x gdouble y gdouble x_root gdouble y_root GdkCrossingMode mode GdkNotifyType detail gboolean focus guint state struct GdkEventFocus
|