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