LispWorks CAPI User Guide > 4 Creating Common Windows > 4.1 Generic properties > 4.1.4 Mnemonics

NextPrevUpTopContentsIndex

4.1.4.1 Controlling Mnemonics

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 .


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

NextPrevUpTopContentsIndex