XmHTMLTextSetString - set a (new) HTML source text in a XmHTML widget.
void XmHTMLTextSetString(Widget w, String text)
XmHTMLTextSetString loads a HTML source text in a XmHTML widget. The previously displayed document is destroyed.
- w
- Specifies the widget ID of a widget of class xmHTMLWidgetClass
- text
- Specifies the new source text. A value of NULL effectively erases the currently displayed document without displaying a new document. The widget will make a private copy of this new source, so one can safely free text when this function returns.
XmHTML(3X), XmHTMLTextGetSource(3X), XmHTMLTextGetString(3X)