al_get_menu_item_caption(3)

al_get_menu_item_caption3

Allegro 5 api

Usage

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

Overview

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.