NextPrevUpTopContentsIndex

7.4 The CAPI menu hierarchy

The combination of menu items, menu components and menus creates a hierarchical structure as shown in An example of a menu hierarchy. Items in a menu inherit values from their parent, allowing similar elements to share relevant properties whenever possible.

The menu below was created using 5 menu items, 4 of which were grouped together in 2 menu-components. These menu-components were then combined with the fifth item in the menu itself.

Figure 7.5 An example of a menu hierarchy

Here is the code which generated the above menu. Note that the :interaction keyword was used with the second menu component to make the second menu component contain radio buttons.


LispWorks CAPI User Guide (Unix version) - 8 Apr 2005

NextPrevUpTopContentsIndex