Event.getAxis

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

To find out which axes are used, use gdk.device_tool.DeviceTool.getAxes on the device tool returned by gdk.event.Event.getDeviceTool.

class Event
bool
getAxis

Parameters

axisUse gdk.types.AxisUse

the axis use to look for

value double

location to store the value found

Return Value

Type: bool

true if the specified axis was found, otherwise false