---
name: "al_get_display_event_source"
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_get_display_event_source"
---

# al\_get\_display\_event\_source(3)

Allegro 5 API

## NAME

al\_get\_display\_event\_source - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  ALLEGRO_EVENT_SOURCE *al_get_display_event_source(ALLEGRO_DISPLAY *display)
  ```

## DESCRIPTION

Retrieve the associated event source. See the \[documentation on events\]ALLEGRO\_EVENT\_DISPLAY\_EXPOSE(3) for a list of the events displays will generate.
