Gdk.TouchpadEvent¶
- Subclasses:
None
Methods¶
- Inherited:
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Gdk.TouchpadEvent¶
- Bases:
- Abstract:
No
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.
- get_gesture_phase()[source]¶
- Returns:
the gesture phase of self
- Return type:
Extracts the touchpad gesture phase from a touchpad event.
- get_n_fingers()[source]¶
- Returns:
the number of fingers for self
- Return type:
Extracts the number of fingers from a touchpad event.