next up previous contents index
Next: 4.12 glutSetWindowTitleglutSetIconTitle Up: 4 Window Management Previous: 4.10 glutPopWindowglutPushWindow

4.11 glutShowWindow, glutHideWindow, glutIconifyWindow

  glutShowWindow,   glutHideWindow, and   glutIconifyWindow change the display status of the current window.

Usage

void glutShowWindow(void);
void glutHideWindow(void);
void glutIconifyWindow(void);

Description

glutShowWindow will show the current window (though it may still not be visible if obscured by other shown windows). glutHideWindow will hide the current window. glutIconifyWindow will iconify a top-level window, but GLUT prohibits iconification of a subwindow. The effect of showing, hiding, and iconifying windows does not take place immediately. Instead the requests are saved for execution upon return to the GLUT event loop. Subsequent show, hide, or iconification requests on a window replace the previously saved request for that window. The effect of hiding, showing, or iconifying top-level windows is subject to the window system's policy for displaying windows.



next up previous contents index
Next: 4.12 glutSetWindowTitleglutSetIconTitle Up: 4 Window Management Previous: 4.10 glutPopWindowglutPushWindow



Mark Kilgard
Fri Feb 23 08:05:02 PST 1996