Method

GtkGestureDragget_start_point

since: 3.14

Declaration [src]

gboolean
gtk_gesture_drag_get_start_point (
  GtkGestureDrag* gesture,
  gdouble* x,
  gdouble* y
)

Description [src]

If the gesture is active, this function returns TRUE and fills in x and y with the drag start coordinates, in window-relative coordinates.

Available since: 3.14

Parameters

x

Type: gdouble*

X coordinate for the drag start point.

The argument will be set by the function.
The argument can be set to NULL by the method.
y

Type: gdouble*

Y coordinate for the drag start point.

The argument will be set by the function.
The argument can be set to NULL by the method.

Return value

Type: gboolean

TRUE if the gesture is active.