GestureStylus.getAxis

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.

class GestureStylus
bool
getAxis

Parameters

axis gdk.types.AxisUse

requested device axis

value double

return location for the axis value

Return Value

Type: bool

true if there is a current value for the axis