Arbortext Command Language > Functions by Alphabetical Listing > window_state
  
window_state
window_state (window)
This function returns an integer describing the current state of the window identified by window, which is a window identifier as returned by window_create, or is one of window classes edit or cmd, or is a predefined window name msgwin[1-4], or helpwin[1-4]. The state is one of the following:
-1 — invalid or non-existent window
0 — window is unmapped (hidden or withdrawn)
1 — window is minimized
2 — window is visible (normal)