1 <sect1 id='Text_Widget'>
2 <title>Text Widget</title>
4 <literallayout class="monospaced">
5 Application Header file <X11/Xaw/Text.h>
6 Class Header file <X11/Xaw/TextP.h>
14 The Text widget is the glue that binds all the other pieces together, it
15 maintains the internal state of the displayed text, and acts as a
16 mediator between the source and sink.
20 This section lists the resources that are actually part of the
21 Text widget, and explains the functionality provided by each.
23 <sect2 id='Text::Resources'>
24 <title>Resources</title>
27 When creating a Text widget instance, the following resources are
28 retrieved from the argument list or from the resource database:
32 <tgroup cols='5' align='center'>
33 <colspec colname='c1'/>
34 <colspec colname='c2'/>
35 <colspec colname='c3'/>
36 <colspec colname='c4'/>
37 <colspec colname='c5'/>
44 <entry>Default Value</entry>
49 <entry>accelerators</entry>
50 <entry>Accelerators</entry>
51 <entry>AcceleratorTable</entry>
56 <entry>ancestorSensitive</entry>
57 <entry>AncestorSensitive</entry>
58 <entry>Boolean</entry>
63 <entry>autoFill</entry>
64 <entry>AutoFill</entry>
65 <entry>Boolean</entry>
70 <entry>background</entry>
71 <entry>Background</entry>
74 <entry>XtDefaultBackground</entry>
77 <entry>backgroundPixmap</entry>
81 <entry>XtUnspecifiedPixmap</entry>
84 <entry>borderColor</entry>
85 <entry>BorderColor</entry>
88 <entry>XtDefaultForeground</entry>
91 <entry>borderPixmap</entry>
95 <entry>XtUnspecifiedPixmap</entry>
98 <entry>borderWidth</entry>
99 <entry>BorderWidth</entry>
100 <entry>Dimension</entry>
105 <entry>bottomMargin</entry>
106 <entry>Margin</entry>
107 <entry>Position</entry>
112 <entry>colormap</entry>
113 <entry>Colormap</entry>
114 <entry>Colormap</entry>
116 <entry>Parent's Colormap</entry>
119 <entry>cursor</entry>
120 <entry>Cursor</entry>
121 <entry>Cursor</entry>
123 <entry>XC_xterm</entry>
126 <entry>cursorName</entry>
127 <entry>Cursor</entry>
128 <entry>String</entry>
137 <entry>Parent's Depth</entry>
140 <entry>destroyCallback</entry>
141 <entry>Callback</entry>
142 <entry>XtCallbackList</entry>
147 <entry>displayCaret</entry>
148 <entry>Output</entry>
149 <entry>Boolean</entry>
154 <entry>displayPosition</entry>
155 <entry>TextPosition</entry>
156 <entry>XawTextPosition</entry>
161 <entry>height</entry>
162 <entry>Height</entry>
163 <entry>Dimension</entry>
165 <entry>Font height + margins</entry>
168 <entry>insensitiveBorder</entry>
169 <entry>Insensitive</entry>
170 <entry>Pixmap</entry>
172 <entry>GreyPixmap</entry>
175 <entry>insertPosition</entry>
176 <entry>TextPosition</entry>
182 <entry>leftMargin</entry>
183 <entry>Margin</entry>
184 <entry>Position</entry>
189 <entry>mappedWhenManaged</entry>
190 <entry>MappedWhenManaged</entry>
191 <entry>Boolean</entry>
196 <entry>pointerColor</entry>
197 <entry>Foreground</entry>
200 <entry>XtDefaultForeground</entry>
203 <entry>pointerColorBackground</entry>
204 <entry>Background</entry>
207 <entry>XtDefaultBackground</entry>
210 <entry>resize</entry>
211 <entry>Resize</entry>
212 <entry>XawTextResizeMode</entry>
214 <entry>XawtextResizeNever</entry>
217 <entry>rightMargin</entry>
218 <entry>Margin</entry>
219 <entry>Position</entry>
224 <entry>screen</entry>
225 <entry>Screen</entry>
226 <entry>Pointer</entry>
228 <entry>Parent's Screen</entry>
231 <entry>scrollHorizontal</entry>
232 <entry>Scroll</entry>
233 <entry>ScrollMode</entry>
235 <entry>XawtextScrollNever</entry>
238 <entry>scrollVertical</entry>
239 <entry>Scroll</entry>
240 <entry>XawTextScrollMode</entry>
242 <entry>XawtextScrollNever</entry>
245 <entry>selectTypes</entry>
246 <entry>SelectTypes</entry>
247 <entry>XawTextSelectType*</entry>
249 <entry>See above</entry>
252 <entry>sensitive</entry>
253 <entry>Sensitive</entry>
254 <entry>Boolean</entry>
259 <entry>textSink</entry>
260 <entry>TextSink</entry>
261 <entry>Widget</entry>
266 <entry>textSource</entry>
267 <entry>TextSource</entry>
268 <entry>Widget</entry>
273 <entry>topMargin</entry>
274 <entry>Margin</entry>
275 <entry>Position</entry>
280 <entry>translations</entry>
281 <entry>Translations</entry>
282 <entry>TranslationTable</entry>
284 <entry>See above</entry>
287 <entry>unrealizeCallback</entry>
288 <entry>Callback</entry>
289 <entry>XtCallbackList</entry>
296 <entry>Dimension</entry>
303 <entry>WrapMode</entry>
305 <entry>XawtextWrapNever</entry>
309 <entry>Position</entry>
310 <entry>Position</entry>
316 <entry>Position</entry>
317 <entry>Position</entry>