---
name: "al_clone_menu"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_clone_menu/3alleg5"
---

# al\_clone\_menu(3alleg5)

Allegro 5 API

## NAME

al\_clone\_menu - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_native_dialog.h>
  ALLEGRO_MENU *al_clone_menu(ALLEGRO_MENU *menu)
  ```

## DESCRIPTION

Makes a copy of a menu so that it can be reused on another display. The menu being cloned can be anything: a regular menu, a popup menu, or a sub-menu.

Returns the cloned menu.

## SINCE

5\.1.0

## SEE ALSO

al\_clone\_menu\_for\_popup(3alleg5)
