glutSetWindowTitle(3)

glutSetWindowTitle3

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

Usage


    

    
        

void glutSetWindowTitle(char *name); void glutSetIconTitle(char *name);

Arguments

name

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

Overview

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.

Author

Mark J. Kilgard ([email protected])

From freeglut 3.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.