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

window

window(
x_windowNumber 
) 
=> w_windowId / nil

Description

Given a window number, gets the window ID.

This function cannot get the windowID of session windows. It does, however, get the windowID of windows contained in session windows.

The window number is the number displayed in the lower-left corner of the window. The Command Interpreter Window is window 1. As windows are created (either interactively or with hiCreateWindow or hiOpenWindow), they are given higher window numbers. Windows that are in session windows have their number in parentheses—for example, if the session window displays 3(5), the window number of the window contained in the session window is 5 while the session window number is 3.

This function is not available in Concept SKILL. For more information, see Design Entry HDL–SKILL Routines.

Argument

x_windowNumber

The window number, which is displayed in the lower-left corner of the window.

x_windowNumber cannot be a session window number.

Value Returned

w_windowId

The w_windowId associated with the given x_windowNumber.

nil

There is no window associated with the specified window number.

Examples

hiSetCurrentWindow( window ( 5 ) )
=> t

Related Topics

Window Functions

swindow

windowp


Return to top
 ⠀
X