1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
.TH "al_find_menu" "3" "" "Allegro reference manual" ""
.SH NAME
.PP
al_find_menu \- Allegro 5 API
.SH SYNOPSIS
.IP
.nf
\f[C]
#include\ <allegro5/allegro_native_dialog.h>
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(3)
|