Blob Blame History Raw
'\" t
...\" StrCoB.sgm /main/8 1996/09/08 21:03:13 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmStringComponentCreate" "library call"
.SH "NAME"
\fBXmStringComponentCreate\fP \(em A compound string function that creates arbitrary components
.iX "XmStringComponentCreate"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBXmString \fBXmStringComponentCreate\fP\fR(
\fBXmStringComponentType \fBc_type\fR\fR,
\fBunsigned int \fBlength\fR\fR,
\fBXtPointer \fBvalue\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmStringComponentCreate\fP creates a new \fBXmString\fR component
of type \fIc_type\fP, containing \fIvalue\fP\&. If \fIvalue\fP is invalid
for the particular component type, this function fails and
returns NULL\&.
.IP "\fIc_type\fP" 10
Specifies the type of component to be created\&.
.IP "\fIlength\fP" 10
Specifies the length in bytes of \fIvalue\fP\&.
Note that this must be precisely the length of the \fIvalue\fP
string, \fInot\fP including any trailing null characters\&.
.IP "\fIvalue\fP" 10
Specifies the value to be used in the creation of the component\&.
.PP
Refer to the \fBXmStringComponentType\fP(3) reference page for a list of
the possible \fBXmString\fR component types\&.
.SH "RETURN"
.PP
If \fIvalue\fP is invalid for \fIc_type\fP, fails
and returns NULL\&. Otherwise, this function returns a new compound string\&.
When the application no longer needs the returned compound string,
the application should call \fBXmStringFree\fP\&.
.SH "RELATED"
.PP
\fBXmString\fP(3),
\fBXmStringGetNextTriple\fP, \fBXmStringComponentType\fR, and
\fBXmStringFree\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:30