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>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>wxCheckListBox
</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=
"wxCheckListBox" 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>wxSplitterWindow
</label>
385 <object class=
"wxPanel" name=
"panel">
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=
"wxSplitterWindow">
397 <minsize>50</minsize>
398 <sashpos>100</sashpos>
400 <object class=
"wxPanel" name=
"controls_panel">
403 <object class=
"wxPanel" name=
"controls_panel">
411 <object class=
"notebookpage">
412 <label>wxRadioButton
</label>
413 <object class=
"wxPanel" name=
"radiobutton">
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=
"wxRadioButton" name=
"controls_unselected_radiobutton">
425 <label>Not selected
</label>
428 <object class=
"sizeritem">
429 <flag>wxALIGN_CENTRE|wxALL
</flag>
431 <object class=
"wxRadioButton" name=
"controls_selected_radiobutton">
432 <label>Selected
</label>
439 <object class=
"notebookpage">
440 <label>wxRadioBox
</label>
441 <object class=
"wxPanel" name=
"radiobox">
442 <object class=
"wxFlexGridSizer">
447 <growablecols>0</growablecols>
448 <growablerows>0</growablerows>
449 <object class=
"sizeritem">
450 <flag>wxALIGN_CENTRE|wxALL
</flag>
452 <object class=
"wxRadioBox" name=
"controls_radiobox">
453 <style>wxRA_SPECIFY_COLS
</style>
454 <label>Radio stations
</label>
455 <dimension>1</dimension>
456 <selection>0</selection>
458 <item>Power
108</item>
459 <item>WMMS
100.7</item>
460 <item>Energy
98.3</item>
469 <object class=
"notebookpage">
470 <label>wxScrollBar
</label>
471 <object class=
"wxPanel" name=
"scrollbar">
472 <object class=
"wxFlexGridSizer">
477 <growablecols>0</growablecols>
478 <growablerows>0</growablerows>
479 <object class=
"sizeritem">
480 <flag>wxALIGN_CENTRE|wxALL
</flag>
482 <object class=
"wxScrollBar" name=
"controls_scrollbar">
486 <thumbsize>30</thumbsize>
487 <style>wxSB_VERTICAL
</style>
493 <object class=
"notebookpage">
494 <label>wxSlider
</label>
495 <object class=
"wxPanel" name=
"slider">
496 <object class=
"wxFlexGridSizer">
501 <growablecols>0,
1</growablecols>
502 <growablerows>0,
1</growablerows>
503 <object class=
"sizeritem">
504 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
506 <object class=
"wxStaticText" name=
"controls_slider1_statictext">
507 <label>Without ticks:
</label>
510 <object class=
"sizeritem">
511 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
513 <object class=
"wxSlider" name=
"controls_noticks_slider">
515 <style>wxSL_HORIZONTAL
</style>
520 <object class=
"sizeritem">
521 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
523 <object class=
"wxStaticText" name=
"controls_slider2_statictext">
524 <label>With ticks:
</label>
527 <object class=
"sizeritem">
528 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
530 <object class=
"wxSlider" name=
"controls_ticks_slider">
532 <style>wxSL_HORIZONTAL|wxSL_LABELS
</style>
540 <object class=
"notebookpage">
541 <label>wxSpinButton
</label>
542 <object class=
"wxPanel" name=
"spinbutton">
543 <object class=
"wxFlexGridSizer">
548 <growablecols>0</growablecols>
549 <growablerows>0</growablerows>
550 <object class=
"sizeritem">
551 <flag>wxALIGN_CENTRE|wxALL
</flag>
553 <object class=
"wxSpinButton" name=
"controls_spinbutton">
554 <style>wxSP_WRAP
</style>
562 <object class=
"notebookpage">
563 <label>wxSpinCtrl
</label>
564 <object class=
"wxPanel" name=
"spinctrl">
565 <object class=
"wxFlexGridSizer">
570 <growablecols>0</growablecols>
571 <growablerows>0</growablerows>
572 <object class=
"sizeritem">
573 <flag>wxALIGN_CENTRE|wxALL
</flag>
575 <object class=
"wxSpinCtrl" name=
"controls_spinctrl">
584 <object class=
"notebookpage">
585 <label>wxStaticBitmap
</label>
586 <object class=
"wxPanel" name=
"staticbitmap">
587 <object class=
"wxFlexGridSizer">
592 <growablecols>0</growablecols>
593 <growablerows>0</growablerows>
594 <object class=
"sizeritem">
595 <flag>wxALIGN_CENTRE|wxALL
</flag>
597 <object class=
"wxStaticBitmap" name=
"controls_staticbitmap">
598 <bitmap>appicon.xpm
</bitmap>
604 <object class=
"notebookpage">
605 <label>wxStaticBox
</label>
606 <object class=
"wxPanel" name=
"staticbox">
607 <object class=
"wxFlexGridSizer">
612 <growablecols>0</growablecols>
613 <growablerows>0</growablerows>
614 <object class=
"sizeritem">
615 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
617 <object class=
"wxStaticBoxSizer">
618 <orient>wxVERTICAL
</orient>
619 <label>Internet options
</label>
625 <object class=
"notebookpage">
626 <label>wxStaticLine
</label>
627 <object class=
"wxPanel" name=
"staticline">
628 <object class=
"wxFlexGridSizer">
633 <growablecols>0</growablecols>
634 <growablerows>0,
1</growablerows>
635 <object class=
"sizeritem">
636 <flag>wxALIGN_CENTRE|wxALL
</flag>
638 <object class=
"wxStaticLine" name=
"controls_v_staticline">
640 <style>wxLI_VERTICAL
</style>
643 <object class=
"sizeritem">
644 <flag>wxALIGN_CENTRE|wxALL
</flag>
646 <object class=
"wxStaticLine" name=
"controls_h_staticline">
648 <style>wxLI_HORIZONTAL
</style>
654 <object class=
"notebookpage">
655 <label>wxStaticText
</label>
656 <object class=
"wxPanel" name=
"statictext">
657 <object class=
"wxFlexGridSizer">
662 <growablecols>0</growablecols>
663 <growablerows>0</growablerows>
664 <object class=
"sizeritem">
665 <flag>wxALIGN_CENTRE|wxALL
</flag>
667 <object class=
"wxStaticText" name=
"controls_statictext">
668 <label>It was a dark and stormy night.
</label>
674 <object class=
"notebookpage">
675 <label>wxTextCtrl
</label>
676 <object class=
"wxPanel" name=
"textctrl">
677 <object class=
"wxFlexGridSizer">
682 <growablecols>0,
1</growablecols>
683 <growablerows>0,
1,
2</growablerows>
684 <object class=
"sizeritem">
685 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
687 <object class=
"wxStaticText" name=
"controls_textctrl1_statictext">
688 <label>Single line:
</label>
691 <object class=
"sizeritem">
692 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
694 <object class=
"wxTextCtrl" name=
"controls_single_textctrl">
696 <value>A.A. Milne
</value>
699 <object class=
"sizeritem">
700 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
702 <object class=
"wxStaticText" name=
"controls_textctrl2_statictext">
703 <label>Password:
</label>
706 <object class=
"sizeritem">
707 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
709 <object class=
"wxTextCtrl" name=
"controls_password_textctrl">
711 <style>wxTE_PASSWORD
</style>
712 <value>TooManySecrets
</value>
715 <object class=
"sizeritem">
716 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
718 <object class=
"wxStaticText" name=
"controls_textctrl3_statictext">
719 <label>Multiline:
</label>
722 <object class=
"sizeritem">
723 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
725 <object class=
"wxTextCtrl" name=
"controls_multiline_textctrl">
727 <style>wxTE_MULTILINE
</style>
728 <value>"So many pretty widgets" said Pooh, said he.
"So many pretty widgets", said Pooh.
</value>
734 <object class=
"notebookpage">
735 <label>wxTreeCtrl
</label>
736 <object class=
"wxPanel" name=
"treectrl">
737 <object class=
"wxFlexGridSizer">
742 <growablecols>0</growablecols>
743 <growablerows>0</growablerows>
744 <object class=
"sizeritem">
745 <flag>wxALIGN_CENTRE|wxALL
</flag>
747 <object class=
"wxTreeCtrl" name=
"controls_treectrl">
749 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER
</style>
755 <object class=
"notebookpage">
756 <label>The Rest
</label>
757 <object class=
"wxPanel" name=
"Rest">
758 <object class=
"wxFlexGridSizer">
763 <growablecols>0</growablecols>
764 <growablerows>0,
1,
2,
3,
4,
5,
6</growablerows>
765 <object class=
"sizeritem">
766 <flag>wxALIGN_CENTRE|wxALL
</flag>
768 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
769 <label>wxDialog (This dialog is one)
</label>
772 <object class=
"sizeritem">
773 <flag>wxALIGN_CENTRE|wxALL
</flag>
775 <object class=
"wxStaticText" name=
"controls_frame_statictext">
776 <label>wxFrame (This application's main frame is one)
</label>
779 <object class=
"sizeritem">
780 <flag>wxALIGN_CENTRE|wxALL
</flag>
782 <object class=
"wxStaticText" name=
"controls_menu_statictext">
783 <label>wxMenu (This application's main frame uses one)
</label>
786 <object class=
"sizeritem">
787 <flag>wxALIGN_CENTRE|wxALL
</flag>
789 <object class=
"wxStaticText" name=
"controls_notebook_statictextT">
790 <label>wxNotebook (This dialog uses one)
</label>
793 <object class=
"sizeritem">
794 <flag>wxALIGN_CENTRE|wxALL
</flag>
796 <object class=
"wxStaticText" name=
"controls_sizer">
797 <label>wxSizer (Used throughout application)
</label>
800 <object class=
"sizeritem">
801 <flag>wxALIGN_CENTRE|wxALL
</flag>
803 <object class=
"wxStaticText" name=
"controls_toolbar_statictext">
804 <label>wxToolbar (This application's main frame uses one)
</label>
807 <object class=
"sizeritem">
808 <flag>wxALIGN_CENTRE|wxALL
</flag>
810 <object class=
"wxStaticText" name=
"controls_unknown_statictext">
811 <label>unknown controls (See Custom Class example)
</label>
819 <object class=
"sizeritem">
820 <flag>wxALIGN_CENTRE|wxALL
</flag>
822 <object class=
"wxButton" name=
"wxID_OK">