Lines Matching defs:MENU
77 typedef struct __menu MENU;
80 typedef void (*Menu_Hook) (MENU *);
91 MENU *parent; /* menu this item is bound to */
142 int menu_driver(MENU *, int);
143 int scale_menu(MENU *, int *, int *);
144 int set_top_row(MENU *, int);
145 int pos_menu_cursor(MENU *);
146 int top_row(MENU *);
148 int free_menu(MENU *);
149 char menu_back(MENU *);
150 char menu_fore(MENU *);
151 void menu_format(MENU *, int *, int *);
152 char menu_grey(MENU *);
153 Menu_Hook menu_init(MENU *);
154 char *menu_mark(MENU *);
155 OPTIONS menu_opts(MENU *);
156 int menu_opts_off(MENU *, OPTIONS);
157 int menu_opts_on(MENU *, OPTIONS);
158 int menu_pad(MENU *);
159 char *menu_pattern(MENU *);
160 WINDOW *menu_sub(MENU *);
161 Menu_Hook menu_term(MENU *);
162 char *menu_unmark (MENU *);
163 char *menu_userptr(MENU *);
164 WINDOW *menu_win(MENU *);
165 MENU *new_menu(ITEM **);
166 int post_menu(MENU *);
167 int set_menu_back(MENU *, attr_t);
168 int set_menu_fore(MENU *, attr_t);
169 int set_menu_format(MENU *, int, int);
170 int set_menu_grey(MENU *, attr_t);
171 int set_menu_init(MENU *, Menu_Hook);
172 int set_menu_items(MENU *, ITEM **);
173 int set_menu_mark(MENU *, char *);
174 int set_menu_opts(MENU *, OPTIONS);
175 int set_menu_pad(MENU *, int);
176 int set_menu_pattern(MENU *, char *);
177 int set_menu_sub(MENU *, WINDOW *);
178 int set_menu_term(MENU *, Menu_Hook);
179 int set_menu_unmark(MENU *, char *);
180 int set_menu_userptr(MENU *, char *);
181 int set_menu_win(MENU *, WINDOW *);
182 int unpost_menu(MENU *);
184 ITEM *current_item(MENU *);
186 int item_count(MENU *);
189 Menu_Hook item_init(MENU *);
194 int item_selected(MENU *, int **); /* return the item index of selected */
195 Menu_Hook item_term(MENU *);
199 ITEM **menu_items(MENU *);
201 int set_current_item(MENU *, ITEM *);
202 int set_item_init(MENU *, Menu_Hook);
204 int set_item_term(MENU *, Menu_Hook);