Gtk.Label.prototype.set_markup_with_mnemonic
function set_markup_with_mnemonic(str:String):void { // Gjs wrapper for gtk_label_set_markup_with_mnemonic() }
Parses str which is marked up with the <link linkend="PangoMarkupFormat">Pango text markup language</link>, setting the label's text and attribute list based on the parse results. If characters in str are preceded by an underscore, they are underlined indicating that they represent a keyboard accelerator called a mnemonic.
The mnemonic key can be used to activate another widget, chosen automatically, or explicitly using Gtk.set_mnemonic_widget.
- str
a markup string (see <link linkend="PangoMarkupFormat">Pango markup format</link>)