Lines Matching refs:menu
34 struct menu { struct
39 void (*display_statusline)(struct menu *); argument
55 static inline void *menu_items_iter(struct menu *m, in menu_items_iter()
56 void *(*callback)(struct menu *, struct menu_item *, void *), in menu_items_iter() argument
80 static inline void *menu_item_print(struct menu *m, in menu_item_print()
98 static inline void *menu_item_destroy(struct menu *m, in menu_item_destroy()
114 static inline void menu_display(struct menu *m) in menu_display()
134 static inline void *menu_item_key_match(struct menu *m, in menu_item_key_match()
155 static inline struct menu_item *menu_item_by_key(struct menu *m, in menu_item_by_key()
165 int menu_default_choice(struct menu *m, void **choice) in menu_default_choice()
184 static inline int menu_interactive_choice(struct menu *m, void **choice) in menu_interactive_choice()
237 int menu_default_set(struct menu *m, char *item_key) in menu_default_set()
269 int menu_get_choice(struct menu *m, void **choice) in menu_get_choice()
298 int menu_item_add(struct menu *m, char *item_key, void *item_data) in menu_item_add()
363 struct menu *menu_create(char *title, int timeout, int prompt, in menu_create()
364 void (*display_statusline)(struct menu *), in menu_create() argument
369 struct menu *m; in menu_create()
407 int menu_destroy(struct menu *m) in menu_destroy()