Vizard 7 » Command Index » Vizard objects » window » <window>.clearcolor
7.7

<window>.clearcolor

Set the background color of the window

<window>.clearcolor(  
[red,green,blue]  
)  
[red,green,blue]
RGB color

Remarks

This command sets the background color.

Return Value

None

Example

# Set background color to bright red
viz.MainWindow.clearcolor(1,0,0)