al_get_menu_item_flags(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

okay so bestie, meet al_get_menu_item_flags(3alleg5) β€” it's giving Allegro 5 API, and it's here to tell you what flags a menu item is currently wearing. ✨

🌸 SYNOPSIS 🌸

#include <allegro5/allegro_native_dialog.h>

int al_get_menu_item_flags(ALLEGRO_MENU *menu, int pos)

πŸŽ€ DESCRIPTION πŸŽ€

This one returns the currently set flags, fr fr. Wanna know what those flags even are? Go peek at al_insert_menu_item(3alleg5) β€” it has the whole description of the available flags, iykyk. πŸ‘‘

And if the item was not found? It hits you with -1. Not me getting ghosted by a menu item 😭.

⭐ SINCE ⭐

5.1.0 β€” vintage but still iconic, periodt. πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯


from the Allegro reference manual, al_get_menu_item_flags(3alleg5) β€” no date on this footer, just pure manual energy. bye bestie, go flag something πŸ’–

πŸ“¦ where this page comes from