---
name: "al_set_menu_item_caption"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_set_menu_item_caption/3alleg5"
---

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

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(3alleg5).

## SINCE

5\.1.0

## SEE ALSO

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