EventControllerScroll.connectDecelerate

gulong connectDecelerate(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (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 Decelerate signal.

Emitted after scroll is finished if the [gtk.types.EventControllerScrollFlags.Kinetic] flag is set.

vel_x and vel_y express the initial velocity that was imprinted by the scroll events. vel_x and vel_y are expressed in pixels/ms.

Parameters

callbacksignal callback delegate or function to connect void callback(double velX, double velY, gtk.event_controller_scroll.EventControllerScroll eventControllerScroll) velX X velocity (optional) velY Y velocity (optional) eventControllerScroll the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID