al_find_menu - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_native_dialog.h>

ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id)

Description

Searches in the haystack menu for any submenu with the given id. (Note that this only represents a literal ID, and cannot be used as an index.)

Returns the menu, if found. Otherwise returns NULL.

Since

5.1.0

See Also

al_find_menu_item(3)

Referenced By

al_find_menu_item(3).

Allegro reference manual