set_use_underline


Description:

[ Version ( since = "2.4" ) ]
public void set_use_underline (bool use_underline)

If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu.

For example, if the label property is “_Open” and use_underline is true, the label on the tool button will be “Open” and the item on the overflow menu will have an underlined “O”.

Labels shown on tool buttons never have mnemonics on them; this property only affects the menu item on the overflow menu.

Parameters:

this

a ToolButton

use_underline

whether the button label has the form “_Open”