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 displyed 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.
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.