standardwindowmenu(
)

The standardwindowmenu( function generates a customizable Custom Menu specification for Panorama’s standard Window menu.


Parameters

No parameters.


Description

This function generates a customizable Custom Menu specification for Panorama’s standard Window menu in Panorama’s Live Menu Specification Language (LMSL). Use this when you want to include Panorama’s standard Window menu as part of your custom menu bar:

standardfilemenu()+
standardeditmenu()+
menu("My Custom Menu")+
    menuitem("Do something")+
    menuitem("Do another thing")+
    menuitem("Do something else")+
standardwindowmenu()

Customizing the Menu

Sometimes you may not want to use the standard Window menu as-is, but rather want to customize it by adding your own menu items, or perhaps replacing or removing some existing standard menu items while leaving others alone. The standardwindowmenu( function includes a built-in version of the arrayhack( function that makes this easy to do. Simply add one or more pairs of search/hack parameters to specify the changes you want to make (see the arrayhack( function for an explanation of these parameters).

To learn the details of customizing the menu, see the standardfilemenu( function, which can be customized the exact same way.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now allows the returned menu specification to be customized.