:right-sidebar: True TouchpadEvent =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: TouchpadEvent(*args, **kwargs) :no-contents-entry: Superclasses: :class:`~gi.repository.Gdk.Event` :Constructors: :: TouchpadEvent(**properties) Methods ------- .. rst-class:: interim-class .. class:: TouchpadEvent :no-index: .. method:: get_deltas() -> tuple[float, float] Extracts delta information from a touchpad event. .. method:: get_gesture_phase() -> ~gi.repository.Gdk.TouchpadGesturePhase Extracts the touchpad gesture phase from a touchpad event. .. method:: get_n_fingers() -> int Extracts the number of fingers from a touchpad event. .. method:: get_pinch_angle_delta() -> float Extracts the angle delta from a touchpad pinch event. .. method:: get_pinch_scale() -> float Extracts the scale from a touchpad pinch event.