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