home *** CD-ROM | disk | FTP | other *** search
- menu
- ----
-
- menu add windowhandle menuname itemname subitemname proc
-
- The "menu add" command takes a window name, menu name, item name and
- optional subitem name (send an empty string if your item doesn't have
- subitems), creates a corresponding menu entry for the named window,
- and tags the item with the procedure (proc) or code to execute. When
- the menu entry is selected, the attached Tcl code will be selected.
-
- The menu is changed for the current window. Use the "window current"
- command to change windows.
-
-