Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs @ 136:560eb34acd17
* Make UnitDisplayWidget expand boxes so that they're useful
* Commit auto-generated code changes from previous menu changes
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 11 Oct 2011 20:21:10 +0100 |
parents | 42d2aa87dfa7 |
children | d4b726cec12c |
comparison
equal
deleted
inserted
replaced
135:fda46380dd68 | 136:560eb34acd17 |
---|---|
27 private global::Gtk.Action goDown; | 27 private global::Gtk.Action goDown; |
28 private global::Gtk.Action add; | 28 private global::Gtk.Action add; |
29 private global::Gtk.Action miExportArmyAs; | 29 private global::Gtk.Action miExportArmyAs; |
30 private global::Gtk.Action miExportArmyAsBasicHTML; | 30 private global::Gtk.Action miExportArmyAsBasicHTML; |
31 private global::Gtk.Action miPreferences; | 31 private global::Gtk.Action miPreferences; |
32 private global::Gtk.Action transformedXmlAction; | 32 private global::Gtk.Action miExportArmyAsTransformedXml; |
33 private global::Gtk.VBox vbox1; | 33 private global::Gtk.VBox vbox1; |
34 private global::Gtk.MenuBar menubar1; | 34 private global::Gtk.MenuBar menubar1; |
35 private global::Gtk.Toolbar toolbar; | 35 private global::Gtk.Toolbar toolbar; |
36 private global::Gtk.HPaned hpaned2; | 36 private global::Gtk.HPaned hpaned2; |
37 private global::Gtk.TreeView treeUnits; | 37 private global::Gtk.TreeView treeUnits; |
38 private global::Gtk.Notebook unitsNotebook; | 38 private global::Gtk.Notebook unitsNotebook; |
39 private global::Gtk.Statusbar statusbar1; | 39 private global::Gtk.Statusbar statusbar1; |
40 private global::Gtk.Label lblTotalPoints; | 40 private global::Gtk.Label lblTotalPoints; |
41 | 41 |
42 protected virtual void Build() | 42 protected virtual void Build () |
43 { | 43 { |
44 global::Stetic.Gui.Initialize(this); | 44 global::Stetic.Gui.Initialize (this); |
45 // Widget IBBoard.WarFoundry.GUI.GTK.FrmMainWindow | 45 // Widget IBBoard.WarFoundry.GUI.GTK.FrmMainWindow |
46 this.UIManager = new global::Gtk.UIManager(); | 46 this.UIManager = new global::Gtk.UIManager (); |
47 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); | 47 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); |
48 this.menuFile = new global::Gtk.Action("menuFile", global::Mono.Unix.Catalog.GetString("File"), null, null); | 48 this.menuFile = new global::Gtk.Action ("menuFile", global::Mono.Unix.Catalog.GetString ("File"), null, null); |
49 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); | 49 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); |
50 w1.Add(this.menuFile, null); | 50 w1.Add (this.menuFile, null); |
51 this.miNewArmy = new global::Gtk.Action("miNewArmy", global::Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new"); | 51 this.miNewArmy = new global::Gtk.Action ("miNewArmy", global::Mono.Unix.Catalog.GetString ("Create army"), null, "gtk-new"); |
52 this.miNewArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Create army"); | 52 this.miNewArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create army"); |
53 w1.Add(this.miNewArmy, null); | 53 w1.Add (this.miNewArmy, null); |
54 this.miOpenArmy = new global::Gtk.Action("miOpenArmy", global::Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open"); | 54 this.miOpenArmy = new global::Gtk.Action ("miOpenArmy", global::Mono.Unix.Catalog.GetString ("Open army"), null, "gtk-open"); |
55 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Open army"); | 55 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open army"); |
56 w1.Add(this.miOpenArmy, null); | 56 w1.Add (this.miOpenArmy, null); |
57 this.miSaveArmy = new global::Gtk.Action("miSaveArmy", global::Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save"); | 57 this.miSaveArmy = new global::Gtk.Action ("miSaveArmy", global::Mono.Unix.Catalog.GetString ("Save army"), null, "gtk-save"); |
58 this.miSaveArmy.Sensitive = false; | 58 this.miSaveArmy.Sensitive = false; |
59 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army"); | 59 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army"); |
60 w1.Add(this.miSaveArmy, null); | 60 w1.Add (this.miSaveArmy, null); |
61 this.miSaveArmyAs = new global::Gtk.Action("miSaveArmyAs", global::Mono.Unix.Catalog.GetString("Save army as"), null, "gtk-save-as"); | 61 this.miSaveArmyAs = new global::Gtk.Action ("miSaveArmyAs", global::Mono.Unix.Catalog.GetString ("Save army as"), null, "gtk-save-as"); |
62 this.miSaveArmyAs.Sensitive = false; | 62 this.miSaveArmyAs.Sensitive = false; |
63 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Save army as"); | 63 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army as"); |
64 w1.Add(this.miSaveArmyAs, null); | 64 w1.Add (this.miSaveArmyAs, null); |
65 this.miCloseArmy = new global::Gtk.Action("miCloseArmy", global::Mono.Unix.Catalog.GetString("Close army"), null, "gtk-close"); | 65 this.miCloseArmy = new global::Gtk.Action ("miCloseArmy", global::Mono.Unix.Catalog.GetString ("Close army"), null, "gtk-close"); |
66 this.miCloseArmy.Sensitive = false; | 66 this.miCloseArmy.Sensitive = false; |
67 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString("Close army"); | 67 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close army"); |
68 w1.Add(this.miCloseArmy, null); | 68 w1.Add (this.miCloseArmy, null); |
69 this.miReloadFiles = new global::Gtk.Action("miReloadFiles", global::Mono.Unix.Catalog.GetString("Reload files"), null, "gtk-refresh"); | 69 this.miReloadFiles = new global::Gtk.Action ("miReloadFiles", global::Mono.Unix.Catalog.GetString ("Reload files"), null, "gtk-refresh"); |
70 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString("Reload files"); | 70 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString ("Reload files"); |
71 w1.Add(this.miReloadFiles, null); | 71 w1.Add (this.miReloadFiles, null); |
72 this.miExit = new global::Gtk.Action("miExit", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); | 72 this.miExit = new global::Gtk.Action ("miExit", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); |
73 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); | 73 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); |
74 w1.Add(this.miExit, null); | 74 w1.Add (this.miExit, null); |
75 this.menuEdit = new global::Gtk.Action("menuEdit", global::Mono.Unix.Catalog.GetString("Edit"), null, null); | 75 this.menuEdit = new global::Gtk.Action ("menuEdit", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); |
76 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); | 76 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); |
77 w1.Add(this.menuEdit, null); | 77 w1.Add (this.menuEdit, null); |
78 this.miUndo = new global::Gtk.Action("miUndo", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); | 78 this.miUndo = new global::Gtk.Action ("miUndo", global::Mono.Unix.Catalog.GetString ("Undo"), null, "gtk-undo"); |
79 this.miUndo.Sensitive = false; | 79 this.miUndo.Sensitive = false; |
80 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); | 80 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); |
81 w1.Add(this.miUndo, null); | 81 w1.Add (this.miUndo, null); |
82 this.miRedo = new global::Gtk.Action("miRedo", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); | 82 this.miRedo = new global::Gtk.Action ("miRedo", global::Mono.Unix.Catalog.GetString ("Redo"), null, "gtk-redo"); |
83 this.miRedo.Sensitive = false; | 83 this.miRedo.Sensitive = false; |
84 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); | 84 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); |
85 w1.Add(this.miRedo, null); | 85 w1.Add (this.miRedo, null); |
86 this.menuHelp = new global::Gtk.Action("menuHelp", global::Mono.Unix.Catalog.GetString("Help"), null, null); | 86 this.menuHelp = new global::Gtk.Action ("menuHelp", global::Mono.Unix.Catalog.GetString ("Help"), null, null); |
87 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); | 87 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); |
88 w1.Add(this.menuHelp, null); | 88 w1.Add (this.menuHelp, null); |
89 this.miAbout = new global::Gtk.Action("miAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); | 89 this.miAbout = new global::Gtk.Action ("miAbout", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); |
90 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); | 90 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); |
91 w1.Add(this.miAbout, null); | 91 w1.Add (this.miAbout, null); |
92 this.miDebugInformation = new global::Gtk.Action("miDebugInformation", global::Mono.Unix.Catalog.GetString("Debug Information"), null, null); | 92 this.miDebugInformation = new global::Gtk.Action ("miDebugInformation", global::Mono.Unix.Catalog.GetString ("Debug Information"), null, null); |
93 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Information"); | 93 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Debug Information"); |
94 w1.Add(this.miDebugInformation, null); | 94 w1.Add (this.miDebugInformation, null); |
95 this.bttnNewArmy = new global::Gtk.Action("bttnNewArmy", null, null, "gtk-new"); | 95 this.bttnNewArmy = new global::Gtk.Action ("bttnNewArmy", null, null, "gtk-new"); |
96 w1.Add(this.bttnNewArmy, null); | 96 w1.Add (this.bttnNewArmy, null); |
97 this.bttnOpenArmy = new global::Gtk.Action("bttnOpenArmy", null, null, "gtk-open"); | 97 this.bttnOpenArmy = new global::Gtk.Action ("bttnOpenArmy", null, null, "gtk-open"); |
98 w1.Add(this.bttnOpenArmy, null); | 98 w1.Add (this.bttnOpenArmy, null); |
99 this.bttnSaveArmy = new global::Gtk.Action("bttnSaveArmy", null, null, "gtk-save"); | 99 this.bttnSaveArmy = new global::Gtk.Action ("bttnSaveArmy", null, null, "gtk-save"); |
100 this.bttnSaveArmy.Sensitive = false; | 100 this.bttnSaveArmy.Sensitive = false; |
101 w1.Add(this.bttnSaveArmy, null); | 101 w1.Add (this.bttnSaveArmy, null); |
102 this.bttnUndo = new global::Gtk.Action("bttnUndo", null, null, "gtk-undo"); | 102 this.bttnUndo = new global::Gtk.Action ("bttnUndo", null, null, "gtk-undo"); |
103 this.bttnUndo.Sensitive = false; | 103 this.bttnUndo.Sensitive = false; |
104 w1.Add(this.bttnUndo, null); | 104 w1.Add (this.bttnUndo, null); |
105 this.bttnRedo = new global::Gtk.Action("bttnRedo", null, null, "gtk-redo"); | 105 this.bttnRedo = new global::Gtk.Action ("bttnRedo", null, null, "gtk-redo"); |
106 this.bttnRedo.Sensitive = false; | 106 this.bttnRedo.Sensitive = false; |
107 w1.Add(this.bttnRedo, null); | 107 w1.Add (this.bttnRedo, null); |
108 this.goDown = new global::Gtk.Action("goDown", null, null, null); | 108 this.goDown = new global::Gtk.Action ("goDown", null, null, null); |
109 w1.Add(this.goDown, null); | 109 w1.Add (this.goDown, null); |
110 this.add = new global::Gtk.Action("add", null, null, "gtk-add"); | 110 this.add = new global::Gtk.Action ("add", null, null, "gtk-add"); |
111 w1.Add(this.add, null); | 111 w1.Add (this.add, null); |
112 this.miExportArmyAs = new global::Gtk.Action("miExportArmyAs", global::Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); | 112 this.miExportArmyAs = new global::Gtk.Action ("miExportArmyAs", global::Mono.Unix.Catalog.GetString ("Export army as..."), null, "gtk-convert"); |
113 this.miExportArmyAs.Sensitive = false; | 113 this.miExportArmyAs.Sensitive = false; |
114 this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army as..."); | 114 this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export army as..."); |
115 w1.Add(this.miExportArmyAs, null); | 115 w1.Add (this.miExportArmyAs, null); |
116 this.miExportArmyAsBasicHTML = new global::Gtk.Action("miExportArmyAsBasicHTML", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null); | 116 this.miExportArmyAsBasicHTML = new global::Gtk.Action ("miExportArmyAsBasicHTML", global::Mono.Unix.Catalog.GetString ("Basic HTML"), null, null); |
117 this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML"); | 117 this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString ("Basic HTML"); |
118 w1.Add(this.miExportArmyAsBasicHTML, null); | 118 w1.Add (this.miExportArmyAsBasicHTML, null); |
119 this.miPreferences = new global::Gtk.Action("miPreferences", global::Mono.Unix.Catalog.GetString("preferences"), null, "gtk-preferences"); | 119 this.miPreferences = new global::Gtk.Action ("miPreferences", global::Mono.Unix.Catalog.GetString ("preferences"), null, "gtk-preferences"); |
120 this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString("preferences"); | 120 this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString ("preferences"); |
121 w1.Add(this.miPreferences, null); | 121 w1.Add (this.miPreferences, null); |
122 this.transformedXmlAction = new global::Gtk.Action ("transformedXmlAction", global::Mono.Unix.Catalog.GetString ("transformed xml"), null, null); | 122 this.miExportArmyAsTransformedXml = new global::Gtk.Action ("miExportArmyAsTransformedXml", global::Mono.Unix.Catalog.GetString ("transformed xml"), null, null); |
123 this.transformedXmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("transformed xml"); | 123 this.miExportArmyAsTransformedXml.ShortLabel = global::Mono.Unix.Catalog.GetString ("transformed xml"); |
124 w1.Add (this.transformedXmlAction, null); | 124 w1.Add (this.miExportArmyAsTransformedXml, null); |
125 this.UIManager.InsertActionGroup(w1, 0); | 125 this.UIManager.InsertActionGroup (w1, 0); |
126 this.AddAccelGroup(this.UIManager.AccelGroup); | 126 this.AddAccelGroup (this.UIManager.AccelGroup); |
127 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmMainWindow"; | 127 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmMainWindow"; |
128 this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); | 128 this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); |
129 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico"); | 129 this.Icon = global::Gdk.Pixbuf.LoadFromResource ("App.ico"); |
130 // Container child IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.Gtk.Container+ContainerChild | 130 // Container child IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.Gtk.Container+ContainerChild |
131 this.vbox1 = new global::Gtk.VBox(); | 131 this.vbox1 = new global::Gtk.VBox (); |
132 this.vbox1.Name = "vbox1"; | 132 this.vbox1.Name = "vbox1"; |
133 // Container child vbox1.Gtk.Box+BoxChild | 133 // Container child vbox1.Gtk.Box+BoxChild |
134 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miNewArmy' action='miNewArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmyAs' action='miExportArmyAs'><menuitem name='miExportArmyAsBasicHTML' action='miExportArmyAsBasicHTML'/></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'/><separator/><menuitem name='miPreferences' action='miPreferences'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/></menu></menubar></ui>"); | 134 this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miNewArmy' action='miNewArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmyAs' action='miExportArmyAs'><menuitem name='miExportArmyAsBasicHTML' action='miExportArmyAsBasicHTML'/><menuitem name='miExportArmyAsTransformedXml' action='miExportArmyAsTransformedXml'/></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'/><separator/><menuitem name='miPreferences' action='miPreferences'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/></menu></menubar></ui>"); |
135 this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); | 135 this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); |
136 this.menubar1.Name = "menubar1"; | 136 this.menubar1.Name = "menubar1"; |
137 this.vbox1.Add(this.menubar1); | 137 this.vbox1.Add (this.menubar1); |
138 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); | 138 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); |
139 w2.Position = 0; | 139 w2.Position = 0; |
140 w2.Expand = false; | 140 w2.Expand = false; |
141 w2.Fill = false; | 141 w2.Fill = false; |
142 // Container child vbox1.Gtk.Box+BoxChild | 142 // Container child vbox1.Gtk.Box+BoxChild |
143 this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='bttnNewArmy' action='bttnNewArmy'/><toolitem name='bttnOpenArmy' action='bttnOpenArmy'/><toolitem name='bttnSaveArmy' action='bttnSaveArmy'/><separator/><toolitem name='bttnUndo' action='bttnUndo'/><toolitem name='bttnRedo' action='bttnRedo'/><separator/></toolbar></ui>"); | 143 this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar'><toolitem name='bttnNewArmy' action='bttnNewArmy'/><toolitem name='bttnOpenArmy' action='bttnOpenArmy'/><toolitem name='bttnSaveArmy' action='bttnSaveArmy'/><separator/><toolitem name='bttnUndo' action='bttnUndo'/><toolitem name='bttnRedo' action='bttnRedo'/><separator/></toolbar></ui>"); |
144 this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); | 144 this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar"))); |
145 this.toolbar.HeightRequest = 36; | 145 this.toolbar.HeightRequest = 36; |
146 this.toolbar.Name = "toolbar"; | 146 this.toolbar.Name = "toolbar"; |
147 this.toolbar.ShowArrow = false; | 147 this.toolbar.ShowArrow = false; |
148 this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); | 148 this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); |
149 this.toolbar.IconSize = ((global::Gtk.IconSize)(3)); | 149 this.toolbar.IconSize = ((global::Gtk.IconSize)(3)); |
150 this.vbox1.Add(this.toolbar); | 150 this.vbox1.Add (this.toolbar); |
151 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar])); | 151 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar])); |
152 w3.Position = 1; | 152 w3.Position = 1; |
153 w3.Expand = false; | 153 w3.Expand = false; |
154 w3.Fill = false; | 154 w3.Fill = false; |
155 // Container child vbox1.Gtk.Box+BoxChild | 155 // Container child vbox1.Gtk.Box+BoxChild |
156 this.hpaned2 = new global::Gtk.HPaned(); | 156 this.hpaned2 = new global::Gtk.HPaned (); |
157 this.hpaned2.CanFocus = true; | 157 this.hpaned2.CanFocus = true; |
158 this.hpaned2.Name = "hpaned2"; | 158 this.hpaned2.Name = "hpaned2"; |
159 this.hpaned2.Position = 178; | 159 this.hpaned2.Position = 178; |
160 // Container child hpaned2.Gtk.Paned+PanedChild | 160 // Container child hpaned2.Gtk.Paned+PanedChild |
161 this.treeUnits = new global::Gtk.TreeView(); | 161 this.treeUnits = new global::Gtk.TreeView (); |
162 this.treeUnits.CanFocus = true; | 162 this.treeUnits.CanFocus = true; |
163 this.treeUnits.Name = "treeUnits"; | 163 this.treeUnits.Name = "treeUnits"; |
164 this.hpaned2.Add(this.treeUnits); | 164 this.hpaned2.Add (this.treeUnits); |
165 global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.treeUnits])); | 165 global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.treeUnits])); |
166 w4.Resize = false; | 166 w4.Resize = false; |
167 // Container child hpaned2.Gtk.Paned+PanedChild | 167 // Container child hpaned2.Gtk.Paned+PanedChild |
168 this.unitsNotebook = new global::Gtk.Notebook(); | 168 this.unitsNotebook = new global::Gtk.Notebook (); |
169 this.unitsNotebook.CanFocus = true; | 169 this.unitsNotebook.CanFocus = true; |
170 this.unitsNotebook.Name = "unitsNotebook"; | 170 this.unitsNotebook.Name = "unitsNotebook"; |
171 this.unitsNotebook.CurrentPage = -1; | 171 this.unitsNotebook.CurrentPage = -1; |
172 this.unitsNotebook.Scrollable = true; | 172 this.unitsNotebook.Scrollable = true; |
173 this.hpaned2.Add(this.unitsNotebook); | 173 this.hpaned2.Add (this.unitsNotebook); |
174 this.vbox1.Add(this.hpaned2); | 174 global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.unitsNotebook])); |
175 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned2])); | 175 w5.Shrink = false; |
176 this.vbox1.Add (this.hpaned2); | |
177 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned2])); | |
176 w6.Position = 2; | 178 w6.Position = 2; |
177 // Container child vbox1.Gtk.Box+BoxChild | 179 // Container child vbox1.Gtk.Box+BoxChild |
178 this.statusbar1 = new global::Gtk.Statusbar(); | 180 this.statusbar1 = new global::Gtk.Statusbar (); |
179 this.statusbar1.Name = "statusbar1"; | 181 this.statusbar1.Name = "statusbar1"; |
180 this.statusbar1.Spacing = 2; | 182 this.statusbar1.Spacing = 2; |
181 // Container child statusbar1.Gtk.Box+BoxChild | 183 // Container child statusbar1.Gtk.Box+BoxChild |
182 this.lblTotalPoints = new global::Gtk.Label(); | 184 this.lblTotalPoints = new global::Gtk.Label (); |
183 this.lblTotalPoints.Name = "lblTotalPoints"; | 185 this.lblTotalPoints.Name = "lblTotalPoints"; |
184 this.statusbar1.Add(this.lblTotalPoints); | 186 this.statusbar1.Add (this.lblTotalPoints); |
185 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.lblTotalPoints])); | 187 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.lblTotalPoints])); |
186 w7.Position = 2; | 188 w7.Position = 2; |
187 w7.Expand = false; | 189 w7.Expand = false; |
188 w7.Fill = false; | 190 w7.Fill = false; |
189 this.vbox1.Add(this.statusbar1); | 191 this.vbox1.Add (this.statusbar1); |
190 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); | 192 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); |
191 w8.Position = 3; | 193 w8.Position = 3; |
192 w8.Expand = false; | 194 w8.Expand = false; |
193 w8.Fill = false; | 195 w8.Fill = false; |
194 this.Add(this.vbox1); | 196 this.Add (this.vbox1); |
195 if ((this.Child != null)) | 197 if ((this.Child != null)) { |
196 { | 198 this.Child.ShowAll (); |
197 this.Child.ShowAll(); | |
198 } | 199 } |
199 this.DefaultWidth = 832; | 200 this.DefaultWidth = 832; |
200 this.DefaultHeight = 659; | 201 this.DefaultHeight = 659; |
201 this.hpaned2.Hide(); | 202 this.hpaned2.Hide (); |
202 this.Show(); | 203 this.Show (); |
203 this.miNewArmy.Activated += new global::System.EventHandler(this.OnCreateArmyActivated); | 204 this.miNewArmy.Activated += new global::System.EventHandler (this.OnCreateArmyActivated); |
204 this.miOpenArmy.Activated += new global::System.EventHandler(this.OnOpenArmyActivated); | 205 this.miOpenArmy.Activated += new global::System.EventHandler (this.OnOpenArmyActivated); |
205 this.miSaveArmy.Activated += new global::System.EventHandler(this.OnSaveArmyActivated); | 206 this.miSaveArmy.Activated += new global::System.EventHandler (this.OnSaveArmyActivated); |
206 this.miSaveArmyAs.Activated += new global::System.EventHandler(this.OnSaveArmyAsActivated); | 207 this.miSaveArmyAs.Activated += new global::System.EventHandler (this.OnSaveArmyAsActivated); |
207 this.miCloseArmy.Activated += new global::System.EventHandler(this.OnCloseArmyActivated); | 208 this.miCloseArmy.Activated += new global::System.EventHandler (this.OnCloseArmyActivated); |
208 this.miReloadFiles.Activated += new global::System.EventHandler(this.OnReloadFilesActivated); | 209 this.miReloadFiles.Activated += new global::System.EventHandler (this.OnReloadFilesActivated); |
209 this.miExit.Activated += new global::System.EventHandler(this.OnExitActivated); | 210 this.miExit.Activated += new global::System.EventHandler (this.OnExitActivated); |
210 this.miAbout.Activated += new global::System.EventHandler(this.HelpAboutActivated); | 211 this.miAbout.Activated += new global::System.EventHandler (this.HelpAboutActivated); |
211 this.bttnNewArmy.Activated += new global::System.EventHandler(this.newTBButtonActivated); | 212 this.bttnNewArmy.Activated += new global::System.EventHandler (this.newTBButtonActivated); |
212 this.bttnOpenArmy.Activated += new global::System.EventHandler(this.openTBButtonActivated); | 213 this.bttnOpenArmy.Activated += new global::System.EventHandler (this.openTBButtonActivated); |
213 this.bttnSaveArmy.Activated += new global::System.EventHandler(this.saveTBButtonActivated); | 214 this.bttnSaveArmy.Activated += new global::System.EventHandler (this.saveTBButtonActivated); |
214 this.bttnUndo.Activated += new global::System.EventHandler(this.undoTBButtonActivated); | 215 this.bttnUndo.Activated += new global::System.EventHandler (this.undoTBButtonActivated); |
215 this.bttnRedo.Activated += new global::System.EventHandler(this.redoTBButtonActivated); | 216 this.bttnRedo.Activated += new global::System.EventHandler (this.redoTBButtonActivated); |
216 this.miExportArmyAsBasicHTML.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated); | 217 this.miExportArmyAsBasicHTML.Activated += new global::System.EventHandler (this.OnMiExportAsBasicHtmlActivated); |
217 this.miPreferences.Activated += new global::System.EventHandler(this.miPreferencesClicked); | 218 this.miPreferences.Activated += new global::System.EventHandler (this.miPreferencesClicked); |
218 this.transformedXmlAction.Activated += new global::System.EventHandler (this.OnTransformedXmlActionActivated); | 219 this.miExportArmyAsTransformedXml.Activated += new global::System.EventHandler (this.OnTransformedXmlActionActivated); |
219 this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated); | 220 this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler (this.ArmyRowActivated); |
220 this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu); | 221 this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler (this.OnTreeUnitsPopupMenu); |
221 this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.UnitTreeButtonPressed); | 222 this.treeUnits.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.UnitTreeButtonPressed); |
222 this.unitsNotebook.Removed += new global::Gtk.RemovedHandler(this.NotebookPageRemoved); | 223 this.unitsNotebook.Removed += new global::Gtk.RemovedHandler (this.NotebookPageRemoved); |
223 } | 224 } |
224 } | 225 } |
225 } | 226 } |