Method

GdkEventget_scroll_deltas

since: 3.4

Declaration [src]

gboolean
gdk_event_get_scroll_deltas (
  const GdkEvent* event,
  gdouble* delta_x,
  gdouble* delta_y
)

Description [src]

Retrieves the scroll deltas from a GdkEvent

See also: gdk_event_get_scroll_direction().

Available since: 3.4

Parameters

delta_x

Type: gdouble*

Return location for X delta.

The argument will be set by the function.
delta_y

Type: gdouble*

Return location for Y delta.

The argument will be set by the function.

Return value

Type: gboolean

TRUE if the event contains smooth scroll information and FALSE otherwise.