input


Description:

public signal int input (out double new_value)

Emitted to convert the users input into a double value.

The signal handler is expected to use [method@Gtk.Editable.get_text] to retrieve the text of the spinbutton and set new_value to the new value.

The default conversion uses g_strtod.

Parameters:

new_value

return location for the new value

Returns:

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