do_menu man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

do_menu(3)			Allegro manual			    do_menu(3)

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	 func‐
       tions if you want multi-level menus.

SEE ALSO
       d_menu_proc(3), active_menu(3), gui_menu_draw_menu(3), update_menu(3)

Allegro				 version 4.4.2			    do_menu(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net