active_menu man page

active_menu — Global pointer to the most recent activated menu. Allegro game programming library.


#include <allegro.h>

extern MENU *active_menu;


When a menu callback procedure is triggered, this will be set to the menu item that was selected, so your routine can determine where it was called from.

See Also

, exgui(3)

Referenced By

d_menu_proc(3), do_menu(3), exgui(3).

Explore man page connections for active_menu(3).

Allegro version 4.4.2 Allegro manual