]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/rc/menu.xrc
309aaab9abfbc74a64e907fad76d4a049d9a2684
[wxWidgets.git] / samples / xrc / rc / menu.xrc
1 <?xml version="1.0"?>
2
3 <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
4
5 <object class="wxMenuBar" name="main_menu">
6 <style>wxMB_DOCKABLE</style>
7 <object class="wxMenu" name="file_tool_or_menuitem">
8 <label>_File</label>
9 <style>wxMENU_TEAROFF</style>
10 <object class="wxMenuItem" name="unload_resource_menuitem">
11 <label>_Unload resource\tCtrl-U</label>
12 <help>Unload basic dialog resource</help>
13 </object>
14 <object class="wxMenuItem" name="reload_resource_menuitem">
15 <label>_Reload resource\tCtrl-R</label>
16 <help>Reload basic dialog resource</help>
17 </object>
18
19 <!-- we use wxID_EXIT name here to get the default menu item stock icon -->
20 <object class="wxMenuItem" name="wxID_EXIT">
21 <label>E_xit\tAlt-X</label>
22 <help>Exit this application</help>
23 </object>
24 </object>
25 <object class="wxMenu" name="basic_demos_menu">
26 <label>_Basic</label>
27 <help>Basic techniques with XRC</help>
28 <object class="wxMenuItem" name="non_derived_dialog_tool_or_menuitem">
29 <label>_Non-Derived Dialog Example</label>
30 <bitmap>basicdlg.xpm</bitmap>
31 <help>The basic instance of wxDialog loaded via XRC</help>
32 </object>
33 <object class="wxMenuItem" name="derived_tool_or_menuitem">
34 <label>_Derived Dialog Example</label>
35 <bitmap>derivdlg.xpm</bitmap>
36 <help>The most important example: load an XRC for a derived dialog</help>
37 </object>
38 <object class="wxMenuItem" name="controls_tool_or_menuitem">
39 <label>_Controls Example</label>
40 <bitmap>controls.xpm</bitmap>
41 <help>A notebook displaying all the wxWidgets controls</help>
42 </object>
43 <object class="wxMenuItem" name="uncentered_tool_or_menuitem">
44 <label>_Uncentered Example</label>
45 <bitmap>uncenter.xpm</bitmap>
46 <help>Disable autocentering of a dialog on its parent</help>
47 </object>
48 </object>
49 <object class="wxMenu" name="advanced_demos_menu">
50 <label>_Advanced</label>
51 <help>Advanced techniques with XRC</help>
52 <object class="wxMenuItem" name="obj_ref_tool_or_menuitem">
53 <label>_Object References Example</label>
54 <bitmap>objrefdlg.xpm</bitmap>
55 <help>Use of object references and event ranges</help>
56 </object>
57 <object class="wxMenuItem" name="custom_class_tool_or_menuitem">
58 <label>_Custom Class Example</label>
59 <bitmap>custclas.xpm</bitmap>
60 <help>Embed your own custom classes into an XRC</help>
61 </object>
62 <object class="wxMenuItem" name="platform_property_tool_or_menuitem">
63 <label>_Platform Specific Example</label>
64 <bitmap>platform.xpm</bitmap>
65 <help>Customize parts of an interface for a desired platform</help>
66 </object>
67 <object class="wxMenuItem" name="art_provider_tool_or_menuitem">
68 <label>wx_ArtProvider Example</label>
69 <bitmap>artprov.xpm</bitmap>
70 <help>Use wxArtProvider to insert desired icons at runtime</help>
71 </object>
72 <object class="wxMenuItem" name="variable_expansion_tool_or_menuitem">
73 <label>_Variable Expansion Example</label>
74 <bitmap>variable.xpm</bitmap>
75 <help>Replace variables in the XRC file at runtime</help>
76 </object>
77 <object class="wxMenuItem" name="recursive_load">
78 <label>_Recursive Load</label>
79 <help>Show how an individual control can be loaded</help>
80 </object>
81 </object>
82 <object class="wxMenu" name="help_menu">
83 <label>_Help</label>
84
85 <!-- we use wxID_ABOUT name here to get the default menu item stock icon -->
86 <object class="wxMenuItem" name="wxID_ABOUT">
87 <label>_About...</label>
88 <help>About this application</help>
89 </object>
90 </object>
91 </object>
92
93 </resource>