al_get_menu_item_flags(3)

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

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