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

deSetContext

deSetContext( 
[ w_window [ g_context [ x_level ] ] ] 
) 
=> t / nil 

Description

Replaces the context for the item at the specified level on the window stack. nil is returned if the stack is empty. This routine is intended for use by data triggers executing the ’swap operation. It should never be called by application code outside of a data trigger.

Arguments

w_window

Window in which to set the new context. Defaults to the current window.

g_context

New context to be stored in the window stack. Defaults to nil.

x_level

Level of the window stack at which to store the new context. Defaults to the current edit level.

Value Returned

t

The context was successfully set.

nil

The context was not successfully set

Examples

Sets the context for level 1 in window(3) to myUserContext.

deSetContext( window(3) 1 myUserContext )

Return to top
 ⠀
X