Signal

AdwSpinRow::input

since: 1.4

Declaration

gint
input (
  AdwSpinRow* self,
  gdouble* new_value,
  gpointer user_data
)

Description [src]

Emitted to convert the user’s input into a double value.

The signal handler is expected to use 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().

See GtkSpinButton::input.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since: 1.4

Parameters

new_value

Type: gdouble*

Return location for the new value.

The argument will be set by the function.

Return value

Type: gint

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