Class: Gtk::GestureRotate
- Inherits:
-
Object
- Object
- Gtk::GestureRotate
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#angle_delta ⇒ Float
If gesture is active, this function returns the angle difference in radians since the gesture was first recognized.
-
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes 2-touch rotation gestures.
Instance Method Details
#angle_delta ⇒ Float
If gesture is active, this function returns the angle difference in radians since the gesture was first recognized. If gesture is not active, 0 is returned.
#new(widget) ⇒ Gtk::Gesture
Returns a newly created Gtk::Gesture that recognizes 2-touch rotation gestures.