al_clone_menu - Man Page

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(3)

Referenced By

al_clone_menu_for_popup(3), al_remove_menu_item(3).

Allegro reference manual