DOKK / manpages / debian 12 / allegro5-doc / al_set_menu_item_caption.3alleg5.en
al_set_menu_item_caption(3alleg5) al_set_menu_item_caption(3alleg5)

al_set_menu_item_caption - Allegro 5 API

#include <allegro5/allegro_native_dialog.h>
void al_set_menu_item_caption(ALLEGRO_MENU *menu, int pos, const char *caption)
    

Updates the menu item caption with the new caption. This will invalidate any previous calls to al_get_menu_item_caption(3alleg5).

5.1.0

al_get_menu_item_caption(3alleg5)

Allegro reference manual