al_get_menu_item_caption man page

al_get_menu_item_caption — Allegro 5 API

Synopsis

#include <allegro5/allegro_native_dialog.h>

const char *al_get_menu_item_caption(ALLEGRO_MENU *menu, int pos)

Description

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.

Since

5.1.0

See Also

al_set_menu_item_caption(3)

Referenced By

al_set_menu_item_caption(3).

Allegro reference manual