Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## update-menu

Arguments: menu new-items

This function allows items to be added to or removed from menu. new-items should be a list of menu items, and it will become the list of items displayed in the menu. Note that new-items must not be the destructively modified item list of menu (returned by menu-items) because the two lists are compared to compute screen changes. You may copy that list (with say copy-list) to provide a starting point for the new-items list.

Note that a menu-item should only be added to one menu. If a similar menu-item must appear in more than one menu, create copies (by calling `(make-instance 'menu-item)` with identical arguments or calling copy-menu-item) as necessary. See the description of the `menu-item` class.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version