File: AllWidgets.dat

package info (click to toggle)
motif 2.3.4-13
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 81,160 kB
  • ctags: 51,769
  • sloc: ansic: 596,938; cpp: 3,951; yacc: 2,854; makefile: 2,070; csh: 1,199; sh: 1,070; lex: 455
file content (262 lines) | stat: -rw-r--r-- 4,853 bytes parent folder | download | duplicates (3)
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
/* 
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
*/ 
/* 
 * HISTORY
*/ 
/*
static char rcsid[] = "$XConsortium: AllWidgets.dat /main/6 1995/07/13 18:25:12 drk $"
*/
#) This test tests the different managers with/without children.

#) By default, there should be a BulletinBoard within a topLevel Shell. 
   If you want a manager other than the bulletinboard under the topLavel,
   exit from the test and rerun the test with the appropriate commandline
   option. The different options are: \"-u -bb\" for BulletinBoard,
   \"-u -fo\" for Form, \"-u -fr\" for Frame, \"-u -pw\" for PanedWindow,
   and \"-u -rc\" for RowColumn.

C)

#) Manager values are, width 250, height 200, and marginWidth 25.

C)

#) Manager should have a ArrowButton with width 150, and height 100.

C)

#) ArrowButton should have been destroyed.

C)

#) Manager should have a ArrowButtonGadget with width 150, and height 100.

C)

#) ArrowButtonGadget should have been destroyed.

C)

#) Manager should have a BulletinBoard with width 150, and height 100.

C)

#) BulletinBoard child should have been destroyed.

C)

#) Manager should have a Label widget with labelString \"Label\".

C)

#) Label should have been destroyed.

C)

#) Manager should have a LabelGadget with labelString \"LabelGadget\".

C)

#) LabelGadget should have been destroyed.

C)

#) Manager should have a List with 10 items out of which 5 are visible.

#) List should have a width of 100.

C)

#) List should have been destroyed.

C)

#) Manager should have a PushButton with label \"PushButton\".

C)

#) PushButton should have been destroyed.

C)

#) Manager should have a PushButtonGadget with label \"PushButtonGadget\".

C)

#) PushButtonGadget should have been destroyed.

C)

#) Manager should have a Scale with a min of 0, max of 100, and a value
   of 10.

C)

#) Scale should have been destroyed.

C)

#) Manager should have a ScrolledList with 10 items out of which 5 
   are visible.

#) ScrolledList should have a width of 100.

C)

#) ScrooledList should have been destroyed.

C)

#) Manager should have a ScrolledText with 2 rows, 20 columns, and
   showing both scrollbars.

C)

#) ScrolledText should have been destroyed.

C)

#) Manager should have a ScrolledWindow with width 150, and height 100.

C)

#) ScrolledWindow should have been destroyed.

C)

#) Manager should have a Separator.

C)

#) Separator should have been destroyed.

C)

#) Manager should have a SeparatorGadget.

C)

#) SeparatorGadget should have been destroyed.

C)

#) Manager should have a Text with 2 rows, 20 columns.

C)

#) Text should have been destroyed.

C)

#) Manager should have a TextField with 20 columns.

C)

#) TextField should have been destroyed.

C)

#) Manager should have a ToggleButton with the label \"ToggleButton\".

C)

#) ToggleButton should have been destroyed.

C)

#) Manager should have a ToggleButtonGadget with the label 
   \"ToggleButtonGadget\".

C)

#) ToggleButtonGadget should have been destroyed.

C)

#) Manager should have a DrawnButton with the label \"DrawnButton\".

C)

#) DrawnButton should have been destroyed.

C)

#) Manager should have a DrawingArea with width 150, and height 100.

C)

#) DrawingArea should have been destroyed.

C)

#) There should be a BulletinBoard within the topLevel Shell. 

#) BulletinBoard values are, width 250, height 200.

C)

#) BulletinBoard should have been destroyed.

C)

#) There should be a Form within the topLevel Shell. 

#) Form values are, width 250, height 200.

C)

#) Form should have been destroyed.

C)

#) There should be a Frame within the topLevel Shell. 

#) Frame values are, width 250, height 200.

C)

#) Frame should have been destroyed.

C)

#) There should be a PanedWindow within the topLevel Shell. 

#) PanedWindow values are, width 250, height 200.

C)

#) PanedWindow should have been destroyed.

C)

#) There should be a RowColumn within the topLevel Shell. 

#) RowColumn values are, width 250, height 200.

C)

#) RowColumn should have been destroyed.

C)

E)