Declaration [src]

gdk_event_get_axes (
  GdkEvent* event,
  double** axes,
  guint* n_axes

Description [src]

Extracts all axis values from an event.

To find out which axes are used, use gdk_device_tool_get_axes() on the device tool returned by gdk_event_get_device_tool().


axes An array of double*

The array of values for all axes.

 The argument will be set by the function.
 The length of the array is specified in the n_axes argument.
 The data is owned by the caller of the function.
n_axes guint*

The length of array.

 The argument will be set by the function.

Return value

Returns: gboolean

TRUE on success, otherwise FALSE.