Product Documentation
Cadence Application Infrastructure SKILL Reference
Product Version IC23.1, November 2023

lmgrMenuSubsInPopup

lmgrMenuSubsInPopup( 
t_menuName 
g_isSubMenu 
) 
=> t / nil 

Description

This API is used only in the Library Manager's cdsLibMgr.il file for menu customization. The named menu may be placed into a sub-menu of a popup menu, which appears on clicking the right mouse button (RMB) in the Library Manager's window that lists the library, cell, and view items being browsed. This will be placed in a sub-popup if the boolean value was set to be true. In addition, menu items tagged for adding to the popup menus are displayed within its menu's sub-popup (if any). Sub-popup menus may be hierarchically nested per menu as they have been setup/defined through the customized menus' hierarchy.

This SKILL API can only be used in cdsLibMgr.il.

Arguments

t_menuName

String for menu's name.

g_isSubMenu

Sets the menu to be shown in the popup as a sub-menu within the popup.

When set to nil, the menu will not be displayed and its items will be flattened into its owner's level, i.e. the previous behavior.

Value Returned

t

The previous value set for the sub-menu attribute.

nil

An invalid menu name was specified.

Examples

In this example the menu name is designCascade. This places the Cadence standard and topmost Design Manager (labeled) menu's items into a sub-menu for the RMB popup.

lmgrMenuSubsInPopup( "designCascade" t) 
=> t

Return to top
 ⠀
X