Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version