1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
3 <resource xmlns=
"http://www.wxwidgets.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>wxTreebook
</label>
24 <object class=
"wxTreebook" name=
"controls_treebook">
26 <style>wxSUNKEN_BORDER
</style>
27 <object class=
"treebookpage">
30 <object class=
"wxButton" name=
"controls_treebook_button1">
32 <label>Button N1
</label>
35 <object class=
"treebookpage">
36 <label>Empty Page
2</label>
39 <object class=
"treebookpage">
42 <object class=
"wxButton" name=
"controls_treebook_button3">
44 <label>Button N3
</label>
47 <object class=
"treebookpage">
50 <object class=
"wxButton" name=
"controls_treebook_button4">
52 <label>Button N4
</label>
59 <object class=
"notebookpage">
60 <label>wxBitmapButton
</label>
61 <object class=
"wxPanel" name=
"bitmapbutton">
62 <object class=
"wxFlexGridSizer">
67 <growablecols>0</growablecols>
68 <growablerows>0</growablerows>
69 <object class=
"sizeritem">
70 <flag>wxALIGN_CENTRE|wxALL
</flag>
72 <object class=
"wxBitmapButton" name=
"controls_bitmapbutton">
73 <bitmap>controls.xpm
</bitmap>
79 <object class=
"notebookpage">
80 <label>wxButton
</label>
81 <object class=
"wxPanel" name=
"button">
82 <object class=
"wxFlexGridSizer">
87 <growablecols>0,
1</growablecols>
88 <growablerows>0,
1</growablerows>
89 <object class=
"sizeritem">
90 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
92 <object class=
"wxStaticText" name=
"controls_normal_button">
93 <label>Normal button:
</label>
96 <object class=
"sizeritem">
97 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
99 <object class=
"wxButton" name=
"controls_normal_button">
103 <object class=
"sizeritem">
104 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
106 <object class=
"wxStaticText" name=
"controls_statictext2_button">
107 <label>wxNO_BORDER style:
</label>
110 <object class=
"sizeritem">
111 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
113 <object class=
"wxButton" name=
"controls_flat_button">
114 <style>wxNO_BORDER
</style>
121 <object class=
"notebookpage">
122 <label>wxCalendarControl
</label>
123 <object class=
"wxPanel" name=
"calendar">
124 <object class=
"wxFlexGridSizer">
129 <growablecols>0</growablecols>
130 <growablerows>0</growablerows>
131 <object class=
"sizeritem">
132 <flag>wxALIGN_CENTRE|wxALL
</flag>
134 <object class=
"wxCalendarCtrl" name=
"controls_calendarctrl">
141 <object class=
"notebookpage">
142 <label>wxCheckBox
</label>
143 <object class=
"wxPanel" name=
"checkbox">
144 <object class=
"wxFlexGridSizer">
149 <growablecols>0</growablecols>
150 <growablerows>0</growablerows>
151 <object class=
"sizeritem">
152 <flag>wxALIGN_CENTRE|wxALL
</flag>
154 <object class=
"wxCheckBox" name=
"controls_unchecked_checkbox">
155 <label>Unchecked initially
</label>
158 <object class=
"sizeritem">
159 <flag>wxALIGN_CENTRE|wxALL
</flag>
161 <object class=
"wxCheckBox" name=
"controls_checked_checkbox">
162 <label>Checked initially
</label>
169 <object class=
"notebookpage">
170 <label>wxCheckListBox
</label>
171 <object class=
"wxPanel" name=
"checklist">
172 <object class=
"wxFlexGridSizer">
177 <growablecols>0</growablecols>
178 <growablerows>0</growablerows>
179 <object class=
"sizeritem">
180 <flag>wxALIGN_CENTRE|wxALL
</flag>
182 <object class=
"wxCheckListBox" name=
"conrols_checklist">
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>
197 <object class=
"notebookpage">
198 <label>wxChoice
</label>
199 <object class=
"wxPanel" name=
"choice">
200 <object class=
"wxFlexGridSizer">
205 <growablecols>0</growablecols>
206 <growablerows>0</growablerows>
207 <object class=
"sizeritem">
208 <flag>wxALIGN_CENTRE|wxALL
</flag>
210 <object class=
"wxChoice" name=
"controls_choice">
218 <item>The Sixth Sense!
</item>
225 <object class=
"notebookpage">
226 <label>wxComboBox
</label>
227 <object class=
"wxPanel" name=
"combobox">
228 <object class=
"wxFlexGridSizer">
233 <growablecols>0</growablecols>
234 <growablerows>0</growablerows>
235 <object class=
"sizeritem">
236 <flag>wxALIGN_CENTRE|wxALL
</flag>
238 <object class=
"wxComboBox" name=
"controls_combobox">
240 <style>wxCB_DROPDOWN
</style>
241 <selection>4</selection>
245 <item>notepad.exe
</item>
254 <object class=
"notebookpage">
255 <label>wxGauge
</label>
256 <object class=
"wxPanel" name=
"gauge">
257 <object class=
"wxFlexGridSizer">
262 <growablecols>0,
1</growablecols>
263 <growablerows>0,
1</growablerows>
264 <object class=
"sizeritem">
265 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
267 <object class=
"wxStaticText" name=
"controls_guage1_statictext">
268 <label>Horizontal smooth:
</label>
271 <object class=
"sizeritem">
272 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
274 <object class=
"wxGauge" name=
"controls_horizontal_gauge">
275 <style>wxGA_SMOOTH
</style>
281 <object class=
"sizeritem">
282 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
284 <object class=
"wxStaticText" name=
"controls_gauge2_statictext">
285 <label>Vertical: custom width
</label>
288 <object class=
"sizeritem">
289 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
291 <object class=
"wxGauge" name=
"controls_vertical_gauge">
292 <style>wxGA_VERTICAL
</style>
301 <object class=
"notebookpage">
302 <label>wxGenericDirCtrl
</label>
303 <object class=
"wxPanel" name=
"genericdirctrl">
304 <object class=
"wxFlexGridSizer">
309 <growablecols>0</growablecols>
310 <growablerows>0</growablerows>
311 <object class=
"sizeritem">
312 <flag>wxALIGN_CENTRE|wxALL
</flag>
314 <object class=
"wxGenericDirCtrl" name=
"controls_genericdirctrl">
321 <object class=
"notebookpage">
322 <label>wxHtmlWindow
</label>
323 <object class=
"wxPanel" name=
"htmlwindow">
324 <object class=
"wxFlexGridSizer">
329 <growablecols>0</growablecols>
330 <growablerows>0</growablerows>
331 <object class=
"sizeritem">
332 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
334 <object class=
"wxHtmlWindow" name=
"controls_htmlwindow">
337 <h2
>XRC Resources HTML
</h2
>
338 <p
><font
color="#
0000FF"
>XRC=Blue skies ahead.
</font
>
339 <p
>Italics useful for quoted or emphasized text:
<i
>"Some see things as they are and say why.
340 I dream things that never were, and say why not"
</i
>
341 <p
><pre
>Fixed width for code snippets.
</pre
>
342 <p
>Horizontal rules to organize sections:
<hr
>
343 <p
>A wxImage is worth a thousand words and can be also used.
350 <object class=
"notebookpage">
351 <label>wxListBox
</label>
352 <object class=
"wxPanel" name=
"listbox">
353 <object class=
"wxFlexGridSizer">
358 <growablecols>0</growablecols>
359 <growablerows>0</growablerows>
360 <object class=
"sizeritem">
361 <flag>wxALIGN_CENTER|wxALL
</flag>
363 <object class=
"wxListBox" name=
"controls_listbox">
365 <style>wxLB_SINGLE
</style>
370 <item>Orange juice
</item>
371 <item>Paper towels
</item>
378 <object class=
"notebookpage">
379 <label>wxListCtrl
</label>
380 <object class=
"wxPanel" name=
"listctrl">
381 <object class=
"wxFlexGridSizer">
386 <growablecols>0</growablecols>
387 <growablerows>0</growablerows>
388 <object class=
"sizeritem">
389 <flag>wxALIGN_CENTER|wxALL
</flag>
391 <object class=
"wxListCtrl" name=
"controls_listctrl">
393 <style>wxLC_REPORT|wxSUNKEN_BORDER
</style>
399 <object class=
"notebookpage">
400 <label>wxPanel
</label>
401 <object class=
"wxPanel" name=
"panel">
402 <object class=
"wxFlexGridSizer">
407 <growablecols>0</growablecols>
408 <growablerows>0</growablerows>
409 <object class=
"sizeritem">
410 <flag>wxALIGN_CENTRE|wxALL
</flag>
412 <object class=
"wxPanel" name=
"controls_panel">
420 <object class=
"notebookpage">
421 <label>wxSplitterWindow
</label>
422 <object class=
"wxPanel" name=
"panel">
423 <object class=
"wxFlexGridSizer">
428 <growablecols>0</growablecols>
429 <growablerows>0</growablerows>
430 <object class=
"sizeritem">
431 <flag>wxALIGN_CENTRE|wxALL
</flag>
433 <object class=
"wxSplitterWindow">
434 <minsize>50</minsize>
435 <sashpos>100</sashpos>
437 <object class=
"wxPanel" name=
"controls_panel">
440 <object class=
"wxPanel" name=
"controls_panel">
448 <object class=
"notebookpage">
449 <label>wxRadioButton
</label>
450 <object class=
"wxPanel" name=
"radiobutton">
451 <object class=
"wxFlexGridSizer">
456 <growablecols>0</growablecols>
457 <growablerows>0</growablerows>
458 <object class=
"sizeritem">
459 <flag>wxALIGN_CENTRE|wxALL
</flag>
461 <object class=
"wxRadioButton" name=
"controls_unselected_radiobutton">
462 <label>Not selected
</label>
465 <object class=
"sizeritem">
466 <flag>wxALIGN_CENTRE|wxALL
</flag>
468 <object class=
"wxRadioButton" name=
"controls_selected_radiobutton">
469 <label>Selected
</label>
476 <object class=
"notebookpage">
477 <label>wxRadioBox
</label>
478 <object class=
"wxPanel" name=
"radiobox">
479 <object class=
"wxFlexGridSizer">
484 <growablecols>0</growablecols>
485 <growablerows>0</growablerows>
486 <object class=
"sizeritem">
487 <flag>wxALIGN_CENTRE|wxALL
</flag>
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>
495 <item>Power
108</item>
496 <item>WMMS
100.7</item>
497 <item>Energy
98.3</item>
506 <object class=
"notebookpage">
507 <label>wxScrollBar
</label>
508 <object class=
"wxPanel" name=
"scrollbar">
509 <object class=
"wxFlexGridSizer">
514 <growablecols>0</growablecols>
515 <growablerows>0</growablerows>
516 <object class=
"sizeritem">
517 <flag>wxALIGN_CENTRE|wxALL
</flag>
519 <object class=
"wxScrollBar" name=
"controls_scrollbar">
523 <thumbsize>30</thumbsize>
524 <style>wxSB_VERTICAL
</style>
530 <object class=
"notebookpage">
531 <label>wxSlider
</label>
532 <object class=
"wxPanel" name=
"slider">
533 <object class=
"wxFlexGridSizer">
538 <growablecols>0,
1</growablecols>
539 <growablerows>0,
1</growablerows>
540 <object class=
"sizeritem">
541 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
543 <object class=
"wxStaticText" name=
"controls_slider1_statictext">
544 <label>Without ticks:
</label>
547 <object class=
"sizeritem">
548 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
550 <object class=
"wxSlider" name=
"controls_noticks_slider">
552 <style>wxSL_HORIZONTAL
</style>
557 <object class=
"sizeritem">
558 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
560 <object class=
"wxStaticText" name=
"controls_slider2_statictext">
561 <label>With ticks:
</label>
564 <object class=
"sizeritem">
565 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
567 <object class=
"wxSlider" name=
"controls_ticks_slider">
569 <style>wxSL_HORIZONTAL|wxSL_LABELS
</style>
577 <object class=
"notebookpage">
578 <label>wxSpinButton
</label>
579 <object class=
"wxPanel" name=
"spinbutton">
580 <object class=
"wxFlexGridSizer">
585 <growablecols>0</growablecols>
586 <growablerows>0</growablerows>
587 <object class=
"sizeritem">
588 <flag>wxALIGN_CENTRE|wxALL
</flag>
590 <object class=
"wxSpinButton" name=
"controls_spinbutton">
591 <style>wxSP_WRAP
</style>
599 <object class=
"notebookpage">
600 <label>wxSpinCtrl
</label>
601 <object class=
"wxPanel" name=
"spinctrl">
602 <object class=
"wxFlexGridSizer">
607 <growablecols>0</growablecols>
608 <growablerows>0</growablerows>
609 <object class=
"sizeritem">
610 <flag>wxALIGN_CENTRE|wxALL
</flag>
612 <object class=
"wxSpinCtrl" name=
"controls_spinctrl">
621 <object class=
"notebookpage">
622 <label>wxStaticBitmap
</label>
623 <object class=
"wxPanel" name=
"staticbitmap">
624 <object class=
"wxFlexGridSizer">
629 <growablecols>0</growablecols>
630 <growablerows>0</growablerows>
631 <object class=
"sizeritem">
632 <flag>wxALIGN_CENTRE|wxALL
</flag>
634 <object class=
"wxStaticBitmap" name=
"controls_staticbitmap">
635 <bitmap>appicon.xpm
</bitmap>
641 <object class=
"notebookpage">
642 <label>wxStaticBox
</label>
643 <object class=
"wxPanel" name=
"staticbox">
644 <object class=
"wxFlexGridSizer">
649 <growablecols>0</growablecols>
650 <growablerows>0</growablerows>
651 <object class=
"sizeritem">
652 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
654 <object class=
"wxStaticBoxSizer">
655 <orient>wxVERTICAL
</orient>
656 <label>Internet options
</label>
662 <object class=
"notebookpage">
663 <label>wxStaticLine
</label>
664 <object class=
"wxPanel" name=
"staticline">
665 <object class=
"wxFlexGridSizer">
670 <growablecols>0</growablecols>
671 <growablerows>0,
1</growablerows>
672 <object class=
"sizeritem">
673 <flag>wxALIGN_CENTRE|wxALL
</flag>
675 <object class=
"wxStaticLine" name=
"controls_v_staticline">
677 <style>wxLI_VERTICAL
</style>
680 <object class=
"sizeritem">
681 <flag>wxALIGN_CENTRE|wxALL
</flag>
683 <object class=
"wxStaticLine" name=
"controls_h_staticline">
685 <style>wxLI_HORIZONTAL
</style>
691 <object class=
"notebookpage">
692 <label>wxStaticText
</label>
693 <object class=
"wxPanel" name=
"statictext">
694 <object class=
"wxFlexGridSizer">
699 <growablecols>0</growablecols>
700 <growablerows>0</growablerows>
701 <object class=
"sizeritem">
702 <flag>wxALIGN_CENTRE|wxALL
</flag>
704 <object class=
"wxStaticText" name=
"controls_statictext">
705 <label>It was a dark and stormy night.
</label>
711 <object class=
"notebookpage">
712 <label>wxTextCtrl
</label>
713 <object class=
"wxPanel" name=
"textctrl">
714 <object class=
"wxFlexGridSizer">
719 <growablecols>0,
1</growablecols>
720 <growablerows>0,
1,
2</growablerows>
721 <object class=
"sizeritem">
722 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
724 <object class=
"wxStaticText" name=
"controls_textctrl1_statictext">
725 <label>Single line:
</label>
728 <object class=
"sizeritem">
729 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
731 <object class=
"wxTextCtrl" name=
"controls_single_textctrl">
733 <value>A.A. Milne
</value>
736 <object class=
"sizeritem">
737 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
739 <object class=
"wxStaticText" name=
"controls_textctrl2_statictext">
740 <label>Password:
</label>
743 <object class=
"sizeritem">
744 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
746 <object class=
"wxTextCtrl" name=
"controls_password_textctrl">
748 <style>wxTE_PASSWORD
</style>
749 <value>TooManySecrets
</value>
752 <object class=
"sizeritem">
753 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
755 <object class=
"wxStaticText" name=
"controls_textctrl3_statictext">
756 <label>Multiline:
</label>
759 <object class=
"sizeritem">
760 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
762 <object class=
"wxTextCtrl" name=
"controls_multiline_textctrl">
764 <style>wxTE_MULTILINE
</style>
765 <value>"So many pretty widgets" said Pooh, said he.
"So many pretty widgets", said Pooh.
</value>
771 <object class=
"notebookpage">
772 <label>wxTreeCtrl
</label>
773 <object class=
"wxPanel" name=
"treectrl">
774 <object class=
"wxFlexGridSizer">
779 <growablecols>0</growablecols>
780 <growablerows>0</growablerows>
781 <object class=
"sizeritem">
782 <flag>wxALIGN_CENTRE|wxALL
</flag>
784 <object class=
"wxTreeCtrl" name=
"controls_treectrl">
786 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER
</style>
792 <object class=
"notebookpage">
793 <label>The Rest
</label>
794 <object class=
"wxPanel" name=
"Rest">
795 <object class=
"wxFlexGridSizer">
800 <growablecols>0</growablecols>
801 <growablerows>0,
1,
2,
3,
4,
5,
6</growablerows>
802 <object class=
"sizeritem">
803 <flag>wxALIGN_CENTRE|wxALL
</flag>
805 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
806 <label>wxDialog (This dialog is one)
</label>
809 <object class=
"sizeritem">
810 <flag>wxALIGN_CENTRE|wxALL
</flag>
812 <object class=
"wxStaticText" name=
"controls_frame_statictext">
813 <label>wxFrame (This application's main frame is one)
</label>
816 <object class=
"sizeritem">
817 <flag>wxALIGN_CENTRE|wxALL
</flag>
819 <object class=
"wxStaticText" name=
"controls_menu_statictext">
820 <label>wxMenu (This application's main frame uses one)
</label>
823 <object class=
"sizeritem">
824 <flag>wxALIGN_CENTRE|wxALL
</flag>
826 <object class=
"wxStaticText" name=
"controls_notebook_statictextT">
827 <label>wxNotebook (This dialog uses one)
</label>
830 <object class=
"sizeritem">
831 <flag>wxALIGN_CENTRE|wxALL
</flag>
833 <object class=
"wxStaticText" name=
"controls_sizer">
834 <label>wxSizer (Used throughout application)
</label>
837 <object class=
"sizeritem">
838 <flag>wxALIGN_CENTRE|wxALL
</flag>
840 <object class=
"wxStaticText" name=
"controls_toolbar_statictext">
841 <label>wxToolbar (This application's main frame uses one)
</label>
844 <object class=
"sizeritem">
845 <flag>wxALIGN_CENTRE|wxALL
</flag>
847 <object class=
"wxStaticText" name=
"controls_unknown_statictext">
848 <label>unknown controls (See Custom Class example)
</label>
856 <object class=
"sizeritem">
857 <flag>wxALIGN_CENTRE|wxALL
</flag>
859 <object class=
"wxButton" name=
"wxID_OK">