Gtk.SpinButton.prototype.set_numeric

function set_numeric(numeric:Boolean):void {
    // Gjs wrapper for gtk_spin_button_set_numeric()
}

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

numeric

flag indicating if only numeric entry is allowed