Gtk.SpinButton.new

function new(adjustment:Gtk.Adjustment, climb_rate:Number, digits:Number):Gtk.Widget {
    // Gjs wrapper for gtk_spin_button_new()
}

Creates a new Gtk.SpinButton.

adjustment

the Gtk.Adjustment object that this spin button should use, or null

climb_rate

specifies how much the spin button changes when an arrow is clicked on

digits

the number of decimal places to display

Returns

The new spin button as a Gtk.Widget