Clutter.TouchpadPinchEvent

Fields

Name

Type

Access

Description

angle_delta

float

r/w

angle delta in degrees, clockwise rotations are represented by positive deltas

dx

float

r/w

movement delta of the pinch focal point in the X axis

dy

float

r/w

movement delta of the pinch focal point in the Y axis

flags

Clutter.EventFlags

r/w

event flags

phase

Clutter.TouchpadGesturePhase

r/w

the current phase of the gesture

scale

float

r/w

the current scale

source

Clutter.Actor

r/w

event source actor (unused)

stage

Clutter.Stage

r/w

event source stage

time

int

r/w

event time

type

Clutter.EventType

r/w

event type

x

float

r/w

the X coordinate of the pointer, relative to the stage

y

float

r/w

the Y coordinate of the pointer, relative to the stage

Methods

None

Details

class Clutter.TouchpadPinchEvent

Used for touchpad pinch gesture events. The current state of the gesture will be determined by the phase field.

Each event with phase Clutter.TouchpadGesturePhase.BEGIN will report a scale of 1.0, all later phases in the gesture report the current scale relative to the initial 1.0 value (eg. 0.5 being half the size, 2.0 twice as big).

New in version 1.24.