---
name: "set_window_title"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/set_window_title"
---

# set\_window\_title(3alleg)

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**(3alleg)](/set_close_button_callback/3alleg.md), [**set\_uformat**(3alleg)](/set_uformat/3alleg.md), [**exunicod**(3alleg)](/exunicod/3alleg.md)
