GestureStylus.getAxis

bool getAxis(gdk.types.AxisUse axis, out double value)

Returns the current value for the requested axis.

This function must be called from the handler of one of the [gtk.gesture_stylus.GestureStylus.down], [gtk.gesture_stylus.GestureStylus.motion], [gtk.gesture_stylus.GestureStylus.up] or [gtk.gesture_stylus.GestureStylus.proximity] signals.

Parameters

axisrequested device axis
valuereturn location for the axis value

Returns

true if there is a current value for the axis