Gdk.EventTouchpadPinch

Fields

Name

Type

Access

Description

angle_delta

float

r/w

The angle change in radians, negative angles denote counter-clockwise movements

dx

float

r/w

Movement delta in the X axis of the swipe focal point

dy

float

r/w

Movement delta in the Y axis of the swipe focal point

n_fingers

int

r/w

The number of fingers triggering the pinch

phase

int

r/w

the current phase of the gesture

scale

float

r/w

The current scale, relative to that at the time of the corresponding Gdk.TouchpadGesturePhase.BEGIN event

send_event

int

r/w

True if the event was sent explicitly

state

Gdk.ModifierType

r/w

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See Gdk.ModifierType.

time

int

r/w

the time of the event in milliseconds

type

Gdk.EventType

r/w

the type of the event (Gdk.EventType.TOUCHPAD_PINCH)

window

Gdk.Window

r/w

the window which received the event

x

float

r/w

The X coordinate of the pointer

x_root

float

r/w

The X coordinate of the pointer, relative to the root of the screen.

y

float

r/w

The Y coordinate of the pointer

y_root

float

r/w

The Y coordinate of the pointer, relative to the root of the screen.

Methods

None

Details

class Gdk.EventTouchpadPinch

Generated during touchpad swipe gestures.