getUnit

open fun getUnit(): ScrollUnit

Extracts the scroll delta unit of a scroll event.

The unit will always be %GDK_SCROLL_UNIT_WHEEL if the scroll direction is not %GDK_SCROLL_SMOOTH.

Return

the scroll unit.

Since

4.8