ScrollEvent.getUnit

Extracts the scroll delta unit of a scroll event.

The unit will always be gdk.types.ScrollUnit.Wheel if the scroll direction is not gdk.types.ScrollDirection.Smooth.

class ScrollEvent
getUnit
()

Return Value

Type: gdk.types.ScrollUnit

the scroll unit.