gdk.touchpad_event

Module for [TouchpadEvent] class

Types 1

An event related to a gesture on a touchpad device.

Unlike touchscreens, where the windowing system sends basic sequences of begin, update, end events, and leaves gesture recognition to the clients, touchpad gestures are typically processed by the system, resulting in these events.

Methods
void getDeltas(out double dx, out double dy)Extracts delta information from a touchpad event.
gdk.types.TouchpadGesturePhase getGesturePhase()Extracts the touchpad gesture phase from a touchpad event. Returns: the gesture phase of event
uint getNFingers()Extracts the number of fingers from a touchpad event. Returns: the number of fingers for event
double getPinchAngleDelta()Extracts the angle delta from a touchpad pinch event. Returns: the angle delta of event
double getPinchScale()Extracts the scale from a touchpad pinch event. Returns: the scale of event
Constructors
this(void * ptr, Flag!"Take" take)