1 <sect1 id="Simple_Widget">
2 <title>Simple Widget</title>
6 <!-- .IN "Simple widget" "" "@DEF@" -->
7 <literallayout class="monospaced">
11 Application Header file <Xaw/Simple.h>
12 <!-- .IN "Simple.h" "" -->
13 Class Header file <Xaw/SimpleP.h>
14 <!-- .IN "SimpleP.h" "" -->
15 Class simpleWidgetClass
16 <!-- .IN "simpleWidgetClass" -->
18 <!-- .IN "Simple widget" "class name" -->
24 The Simple widget is not very useful by itself, as it has no semantics
25 of its own. It main purpose is to be used as a common superclass for
26 the other <emphasis remap='I'>simple</emphasis> Athena widgets. This widget adds six resources
27 to the resource list provided by the Core widget and its superclasses.
29 <sect2 id='Simple::Resources'>
30 <title>Resources</title>
33 When creating a Simple widget instance, the following resources are
34 retrieved from the argument list or from the resource database:
38 <!-- .IN "Simple widget" "resources" -->
40 <tgroup cols='5' align='center'>
41 <colspec colname='c1'/>
42 <colspec colname='c2'/>
43 <colspec colname='c3'/>
44 <colspec colname='c4'/>
45 <colspec colname='c5'/>
52 <entry>Default Value</entry>
57 <entry>accelerators</entry>
58 <entry>Accelerators</entry>
59 <entry>AcceleratorTable</entry>
64 <entry>ancestorSensitive</entry>
65 <entry>AncestorSensitive</entry>
66 <entry>Boolean</entry>
71 <entry>background</entry>
72 <entry>Background</entry>
75 <entry>XtDefaultBackground</entry>
78 <entry>backgroundPixmap</entry>
82 <entry>XtUnspecifiedPixmap</entry>
85 <entry>borderColor</entry>
86 <entry>BorderColor</entry>
89 <entry>XtDefaultForeground</entry>
92 <entry>borderPixmap</entry>
96 <entry>XtUnspecifiedPixmap</entry>
99 <entry>borderWidth</entry>
100 <entry>BorderWidth</entry>
101 <entry>Dimension</entry>
106 <entry>colormap</entry>
107 <entry>Colormap</entry>
108 <entry>Colormap</entry>
110 <entry>Parent's Colormap</entry>
113 <entry>cursor</entry>
114 <entry>Cursor</entry>
115 <entry>Cursor</entry>
120 <entry>cursorName</entry>
121 <entry>Cursor</entry>
122 <entry>String</entry>
131 <entry>Parent's Depth</entry>
134 <entry>destroyCallback</entry>
135 <entry>Callback</entry>
136 <entry>XtCallbackList</entry>
141 <entry>height</entry>
142 <entry>Height</entry>
143 <entry>Dimension</entry>
148 <entry>insensitiveBorder</entry>
149 <entry>Insensitive</entry>
150 <entry>Pixmap</entry>
152 <entry>GreyPixmap</entry>
155 <entry>international</entry>
156 <entry>International</entry>
157 <entry>Boolean</entry>
162 <entry>mappedWhenManaged</entry>
163 <entry>MappedWhenManaged</entry>
164 <entry>Boolean</entry>
169 <entry>pointerColor</entry>
170 <entry>Foreground</entry>
173 <entry>XtDefaultForeground</entry>
176 <entry>pointerColorBackground</entry>
177 <entry>Background</entry>
180 <entry>XtDefaultBackground</entry>
183 <entry>screen</entry>
184 <entry>Screen</entry>
185 <entry>Screen</entry>
187 <entry>Parent's Screen</entry>
190 <entry>sensitive</entry>
191 <entry>Sensitive</entry>
192 <entry>Boolean</entry>
197 <entry>translations</entry>
198 <entry>Translations</entry>
199 <entry>TranslationTable</entry>
206 <entry>Dimension</entry>
212 <entry>Position</entry>
213 <entry>Position</entry>
219 <entry>Position</entry>
220 <entry>Position</entry>