Gtk.Scale.new

function new(orientation:Gtk.Orientation, adjustment:Gtk.Adjustment):Gtk.Widget {
    // Gjs wrapper for gtk_scale_new()
}

Creates a new Gtk.Scale.

Since 3.0

orientation

the scale's orientation.

adjustment

the Gtk.Adjustment which sets the range of the scale, or null to create a new adjustment.

Returns

a new Gtk.Scale