Label.setMarkupWithMnemonic

Sets the labels text, attributes and mnemonic from markup.

Parses str which is marked up with Pango markup (see funcPango.parse_markup), 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.label.Label.setMnemonicWidget.

class Label
void
setMarkupWithMnemonic
(
string str
)

Parameters

str string

a markup string