ScrollEvent.getDeltas

Extracts the scroll deltas of a scroll event.

The deltas will be zero unless the scroll direction is %GDK_SCROLL_SMOOTH.

class ScrollEvent
void
getDeltas
(
out double deltaX
,
out double deltaY
)

Parameters

deltaX double

return location for x scroll delta

deltaY double

return location for y scroll delta

Meta