glutPopWindow
Prev | GLUT | Next

## Name

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

## C Specification

`void `glutPopWindow`` | `(` | `);`

`void `glutPushWindow`` | `(` | `);`

## Python Specification

``glutPopWindow`` | `(` | `) → `None``

``glutPushWindow`` | `(` | `) → `None``

## 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.

## See Also

glutShowWindow, glutIconifyWindow, glutHideWindow

Prev | Up | Next
glutOverlayDisplayFunc | Home | glutPositionWindow