---
name: "al_destroy_menu"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_destroy_menu"
---

# al\_destroy\_menu(3)

Allegro 5 API

## NAME

al\_destroy\_menu - 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)](/al_remove_menu_item/3.md)
