.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_remove_display_menu" "3" "" "Allegro reference manual" .SH NAME al_remove_display_menu \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] ALLEGRO_MENU *al_remove_display_menu(ALLEGRO_DISPLAY *display) .EE .SH DESCRIPTION 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(3) with a \f[CR]NULL\f[R] menu. .SH SINCE 5.1.0 .SH SEE ALSO al_set_display_menu(3)