close
The close command closes the 3D display window. Note that invocation from the command line, as ".magic3d close", is not equivalent to "close .magic3d", which does not call the handlers needed to terminate the 3D viewing window.
close is implemented as a built-in wind3d window command in magic. It can only be invoked from a window created with the specialopen wind3d command, or the render procedure. 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".
Using "close .magic3d" instead of ".magic3d close" crashes the program and should be either fixed or prohibited.
close
Return to command index |
Last updated: October, 2004