.\" Generated by the Allegro makedoc utility .TH MENU 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME MENU \- Stores the entries of a menu. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B typedef struct MENU .SH DESCRIPTION .nf 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 .fi 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 structure. .SH SEE ALSO .BR do_menu (3alleg4), .BR exgui (3alleg4)