API Version: 4.0
Library Version: 4.17.2
Generated by gi-docgen 2024.2
since: 4.8
GdkScrollUnit gdk_scroll_event_get_unit ( GdkEvent* event )
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.
GDK_SCROLL_UNIT_WHEEL
GDK_SCROLL_SMOOTH
Available since: 4.8
Type: GdkScrollUnit
GdkScrollUnit
The scroll unit.