]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/rc/menu.xrc
91409e5c21537d9394d45102f8b6cfb091b04d5f
[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="custom_class_tool_or_menuitem">
53 <label>_Custom Class Example</label>
54 <bitmap>custclas.xpm</bitmap>
55 <help>Embed your own custom classes into an XRC</help>
56 </object>
57 <object class="wxMenuItem" name="platform_property_tool_or_menuitem">
58 <label>_Platform Specific Example</label>
59 <bitmap>platform.xpm</bitmap>
60 <help>Customize parts of an interface for a desired platform</help>
61 </object>
62 <object class="wxMenuItem" name="art_provider_tool_or_menuitem">
63 <label>wx_ArtProvider Example</label>
64 <bitmap>artprov.xpm</bitmap>
65 <help>Use wxArtProvider to insert desired icons at runtime</help>
66 </object>
67 <object class="wxMenuItem" name="variable_expansion_tool_or_menuitem">
68 <label>_Variable Expansion Example</label>
69 <bitmap>variable.xpm</bitmap>
70 <help>Replace variables in the XRC file at runtime</help>
71 </object>
72 </object>
73 <object class="wxMenu" name="help_menu">
74 <label>_Help</label>
75
76 <!-- we use wxID_ABOUT name here to get the default menu item stock icon -->
77 <object class="wxMenuItem" name="wxID_ABOUT">
78 <label>_About...</label>
79 <help>About this application</help>
80 </object>
81 </object>
82 </object>
83
84 </resource>