comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 40:0bd9c85d3c5d

Re #86: Complete initial GTK# UI * Add sln to make solution loading easier * Commit rebuild UI files
author IBBoard <dev@ibboard.co.uk>
date Sat, 07 Aug 2010 19:56:05 +0000
parents d68992a831df
children 4e127ce8682f
comparison
equal deleted inserted replaced
39:146b7a893a01 40:0bd9c85d3c5d
1 // ------------------------------------------------------------------------------ 1
2 // <autogenerated> 2 // This file has been generated by the GUI designer. Do not modify.
3 // This code was generated by a tool. 3 namespace IBBoard.WarFoundry.GTK
4 // 4 {
5 // 5 public partial class FrmMainWindow
6 // Changes to this file may cause incorrect behavior and will be lost if 6 {
7 // the code is regenerated. 7 private global::Gtk.UIManager UIManager;
8 // </autogenerated> 8
9 // ------------------------------------------------------------------------------ 9 private global::Gtk.Action menuFile;
10 10
11 namespace IBBoard.WarFoundry.GTK { 11 private global::Gtk.Action miCreateArmy;
12 12
13 13 private global::Gtk.Action miOpenArmy;
14 public partial class FrmMainWindow { 14
15 15 private global::Gtk.Action miSaveArmy;
16 private Gtk.UIManager UIManager; 16
17 17 private global::Gtk.Action miSaveArmyAs;
18 private Gtk.Action menuFile; 18
19 19 private global::Gtk.Action miCloseArmy;
20 private Gtk.Action miCreateArmy; 20
21 21 private global::Gtk.Action miReloadFiles;
22 private Gtk.Action miOpenArmy; 22
23 23 private global::Gtk.Action miExit;
24 private Gtk.Action miSaveArmy; 24
25 25 private global::Gtk.Action menuEdit;
26 private Gtk.Action miSaveArmyAs; 26
27 27 private global::Gtk.Action miUndo;
28 private Gtk.Action miCloseArmy; 28
29 29 private global::Gtk.Action miRedo;
30 private Gtk.Action miReloadFiles; 30
31 31 private global::Gtk.Action menuHelp;
32 private Gtk.Action miExit; 32
33 33 private global::Gtk.Action miAbout;
34 private Gtk.Action menuEdit; 34
35 35 private global::Gtk.Action miDebugInformation;
36 private Gtk.Action miUndo; 36
37 37 private global::Gtk.Action newArmyButton;
38 private Gtk.Action miRedo; 38
39 39 private global::Gtk.Action openArmyButton;
40 private Gtk.Action menuHelp; 40
41 41 private global::Gtk.Action saveArmyButton;
42 private Gtk.Action miAbout; 42
43 43 private global::Gtk.Action undoActionButton;
44 private Gtk.Action miDebugInformation; 44
45 45 private global::Gtk.Action redoActionButton;
46 private Gtk.Action newArmyButton; 46
47 47 private global::Gtk.Action goDown;
48 private Gtk.Action openArmyButton; 48
49 49 private global::Gtk.Action @add;
50 private Gtk.Action saveArmyButton; 50
51 51 private global::Gtk.Action miExportArmy;
52 private Gtk.Action undoActionButton; 52
53 53 private global::Gtk.Action miExportAsBasicHtml;
54 private Gtk.Action redoActionButton; 54
55 55 private global::Gtk.VBox vbox1;
56 private Gtk.Action goDown; 56
57 57 private global::Gtk.MenuBar menubar1;
58 private Gtk.Action add; 58
59 59 private global::Gtk.Toolbar toolbar;
60 private Gtk.Action miExportArmy; 60
61 61 private global::Gtk.HPaned hpaned2;
62 private Gtk.Action miExportAsBasicHtml; 62
63 63 private global::Gtk.TreeView treeUnits;
64 private Gtk.VBox vbox1; 64
65 65 private global::Gtk.Notebook unitsNotebook;
66 private Gtk.MenuBar menubar1; 66
67 67 private global::Gtk.Statusbar statusbar1;
68 private Gtk.Toolbar toolbar; 68
69 69 protected virtual void Build()
70 private Gtk.HPaned hpaned2; 70 {
71 71 global::Stetic.Gui.Initialize(this);
72 private Gtk.TreeView treeUnits; 72 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow
73 73 this.UIManager = new global::Gtk.UIManager();
74 private Gtk.Notebook unitsNotebook; 74 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
75 75 this.menuFile = new global::Gtk.Action("menuFile", global::Mono.Unix.Catalog.GetString("File"), null, null);
76 private Gtk.Statusbar statusbar1; 76 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
77 77 w1.Add(this.menuFile, null);
78 protected virtual void Build() { 78 this.miCreateArmy = new global::Gtk.Action("miCreateArmy", global::Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new");
79 Stetic.Gui.Initialize(this); 79 this.miCreateArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Create army");
80 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow 80 w1.Add(this.miCreateArmy, null);
81 this.UIManager = new Gtk.UIManager(); 81 this.miOpenArmy = new global::Gtk.Action("miOpenArmy", global::Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open");
82 Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); 82 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Open army");
83 this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null); 83 w1.Add(this.miOpenArmy, null);
84 this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File"); 84 this.miSaveArmy = new global::Gtk.Action("miSaveArmy", global::Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save");
85 w1.Add(this.menuFile, null); 85 this.miSaveArmy.Sensitive = false;
86 this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new"); 86 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army");
87 this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); 87 w1.Add(this.miSaveArmy, null);
88 w1.Add(this.miCreateArmy, null); 88 this.miSaveArmyAs = new global::Gtk.Action("miSaveArmyAs", global::Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as");
89 this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open"); 89 this.miSaveArmyAs.Sensitive = false;
90 this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); 90 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army as");
91 w1.Add(this.miOpenArmy, null); 91 w1.Add(this.miSaveArmyAs, null);
92 this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save"); 92 this.miCloseArmy = new global::Gtk.Action("miCloseArmy", global::Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close");
93 this.miSaveArmy.Sensitive = false; 93 this.miCloseArmy.Sensitive = false;
94 this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); 94 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Close army");
95 w1.Add(this.miSaveArmy, null); 95 w1.Add(this.miCloseArmy, null);
96 this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as"); 96 this.miReloadFiles = new global::Gtk.Action("miReloadFiles", global::Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh");
97 this.miSaveArmyAs.Sensitive = false; 97 this.miReloadFiles.Sensitive = false;
98 this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as"); 98 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload files");
99 w1.Add(this.miSaveArmyAs, null); 99 w1.Add(this.miReloadFiles, null);
100 this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close"); 100 this.miExit = new global::Gtk.Action("miExit", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
101 this.miCloseArmy.Sensitive = false; 101 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit");
102 this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army"); 102 w1.Add(this.miExit, null);
103 w1.Add(this.miCloseArmy, null); 103 this.menuEdit = new global::Gtk.Action("menuEdit", global::Mono.Unix.Catalog.GetString("Edit"), null, null);
104 this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh"); 104 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit");
105 this.miReloadFiles.Sensitive = false; 105 w1.Add(this.menuEdit, null);
106 this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files"); 106 this.miUndo = new global::Gtk.Action("miUndo", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo");
107 w1.Add(this.miReloadFiles, null); 107 this.miUndo.Sensitive = false;
108 this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); 108 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo");
109 this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); 109 w1.Add(this.miUndo, null);
110 w1.Add(this.miExit, null); 110 this.miRedo = new global::Gtk.Action("miRedo", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo");
111 this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null); 111 this.miRedo.Sensitive = false;
112 this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); 112 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo");
113 w1.Add(this.menuEdit, null); 113 w1.Add(this.miRedo, null);
114 this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); 114 this.menuHelp = new global::Gtk.Action("menuHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null);
115 this.miUndo.Sensitive = false; 115 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
116 this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo"); 116 w1.Add(this.menuHelp, null);
117 w1.Add(this.miUndo, null); 117 this.miAbout = new global::Gtk.Action("miAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
118 this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); 118 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About");
119 this.miRedo.Sensitive = false; 119 w1.Add(this.miAbout, null);
120 this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo"); 120 this.miDebugInformation = new global::Gtk.Action("miDebugInformation", global::Mono.Unix.Catalog.GetString("Debug Information"), null, null);
121 w1.Add(this.miRedo, null); 121 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Information");
122 this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null); 122 w1.Add(this.miDebugInformation, null);
123 this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help"); 123 this.newArmyButton = new global::Gtk.Action("newArmyButton", null, null, "gtk-new");
124 w1.Add(this.menuHelp, null); 124 w1.Add(this.newArmyButton, null);
125 this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); 125 this.openArmyButton = new global::Gtk.Action("openArmyButton", null, null, "gtk-open");
126 this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About"); 126 w1.Add(this.openArmyButton, null);
127 w1.Add(this.miAbout, null); 127 this.saveArmyButton = new global::Gtk.Action("saveArmyButton", null, null, "gtk-save");
128 this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); 128 this.saveArmyButton.Sensitive = false;
129 this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); 129 w1.Add(this.saveArmyButton, null);
130 w1.Add(this.miDebugInformation, null); 130 this.undoActionButton = new global::Gtk.Action("undoActionButton", null, null, "gtk-undo");
131 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); 131 this.undoActionButton.Sensitive = false;
132 w1.Add(this.newArmyButton, null); 132 w1.Add(this.undoActionButton, null);
133 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); 133 this.redoActionButton = new global::Gtk.Action("redoActionButton", null, null, "gtk-redo");
134 w1.Add(this.openArmyButton, null); 134 this.redoActionButton.Sensitive = false;
135 this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save"); 135 w1.Add(this.redoActionButton, null);
136 this.saveArmyButton.Sensitive = false; 136 this.goDown = new global::Gtk.Action("goDown", null, null, null);
137 w1.Add(this.saveArmyButton, null); 137 w1.Add(this.goDown, null);
138 this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo"); 138 this.@add = new global::Gtk.Action("add", null, null, "gtk-add");
139 this.undoActionButton.Sensitive = false; 139 w1.Add(this.@add, null);
140 w1.Add(this.undoActionButton, null); 140 this.miExportArmy = new global::Gtk.Action("miExportArmy", global::Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert");
141 this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo"); 141 this.miExportArmy.Sensitive = false;
142 this.redoActionButton.Sensitive = false; 142 this.miExportArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army");
143 w1.Add(this.redoActionButton, null); 143 w1.Add(this.miExportArmy, null);
144 this.goDown = new Gtk.Action("goDown", null, null, null); 144 this.miExportAsBasicHtml = new global::Gtk.Action("miExportAsBasicHtml", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null);
145 w1.Add(this.goDown, null); 145 this.miExportAsBasicHtml.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML");
146 this.add = new Gtk.Action("add", null, null, "gtk-add"); 146 w1.Add(this.miExportAsBasicHtml, null);
147 w1.Add(this.add, null); 147 this.UIManager.InsertActionGroup(w1, 0);
148 this.miExportArmy = new Gtk.Action("miExportArmy", Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); 148 this.AddAccelGroup(this.UIManager.AccelGroup);
149 this.miExportArmy.Sensitive = false; 149 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow";
150 this.miExportArmy.ShortLabel = Mono.Unix.Catalog.GetString("Export army"); 150 this.Title = global::Mono.Unix.Catalog.GetString("MainWindow");
151 w1.Add(this.miExportArmy, null); 151 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico");
152 this.miExportAsBasicHtml = new Gtk.Action("miExportAsBasicHtml", Mono.Unix.Catalog.GetString("Basic HTML"), null, null); 152 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild
153 this.miExportAsBasicHtml.ShortLabel = Mono.Unix.Catalog.GetString("Basic HTML"); 153 this.vbox1 = new global::Gtk.VBox();
154 w1.Add(this.miExportAsBasicHtml, null); 154 this.vbox1.Name = "vbox1";
155 this.UIManager.InsertActionGroup(w1, 0); 155 // Container child vbox1.Gtk.Box+BoxChild
156 this.AddAccelGroup(this.UIManager.AccelGroup); 156 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmy' action='miExportArmy'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>");
157 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; 157 this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
158 this.Title = Mono.Unix.Catalog.GetString("MainWindow"); 158 this.menubar1.Name = "menubar1";
159 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); 159 this.vbox1.Add(this.menubar1);
160 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild 160 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
161 this.vbox1 = new Gtk.VBox(); 161 w2.Position = 0;
162 this.vbox1.Name = "vbox1"; 162 w2.Expand = false;
163 // Container child vbox1.Gtk.Box+BoxChild 163 w2.Fill = false;
164 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmy' action='miExportArmy'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>"); 164 // Container child vbox1.Gtk.Box+BoxChild
165 this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); 165 this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='newArmyButton' action='newArmyButton'/><toolitem name='openArmyButton' action='openArmyButton'/><toolitem name='saveArmyButton' action='saveArmyButton'/><separator/><toolitem name='undoActionButton' action='undoActionButton'/><toolitem name='redoActionButton' action='redoActionButton'/><separator/></toolbar></ui>");
166 this.menubar1.Name = "menubar1"; 166 this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar")));
167 this.vbox1.Add(this.menubar1); 167 this.toolbar.HeightRequest = 36;
168 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); 168 this.toolbar.Name = "toolbar";
169 w2.Position = 0; 169 this.toolbar.ShowArrow = false;
170 w2.Expand = false; 170 this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
171 w2.Fill = false; 171 this.toolbar.IconSize = ((global::Gtk.IconSize)(3));
172 // Container child vbox1.Gtk.Box+BoxChild 172 this.vbox1.Add(this.toolbar);
173 this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='newArmyButton' action='newArmyButton'/><toolitem name='openArmyButton' action='openArmyButton'/><toolitem name='saveArmyButton' action='saveArmyButton'/><separator/><toolitem name='undoActionButton' action='undoActionButton'/><toolitem name='redoActionButton' action='redoActionButton'/><separator/></toolbar></ui>"); 173 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar]));
174 this.toolbar = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); 174 w3.Position = 1;
175 this.toolbar.HeightRequest = 36; 175 w3.Expand = false;
176 this.toolbar.Name = "toolbar"; 176 w3.Fill = false;
177 this.toolbar.ShowArrow = false; 177 // Container child vbox1.Gtk.Box+BoxChild
178 this.toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); 178 this.hpaned2 = new global::Gtk.HPaned();
179 this.toolbar.IconSize = ((Gtk.IconSize)(3)); 179 this.hpaned2.CanFocus = true;
180 this.vbox1.Add(this.toolbar); 180 this.hpaned2.Name = "hpaned2";
181 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar])); 181 this.hpaned2.Position = 178;
182 w3.Position = 1; 182 // Container child hpaned2.Gtk.Paned+PanedChild
183 w3.Expand = false; 183 this.treeUnits = new global::Gtk.TreeView();
184 w3.Fill = false; 184 this.treeUnits.CanFocus = true;
185 // Container child vbox1.Gtk.Box+BoxChild 185 this.treeUnits.Name = "treeUnits";
186 this.hpaned2 = new Gtk.HPaned(); 186 this.hpaned2.Add(this.treeUnits);
187 this.hpaned2.CanFocus = true; 187 global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits]));
188 this.hpaned2.Name = "hpaned2"; 188 w4.Resize = false;
189 this.hpaned2.Position = 178; 189 // Container child hpaned2.Gtk.Paned+PanedChild
190 // Container child hpaned2.Gtk.Paned+PanedChild 190 this.unitsNotebook = new global::Gtk.Notebook();
191 this.treeUnits = new Gtk.TreeView(); 191 this.unitsNotebook.CanFocus = true;
192 this.treeUnits.CanFocus = true; 192 this.unitsNotebook.Name = "unitsNotebook";
193 this.treeUnits.Name = "treeUnits"; 193 this.unitsNotebook.CurrentPage = -1;
194 this.hpaned2.Add(this.treeUnits); 194 this.hpaned2.Add(this.unitsNotebook);
195 Gtk.Paned.PanedChild w4 = ((Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits])); 195 this.vbox1.Add(this.hpaned2);
196 w4.Resize = false; 196 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2]));
197 // Container child hpaned2.Gtk.Paned+PanedChild 197 w6.Position = 2;
198 this.unitsNotebook = new Gtk.Notebook(); 198 // Container child vbox1.Gtk.Box+BoxChild
199 this.unitsNotebook.CanFocus = true; 199 this.statusbar1 = new global::Gtk.Statusbar();
200 this.unitsNotebook.Name = "unitsNotebook"; 200 this.statusbar1.Name = "statusbar1";
201 this.unitsNotebook.CurrentPage = -1; 201 this.statusbar1.Spacing = 2;
202 this.hpaned2.Add(this.unitsNotebook); 202 this.vbox1.Add(this.statusbar1);
203 this.vbox1.Add(this.hpaned2); 203 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
204 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned2])); 204 w7.Position = 3;
205 w6.Position = 2; 205 w7.Expand = false;
206 // Container child vbox1.Gtk.Box+BoxChild 206 w7.Fill = false;
207 this.statusbar1 = new Gtk.Statusbar(); 207 this.Add(this.vbox1);
208 this.statusbar1.Name = "statusbar1"; 208 if ((this.Child != null))
209 this.statusbar1.Spacing = 2; 209 {
210 this.vbox1.Add(this.statusbar1); 210 this.Child.ShowAll();
211 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); 211 }
212 w7.Position = 3; 212 this.DefaultWidth = 832;
213 w7.Expand = false; 213 this.DefaultHeight = 659;
214 w7.Fill = false; 214 this.Show();
215 this.Add(this.vbox1); 215 this.miCreateArmy.Activated += new global::System.EventHandler(this.OnCreateArmyActivated);
216 if ((this.Child != null)) { 216 this.miOpenArmy.Activated += new global::System.EventHandler(this.OnOpenArmyActivated);
217 this.Child.ShowAll(); 217 this.miSaveArmy.Activated += new global::System.EventHandler(this.OnSaveArmyActivated);
218 } 218 this.miSaveArmyAs.Activated += new global::System.EventHandler(this.OnSaveArmyAsActivated);
219 this.DefaultWidth = 832; 219 this.miCloseArmy.Activated += new global::System.EventHandler(this.OnCloseArmyActivated);
220 this.DefaultHeight = 659; 220 this.miReloadFiles.Activated += new global::System.EventHandler(this.OnReloadFilesActivated);
221 this.Show(); 221 this.miExit.Activated += new global::System.EventHandler(this.OnExitActivated);
222 this.miCreateArmy.Activated += new System.EventHandler(this.OnCreateArmyActivated); 222 this.newArmyButton.Activated += new global::System.EventHandler(this.newTBButtonActivated);
223 this.miOpenArmy.Activated += new System.EventHandler(this.OnOpenArmyActivated); 223 this.openArmyButton.Activated += new global::System.EventHandler(this.openTBButtonActivated);
224 this.miSaveArmy.Activated += new System.EventHandler(this.OnSaveArmyActivated); 224 this.saveArmyButton.Activated += new global::System.EventHandler(this.saveTBButtonActivated);
225 this.miSaveArmyAs.Activated += new System.EventHandler(this.OnSaveArmyAsActivated); 225 this.undoActionButton.Activated += new global::System.EventHandler(this.undoTBButtonActivated);
226 this.miCloseArmy.Activated += new System.EventHandler(this.OnCloseArmyActivated); 226 this.redoActionButton.Activated += new global::System.EventHandler(this.redoTBButtonActivated);
227 this.miReloadFiles.Activated += new System.EventHandler(this.OnReloadFilesActivated); 227 this.miExportAsBasicHtml.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
228 this.miExit.Activated += new System.EventHandler(this.OnExitActivated); 228 this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated);
229 this.newArmyButton.Activated += new System.EventHandler(this.newTBButtonActivated); 229 this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu);
230 this.openArmyButton.Activated += new System.EventHandler(this.openTBButtonActivated); 230 this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed);
231 this.saveArmyButton.Activated += new System.EventHandler(this.saveTBButtonActivated); 231 }
232 this.undoActionButton.Activated += new System.EventHandler(this.undoTBButtonActivated); 232 }
233 this.redoActionButton.Activated += new System.EventHandler(this.redoTBButtonActivated);
234 this.miExportAsBasicHtml.Activated += new System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
235 this.treeUnits.RowActivated += new Gtk.RowActivatedHandler(this.ArmyRowActivated);
236 this.treeUnits.PopupMenu += new Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu);
237 this.treeUnits.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed);
238 }
239 }
240 } 233 }