SpinButton.addOnInput

The ::input signal can be used to influence the conversion of the users input into a double value. The signal handler is expected to use Entry.getText to retrieve the text of the entry and set new_value to the new value.

The default conversion uses g_strtod().

class SpinButton
gulong
addOnInput
(
int delegate
(
void*
,)
dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

TRUE for a successful conversion, FALSE if the input was not handled, and GTK_INPUT_ERROR if the conversion failed.