.\" Automatically generated by Pandoc 1.17.2 .\" .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[] .fi .SH DESCRIPTION .PP Searches in the \f[C]haystack\f[] menu for any submenu with the given \f[C]id\f[]. (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[]. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_find_menu_item(3alleg5)