Gtk.GestureRotate¶
- Subclasses:
- None 
Methods¶
- Inherited:
- Gtk.Gesture (19), Gtk.EventController (5), GObject.Object (37) 
- Structs:
| class | 
 | 
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
| Name | Short Description | 
|---|---|
| This signal is emitted when the angle between both tracked points changes. | 
Fields¶
- Inherited:
Class Details¶
- class Gtk.GestureRotate(**kwargs)¶
- Bases:
- Abstract:
- No 
- Structure:
 - Gtk.GestureRotateis a- Gtk.Gestureimplementation able to recognize 2-finger rotations, whenever the angle between both handled sequences changes, the- Gtk.GestureRotate- ::angle-changedsignal is emitted.- classmethod new(widget)[source]¶
- Parameters:
- widget ( - Gtk.Widget) – a- Gtk.Widget
- Returns:
- a newly created - Gtk.GestureRotate
- Return type:
 - Returns a newly created - Gtk.Gesturethat recognizes 2-touch rotation gestures.- New in version 3.14. 
 
Signal Details¶
- Gtk.GestureRotate.signals.angle_changed(gesture_rotate, angle, angle_delta)¶
- Signal Name:
- angle-changed
- Flags:
- Parameters:
- gesture_rotate ( - Gtk.GestureRotate) – The object which received the signal
- angle ( - float) – Current angle in radians
- angle_delta ( - float) – Difference with the starting angle, in radians
 
 - This signal is emitted when the angle between both tracked points changes. - New in version 3.14.