.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .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[V]haystack\f[R] menu for any submenu with the given \f[V]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[V]NULL\f[R]. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_find_menu_item(3alleg5)