Gtk.Expander.prototype.set_label

function set_label(label:String):void {
    // Gjs wrapper for gtk_expander_set_label()
}

Sets the text of the label of the expander to label.

This will also clear any previously set labels.

Since 2.4

label

a string