For individual buttons, menus, menu items and title panes, you can use the
:mnemonic
initarg to control them. For example:
(capi:contain (make-instance 'capi:push-button
:data "FooBar"
:mnemonic #\B))
For more information on mnemonics in buttons, see Mnemonics in buttons and the LispWorks CAPI Reference Manual .
For information on controlling mnemonics in button panels, see Mnemonics in button panels. For information on controlling mnemonics in menus, see Mnemonics in menus.
The initarg
:mnemonic-title
allows you to specify the mnemonic in the title for many pane classes including
list-panel
,
text-input-pane
and
option-pane
. Also
grid-layout
supports
mnemonic-title
when
has-title-column-p
is true. For the details see
titled-object
in the
LispWorks CAPI Reference Manual
.