1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
3 <resource xmlns=
"http://www.wxwindows.org/wxxrc" version=
"2.3.0.1">
5 <object class=
"wxDialog" name=
"controls_dialog">
6 <title>Controls Example
</title>
7 <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER
</style>
9 <object class=
"wxFlexGridSizer">
14 <growablecols>0</growablecols>
15 <growablerows>0</growablerows>
16 <object class=
"sizeritem">
17 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
19 <object class=
"wxNotebook" name=
"controls_notebook">
20 <usenotebooksizer>1</usenotebooksizer>
22 <object class=
"notebookpage">
23 <label>wxBitmapButton
</label>
24 <object class=
"wxPanel" name=
"bitmapbutton">
25 <object class=
"wxFlexGridSizer">
30 <growablecols>0</growablecols>
31 <growablerows>0</growablerows>
32 <object class=
"sizeritem">
33 <flag>wxALIGN_CENTRE|wxALL
</flag>
35 <object class=
"wxBitmapButton" name=
"controls_bitmapbutton">
36 <bitmap>controls.xpm
</bitmap>
42 <object class=
"notebookpage">
43 <label>wxButton
</label>
44 <object class=
"wxPanel" name=
"button">
45 <object class=
"wxFlexGridSizer">
50 <growablecols>0,
1</growablecols>
51 <growablerows>0,
1</growablerows>
52 <object class=
"sizeritem">
53 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
55 <object class=
"wxStaticText" name=
"controls_normal_button">
56 <label>Normal button:
</label>
59 <object class=
"sizeritem">
60 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
62 <object class=
"wxButton" name=
"controls_normal_button">
66 <object class=
"sizeritem">
67 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
69 <object class=
"wxStaticText" name=
"controls_statictext2_button">
70 <label>wxNO_BORDER style:
</label>
73 <object class=
"sizeritem">
74 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
76 <object class=
"wxButton" name=
"controls_flat_button">
77 <style>wxNO_BORDER
</style>
84 <object class=
"notebookpage">
85 <label>wxCalendarControl
</label>
86 <object class=
"wxPanel" name=
"calendar">
87 <object class=
"wxFlexGridSizer">
92 <growablecols>0</growablecols>
93 <growablerows>0</growablerows>
94 <object class=
"sizeritem">
95 <flag>wxALIGN_CENTRE|wxALL
</flag>
97 <object class=
"wxCalendarCtrl" name=
"controls_calendarctrl">
104 <object class=
"notebookpage">
105 <label>wxCheckBox
</label>
106 <object class=
"wxPanel" name=
"checkbox">
107 <object class=
"wxFlexGridSizer">
112 <growablecols>0</growablecols>
113 <growablerows>0</growablerows>
114 <object class=
"sizeritem">
115 <flag>wxALIGN_CENTRE|wxALL
</flag>
117 <object class=
"wxCheckBox" name=
"controls_unchecked_checkbox">
118 <label>Unchecked initially
</label>
121 <object class=
"sizeritem">
122 <flag>wxALIGN_CENTRE|wxALL
</flag>
124 <object class=
"wxCheckBox" name=
"controls_checked_checkbox">
125 <label>Checked initially
</label>
132 <object class=
"notebookpage">
133 <label>wxCheckList
</label>
134 <object class=
"wxPanel" name=
"checklist">
135 <object class=
"wxFlexGridSizer">
140 <growablecols>0</growablecols>
141 <growablerows>0</growablerows>
142 <object class=
"sizeritem">
143 <flag>wxALIGN_CENTRE|wxALL
</flag>
145 <object class=
"wxCheckList" name=
"conrols_checklist">
148 <item checked=
"1">Download library
</item>
149 <item checked=
"1">Compile samples
</item>
150 <item checked=
"1">Skim docs
</item>
151 <item checked=
"1">Finish project
</item>
152 <item>Wash car
</item>
160 <object class=
"notebookpage">
161 <label>wxChoice
</label>
162 <object class=
"wxPanel" name=
"choice">
163 <object class=
"wxFlexGridSizer">
168 <growablecols>0</growablecols>
169 <growablerows>0</growablerows>
170 <object class=
"sizeritem">
171 <flag>wxALIGN_CENTRE|wxALL
</flag>
173 <object class=
"wxChoice" name=
"controls_choice">
181 <item>The Sixth Sense!
</item>
188 <object class=
"notebookpage">
189 <label>wxComboBox
</label>
190 <object class=
"wxPanel" name=
"combobox">
191 <object class=
"wxFlexGridSizer">
196 <growablecols>0</growablecols>
197 <growablerows>0</growablerows>
198 <object class=
"sizeritem">
199 <flag>wxALIGN_CENTRE|wxALL
</flag>
201 <object class=
"wxComboBox" name=
"controls_combobox">
203 <style>wxCB_DROPDOWN
</style>
204 <selection>4</selection>
208 <item>notepad.exe
</item>
217 <object class=
"notebookpage">
218 <label>wxGauge
</label>
219 <object class=
"wxPanel" name=
"gauge">
220 <object class=
"wxFlexGridSizer">
225 <growablecols>0,
1</growablecols>
226 <growablerows>0,
1</growablerows>
227 <object class=
"sizeritem">
228 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
230 <object class=
"wxStaticText" name=
"controls_guage1_statictext">
231 <label>Horizontal smooth:
</label>
234 <object class=
"sizeritem">
235 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
237 <object class=
"wxGauge" name=
"controls_horizontal_gauge">
238 <style>wxGA_SMOOTH
</style>
244 <object class=
"sizeritem">
245 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
247 <object class=
"wxStaticText" name=
"controls_gauge2_statictext">
248 <label>Vertical: custom width
</label>
251 <object class=
"sizeritem">
252 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
254 <object class=
"wxGauge" name=
"controls_vertical_gauge">
255 <style>wxGA_VERTICAL
</style>
264 <object class=
"notebookpage">
265 <label>wxGenericDirCtrl
</label>
266 <object class=
"wxPanel" name=
"genericdirctrl">
267 <object class=
"wxFlexGridSizer">
272 <growablecols>0</growablecols>
273 <growablerows>0</growablerows>
274 <object class=
"sizeritem">
275 <flag>wxALIGN_CENTRE|wxALL
</flag>
277 <object class=
"wxGenericDirCtrl" name=
"controls_genericdirctrl">
284 <object class=
"notebookpage">
285 <label>wxHtmlWindow
</label>
286 <object class=
"wxPanel" name=
"htmlwindow">
287 <object class=
"wxFlexGridSizer">
292 <growablecols>0</growablecols>
293 <growablerows>0</growablerows>
294 <object class=
"sizeritem">
295 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
297 <object class=
"wxHtmlWindow" name=
"controls_htmlwindow">
300 <h2
>XRC Resources HTML
</h2
>
301 <p
><font
color="#
0000FF"
>XRC=Blue skies ahead.
</font
>
302 <p
>Italics useful for quoted or emphasized text:
<i
>"Some see things as they are and say why.
303 I dream things that never were, and say why not"
</i
>
304 <p
><pre
>Fixed width for code snippets.
</pre
>
305 <p
>Horizontal rules to organize sections:
<hr
>
306 <p
>A wxImage is worth a thousand words and can be also used.
313 <object class=
"notebookpage">
314 <label>wxListBox
</label>
315 <object class=
"wxPanel" name=
"listbox">
316 <object class=
"wxFlexGridSizer">
321 <growablecols>0</growablecols>
322 <growablerows>0</growablerows>
323 <object class=
"sizeritem">
324 <flag>wxALIGN_CENTER|wxALL
</flag>
326 <object class=
"wxListBox" name=
"controls_listbox">
328 <style>wxLB_SINGLE
</style>
333 <item>Orange juice
</item>
334 <item>Paper towels
</item>
341 <object class=
"notebookpage">
342 <label>wxListCtrl
</label>
343 <object class=
"wxPanel" name=
"listctrl">
344 <object class=
"wxFlexGridSizer">
349 <growablecols>0</growablecols>
350 <growablerows>0</growablerows>
351 <object class=
"sizeritem">
352 <flag>wxALIGN_CENTER|wxALL
</flag>
354 <object class=
"wxListCtrl" name=
"controls_listctrl">
356 <style>wxLC_REPORT|wxSUNKEN_BORDER
</style>
362 <object class=
"notebookpage">
363 <label>wxPanel
</label>
364 <object class=
"wxPanel" name=
"panel">
365 <object class=
"wxFlexGridSizer">
370 <growablecols>0</growablecols>
371 <growablerows>0</growablerows>
372 <object class=
"sizeritem">
373 <flag>wxALIGN_CENTRE|wxALL
</flag>
375 <object class=
"wxPanel" name=
"controls_panel">
383 <object class=
"notebookpage">
384 <label>wxRadioButton
</label>
385 <object class=
"wxPanel" name=
"radiobutton">
386 <object class=
"wxFlexGridSizer">
391 <growablecols>0</growablecols>
392 <growablerows>0</growablerows>
393 <object class=
"sizeritem">
394 <flag>wxALIGN_CENTRE|wxALL
</flag>
396 <object class=
"wxRadioButton" name=
"controls_unselected_radiobutton">
397 <label>Not selected
</label>
400 <object class=
"sizeritem">
401 <flag>wxALIGN_CENTRE|wxALL
</flag>
403 <object class=
"wxRadioButton" name=
"controls_selected_radiobutton">
404 <label>Selected
</label>
411 <object class=
"notebookpage">
412 <label>wxRadioBox
</label>
413 <object class=
"wxPanel" name=
"radiobox">
414 <object class=
"wxFlexGridSizer">
419 <growablecols>0</growablecols>
420 <growablerows>0</growablerows>
421 <object class=
"sizeritem">
422 <flag>wxALIGN_CENTRE|wxALL
</flag>
424 <object class=
"wxRadioBox" name=
"controls_radiobox">
425 <style>wxRA_SPECIFY_COLS
</style>
426 <label>Radio stations
</label>
427 <dimension>1</dimension>
428 <selection>0</selection>
430 <item>Power
108</item>
431 <item>WMMS
100.7</item>
432 <item>Energy
98.3</item>
441 <object class=
"notebookpage">
442 <label>wxScrollBar
</label>
443 <object class=
"wxPanel" name=
"scrollbar">
444 <object class=
"wxFlexGridSizer">
449 <growablecols>0</growablecols>
450 <growablerows>0</growablerows>
451 <object class=
"sizeritem">
452 <flag>wxALIGN_CENTRE|wxALL
</flag>
454 <object class=
"wxScrollBar" name=
"controls_scrollbar">
458 <thumbsize>30</thumbsize>
459 <style>wxSB_VERTICAL
</style>
465 <object class=
"notebookpage">
466 <label>wxSlider
</label>
467 <object class=
"wxPanel" name=
"slider">
468 <object class=
"wxFlexGridSizer">
473 <growablecols>0,
1</growablecols>
474 <growablerows>0,
1</growablerows>
475 <object class=
"sizeritem">
476 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
478 <object class=
"wxStaticText" name=
"controls_slider1_statictext">
479 <label>Without ticks:
</label>
482 <object class=
"sizeritem">
483 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
485 <object class=
"wxSlider" name=
"controls_noticks_slider">
487 <style>wxSL_HORIZONTAL
</style>
492 <object class=
"sizeritem">
493 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
495 <object class=
"wxStaticText" name=
"controls_slider2_statictext">
496 <label>With ticks:
</label>
499 <object class=
"sizeritem">
500 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
502 <object class=
"wxSlider" name=
"controls_ticks_slider">
504 <style>wxSL_HORIZONTAL|wxSL_LABELS
</style>
512 <object class=
"notebookpage">
513 <label>wxSpinButton
</label>
514 <object class=
"wxPanel" name=
"spinbutton">
515 <object class=
"wxFlexGridSizer">
520 <growablecols>0</growablecols>
521 <growablerows>0</growablerows>
522 <object class=
"sizeritem">
523 <flag>wxALIGN_CENTRE|wxALL
</flag>
525 <object class=
"wxSpinButton" name=
"controls_spinbutton">
526 <style>wxSP_WRAP
</style>
534 <object class=
"notebookpage">
535 <label>wxSpinCtrl
</label>
536 <object class=
"wxPanel" name=
"spinctrl">
537 <object class=
"wxFlexGridSizer">
542 <growablecols>0</growablecols>
543 <growablerows>0</growablerows>
544 <object class=
"sizeritem">
545 <flag>wxALIGN_CENTRE|wxALL
</flag>
547 <object class=
"wxSpinCtrl" name=
"controls_spinctrl">
556 <object class=
"notebookpage">
557 <label>wxStaticBitmap
</label>
558 <object class=
"wxPanel" name=
"staticbitmap">
559 <object class=
"wxFlexGridSizer">
564 <growablecols>0</growablecols>
565 <growablerows>0</growablerows>
566 <object class=
"sizeritem">
567 <flag>wxALIGN_CENTRE|wxALL
</flag>
569 <object class=
"wxStaticBitmap" name=
"controls_staticbitmap">
570 <bitmap>appicon.xpm
</bitmap>
576 <object class=
"notebookpage">
577 <label>wxStaticBox
</label>
578 <object class=
"wxPanel" name=
"staticbox">
579 <object class=
"wxFlexGridSizer">
584 <growablecols>0</growablecols>
585 <growablerows>0</growablerows>
586 <object class=
"sizeritem">
587 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
589 <object class=
"wxStaticBoxSizer">
590 <orient>wxVERTICAL
</orient>
591 <label>Internet options
</label>
597 <object class=
"notebookpage">
598 <label>wxStaticLine
</label>
599 <object class=
"wxPanel" name=
"staticline">
600 <object class=
"wxFlexGridSizer">
605 <growablecols>0</growablecols>
606 <growablerows>0,
1</growablerows>
607 <object class=
"sizeritem">
608 <flag>wxALIGN_CENTRE|wxALL
</flag>
610 <object class=
"wxStaticLine" name=
"controls_v_staticline">
612 <style>wxLI_VERTICAL
</style>
615 <object class=
"sizeritem">
616 <flag>wxALIGN_CENTRE|wxALL
</flag>
618 <object class=
"wxStaticLine" name=
"controls_h_staticline">
620 <style>wxLI_HORIZONTAL
</style>
626 <object class=
"notebookpage">
627 <label>wxStaticText
</label>
628 <object class=
"wxPanel" name=
"statictext">
629 <object class=
"wxFlexGridSizer">
634 <growablecols>0</growablecols>
635 <growablerows>0</growablerows>
636 <object class=
"sizeritem">
637 <flag>wxALIGN_CENTRE|wxALL
</flag>
639 <object class=
"wxStaticText" name=
"controls_statictext">
640 <label>It was a dark and stormy night.
</label>
646 <object class=
"notebookpage">
647 <label>wxTextCtrl
</label>
648 <object class=
"wxPanel" name=
"textctrl">
649 <object class=
"wxFlexGridSizer">
654 <growablecols>0,
1</growablecols>
655 <growablerows>0,
1,
2</growablerows>
656 <object class=
"sizeritem">
657 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
659 <object class=
"wxStaticText" name=
"controls_textctrl1_statictext">
660 <label>Single line:
</label>
663 <object class=
"sizeritem">
664 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
666 <object class=
"wxTextCtrl" name=
"controls_single_textctrl">
668 <value>A.A. Milne
</value>
671 <object class=
"sizeritem">
672 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
674 <object class=
"wxStaticText" name=
"controls_textctrl2_statictext">
675 <label>Password:
</label>
678 <object class=
"sizeritem">
679 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
681 <object class=
"wxTextCtrl" name=
"controls_password_textctrl">
683 <style>wxTE_PASSWORD
</style>
684 <value>TooManySecrets
</value>
687 <object class=
"sizeritem">
688 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
690 <object class=
"wxStaticText" name=
"controls_textctrl3_statictext">
691 <label>Multiline:
</label>
694 <object class=
"sizeritem">
695 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
697 <object class=
"wxTextCtrl" name=
"controls_multiline_textctrl">
699 <style>wxTE_MULTILINE
</style>
700 <value>"So many pretty widgets" said Pooh, said he.
"So many pretty widgets", said Pooh.
</value>
706 <object class=
"notebookpage">
707 <label>wxTreeCtrl
</label>
708 <object class=
"wxPanel" name=
"treectrl">
709 <object class=
"wxFlexGridSizer">
714 <growablecols>0</growablecols>
715 <growablerows>0</growablerows>
716 <object class=
"sizeritem">
717 <flag>wxALIGN_CENTRE|wxALL
</flag>
719 <object class=
"wxTreeCtrl" name=
"controls_treectrl">
721 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER
</style>
727 <object class=
"notebookpage">
728 <label>The Rest
</label>
729 <object class=
"wxPanel" name=
"Rest">
730 <object class=
"wxFlexGridSizer">
735 <growablecols>0</growablecols>
736 <growablerows>0,
1,
2,
3,
4,
5,
6</growablerows>
737 <object class=
"sizeritem">
738 <flag>wxALIGN_CENTRE|wxALL
</flag>
740 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
741 <label>wxDialog (This dialog is one)
</label>
744 <object class=
"sizeritem">
745 <flag>wxALIGN_CENTRE|wxALL
</flag>
747 <object class=
"wxStaticText" name=
"controls_frame_statictext">
748 <label>wxFrame (This application's main frame is one)
</label>
751 <object class=
"sizeritem">
752 <flag>wxALIGN_CENTRE|wxALL
</flag>
754 <object class=
"wxStaticText" name=
"controls_menu_statictext">
755 <label>wxMenu (This application's main frame uses one)
</label>
758 <object class=
"sizeritem">
759 <flag>wxALIGN_CENTRE|wxALL
</flag>
761 <object class=
"wxStaticText" name=
"controls_notebook_statictextT">
762 <label>wxNotebook (This dialog uses one)
</label>
765 <object class=
"sizeritem">
766 <flag>wxALIGN_CENTRE|wxALL
</flag>
768 <object class=
"wxStaticText" name=
"controls_sizer">
769 <label>wxSizer (Used throughout application)
</label>
772 <object class=
"sizeritem">
773 <flag>wxALIGN_CENTRE|wxALL
</flag>
775 <object class=
"wxStaticText" name=
"controls_toolbar_statictext">
776 <label>wxToolbar (This application's main frame uses one)
</label>
779 <object class=
"sizeritem">
780 <flag>wxALIGN_CENTRE|wxALL
</flag>
782 <object class=
"wxStaticText" name=
"controls_unknown_statictext">
783 <label>unknown controls (See Custom Class example)
</label>
791 <object class=
"sizeritem">
792 <flag>wxALIGN_CENTRE|wxALL
</flag>
794 <object class=
"wxButton" name=
"wxID_OK">