al_find_menu(3)
al_find_menu(3) π
okay so this is from the Library Functions Manual, and itβs literally the Allegro 5 API page for al_find_menu. bestie, weβre going menu-hunting. π
NAME β¨
al_find_menu β Allegro 5 API
SYNOPSIS π¦
#include <allegro5/allegro_native_dialog.h>
ALLEGRO_MENU *al_find_menu(ALLEGRO_MENU *haystack, uint16_t id)
DESCRIPTION π
So youβve got this haystack menu, right? This function searches inside it for any submenu with the id you pass in. Itβs giving βwhereβs my submenuβ energy. π
Important little note, bestie: the id is a literal ID, and it absolutely cannot be used as an index. No cap. Donβt try to index with it. π
If it finds the menu, it returns that menu. If not? NULL. Thatβs the whole vibe check. π
SINCE πΈ
5.1.0 β iconic since then, periodt. π
SEE ALSO π
al_find_menu_item(3)β the related bestie you should also check out. π«Ά
Thatβs the page, bestie! Source/version: Allegro reference manual / Allegro 5 API. Date? Not listed on the footer β timeless main character energy, fr fr. π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms