.\" Automatically generated by Pandoc 3.1.11.1 .\" .TH "al_find_menu" "3" "" "Allegro reference manual" "" .SH NAME al_find_menu \- Allegro 5 API .SH SYNOPSIS .IP .EX #include ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id) .EE .SH DESCRIPTION Searches in the \f[CR]haystack\f[R] menu for any submenu with the given \f[CR]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[CR]NULL\f[R]. .SH SINCE 5.1.0 .SH SEE ALSO al_find_menu_item(3)