Workbench User Guide : 10. Creating and Modifying Menus : Common Menu Properties : How You Can Set Menu Item Biases
 
Share this page                  
How You Can Set Menu Item Biases
For each menu item you create, you can set a bias for each of the six user-definable frame modes (Update, Query, Read, User1, User2, and User3). For more information about frame modes, see Frame Modes.
OpenROAD provides the following biases for menu items:
MB_ENABLED
Specifies that the user can select the menu item
MB_DISABLED
Specifies that the menu item is displayed (dimmed) but the user cannot select it or change it.
Note:  This option is not available for menu separators.
MB_INVISIBLE
Specifies that the menu item is not displayed
You use the Bias menu to set the biases for a menu item. If you do not set the bias for a menu item, OpenROAD uses a default setting appropriate to the current frame mode.
The menu item biases let you make certain menu items available to the user under different conditions. You can also change the bias of a menu item dynamically at runtime.
For more information about frame modes and biases, see Frame Modes.