Method

ClutterEventget_scroll_delta

Declaration [src]

void
clutter_event_get_scroll_delta (
  const ClutterEvent* event,
  gdouble* dx,
  gdouble* dy
)

Description [src]

Retrieves the precise scrolling information of event.

The event has to have a ClutterScrollEvent.direction value of CLUTTER_SCROLL_SMOOTH.

Available since:1.10

Parameters

dx gdouble*
 

Return location for the delta on the horizontal axis.

 The argument will be set by the function.
dy gdouble*
 

Return location for the delta on the vertical axis.

 The argument will be set by the function.