Constructor

GtkGestureRotatenew

since: 3.14

Declaration [src]

GtkGesture*
gtk_gesture_rotate_new (
  GtkWidget* widget
)

Description [src]

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

Available since: 3.14

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the function.

Return value

Type: GtkGesture

A newly created GtkGestureRotate.

The caller of the function takes ownership of the data, and is responsible for freeing it.