AL_ENABLE_MENU_EVENT_SOURCE(3)
πΈ NAME πΈ
al_enable_menu_event_source β Allegro 5 API
hey bestie, welcome to AL_ENABLE_MENU_EVENT_SOURCE(3) from the Library Functions Manual β yes, we're doing this, and it's lowkey iconic. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_native_dialog.h>
ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu)
π¦ DESCRIPTION π¦
Okay so what this does: it enables a unique event source for this menu. The menu and all of its sub-menus will use this event source β like one group chat to rule them all, iykyk. π«Ά
It is safe to call this multiple times on the same menu. No cap, no drama β multiple calls are literally fine.
And it returns the event source. Yep, it hands that event source right back to you. π
π SINCE π
5.1.0 β that's the version tea. π
π SEE ALSO π
and that's the whole vibe: this was the al_enable_...vent_source(3) page from the Allegro reference manual. Version-ish: 5.1.0 shows up under SINCE; date: this page doesn't print one, so no fake date from me, bestie. ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms