.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "al_remove_display_menu" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_remove_display_menu - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) \f[R] .fi .SH DESCRIPTION .PP Detaches the menu associated with the display and returns it. The menu can then be used on a different display. .PP If you simply want to destroy the active menu, you can call al_set_display_menu(3alleg5) with a \f[C]NULL\f[R] menu. .SH SINCE .PP 5.1.0 .SH SEE ALSO .PP al_set_display_menu(3alleg5)