LispWorks CAPI User Guide > 4 Creating Common Windows > 4.5 Miscellaneous button elements


4.5.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"))

LispWorks CAPI User Guide (Unix version) - 22 Dec 2009