Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase

Model Technology Inc.


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_menu

<window_name> <menu_path>

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

disable_menu "" File

Disables the file menu of the Main window.

disable_menu .mywindow File

Disables the file menu of the mywindow window.

See also

add_menu, enable_menu


Model Technology Inc.
Model Technology Incorporated
Voice: (503) 641-1340
Fax: (503)526-5410
www.model.com
sales@model.com
Table of Contents Previous page Next page Index

ModelSim Documentation Bookcase