Class

GtkGestureRotate

[]

Description [src]

final class Gtk.GestureRotate : Gtk.Gesture
{
  /* No available fields */
}

GtkGestureRotate is a GtkGesture implementation able to recognize 2-finger rotations, whenever the angle between both handled sequences changes, the GtkGestureRotate::angle-changed signal is emitted.

[]

Hierarchy

hierarchy this GtkGestureRotate ancestor_0 GtkGesture ancestor_0--this ancestor_1 GtkEventController ancestor_1--ancestor_0 ancestor_2 GObject ancestor_2--ancestor_1
[]

Constructors

gtk_gesture_rotate_new

Returns a newly created GtkGesture that recognizes 2-touch rotation gestures.

since: 3.14

[]

Instance methods

gtk_gesture_rotate_get_angle_delta

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.

since: 3.14

Methods inherited from GtkGesture (19)
Methods inherited from GtkEventController (5)
Methods inherited from GObject (43)
[]

Properties

Properties inherited from GtkGesture (2)
Properties inherited from GtkEventController (2)
[]

Signals

Gtk.GestureRotate::angle-changed

This signal is emitted when the angle between both tracked points changes.

since: 3.14

Signals inherited from GtkGesture (5)
Signals inherited from GObject (1)

Class structure