Sponsor:

Your company here, and a link to your site. Click to find out more.

al_enable_menu_event_source - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_native_dialog.h>

ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu)

Description

Enables a unique event source for this menu. It and all of its sub-menus will use this event source. (It is safe to call this multiple times on the same menu.)

Returns the event source.

Since

5.1.0

See Also

al_register_event_source(3), al_get_default_menu_event_source(3), al_disable_menu_event_source(3)

Referenced By

al_disable_menu_event_source(3), al_get_default_menu_event_source(3).

Allegro reference manual