schRegisterFixedMenu
schRegisterFixedMenu(t_category r_menuHandle[s_disableTrigger] [s_enableTrigger] ) => t / nil
Description
Registers a vertical fixed-menu handle for specific cellview types to customize the schematic and symbol editor fixed menus. This function also registers triggers to enable and disable specific items in the fixed menu based on whether the editor window is in edit or read mode.
To reinstate the system default icon bar associated with the specified menu type, use the schUnregisterFixedMenu function.
A sample file containing the SKILL source code for the default fixed menus is located at your_install_dir/tools/dfII/samples/local/schFixMenu.il.
Arguments
Value Returned
|
Registered a vertical fixed-menu handle for specific cellview types to customize the schematic and symbol editor fixed menus. |
|
Examples
Registers myFixedMenu as the fixed menu to display when the current cellview is a schematic.
schRegisterFixedMenu( "schematic" myFixedMenu )
Registers symFixMenu as the fixed menu to be displayed when the current cellview is a symbol. Also registers symDisableProc as the SKILL procedure to call when the cellview is in read mode and symEnableProc as the SKILL procedure to call when the cellview is in edit mode.
schRegisterFixedMenu( "symbol" symFixMenu 'symDisableProc 'symEnableProc )
Related Topics
Cadence SKILL Language Reference
Return to top