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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
|
'\" t
...\" String.sgm /main/8 1996/09/08 21:08:15 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 "XmString" "library call"
.SH "NAME"
\fBXmString\fR \(em Data type for a compound string
.iX "XmString"
.iX "data types" "XmString"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
.fi
.SH "DESCRIPTION"
.PP
\fBXmString\fR
is the data type for a compound string\&.
Compound strings consist of a sequence of components, including, but
not limited to, the following:
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_SEPARATOR\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_TAB\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_LAYOUT_POP\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_DIRECTION\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_LAYOUT_PUSH\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_CHARSET\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_FONTLIST_ELEMENT_TAG\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_LOCALE\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_LOCALE_TEXT\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_TAG\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_TEXT\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_END\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_RENDITION_BEGIN\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_RENDITION_END\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_UNKNOWN\fP
.IP " \(bu" 6
\fBXmSTRING_COMPONENT_WIDECHAR_TEXT\fP
.PP
and also a rendition tags table, text, and text component\&.
When a
compound string is displayed, the rendition tags and the
direction are used to determine how to display the text\&.
.PP
Calling \fBXtGetValues\fP for a resource whose type is \fBXmString\fR yields a
copy of the compound string resource value\&.
The application is responsible for using \fBXmStringFree\fP to free the
memory allocated for the copy\&.
.PP
Please see the \fBXmStringComponentType\fR reference page for more
detail about compound string components, and for a description of the
order in which the components should appear in a compound string\&.
Refer to the \fBXmRenderTable\fR reference page for a description
of the algorithm that associates the rendition tags used for
displaying a compound string text component with a rendition in a
render table\&.
.SH "RELATED"
.PP
\fBXmParseMapping\fP(3),
\fBXmParseMappingCreate\fP(3),
\fBXmParseMappingFree\fP(3),
\fBXmParseMappingGetValues\fP(3),
\fBXmParseMappingSetValues\fP(3),
\fBXmParseTable\fP(3),
\fBXmParseTableFree\fP(3),
\fBXmStringBaseline\fP(3),
\fBXmStringByteCompare\fP(3),
\fBXmStringByteStreamLength\fP(3),
\fBXmStringCompare\fP(3),
\fBXmStringComponentCreate\fP(3),
\fBXmStringComponentType\fP(3),
\fBXmStringConcat\fP(3),
\fBXmStringConcatAndFree\fP(3),
\fBXmStringCopy\fP(3),
\fBXmStringCreate\fP(3),
\fBXmStringCreateLocalized\fP(3),
\fBXmStringCreateLtoR\fP(3),
\fBXmStringCreateSimple\fP(3),
\fBXmStringDirection\fP(3),
\fBXmStringDirectionCreate\fP(3),
\fBXmStringDirectionToDirection\fP(3),
\fBXmStringDraw\fP(3),
\fBXmStringDrawImage\fP(3),
\fBXmStringDrawUnderline\fP(3),
\fBXmStringEmpty\fP(3),
\fBXmStringExtent\fP(3),
\fBXmStringFree\fP(3),
\fBXmStringFreeContext\fP(3),
\fBXmStringGenerate\fP(3),
\fBXmStringGetLtoR\fP(3),
\fBXmStringGetNextComponent\fP(3),
\fBXmStringGetNextSegment\fP(3),
\fBXmStringGetNextTriple\fP(3),
\fBXmStringHasSubstring\fP(3),
\fBXmStringHeight\fP(3),
\fBXmStringInitContext\fP(3),
\fBXmStringIsVoid\fP(3),
\fBXmStringLength\fP(3),
\fBXmStringLineCount\fP(3),
\fBXmStringNConcat\fP(3),
\fBXmStringNCopy\fP(3),
\fBXmStringParseText\fP(3),
\fBXmStringPeekNextComponent\fP(3),
\fBXmStringPeekNextTriple\fP(3),
\fBXmStringPutRendition\fP(3),
\fBXmStringSegmentCreate\fP(3),
\fBXmStringSeparatorCreate\fP(3),
\fBXmStringTable\fP(3),
\fBXmStringTableParseStringArray\fP(3),
\fBXmStringTableProposeTablist\fP(3),
\fBXmStringTableToXmString\fP(3),
\fBXmStringTableUnparse\fP(3),
\fBXmStringToXmStringTable\fP(3),
\fBXmStringUnparse\fP(3),
\fBXmStringWidth\fP(3),
\fBXmCvtXmStringToByteStream\fP(3),
\fBXmCvtXmStringToCT\fP(3),
\fBXmCvtCTToXmString\fP(3), and
\fBXmCvtByteStreamToXmString\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:32
|