al_destroy_menu - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro_native_dialog.h>

void al_destroy_menu(ALLEGRO_MENU *menu)

Description

Destroys an entire menu, including its sub-menus. Any references to it or a sub-menu are no longer valid. It is safe to call this on a menu that is currently being displayed.

Since

5.1.0

See Also

al_remove_menu_item(3)

Referenced By

al_remove_menu_item(3).

Allegro reference manual