Gtk.Label.prototype.set_text

function set_text(str:String):void {
    // Gjs wrapper for gtk_label_set_text()
}

Sets the text within the Gtk.Label widget. It overwrites any text that was there before.

This will also clear any previously set mnemonic accelerators.

str

The text you want to set