Method

GtkGestureget_bounding_box_center

since: 3.14

Declaration [src]

gboolean
gtk_gesture_get_bounding_box_center (
  GtkGesture* gesture,
  gdouble* x,
  gdouble* y
)

Description [src]

If there are touch sequences being currently handled by gesture, this function returns TRUE and fills in x and y with the center of the bounding box containing all active touches. Otherwise, FALSE will be returned.

Available since: 3.14

Parameters

x

Type: gdouble*

X coordinate for the bounding box center.

The argument will be set by the function.
y

Type: gdouble*

Y coordinate for the bounding box center.

The argument will be set by the function.

Return value

Type: gboolean

FALSE if no active touches are present, TRUE otherwise.