1al_find_menu_item(3)                                      al_find_menu_item(3)
2
3
4

NAME

6       al_find_menu_item - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_native_dialog.h>
10
11              bool al_find_menu_item(ALLEGRO_MENU *haystack, uint16_t id, ALLEGRO_MENU **menu,
12                 int *index)
13

DESCRIPTION

15       Searches  in  the  haystack  menu for an item with the given id.  (Note
16       that this only represents a literal ID, and cannot be used  as  an  in‐
17       dex.)
18
19       If  menu  and  index  are not NULL, they will be set as the parent menu
20       containing the item and the zero-based (positive) index  of  the  item.
21       (If the menu item was not found, then their values are undefined.)
22
23       Returns true if the menu item was found.
24

SINCE

26       5.1.0
27

SEE ALSO

29       al_find_menu(3)
30
31
32
33Allegro reference manual                                  al_find_menu_item(3)
Impressum