Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ciwMenuInit

ciwMenuInit(
[ ?verbose g_verbose ]
[ ?reset g_reset ]
) 
=> t / nil

Description

Initializes and installs the CIW pulldown menus based on the menu files found in the hierarchy. This function will be called instead of hiInstallCIWMenus. It can also be called from the CIW to debug the menu file contents. If g_reset is specified as t, the CIW menus are reset. Calling ciwMenuInit without any arguments will initialize the CIW menus only if it has not already been done.

Arguments

?verbose g_verbose

Specifies whether to echo extra messages during processing

?reset g_reset

Specifies whether to reset the CIW menus.

Value Returned

t

The function succeeds.

nil

The menu files in the hierarchy cannot be found.

Examples

When ciwMenuInit is called with the reset argument, the CIW menu is re-initialized and the latest customized menu is set.

ciwMenuInit( ?verbose t )
ciwMenuInit( ?reset t )

Return to top
 ⠀
X