al_destroy_menu(3)
πΈ NAME πΈ
okay so al_destroy_menu - Allegro 5 API. and yes bestie, this page is al_destroy_menu(3) from the Library Functions Manual, living its best life in the Allegro reference manual. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_native_dialog.h>
void al_destroy_menu(ALLEGRO_MENU *menu)
π DESCRIPTION π
okay so al_destroy_menu destroys an entire menu, including its sub-menus. no cap. once it's gone, any references to it or a sub-menu are no longer valid β like, don't touch them, they are not a thing anymore. π
and the cute part? it is safe to call this on a menu that is currently being displayed. slay. π«Ά
bestie warning: after this call, any references to it or a sub-menu are no longer valid. periodt. π₯
π SINCE π
5.1.0 β iconic since then. β¨
π¦ SEE ALSO π¦
al_remove_menu_item(3)β go check that one out too, iykyk. π
and that's the whole vibe! signing off from the Allegro reference manual, page al_destroy_menu(3) ππ β the footer didn't give us a date, so we're just keeping it cute and on brand.
π¦ 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