Struct

GdkEventTouchpadSwipe

Description [src]

struct GdkEventTouchpadSwipe {
  GdkEventType type;
  GdkWindow* window;
  gint8 send_event;
  gint8 phase;
  gint8 n_fingers;
  guint32 time;
  gdouble x;
  gdouble y;
  gdouble dx;
  gdouble dy;
  gdouble x_root;
  gdouble y_root;
  GdkModifierType* state;
}

Generated during touchpad swipe gestures.

Structure members
type

The type of the event (GDK_TOUCHPAD_SWIPE)

window

The window which received the event.

send_event

TRUE if the event was sent explicitly.

phase

The current phase of the gesture.

n_fingers

The number of fingers triggering the swipe.

time

The time of the event in milliseconds.

x

The X coordinate of the pointer.

y

The Y coordinate of the pointer.

dx

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

dy

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

x_root

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

y_root

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

state

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