MenuButton.setUseUnderline

void setUseUnderline(bool useUnderline)

If true, an underline in the text indicates a mnemonic.

Parameters

useUnderlinetrue if underlines in the text indicate mnemonics