MCPcopy Create free account
hub / github.com/NetHack/NetHack / menu_search

Function menu_search

win/X11/winmenu.c:458–470  ·  view source on GitHub ↗

ARGSUSED */

Source from the content-addressed store, hash-verified

456
457/* ARGSUSED */
458static void
459menu_search(Widget w, XtPointer client_data, XtPointer call_data)
460{
461 struct xwindow *wp = (struct xwindow *) client_data;
462 struct menu_info_t *menu_info = wp->menu_information;
463
464 nhUse(w);
465 nhUse(call_data);
466
467 search_menu(wp);
468 if (menu_info->how == PICK_ONE)
469 menu_popdown(wp);
470}
471
472/* common to menu_search and menu_key */
473static void

Callers

nothing calls this directly

Calls 2

search_menuFunction · 0.85
menu_popdownFunction · 0.85

Tested by

no test coverage detected