Method

GdkEventget_axis

Declaration [src]

gboolean
gdk_event_get_axis (
  const GdkEvent* event,
  GdkAxisUse axis_use,
  gdouble* value
)

Description [src]

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

Parameters

axis_use

Type: GdkAxisUse

The axis use to look for.

value

Type: gdouble*

Location to store the value found.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the specified axis was found, otherwise FALSE.