Gtk.GestureRotate¶
class — extends Gesture
Recognizes 2-finger rotation gestures.
Whenever the angle between both handled sequences changes, the
GestureRotate.angle-changed signal is emitted.
Constructors¶
new¶
Returns a newly created GtkGesture that recognizes 2-touch
rotation gestures.
Methods¶
get_angle_delta¶
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.
Signals¶
angle-changed¶
Emitted when the angle between both tracked points changes.