|AHELP for CIAO 4.9 ChIPS v1||
Delete the specified window.
delete_window() delete_window(id) delete_all_windows()
The function arguments.
|id||A ChipsId structure identifying the item, or a string containing the name of the object.|
If no argument is given then the current window is deleted, otherwise the argument determines what to delete.
There is also a delete_all_windows command, which removes all the windows in the session. It is equivalent to the command delete_window("all").
chips> add_frame(.1, .1, .5, .5) chips> delete_window()
Create a frame; the window is automatically created if it does not exist. The current window is then deleted, along with any objects it contains.
Delete the window called win2.
chips> id = ChipsId() chips> add_window("id=M33") chips> add_window("id=M31") chips> id.window = "M33" chips> delete_window(id)
Two windows are created; the second window is current after it is created. The id.window command sets the window value of the ChipsId structure to the first window. That window is then deleted.
chips> add_window(300, 500, "mm", "id=M33") chips> add_window(4, 4, "inches", "id=M31") chips> delete_window("all")
Two windows are created, then the delete_window command deletes them both.
chips> add_window() chips> add_window() chips> delete_all_windows()
Delete all the windows that were created.
See the bugs pages on the ChIPS website for an up-to-date listing of known bugs.