Lines Matching refs:menu
32 static int list_menu__run(struct ui_browser *menu) in list_menu__run() argument
43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run()
47 key = ui_browser__run(menu, 0); in list_menu__run()
51 offset = (unsigned long)menu->priv; in list_menu__run()
53 menu->priv = (void *)offset; in list_menu__run()
56 offset = (unsigned long)menu->priv; in list_menu__run()
59 menu->priv = (void *)offset; in list_menu__run()
64 ui_browser__help_window(menu, help); in list_menu__run()
78 ui_browser__hide(menu); in list_menu__run()
84 struct ui_browser menu = { in ui__list_menu() local
92 return list_menu__run(&menu); in ui__list_menu()