SpinButton.connectChangeValue
gulong connectChangeValue(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] == gtk.types.ScrollType)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.spin_button.SpinButton)))
&& Parameters!T.length < 3)Connect to ChangeValue signal.
The ::change-value signal is a [keybinding signal][GtkBindingSignal] which gets emitted when the user initiates a value change.
Applications should not connect to it, but may emit it with [gobject.global.signalEmitByName] if they need to control the cursor programmatically.
The default bindings for this signal are Up/Down and PageUp and/PageDown.
Parameters
callback | signal callback delegate or function to connect void callback(gtk.types.ScrollType scroll, gtk.spin_button.SpinButton spinButton) scroll a #GtkScrollType to specify the speed and amount of change (optional) spinButton the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID