GtkGestureRotate — Rotate gesture
GtkGesture * gtk_gesture_rotate_new (
Returns a newly created GtkGesture that recognizes 2-touch rotation gestures.
a newly created GtkGestureRotate
double gtk_gesture_rotate_get_angle_delta (
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.
the angle delta in radians
typedef struct _GtkGestureRotate GtkGestureRotate;
void user_function (GtkGestureRotate *gesture, double angle, double angle_delta, gpointer user_data)
This signal is emitted when the angle between both tracked points changes.
the object on which the signal is emitted
Current angle in radians
Difference with the starting angle, in radians
user data set when the signal handler was connected.
Flags: Run First
© 2005–2020 The GNOME Project
Licensed under the GNU Lesser General Public License version 2.1 or later.