Method

GtkGestureStylusget_axis

since: 3.24

Declaration [src]

gboolean
gtk_gesture_stylus_get_axis (
  GtkGestureStylus* gesture,
  GdkAxisUse axis,
  gdouble* value
)

Description [src]

Returns the current value for the requested axis. This function must be called from either the GtkGestureStylus:down, GtkGestureStylus:motion, GtkGestureStylus:up or GtkGestureStylus:proximity signals.

Available since: 3.24

Parameters

axis

Type: GdkAxisUse

Requested device axis.

value

Type: gdouble*

Return location for the axis value.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if there is a current value for the axis.