Class: Gtk::GestureRotate
- Inherits:
-
Gesture
- Object
- EventController
- Gesture
- Gtk::GestureRotate
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#angle_delta ⇒ Float
Gets the angle delta in radians.
-
#initialize ⇒ Gtk::Gesture
constructor
Returns a newly created
GtkGesturethat recognizes 2-touch rotation gestures.
Methods inherited from Gesture
#device, #get_bounding_box, #get_bounding_box_center, #get_last_event, #get_point, #get_sequence_state, #group, #handles_sequence, #is_active, #is_grouped_with, #is_recognized, #last_updated_sequence, #n_points, #n_points=, #sequences, #set_sequence_state, #state=, #ungroup
Methods inherited from EventController
#current_event, #current_event_device, #current_event_state, #current_event_time, #name, #name=, #propagation_limit, #propagation_limit=, #propagation_phase, #propagation_phase=, #reset, #static_name=, #widget, #widget=
Constructor Details
#initialize ⇒ Gtk::Gesture
Returns a newly created GtkGesture that recognizes 2-touch
rotation gestures.
Instance Method Details
#angle_delta ⇒ Float
Gets the angle delta in radians.
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.