#

## closewindow

Close the 3D display

### Usage:

> closewindow

### Summary:

> The closewindow command closes the 3D display window. Note that the syntax of closewindow is different for the 3D display window than for other windows, which use the default window client closewindow command.

### Implementation Notes:

> closewindow is implemented as a built-in wind3d window command in magic. It overrides the default window client closewindow command. Note that the wind3d window is only available when magic is compiled with the OpenGL graphics option and invoked with magic -d OGL.

> Note that macros of the wind3d window are hard-coded, and cannot be changed with the macro, gmacro, or imacro commands. There is no "`:`" macro for entering commands; to enter commands from the command-line, use the tk_path_name command. The default Tk path name of the wind3d window is "`.magic3d`". When invoked with the Tcl procedure render, the default window name is "`.render.magic`".

### See Also:

> closewindow

Return to command index

Last updated: October, 2004