1al_build_menu(3)                                              al_build_menu(3)
2
3
4

NAME

6       al_build_menu - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_native_dialog.h>
10
11              ALLEGRO_MENU *al_build_menu(ALLEGRO_MENU_INFO *info)
12

DESCRIPTION

14       Builds  a  menu  based  on  the  specifications  of a sequence of ALLE‐
15       GRO_MENU_INFO elements.
16
17       Returns a pointer to the root ALLEGRO_MENU, or  NULL  on  failure.   To
18       gain  access  to the other menus and items, you will need to search for
19       them using al_find_menu_item(3).
20

SINCE

22       5.1.0
23

SEE ALSO

25       ALLEGRO_MENU_INFO(3), al_create_menu(3), al_create_popup_menu(3)
26
27
28
29Allegro reference manual                                      al_build_menu(3)
Impressum