Method

GtkGestureget_point

since: 3.14

Declaration [src]

gboolean
gtk_gesture_get_point (
  GtkGesture* gesture,
  GdkEventSequence* sequence,
  gdouble* x,
  gdouble* y
)

Description [src]

If sequence is currently being interpreted by gesture, this function returns TRUE and fills in x and y with the last coordinates stored for that event sequence. The coordinates are always relative to the widget allocation.

Available since: 3.14

Parameters

sequence

Type: GdkEventSequence

A GdkEventSequence, or NULL for pointer events.

The argument can be NULL.
The data is owned by the caller of the method.
x

Type: gdouble*

Return location for X axis of the sequence coordinates.

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

Type: gdouble*

Return location for Y axis of the sequence coordinates.

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

Return value

Type: gboolean

TRUE if sequence is currently interpreted.