AL_SET_MENU_ITEM_CAPTION(3)
π 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 π
al_get_menu_item_caption(3)β the getter bestie, go read that one too π«Ά
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