getUnit

open fun getUnit(): <Error class: unknown class>

Gets the scroll unit of the last signal@Gtk.EventControllerScroll::scroll signal received.

Always returns %GDK_SCROLL_UNIT_WHEEL if the %GTK_EVENT_CONTROLLER_SCROLL_DISCRETE flag is set.

Return

the scroll unit.

Since

4.8