ScrollEvent.getUnit
gdk.types.ScrollUnit 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].
Returns
the scroll unit.
gdk.types.ScrollUnit 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].