Gtk.SpinButton.prototype.set_adjustment

function set_adjustment(adjustment:Gtk.Adjustment):void {
    // Gjs wrapper for gtk_spin_button_set_adjustment()
}

Replaces the Gtk.Adjustment associated with spin_button.

adjustment

a Gtk.Adjustment to replace the existing adjustment