---
name: "al_get_display_event_source"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_display_event_source/3alleg5"
---

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

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(3alleg5) for a list of the events displays will generate.
