gdk.touchpad_event
Module for [TouchpadEvent] class
class TouchpadEvent
Types 1
classTouchpadEvent : gdk.event.Event
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 eventuint getNFingers()Extracts the number of fingers from a touchpad event. Returns: the number of fingers for eventdouble getPinchAngleDelta()Extracts the angle delta from a touchpad pinch event. Returns: the angle delta of eventdouble getPinchScale()Extracts the scale from a touchpad pinch event. Returns: the scale of event