Clutter.TouchpadHoldEvent
Description: Reference for Clutter.TouchpadHoldEvent

### Struct

# ClutterTouchpadHoldEvent

#### Description [src]

    struct ClutterTouchpadHoldEvent {
      ClutterEventType type;
      guint32 time;
      ClutterEventFlags flags;
      ClutterStage* stage;
      ClutterTouchpadGesturePhase phase;
      uint32_t n_fingers;
      float x;
      float y;
    }

Used for touchpad hold gesture events.

The current state of the gesture will be determined by the `phase` field.

A hold gesture starts when the user places one or many fingers on the touchpad and ends when all fingers are lifted. It is cancelled when the finger(s) move past a certain threshold. Unlike swipe and pinch, `phase` can only be CLUTTER_TOUCHPAD_GESTURE_PHASE_BEGIN, CLUTTER_TOUCHPAD_GESTURE_PHASE_END and CLUTTER_TOUCHPAD_GESTURE_PHASE_CANCEL.

###### Structure members

`type` | Event type.
`time` | Event time.
`flags` | Event flags.
`stage` | Event source stage.
`phase` | The current phase of the gesture.
`n_fingers` | The number of fingers triggering the swipe.
`x` | The X coordinate of the pointer, relative to the stage.
`y` | The Y coordinate of the pointer, relative to the stage.