AL_ENABLE_MENU_EVENT_SOURCE(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 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