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

Function ClearDialogResponse

win/X11/dialogs.c:291–301  ·  view source on GitHub ↗

clear the response */

Source from the content-addressed store, hash-verified

289#if 0
290/* clear the response */
291void
292ClearDialogResponse(Widget w)
293{
294 Arg args[2];
295 Widget response;
296
297 response = XtNameToWidget(w, "response");
298 XtSetArg(args[0], nhStr(XtNstring), "");
299 XtSetArg(args[1], nhStr(XtNwidth), 100);
300 XtSetValues(response, args, TWO);
301}
302#endif
303
304/* Not a part of the original dialogs.c from ghostview -------------------- */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected