]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/xrc/rc/controls.xrc
Make it easier to define custom wxSizerXmlHandler subclasses.
[wxWidgets.git] / samples / xrc / rc / controls.xrc
... / ...
CommitLineData
1<?xml version="1.0" encoding="ISO-8859-1"?>
2
3<!-- $Id$ -->
4
5<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
6
7<object class="wxDialog" name="controls_dialog">
8 <title>Controls Example</title>
9 <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style>
10 <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle>
11 <centered>1</centered>
12 <object class="wxFlexGridSizer">
13 <cols>1</cols>
14 <rows>0</rows>
15 <vgap>0</vgap>
16 <hgap>0</hgap>
17 <growablecols>0</growablecols>
18 <growablerows>0</growablerows>
19 <object class="sizeritem">
20 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
21 <border>5</border>
22 <object class="wxNotebook" name="controls_notebook">
23 <usenotebooksizer>1</usenotebooksizer>
24 <size>550,250</size>
25 <object class="notebookpage">
26 <label>wxTreebook</label>
27 <object class="wxTreebook" name="controls_treebook">
28 <size>350,280</size>
29 <style>wxSUNKEN_BORDER</style>
30 <object class="treebookpage">
31 <label>Page 1</label>
32 <depth>0</depth>
33 <object class="wxButton" name="controls_treebook_button1">
34 <size>200,180</size>
35 <label>Button N1</label>
36 </object>
37 </object>
38 <object class="treebookpage">
39 <label>Empty Page 2</label>
40 <depth>1</depth>
41 </object>
42 <object class="treebookpage">
43 <label>Page 3</label>
44 <depth>2</depth>
45 <object class="wxButton" name="controls_treebook_button3">
46 <size>200,180</size>
47 <label>Button N3</label>
48 </object>
49 </object>
50 <object class="treebookpage">
51 <label>Page 4</label>
52 <depth>1</depth>
53 <object class="wxButton" name="controls_treebook_button4">
54 <size>200,180</size>
55 <label>Button N4</label>
56 </object>
57 </object>
58 </object>
59 </object>
60
61 <object class="notebookpage">
62 <label>wxToolbook</label>
63 <object class="wxToolbook" name="controls_toolbook">
64 <style>wxTBK_HORZ_LAYOUT</style>
65 <size>350,280</size>
66 <imagelist>
67 <bitmap stock_id="wxART_QUESTION"/>
68 <bitmap stock_id="wxART_INFORMATION"/>
69 <bitmap stock_id="wxART_GO_HOME"/>
70 </imagelist>
71 <object class="toolbookpage">
72 <label>Page 1</label>
73 <image>0</image>
74 <object class="wxButton" name="controls_toolbook_button1">
75 <label>Button N1</label>
76 </object>
77 </object>
78 <object class="toolbookpage">
79 <label>Page 2</label>
80 <image>1</image>
81 <object class="wxButton" name="controls_toolbook_button2">
82 <label>Button N2</label>
83 </object>
84 </object>
85 <object class="toolbookpage">
86 <label>Page 3</label>
87 <image>2</image>
88 <object class="wxButton" name="controls_toolbook_button3">
89 <label>Button N3</label>
90 </object>
91 </object>
92 </object>
93 </object>
94
95 <object class="notebookpage">
96 <label>wxToolBar</label>
97 <object class="wxPanel" name="button">
98 <object class="wxFlexGridSizer">
99 <cols>2</cols>
100 <rows>0</rows>
101 <vgap>0</vgap>
102 <hgap>0</hgap>
103 <growablecols>1</growablecols>
104 <object class="sizeritem">
105 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
106 <border>5</border>
107 <object class="wxStaticText" name="controls_normal_button">
108 <label>Transparent background:</label>
109 </object>
110 </object>
111 <object class="sizeritem">
112 <flag>wxEXPAND|wxALL</flag>
113 <border>5</border>
114 <object class="wxToolBar">
115 <style>wxTB_FLAT|wxTB_NODIVIDER</style>
116 <margins>2,2</margins>
117 <object class="tool" name="New">
118 <bitmap stock_id="wxART_NEW"/>
119 <label>New</label>
120 </object>
121 <object class="tool" name="view_auto">
122 <bitmap stock_id="wxART_FILE_OPEN"/>
123 <label>View</label>
124 <dropdown>
125 <object class="wxMenu">
126 <object class="wxMenuItem" name="view_as_text">
127 <label>View as text</label>
128 </object>
129 <object class="wxMenuItem" name="view_as_hex">
130 <label>View as binary</label>
131 </object>
132 </object>
133 </dropdown>
134 </object>
135 <object class="separator"/>
136 <object class="tool" name="home">
137 <toggle>1</toggle>
138 <bitmap stock_id="wxART_GO_HOME"/>
139 <label>Home</label>
140 </object>
141 <object class="separator"/>
142 <object class="tool" name="up">
143 <radio>1</radio>
144 <bitmap stock_id="wxART_GO_UP"/>
145 <label>Up</label>
146 </object>
147 <object class="tool" name="down">
148 <radio>1</radio>
149 <bitmap stock_id="wxART_GO_DOWN"/>
150 <label>Down</label>
151 </object>
152 <object class="space"/>
153 <object class="wxComboBox">
154 <content>
155 <item>Just</item>
156 <item>a combobox</item>
157 <item>in the toolbar</item>
158 </content>
159 </object>
160 <object class="wxOwnerDrawnComboBox">
161 <content>
162 <item>Owner Drawn</item>
163 <item>combobox</item>
164 <item>in the toolbar</item>
165 </content>
166 </object>
167 </object>
168 </object>
169 <object class="sizeritem">
170 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
171 <border>5</border>
172 <object class="wxStaticText" name="controls_statictext2_button">
173 <label>Fixed color background:</label>
174 </object>
175 </object>
176 <object class="sizeritem">
177 <flag>wxEXPAND|wxALL</flag>
178 <border>5</border>
179 <object class="wxToolBar">
180 <style>wxTB_FLAT|wxTB_NODIVIDER</style>
181 <bg>#bbbbff</bg>
182 <margins>2,2</margins>
183 <object class="tool" name="New">
184 <bitmap stock_id="wxART_NEW"/>
185 <label>New</label>
186 </object>
187 <object class="tool" name="view_auto">
188 <bitmap stock_id="wxART_FILE_OPEN"/>
189 <label>View</label>
190 <dropdown>
191 <object class="wxMenu">
192 <object class="wxMenuItem" name="view_as_text">
193 <label>View as text</label>
194 </object>
195 <object class="wxMenuItem" name="view_as_hex">
196 <label>View as binary</label>
197 </object>
198 </object>
199 </dropdown>
200 </object>
201 <object class="separator"/>
202 <object class="tool" name="home">
203 <toggle>1</toggle>
204 <bitmap stock_id="wxART_GO_HOME"/>
205 <label>Home</label>
206 </object>
207 <object class="separator"/>
208 <object class="tool" name="up">
209 <radio>1</radio>
210 <bitmap stock_id="wxART_GO_UP"/>
211 <label>Up</label>
212 </object>
213 <object class="tool" name="down">
214 <radio>1</radio>
215 <bitmap stock_id="wxART_GO_DOWN"/>
216 <label>Down</label>
217 </object>
218 <object class="space"/>
219 <object class="wxComboBox">
220 <content>
221 <item>Just</item>
222 <item>a combobox</item>
223 <item>in the toolbar</item>
224 </content>
225 </object>
226 <object class="wxOwnerDrawnComboBox">
227 <content>
228 <item>Owner Drawn</item>
229 <item>combobox</item>
230 <item>in the toolbar</item>
231 </content>
232 </object>
233 </object>
234 </object>
235 </object>
236 </object>
237 </object>
238
239
240 <object class="notebookpage">
241 <label>wxButton</label>
242 <object class="wxPanel" name="button">
243 <object class="wxFlexGridSizer">
244 <cols>4</cols>
245 <rows>0</rows>
246 <vgap>0</vgap>
247 <hgap>0</hgap>
248 <growablecols>0,1</growablecols>
249 <growablerows>0,1</growablerows>
250 <object class="sizeritem">
251 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
252 <border>5</border>
253 <object class="wxStaticText" name="controls_normal_button">
254 <label>Normal button:</label>
255 </object>
256 </object>
257 <object class="sizeritem">
258 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
259 <border>5</border>
260 <object class="wxButton" name="controls_normal_button">
261 <label>OK</label>
262 </object>
263 </object>
264 <object class="sizeritem">
265 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
266 <border>5</border>
267 <object class="wxStaticText" name="controls_statictext2_button">
268 <label>wxNO_BORDER style:</label>
269 </object>
270 </object>
271 <object class="sizeritem">
272 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
273 <border>5</border>
274 <object class="wxButton" name="controls_flat_button">
275 <style>wxNO_BORDER</style>
276 <label>OK</label>
277 </object>
278 </object>
279 <object class="sizeritem">
280 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
281 <border>5</border>
282 <object class="wxStaticText">
283 <label>wxBitmapButton</label>
284 </object>
285 </object>
286 <object class="sizeritem">
287 <flag>wxALIGN_CENTRE|wxALL</flag>
288 <border>5</border>
289 <object class="wxBitmapButton" name="controls_bitmapbutton">
290 <bitmap>controls.xpm</bitmap>
291 </object>
292 </object>
293 <object class="sizeritem">
294 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
295 <border>5</border>
296 <object class="wxStaticText">
297 <label>wxCommandLinkButton:</label>
298 </object>
299 </object>
300 <object class="sizeritem">
301 <flag>wxALIGN_CENTRE|wxALL</flag>
302 <border>5</border>
303 <object class="wxCommandLinkButton">
304 <label>Let's do it</label>
305 <note>Whatever it might be</note>
306 </object>
307 </object>
308 </object>
309 </object>
310 </object>
311 <object class="notebookpage">
312 <label>wxCalendarControl</label>
313 <object class="wxPanel" name="calendar">
314 <object class="wxFlexGridSizer">
315 <cols>1</cols>
316 <rows>0</rows>
317 <vgap>0</vgap>
318 <hgap>0</hgap>
319 <growablecols>0</growablecols>
320 <growablerows>0</growablerows>
321 <object class="sizeritem">
322 <flag>wxALIGN_CENTRE|wxALL</flag>
323 <border>5</border>
324 <object class="wxCalendarCtrl" name="controls_calendarctrl">
325 <size>-1,-1</size>
326 </object>
327 </object>
328 </object>
329 </object>
330 </object>
331 <object class="notebookpage">
332 <label>wxCheckBox</label>
333 <object class="wxPanel" name="checkbox">
334 <object class="wxFlexGridSizer">
335 <cols>1</cols>
336 <rows>0</rows>
337 <vgap>0</vgap>
338 <hgap>0</hgap>
339 <growablecols>0</growablecols>
340 <growablerows>0</growablerows>
341 <object class="sizeritem">
342 <flag>wxALIGN_CENTRE|wxALL</flag>
343 <border>5</border>
344 <object class="wxCheckBox" name="controls_unchecked_checkbox">
345 <label>Unchecked initially</label>
346 </object>
347 </object>
348 <object class="sizeritem">
349 <flag>wxALIGN_CENTRE|wxALL</flag>
350 <border>5</border>
351 <object class="wxCheckBox" name="controls_checked_checkbox">
352 <label>Checked initially</label>
353 <checked>1</checked>
354 </object>
355 </object>
356 </object>
357 </object>
358 </object>
359 <object class="notebookpage">
360 <label>wxCheckListBox</label>
361 <object class="wxPanel" name="checklist">
362 <object class="wxFlexGridSizer">
363 <cols>1</cols>
364 <rows>0</rows>
365 <vgap>0</vgap>
366 <hgap>0</hgap>
367 <growablecols>0</growablecols>
368 <growablerows>0</growablerows>
369 <object class="sizeritem">
370 <flag>wxALIGN_CENTRE|wxALL</flag>
371 <border>5</border>
372 <object class="wxCheckListBox" name="conrols_checklist">
373 <size>180,180</size>
374 <content>
375 <item checked="1">Download library</item>
376 <item checked="1">Compile samples</item>
377 <item checked="1">Skim docs</item>
378 <item checked="1">Finish project</item>
379 <item>Wash car</item>
380 </content>
381 </object>
382 </object>
383 </object>
384 </object>
385 </object>
386
387 <object class="notebookpage">
388 <label>wxChoice</label>
389 <object class="wxPanel" name="choice">
390 <object class="wxFlexGridSizer">
391 <cols>1</cols>
392 <rows>0</rows>
393 <vgap>0</vgap>
394 <hgap>0</hgap>
395 <growablecols>0</growablecols>
396 <growablerows>0</growablerows>
397 <object class="sizeritem">
398 <flag>wxALIGN_CENTRE|wxALL</flag>
399 <border>5</border>
400 <object class="wxChoice" name="controls_choice">
401 <size>180,-1</size>
402 <content>
403 <item>See</item>
404 <item>Hear</item>
405 <item>Feel</item>
406 <item>Smell</item>
407 <item>Taste</item>
408 <item>The Sixth Sense!</item>
409 </content>
410 </object>
411 </object>
412 </object>
413 </object>
414 </object>
415 <object class="notebookpage">
416 <label>wxComboBox</label>
417 <object class="wxPanel" name="combobox">
418 <object class="wxFlexGridSizer">
419 <cols>1</cols>
420 <rows>0</rows>
421 <vgap>0</vgap>
422 <hgap>0</hgap>
423 <growablecols>0</growablecols>
424 <growablerows>0</growablerows>
425 <object class="sizeritem">
426 <flag>wxALIGN_CENTRE|wxALL</flag>
427 <border>5</border>
428 <object class="wxComboBox" name="controls_combobox">
429 <size>200,-1</size>
430 <style>wxCB_DROPDOWN</style>
431 <selection>4</selection>
432 <content>
433 <item>vim</item>
434 <item>emacs</item>
435 <item>notepad.exe</item>
436 <item>bbedit</item>
437 <item>nedit</item>
438 </content>
439 </object>
440 </object>
441 <object class="sizeritem">
442 <flag>wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL</flag>
443 <border>5</border>
444 <object class="wxBitmapComboBox">
445 <size>200,-1</size>
446 <style>wxCB_READONLY</style>
447 <selection>2</selection>
448 <object class="ownerdrawnitem">
449 <text>This is a</text>
450 <bitmap>basicdlg.xpm</bitmap>
451 </object>
452 <object class="ownerdrawnitem">
453 <text>read-only</text>
454 <bitmap>derivdlg.xpm</bitmap>
455 </object>
456 <object class="ownerdrawnitem">
457 <text>wxBitmapComboBox</text>
458 <bitmap>uncenter.xpm</bitmap>
459 </object>
460 <object class="ownerdrawnitem">
461 <text>control</text>
462 <bitmap>custclas.xpm</bitmap>
463 </object>
464 </object>
465 </object>
466 </object>
467 </object>
468 </object>
469 <object class="notebookpage">
470 <label>wxGauge</label>
471 <object class="wxPanel" name="gauge">
472 <object class="wxFlexGridSizer">
473 <cols>2</cols>
474 <rows>0</rows>
475 <vgap>0</vgap>
476 <hgap>0</hgap>
477 <growablecols>0,1</growablecols>
478 <growablerows>0,1</growablerows>
479 <object class="sizeritem">
480 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
481 <border>5</border>
482 <object class="wxStaticText" name="controls_guage1_statictext">
483 <label>Horizontal smooth:</label>
484 </object>
485 </object>
486 <object class="sizeritem">
487 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
488 <border>5</border>
489 <object class="wxGauge" name="controls_horizontal_gauge">
490 <style>wxGA_SMOOTH</style>
491 <size>100,-1</size>
492 <max>100</max>
493 <value>50</value>
494 </object>
495 </object>
496 <object class="sizeritem">
497 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
498 <border>5</border>
499 <object class="wxStaticText" name="controls_gauge2_statictext">
500 <label>Vertical: custom width</label>
501 </object>
502 </object>
503 <object class="sizeritem">
504 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
505 <border>5</border>
506 <object class="wxGauge" name="controls_vertical_gauge">
507 <style>wxGA_VERTICAL</style>
508 <size>40,60</size>
509 <max>100</max>
510 <value>40</value>
511 </object>
512 </object>
513 </object>
514 </object>
515 </object>
516 <object class="notebookpage">
517 <label>wxFile/DirCtrl</label>
518 <object class="wxPanel" name="genericdirctrl">
519 <object class="wxFlexGridSizer">
520 <cols>2</cols>
521 <growablecols>1</growablecols>
522 <growablerows>1</growablerows>
523 <object class="sizeritem">
524 <flag>wxALIGN_CENTRE|wxALL</flag>
525 <object class="wxStaticText">
526 <label>wxGenericDirCtrl</label>
527 </object>
528 </object>
529 <object class="sizeritem">
530 <flag>wxALIGN_CENTRE|wxALL</flag>
531 <object class="wxStaticText">
532 <label>wxFileCtrl</label>
533 </object>
534 </object>
535
536 <object class="sizeritem">
537 <flag>wxALIGN_CENTRE|wxALL</flag>
538 <border>5</border>
539 <object class="wxGenericDirCtrl" name="controls_genericdirctrl">
540 <size>200,200</size>
541 </object>
542 </object>
543 <object class="sizeritem">
544 <flag>wxEXPAND|wxALL</flag>
545 <border>5</border>
546 <object class="wxFileCtrl">
547 <wildcard>Text files (*.txt)</wildcard>
548 </object>
549 </object>
550 </object>
551 </object>
552 </object>
553 <object class="notebookpage">
554 <label>wxHtmlWindow</label>
555 <object class="wxPanel" name="htmlwindow">
556 <object class="wxFlexGridSizer">
557 <cols>1</cols>
558 <rows>0</rows>
559 <vgap>0</vgap>
560 <hgap>0</hgap>
561 <growablecols>0</growablecols>
562 <growablerows>0</growablerows>
563 <object class="sizeritem">
564 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
565 <border>5</border>
566 <object class="wxHtmlWindow" name="controls_htmlwindow">
567 <size>450,250</size>
568 <htmlcode>
569 &lt;h2&gt;XRC Resources HTML&lt;/h2&gt;
570 &lt;p&gt;&lt;font color="#0000FF"&gt;XRC=Blue skies ahead.&lt;/font&gt;
571 &lt;p&gt;Italics useful for quoted or emphasized text:&lt;i&gt;"Some see things as they are and say why.
572 I dream things that never were, and say why not"&lt;/i&gt;
573 &lt;p&gt;&lt;pre&gt;Fixed width for code snippets.&lt;/pre&gt;
574 &lt;p&gt;Horizontal rules to organize sections: &lt;hr&gt;
575 &lt;p&gt;A wxImage is worth a thousand words and can be also used.
576 </htmlcode>
577 </object>
578 </object>
579 </object>
580 </object>
581 </object>
582 <object class="notebookpage">
583 <label>wxListBox</label>
584 <object class="wxPanel" name="listbox">
585 <object class="wxFlexGridSizer">
586 <cols>1</cols>
587 <rows>0</rows>
588 <vgap>0</vgap>
589 <hgap>0</hgap>
590 <growablecols>0</growablecols>
591 <growablerows>0</growablerows>
592 <object class="sizeritem">
593 <flag>wxALIGN_CENTER|wxALL</flag>
594 <border>5</border>
595 <object class="wxListBox" name="controls_listbox">
596 <size>250,160</size>
597 <style>wxLB_SINGLE</style>
598 <content>
599 <item>Milk</item>
600 <item>Pizza</item>
601 <item>Bread</item>
602 <item>Orange juice</item>
603 <item>Paper towels</item>
604 </content>
605 </object>
606 </object>
607 </object>
608 </object>
609 </object>
610 <object class="notebookpage">
611 <label>wxSimpleHtmlListBox</label>
612 <object class="wxPanel" name="simplehtmllistbox">
613 <object class="wxFlexGridSizer">
614 <cols>1</cols>
615 <rows>0</rows>
616 <vgap>0</vgap>
617 <hgap>0</hgap>
618 <growablecols>0</growablecols>
619 <growablerows>0</growablerows>
620 <object class="sizeritem">
621 <flag>wxALIGN_CENTER|wxALL</flag>
622 <border>5</border>
623 <object class="wxSimpleHtmlListBox" name="controls_simplehtmllistbox">
624 <size>250,160</size>
625 <style>wxHLB_MULTIPLE|wxHLB_DEFAULT_STYLE</style>
626 <content>
627 <item>&lt;b&gt;Bold&lt;/b&gt; Milk</item>
628 <item>&lt;i&gt;Rainbow &lt;font color="red"&gt;P&lt;/font&gt;&lt;font color="blue"&gt;i&lt;/font&gt;&lt;font color="yellow"&gt;z&lt;/font&gt;&lt;font color="green"&gt;z&lt;/font&gt;&lt;font color="purple"&gt;a&lt;/font&gt;&lt;/i&gt;</item>
629 <item>&lt;tt&gt;Plain bread&lt;/tt&gt;</item>
630 <item>&lt;font color="orange" size="+1"&gt;Orange juice&lt;/font&gt;</item>
631 <item>Paper towels</item>
632 </content>
633 </object>
634 </object>
635 </object>
636 </object>
637 </object>
638 <object class="notebookpage">
639 <label>wxListCtrl</label>
640 <object class="wxPanel" name="listctrl">
641 <object class="wxBoxSizer">
642 <object class="sizeritem">
643 <flag>wxALIGN_CENTER|wxALL</flag>
644 <border>5</border>
645 <object class="wxListCtrl" name="controls_listctrl">
646 <size>220,160</size>
647 <style>wxLC_REPORT|wxBORDER_SIMPLE</style>
648 <object class="listcol">
649 <text>Name</text>
650 <width>150</width>
651 </object>
652 <object class="listcol">
653 <text>Weight</text>
654 <align>wxLIST_FORMAT_RIGHT</align>
655 <width>50</width>
656 </object>
657 <!-- the items are added from the code -->
658 </object>
659 </object>
660 <object class="sizeritem">
661 <flag>wxALIGN_CENTER|wxALL</flag>
662 <border>5</border>
663 <object class="wxListCtrl" name="controls_listctrl2">
664 <size>220,160</size>
665 <style>wxLC_ICON|wxBORDER_SIMPLE</style>
666 <object class="listitem">
667 <text>Information</text>
668 <bitmap stock_id="wxART_INFORMATION"/>
669 </object>
670 <object class="listitem">
671 <text>Question?</text>
672 <bitmap stock_id="wxART_QUESTION"/>
673 </object>
674 </object>
675 </object>
676 <object class="sizeritem">
677 <flag>wxALIGN_CENTER|wxALL</flag>
678 <border>5</border>
679 <object class="wxListCtrl" name="controls_listctrl3">
680 <size>220,160</size>
681 <style>wxLC_SMALL_ICON|wxBORDER_SIMPLE</style>
682 <imagelist-small>
683 <size>20,20</size>
684 <bitmap stock_id="wxART_INFORMATION"/>
685 <bitmap stock_id="wxART_QUESTION"/>
686 </imagelist-small>
687 <object class="listitem">
688 <text>Information</text>
689 <image-small>0</image-small>
690 </object>
691 <object class="listitem">
692 <text>Question?</text>
693 <image-small>1</image-small>
694 </object>
695 </object>
696 </object>
697 </object>
698 </object>
699 </object>
700 <object class="notebookpage">
701 <label>wxPanel</label>
702 <object class="wxPanel" name="panel">
703 <object class="wxFlexGridSizer">
704 <cols>1</cols>
705 <rows>0</rows>
706 <vgap>0</vgap>
707 <hgap>0</hgap>
708 <growablecols>0</growablecols>
709 <growablerows>0</growablerows>
710 <object class="sizeritem">
711 <flag>wxALIGN_CENTRE|wxALL</flag>
712 <border>5</border>
713 <object class="wxPanel" name="controls_panel">
714 <size>200,160</size>
715 <bg>#0000FF</bg>
716 </object>
717 </object>
718 </object>
719 </object>
720 </object>
721 <object class="notebookpage">
722 <label>wxSplitterWindow</label>
723 <object class="wxPanel" name="panel">
724 <object class="wxFlexGridSizer">
725 <cols>1</cols>
726 <rows>0</rows>
727 <vgap>0</vgap>
728 <hgap>0</hgap>
729 <growablecols>0</growablecols>
730 <growablerows>0</growablerows>
731 <object class="sizeritem">
732 <flag>wxALIGN_CENTRE|wxALL</flag>
733 <border>5</border>
734 <object class="wxSplitterWindow">
735 <minsize>50</minsize>
736 <sashpos>100</sashpos>
737 <size>400,200</size>
738 <object class="wxPanel" name="controls_panel">
739 <bg>#0000FF</bg>
740 </object>
741 <object class="wxPanel" name="controls_panel">
742 <bg>#00FF00</bg>
743 </object>
744 </object>
745 </object>
746 </object>
747 </object>
748 </object>
749 <object class="notebookpage">
750 <label>wxRadioButton</label>
751 <object class="wxPanel" name="radiobutton">
752 <object class="wxFlexGridSizer">
753 <cols>1</cols>
754 <rows>0</rows>
755 <vgap>0</vgap>
756 <hgap>0</hgap>
757 <growablecols>0</growablecols>
758 <growablerows>0</growablerows>
759 <object class="sizeritem">
760 <flag>wxALIGN_CENTRE|wxALL</flag>
761 <border>5</border>
762 <object class="wxRadioButton" name="controls_unselected_radiobutton">
763 <label>Not selected</label>
764 </object>
765 </object>
766 <object class="sizeritem">
767 <flag>wxALIGN_CENTRE|wxALL</flag>
768 <border>5</border>
769 <object class="wxRadioButton" name="controls_selected_radiobutton">
770 <label>Selected</label>
771 <value>1</value>
772 </object>
773 </object>
774 </object>
775 </object>
776 </object>
777 <object class="notebookpage">
778 <label>wxRadioBox</label>
779 <object class="wxPanel" name="radiobox">
780 <object class="wxFlexGridSizer">
781 <cols>1</cols>
782 <rows>0</rows>
783 <vgap>0</vgap>
784 <hgap>0</hgap>
785 <growablecols>0</growablecols>
786 <growablerows>0</growablerows>
787 <object class="sizeritem">
788 <flag>wxALIGN_CENTRE|wxALL</flag>
789 <border>5</border>
790 <object class="wxRadioBox" name="controls_radiobox">
791 <style>wxRA_SPECIFY_COLS</style>
792 <label>Radio stations</label>
793 <dimension>1</dimension>
794 <selection>0</selection>
795 <content>
796 <item tooltip="Powerful radio station" helptext="This station is for amateurs of hard rock and heavy metal">Power 108</item>
797 <item tooltip="Disabled radio station" enabled="0">Power 0</item>
798 <item tooltip="">WMMS 100.7</item>
799 <item tooltip="E=mc^2">Energy 98.3</item>
800 <item helptext="Favourite chukcha's radio">CHUM FM</item>
801 <item>92FM</item>
802 <item hidden="1">Very quite station</item>
803 </content>
804 </object>
805 </object>
806 </object>
807 </object>
808 </object>
809 <object class="notebookpage">
810 <label>wxScrollBar</label>
811 <object class="wxPanel" name="scrollbar">
812 <object class="wxFlexGridSizer">
813 <cols>1</cols>
814 <rows>0</rows>
815 <vgap>0</vgap>
816 <hgap>0</hgap>
817 <growablecols>0</growablecols>
818 <growablerows>0</growablerows>
819 <object class="sizeritem">
820 <flag>wxALIGN_CENTRE|wxALL</flag>
821 <border>5</border>
822 <object class="wxScrollBar" name="controls_scrollbar">
823 <size>-1,160</size>
824 <value>50</value>
825 <range>100</range>
826 <thumbsize>30</thumbsize>
827 <style>wxSB_VERTICAL</style>
828 </object>
829 </object>
830 </object>
831 </object>
832 </object>
833 <object class="notebookpage">
834 <label>wxSlider</label>
835 <object class="wxPanel" name="slider">
836 <object class="wxFlexGridSizer">
837 <cols>2</cols>
838 <rows>0</rows>
839 <vgap>0</vgap>
840 <hgap>0</hgap>
841 <growablecols>0,1</growablecols>
842 <growablerows>0,1</growablerows>
843 <object class="sizeritem">
844 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
845 <border>5</border>
846 <object class="wxStaticText" name="controls_slider1_statictext">
847 <label>Without ticks:</label>
848 </object>
849 </object>
850 <object class="sizeritem">
851 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
852 <border>5</border>
853 <object class="wxSlider" name="controls_noticks_slider">
854 <size>100,-1</size>
855 <style>wxSL_HORIZONTAL</style>
856 <max>100</max>
857 <value>0</value>
858 </object>
859 </object>
860 <object class="sizeritem">
861 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
862 <border>5</border>
863 <object class="wxStaticText" name="controls_slider2_statictext">
864 <label>With ticks:</label>
865 </object>
866 </object>
867 <object class="sizeritem">
868 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
869 <border>5</border>
870 <object class="wxSlider" name="controls_ticks_slider">
871 <size>100,-1</size>
872 <style>wxSL_HORIZONTAL|wxSL_LABELS</style>
873 <max>100</max>
874 <value>0</value>
875 </object>
876 </object>
877 </object>
878 </object>
879 </object>
880 <object class="notebookpage">
881 <label>wxSpinButton</label>
882 <object class="wxPanel" name="spinbutton">
883 <object class="wxFlexGridSizer">
884 <cols>1</cols>
885 <rows>0</rows>
886 <vgap>0</vgap>
887 <hgap>0</hgap>
888 <growablecols>0</growablecols>
889 <growablerows>0</growablerows>
890 <object class="sizeritem">
891 <flag>wxALIGN_CENTRE|wxALL</flag>
892 <border>5</border>
893 <object class="wxSpinButton" name="controls_spinbutton">
894 <style>wxSP_WRAP</style>
895 <max>100</max>
896 <value>0</value>
897 </object>
898 </object>
899 </object>
900 </object>
901 </object>
902 <object class="notebookpage">
903 <label>wxSpinCtrl</label>
904 <object class="wxPanel" name="spinctrl">
905 <object class="wxFlexGridSizer">
906 <cols>1</cols>
907 <rows>0</rows>
908 <vgap>0</vgap>
909 <hgap>0</hgap>
910 <growablecols>0</growablecols>
911 <growablerows>0</growablerows>
912 <object class="sizeritem">
913 <flag>wxALIGN_CENTRE|wxALL</flag>
914 <border>5</border>
915 <object class="wxSpinCtrl" name="controls_spinctrl">
916 <size>100,-1</size>
917 <max>100</max>
918 <value>0</value>
919 </object>
920 </object>
921 </object>
922 </object>
923 </object>
924 <object class="notebookpage">
925 <label>wxStaticBitmap</label>
926 <object class="wxPanel" name="staticbitmap">
927 <object class="wxFlexGridSizer">
928 <cols>1</cols>
929 <rows>0</rows>
930 <vgap>0</vgap>
931 <hgap>0</hgap>
932 <growablecols>0</growablecols>
933 <growablerows>0</growablerows>
934 <object class="sizeritem">
935 <flag>wxALIGN_CENTRE|wxALL</flag>
936 <border>5</border>
937 <object class="wxStaticBitmap" name="controls_staticbitmap">
938 <bitmap>stop.xpm</bitmap>
939 </object>
940 </object>
941 </object>
942 </object>
943 </object>
944 <object class="notebookpage">
945 <label>wxStaticBox</label>
946 <object class="wxPanel" name="staticbox">
947 <object class="wxFlexGridSizer">
948 <cols>1</cols>
949 <rows>0</rows>
950 <vgap>0</vgap>
951 <hgap>0</hgap>
952 <growablecols>0</growablecols>
953 <growablerows>0</growablerows>
954 <object class="sizeritem">
955 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
956 <border>5</border>
957 <object class="wxStaticBoxSizer">
958 <orient>wxVERTICAL</orient>
959 <label>Internet options</label>
960 </object>
961 </object>
962 </object>
963 </object>
964 </object>
965 <object class="notebookpage">
966 <label>wxStaticLine</label>
967 <object class="wxPanel" name="staticline">
968 <object class="wxFlexGridSizer">
969 <cols>1</cols>
970 <rows>0</rows>
971 <vgap>0</vgap>
972 <hgap>0</hgap>
973 <growablecols>0</growablecols>
974 <growablerows>0,1</growablerows>
975 <object class="sizeritem">
976 <flag>wxALIGN_CENTRE|wxALL</flag>
977 <border>5</border>
978 <object class="wxStaticLine" name="controls_v_staticline">
979 <size>-1,100</size>
980 <style>wxLI_VERTICAL</style>
981 </object>
982 </object>
983 <object class="sizeritem">
984 <flag>wxALIGN_CENTRE|wxALL</flag>
985 <border>5</border>
986 <object class="wxStaticLine" name="controls_h_staticline">
987 <size>150,-1</size>
988 <style>wxLI_HORIZONTAL</style>
989 </object>
990 </object>
991 </object>
992 </object>
993 </object>
994 <object class="notebookpage">
995 <label>wxStaticText</label>
996 <object class="wxPanel" name="statictext">
997 <object class="wxFlexGridSizer">
998 <cols>1</cols>
999 <rows>0</rows>
1000 <vgap>0</vgap>
1001 <hgap>0</hgap>
1002 <growablecols>0</growablecols>
1003 <growablerows>0</growablerows>
1004 <object class="sizeritem">
1005 <flag>wxALIGN_CENTRE|wxALL</flag>
1006 <border>5</border>
1007 <object class="wxStaticText" name="controls_statictext">
1008 <label>It was a dark and stormy night.</label>
1009 </object>
1010 </object>
1011 </object>
1012 </object>
1013 </object>
1014 <object class="notebookpage">
1015 <label>wxTextCtrl</label>
1016 <object class="wxPanel" name="textctrl">
1017 <object class="wxFlexGridSizer">
1018 <cols>2</cols>
1019 <rows>0</rows>
1020 <vgap>0</vgap>
1021 <hgap>0</hgap>
1022 <growablecols>0,1</growablecols>
1023 <growablerows>0,1,2</growablerows>
1024 <object class="sizeritem">
1025 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
1026 <border>5</border>
1027 <object class="wxStaticText" name="controls_textctrl1_statictext">
1028 <label>Single line:</label>
1029 </object>
1030 </object>
1031 <object class="sizeritem">
1032 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
1033 <border>5</border>
1034 <object class="wxTextCtrl" name="controls_single_textctrl">
1035 <size>180,-1</size>
1036 <value>A.A. Milne</value>
1037 </object>
1038 </object>
1039 <object class="sizeritem">
1040 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
1041 <border>5</border>
1042 <object class="wxStaticText" name="controls_textctrl2_statictext">
1043 <label>Password:</label>
1044 </object>
1045 </object>
1046 <object class="sizeritem">
1047 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
1048 <border>5</border>
1049 <object class="wxTextCtrl" name="controls_password_textctrl">
1050 <size>180,-1</size>
1051 <style>wxTE_PASSWORD</style>
1052 <value>TooManySecrets</value>
1053 </object>
1054 </object>
1055 <object class="sizeritem">
1056 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
1057 <border>5</border>
1058 <object class="wxStaticText" name="controls_textctrl3_statictext">
1059 <label>Multiline:</label>
1060 </object>
1061 </object>
1062 <object class="sizeritem">
1063 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
1064 <border>5</border>
1065 <object class="wxTextCtrl" name="controls_multiline_textctrl">
1066 <size>180,90</size>
1067 <style>wxTE_MULTILINE</style>
1068 <value>"So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh.</value>
1069 </object>
1070 </object>
1071 <object class="sizeritem">
1072 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
1073 <border>5</border>
1074 <object class="wxStaticText" name="controls_textctrl4_statictext">
1075 <label>Search for:</label>
1076 </object>
1077 </object>
1078 <object class="sizeritem">
1079 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
1080 <border>5</border>
1081 <object class="wxSearchCtrl" name="controls_multiline_searchctrl">
1082 <size>180,-1</size>
1083 <value>true love</value>
1084 </object>
1085 </object>
1086 </object>
1087 </object>
1088 </object>
1089 <object class="notebookpage">
1090 <label>wxTreeCtrl</label>
1091 <object class="wxPanel" name="treectrl">
1092 <object class="wxFlexGridSizer">
1093 <cols>1</cols>
1094 <rows>0</rows>
1095 <vgap>0</vgap>
1096 <hgap>0</hgap>
1097 <growablecols>0</growablecols>
1098 <growablerows>0</growablerows>
1099 <object class="sizeritem">
1100 <flag>wxALIGN_CENTRE|wxALL</flag>
1101 <border>5</border>
1102 <object class="wxTreeCtrl" name="controls_treectrl">
1103 <size>280,180</size>
1104 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER</style>
1105 </object>
1106 </object>
1107 </object>
1108 </object>
1109 </object>
1110
1111 <object class="notebookpage">
1112 <label>wx*PickerCtrl</label>
1113 <object class="wxPanel" name="pickers">
1114 <object class="wxFlexGridSizer">
1115 <cols>2</cols>
1116 <rows>0</rows>
1117 <vgap>10</vgap>
1118 <hgap>10</hgap>
1119 <growablecols>0,1</growablecols>
1120 <growablerows>0,1,2,3</growablerows>
1121 <object class="sizeritem">
1122 <flag>wxALIGN_CENTRE|wxALL</flag>
1123 <border>5</border>
1124 <object class="wxStaticText" name="controls_pickers_statictext">
1125 <label>wxColourPickerCtrl:</label>
1126 </object>
1127 </object>
1128 <object class="sizeritem">
1129 <flag>wxGROW|wxALL</flag>
1130 <option>1</option>
1131 <border>5</border>
1132 <object class="wxColourPickerCtrl" name="controls_colourpicker">
1133 <value>#00ff00</value>
1134 <style>wxCLRP_SHOW_LABEL</style>
1135 </object>
1136 </object>
1137 <object class="sizeritem">
1138 <flag>wxALIGN_CENTRE|wxALL</flag>
1139 <border>5</border>
1140 <object class="wxStaticText" name="controls_pickers_statictext2">
1141 <label>wxFilePickerCtrl:</label>
1142 </object>
1143 </object>
1144 <object class="sizeritem">
1145 <flag>wxGROW|wxALL</flag>
1146 <option>1</option>
1147 <border>5</border>
1148 <object class="wxFilePickerCtrl" name="controls_filepicker">
1149 <message>Here goes a message</message>
1150 <style>wxFLP_OPEN</style>
1151 <wildcard>*.png</wildcard>
1152 <value/>
1153 </object>
1154 </object>
1155 <object class="sizeritem">
1156 <flag>wxALIGN_CENTRE|wxALL</flag>
1157 <border>5</border>
1158 <object class="wxStaticText" name="controls_pickers_statictext3">
1159 <label>wxDirPickerCtrl:</label>
1160 </object>
1161 </object>
1162 <object class="sizeritem">
1163 <flag>wxGROW|wxALL</flag>
1164 <option>1</option>
1165 <border>5</border>
1166 <object class="wxDirPickerCtrl" name="controls_dirpicker">
1167 <value/>
1168 <style>wxDIRP_CHANGE_DIR</style>
1169 <message>Here goes a message</message>
1170 </object>
1171 </object>
1172 <object class="sizeritem">
1173 <flag>wxALIGN_CENTRE|wxALL</flag>
1174 <border>5</border>
1175 <object class="wxStaticText" name="controls_pickers_statictext4">
1176 <label>wxFontPickerCtrl:</label>
1177 </object>
1178 </object>
1179 <object class="sizeritem">
1180 <flag>wxGROW|wxALL</flag>
1181 <option>1</option>
1182 <border>5</border>
1183 <object class="wxFontPickerCtrl" name="controls_fontpicker">
1184 <style>wxFNTP_USEFONT_FOR_LABEL</style>
1185 <value>
1186 <size>20</size>
1187 <sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont>
1188 </value>
1189 </object>
1190 </object>
1191 </object>
1192 </object>
1193 </object>
1194
1195 <object class="notebookpage">
1196 <label>wxAnimationCtrl</label>
1197 <object class="wxPanel" name="animctrl">
1198 <object class="wxFlexGridSizer">
1199 <cols>2</cols>
1200 <rows>1</rows>
1201 <vgap>0</vgap>
1202 <hgap>0</hgap>
1203 <growablecols>0,1</growablecols>
1204 <growablerows>0</growablerows>
1205
1206 <object class="sizeritem">
1207 <flag>wxALIGN_CENTRE|wxALL</flag>
1208 <border>5</border>
1209 <object class="wxButton" name="controls_animation_button_play">
1210 <label>Play</label>
1211 </object>
1212 </object>
1213
1214 <object class="sizeritem">
1215 <flag>wxALIGN_CENTRE|wxALL</flag>
1216 <border>5</border>
1217 <object class="wxAnimationCtrl" name="controls_animation_ctrl">
1218 <animation>throbber.gif</animation>
1219 <inactive-bitmap>stop.xpm</inactive-bitmap>
1220 </object>
1221 </object>
1222
1223 </object>
1224 </object>
1225 </object>
1226
1227 <object class="notebookpage">
1228 <label>wxCollapsiblePane</label>
1229 <object class="wxPanel" name="collpane">
1230 <object class="wxFlexGridSizer">
1231 <cols>1</cols>
1232 <rows>1</rows>
1233 <vgap>0</vgap>
1234 <hgap>0</hgap>
1235 <growablecols>0</growablecols>
1236 <growablerows>0</growablerows>
1237
1238 <object class="sizeritem">
1239 <flag>wxGROW|wxALL</flag>
1240 <border>5</border>
1241 <option>1</option>
1242 <object class="wxCollapsiblePane" name="controls_collpane">
1243 <label>Details:</label>
1244 <collapsed>0</collapsed>
1245 <object class="panewindow">
1246
1247 <object class="wxFlexGridSizer">
1248 <cols>1</cols>
1249 <rows>1</rows>
1250 <vgap>0</vgap>
1251 <hgap>0</hgap>
1252 <growablecols>0</growablecols>
1253 <growablerows>0</growablerows>
1254
1255 <object class="sizeritem">
1256 <flag>wxALIGN_CENTRE|wxALL</flag>
1257 <border>5</border>
1258 <object class="wxStaticText" name="controls_dialog_statictext">
1259 <label>
1260Inside a wxCollapsiblePane you can put everything you want and
1261lay them out using wxSizers, absolute positioning, everything you like!
1262 </label>
1263 </object>
1264 </object>
1265 </object>
1266
1267 </object>
1268 </object>
1269 </object>
1270
1271 </object>
1272 </object>
1273 </object>
1274
1275 <object class="notebookpage">
1276 <label>The Rest</label>
1277 <object class="wxPanel" name="Rest">
1278 <object class="wxFlexGridSizer">
1279 <cols>1</cols>
1280 <rows>0</rows>
1281 <vgap>0</vgap>
1282 <hgap>0</hgap>
1283 <growablecols>0</growablecols>
1284 <growablerows>0,1,2,3,4,5,6</growablerows>
1285 <object class="sizeritem">
1286 <flag>wxALIGN_CENTRE|wxALL</flag>
1287 <border>5</border>
1288 <object class="wxStaticText" name="controls_dialog_statictext">
1289 <label>wxDialog (This dialog is one)</label>
1290 </object>
1291 </object>
1292 <object class="sizeritem">
1293 <flag>wxALIGN_CENTRE|wxALL</flag>
1294 <border>5</border>
1295 <object class="wxStaticText" name="controls_frame_statictext">
1296 <label>wxFrame (This application's main frame is one)</label>
1297 </object>
1298 </object>
1299 <object class="sizeritem">
1300 <flag>wxALIGN_CENTRE|wxALL</flag>
1301 <border>5</border>
1302 <object class="wxStaticText" name="controls_menu_statictext">
1303 <label>wxMenu (This application's main frame uses one)</label>
1304 </object>
1305 </object>
1306 <object class="sizeritem">
1307 <flag>wxALIGN_CENTRE|wxALL</flag>
1308 <border>5</border>
1309 <object class="wxStaticText" name="controls_notebook_statictextT">
1310 <label>wxNotebook (This dialog uses one)</label>
1311 </object>
1312 </object>
1313 <object class="sizeritem">
1314 <flag>wxALIGN_CENTRE|wxALL</flag>
1315 <border>5</border>
1316 <object class="wxStaticText" name="controls_sizer">
1317 <label>wxSizer (Used throughout application)</label>
1318 </object>
1319 </object>
1320 <object class="sizeritem">
1321 <flag>wxALIGN_CENTRE|wxALL</flag>
1322 <border>5</border>
1323 <object class="wxStaticText" name="controls_toolbar_statictext">
1324 <label>wxToolbar (This application's main frame uses one)</label>
1325 </object>
1326 </object>
1327 <object class="sizeritem">
1328 <flag>wxALIGN_CENTRE|wxALL</flag>
1329 <border>5</border>
1330 <object class="wxStaticText" name="controls_unknown_statictext">
1331 <label>unknown controls (See Custom Class example)</label>
1332 </object>
1333 </object>
1334 </object>
1335 </object>
1336 </object>
1337 </object>
1338 </object>
1339 <object class="sizeritem">
1340 <flag>wxALIGN_CENTRE|wxALL</flag>
1341 <border>5</border>
1342 <object class="wxButton" name="wxID_OK">
1343 <label>OK</label>
1344 <default>1</default>
1345 </object>
1346 </object>
1347 </object>
1348</object>
1349
1350</resource>