al_append_menu_item(3) al_append_menu_item(3)

al_append_menu_item - Allegro 5 API

#include <allegro5/allegro_native_dialog.h>
int al_append_menu_item(ALLEGRO_MENU *parent, char const *title, uint16_t id,
   int flags, ALLEGRO_BITMAP *icon, ALLEGRO_MENU *submenu)

Appends a menu item to the end of the menu. See al_insert_menu_item(3) for more information.

5.1.0

al_insert_menu_item(3), al_remove_menu_item(3)

Allegro reference manual