GestureStylus.getAxis

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.

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