Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

vvGetGraphBackground

vvGetGraphBackground(
[ w_windowID ]
)
=> t_backgroundColor / nil

Description

Returns the background color of the specified Waveform window or the current Waveform window.

Arguments

w_windowID

Waveform window ID.

If you do not specify this argument, the current Waveform window is used.

Value Returned

t_backgroundColor

The background color of the specified Waveform window or the current waveform window.

nil

Either no Waveform window is currently open or the specified Waveform window does not exist.

Examples

The following examples return the background color of the current Waveform window.

vvGetGraphBackground(awvGetCurrentWindow())
=> 
(("graphWindow[2.2.2]" 
 (("background" "#000000"))
    )
)
vvGetGraphBackground()
=> 
(("graphWindow[2.2.2]" 
 (("background" "#000000"))
    )
)

The following example returns the background color of the specified Waveform window.

vvGetGraphBackground(window(3))
=> 
(("graphWindow[1.1.1]" 
 (("background" "#000000"))
    )
)

The hex code #000000 indicates that the background color of the Waveform window is black.


Return to top
 ⠀
X