Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MENU(3)				Allegro	manual			       MENU(3)

NAME
       MENU - Stores the entries of a menu. Allegro game programming library.

SYNOPSIS
       #include	<allegro.h>

       typedef struct MENU

DESCRIPTION
	  char *text;	       - the text to display for the menu item
	  int (*proc)(void);   - called	when the menu item is clicked
	  struct MENU *child;  - nested	child menu
	  int flags;	       - disabled or checked state
	  void *dp;	       - pointer to any	data you need

       Structure used to hold an entry of a menu. Read chapter "GUI routines",
       section "GUI menus" for a description on	how to obtain/use this	struc-
       ture.

SEE ALSO
       do_menu(3), exgui(3)

Allegro				 version 4.4.2			       MENU(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MENU&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help