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

Function menu_popdown

win/X11/winmenu.c:607–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607static void
608menu_popdown(struct xwindow *wp)
609{
610 nh_XtPopdown(wp->popup); /* remove the event grab */
611 XtDestroyWidget(wp->popup);
612 wp->w = wp->popup = (Widget) 0;
613 if (wp->menu_information->is_active)
614 exit_x_event = TRUE; /* exit our event handler */
615 wp->menu_information->is_up = FALSE; /* menu is down */
616}
617
618/* construct a bit mask specifying which scrolling operations are allowed */
619static unsigned

Callers 7

menu_selectFunction · 0.85
menu_keyFunction · 0.85
menu_okFunction · 0.85
menu_cancelFunction · 0.85
menu_searchFunction · 0.85
x11_no_perminvFunction · 0.85
X11_select_menuFunction · 0.85

Calls 1

nh_XtPopdownFunction · 0.85

Tested by

no test coverage detected