---
name: "al_set_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_set_menu_item_caption"
---

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

Allegro 5 API

## NAME

al\_set\_menu\_item\_caption - Allegro 5 API

## SYNOPSIS

-

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

## DESCRIPTION

Updates the menu item caption with the new `caption`. This will invalidate any previous calls to [al\_get\_menu\_item\_caption(3)](/al_get_menu_item_caption/3.md).

## SINCE

5\.1.0

## SEE ALSO

[al\_get\_menu\_item\_caption(3)](/al_get_menu_item_caption/3.md)
