Gtk.SpinButton::input

function callback(spin_button, ):Number;

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 Gtk.Entry.prototype.get_text to retrieve the text of the entry and set new_value to the new value.

The default conversion uses GLib.strtod.

spin_button

instance of Gtk.SpinButton that is emitting the signal

Returns

true for a successful conversion, false if the input was not handled, and %GTK_INPUT_ERROR if the conversion failed.