al_get_default_menu_event_source - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_native_dialog.h>

ALLEGRO_EVENT_SOURCE *al_get_default_menu_event_source(void)

Description

Returns the default event source used for menu clicks. If a menu was not given its own event source via al_enable_menu_event_source(3), then it will use this default source.

Since

5.1.0

See Also

al_register_event_source(3), al_enable_menu_event_source(3), al_disable_menu_event_source(3)

Referenced By

al_disable_menu_event_source(3), al_enable_menu_event_source(3).

Allegro reference manual