get_deltas


Description:

public void get_deltas (out double delta_x, out double delta_y)

Extracts the scroll deltas of a scroll event.

The deltas will be zero unless the scroll direction is gdk_scroll_smooth.

For the representation unit of these deltas, see [method@Gdk.ScrollEvent.get_unit].

Parameters:

this

a scroll event

delta_x

return location for x scroll delta

delta_y

return location for y scroll delta