15.4 Specifying callbacks in the interface definition

15.4.2 Specifying menu callbacks

The callbacks that are necessary for the menu system are much simpler than for the layouts; the example interface only contains two menu commands, and they only require one callback each.

1. Choose View > Menus to switch to the menus view.

2. Choose the"Graph" menu item, display its Attributes dialog and change the CALLBACK attribute to'display-graph-selection. Click OK.

3. Choose the"List Panel" menu item, display its Attributes dialog and change the CALLBACK attribute to'display-list-selection. Click OK.


Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker