]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> | |
2 | ||
3 | ||
4 | <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1"> | |
5 | ||
6 | <object class="wxDialog" name="controls_dialog"> | |
7 | <title>Controls Example</title> | |
8 | <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style> | |
9 | <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle> | |
10 | <centered>1</centered> | |
11 | <object class="wxFlexGridSizer"> | |
12 | <cols>1</cols> | |
13 | <rows>0</rows> | |
14 | <vgap>0</vgap> | |
15 | <hgap>0</hgap> | |
16 | <growablecols>0</growablecols> | |
17 | <growablerows>0</growablerows> | |
18 | <object class="sizeritem"> | |
19 | <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
20 | <border>5</border> | |
21 | <object class="wxChoicebook" name="controls_book"> | |
22 | <size>550,250</size> | |
23 | ||
24 | <object class="choicebookpage"> | |
25 | <label>wxAnimationCtrl</label> | |
26 | <object class="wxPanel" name="animctrl"> | |
27 | <object class="wxFlexGridSizer"> | |
28 | <cols>2</cols> | |
29 | <rows>1</rows> | |
30 | <vgap>0</vgap> | |
31 | <hgap>0</hgap> | |
32 | <growablecols>0,1</growablecols> | |
33 | <growablerows>0</growablerows> | |
34 | ||
35 | <object class="sizeritem"> | |
36 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
37 | <border>5</border> | |
38 | <object class="wxButton" name="controls_animation_button_play"> | |
39 | <label>Play</label> | |
40 | </object> | |
41 | </object> | |
42 | ||
43 | <object class="sizeritem"> | |
44 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
45 | <border>5</border> | |
46 | <object class="wxAnimationCtrl" name="controls_animation_ctrl"> | |
47 | <animation>throbber.gif</animation> | |
48 | <inactive-bitmap>stop.xpm</inactive-bitmap> | |
49 | </object> | |
50 | </object> | |
51 | ||
52 | </object> | |
53 | </object> | |
54 | </object> | |
55 | ||
56 | <object class="choicebookpage"> | |
57 | <label>wxBannerWindow</label> | |
58 | <object class="wxPanel" name="bannerwindow"> | |
59 | <object class="wxBoxSizer"> | |
60 | <orient>wxHORIZONTAL</orient> | |
61 | ||
62 | <object class="sizeritem"> | |
63 | <flag>wxEXPAND</flag> | |
64 | <object class="wxBannerWindow"> | |
65 | <title>Welcome to banner demo page!</title> | |
66 | <message>This is a default wxLEFT banner with some text.\nThe banner on the top uses a bitmap.</message> | |
67 | </object> | |
68 | </object> | |
69 | ||
70 | <object class="sizeritem"> | |
71 | <flag>wxEXPAND|wxLEFT|wxRIGHT</flag> | |
72 | <option>1</option> | |
73 | <border>15</border> | |
74 | <object class="wxBoxSizer"> | |
75 | <orient>wxVERTICAL</orient> | |
76 | ||
77 | <object class="sizeritem"> | |
78 | <flag>wxEXPAND</flag> | |
79 | <object class="wxBannerWindow"> | |
80 | <direction>wxTOP</direction> | |
81 | <bitmap>wxbanner.gif</bitmap> | |
82 | <fg>yellow</fg> | |
83 | <!-- Using spaces for indentation is ugly but will do for this simple example. --> | |
84 | <title> Tip:</title> | |
85 | <message> You can also use text\n and bitmap together.</message> | |
86 | </object> | |
87 | </object> | |
88 | ||
89 | <object class="spacer"> | |
90 | <option>1</option> | |
91 | </object> | |
92 | ||
93 | <object class="sizeritem"> | |
94 | <flag>wxEXPAND</flag> | |
95 | <object class="wxBannerWindow"> | |
96 | <direction>wxBOTTOM</direction> | |
97 | <title>A word of advice:</title> | |
98 | <message>You probably shouldn't use banners\non all four sides at once.</message> | |
99 | </object> | |
100 | </object> | |
101 | </object> | |
102 | </object> | |
103 | ||
104 | <object class="sizeritem"> | |
105 | <flag>wxEXPAND</flag> | |
106 | <object class="wxBannerWindow"> | |
107 | <direction>wxRIGHT</direction> | |
108 | <title>Custom Banner</title> | |
109 | <message>You can change the gradient colours.</message> | |
110 | <gradient-start>#7f7f7f</gradient-start> | |
111 | <gradient-end>#ffffff</gradient-end> | |
112 | </object> | |
113 | </object> | |
114 | </object> | |
115 | </object> | |
116 | </object> | |
117 | ||
118 | <object class="choicebookpage"> | |
119 | <label>wxButton</label> | |
120 | <object class="wxPanel" name="button"> | |
121 | <object class="wxFlexGridSizer"> | |
122 | <cols>4</cols> | |
123 | <rows>0</rows> | |
124 | <vgap>0</vgap> | |
125 | <hgap>0</hgap> | |
126 | <growablecols>0,1</growablecols> | |
127 | <growablerows>0,1</growablerows> | |
128 | <object class="sizeritem"> | |
129 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
130 | <border>5</border> | |
131 | <object class="wxStaticText" name="controls_normal_button"> | |
132 | <label>Normal button:</label> | |
133 | </object> | |
134 | </object> | |
135 | <object class="sizeritem"> | |
136 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
137 | <border>5</border> | |
138 | <object class="wxButton" name="controls_normal_button"> | |
139 | <label>OK</label> | |
140 | </object> | |
141 | </object> | |
142 | <object class="sizeritem"> | |
143 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
144 | <border>5</border> | |
145 | <object class="wxStaticText" name="controls_statictext2_button"> | |
146 | <label>wxNO_BORDER style:</label> | |
147 | </object> | |
148 | </object> | |
149 | <object class="sizeritem"> | |
150 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
151 | <border>5</border> | |
152 | <object class="wxButton" name="controls_flat_button"> | |
153 | <style>wxNO_BORDER</style> | |
154 | <label>OK</label> | |
155 | </object> | |
156 | </object> | |
157 | <object class="sizeritem"> | |
158 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
159 | <border>5</border> | |
160 | <object class="wxStaticText"> | |
161 | <label>wxBitmapButton</label> | |
162 | </object> | |
163 | </object> | |
164 | <object class="sizeritem"> | |
165 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
166 | <border>5</border> | |
167 | <object class="wxBitmapButton" name="controls_bitmapbutton"> | |
168 | <bitmap>controls.xpm</bitmap> | |
169 | </object> | |
170 | </object> | |
171 | <object class="sizeritem"> | |
172 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
173 | <border>5</border> | |
174 | <object class="wxStaticText"> | |
175 | <label>wxCommandLinkButton:</label> | |
176 | </object> | |
177 | </object> | |
178 | <object class="sizeritem"> | |
179 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
180 | <border>5</border> | |
181 | <object class="wxCommandLinkButton"> | |
182 | <label>Let's do it</label> | |
183 | <note>Whatever it might be</note> | |
184 | </object> | |
185 | </object> | |
186 | </object> | |
187 | </object> | |
188 | </object> | |
189 | <object class="choicebookpage"> | |
190 | <label>wxCalendarControl</label> | |
191 | <object class="wxPanel" name="calendar"> | |
192 | <object class="wxFlexGridSizer"> | |
193 | <cols>1</cols> | |
194 | <rows>0</rows> | |
195 | <vgap>0</vgap> | |
196 | <hgap>0</hgap> | |
197 | <growablecols>0</growablecols> | |
198 | <growablerows>0</growablerows> | |
199 | <object class="sizeritem"> | |
200 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
201 | <border>5</border> | |
202 | <object class="wxCalendarCtrl" name="controls_calendarctrl"> | |
203 | <size>-1,-1</size> | |
204 | </object> | |
205 | </object> | |
206 | </object> | |
207 | </object> | |
208 | </object> | |
209 | <object class="choicebookpage"> | |
210 | <label>wxCheckBox</label> | |
211 | <object class="wxPanel" name="checkbox"> | |
212 | <object class="wxFlexGridSizer"> | |
213 | <cols>1</cols> | |
214 | <rows>0</rows> | |
215 | <vgap>0</vgap> | |
216 | <hgap>0</hgap> | |
217 | <growablecols>0</growablecols> | |
218 | <growablerows>0</growablerows> | |
219 | <object class="sizeritem"> | |
220 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
221 | <border>5</border> | |
222 | <object class="wxCheckBox" name="controls_unchecked_checkbox"> | |
223 | <label>Unchecked initially</label> | |
224 | </object> | |
225 | </object> | |
226 | <object class="sizeritem"> | |
227 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
228 | <border>5</border> | |
229 | <object class="wxCheckBox" name="controls_checked_checkbox"> | |
230 | <label>Checked initially</label> | |
231 | <checked>1</checked> | |
232 | </object> | |
233 | </object> | |
234 | </object> | |
235 | </object> | |
236 | </object> | |
237 | <object class="choicebookpage"> | |
238 | <label>wxCheckListBox</label> | |
239 | <object class="wxPanel" name="checklist"> | |
240 | <object class="wxFlexGridSizer"> | |
241 | <cols>1</cols> | |
242 | <rows>0</rows> | |
243 | <vgap>0</vgap> | |
244 | <hgap>0</hgap> | |
245 | <growablecols>0</growablecols> | |
246 | <growablerows>0</growablerows> | |
247 | <object class="sizeritem"> | |
248 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
249 | <border>5</border> | |
250 | <object class="wxCheckListBox" name="conrols_checklist"> | |
251 | <size>180,180</size> | |
252 | <content> | |
253 | <item checked="1">Download library</item> | |
254 | <item checked="1">Compile samples</item> | |
255 | <item checked="1">Skim docs</item> | |
256 | <item checked="1">Finish project</item> | |
257 | <item>Wash car</item> | |
258 | </content> | |
259 | </object> | |
260 | </object> | |
261 | </object> | |
262 | </object> | |
263 | </object> | |
264 | ||
265 | <object class="choicebookpage"> | |
266 | <label>wxChoice</label> | |
267 | <object class="wxPanel" name="choice"> | |
268 | <object class="wxFlexGridSizer"> | |
269 | <cols>1</cols> | |
270 | <rows>0</rows> | |
271 | <vgap>0</vgap> | |
272 | <hgap>0</hgap> | |
273 | <growablecols>0</growablecols> | |
274 | <growablerows>0</growablerows> | |
275 | <object class="sizeritem"> | |
276 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
277 | <border>5</border> | |
278 | <object class="wxChoice" name="controls_choice"> | |
279 | <size>180,-1</size> | |
280 | <content> | |
281 | <item>See</item> | |
282 | <item>Hear</item> | |
283 | <item>Feel</item> | |
284 | <item>Smell</item> | |
285 | <item>Taste</item> | |
286 | <item>The Sixth Sense!</item> | |
287 | </content> | |
288 | </object> | |
289 | </object> | |
290 | </object> | |
291 | </object> | |
292 | </object> | |
293 | ||
294 | <object class="choicebookpage"> | |
295 | <label>wxCollapsiblePane</label> | |
296 | <object class="wxPanel" name="collpane"> | |
297 | <object class="wxFlexGridSizer"> | |
298 | <cols>1</cols> | |
299 | <rows>1</rows> | |
300 | <vgap>0</vgap> | |
301 | <hgap>0</hgap> | |
302 | <growablecols>0</growablecols> | |
303 | <growablerows>0</growablerows> | |
304 | ||
305 | <object class="sizeritem"> | |
306 | <flag>wxGROW|wxALL</flag> | |
307 | <border>5</border> | |
308 | <option>1</option> | |
309 | <object class="wxCollapsiblePane" name="controls_collpane"> | |
310 | <label>Details:</label> | |
311 | <collapsed>0</collapsed> | |
312 | <object class="panewindow"> | |
313 | ||
314 | <object class="wxFlexGridSizer"> | |
315 | <cols>1</cols> | |
316 | <rows>1</rows> | |
317 | <vgap>0</vgap> | |
318 | <hgap>0</hgap> | |
319 | <growablecols>0</growablecols> | |
320 | <growablerows>0</growablerows> | |
321 | ||
322 | <object class="sizeritem"> | |
323 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
324 | <border>5</border> | |
325 | <object class="wxStaticText" name="controls_dialog_statictext"> | |
326 | <label> | |
327 | Inside a wxCollapsiblePane you can put everything you want and | |
328 | lay them out using wxSizers, absolute positioning, everything you like! | |
329 | </label> | |
330 | </object> | |
331 | </object> | |
332 | </object> | |
333 | ||
334 | </object> | |
335 | </object> | |
336 | </object> | |
337 | ||
338 | </object> | |
339 | </object> | |
340 | </object> | |
341 | ||
342 | <object class="choicebookpage"> | |
343 | <label>wxComboBox</label> | |
344 | <object class="wxPanel" name="combobox"> | |
345 | <object class="wxFlexGridSizer"> | |
346 | <cols>1</cols> | |
347 | <rows>0</rows> | |
348 | <vgap>0</vgap> | |
349 | <hgap>0</hgap> | |
350 | <growablecols>0</growablecols> | |
351 | <growablerows>0</growablerows> | |
352 | <object class="sizeritem"> | |
353 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
354 | <border>5</border> | |
355 | <object class="wxComboBox" name="controls_combobox"> | |
356 | <size>200,-1</size> | |
357 | <style>wxCB_DROPDOWN</style> | |
358 | <selection>4</selection> | |
359 | <content> | |
360 | <item>vim</item> | |
361 | <item>emacs</item> | |
362 | <item>notepad.exe</item> | |
363 | <item>bbedit</item> | |
364 | <item>nedit</item> | |
365 | </content> | |
366 | </object> | |
367 | </object> | |
368 | <object class="sizeritem"> | |
369 | <flag>wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL</flag> | |
370 | <border>5</border> | |
371 | <object class="wxBitmapComboBox"> | |
372 | <size>200,-1</size> | |
373 | <style>wxCB_READONLY</style> | |
374 | <selection>2</selection> | |
375 | <object class="ownerdrawnitem"> | |
376 | <text>This is a</text> | |
377 | <bitmap>basicdlg.xpm</bitmap> | |
378 | </object> | |
379 | <object class="ownerdrawnitem"> | |
380 | <text>read-only</text> | |
381 | <bitmap>derivdlg.xpm</bitmap> | |
382 | </object> | |
383 | <object class="ownerdrawnitem"> | |
384 | <text>wxBitmapComboBox</text> | |
385 | <bitmap>uncenter.xpm</bitmap> | |
386 | </object> | |
387 | <object class="ownerdrawnitem"> | |
388 | <text>control</text> | |
389 | <bitmap>custclas.xpm</bitmap> | |
390 | </object> | |
391 | </object> | |
392 | </object> | |
393 | </object> | |
394 | </object> | |
395 | </object> | |
396 | <object class="choicebookpage"> | |
397 | <label>wxGauge</label> | |
398 | <object class="wxPanel" name="gauge"> | |
399 | <object class="wxFlexGridSizer"> | |
400 | <cols>2</cols> | |
401 | <rows>0</rows> | |
402 | <vgap>0</vgap> | |
403 | <hgap>0</hgap> | |
404 | <growablecols>0,1</growablecols> | |
405 | <growablerows>0,1</growablerows> | |
406 | <object class="sizeritem"> | |
407 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
408 | <border>5</border> | |
409 | <object class="wxStaticText" name="controls_guage1_statictext"> | |
410 | <label>Horizontal smooth:</label> | |
411 | </object> | |
412 | </object> | |
413 | <object class="sizeritem"> | |
414 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
415 | <border>5</border> | |
416 | <object class="wxGauge" name="controls_horizontal_gauge"> | |
417 | <style>wxGA_SMOOTH</style> | |
418 | <size>100,-1</size> | |
419 | <range>100</range> | |
420 | <value>50</value> | |
421 | </object> | |
422 | </object> | |
423 | <object class="sizeritem"> | |
424 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
425 | <border>5</border> | |
426 | <object class="wxStaticText" name="controls_gauge2_statictext"> | |
427 | <label>Vertical: custom width</label> | |
428 | </object> | |
429 | </object> | |
430 | <object class="sizeritem"> | |
431 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
432 | <border>5</border> | |
433 | <object class="wxGauge" name="controls_vertical_gauge"> | |
434 | <style>wxGA_VERTICAL</style> | |
435 | <size>40,60</size> | |
436 | <range>100</range> | |
437 | <value>40</value> | |
438 | </object> | |
439 | </object> | |
440 | </object> | |
441 | </object> | |
442 | </object> | |
443 | <object class="choicebookpage"> | |
444 | <label>wxFile/DirCtrl</label> | |
445 | <object class="wxPanel" name="genericdirctrl"> | |
446 | <object class="wxFlexGridSizer"> | |
447 | <cols>2</cols> | |
448 | <growablecols>1</growablecols> | |
449 | <growablerows>1</growablerows> | |
450 | <object class="sizeritem"> | |
451 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
452 | <object class="wxStaticText"> | |
453 | <label>wxGenericDirCtrl</label> | |
454 | </object> | |
455 | </object> | |
456 | <object class="sizeritem"> | |
457 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
458 | <object class="wxStaticText"> | |
459 | <label>wxFileCtrl</label> | |
460 | </object> | |
461 | </object> | |
462 | ||
463 | <object class="sizeritem"> | |
464 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
465 | <border>5</border> | |
466 | <object class="wxGenericDirCtrl" name="controls_genericdirctrl"> | |
467 | <size>200,200</size> | |
468 | </object> | |
469 | </object> | |
470 | <object class="sizeritem"> | |
471 | <flag>wxEXPAND|wxALL</flag> | |
472 | <border>5</border> | |
473 | <object class="wxFileCtrl"> | |
474 | <wildcard>Text files (*.txt)</wildcard> | |
475 | <message>Choose file</message> | |
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>wxRibbonBar</label> | |
750 | <object class="wxRibbonBar" name="ribbonbar"> | |
751 | <object class="page" name="RibbonPage1"> | |
752 | <label>First</label> | |
753 | <object class="panel"> | |
754 | <label>Applicative stuff</label> | |
755 | <object class="wxRibbonButtonBar"> | |
756 | <object class="button" name="App"> | |
757 | <bitmap>derivdlg.xpm</bitmap> | |
758 | <label>Derived</label> | |
759 | </object> | |
760 | <object class="button" name="App2"> | |
761 | <bitmap>basicdlg.xpm</bitmap> | |
762 | <label>Basic</label> | |
763 | </object> | |
764 | <object class="button" name="App3"> | |
765 | <bitmap>custclas.xpm</bitmap> | |
766 | <label>Custom</label> | |
767 | </object> | |
768 | </object> | |
769 | </object> | |
770 | </object> | |
771 | <object class="page" name="RibbonPage2"> | |
772 | <label>Second page</label> | |
773 | <object class="panel"> | |
774 | <label>Gallery test</label> | |
775 | <object class="wxRibbonGallery"> | |
776 | <object class="item"> | |
777 | <bitmap>derivdlg.xpm</bitmap> | |
778 | </object> | |
779 | <object class="item"> | |
780 | <bitmap>basicdlg.xpm</bitmap> | |
781 | </object> | |
782 | <object class="item"> | |
783 | <bitmap>custclas.xpm</bitmap> | |
784 | </object> | |
785 | <object class="item"> | |
786 | <bitmap>artprov.xpm</bitmap> | |
787 | </object> | |
788 | </object> | |
789 | </object> | |
790 | </object> | |
791 | </object> | |
792 | </object> | |
793 | <object class="choicebookpage"> | |
794 | <label>wxScrollBar</label> | |
795 | <object class="wxPanel" name="scrollbar"> | |
796 | <object class="wxFlexGridSizer"> | |
797 | <cols>1</cols> | |
798 | <rows>0</rows> | |
799 | <vgap>0</vgap> | |
800 | <hgap>0</hgap> | |
801 | <growablecols>0</growablecols> | |
802 | <growablerows>0</growablerows> | |
803 | <object class="sizeritem"> | |
804 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
805 | <border>5</border> | |
806 | <object class="wxScrollBar" name="controls_scrollbar"> | |
807 | <size>-1,160</size> | |
808 | <value>50</value> | |
809 | <range>100</range> | |
810 | <thumbsize>30</thumbsize> | |
811 | <style>wxSB_VERTICAL</style> | |
812 | </object> | |
813 | </object> | |
814 | </object> | |
815 | </object> | |
816 | </object> | |
817 | <object class="choicebookpage"> | |
818 | <label>wxSlider</label> | |
819 | <object class="wxPanel" name="slider"> | |
820 | <object class="wxFlexGridSizer"> | |
821 | <cols>2</cols> | |
822 | <rows>0</rows> | |
823 | <vgap>0</vgap> | |
824 | <hgap>0</hgap> | |
825 | <growablecols>0,1</growablecols> | |
826 | <growablerows>0,1</growablerows> | |
827 | <object class="sizeritem"> | |
828 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
829 | <border>5</border> | |
830 | <object class="wxStaticText" name="controls_slider1_statictext"> | |
831 | <label>Without ticks:</label> | |
832 | </object> | |
833 | </object> | |
834 | <object class="sizeritem"> | |
835 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
836 | <border>5</border> | |
837 | <object class="wxSlider" name="controls_noticks_slider"> | |
838 | <size>100,-1</size> | |
839 | <style>wxSL_HORIZONTAL</style> | |
840 | <max>100</max> | |
841 | <value>0</value> | |
842 | </object> | |
843 | </object> | |
844 | <object class="sizeritem"> | |
845 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
846 | <border>5</border> | |
847 | <object class="wxStaticText" name="controls_slider2_statictext"> | |
848 | <label>With ticks:</label> | |
849 | </object> | |
850 | </object> | |
851 | <object class="sizeritem"> | |
852 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
853 | <border>5</border> | |
854 | <object class="wxSlider" name="controls_ticks_slider"> | |
855 | <size>100,-1</size> | |
856 | <style>wxSL_HORIZONTAL|wxSL_LABELS</style> | |
857 | <max>100</max> | |
858 | <value>0</value> | |
859 | </object> | |
860 | </object> | |
861 | </object> | |
862 | </object> | |
863 | </object> | |
864 | <object class="choicebookpage"> | |
865 | <label>wxSpinButton</label> | |
866 | <object class="wxPanel" name="spinbutton"> | |
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="wxSpinButton" name="controls_spinbutton"> | |
878 | <style>wxSP_WRAP</style> | |
879 | <max>100</max> | |
880 | <value>0</value> | |
881 | </object> | |
882 | </object> | |
883 | </object> | |
884 | </object> | |
885 | </object> | |
886 | <object class="choicebookpage"> | |
887 | <label>wxSpinCtrl</label> | |
888 | <object class="wxPanel" name="spinctrl"> | |
889 | <object class="wxFlexGridSizer"> | |
890 | <cols>1</cols> | |
891 | <rows>0</rows> | |
892 | <vgap>0</vgap> | |
893 | <hgap>0</hgap> | |
894 | <growablecols>0</growablecols> | |
895 | <growablerows>0</growablerows> | |
896 | <object class="sizeritem"> | |
897 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
898 | <border>5</border> | |
899 | <object class="wxSpinCtrl" name="controls_spinctrl"> | |
900 | <size>100,-1</size> | |
901 | <max>100</max> | |
902 | <value>17</value> | |
903 | <base>16</base> | |
904 | </object> | |
905 | </object> | |
906 | </object> | |
907 | </object> | |
908 | </object> | |
909 | <object class="choicebookpage"> | |
910 | <label>wxStaticBitmap</label> | |
911 | <object class="wxPanel" name="staticbitmap"> | |
912 | <object class="wxFlexGridSizer"> | |
913 | <cols>1</cols> | |
914 | <rows>0</rows> | |
915 | <vgap>0</vgap> | |
916 | <hgap>0</hgap> | |
917 | <growablecols>0</growablecols> | |
918 | <growablerows>0</growablerows> | |
919 | <object class="sizeritem"> | |
920 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
921 | <border>5</border> | |
922 | <object class="wxStaticBitmap" name="controls_staticbitmap"> | |
923 | <bitmap>stop.xpm</bitmap> | |
924 | </object> | |
925 | </object> | |
926 | </object> | |
927 | </object> | |
928 | </object> | |
929 | <object class="choicebookpage"> | |
930 | <label>wxStaticBox</label> | |
931 | <object class="wxPanel" name="staticbox"> | |
932 | <object class="wxFlexGridSizer"> | |
933 | <cols>1</cols> | |
934 | <rows>0</rows> | |
935 | <vgap>0</vgap> | |
936 | <hgap>0</hgap> | |
937 | <growablecols>0</growablecols> | |
938 | <growablerows>0</growablerows> | |
939 | <object class="sizeritem"> | |
940 | <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
941 | <border>5</border> | |
942 | <object class="wxStaticBoxSizer"> | |
943 | <orient>wxVERTICAL</orient> | |
944 | <label>Internet options</label> | |
945 | </object> | |
946 | </object> | |
947 | </object> | |
948 | </object> | |
949 | </object> | |
950 | <object class="choicebookpage"> | |
951 | <label>wxStaticLine</label> | |
952 | <object class="wxPanel" name="staticline"> | |
953 | <object class="wxFlexGridSizer"> | |
954 | <cols>1</cols> | |
955 | <rows>0</rows> | |
956 | <vgap>0</vgap> | |
957 | <hgap>0</hgap> | |
958 | <growablecols>0</growablecols> | |
959 | <growablerows>0,1</growablerows> | |
960 | <object class="sizeritem"> | |
961 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
962 | <border>5</border> | |
963 | <object class="wxStaticLine" name="controls_v_staticline"> | |
964 | <size>-1,100</size> | |
965 | <style>wxLI_VERTICAL</style> | |
966 | </object> | |
967 | </object> | |
968 | <object class="sizeritem"> | |
969 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
970 | <border>5</border> | |
971 | <object class="wxStaticLine" name="controls_h_staticline"> | |
972 | <size>150,-1</size> | |
973 | <style>wxLI_HORIZONTAL</style> | |
974 | </object> | |
975 | </object> | |
976 | </object> | |
977 | </object> | |
978 | </object> | |
979 | <object class="choicebookpage"> | |
980 | <label>wxStaticText</label> | |
981 | <object class="wxPanel" name="statictext"> | |
982 | <font> | |
983 | <size>12</size> | |
984 | </font> | |
985 | <object class="wxFlexGridSizer"> | |
986 | <cols>2</cols> | |
987 | <rows>0</rows> | |
988 | <vgap>0</vgap> | |
989 | <hgap>0</hgap> | |
990 | <growablecols>0,1</growablecols> | |
991 | <growablerows>0,1,2</growablerows> | |
992 | <object class="sizeritem"> | |
993 | <flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL</flag> | |
994 | <border>5</border> | |
995 | <object class="wxStaticText" name="wxID_STATIC"> | |
996 | <label>Default font:</label> | |
997 | </object> | |
998 | </object> | |
999 | <object class="sizeritem"> | |
1000 | <flag>wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL</flag> | |
1001 | <border>5</border> | |
1002 | <object class="wxStaticText" name="controls_statictext"> | |
1003 | <label>It was a dark and stormy night.</label> | |
1004 | </object> | |
1005 | </object> | |
1006 | <object class="sizeritem"> | |
1007 | <flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL</flag> | |
1008 | <border>5</border> | |
1009 | <object class="wxStaticText" name="wxID_STATIC"> | |
1010 | <label>Default constructed bold font:</label> | |
1011 | </object> | |
1012 | </object> | |
1013 | <object class="sizeritem"> | |
1014 | <flag>wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL</flag> | |
1015 | <border>5</border> | |
1016 | <object class="wxStaticText" name="controls_statictext"> | |
1017 | <label>It was a dark and stormy night.</label> | |
1018 | <font> | |
1019 | <weight>bold</weight> | |
1020 | </font> | |
1021 | </object> | |
1022 | </object> | |
1023 | <object class="sizeritem"> | |
1024 | <flag>wxALIGN_RIGHT|wxALIGN_CENTRE_VERTICAL|wxALL</flag> | |
1025 | <border>5</border> | |
1026 | <object class="wxStaticText" name="wxID_STATIC"> | |
1027 | <label>Inheritance constructed bold font:</label> | |
1028 | </object> | |
1029 | </object> | |
1030 | <object class="sizeritem"> | |
1031 | <flag>wxALIGN_LEFT|wxALIGN_CENTRE_VERTICAL</flag> | |
1032 | <border>5</border> | |
1033 | <object class="wxStaticText" name="controls_statictext"> | |
1034 | <label>It was a dark and stormy night.</label> | |
1035 | <font> | |
1036 | <inherit>1</inherit> | |
1037 | <weight>bold</weight> | |
1038 | </font> | |
1039 | </object> | |
1040 | </object> | |
1041 | </object> | |
1042 | </object> | |
1043 | </object> | |
1044 | <object class="choicebookpage"> | |
1045 | <label>wxTextCtrl</label> | |
1046 | <object class="wxPanel" name="textctrl"> | |
1047 | <object class="wxFlexGridSizer"> | |
1048 | <cols>2</cols> | |
1049 | <rows>0</rows> | |
1050 | <vgap>0</vgap> | |
1051 | <hgap>0</hgap> | |
1052 | <growablecols>0,1</growablecols> | |
1053 | <growablerows>0,1,2</growablerows> | |
1054 | <object class="sizeritem"> | |
1055 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1056 | <border>5</border> | |
1057 | <object class="wxStaticText" name="controls_textctrl1_statictext"> | |
1058 | <label>Single line:</label> | |
1059 | </object> | |
1060 | </object> | |
1061 | <object class="sizeritem"> | |
1062 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1063 | <border>5</border> | |
1064 | <object class="wxTextCtrl" name="controls_single_textctrl"> | |
1065 | <size>180,-1</size> | |
1066 | <value>A.A. Milne</value> | |
1067 | </object> | |
1068 | </object> | |
1069 | <object class="sizeritem"> | |
1070 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1071 | <border>5</border> | |
1072 | <object class="wxStaticText" name="controls_textctrl2_statictext"> | |
1073 | <label>Password:</label> | |
1074 | </object> | |
1075 | </object> | |
1076 | <object class="sizeritem"> | |
1077 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1078 | <border>5</border> | |
1079 | <object class="wxTextCtrl" name="controls_password_textctrl"> | |
1080 | <size>180,-1</size> | |
1081 | <style>wxTE_PASSWORD</style> | |
1082 | <value>TooManySecrets</value> | |
1083 | </object> | |
1084 | </object> | |
1085 | <object class="sizeritem"> | |
1086 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1087 | <border>5</border> | |
1088 | <object class="wxStaticText" name="controls_textctrl3_statictext"> | |
1089 | <label>Multiline:</label> | |
1090 | </object> | |
1091 | </object> | |
1092 | <object class="sizeritem"> | |
1093 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1094 | <border>5</border> | |
1095 | <object class="wxTextCtrl" name="controls_multiline_textctrl"> | |
1096 | <size>180,90</size> | |
1097 | <style>wxTE_MULTILINE</style> | |
1098 | <value>"So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh.</value> | |
1099 | </object> | |
1100 | </object> | |
1101 | <object class="sizeritem"> | |
1102 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1103 | <border>5</border> | |
1104 | <object class="wxStaticText" name="controls_textctrl4_statictext"> | |
1105 | <label>Search for:</label> | |
1106 | </object> | |
1107 | </object> | |
1108 | <object class="sizeritem"> | |
1109 | <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1110 | <border>5</border> | |
1111 | <object class="wxSearchCtrl" name="controls_multiline_searchctrl"> | |
1112 | <size>180,-1</size> | |
1113 | <value>true love</value> | |
1114 | </object> | |
1115 | </object> | |
1116 | </object> | |
1117 | </object> | |
1118 | </object> | |
1119 | ||
1120 | <object class="choicebookpage"> | |
1121 | <label>wxToolBar</label> | |
1122 | <object class="wxPanel" name="button"> | |
1123 | <object class="wxFlexGridSizer"> | |
1124 | <cols>2</cols> | |
1125 | <rows>0</rows> | |
1126 | <vgap>0</vgap> | |
1127 | <hgap>0</hgap> | |
1128 | <growablecols>1</growablecols> | |
1129 | <object class="sizeritem"> | |
1130 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1131 | <border>5</border> | |
1132 | <object class="wxStaticText" name="controls_normal_button"> | |
1133 | <label>Transparent background:</label> | |
1134 | </object> | |
1135 | </object> | |
1136 | <object class="sizeritem"> | |
1137 | <flag>wxEXPAND|wxALL</flag> | |
1138 | <border>5</border> | |
1139 | <object class="wxToolBar"> | |
1140 | <style>wxTB_FLAT|wxTB_NODIVIDER</style> | |
1141 | <margins>2,2</margins> | |
1142 | <object class="tool" name="New"> | |
1143 | <bitmap stock_id="wxART_NEW"/> | |
1144 | <label>New</label> | |
1145 | </object> | |
1146 | <object class="tool" name="view_auto"> | |
1147 | <bitmap stock_id="wxART_FILE_OPEN"/> | |
1148 | <label>View</label> | |
1149 | <dropdown> | |
1150 | <object class="wxMenu"> | |
1151 | <object class="wxMenuItem" name="view_as_text"> | |
1152 | <label>View as text</label> | |
1153 | </object> | |
1154 | <object class="wxMenuItem" name="view_as_hex"> | |
1155 | <label>View as binary</label> | |
1156 | </object> | |
1157 | </object> | |
1158 | </dropdown> | |
1159 | </object> | |
1160 | <object class="separator"/> | |
1161 | <object class="tool" name="home"> | |
1162 | <toggle>1</toggle> | |
1163 | <bitmap stock_id="wxART_GO_HOME"/> | |
1164 | <label>Home</label> | |
1165 | </object> | |
1166 | <object class="separator"/> | |
1167 | <object class="tool" name="up"> | |
1168 | <radio>1</radio> | |
1169 | <bitmap stock_id="wxART_GO_UP"/> | |
1170 | <label>Up</label> | |
1171 | </object> | |
1172 | <object class="tool" name="down"> | |
1173 | <radio>1</radio> | |
1174 | <bitmap stock_id="wxART_GO_DOWN"/> | |
1175 | <label>Down</label> | |
1176 | </object> | |
1177 | <object class="space"/> | |
1178 | <object class="wxComboBox"> | |
1179 | <content> | |
1180 | <item>Just</item> | |
1181 | <item>a combobox</item> | |
1182 | <item>in the toolbar</item> | |
1183 | </content> | |
1184 | </object> | |
1185 | <object class="wxOwnerDrawnComboBox"> | |
1186 | <content> | |
1187 | <item>Owner Drawn</item> | |
1188 | <item>combobox</item> | |
1189 | <item>in the toolbar</item> | |
1190 | </content> | |
1191 | </object> | |
1192 | </object> | |
1193 | </object> | |
1194 | <object class="sizeritem"> | |
1195 | <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag> | |
1196 | <border>5</border> | |
1197 | <object class="wxStaticText" name="controls_statictext2_button"> | |
1198 | <label>Fixed color background:</label> | |
1199 | </object> | |
1200 | </object> | |
1201 | <object class="sizeritem"> | |
1202 | <flag>wxEXPAND|wxALL</flag> | |
1203 | <border>5</border> | |
1204 | <object class="wxToolBar"> | |
1205 | <style>wxTB_FLAT|wxTB_NODIVIDER</style> | |
1206 | <bg>#bbbbff</bg> | |
1207 | <margins>2,2</margins> | |
1208 | <object class="tool" name="New"> | |
1209 | <bitmap stock_id="wxART_NEW"/> | |
1210 | <label>New</label> | |
1211 | </object> | |
1212 | <object class="tool" name="view_auto"> | |
1213 | <bitmap stock_id="wxART_FILE_OPEN"/> | |
1214 | <label>View</label> | |
1215 | <dropdown> | |
1216 | <object class="wxMenu"> | |
1217 | <object class="wxMenuItem" name="view_as_text"> | |
1218 | <label>View as text</label> | |
1219 | </object> | |
1220 | <object class="wxMenuItem" name="view_as_hex"> | |
1221 | <label>View as binary</label> | |
1222 | </object> | |
1223 | </object> | |
1224 | </dropdown> | |
1225 | </object> | |
1226 | <object class="separator"/> | |
1227 | <object class="tool" name="home"> | |
1228 | <toggle>1</toggle> | |
1229 | <bitmap stock_id="wxART_GO_HOME"/> | |
1230 | <label>Home</label> | |
1231 | </object> | |
1232 | <object class="separator"/> | |
1233 | <object class="tool" name="up"> | |
1234 | <radio>1</radio> | |
1235 | <bitmap stock_id="wxART_GO_UP"/> | |
1236 | <label>Up</label> | |
1237 | </object> | |
1238 | <object class="tool" name="down"> | |
1239 | <radio>1</radio> | |
1240 | <bitmap stock_id="wxART_GO_DOWN"/> | |
1241 | <label>Down</label> | |
1242 | </object> | |
1243 | <object class="space"/> | |
1244 | <object class="wxComboBox"> | |
1245 | <content> | |
1246 | <item>Just</item> | |
1247 | <item>a combobox</item> | |
1248 | <item>in the toolbar</item> | |
1249 | </content> | |
1250 | </object> | |
1251 | <object class="wxOwnerDrawnComboBox"> | |
1252 | <content> | |
1253 | <item>Owner Drawn</item> | |
1254 | <item>combobox</item> | |
1255 | <item>in the toolbar</item> | |
1256 | </content> | |
1257 | </object> | |
1258 | </object> | |
1259 | </object> | |
1260 | </object> | |
1261 | </object> | |
1262 | </object> | |
1263 | ||
1264 | <object class="choicebookpage"> | |
1265 | <label>wxToolbook</label> | |
1266 | <object class="wxToolbook" name="controls_toolbook"> | |
1267 | <style>wxTBK_HORZ_LAYOUT</style> | |
1268 | <size>350,280</size> | |
1269 | <imagelist> | |
1270 | <bitmap stock_id="wxART_QUESTION"/> | |
1271 | <bitmap stock_id="wxART_INFORMATION"/> | |
1272 | <bitmap stock_id="wxART_GO_HOME"/> | |
1273 | </imagelist> | |
1274 | <object class="toolbookpage"> | |
1275 | <label>Page 1</label> | |
1276 | <image>0</image> | |
1277 | <object class="wxButton" name="controls_toolbook_button1"> | |
1278 | <label>Button N1</label> | |
1279 | </object> | |
1280 | </object> | |
1281 | <object class="toolbookpage"> | |
1282 | <label>Page 2</label> | |
1283 | <image>1</image> | |
1284 | <object class="wxButton" name="controls_toolbook_button2"> | |
1285 | <label>Button N2</label> | |
1286 | </object> | |
1287 | </object> | |
1288 | <object class="toolbookpage"> | |
1289 | <label>Page 3</label> | |
1290 | <image>2</image> | |
1291 | <object class="wxButton" name="controls_toolbook_button3"> | |
1292 | <label>Button N3</label> | |
1293 | </object> | |
1294 | </object> | |
1295 | </object> | |
1296 | </object> | |
1297 | ||
1298 | <object class="choicebookpage"> | |
1299 | <label>wxTreebook</label> | |
1300 | <object class="wxTreebook" name="controls_treebook"> | |
1301 | <size>350,280</size> | |
1302 | <style>wxSUNKEN_BORDER</style> | |
1303 | <imagelist> | |
1304 | <size>16,16</size> | |
1305 | <bitmap stock_id="wxART_HELP_BOOK"/> | |
1306 | <bitmap stock_id="wxART_QUESTION"/> | |
1307 | <bitmap stock_id="wxART_INFORMATION"/> | |
1308 | <bitmap stock_id="wxART_GO_HOME"/> | |
1309 | </imagelist> | |
1310 | <object class="treebookpage"> | |
1311 | <label>Page 1</label> | |
1312 | <depth>0</depth> | |
1313 | <image>0</image> | |
1314 | <expanded>1</expanded> | |
1315 | <object class="wxButton" name="controls_treebook_button1"> | |
1316 | <size>200,180</size> | |
1317 | <label>Button N1</label> | |
1318 | </object> | |
1319 | </object> | |
1320 | <object class="treebookpage"> | |
1321 | <label>Empty Page 2</label> | |
1322 | <depth>1</depth> | |
1323 | <image>1</image> | |
1324 | <expanded>1</expanded> | |
1325 | <object class="wxPanel"/> | |
1326 | </object> | |
1327 | <object class="treebookpage"> | |
1328 | <label>Page 3</label> | |
1329 | <depth>2</depth> | |
1330 | <image>2</image> | |
1331 | <object class="wxButton" name="controls_treebook_button3"> | |
1332 | <size>200,180</size> | |
1333 | <label>Button N3</label> | |
1334 | </object> | |
1335 | </object> | |
1336 | <object class="treebookpage"> | |
1337 | <label>Page 4</label> | |
1338 | <depth>1</depth> | |
1339 | <image>3</image> | |
1340 | <object class="wxButton" name="controls_treebook_button4"> | |
1341 | <size>200,180</size> | |
1342 | <label>Button N4</label> | |
1343 | </object> | |
1344 | </object> | |
1345 | </object> | |
1346 | </object> | |
1347 | ||
1348 | <object class="choicebookpage"> | |
1349 | <label>wxTreeCtrl</label> | |
1350 | <object class="wxPanel" name="treectrl"> | |
1351 | <object class="wxFlexGridSizer"> | |
1352 | <cols>1</cols> | |
1353 | <rows>0</rows> | |
1354 | <vgap>0</vgap> | |
1355 | <hgap>0</hgap> | |
1356 | <growablecols>0</growablecols> | |
1357 | <growablerows>0</growablerows> | |
1358 | <object class="sizeritem"> | |
1359 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1360 | <border>5</border> | |
1361 | <object class="wxTreeCtrl" name="controls_treectrl"> | |
1362 | <size>280,180</size> | |
1363 | <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER</style> | |
1364 | </object> | |
1365 | </object> | |
1366 | </object> | |
1367 | </object> | |
1368 | </object> | |
1369 | ||
1370 | <object class="choicebookpage"> | |
1371 | <label>wx*PickerCtrl</label> | |
1372 | <object class="wxPanel" name="pickers"> | |
1373 | <object class="wxFlexGridSizer"> | |
1374 | <cols>2</cols> | |
1375 | <rows>0</rows> | |
1376 | <vgap>10</vgap> | |
1377 | <hgap>10</hgap> | |
1378 | <growablecols>0,1</growablecols> | |
1379 | <growablerows>0,1,2,3</growablerows> | |
1380 | <object class="sizeritem"> | |
1381 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1382 | <border>5</border> | |
1383 | <object class="wxStaticText" name="controls_pickers_statictext"> | |
1384 | <label>wxColourPickerCtrl:</label> | |
1385 | </object> | |
1386 | </object> | |
1387 | <object class="sizeritem"> | |
1388 | <flag>wxGROW|wxALL</flag> | |
1389 | <option>1</option> | |
1390 | <border>5</border> | |
1391 | <object class="wxColourPickerCtrl" name="controls_colourpicker"> | |
1392 | <value>#00ff00</value> | |
1393 | <style>wxCLRP_SHOW_LABEL</style> | |
1394 | </object> | |
1395 | </object> | |
1396 | <object class="sizeritem"> | |
1397 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1398 | <border>5</border> | |
1399 | <object class="wxStaticText" name="controls_pickers_statictext2"> | |
1400 | <label>wxFilePickerCtrl:</label> | |
1401 | </object> | |
1402 | </object> | |
1403 | <object class="sizeritem"> | |
1404 | <flag>wxGROW|wxALL</flag> | |
1405 | <option>1</option> | |
1406 | <border>5</border> | |
1407 | <object class="wxFilePickerCtrl" name="controls_filepicker"> | |
1408 | <message>Here goes a message</message> | |
1409 | <style>wxFLP_OPEN</style> | |
1410 | <wildcard>*.png</wildcard> | |
1411 | <value/> | |
1412 | </object> | |
1413 | </object> | |
1414 | <object class="sizeritem"> | |
1415 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1416 | <border>5</border> | |
1417 | <object class="wxStaticText" name="controls_pickers_statictext3"> | |
1418 | <label>wxDirPickerCtrl:</label> | |
1419 | </object> | |
1420 | </object> | |
1421 | <object class="sizeritem"> | |
1422 | <flag>wxGROW|wxALL</flag> | |
1423 | <option>1</option> | |
1424 | <border>5</border> | |
1425 | <object class="wxDirPickerCtrl" name="controls_dirpicker"> | |
1426 | <value/> | |
1427 | <style>wxDIRP_CHANGE_DIR</style> | |
1428 | <message>Here goes a message</message> | |
1429 | </object> | |
1430 | </object> | |
1431 | <object class="sizeritem"> | |
1432 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1433 | <border>5</border> | |
1434 | <object class="wxStaticText" name="controls_pickers_statictext4"> | |
1435 | <label>wxFontPickerCtrl:</label> | |
1436 | </object> | |
1437 | </object> | |
1438 | <object class="sizeritem"> | |
1439 | <flag>wxGROW|wxALL</flag> | |
1440 | <option>1</option> | |
1441 | <border>5</border> | |
1442 | <object class="wxFontPickerCtrl" name="controls_fontpicker"> | |
1443 | <style>wxFNTP_USEFONT_FOR_LABEL</style> | |
1444 | <value> | |
1445 | <size>20</size> | |
1446 | <sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont> | |
1447 | </value> | |
1448 | </object> | |
1449 | </object> | |
1450 | </object> | |
1451 | </object> | |
1452 | </object> | |
1453 | ||
1454 | <object class="choicebookpage"> | |
1455 | <label>The Rest</label> | |
1456 | <object class="wxPanel" name="Rest"> | |
1457 | <object class="wxFlexGridSizer"> | |
1458 | <cols>1</cols> | |
1459 | <rows>0</rows> | |
1460 | <vgap>0</vgap> | |
1461 | <hgap>0</hgap> | |
1462 | <growablecols>0</growablecols> | |
1463 | <growablerows>0,1,2,3,4,5</growablerows> | |
1464 | <object class="sizeritem"> | |
1465 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1466 | <border>5</border> | |
1467 | <object class="wxStaticText" name="controls_dialog_statictext"> | |
1468 | <label>wxDialog (This dialog is one)</label> | |
1469 | </object> | |
1470 | </object> | |
1471 | <object class="sizeritem"> | |
1472 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1473 | <border>5</border> | |
1474 | <object class="wxStaticText" name="controls_frame_statictext"> | |
1475 | <label>wxFrame (This application's main frame is one)</label> | |
1476 | </object> | |
1477 | </object> | |
1478 | <object class="sizeritem"> | |
1479 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1480 | <border>5</border> | |
1481 | <object class="wxStaticText" name="controls_menu_statictext"> | |
1482 | <label>wxMenu (This application's main frame uses one)</label> | |
1483 | </object> | |
1484 | </object> | |
1485 | <object class="sizeritem"> | |
1486 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1487 | <border>5</border> | |
1488 | <object class="wxStaticText" name="controls_notebook_statictext"> | |
1489 | <label>wxBookCtrl (This dialog uses wxChoicebook)</label> | |
1490 | </object> | |
1491 | </object> | |
1492 | <object class="sizeritem"> | |
1493 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1494 | <border>5</border> | |
1495 | <object class="wxStaticText" name="controls_sizer"> | |
1496 | <label>wxSizer (Used throughout application)</label> | |
1497 | </object> | |
1498 | </object> | |
1499 | <object class="sizeritem"> | |
1500 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1501 | <border>5</border> | |
1502 | <object class="wxStaticText" name="controls_unknown_statictext"> | |
1503 | <label>unknown controls (See Custom Class example)</label> | |
1504 | </object> | |
1505 | </object> | |
1506 | </object> | |
1507 | </object> | |
1508 | </object> | |
1509 | </object> | |
1510 | </object> | |
1511 | <object class="sizeritem"> | |
1512 | <flag>wxALIGN_CENTRE|wxALL</flag> | |
1513 | <border>5</border> | |
1514 | <object class="wxButton" name="wxID_OK"> | |
1515 | <label>OK</label> | |
1516 | <default>1</default> | |
1517 | </object> | |
1518 | </object> | |
1519 | </object> | |
1520 | </object> | |
1521 | ||
1522 | </resource> |