DOKK / manpages / debian 10 / allegro4-doc / set_window_title.3alleg4.en
set_window_title(3alleg4) Allegro manual set_window_title(3alleg4)

set_window_title - Sets the window title of the Allegro program.

#include <allegro.h>

void set_window_title(const char *name);

On platforms that are capable of it, this routine alters the window title for your Allegro program. Note that Allegro cannot set the window title when running in a DOS box under Windows. Example:


set_window_title("Allegro rules!");

set_close_button_callback(3alleg4), set_uformat(3alleg4), exunicod(3alleg4)

version 4.4.2 Allegro