get_axis


Description:

public bool get_axis (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 [signal@Gtk.GestureStylus:GtkGestureStylus:down], [ signal@Gtk.GestureStylus:GtkGestureStylus:motion], [signal@Gtk.GestureStylus:GtkGestureStylus:up] or [ signal@Gtk.GestureStylus:GtkGestureStylus:proximity] signals.

Parameters:

this

a `GtkGestureStylus`

axis

requested device axis

value

return location for the axis value

Returns:

true if there is a current value for the axis