.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_enable_menu_event_source" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_enable_menu_event_source - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_EVENT_SOURCE *al_enable_menu_event_source(ALLEGRO_MENU *menu) \f[R] .fi .SH DESCRIPTION .PP 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.) .PP Returns the event source. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_register_event_source(3alleg5), al_get_default_menu_event_source(3alleg5), al_disable_menu_event_source(3alleg5)