DOKK / manpages / debian 10 / allegro5-doc / al_disable_menu_event_source.3alleg5.en
al_disable_menu_event_source(3alleg5) al_disable_menu_event_source(3alleg5)

al_disable_menu_event_source - Allegro 5 API

#include <allegro5/allegro_native_dialog.h>
void al_disable_menu_event_source(ALLEGRO_MENU *menu)
    

Disables a unique event source for the menu, causing it to use the default event source.

5.1.0

al_get_default_menu_event_source(3alleg5), al_enable_menu_event_source(3alleg5)

Allegro reference manual