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

hiRegCurWindowTrigger

hiRegCurWindowTrigger(
S_functionName
)
=> t / nil

Description

Registers the SKILL function to be called whenever the current window changes. The SKILL function is called with one argument: an integer representing the window number of the new current window. If no window is current (for example, if all windows except the CIW are closed or if any open windows have the property neverCurrentWindow set to t), then the argument is 0.

You can register more than one SKILL function. The functions are called in the order in which they are registered.

Argument

S_functionName

A string or symbol representing the function name that you want to register.

Values Returned

t

The function is registered.

nil

The function is already registered or the function name is invalid.

Related Topics

Window Functions

hiUnregCurWindowTrigger

hiGetCurrentWindow

hiSetCurrentWindow


Return to top
 ⠀
X