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, add_menucb, add_menuitem, add_separator, add_submenu
Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com |