get_unit
Description:
Gets the scroll unit of the last [signal@Gtk.
EventControllerScroll:GtkEventControllerScroll:scroll
] signal received.
Always returns gdk_scroll_unit_wheel if the gtk_event_controller_scroll_discrete flag is set.
Parameters:
this |
a `GtkEventControllerScroll`. |
Returns:
the scroll unit. |