SpinButton.connectChangeValue

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.

class SpinButton
gulong
connectChangeValue
(
T
)
(,
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
)

Parameters

callback T

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 Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: gulong

Signal ID