Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

deGetPushed

deGetPushed( 
[ w_window [ x_level ] ] 
) 
=> t / nil 

Description

Returns the pushed state for the item on the window stack corresponding to x_level. The pushed state is t if that x_level is any level other than the current edit level and nil otherwise. nil is returned if the stack is empty or x_level is -1. If x_level is defaulted or is nil then the current item on the stack is used.

Arguments

w_window

Window in which the pushed state is desired. Defaults to the current window.

x_level

Stack level to retrieve the pushed status from.

Value Returned

t

The given level was pushed.

nil

The given level was the current edit level, the stack is empty, or x_level is -1.

Examples

Assuming three levels of hierarchy in window(3), returns t.

deGetPushed( window(3) 1)

Return to top
 ⠀
X