blob: 7fea09a19784938bc4bfc030eb24fd804ebb86fa (
plain)
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
|
.\" $Xorg: Text,v 1.3 2000/08/17 19:42:28 cpqbld Exp $
.NH 2
Text Widget
.LP
.XS
Text Widget
.XE
.IN "Text widget" "" "@DEF@"
.LP
.Ds 0
.TA 2.0i
.ta 2.0i
Application Header file <X11/Xaw/Text.h>
.IN "Text.h" ""
Class Header file <X11/Xaw/TextP.h>
.IN "TextP.h" ""
Class textWidgetClass
.IN "textWidgetClass" ""
Class Name Text
.IN "Text widget" "class name"
Superclass Simple
.De
.sp 1
.LP
The Text widget is the glue that binds all the other pieces together, it
maintains the internal state of the displayed text, and acts as a
mediator between the source and sink.
.LP
This section lists the resources that are actually part of the
Text widget, and explains the functionality provided by each.
.NH 3
Resources
.LP
When creating a Text widget instance, the following resources are
retrieved from the argument list or from the resource database:
.LP
.IN "Text 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
colormap Colormap Colormap Parent's Colormap
cursor Cursor Cursor XC_xterm
cursorName Cursor String NULL
depth Depth int C Parent's Depth
destroyCallback Callback XtCallbackList NULL
displayCaret Output Boolean True
displayPosition TextPosition XawTextPosition 0
height Height Dimension A Font height + margins
insensitiveBorder Insensitive Pixmap GreyPixmap
insertPosition TextPosition int 0
leftMargin Margin Position 2
mappedWhenManaged MappedWhenManaged Boolean True
pointerColor Foreground Pixel XtDefaultForeground
pointerColorBackground Background Pixel XtDefaultBackground
resize Resize XawTextResizeMode XawtextResizeNever
rightMargin Margin Position 4
screen Screen Pointer R Parent's Screen
scrollHorizontal Scroll ScrollMode XawtextScrollNever
scrollVertical Scroll XawTextScrollMode XawtextScrollNever
selectTypes SelectTypes XawTextSelectType* See above
sensitive Sensitive Boolean True
textSink TextSink Widget NULL
textSource TextSource Widget NULL
topMargin Margin Position 2
translations Translations TranslationTable See above
unrealizeCallback Callback XtCallbackList NULL
width Width Dimension 100
wrap Wrap WrapMode XawtextWrapNever
x Position Position 0
y Position Position 0
.sp 3p
_
.TE
.Ac
.As
.Af Bold
.Bg
.Gp
.Bc
.Bp
.Bw
.Tm Bold
.Cm
.Cu
.Cn
.Dp
.Dc
.Tc Bold
.Td Bold
.Hw
.Ib
.Ti Bold
.Mm
.Pf
.Pb
.Tz Bold
.Sc
.Ts Bold
.St Bold
.Se
.To Bold
.Tr
.Tw Bold
.Tu Bold
.Xy
|