EventControllerScroll.getUnit
gdk.types.ScrollUnit getUnit()Gets the scroll unit of the last [gtk.event_controller_scroll.EventControllerScroll.scroll] signal received.
Always returns [gdk.types.ScrollUnit.Wheel] if the [gtk.types.EventControllerScrollFlags.Discrete] flag is set.
Returns
the scroll unit.