]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | |
2 | ||
3 | <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1"> | |
4 | ||
5 | <object class="wxDialog" name="controls_dialog"> | |
6 | <title>Controls Example</title> | |
7 | <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style> | |
8 | <centered>1</centered> | |
9 | <object class="wxFlexGridSizer"> | |
10 | <cols>1</cols> | |
11 | <rows>0</rows> | |
12 | <vgap>0</vgap> | |
13 | <hgap>0</hgap> | |
14 | <growablecols>0</growablecols> | |
15 | <growablerows>0</growablerows> | |
16 | <object class="sizeritem"> | |
17 | <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
18 | <border>5</border> | |
19 | <object class="wxNotebook" name="controls_notebook"> | |
20 | <usenotebooksizer>1</usenotebooksizer> | |
21 | <size>550,200</size> | |
22 | <object class="notebookpage"> | |
23 | <label>wxTreebook</label> | |
24 | <object class="wxTreebook" name="controls_treebook"> | |
25 | <size>350,280</size> | |
26 | <style>wxSUNKEN_BORDER</style> | |
27 | <object class="treebookpage"> | |
28 | <label>Page 1</label> | |
29 | <depth>0</depth> | |
30 | <object class="wxButton" name="controls_treebook_button1"> | |
31 | <size>200,180</size> | |
32 | <label>Button N1</label> | |
33 | </object> | |
34 | </object> | |
35 | <object class="treebookpage"> | |
36 | <label>Empty Page 2</label> | |
37 | <depth>1</depth> | |
38 | </object> | |
39 | <object class="treebookpage"> | |
40 | <label>Page 3</label> | |
41 | <depth>2</depth> | |
42 | <object class="wxButton" name="controls_treebook_button3"> | |
43 | <size>200,180</size> | |
44 | <label>Button N3</label> | |
45 | </object> | |
46 | </object> | |
47 | <object class="treebookpage"> | |
48 | <label>Page 4</label> | |
49 | <depth>1</depth> | |
50 | <object class="wxButton" name="controls_treebook_button4"> | |
51 | <size>200,180</size> | |
52 | <label>Button N4</label> | |
53 | </object> | |
54 | </object> | |
55 | </object> | |
56 | </object> | |
57 | <object class="notebookpage"> | |
58 | <label>wxToolBar</label> | |
59 | <object class="wxPanel" name="button"> | |
60 | <object class="wxFlexGridSizer"> | |
61 | <cols>2</cols> | |
62 | <rows>0</rows> | |
63 | <vgap>0</vgap> | |
64 | <hgap>0</hgap> | |
65 | <growablecols>0,1</growablecols> | |
66 | <growablerows>0,1</growablerows> | |
67 | <object class="sizeritem"> | |
68 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
69 | <border>5</border> | |
70 | <object class="wxStaticText" name="controls_normal_button"> | |
71 | <label>Transparent background:</label> | |
72 | </object> | |
73 | </object> | |
74 | <object class="sizeritem"> | |
75 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
76 | <border>5</border> | |
77 | <size>300,60</size> | |
78 | <object class="wxToolBar"> | |
79 | <style>wxTB_FLAT|wxTB_NODIVIDER</style> | |
80 | <margins>2,2</margins> | |
81 | <object class="tool" name="non_derived_dialog_tool_or_menuitem"> | |
82 | <tooltip>Non-Derived Dialog Example</tooltip> | |
83 | <bitmap>basicdlg.xpm</bitmap> | |
84 | <longhelp>The basic instance of wxDialog loaded via XRC</longhelp> | |
85 | </object> | |
86 | <object class="tool" name="derived_tool_or_menuitem"> | |
87 | <tooltip>Derived Dialog Example</tooltip> | |
88 | <bitmap>derivdlg.xpm</bitmap> | |
89 | <longhelp>The most important example: load an XRC for a derived dialog</longhelp> | |
90 | </object> | |
91 | <object class="tool" name="controls_tool_or_menuitem"> | |
92 | <tooltip>Controls Example</tooltip> | |
93 | <bitmap>controls.xpm</bitmap> | |
94 | <longhelp>A notebook displaying all the wxWidgets controls</longhelp> | |
95 | </object> | |
96 | <object class="tool" name="uncentered_tool_or_menuitem"> | |
97 | <tooltip>Uncentered Example</tooltip> | |
98 | <bitmap>uncenter.xpm</bitmap> | |
99 | <longhelp>Disable autocentering of a dialog on its parent</longhelp> | |
100 | </object> | |
101 | <separator/> | |
102 | <object class="tool" name="custom_class_tool_or_menuitem"> | |
103 | <tooltip>Custom Class Example</tooltip> | |
104 | <bitmap>custclas.xpm</bitmap> | |
105 | <longhelp>Embed your own custom classes into an XRC</longhelp> | |
106 | </object> | |
107 | <object class="tool" name="platform_property_tool_or_menuitem"> | |
108 | <tooltip>Platform Specific Example</tooltip> | |
109 | <bitmap>platform.xpm</bitmap> | |
110 | <longhelp>Customize parts of an interface for a desired platform</longhelp> | |
111 | </object> | |
112 | <object class="tool" name="art_provider_tool_or_menuitem"> | |
113 | <tooltip>wxArtProvider Example</tooltip> | |
114 | <bitmap>artprov.xpm</bitmap> | |
115 | <longhelp>Use wxArtProvider to insert desired icons at runtime</longhelp> | |
116 | </object> | |
117 | <object class="tool" name="variable_expansion_tool_or_menuitem"> | |
118 | <tooltip>Variable Expansion Example</tooltip> | |
119 | <bitmap>variable.xpm</bitmap> | |
120 | <longhelp>Replace variables in the XRC file at runtime</longhelp> | |
121 | </object> | |
122 | <object class="wxComboBox"> | |
123 | <content> | |
124 | <item>Just</item> | |
125 | <item>a combobox</item> | |
126 | <item>in the toolbar</item> | |
127 | </content> | |
128 | </object> | |
129 | </object> | |
130 | </object> | |
131 | <object class="sizeritem"> | |
132 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
133 | <border>5</border> | |
134 | <object class="wxStaticText" name="controls_statictext2_button"> | |
135 | <label>Fixed color background:</label> | |
136 | </object> | |
137 | </object> | |
138 | <object class="sizeritem"> | |
139 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
140 | <border>5</border> | |
141 | <object class="wxToolBar"> | |
142 | <style>wxTB_FLAT|wxTB_NODIVIDER</style> | |
143 | <bg>#bbbbff</bg> | |
144 | <margins>2,2</margins> | |
145 | <object class="tool" name="non_derived_dialog_tool_or_menuitem"> | |
146 | <tooltip>Non-Derived Dialog Example</tooltip> | |
147 | <bitmap>basicdlg.xpm</bitmap> | |
148 | <longhelp>The basic instance of wxDialog loaded via XRC</longhelp> | |
149 | </object> | |
150 | <object class="tool" name="derived_tool_or_menuitem"> | |
151 | <tooltip>Derived Dialog Example</tooltip> | |
152 | <bitmap>derivdlg.xpm</bitmap> | |
153 | <longhelp>The most important example: load an XRC for a derived dialog</longhelp> | |
154 | </object> | |
155 | <object class="tool" name="controls_tool_or_menuitem"> | |
156 | <tooltip>Controls Example</tooltip> | |
157 | <bitmap>controls.xpm</bitmap> | |
158 | <longhelp>A notebook displaying all the wxWidgets controls</longhelp> | |
159 | </object> | |
160 | <object class="tool" name="uncentered_tool_or_menuitem"> | |
161 | <tooltip>Uncentered Example</tooltip> | |
162 | <bitmap>uncenter.xpm</bitmap> | |
163 | <longhelp>Disable autocentering of a dialog on its parent</longhelp> | |
164 | </object> | |
165 | <separator/> | |
166 | <object class="tool" name="custom_class_tool_or_menuitem"> | |
167 | <tooltip>Custom Class Example</tooltip> | |
168 | <bitmap>custclas.xpm</bitmap> | |
169 | <longhelp>Embed your own custom classes into an XRC</longhelp> | |
170 | </object> | |
171 | <object class="tool" name="platform_property_tool_or_menuitem"> | |
172 | <tooltip>Platform Specific Example</tooltip> | |
173 | <bitmap>platform.xpm</bitmap> | |
174 | <longhelp>Customize parts of an interface for a desired platform</longhelp> | |
175 | </object> | |
176 | <object class="tool" name="art_provider_tool_or_menuitem"> | |
177 | <tooltip>wxArtProvider Example</tooltip> | |
178 | <bitmap>artprov.xpm</bitmap> | |
179 | <longhelp>Use wxArtProvider to insert desired icons at runtime</longhelp> | |
180 | </object> | |
181 | <object class="tool" name="variable_expansion_tool_or_menuitem"> | |
182 | <tooltip>Variable Expansion Example</tooltip> | |
183 | <bitmap>variable.xpm</bitmap> | |
184 | <longhelp>Replace variables in the XRC file at runtime</longhelp> | |
185 | </object> | |
186 | <object class="wxComboBox"> | |
187 | <content> | |
188 | <item>Just</item> | |
189 | <item>a combobox</item> | |
190 | <item>in the toolbar</item> | |
191 | </content> | |
192 | </object> | |
193 | </object> | |
194 | </object> | |
195 | </object> | |
196 | </object> | |
197 | </object> | |
198 | ||
199 | ||
200 | <object class="notebookpage"> | |
201 | <label>wxBitmapButton</label> | |
202 | <object class="wxPanel" name="bitmapbutton"> | |
203 | <object class="wxFlexGridSizer"> | |
204 | <cols>1</cols> | |
205 | <rows>0</rows> | |
206 | <vgap>0</vgap> | |
207 | <hgap>0</hgap> | |
208 | <growablecols>0</growablecols> | |
209 | <growablerows>0</growablerows> | |
210 | <object class="sizeritem"> | |
211 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
212 | <border>5</border> | |
213 | <object class="wxBitmapButton" name="controls_bitmapbutton"> | |
214 | <bitmap>controls.xpm</bitmap> | |
215 | </object> | |
216 | </object> | |
217 | </object> | |
218 | </object> | |
219 | </object> | |
220 | <object class="notebookpage"> | |
221 | <label>wxButton</label> | |
222 | <object class="wxPanel" name="button"> | |
223 | <object class="wxFlexGridSizer"> | |
224 | <cols>2</cols> | |
225 | <rows>0</rows> | |
226 | <vgap>0</vgap> | |
227 | <hgap>0</hgap> | |
228 | <growablecols>0,1</growablecols> | |
229 | <growablerows>0,1</growablerows> | |
230 | <object class="sizeritem"> | |
231 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
232 | <border>5</border> | |
233 | <object class="wxStaticText" name="controls_normal_button"> | |
234 | <label>Normal button:</label> | |
235 | </object> | |
236 | </object> | |
237 | <object class="sizeritem"> | |
238 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
239 | <border>5</border> | |
240 | <object class="wxButton" name="controls_normal_button"> | |
241 | <label>OK</label> | |
242 | </object> | |
243 | </object> | |
244 | <object class="sizeritem"> | |
245 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
246 | <border>5</border> | |
247 | <object class="wxStaticText" name="controls_statictext2_button"> | |
248 | <label>wxNO_BORDER style:</label> | |
249 | </object> | |
250 | </object> | |
251 | <object class="sizeritem"> | |
252 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
253 | <border>5</border> | |
254 | <object class="wxButton" name="controls_flat_button"> | |
255 | <style>wxNO_BORDER</style> | |
256 | <label>OK</label> | |
257 | </object> | |
258 | </object> | |
259 | </object> | |
260 | </object> | |
261 | </object> | |
262 | <object class="notebookpage"> | |
263 | <label>wxCalendarControl</label> | |
264 | <object class="wxPanel" name="calendar"> | |
265 | <object class="wxFlexGridSizer"> | |
266 | <cols>1</cols> | |
267 | <rows>0</rows> | |
268 | <vgap>0</vgap> | |
269 | <hgap>0</hgap> | |
270 | <growablecols>0</growablecols> | |
271 | <growablerows>0</growablerows> | |
272 | <object class="sizeritem"> | |
273 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
274 | <border>5</border> | |
275 | <object class="wxCalendarCtrl" name="controls_calendarctrl"> | |
276 | <size>-1,-1</size> | |
277 | </object> | |
278 | </object> | |
279 | </object> | |
280 | </object> | |
281 | </object> | |
282 | <object class="notebookpage"> | |
283 | <label>wxCheckBox</label> | |
284 | <object class="wxPanel" name="checkbox"> | |
285 | <object class="wxFlexGridSizer"> | |
286 | <cols>1</cols> | |
287 | <rows>0</rows> | |
288 | <vgap>0</vgap> | |
289 | <hgap>0</hgap> | |
290 | <growablecols>0</growablecols> | |
291 | <growablerows>0</growablerows> | |
292 | <object class="sizeritem"> | |
293 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
294 | <border>5</border> | |
295 | <object class="wxCheckBox" name="controls_unchecked_checkbox"> | |
296 | <label>Unchecked initially</label> | |
297 | </object> | |
298 | </object> | |
299 | <object class="sizeritem"> | |
300 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
301 | <border>5</border> | |
302 | <object class="wxCheckBox" name="controls_checked_checkbox"> | |
303 | <label>Checked initially</label> | |
304 | <checked>1</checked> | |
305 | </object> | |
306 | </object> | |
307 | </object> | |
308 | </object> | |
309 | </object> | |
310 | <object class="notebookpage"> | |
311 | <label>wxCheckListBox</label> | |
312 | <object class="wxPanel" name="checklist"> | |
313 | <object class="wxFlexGridSizer"> | |
314 | <cols>1</cols> | |
315 | <rows>0</rows> | |
316 | <vgap>0</vgap> | |
317 | <hgap>0</hgap> | |
318 | <growablecols>0</growablecols> | |
319 | <growablerows>0</growablerows> | |
320 | <object class="sizeritem"> | |
321 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
322 | <border>5</border> | |
323 | <object class="wxCheckListBox" name="conrols_checklist"> | |
324 | <size>180,180</size> | |
325 | <content> | |
326 | <item checked="1">Download library</item> | |
327 | <item checked="1">Compile samples</item> | |
328 | <item checked="1">Skim docs</item> | |
329 | <item checked="1">Finish project</item> | |
330 | <item>Wash car</item> | |
331 | </content> | |
332 | </object> | |
333 | </object> | |
334 | </object> | |
335 | </object> | |
336 | </object> | |
337 | ||
338 | <object class="notebookpage"> | |
339 | <label>wxChoice</label> | |
340 | <object class="wxPanel" name="choice"> | |
341 | <object class="wxFlexGridSizer"> | |
342 | <cols>1</cols> | |
343 | <rows>0</rows> | |
344 | <vgap>0</vgap> | |
345 | <hgap>0</hgap> | |
346 | <growablecols>0</growablecols> | |
347 | <growablerows>0</growablerows> | |
348 | <object class="sizeritem"> | |
349 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
350 | <border>5</border> | |
351 | <object class="wxChoice" name="controls_choice"> | |
352 | <size>180,-1</size> | |
353 | <content> | |
354 | <item>See</item> | |
355 | <item>Hear</item> | |
356 | <item>Feel</item> | |
357 | <item>Smell</item> | |
358 | <item>Taste</item> | |
359 | <item>The Sixth Sense!</item> | |
360 | </content> | |
361 | </object> | |
362 | </object> | |
363 | </object> | |
364 | </object> | |
365 | </object> | |
366 | <object class="notebookpage"> | |
367 | <label>wxComboBox</label> | |
368 | <object class="wxPanel" name="combobox"> | |
369 | <object class="wxFlexGridSizer"> | |
370 | <cols>1</cols> | |
371 | <rows>0</rows> | |
372 | <vgap>0</vgap> | |
373 | <hgap>0</hgap> | |
374 | <growablecols>0</growablecols> | |
375 | <growablerows>0</growablerows> | |
376 | <object class="sizeritem"> | |
377 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
378 | <border>5</border> | |
379 | <object class="wxComboBox" name="controls_combobox"> | |
380 | <size>200,-1</size> | |
381 | <style>wxCB_DROPDOWN</style> | |
382 | <selection>4</selection> | |
383 | <content> | |
384 | <item>vim</item> | |
385 | <item>emacs</item> | |
386 | <item>notepad.exe</item> | |
387 | <item>bbedit</item> | |
388 | <item>nedit</item> | |
389 | </content> | |
390 | </object> | |
391 | </object> | |
392 | </object> | |
393 | </object> | |
394 | </object> | |
395 | <object class="notebookpage"> | |
396 | <label>wxGauge</label> | |
397 | <object class="wxPanel" name="gauge"> | |
398 | <object class="wxFlexGridSizer"> | |
399 | <cols>2</cols> | |
400 | <rows>0</rows> | |
401 | <vgap>0</vgap> | |
402 | <hgap>0</hgap> | |
403 | <growablecols>0,1</growablecols> | |
404 | <growablerows>0,1</growablerows> | |
405 | <object class="sizeritem"> | |
406 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
407 | <border>5</border> | |
408 | <object class="wxStaticText" name="controls_guage1_statictext"> | |
409 | <label>Horizontal smooth:</label> | |
410 | </object> | |
411 | </object> | |
412 | <object class="sizeritem"> | |
413 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
414 | <border>5</border> | |
415 | <object class="wxGauge" name="controls_horizontal_gauge"> | |
416 | <style>wxGA_SMOOTH</style> | |
417 | <size>100,-1</size> | |
418 | <max>100</max> | |
419 | <value>50</value> | |
420 | </object> | |
421 | </object> | |
422 | <object class="sizeritem"> | |
423 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
424 | <border>5</border> | |
425 | <object class="wxStaticText" name="controls_gauge2_statictext"> | |
426 | <label>Vertical: custom width</label> | |
427 | </object> | |
428 | </object> | |
429 | <object class="sizeritem"> | |
430 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
431 | <border>5</border> | |
432 | <object class="wxGauge" name="controls_vertical_gauge"> | |
433 | <style>wxGA_VERTICAL</style> | |
434 | <size>40,60</size> | |
435 | <max>100</max> | |
436 | <value>40</value> | |
437 | </object> | |
438 | </object> | |
439 | </object> | |
440 | </object> | |
441 | </object> | |
442 | <object class="notebookpage"> | |
443 | <label>wxGenericDirCtrl</label> | |
444 | <object class="wxPanel" name="genericdirctrl"> | |
445 | <object class="wxFlexGridSizer"> | |
446 | <cols>1</cols> | |
447 | <rows>0</rows> | |
448 | <vgap>0</vgap> | |
449 | <hgap>0</hgap> | |
450 | <growablecols>0</growablecols> | |
451 | <growablerows>0</growablerows> | |
452 | <object class="sizeritem"> | |
453 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
454 | <border>5</border> | |
455 | <object class="wxGenericDirCtrl" name="controls_genericdirctrl"> | |
456 | <size>200,200</size> | |
457 | </object> | |
458 | </object> | |
459 | </object> | |
460 | </object> | |
461 | </object> | |
462 | <object class="notebookpage"> | |
463 | <label>wxHtmlWindow</label> | |
464 | <object class="wxPanel" name="htmlwindow"> | |
465 | <object class="wxFlexGridSizer"> | |
466 | <cols>1</cols> | |
467 | <rows>0</rows> | |
468 | <vgap>0</vgap> | |
469 | <hgap>0</hgap> | |
470 | <growablecols>0</growablecols> | |
471 | <growablerows>0</growablerows> | |
472 | <object class="sizeritem"> | |
473 | <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
474 | <border>5</border> | |
475 | <object class="wxHtmlWindow" name="controls_htmlwindow"> | |
476 | <size>450,250</size> | |
477 | <htmlcode> | |
478 | <h2>XRC Resources HTML</h2> | |
479 | <p><font color="#0000FF">XRC=Blue skies ahead.</font> | |
480 | <p>Italics useful for quoted or emphasized text:<i>"Some see things as they are and say why. | |
481 | I dream things that never were, and say why not"</i> | |
482 | <p><pre>Fixed width for code snippets.</pre> | |
483 | <p>Horizontal rules to organize sections: <hr> | |
484 | <p>A wxImage is worth a thousand words and can be also used. | |
485 | </htmlcode> | |
486 | </object> | |
487 | </object> | |
488 | </object> | |
489 | </object> | |
490 | </object> | |
491 | <object class="notebookpage"> | |
492 | <label>wxListBox</label> | |
493 | <object class="wxPanel" name="listbox"> | |
494 | <object class="wxFlexGridSizer"> | |
495 | <cols>1</cols> | |
496 | <rows>0</rows> | |
497 | <vgap>0</vgap> | |
498 | <hgap>0</hgap> | |
499 | <growablecols>0</growablecols> | |
500 | <growablerows>0</growablerows> | |
501 | <object class="sizeritem"> | |
502 | <flag>wxALIGN_CENTER|wxALL</flag> | |
503 | <border>5</border> | |
504 | <object class="wxListBox" name="controls_listbox"> | |
505 | <size>250,160</size> | |
506 | <style>wxLB_SINGLE</style> | |
507 | <content> | |
508 | <item>Milk</item> | |
509 | <item>Pizza</item> | |
510 | <item>Bread</item> | |
511 | <item>Orange juice</item> | |
512 | <item>Paper towels</item> | |
513 | </content> | |
514 | </object> | |
515 | </object> | |
516 | </object> | |
517 | </object> | |
518 | </object> | |
519 | <object class="notebookpage"> | |
520 | <label>wxListCtrl</label> | |
521 | <object class="wxPanel" name="listctrl"> | |
522 | <object class="wxFlexGridSizer"> | |
523 | <cols>1</cols> | |
524 | <rows>0</rows> | |
525 | <vgap>0</vgap> | |
526 | <hgap>0</hgap> | |
527 | <growablecols>0</growablecols> | |
528 | <growablerows>0</growablerows> | |
529 | <object class="sizeritem"> | |
530 | <flag>wxALIGN_CENTER|wxALL</flag> | |
531 | <border>5</border> | |
532 | <object class="wxListCtrl" name="controls_listctrl"> | |
533 | <size>220,160</size> | |
534 | <style>wxLC_REPORT|wxSUNKEN_BORDER</style> | |
535 | </object> | |
536 | </object> | |
537 | </object> | |
538 | </object> | |
539 | </object> | |
540 | <object class="notebookpage"> | |
541 | <label>wxPanel</label> | |
542 | <object class="wxPanel" name="panel"> | |
543 | <object class="wxFlexGridSizer"> | |
544 | <cols>1</cols> | |
545 | <rows>0</rows> | |
546 | <vgap>0</vgap> | |
547 | <hgap>0</hgap> | |
548 | <growablecols>0</growablecols> | |
549 | <growablerows>0</growablerows> | |
550 | <object class="sizeritem"> | |
551 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
552 | <border>5</border> | |
553 | <object class="wxPanel" name="controls_panel"> | |
554 | <size>200,160</size> | |
555 | <bg>#0000FF</bg> | |
556 | </object> | |
557 | </object> | |
558 | </object> | |
559 | </object> | |
560 | </object> | |
561 | <object class="notebookpage"> | |
562 | <label>wxSplitterWindow</label> | |
563 | <object class="wxPanel" name="panel"> | |
564 | <object class="wxFlexGridSizer"> | |
565 | <cols>1</cols> | |
566 | <rows>0</rows> | |
567 | <vgap>0</vgap> | |
568 | <hgap>0</hgap> | |
569 | <growablecols>0</growablecols> | |
570 | <growablerows>0</growablerows> | |
571 | <object class="sizeritem"> | |
572 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
573 | <border>5</border> | |
574 | <object class="wxSplitterWindow"> | |
575 | <minsize>50</minsize> | |
576 | <sashpos>100</sashpos> | |
577 | <size>400,200</size> | |
578 | <object class="wxPanel" name="controls_panel"> | |
579 | <bg>#0000FF</bg> | |
580 | </object> | |
581 | <object class="wxPanel" name="controls_panel"> | |
582 | <bg>#00FF00</bg> | |
583 | </object> | |
584 | </object> | |
585 | </object> | |
586 | </object> | |
587 | </object> | |
588 | </object> | |
589 | <object class="notebookpage"> | |
590 | <label>wxRadioButton</label> | |
591 | <object class="wxPanel" name="radiobutton"> | |
592 | <object class="wxFlexGridSizer"> | |
593 | <cols>1</cols> | |
594 | <rows>0</rows> | |
595 | <vgap>0</vgap> | |
596 | <hgap>0</hgap> | |
597 | <growablecols>0</growablecols> | |
598 | <growablerows>0</growablerows> | |
599 | <object class="sizeritem"> | |
600 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
601 | <border>5</border> | |
602 | <object class="wxRadioButton" name="controls_unselected_radiobutton"> | |
603 | <label>Not selected</label> | |
604 | </object> | |
605 | </object> | |
606 | <object class="sizeritem"> | |
607 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
608 | <border>5</border> | |
609 | <object class="wxRadioButton" name="controls_selected_radiobutton"> | |
610 | <label>Selected</label> | |
611 | <value>1</value> | |
612 | </object> | |
613 | </object> | |
614 | </object> | |
615 | </object> | |
616 | </object> | |
617 | <object class="notebookpage"> | |
618 | <label>wxRadioBox</label> | |
619 | <object class="wxPanel" name="radiobox"> | |
620 | <object class="wxFlexGridSizer"> | |
621 | <cols>1</cols> | |
622 | <rows>0</rows> | |
623 | <vgap>0</vgap> | |
624 | <hgap>0</hgap> | |
625 | <growablecols>0</growablecols> | |
626 | <growablerows>0</growablerows> | |
627 | <object class="sizeritem"> | |
628 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
629 | <border>5</border> | |
630 | <object class="wxRadioBox" name="controls_radiobox"> | |
631 | <style>wxRA_SPECIFY_COLS</style> | |
632 | <label>Radio stations</label> | |
633 | <dimension>1</dimension> | |
634 | <selection>0</selection> | |
635 | <content> | |
636 | <item tooltip="Powerful radio station">Power 108</item> | |
637 | <item tooltip="">WMMS 100.7</item> | |
638 | <item tooltip="E=mc^2">Energy 98.3</item> | |
639 | <item>CHUM FM</item> | |
640 | <item>92FM</item> | |
641 | </content> | |
642 | </object> | |
643 | </object> | |
644 | </object> | |
645 | </object> | |
646 | </object> | |
647 | <object class="notebookpage"> | |
648 | <label>wxScrollBar</label> | |
649 | <object class="wxPanel" name="scrollbar"> | |
650 | <object class="wxFlexGridSizer"> | |
651 | <cols>1</cols> | |
652 | <rows>0</rows> | |
653 | <vgap>0</vgap> | |
654 | <hgap>0</hgap> | |
655 | <growablecols>0</growablecols> | |
656 | <growablerows>0</growablerows> | |
657 | <object class="sizeritem"> | |
658 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
659 | <border>5</border> | |
660 | <object class="wxScrollBar" name="controls_scrollbar"> | |
661 | <size>-1,160</size> | |
662 | <value>50</value> | |
663 | <range>100</range> | |
664 | <thumbsize>30</thumbsize> | |
665 | <style>wxSB_VERTICAL</style> | |
666 | </object> | |
667 | </object> | |
668 | </object> | |
669 | </object> | |
670 | </object> | |
671 | <object class="notebookpage"> | |
672 | <label>wxSlider</label> | |
673 | <object class="wxPanel" name="slider"> | |
674 | <object class="wxFlexGridSizer"> | |
675 | <cols>2</cols> | |
676 | <rows>0</rows> | |
677 | <vgap>0</vgap> | |
678 | <hgap>0</hgap> | |
679 | <growablecols>0,1</growablecols> | |
680 | <growablerows>0,1</growablerows> | |
681 | <object class="sizeritem"> | |
682 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
683 | <border>5</border> | |
684 | <object class="wxStaticText" name="controls_slider1_statictext"> | |
685 | <label>Without ticks:</label> | |
686 | </object> | |
687 | </object> | |
688 | <object class="sizeritem"> | |
689 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
690 | <border>5</border> | |
691 | <object class="wxSlider" name="controls_noticks_slider"> | |
692 | <size>100,-1</size> | |
693 | <style>wxSL_HORIZONTAL</style> | |
694 | <max>100</max> | |
695 | <value>0</value> | |
696 | </object> | |
697 | </object> | |
698 | <object class="sizeritem"> | |
699 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
700 | <border>5</border> | |
701 | <object class="wxStaticText" name="controls_slider2_statictext"> | |
702 | <label>With ticks:</label> | |
703 | </object> | |
704 | </object> | |
705 | <object class="sizeritem"> | |
706 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
707 | <border>5</border> | |
708 | <object class="wxSlider" name="controls_ticks_slider"> | |
709 | <size>100,-1</size> | |
710 | <style>wxSL_HORIZONTAL|wxSL_LABELS</style> | |
711 | <max>100</max> | |
712 | <value>0</value> | |
713 | </object> | |
714 | </object> | |
715 | </object> | |
716 | </object> | |
717 | </object> | |
718 | <object class="notebookpage"> | |
719 | <label>wxSpinButton</label> | |
720 | <object class="wxPanel" name="spinbutton"> | |
721 | <object class="wxFlexGridSizer"> | |
722 | <cols>1</cols> | |
723 | <rows>0</rows> | |
724 | <vgap>0</vgap> | |
725 | <hgap>0</hgap> | |
726 | <growablecols>0</growablecols> | |
727 | <growablerows>0</growablerows> | |
728 | <object class="sizeritem"> | |
729 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
730 | <border>5</border> | |
731 | <object class="wxSpinButton" name="controls_spinbutton"> | |
732 | <style>wxSP_WRAP</style> | |
733 | <max>100</max> | |
734 | <value>0</value> | |
735 | </object> | |
736 | </object> | |
737 | </object> | |
738 | </object> | |
739 | </object> | |
740 | <object class="notebookpage"> | |
741 | <label>wxSpinCtrl</label> | |
742 | <object class="wxPanel" name="spinctrl"> | |
743 | <object class="wxFlexGridSizer"> | |
744 | <cols>1</cols> | |
745 | <rows>0</rows> | |
746 | <vgap>0</vgap> | |
747 | <hgap>0</hgap> | |
748 | <growablecols>0</growablecols> | |
749 | <growablerows>0</growablerows> | |
750 | <object class="sizeritem"> | |
751 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
752 | <border>5</border> | |
753 | <object class="wxSpinCtrl" name="controls_spinctrl"> | |
754 | <size>100,-1</size> | |
755 | <max>100</max> | |
756 | <value>0</value> | |
757 | </object> | |
758 | </object> | |
759 | </object> | |
760 | </object> | |
761 | </object> | |
762 | <object class="notebookpage"> | |
763 | <label>wxStaticBitmap</label> | |
764 | <object class="wxPanel" name="staticbitmap"> | |
765 | <object class="wxFlexGridSizer"> | |
766 | <cols>1</cols> | |
767 | <rows>0</rows> | |
768 | <vgap>0</vgap> | |
769 | <hgap>0</hgap> | |
770 | <growablecols>0</growablecols> | |
771 | <growablerows>0</growablerows> | |
772 | <object class="sizeritem"> | |
773 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
774 | <border>5</border> | |
775 | <object class="wxStaticBitmap" name="controls_staticbitmap"> | |
776 | <bitmap>appicon.xpm</bitmap> | |
777 | </object> | |
778 | </object> | |
779 | </object> | |
780 | </object> | |
781 | </object> | |
782 | <object class="notebookpage"> | |
783 | <label>wxStaticBox</label> | |
784 | <object class="wxPanel" name="staticbox"> | |
785 | <object class="wxFlexGridSizer"> | |
786 | <cols>1</cols> | |
787 | <rows>0</rows> | |
788 | <vgap>0</vgap> | |
789 | <hgap>0</hgap> | |
790 | <growablecols>0</growablecols> | |
791 | <growablerows>0</growablerows> | |
792 | <object class="sizeritem"> | |
793 | <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
794 | <border>5</border> | |
795 | <object class="wxStaticBoxSizer"> | |
796 | <orient>wxVERTICAL</orient> | |
797 | <label>Internet options</label> | |
798 | </object> | |
799 | </object> | |
800 | </object> | |
801 | </object> | |
802 | </object> | |
803 | <object class="notebookpage"> | |
804 | <label>wxStaticLine</label> | |
805 | <object class="wxPanel" name="staticline"> | |
806 | <object class="wxFlexGridSizer"> | |
807 | <cols>1</cols> | |
808 | <rows>0</rows> | |
809 | <vgap>0</vgap> | |
810 | <hgap>0</hgap> | |
811 | <growablecols>0</growablecols> | |
812 | <growablerows>0,1</growablerows> | |
813 | <object class="sizeritem"> | |
814 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
815 | <border>5</border> | |
816 | <object class="wxStaticLine" name="controls_v_staticline"> | |
817 | <size>-1,100</size> | |
818 | <style>wxLI_VERTICAL</style> | |
819 | </object> | |
820 | </object> | |
821 | <object class="sizeritem"> | |
822 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
823 | <border>5</border> | |
824 | <object class="wxStaticLine" name="controls_h_staticline"> | |
825 | <size>150,-1</size> | |
826 | <style>wxLI_HORIZONTAL</style> | |
827 | </object> | |
828 | </object> | |
829 | </object> | |
830 | </object> | |
831 | </object> | |
832 | <object class="notebookpage"> | |
833 | <label>wxStaticText</label> | |
834 | <object class="wxPanel" name="statictext"> | |
835 | <object class="wxFlexGridSizer"> | |
836 | <cols>1</cols> | |
837 | <rows>0</rows> | |
838 | <vgap>0</vgap> | |
839 | <hgap>0</hgap> | |
840 | <growablecols>0</growablecols> | |
841 | <growablerows>0</growablerows> | |
842 | <object class="sizeritem"> | |
843 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
844 | <border>5</border> | |
845 | <object class="wxStaticText" name="controls_statictext"> | |
846 | <label>It was a dark and stormy night.</label> | |
847 | </object> | |
848 | </object> | |
849 | </object> | |
850 | </object> | |
851 | </object> | |
852 | <object class="notebookpage"> | |
853 | <label>wxTextCtrl</label> | |
854 | <object class="wxPanel" name="textctrl"> | |
855 | <object class="wxFlexGridSizer"> | |
856 | <cols>2</cols> | |
857 | <rows>0</rows> | |
858 | <vgap>0</vgap> | |
859 | <hgap>0</hgap> | |
860 | <growablecols>0,1</growablecols> | |
861 | <growablerows>0,1,2</growablerows> | |
862 | <object class="sizeritem"> | |
863 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
864 | <border>5</border> | |
865 | <object class="wxStaticText" name="controls_textctrl1_statictext"> | |
866 | <label>Single line:</label> | |
867 | </object> | |
868 | </object> | |
869 | <object class="sizeritem"> | |
870 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
871 | <border>5</border> | |
872 | <object class="wxTextCtrl" name="controls_single_textctrl"> | |
873 | <size>180,-1</size> | |
874 | <value>A.A. Milne</value> | |
875 | </object> | |
876 | </object> | |
877 | <object class="sizeritem"> | |
878 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
879 | <border>5</border> | |
880 | <object class="wxStaticText" name="controls_textctrl2_statictext"> | |
881 | <label>Password:</label> | |
882 | </object> | |
883 | </object> | |
884 | <object class="sizeritem"> | |
885 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
886 | <border>5</border> | |
887 | <object class="wxTextCtrl" name="controls_password_textctrl"> | |
888 | <size>180,-1</size> | |
889 | <style>wxTE_PASSWORD</style> | |
890 | <value>TooManySecrets</value> | |
891 | </object> | |
892 | </object> | |
893 | <object class="sizeritem"> | |
894 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
895 | <border>5</border> | |
896 | <object class="wxStaticText" name="controls_textctrl3_statictext"> | |
897 | <label>Multiline:</label> | |
898 | </object> | |
899 | </object> | |
900 | <object class="sizeritem"> | |
901 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
902 | <border>5</border> | |
903 | <object class="wxTextCtrl" name="controls_multiline_textctrl"> | |
904 | <size>180,90</size> | |
905 | <style>wxTE_MULTILINE</style> | |
906 | <value>"So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh.</value> | |
907 | </object> | |
908 | </object> | |
909 | </object> | |
910 | </object> | |
911 | </object> | |
912 | <object class="notebookpage"> | |
913 | <label>wxTreeCtrl</label> | |
914 | <object class="wxPanel" name="treectrl"> | |
915 | <object class="wxFlexGridSizer"> | |
916 | <cols>1</cols> | |
917 | <rows>0</rows> | |
918 | <vgap>0</vgap> | |
919 | <hgap>0</hgap> | |
920 | <growablecols>0</growablecols> | |
921 | <growablerows>0</growablerows> | |
922 | <object class="sizeritem"> | |
923 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
924 | <border>5</border> | |
925 | <object class="wxTreeCtrl" name="controls_treectrl"> | |
926 | <size>280,180</size> | |
927 | <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER</style> | |
928 | </object> | |
929 | </object> | |
930 | </object> | |
931 | </object> | |
932 | </object> | |
933 | <object class="notebookpage"> | |
934 | <label>The Rest</label> | |
935 | <object class="wxPanel" name="Rest"> | |
936 | <object class="wxFlexGridSizer"> | |
937 | <cols>1</cols> | |
938 | <rows>0</rows> | |
939 | <vgap>0</vgap> | |
940 | <hgap>0</hgap> | |
941 | <growablecols>0</growablecols> | |
942 | <growablerows>0,1,2,3,4,5,6</growablerows> | |
943 | <object class="sizeritem"> | |
944 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
945 | <border>5</border> | |
946 | <object class="wxStaticText" name="controls_dialog_statictext"> | |
947 | <label>wxDialog (This dialog is one)</label> | |
948 | </object> | |
949 | </object> | |
950 | <object class="sizeritem"> | |
951 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
952 | <border>5</border> | |
953 | <object class="wxStaticText" name="controls_frame_statictext"> | |
954 | <label>wxFrame (This application's main frame is one)</label> | |
955 | </object> | |
956 | </object> | |
957 | <object class="sizeritem"> | |
958 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
959 | <border>5</border> | |
960 | <object class="wxStaticText" name="controls_menu_statictext"> | |
961 | <label>wxMenu (This application's main frame uses one)</label> | |
962 | </object> | |
963 | </object> | |
964 | <object class="sizeritem"> | |
965 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
966 | <border>5</border> | |
967 | <object class="wxStaticText" name="controls_notebook_statictextT"> | |
968 | <label>wxNotebook (This dialog uses one)</label> | |
969 | </object> | |
970 | </object> | |
971 | <object class="sizeritem"> | |
972 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
973 | <border>5</border> | |
974 | <object class="wxStaticText" name="controls_sizer"> | |
975 | <label>wxSizer (Used throughout application)</label> | |
976 | </object> | |
977 | </object> | |
978 | <object class="sizeritem"> | |
979 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
980 | <border>5</border> | |
981 | <object class="wxStaticText" name="controls_toolbar_statictext"> | |
982 | <label>wxToolbar (This application's main frame uses one)</label> | |
983 | </object> | |
984 | </object> | |
985 | <object class="sizeritem"> | |
986 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
987 | <border>5</border> | |
988 | <object class="wxStaticText" name="controls_unknown_statictext"> | |
989 | <label>unknown controls (See Custom Class example)</label> | |
990 | </object> | |
991 | </object> | |
992 | </object> | |
993 | </object> | |
994 | </object> | |
995 | </object> | |
996 | </object> | |
997 | <object class="sizeritem"> | |
998 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
999 | <border>5</border> | |
1000 | <object class="wxButton" name="wxID_OK"> | |
1001 | <label>OK</label> | |
1002 | </object> | |
1003 | </object> | |
1004 | </object> | |
1005 | </object> | |
1006 | ||
1007 | </resource> |