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 [[email protected]:GtkGestureStylus:down], [ [email protected]:GtkGestureStylus:motion], [[email protected]:GtkGestureStylus:up] or [ [email protected]: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




2022 vala-language.org