debian man page for do_menu

Query: do_menu

OS: debian

Section: 3alleg4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

do_menu(3alleg4)						  Allegro manual						  do_menu(3alleg4)

NAME
do_menu - Displays an animates a popup menu. Allegro game programming library.
SYNOPSIS
#include <allegro.h> int do_menu(MENU *menu, int x, int y);
DESCRIPTION
Displays and animates a popup menu at the specified screen coordinates (these will be adjusted if the menu does not entirely fit on the screen). Returns the index of the menu item that was selected, or -1 if the menu was cancelled. Note that the return value cannot indicate selection from child menus, so you will have to use the callback functions if you want multi-level menus.
SEE ALSO
d_menu_proc(3alleg4), active_menu(3alleg4), gui_menu_draw_menu(3alleg4), update_menu(3alleg4) Allegro version 4.4.2 do_menu(3alleg4)
Related Man Pages
exgui(3alleg4) - centos
exgui(3alleg4) - linux
exgui(3alleg4) - netbsd
d_menu_proc(3alleg4) - netbsd
d_menu_proc(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
display problem
array to choices .. lost
Infraction for kenray: 1st Warning to Add Code Tags
Infraction for Vitrophyre: Homework Violation
Problem parsing args