---
name: "set_window_title"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/set_window_title/3alleg4"
---

# set\_window\_title(3alleg4)

Sets the window title of the Allegro program.

## NAME

set\_window\_title - Sets the window title of the Allegro program.

## SYNOPSIS

**#include \<allegro.h\>**

**void set\_window\_title(const char \*name);**

## DESCRIPTION

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!");
```

## SEE ALSO

**set\_close\_button\_callback**(3alleg4), **set\_uformat**(3alleg4), **exunicod**(3alleg4)
