LispWorks CAPI User Guide


8 Creating Menus

You can create menus for an application using the menu class.

You should make sure you have defined the test-callback and hello functions before attempting any of the examples in this chapter. Their definitions are repeated here for convenience.

(defun test-callback (data interface)
  (display-message "Data ~S in interface ~S" 
                   data interface))
(defun hello (data interface)
  (declare (ignore data interface)) 
  (display-message "Hello World"))

8.1 Creating a menu

8.2 Grouping menu items together

8.3 Creating individual menu items

8.4 The CAPI menu hierarchy

8.5 Mnemonics in menus

8.6 Alternative menu items

8.7 Disabling menu items

8.8 Menus with images

8.9 Popup menus for panes

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