Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiGetMenuItems

hiGetMenuItems(
r_hiMenu
)
=> l_menuItems / nil

Description

Returns a list of the menu items in the specified menu.

Argument

r_hiMenu

The menu SKILL structure, returned by hiCreateMenu, hiCreatePulldownMenu, hiCreateHorizontalFixedMenu, or hiCreateVerticalFixedMenu.

Values Returned

l_menuItems

The list of menu items in the specified menu.

nil

There was an error, such as the following: r_hiMenu is not a menu structure or r_hiMenu is a 2D menu.

Examples

The following code gets the list of menu items from the first menu on the CIW:

hiGetMenuItems(eval(car(hiGetBannerMenus(hiGetCIWindow()))))

Related Topics

Menu Functions

hiCreateMenu

hiCreatePulldownMenu

hiCreateMenuItem

hiCreateSeparatorMenuItem

hiCreateSliderMenuItem


Return to top
 ⠀
X