DOKK / manpages / debian 12 / allegro5-doc / al_set_new_window_title.3alleg5.en
al_set_new_window_title(3alleg5) al_set_new_window_title(3alleg5)

al_set_new_window_title - Allegro 5 API

#include <allegro5/allegro.h>
void al_set_new_window_title(const char *title)
    

Set the title that will be used when a new display is created. Allegro uses a static buffer of ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE(3alleg5) to store this, so the length of the titme you set must be less than this.

al_set_window_title(3alleg5), al_get_new_window_title(3alleg5), al_create_display(3alleg5), ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE(3alleg5)

5.1.12

Allegro reference manual