DOKK / manpages / debian 12 / allegro4-doc / update_menu.3alleg4.en
update_menu(3alleg4) Allegro manual update_menu(3alleg4)

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

#include <allegro.h>

int update_menu(MENU_PLAYER *player);

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.

init_menu(3alleg4), shutdown_menu(3alleg4), do_menu(3alleg4)

version 4.4.3 Allegro