.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_find_menu" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_find_menu - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) \f[R] .fi .SH DESCRIPTION .PP Searches in the \f[C]haystack\f[R] menu for any submenu with the given \f[C]id\f[R]. (Note that this only represents a literal ID, and cannot be used as an index.) .PP Returns the menu, if found. Otherwise returns \f[C]NULL\f[R]. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_find_menu_item(3alleg5)