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

Function ghack_text_window_put_string

outdated/win/gnome/gntext.c:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void
66ghack_text_window_put_string(GtkWidget *widget, int attr, const char *text,
67 gpointer data)
68{
69 if (text == NULL)
70 return;
71
72 /* Don't bother with attributes yet */
73 gtk_text_insert(GTK_TEXT(gless->text), NULL, NULL, NULL, text, -1);
74 gtk_text_insert(GTK_TEXT(gless->text), NULL, NULL, NULL, "\n", -1);
75}
76
77GtkWidget *
78ghack_init_text_window()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected