Clutter.TouchpadPinchEvent¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
angle_delta |
r/w |
angle delta in degrees, clockwise rotations are represented by positive deltas |
|
dx |
r/w |
movement delta of the pinch focal point in the X axis |
|
dy |
r/w |
movement delta of the pinch focal point in the Y axis |
|
flags |
r/w |
event flags |
|
phase |
r/w |
the current phase of the gesture |
|
scale |
r/w |
the current scale |
|
source |
r/w |
event source actor (unused) |
|
stage |
r/w |
event source stage |
|
time |
r/w |
event time |
|
type |
r/w |
event type |
|
x |
r/w |
the X coordinate of the pointer, relative to the stage |
|
y |
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.