Method

Gtk.SpinButton.set_numeric

Declaration [src]

void
gtk_spin_button_set_numeric (
  GtkSpinButton* spin_button,
  gboolean numeric
)

Description [src]

Sets the flag that determines if non-numeric text can be typed into the spin button.

Sets propertyGtk.SpinButton:numeric

Parameters

numeric gboolean
 

flag indicating if only numeric entry is allowed