shutdown_menu(3alleg)

shutdown_menu3alleg

Destroys a menu player object returned by init_menu(). allegro game programming library.

Usage

#include <allegro.h>

int shutdown_menu(MENU_PLAYER *player);

Overview

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

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.