| 
     | 
    
     | 
    
     | 
    
     | 
  
      
    
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_menuArguments
<window_name>Tk path of the window containing the menu. Required.
Note that the path for the Main window must be expressed as "". 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 "" FileDisables the file menu of the Main window.
disable_menu .mywindow FileDisables the file menu of the mywindow window.
See also
| 
     Model Technology Incorporated Voice: (503) 641-1340 Fax: (503)526-5410 www.model.com sales@model.com  | 
  
| 
     | 
    
     | 
    
     | 
    
     |