1ALLEGRO_EVENT_SOURCE(3) ALLEGRO_EVENT_SOURCE(3)
2
3
4
6 ALLEGRO_EVENT_SOURCE - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 typedef struct ALLEGRO_EVENT_SOURCE ALLEGRO_EVENT_SOURCE;
12
14 An event source is any object which can generate events. For example,
15 an ALLEGRO_DISPLAY can generate events, and you can get the ALLE‐
16 GRO_EVENT_SOURCE pointer from an ALLEGRO_DISPLAY with al_get_dis‐
17 play_event_source(3).
18
19 You may create your own "user" event sources that emit custom events.
20
22 ALLEGRO_EVENT(3), al_init_user_event_source(3), al_emit_user_event(3)
23
24
25
26Allegro reference manual ALLEGRO_EVENT_SOURCE(3)