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
|
.\" $Xorg: AsciiText,v 1.3 2000/08/17 19:42:26 cpqbld Exp $
.NH 2
Ascii Text Widget
.LP
.XS
AsciiText Widget
.XE
.IN "AsciiText widget" "" "@DEF@"
.LP
.Ds 0
.TA 2.0i
.ta 2.0i
Application Header file <X11/Xaw/AsciiText.h>
.IN "AsciiText.h" ""
ClassHeader file <X11/Xaw/AsciiTextP.h>
.IN "AsciiTextP.h" ""
Class asciiTextWidgetClass
.IN "asciiTextWidgetClass" ""
Class Name Text
.IN "AsciiText widget" "class name"
Superclass Text
Sink Name textSink
Source Name textSource
.De
.sp 1
.LP
For the ease of internationalization, the AsciiText widget class name has not
been changed, although it is actually able to support non-ASCII locales.
The AsciiText widget is really a collection of smaller parts. It
includes the Text widget itself, a ``Source'' (which supports memory management),
and a ``Sink'' (which handles the display). There are currently two supported
sources, the AsciiSrc and MultiSrc, and two supported sinks, the AsciiSink and
.IN "AsciiSrc object" ""
.IN "AsciiSink object" ""
.IN "MultiSrc object" ""
.IN "MultiSink object" ""
MultiSink. Some of
the resources listed below are not actually resources of the
AsciiText, but belong to the associated source or sink. This is
is noted in the explanation of each resource where it applies. When
specifying these resources in a resource file it is necessary to use
\fI*AsciiText*resource_name\fP instead of
\fI*AsciiText.resource_name\fP, since they actually belong to the
children of the AsciiText widget, and not the AsciiText widget itself.
However, these resources may be set directly on the AsciiText widget at
widget creation time, or via \fBXtSetValues\fP.
.NH 3
Resources
.LP
When creating an AsciiText widget instance, the following resources are
retrieved from the argument list or from the resource database:
.LP
.IN "AsciiText widget" "resources"
.TS H
expand;
lw(1i) lw(1i) lw(1.1i) lw(.5i) lw(1.9i).
_
.sp 3p
.TB
Name Class Type Notes Default Value
.sp 3p
_
.TH
.R
.sp 3p
accelerators Accelerators AcceleratorTable NULL
ancestorSensitive AncestorSensitive Boolean D True
autoFill AutoFill Boolean False
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
bottomMargin Margin Position 2
callback Callback XtCallbackList NULL
colormap Colormap Colormap Parent's Colormap
cursor Cursor Cursor XC_xterm
cursorName Cursor String NULL
dataCompression DataCompression Boolean True
depth Depth int C Parent's Depth
destroyCallback Callback XtCallbackList NULL
displayCaret Output Boolean True
displayNonprinting Output Boolean True
displayPosition TextPosition XawTextPosition 0
echo Output Boolean True
editType EditType XawTextEditType XawtextRead
font Font XFontStruct* XtDefaultFont
fontSet FontSet XFontSet XtDefaultFontSet
foreground Foreground Pixel XtDefaultForeground
height Height Dimension A Font height + margins
insensitiveBorder Insensitive Pixmap GreyPixmap
insertPosition TextPosition int 0
international International Boolean C False
leftMargin Margin Dimension 2
length Length int A length of \fBstring\fP
mappedWhenManaged MappedWhenManaged Boolean True
pieceSize PieceSize XawTextPosition BUFSIZ
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
resize Resize XawTextResizeMode XawtextResizeNever
rightMargin Margin Position 2
screen Screen Screen R Parent's Screen
scrollHorizontal Scroll XawTextScrollMode XawtextScrollNever
scrollVertical Scroll XawTextScrollMode XawtextScrollNever
selectTypes SelectTypes XawTextSelectType* See above
sensitive Sensitive Boolean True
string String String NULL
textSink TextSink Widget An AsciiSink
textSource TextSource Widget An AsciiSrc
topMargin Margin Position 2
translations Translations TranslationTable See above
type Type XawAsciiType XawAsciiString
useStringInPlace UseStringInPlace Boolean False
width Width Dimension 100
wrap Wrap WrapMode XawtextWrapNever
x Position Position 0
y Position Position 0
.sp 3p
_
.TE
.Ac
.As
.Af
.Bg
.Gp
.Bc
.Bp
.Bw
.Tm
.Oc AsciiText
.Cm
.Cu
.Cn
.Od AsciiText
.Dp
.Dc
.Tc
.Sd AsciiText
.Td
.Oe AsciiText
.Sh AsciiText
.Sf AsciiText
.Sn AsciiText
.Sg AsciiText
.Hw
.Ib
.Ti
.Ol AsciiText
.Mm
.Pf
.Pb
.Op AsciiText
.Tz
.Sc
.Ts
.St
.Se
.Os AsciiText
.To
.Tr
.Ot AsciiText
.Ou AsciiText
.Tw
.Xy
|