---
name: "update_menu"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/update_menu"
---

# update\_menu(3alleg)

Low level function to update a menu player. Allegro game programming library.

## NAME

update\_menu - Low level function to update a menu player. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int update\_menu(MENU\_PLAYER \*player);**

## DESCRIPTION

Updates the status of a menu object returned by init\_menu(). Returns TRUE if the menu is still active, or FALSE if it has terminated. Upon a return value of FALSE, it is up to you to call shutdown\_menu() or to continue execution.

## SEE ALSO

[**init\_menu**(3alleg)](/init_menu/3alleg.md), [**shutdown\_menu**(3alleg)](/shutdown_menu/3alleg.md), [**do\_menu**(3alleg)](/do_menu/3alleg.md)
