All Manuals > CAPI User Guide > 3 Creating Common Windows > 3.6 Miscellaneous button elements

NextPrevUpTopContentsIndex

3.6.4 Mnemonics in buttons

The initarg :mnemonic allows you to supply a character, integer or symbol specifying a mnemonic for a button.

Alternatively you can specify the button text and its mnemonic together with the initarg :mnemonic-text , for example:

(contain
 (make-instance 'radio-button
                :mnemonic-text 
                "Radio Button with a &Mnemonic"))

CAPI User Guide (Unix version) - 30 Aug 2011

NextPrevUpTopContentsIndex