1
{'application':{'type':'Application',
2
'name':'StackWidgetsTest',
6
'title':'Widgets Test',
9
'menubar': {'type':'MenuBar',
16
'name':'menuFileDumpWidgets',
17
'label':'Create Components Docs...',
20
'name':'menuFileExit',
21
'label':'E&xit\tAlt+X',
30
{'type':'ToggleButton',
31
'name':'chkToggleButton',
32
'position':(100, 225),
34
'label':'ToggleButton',
38
'name':'labelToggleButton',
40
'text':'ToggleButton:',
44
'name':'labelBitmapCanvas',
45
'position':(476, 496),
46
'text':'BitmapCanvas:',
49
{'type':'BitmapCanvas',
50
'name':'bmpBitmapCanvas',
51
'position':(566, 494),
53
'backgroundColor':(255, 255, 255),
57
'name':'labelHtmlWindow',
58
'position':(546, 264),
63
'name':'htmHtmlWindow',
64
'position':(540, 288),
66
'backgroundColor':(255, 255, 255),
67
'text':'widgets.html',
71
'name':'stbStaticBox',
72
'position':(563, 449),
74
'label':'A StaticBox',
78
'name':'labelStaticBox',
79
'position':(498, 460),
84
'name':'labelSpinner',
85
'position':(228, 450),
91
'position':(310, 450),
99
'position':(228, 408),
105
'position':(310, 404),
107
'layout':'horizontal',
113
'name':'calCalendar',
114
'position':(299, 200),
117
{'type':'StaticText',
118
'name':'labelCalendar',
119
'position':(228, 260),
124
'name':'cmbComboBox',
125
'position':(311, 364),
127
'items':['one', 'two', 'three'],
128
'stringSelection':'two',
132
{'type':'StaticText',
133
'name':'labelComboBox',
134
'position':(228, 370),
140
'position':(543, 10),
142
'label':'Attributes',
145
{'type':'StaticLine',
146
'name':'staticMenuUnderline',
149
'layout':'horizontal',
154
'position':(550, 30),
161
'position':(550, 50),
167
'name':'chkEditable',
168
'position':(550, 70),
174
'name':'btnBackgroundColor',
175
'position':(550, 95),
176
'label':'BackgroundColor',
180
'name':'btnForegroundColor',
181
'position':(550, 125),
182
'label':'ForegroundColor',
187
'position':(550, 155),
193
'position':(550, 185),
198
'name':'btnBgBackgroundColor',
199
'position':(550, 215),
200
'label':'Background BackgroundColor',
203
{'type':'StaticText',
204
'name':'labelButton',
209
{'type':'StaticText',
210
'name':'labelTextField',
215
{'type':'StaticText',
216
'name':'labelPasswordField',
218
'text':'PasswordField:',
221
{'type':'StaticText',
222
'name':'labelTextArea',
227
{'type':'StaticText',
228
'name':'labelStaticText',
230
'text':'StaticText:',
233
{'type':'StaticText',
234
'name':'labelCheckBox',
239
{'type':'StaticText',
240
'name':'labelRadioGroup',
242
'text':'RadioGroup:',
245
{'type':'StaticText',
246
'name':'labelChoice',
251
{'type':'StaticText',
257
{'type':'StaticText',
258
'name':'labelSlider',
263
{'type':'StaticText',
264
'name':'labelStaticLine',
266
'text':'StaticLine:',
269
{'type':'StaticText',
275
{'type':'StaticText',
276
'name':'labelImageButton',
277
'position':(315, 110),
278
'text':'ImageButton:',
282
'name':'fldTextFieldNoBorder',
283
'position':(315, 150),
286
'text':'TextField with no border',
296
'name':'fldTextField',
297
'position':(100, 32),
301
{'type':'PasswordField',
302
'name':'fldPasswordField',
303
'position':(100, 62),
308
'name':'fldTextArea',
309
'position':(100, 92),
311
'text':'Use the checkboxes and buttons on the right to set the attributes of the widgets on the left.\n\nThe editable attribute only applies to TextField, PasswordFiled, and TextArea.',
314
{'type':'StaticText',
315
'name':'txtStaticText',
316
'position':(100, 170),
321
'name':'chkCheckBox',
322
'position':(100, 200),
326
{'type':'RadioGroup',
327
'name':'radRadioGroup',
328
'position':(100, 260),
329
'items':['one', 'two', 'three'],
330
'label':'A RadioBox',
333
'stringSelection':'one',
338
'position':(100, 360),
339
'items':['one', 'two', 'three'],
340
'stringSelection':'two',
345
'position':(100, 390),
347
'items':['one', 'two', 'three'],
348
'stringSelection':'three',
353
'position':(100, 490),
355
'layout':'horizontal',
361
{'type':'StaticLine',
362
'name':'linStaticLine',
363
'position':(100, 520),
365
'layout':'horizontal',
368
{'type':'ImageButton',
369
'name':'imgImageButton',
370
'position':(405, 110),
371
'border':'transparent',