shutdown_menu(3) - Linux man page

Name

shutdown_menu - Destroys a menu player object returned by init_menu(). Allegro game programming library.

Synopsis

#include <allegro.h>

int shutdown_menu(MENU_PLAYER *player);

Description

Destroys a menu player object returned by init_menu(), returning the index of the menu item that was selected, or -1 if the menu was cancelled (this is the same as the return value from do_menu()).

See Also

init_menu(3), update_menu(3)

Referenced By

menu_player(3)