AL_TOGGLE_MENU_ITEM_FLAGS(3)
π al_toggle_..._item_flags(3)
okay so this is the al_toggle_..._item_flags(3) page, straight outta the Library Functions Manual, and itβs all about the Allegro 5 API. Letβs get into it, bestie. π
πΈ NAME
al_toggle_menu_item_flags β Allegro 5 API
β¨ SYNOPSIS
#include <allegro5/allegro_native_dialog.h>
int al_toggle_menu_item_flags(ALLEGRO_MENU *menu, int pos, int flags)
π DESCRIPTION
So this one toggles the flags on the menu item you point at. For the full rundown of which flags are available, go see al_insert_menu_item(3) β thatβs where theyβre described. π
It returns a bitfield containing only the specified flags that are set after the toggle. A flag that was not toggled will not be returned, even if it is set. And if the id is invalid? You get -1, no cap. π
β³ SINCE
5.1.0
[Unstable API]: Redundant withal_get/set_menu_item_flags.
π SEE ALSO
Bestie, thatβs the whole page. Footer vibes: Allegro reference manual, page al_toggle_..._item_flags(3) β and thereβs no date in the footer, so Iβm not gonna manifest one. πβ¨
π¦ 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