Gtk.GestureRotate
Signals
| Name | Short Description | 
|---|
| angle-changed | This signal is emitted when the angle between both tracked points changes. | 
 
Class Details
- 
class Gtk.GestureRotate(**kwargs)
- 
Gtk.GestureRotateis aGtk.Gestureimplementation able to recognize
2-finger rotations, whenever the angle between both handled sequences
changes, theGtk.GestureRotate::angle-changedsignal is emitted.
 
- 
classmethod new(widget)[source]
- 
Returns a newly created Gtk.Gesturethat recognizes 2-touch
rotation gestures.
 
 
- 
get_angle_delta()[source]
- 
| Returns: | the angle delta in radians | 
|---|
 | Return type: | float | 
|---|
 
 - If self is active, this function returns the angle difference
in radians since the gesture was first recognized. If self is
not active, 0 is returned. 
 
 
Signal Details
- 
Gtk.GestureRotate.signals.angle_changed(gesture_rotate, angle, angle_delta)
- 
| Signal Name: | angle-changed
 | 
|---|
 | Flags: | RUN_FIRST
 | 
|---|
 | Parameters: | 
gesture_rotate (Gtk.GestureRotate) – The object which received the signalangle (float) – Current angle in radiansangle_delta (float) – Difference with the starting angle, in radians | 
|---|
 
 - This signal is emitted when the angle between both tracked points
changes.