al_get_menu_item_flags(3)
al_get_menu_item_flags(3) π
okay bestie, this page lives in the Library Functions Manual, and it's all about the Allegro 5 API. It's giving tiny-but-useful menu flag checker energy, no cap.
NAME π
al_get_menu_item_flagsβ Allegro 5 API
SYNOPSIS β¨
#include <allegro5/allegro_native_dialog.h>
int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos)
DESCRIPTION π¦
So like, this function returns the currently set flags. That's it, that's the vibe. If you wanna know what all the available flags even are, go read al_insert_menu_item(3) β it has the description you need, iykyk.
And bestie, important: it returns -1 if the item was not found. Not found = sad little -1, so maybe double-check your menu and pos before you spiral. π
SINCE πΈ
5.1.0 β she's been around since then, periodt.
SEE ALSO π
okay that's the whole page, bestie π«Ά source/version check: it's the Allegro reference manual footer moment, and the date? Not printed on this page, so no date for us β we're just gonna vibe with that π
π¦ 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