CloseWindow TCL UTILITIES USER MANUAL CloseWindow
SYNOPSIS
Close a graphics window
PACKAGE
TCLGPH
NAME
CloseWindow
USAGE
CloseWindow  wnID {Clear}
INPUT DEFINITIONS
wnID - The iD of the window to close.
Clear - Optional input variable which allows the window to be cleared on closing. The default is 0 to leave the window contents on the canvas. Set to 1 to clear.
RETURN DEFINITION
NONE
DESCRIPTION
CloseWindow closes a graphics window wnID, frees all the variables associated with it and if Clear is set to 1 clears its contents from the canvas. Any attempt to draw to this window without reopening it will result in an error.
ERRORS
None Generated
C BACKING
No
EXAMPLE(S)
NONE GIVEN:
March 2, 2007