glutCreateWindow (3) - Linux Manuals
glutCreateWindow: Create a new top-level window
NAME
glutCreateWindow - Create a new top-level windowLIBRARY
OpenGLUT - windowSYNOPSIS
In openglut.h Ft int Fn glutCreateWindow const char* titlePARAMETERS
Bf Em
In fact, you
Bf Em
For onscreen windows, you should not depend upon the window
concretely existing or being visibile until you are told
that it exists and is visible via a registered callback.
The return value is an
Bf Sy
You can change the title later via glutSetWindowTitle().
DESCRIPTION
This function sends a request for a window to be constructed.
OpenGLUT immediately constructs a data structure to track further
events with the window, on the theory that eventually the window
manager will get back to us with a real window. This allows us
to begin registering callbacks immediately.