Using Multiple and Subwindows

Two types of Windows: top-level windows and subwindows, resp., can be created using the following calls:
int glutCreateWindow ( char * name )
int glutCreateSubWindow ( int win, int x, int y, int width, int ht )
Subwindows can nest arbitrarily!
Concept of current window and current menu.
-- Most callbacks will set these as expected.
-- Exceptions are Timer Callbacks and Idle Callbacks (you must arrange to do this yourself, using glutGetWindow and glutSetWindow).
WINDOW FUNCTIONS:
glutDestroyWindow
glutPositionWindow
glutFullScreen
glutReshapeWindow
glutPostRedisplay
glutPopWIndow/ glutPushWindow
glut{Show, Hide, Iconify}Window
glutSet{Window, Icon}Title
glutSetCursor