next up previous contents index
Next: 4.11 glutShowWindowglutHideWindow, glutIconifyWindow Up: 4 Window Management Previous: 4.9 glutFullScreen

4.10 glutPopWindow, glutPushWindow

  glutPopWindow and   glutPushWindow change the stacking order of the current window relative to its siblings.

Usage

void glutPopWindow(void);
void glutPushWindow(void);

Description

glutPopWindow and glutPushWindow work on both top-level windows and subwindows. The effect of pushing and popping windows does not take place immediately. Instead the push or pop is saved for execution upon return to the GLUT event loop. Subsequent push or pop requests on a window replace the previously saved request for that window. The effect of pushing and popping top-level windows is subject to the window system's policy for restacking windows.



next up previous contents index
Next: 4.11 glutShowWindowglutHideWindow, glutIconifyWindow Up: 4 Window Management Previous: 4.9 glutFullScreen



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