hiCloseWindow
hiCloseWindow(w_windowId) =>t / nil
Description
Closes and destroys a window, dock window, or session window.
If the window is of widgetType form, the form contained in the window is not destroyed when the window is closed. If the window is a dock window that is currently docked, it is first closed and then destroyed. If the window is a session window, all the windows contained in its main canvas are closed and destroyed. If the window is the only window contained in a session window, the session window is also closed and destroyed.
If the window closed is the current window, an attempt is made to make an equivalent window current (such as another window displaying the same cellview). If an equivalent window is not found, the last-created window is made current. If this window has the property neverCurrentWindow set to t, another window is made current. If no window can be made current (the CIW can never be the current window), the current window is nil.
Argument
Value Returned
|
The window is not closed. An error message is also returned. |
Related Topics
Return to top