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

hiIsMenuSlotFilled

hiIsMenuSlotFilled(
w_windowId 
x_position
) 
=> t / nil 

Description

Checks whether a menu already exists in the specified position in the menu bar of a window.

Arguments

w_windowId

The window ID.

x_position

Integer specifying the position in the menu bar that you want to check. Positions on the menu bar are numbered from left to right, starting at 0.

Value Returned

t

The specified position contains a menu.

nil

The specified position does not contain a menu.

Examples

Checks whether a menu already exists in the 5th position in the menu bar of hiGetCIWindow.

hiIsMenuSlotFilled( hiGetCIWindow( ) 5 )
=> t

Related Topics

Window Banner Functions


Return to top
 ⠀
X