al_disable_menu_event_source(3alleg5)
π NAME π
al_disable_menu_event_source β it's giving Allegro 5 API, bestie π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_native_dialog.h>
void al_disable_menu_event_source(ALLEGRO_MENU *menu)
π¦ DESCRIPTION π¦
Okay so listen. A menu can have its own unique event source, right? Its own lil dedicated place where its events show up, main character energy, nobody else invited.
This function turns that off. You hand it your menu, and it disables that unique event source for the menu β which makes the menu fall back to using the default event source like everybody else. Lowkey a vibe check back to normalcy. π
β SINCE β
5.1.0 β she's been here since 5.1.0, no cap π«Ά
π SEE ALSO π
al_get_default_menu_event_source(3alleg5)β the default one, if you wanna peek πal_enable_menu_event_source(3alleg5)β the reverse move, the "actually gimme my own source back" one β¨
and that's the whole page, periodt π
This one lives in the Allegro reference manual, and if you scroll allll the way down, the footer just echoes al_disable_menu_event_source(3alleg5) right back at you β iconic of it honestly ππ¦πΈ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms