|
Packit |
b099d7 |
'\" t
|
|
Packit |
b099d7 |
...\" StrGeA.sgm /main/8 1996/09/08 21:04:59 rws $
|
|
Packit |
b099d7 |
.de P!
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!1 setgray
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\\&.\"
|
|
Packit |
b099d7 |
.fl
|
|
Packit |
b099d7 |
\!!0 setgray
|
|
Packit |
b099d7 |
.fl \" force out current output buffer
|
|
Packit |
b099d7 |
\!!save /psv exch def currentpoint translate 0 0 moveto
|
|
Packit |
b099d7 |
\!!/showpage{}def
|
|
Packit |
b099d7 |
.fl \" prolog
|
|
Packit |
b099d7 |
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
|
|
Packit |
b099d7 |
\!!psv restore
|
|
Packit |
b099d7 |
.
|
|
Packit |
b099d7 |
.de pF
|
|
Packit |
b099d7 |
.ie ?\\*(f1?? .ds f1 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f2?? .ds f2 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f3?? .ds f3 \\n(.f
|
|
Packit |
b099d7 |
.el .ie ?\\*(f4?? .ds f4 \\n(.f
|
|
Packit |
b099d7 |
.el .tm ? font overflow
|
|
Packit |
b099d7 |
.ft \\$1
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.de fP
|
|
Packit |
b099d7 |
.ie !?\\*(f4?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f4
|
|
Packit |
b099d7 |
. ds f4\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f3?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f3
|
|
Packit |
b099d7 |
. ds f3\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f2?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f2
|
|
Packit |
b099d7 |
. ds f2\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .ie !?\\*(f1?? \{\
|
|
Packit |
b099d7 |
. ft \\*(f1
|
|
Packit |
b099d7 |
. ds f1\"
|
|
Packit |
b099d7 |
' br \}
|
|
Packit |
b099d7 |
.el .tm ? font underflow
|
|
Packit |
b099d7 |
..
|
|
Packit |
b099d7 |
.ds f1\"
|
|
Packit |
b099d7 |
.ds f2\"
|
|
Packit |
b099d7 |
.ds f3\"
|
|
Packit |
b099d7 |
.ds f4\"
|
|
Packit |
b099d7 |
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
|
|
Packit |
b099d7 |
.TH "XmStringGenerate" "library call"
|
|
Packit |
b099d7 |
.SH "NAME"
|
|
Packit |
b099d7 |
\fBXmStringGenerate\fP \(em A convenience function that generates a compound string
|
|
Packit |
b099d7 |
.iX "XmStringGenerate"
|
|
Packit |
b099d7 |
.SH "SYNOPSIS"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
.nf
|
|
Packit |
b099d7 |
#include <Xm/Xm\&.h>
|
|
Packit |
b099d7 |
\fBXmString \fBXmStringGenerate\fP\fR(
|
|
Packit |
b099d7 |
\fBXtPointer \fBtext\fR\fR,
|
|
Packit |
b099d7 |
\fBXmStringTag \fBtag\fR\fR,
|
|
Packit |
b099d7 |
\fBXmTextType \fBtype\fR\fR,
|
|
Packit |
b099d7 |
\fBXmStringTag \fBrendition\fR\fR);
|
|
Packit |
b099d7 |
.fi
|
|
Packit |
b099d7 |
.SH "DESCRIPTION"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmStringGenerate\fP calls the \fBXmStringParseText\fP
|
|
Packit |
b099d7 |
function with a default parse table of entries
|
|
Packit |
b099d7 |
consisting of \&'\n\&', which maps to
|
|
Packit |
b099d7 |
Separator,
|
|
Packit |
b099d7 |
and \&'\t\&', which maps to Tab\&.
|
|
Packit |
b099d7 |
Matching \fBRENDITION_BEGIN\fP and
|
|
Packit |
b099d7 |
\fBRENDITION_END\fP components containing \fIrendition\fP are placed
|
|
Packit |
b099d7 |
around the resulting \fBXmString\fR\&.
|
|
Packit |
b099d7 |
.IP "\fItext\fP" 10
|
|
Packit |
b099d7 |
Specifies a NULL-terminated string containing characters of a type
|
|
Packit |
b099d7 |
determined by \fItype\fP\&.
|
|
Packit |
b099d7 |
.IP "\fItag\fP" 10
|
|
Packit |
b099d7 |
Specifies the tag to be used in creating the result\&. The type of tag
|
|
Packit |
b099d7 |
created (charset or locale) depends on the text type and the
|
|
Packit |
b099d7 |
value given\&. If specified value is NULL, and \fItype\fP indicates
|
|
Packit |
b099d7 |
that a charset tag should be created, then the tag will have the
|
|
Packit |
b099d7 |
value of
|
|
Packit |
b099d7 |
\fBXmFONTLIST_DEFAULT_TAG\fP\&.
|
|
Packit |
b099d7 |
If \fItag\fP is NULL, and \fItype\fP indicates a
|
|
Packit |
b099d7 |
locale tag, then the tag will have the value of \fB_MOTIF_DEFAULT_LOCALE\fP\&.
|
|
Packit |
b099d7 |
.IP "\fItype\fP" 10
|
|
Packit |
b099d7 |
Specifies the type of text to be passed in, and the tag type\&.
|
|
Packit |
b099d7 |
If a locale tag should be created, then \fItype\fP has a value of
|
|
Packit |
b099d7 |
either \fBXmMULTIBYTE_TEXT\fP or \fBXmWIDECHAR_TEXT\fP\&. If a
|
|
Packit |
b099d7 |
charset should be created, \fItype\fP has a value of
|
|
Packit |
b099d7 |
\fBXmCHARSET_TEXT\fP\&.
|
|
Packit |
b099d7 |
.IP "\fIrendition\fP" 10
|
|
Packit |
b099d7 |
Specifies the rendition tag to be used in an
|
|
Packit |
b099d7 |
\fBXmSTRING_COMPONENT_RENDITION_BEGIN\fP component which will begin
|
|
Packit |
b099d7 |
the returned string and in an \fBXmSTRING_COMPONENT_RENDITION_END\fP
|
|
Packit |
b099d7 |
component which will end it\&.
|
|
Packit |
b099d7 |
If \fIrendition\fP is NULL, no rendition tag is placed\&.
|
|
Packit |
b099d7 |
.SH "RETURN"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
Returns a new compound string\&.
|
|
Packit |
b099d7 |
The function will allocate space to hold the returned compound string\&.
|
|
Packit |
b099d7 |
When the application no longer needs the returned compound string, the
|
|
Packit |
b099d7 |
application should call \fBXmStringFree\fP\&.
|
|
Packit |
b099d7 |
.SH "RELATED"
|
|
Packit |
b099d7 |
.PP
|
|
Packit |
b099d7 |
\fBXmString\fP(3) and
|
|
Packit |
b099d7 |
\fBXmStringFree\fP(3)\&.
|
|
Packit |
b099d7 |
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:31
|