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

Function gnome_clear_nhwindow

outdated/win/gnome/gnbind.c:482–489  ·  view source on GitHub ↗

Clear the given window, when asked to. */

Source from the content-addressed store, hash-verified

480
481/* Clear the given window, when asked to. */
482void
483gnome_clear_nhwindow(winid wid)
484{
485 if (gnome_windowlist[wid].win != NULL) {
486 gtk_signal_emit(GTK_OBJECT(gnome_windowlist[wid].win),
487 ghack_signals[GHSIG_CLEAR]);
488 }
489}
490
491/* -- Display the window on the screen. If there is data
492 pending for output in that window, it should be sent.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected