get_axis


Description:

public bool get_axis (AxisUse axis_use, out double value)

Extract the axis value for a particular axis use from an event structure.

To find out which axes are used, use [method@Gdk.DeviceTool.get_axes] on the device tool returned by [method@Gdk.Event.get_device_tool].

Parameters:

this

a `GdkEvent`

axis_use

the axis use to look for

value

location to store the value found

Returns:

true if the specified axis was found, otherwise false