GestureStylus.getAxis

Returns the current value for the requested @axis.

This function must be called from the handler of one of the [signal@Gtk.GestureStylus::down], [signal@Gtk.GestureStylus::motion], [signal@Gtk.GestureStylus::up] or [signal@Gtk.GestureStylus::proximity] signals.

class GestureStylus
bool
getAxis
(,
out double value
)

Parameters

axis GdkAxisUse

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

Meta