Class: Gdk::TouchpadEvent
Overview
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.
Instance Method Summary collapse
-
#gesture_phase ⇒ Gdk::TouchpadGesturePhase
Extracts the touchpad gesture phase from a touchpad event.
-
#get_deltas(dx, dy) ⇒ nil
Extracts delta information from a touchpad event.
-
#n_fingers ⇒ Integer
Extracts the number of fingers from a touchpad event.
-
#pinch_angle_delta ⇒ Float
Extracts the angle delta from a touchpad pinch event.
-
#pinch_scale ⇒ Float
Extracts the scale from a touchpad pinch event.
Methods inherited from Event
#_get_angle, #_get_center, #_get_distance, #device, #device_tool, #display, #event_sequence, #event_type, #get_axes, #get_axis, #get_history, #get_position, #modifier_state, #pointer_emulated, #ref, #seat, #surface, #time, #triggers_context_menu, #unref
Instance Method Details
#gesture_phase ⇒ Gdk::TouchpadGesturePhase
Extracts the touchpad gesture phase from a touchpad event.
#get_deltas(dx, dy) ⇒ nil
Extracts delta information from a touchpad event.
#n_fingers ⇒ Integer
Extracts the number of fingers from a touchpad event.
#pinch_angle_delta ⇒ Float
Extracts the angle delta from a touchpad pinch event.
#pinch_scale ⇒ Float
Extracts the scale from a touchpad pinch event.