Technical data

disable_menu
ModelSim EE/SE Command Reference ModelSim Commands CR-65
disable_menu
The disable_menu command disables the specified menu within the specified
window. The disabled menu will become grayed-out, and nonresponsive. Returns
nothing.
Syntax
disable_menu
<window_name> <menu_path>
Arguments
<window_name>
Tk path of the window containing the menu. Required.
Note that the path for the Main window may be expressed as main or "". All other
window pathnames begin with a period (.) as shown in the example below.
<menu_path>
Name of the Tk menu-widget path. Required.
Examples
disable_menu "" file
Disables the file menu of the Main VSIM window.
disable_menu .mywindow file
Disables the file menu of the mywindow window.
See also
enable_menu command
(CR-78)