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