get_unit
Description:
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.
Parameters:
this |
a scroll event. |
Returns:
the scroll unit. |