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


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:

 (make-instance 'radio-button
                "Radio Button with a &Mnemonic"))

CAPI User Guide (Unix version) - 30 Aug 2011