Constructor

GtkGestureStylusnew

since: 3.24

Declaration [src]

GtkGesture*
gtk_gesture_stylus_new (
  GtkWidget* widget
)

Description [src]

Creates a new GtkGestureStylus.

Available since: 3.24

Parameters

widget

Type: GtkWidget

A GtkWidget.

The data is owned by the caller of the function.

Return value

Type: GtkGesture

A newly created stylus gesture.

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