Used for touch events.
type field will be one of GDK_TOUCH_BEGIN, GDK_TOUCH_UPDATE,
GDK_TOUCH_END or GDK_TOUCH_CANCEL.
Touch events are grouped into sequences by means of the sequence
field, which can also be obtained with gdk_event_get_event_sequence().
Each sequence begins with a GDK_TOUCH_BEGIN event, followed by
any number of GDK_TOUCH_UPDATE events, and ends with a GDK_TOUCH_END
(or GDK_TOUCH_CANCEL) event. With multitouch devices, there may be
several active sequences at the same time.
GdkEventType type;
the type of the event (GDK_TOUCH_BEGIN, GDK_TOUCH_UPDATE,
GDK_TOUCH_END, GDK_TOUCH_CANCEL)
GdkWindow *window;
the window which received the event
gint8 send_event;
TRUE if the event was sent explicitly (e.g. using
XSendEvent)
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 *axes;
x, y translated to the axes of device, or NULL if device is
the mouse
guint state;
a bit-mask representing the state of
the modifier keys (e.g. Control, Shift and Alt) and the pointer
buttons. See GdkModifierType. [type GdkModifierType]
GdkEventSequence *sequence;
the event sequence that the event belongs to
gboolean emulating_pointer;
whether the event should be used for emulating
pointer event
GdkDevice *device;
the device where the event originated
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
Used for touch events. type field will be one of GDK_TOUCH_BEGIN, GDK_TOUCH_UPDATE, GDK_TOUCH_END or GDK_TOUCH_CANCEL. Touch events are grouped into sequences by means of the sequence field, which can also be obtained with gdk_event_get_event_sequence(). Each sequence begins with a GDK_TOUCH_BEGIN event, followed by any number of GDK_TOUCH_UPDATE events, and ends with a GDK_TOUCH_END (or GDK_TOUCH_CANCEL) event. With multitouch devices, there may be several active sequences at the same time. GdkEventType type; the type of the event (GDK_TOUCH_BEGIN, GDK_TOUCH_UPDATE, GDK_TOUCH_END, GDK_TOUCH_CANCEL) GdkWindow *window; the window which received the event gint8 send_event; TRUE if the event was sent explicitly (e.g. using XSendEvent) 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 *axes; x, y translated to the axes of device, or NULL if device is the mouse guint state; a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See GdkModifierType. [type GdkModifierType] GdkEventSequence *sequence; the event sequence that the event belongs to gboolean emulating_pointer; whether the event should be used for emulating pointer event GdkDevice *device; the device where the event originated 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