Method

GtkGestureget_bounding_box_center

Declaration [src]

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

Description [src]

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

Otherwise, FALSE will be returned.

Parameters

x

Type: double*

X coordinate for the bounding box center.

The argument will be set by the function.
y

Type: double*

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.