putstr(window, attr, str) -- Print str on the window with the given attribute. Only printable ASCII characters (040-0126) must be supported. Multiple putstr()s are output on separate lines. Attributes can be one of ATR_NONE (or 0) ATR_ULINE ATR_BOLD
| 563 | by calling more() or displaying both on the same line. |
| 564 | */ |
| 565 | void |
| 566 | gnome_putstr(winid wid, int attr, const char *text) |
| 567 | { |
| 568 | if ((wid >= 0) && (wid < MAXWINDOWS) |
| 569 | && (gnome_windowlist[wid].win != NULL)) { |
| 570 | gtk_signal_emit(GTK_OBJECT(gnome_windowlist[wid].win), |
| 571 | ghack_signals[GHSIG_PUTSTR], (guint) attr, text); |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | /* Display the file named str. Complain about missing files |
| 576 | iff complain is TRUE. |