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

deGetContext

deGetContext( 
[ w_window [ x_level ] ] 
) 
=> g_context / nil 

Description

Returns the context for the item on the window stack corresponding to x_level. A value of nil is returned if the stack is empty or x_level is -1. If x_level is not specified or is nil, the current item on the stack is used.

Arguments

w_window

Window in which the context is desired. Defaults to the current window.

x_level

Stack level to retrieve the context from.

Value Returned

g_context

Application context at the given level.

nil

The stack is empty or x_level is -1.

Examples

Assuming window(3) contains a cellview at level 1, returns the graphics editor context at that level.

deGetContext( window(3) 1)

Return to top
 ⠀
X