SpinButton.connectChangeValue

Connect to ChangeValue signal.

Emitted when the user initiates a value change.

This is a keybinding signal.

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/PageDown.

class SpinButton
ulong
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 gtk.types.ScrollType 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: ulong

Signal ID