DOKK / manpages / debian 10 / allegro5-doc / al_append_menu_item.3alleg5.en
al_append_menu_item(3alleg5) al_append_menu_item(3alleg5)

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

5.1.0

al_insert_menu_item(3alleg5), al_remove_menu_item(3alleg5)

Allegro reference manual