Method

GtkSpinButtonset_range

Declaration [src]

void
gtk_spin_button_set_range (
  GtkSpinButton* spin_button,
  gdouble min,
  gdouble max
)

Description [src]

Sets the minimum and maximum allowable values for spin_button.

If the current value is outside this range, it will be adjusted to fit within the range, otherwise it will remain unchanged.

Parameters

min

Type: gdouble

Minimum allowable value.

max

Type: gdouble

Maximum allowable value.