connectScroll

fun connectScroll(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (dx: Double, dy: Double) -> Boolean): <Error class: unknown class>

Signals that the widget should scroll by the amount specified by @dx and @dy.

For the representation unit of the deltas, see method@Gtk.EventControllerScroll.get_unit.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: dx X delta; dy Y delta. Returns true if the scroll event was handled, false otherwise.