Gdk.EventTouchpadSwipe

Fields

Name

Type

Access

Description

dx

float

r/w

Movement delta in the X axis of the swipe focal point

dy

float

r/w

Movement delta in the Y axis of the swipe focal point

n_fingers

int

r/w

The number of fingers triggering the swipe

phase

int

r/w

the current phase of the gesture

send_event

int

r/w

True if the event was sent explicitly

state

Gdk.ModifierType

r/w

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

time

int

r/w

the time of the event in milliseconds

type

Gdk.EventType

r/w

the type of the event (Gdk.EventType.TOUCHPAD_SWIPE)

window

Gdk.Window

r/w

the window which received the event

x

float

r/w

The X coordinate of the pointer

x_root

float

r/w

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

y

float

r/w

The Y coordinate of the pointer

y_root

float

r/w

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

Methods

None

Details

class Gdk.EventTouchpadSwipe

Generated during touchpad swipe gestures.