GLUTSETWINDOWTITLE(3)

NAME
glutSetWindowTitle - Request changing the title of the current window

LIBRARY
OpenGLUT - window

SYNOPSIS
#include <openglut.h>
void
glutSetWindowTitle(const char* title);

PARAMETERS

title New window title

DESCRIPTION
glutSetWindowTitle() requests that the window system change the title of the window.

Normally a window system displays a title for every top-level window in the system. The initial title is set when you call glutCreateWindow(). By means of this function you can set the titles for your top-level OpenGLUT windows.

Some window systems do not provide titles for windows, in which case this function may have no useful effect.

Because the effect may be delayed or lost, you should not count on the effect of this function. However, it can be a nice touch to use the window title bar for a one-line status bar in some cases. Use discretion.

If you just want one title for the window over the window's entire life, you should set it when you open the window with glutCreateWindow().

CAVEATS
Only for managed, onscreen, top-level windows.

Not all window systems display titles.

May be ignored or delayed by window manager.

SEE ALSO
glutCreateWindow(3) glutSetIconTitle(3)