Constructor

GtkGestureZoomnew

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 GtkWidget
 

A GtkWidget.

 The data is owned by the caller of the function.

Return value

Returns: GtkGesture
 

A newly created GtkGestureZoom.

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