vvGetGraphBackground
vvGetGraphBackground( [w_windowID] ) =>t_backgroundColor/nil
Description
Returns the background color of the specified Waveform window or the current Waveform window.
Arguments
|
If you do not specify this argument, the current Waveform window is used. |
Value Returned
|
The background color of the specified Waveform window or the current waveform window. |
|
|
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