Constructor

GtkGestureDragnew

Declaration [src]

GtkGesture*
gtk_gesture_drag_new (
  GtkWidget* widget
)

Description [src]

Returns a newly created GtkGesture that recognizes drags.

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 GtkGestureDrag.

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