1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>XmHTML Programmers Manual: XmHTMLTextSetString</TITLE>
<META HTTP-EQUIV="Keywords" CONTENT="XmHTML, HTML, Motif, Widget, eXode, XntHelp, Linux">
<META HTTP-EQUIV="Reply-to" CONTENT="ripley@xs4all.nl">
<META HTTP-EQUIV="Description" CONTENT="XmHTMLTextSetStringWithLength - set a (new) HTML source text in a XmHTML widget.">
<META NAME="Author" CONTENT="Koen D'Hondt">
<META NAME="Copyright" content="1995-1997 by Ripley Software Development">
<META NAME="Source" content="$Source$">
<META NAME="Revision" content="$Revision$">
<META NAME="Font" content="helvetica">
<link rev="made" href="mailto:ripley@xs4all.nl">
<link rel="home" href="index.html">
<link rel="previous" href="TxtStStr.html">
<link rel="next" href="XYToInfo.html">
<link rel="up" href="../man.html">
<link rel="copyright" href="copyrights.html">
</HEAD>
<BODY BGCOLOR="#FFFFFF" text="#000000">
<h3><font face="helvetica,arial">Name</font></h3>
<blockquote>
XmHTMLTextSetStringWithLength - set a (new) HTML source text in a XmHTML widget.
</blockquote>
<h3><font face="helvetica,arial">Synopsis</font></h3>
<blockquote>
void XmHTMLTextSetStringWithLength(Widget w, String text, size_t len)
</blockquote>
<h3><font face="helvetica,arial">Description</font></h3>
<blockquote>
XmHTMLTextSetStringWithLength loads a HTML source text in a XmHTML widget.
The previously displayed document is destroyed.
<p>
The sole difference with the XmHTMLTextSetString convenience function is
that the <i>text</i> argument need not be null terminated. This function
allows one to display text as it is being received and can be used as
a limited form of dynamic document loading.
<p>
<dl>
<dt>w
<dd>Specifies the widget ID of a widget of class xmHTMLWidgetClass
<dt>text
<dd>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.
<dt>len
<dd>length of <i>text</i>.
</dl>
</blockquote>
<h3><font face="helvetica,arial">See Also</font></h3>
<blockquote>
XmHTML(3X), XmHTMLTextGetSource(3X), XmHTMLTextGetString(3X)
</blockquote>
<hr noshade size="2" width="25%">
<i><font size="-1">
XmHTML, June 4, 1998
</font></i>
</body>
</html>
|