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
The type of the event (
GDK_TOUCHPAD_PINCH
).window
The window which received the event.
send_event
TRUE
if the event was sent explicitly.phase
The current phase of the gesture.
n_fingers
The number of fingers triggering the pinch.
time
The time of the event in milliseconds.
x
The X coordinate of the pointer.
y
The Y coordinate of the pointer.
dx
Movement delta in the X axis of the swipe focal point.
dy
Movement delta in the Y axis of the swipe focal point.
angle_delta
The angle change in radians, negative angles denote counter-clockwise movements.
scale
The current scale, relative to that at the time of the corresponding
GDK_TOUCHPAD_GESTURE_PHASE_BEGIN
event.x_root
The X coordinate of the pointer, relative to the root of the screen.
y_root
The Y coordinate of the pointer, relative to the root of the screen.
state
A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See
GdkModifierType
.