active_menu - Man Page
Global pointer to the most recent activated menu. Allegro game programming library.
Synopsis
#include <allegro.h>
extern MENU *active_menu;
Description
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)
Info
version 4.4.3 Allegro manual