GimpUi.Labeled.prototype.set_text

function set_text(text: String): void {
    // Gjs wrapper for gimp_labeled_set_text()
}
  

This is the equivalent of running gtk_label_set_markup_with_mnemonic() on the Gtk.Label as a GimpUi.Labeled expects a mnemonic. Pango markup are also allowed.

text

label text with Pango markup and mnemonic.