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

hiDeleteMenu

hiDeleteMenu(
r_hiMenu 
) 
=> t / nil 

Description

Destroys the menu given by hiMenu, which must be a valid data structure. Individual menu items contained in this menu are also destroyed.

Argument

r_hiMenu

The menu returned by any of the menu creation routines, except for hiCreatePulldownMenu.

To delete window fixed menus, first use hiRemoveFixedMenu to remove the fixed menu from the window, and then use hiDeleteMenu to destroy the fixed menu.

Values Returned

t

The menu is deleted.

nil

The menu is not deleted. The SKILL handle referencing this menu is reset to nil. An error message is also issued.

Related Topics

Menu Functions

hiDeleteBannerMenu

hiRemoveFixedMenu


Return to top
 ⠀
X