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) nothrowExtracts delta information from a touchpad event.
gdk.types.TouchpadGesturePhase getGesturePhase() nothrowExtracts the touchpad gesture phase from a touchpad event. Returns: the gesture phase of event
uint getNFingers() nothrowExtracts the number of fingers from a touchpad event. Returns: the number of fingers for event
double getPinchAngleDelta() nothrowExtracts the angle delta from a touchpad pinch event. Returns: the angle delta of event
double getPinchScale() nothrowExtracts the scale from a touchpad pinch event. Returns: the scale of event
Constructors
this(void * ptr, Flag!"Take" take)