.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_build_menu" "3" "" "Allegro reference manual" .SH NAME al_build_menu \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info) .EE .SH DESCRIPTION Builds a menu based on the specifications of a sequence of \f[CR]ALLEGRO_MENU_INFO\f[R] elements. .PP Returns a pointer to the root \f[CR]ALLEGRO_MENU\f[R], or \f[CR]NULL\f[R] on failure. To gain access to the other menus and items, you will need to search for them using al_find_menu_item(3). .SH SINCE 5.1.0 .SH SEE ALSO ALLEGRO_MENU_INFO(3), al_create_menu(3), al_create_popup_menu(3)