get_unit


Description:

[ Version ( since = "4.8" ) ]
public ScrollUnit get_unit ()

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.