ScrollEvent.getDeltas

void getDeltas(out double deltaX, out double deltaY)

Extracts the scroll deltas of a scroll event.

The deltas will be zero unless the scroll direction is [gdk.types.ScrollDirection.Smooth].

For the representation unit of these deltas, see [gdk.scroll_event.ScrollEvent.getUnit].

Parameters

deltaXreturn location for x scroll delta
deltaYreturn location for y scroll delta