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