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, NULL terminated, 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.
Internally, XmHTMLTextSetString references XmHTMLTextSetStringWithLength.
XmHTML(3X), XmHTMLTextGetSource(3X), XmHTMLTextGetString(3X), XmHTMLTextSetStringWithLength(3X)