1al_remove_menu_item(3)                                  al_remove_menu_item(3)
2
3
4

NAME

6       al_remove_menu_item - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_native_dialog.h>
10
11              bool al_remove_menu_item(ALLEGRO_MENU *menu, int pos)
12

DESCRIPTION

14       Removes  the specified item from the menu and destroys it.  If the item
15       contains a sub-menu, it too is destroyed.  Any  references  to  it  are
16       invalidated.   If  you want to preserve that sub-menu, you should first
17       make a copy with al_clone_menu(3).
18
19       This is safe to call on a menu that is currently being displayed.
20
21       Returns true if an item was removed.
22

SINCE

24       5.1.0
25

SEE ALSO

27       al_append_menu_item(3), al_insert_menu_item(3), al_destroy_menu(3)
28
29
30
31Allegro reference manual                                al_remove_menu_item(3)
Impressum