Constructor

GtkGesturePannew

since: 3.14

Declaration [src]

GtkGesture*
gtk_gesture_pan_new (
  GtkWidget* widget,
  GtkOrientation orientation
)

Description [src]

Returns a newly created GtkGesture that recognizes pan gestures.

Available since: 3.14

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the function.
orientation

Type: GtkOrientation

Expected orientation.

Return value

Type: GtkGesture

A newly created GtkGesturePan.

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