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

Function nh_XtPopup

win/X11/winX.c:2784–2793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2782}
2783
2784void
2785nh_XtPopup(Widget w, /* widget */
2786 int grb, /* type of grab */
2787 Widget childwid) /* child to receive focus (can be None) */
2788{
2789 XtPopup(w, (XtGrabKind) grb);
2790 XSetWMProtocols(XtDisplay(w), XtWindow(w), &wm_delete_window, 1);
2791 if (appResources.autofocus)
2792 XtSetKeyboardFocus(toplevel, childwid);
2793}
2794
2795void
2796nh_XtPopdown(Widget w)

Callers 8

X11_display_nhwindowFunction · 0.85
X11_asknameFunction · 0.85
X11_getlinFunction · 0.85
X11_yn_function_coreFunction · 0.85
X11_select_menuFunction · 0.85
display_text_windowFunction · 0.85
winmisc.cFile · 0.85
X11_get_ext_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected