diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index c8d0a7d..0f6581e 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -592,6 +592,36 @@ Consortium and ask for the code to be fixed.
+The glutSetWindowTitle, glutSetIconTitle set the +window title for when the window is in a visible state and when it is in +an iconified state respectively. +
+ +Usage
+ +glutSetWindowTitle(const char* title);
+glutSetIconTitle(const char* title);
+
Description
+ +
+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 the glutSetWindowTitle function you can set the
+titles for your top-level FreeGLUT windows. 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().
+glutSetIconTitle set the title to be displayed for the window
+when it is in iconified (minimized) state.
+
Changes From GLUT
+ +glutSetIconTitle does nothing in GLUT on Windows, Windows is +supported by FreeGLUT.
+