Gtk.LevelBar.new_for_interval

function new_for_interval(min_value:Number, max_value:Number):Gtk.Widget {
    // Gjs wrapper for gtk_level_bar_new_for_interval()
}

Utility constructor that creates a new Gtk.LevelBar for the specified interval.

Since 3.6

min_value

a positive value

max_value

a positive value

Returns

a Gtk.LevelBar