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