---
name: "al_set_display_icons"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_display_icons"
---

# al\_set\_display\_icons(3)

Allegro 5 API

## NAME

al\_set\_display\_icons - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_set_display_icons(ALLEGRO_DISPLAY *display,
     int num_icons, ALLEGRO_BITMAP *icons[])
  ```

## DESCRIPTION

Changes the icons associated with the display (window). Multiple icons can be provided for use in different contexts, e.g. window frame, taskbar, alt-tab popup. The number of icons must be at least one.

*Note:* If the underlying OS requires an icon of a size not provided then one of the bitmaps will be scaled up or down to the required size. The choice of bitmap is implementation dependent.

## SINCE

5\.0.9, 5.1.5

## SEE ALSO

[al\_set\_display\_icon(3)](/al_set_display_icon/3.md), [al\_set\_window\_title(3)](/al_set_window_title/3.md)
