AL_SET_MENU_ITEM_CAPTION(3)

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

πŸŽ€ al_set_menu_item_caption(3) πŸŽ€

okay bestie, we're in the Library Functions Manual and this page is all about the Allegro 5 API function al_set_menu_item_caption β€” it's giving menu-glow-up energy ✨


✨ NAME ✨

al_set_menu_item_caption β€” Allegro 5 API, and yes she updates menu item captions πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_native_dialog.h>

void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption)

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this updates the menu item caption with the new caption. Simple, iconic, done πŸ‘‘

Heads up, bestie: this will invalidate any previous calls to al_get_menu_item_caption(3) β€” no cap, keep that in mind before you go trusting old calls 😭

⭐ SINCE ⭐

5.1.0 β€” she's been here since then, periodt πŸ’–


🌈 SEE ALSO 🌈


okay that's the whole page! brought to you by the Allegro reference manual, page al_set_menu_item_caption(3) β€” and the footer didn't hand me a date, so I'm not inventing one πŸ’…πŸŽ€

πŸ“¦ 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