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

ciwCreateMenu

ciwCreateMenu(
ls_menuDef 
[ x_windowNum ]
) 
=> r_menu / nil

Description

Creates a menu from the given menu definition. The menu created can be used as a pop-up menu. This function exists primarily for application support.

The ls_menuDef argument is normally read from a menu file. If x_windowNum is specified for example, window->windowNum, the menu handle and menu item symbols are uniquely created by appending the symbol in the menu definition with the window number.

Arguments

ls_menuDef

The definition of a menu, either a list defining the contents of the pulldown menu or the SKILL symbol that represents the list.

x_windowNum

Window number.

Value Returned

r_menu

A menu suitable for use as a pop-up menu.

nil

The list defining the contents for the pop-up or SKILL symbol could not be found.


Return to top
 ⠀
X