---
name: "al_get_menu_item_caption"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_get_menu_item_caption"
---

# al\_get\_menu\_item\_caption(3)

Allegro 5 API

## NAME

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)](/al_set_menu_item_caption/3.md)
