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

al_get_menu_item_caption - Allegro 5 API

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

Returns the caption associated with the menu item. It is valid as long as the caption is not modified.

Returns NULL if the item was not found.

5.1.0

al_set_menu_item_caption(3alleg5)

Allegro reference manual