| BackGround | TCL UTILITIES USER MANUAL | BackGround |
|---|
| BackGround  |
|
| Color | - | The canvas bacground color. Value must be between 0 and 255. |
GraphicsOn TK ETones SWAP NONE OMIT
BackGround $GphInfo(Blue)
SetScreen 0
Which brings up the canvas after the color table has been loaded. Also
note that SWAP in this case has no effect on the background.
# INITIALIZE the default gui settings
GUIprefsRead
# SET a window size
set GphInfo(xsScrL) 600
set GphInfo(ysScrL) 500
set GphInfo(xScrL) 600
set GphInfo(yScrL) 500
# SET a blue canvas bacground
BackGround 50
# START graphics
GraphicsOn TK ETones SWAP
| Feb 15, 2007 |
|---|