Constructor

GtkGestureZoomnew

since: 3.14

Declaration [src]

GtkGesture*
gtk_gesture_zoom_new (
  GtkWidget* widget
)

Description [src]

Returns a newly created GtkGesture that recognizes zoom in/out gestures (usually known as pinch/zoom).

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

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