Technical data
change_menu_cmd
CR-44  ModelSim Commands ModelSim EE/SE Command Reference
change_menu_cmd 
The change_menu_cmd command changes the command to be executed for a 
specified menu item label, in the specified menu, in the specified window. The 
menu_path and label must already exist for this command to function. Returns 
nothing. 
Syntax
change_menu_cmd 
<window_name> <menu_path> <label> <Cmd>
Arguments
<window_name>
Tk path of the window containing the menu. Required.
<menu_path>
Name of an existing Tk menu widget plus any submenu path. Required.
<label>
Current label on the menu item. Required.
<Cmd> 
New Tcl command to be executed when selected. Required.
See also
add_menu command 
(CR-26), add_menucb command (CR-28), add_menuitem 
command 
(CR-30), add_separator command (CR-31), and the add_submenu 
command 
(CR-32) 










