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

Function menu_delete

win/X11/winmenu.c:180–188  ·  view source on GitHub ↗

* Called when menu window is deleted. */ ARGSUSED */

Source from the content-addressed store, hash-verified

178 */
179/* ARGSUSED */
180void
181menu_delete(Widget w, XEvent *event, String *params, Cardinal *num_params)
182{
183 nhUse(event);
184 nhUse(params);
185 nhUse(num_params);
186
187 menu_cancel((Widget) None, (XtPointer) find_widget(w), (XtPointer) 0);
188}
189
190/*
191 * Invert the count'th line (curr) in the given window.

Callers

nothing calls this directly

Calls 2

menu_cancelFunction · 0.85
find_widgetFunction · 0.85

Tested by

no test coverage detected