glutSetWindowTitle

change the window or icon title respectively of the current top-level window.

Signature

glutSetIconTitle( char( name ) )-> void
glutSetIconTitle( title )
glutSetIconTitle( STRING(title) ) -> None
glutSetWindowTitle( char( name ) )-> void
glutSetWindowTitle( title )
glutSetWindowTitle( STRING(title) ) -> None

Parameters

VariablesDescription
name
ASCII character string for the window or icon name to be set for the window.

Description

These routines should be called only when the current window is a top-level window. Upon creation of a top-level window, the window and icon names are determined by the name parameter to glutCreateWindow . Once created, glutSetWindowTitle and glutSetIconTitle can change the window and icon names respectively of top-level windows. Each call requests the window system change the title appropriately. Requests are not buffered or coalesced. The policy by which the window and icon name are displayed is window system dependent.

See Also

glutCreateWindow glutIconifyWindow

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutSetWindowTitle
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 191, 193
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 395
{LGPL} PyUI2 system/glutdevice.py Lines: 67