Package: gtk

Accessor gtk:tool-button-use-underline

Lambda List

gtk:tool-button-use-underline (object)

Syntax

(gtk:tool-button-use-underline object) => setting
(setf (gtk:tool-button-use-underline) setting)

Arguments

object -- a gtk:tool-button widget
setting -- a boolean whether the button label has the form "_Open"

Details

The accessor for the use-underline slot gets or sets whether underscores in the label property are used as mnemonics on menu items on the overflow menu. 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.

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

See also

2026-06-05-31