Class: Gtk::GestureSwipe
- Inherits:
-
Object
- Object
- Gtk::GestureSwipe
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_velocity(velocity_x, velocity_y) ⇒ TrueClass
If the gesture is recognized, this function returns true and fill in velocity_x and velocity_y with the recorded velocity, as per the last event(s) processed.
-
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes swipes.
Instance Method Details
#get_velocity(velocity_x, velocity_y) ⇒ TrueClass
If the gesture is recognized, this function returns true and fill in velocity_x and velocity_y with the recorded velocity, as per the last event(s) processed.
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes swipes.