1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutSetWindowTitle — Request changing the title of the current window
5

LIBRARY

7     OpenGLUT - window
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutSetWindowTitle(const char* title);
14

PARAMETERS

16      title     New window title
17

DESCRIPTION

19     glutSetWindowTitle() requests that the window system change the title of
20     the window.
21
22     Normally a window system displays a title for every top-level window in
23     the system.  The initial title is set when you call glutCreateWindow().
24     By means of this function you can set the titles for your top-level
25     OpenGLUT windows.
26
27     Some window systems do not provide titles for windows, in which case this
28     function may have no useful effect.
29
30     Because the effect may be delayed or lost, you should not count on the
31     effect of this function.  However, it can be a nice touch to use the win‐
32     dow title bar for a one-line status bar in some cases.  Use discretion.
33
34     If you just want one title for the window over the window's entire life,
35     you should set it when you open the window with glutCreateWindow().
36

CAVEATS

38     Only for managed, onscreen, top-level windows.
39
40     Not all window systems display titles.
41
42     May be ignored or delayed by window manager.
43

SEE ALSO

45     glutCreateWindow(3) glutSetIconTitle(3)
46
47
48
49
50                                     Epoch
Impressum