Gtk.Expander.new

function new(label:String):Gtk.Widget {
    // Gjs wrapper for gtk_expander_new()
}

Creates a new expander using label as the text of the label.

Since 2.4

label

the text of the label

Returns

a new Gtk.Expander widget.