lmgrSensitizeMenuItems
lmgrSensitizeMenuItems(l_names g_sensitive) =>t / nil
Description
Sensitizes the named objects (enabling the active state of named objects) inside their menu hierarchy and pop-up sets. Objects can be either a single item or an entire menu.
You can also specify items that have been predefined by Cadence.
This function has the same effect as specifying the sensitive attribute in lmgrSetObject().
Some Cadence predefined simple items can become sensitive or insensitive dynamically whenever a selection is made. For example, the Check In and Check Out menu items are only sensitive when over a library under design management. Consequently, you might want to permanently disable these menu items by making them unmanaged instead, to avoid your customization being overridden automatically by the Library Manager itself.
This SKILL API can be used in Virtuoso and cdsLibMgr.il.
Arguments
|
If |
Value Returned
|
All arguments were processed without error because the named objects exist. |
|
Examples
This example causes the View – Filter menu item to be grayed-out.
lmgrSensitizeMenuItems( list ( "viewFilterButton" ) nil ) => t
Related Topics
Return to top