Struct
GdkEventTouchpadPinch
Description [src]
struct GdkEventTouchpadPinch {
GdkEventType type;
GdkWindow* window;
gint8 send_event;
gint8 phase;
gint8 n_fingers;
guint32 time;
gdouble x;
gdouble y;
gdouble dx;
gdouble dy;
gdouble angle_delta;
gdouble scale;
gdouble x_root;
gdouble y_root;
GdkModifierType* state;
}
Generated during touchpad swipe gestures.
Structure members
type:GdkEventTypeThe type of the event (
GDK_TOUCHPAD_PINCH).window:GdkWindowThe window which received the event.
send_event:gint8TRUEif the event was sent explicitly.phase:gint8The current phase of the gesture.
n_fingers:gint8The number of fingers triggering the pinch.
time:guint32The time of the event in milliseconds.
x:gdoubleThe X coordinate of the pointer.
y:gdoubleThe Y coordinate of the pointer.
dx:gdoubleMovement delta in the X axis of the swipe focal point.
dy:gdoubleMovement delta in the Y axis of the swipe focal point.
angle_delta:gdoubleThe angle change in radians, negative angles denote counter-clockwise movements.
scale:gdoubleThe current scale, relative to that at the time of the corresponding
GDK_TOUCHPAD_GESTURE_PHASE_BEGINevent.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.
state:GdkModifierTypeA bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See
GdkModifierType.