glutPopWindow(3GLUT) GLUT glutPopWindow(3GLUT)

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

#include <GLUT/glut.h>
void glutPopWindow(void);
void glutPushWindow(void);

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.

glutShowWindow, glutIconifyWindow, glutHideWindow

Mark J. Kilgard (mjk@nvidia.com)

3.7 GLUT