The generic function
interface-menu-groups
is called when an embedded document sets the menu bar of its containing interface.
Then, the menu bar for the embedded document includes three groups of menus that are supplied by the container (file-group, view-group, windows-group).
interface-menu-groups
is used to define these groups of menus.
interface-menu-groups
should return a list of length 3. Each element is a list of menus. In this list, each item is either a menu object, or a cons. When it is a cons, the car is a menu object and the cdr is a string, which overrides the the title of the menu.
The default method, on interface, simply returns
(nil nil nil)
.
Note: this function is implemented only in LispWorks for Windows. Load the functionality by
(require "embed")
.