Struct

ClutterTouchpadSwipeEvent

since: 1.24

Description [src]

struct ClutterTouchpadSwipeEvent {
  ClutterEventType type;
  guint32 time;
  ClutterEventFlags flags;
  ClutterStage* stage;
  ClutterTouchpadGesturePhase phase;
  guint n_fingers;
  gfloat x;
  gfloat y;
  gfloat dx;
  gfloat dy;
  gfloat dx_unaccel;
  gfloat dy_unaccel;
}

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

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.

dx

Movement delta of the swipe center point in the X axis.

dy

Movement delta of the swipe center point in the Y axis.

dx_unaccel

Unaccelerated movement delta of the swipe center point in the X axis.

dy_unaccel

Unaccelerated movement delta of the swipe center point in the Y axis.

Available since: 1.24