MenuItem.setUseUnderline

void setUseUnderline(bool setting)

If true, an underline in the text indicates the next character should be used for the mnemonic accelerator key.

Parameters

settingtrue if underlines in the text indicate mnemonics