EventControllerScroll.connectScroll

gulong connectScroll(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.event_controller_scroll.EventControllerScroll))) && Parameters!T.length < 4)

Connect to Scroll signal.

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

For the representation unit of the deltas, see [gtk.event_controller_scroll.EventControllerScroll.getUnit].

Parameters

callbacksignal callback delegate or function to connect bool callback(double dx, double dy, gtk.event_controller_scroll.EventControllerScroll eventControllerScroll) dx X delta (optional) dy Y delta (optional) eventControllerScroll the instance the signal is connected to (optional) Returns true if the scroll event was handled, false otherwise.
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID