enable_menu
The enable_menu command enables a previously-disabled menu. The menu will be changed from grayed-out to normal and will become responsive. Returns nothing.
Syntax
enable_menu
Arguments
<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
enable_menu "" File
Enables the previously-disabled file menu of the Main window.
enable_menu .mywindow File
Enables the previously-disabled 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 |