Technical data

disable_menu
300
-
Simulator Command Reference ModelSim EE/PLUS Reference Manual
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 (p310)