Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget.cs @ 134:7e77e79e5fdd
Fixes #325: Use default army size when creating armies
* Update name where it hasn't been changed, using template values from data file
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 09 Oct 2011 20:37:53 +0100 |
parents | b4416ca69153 |
children | 560eb34acd17 |
rev | line source |
---|---|
77 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK.Widgets | |
4 { | |
5 public partial class UnitDisplayWidget | |
6 { | |
7 private global::Gtk.VBox vbox1; | |
8 private global::Gtk.HBox hbox1; | |
9 private global::Gtk.Entry unitName; | |
10 private global::Gtk.SpinButton unitSize; | |
11 private global::Gtk.ScrolledWindow statsScrollPanel; | |
12 private global::Gtk.VBox statsRepeatBox; | |
13 private global::Gtk.HSeparator hseparator1; | |
14 private global::Gtk.HBox hbox2; | |
15 private global::Gtk.Table table1; | |
16 private global::Gtk.ScrolledWindow GtkScrolledWindow2; | |
17 private global::Gtk.NodeView equipmentList; | |
18 private global::Gtk.ScrolledWindow GtkScrolledWindow3; | |
19 private global::Gtk.TextView notesView; | |
20 private global::Gtk.ScrolledWindow GtkScrolledWindow4; | |
21 private global::Gtk.NodeView abilitiesList; | |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
22 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAbilities; |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
23 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquip; |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
24 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblNotes; |
77 | 25 private global::Gtk.VBox vbox3; |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
26 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnAddWeapon; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
27 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnEditWeapon; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
28 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnReplaceWeapon; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
29 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnRemoveWeapon; |
77 | 30 |
31 protected virtual void Build() | |
32 { | |
33 global::Stetic.Gui.Initialize(this); | |
34 // Widget IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget | |
35 global::Stetic.BinContainer.Attach(this); | |
36 this.Name = "IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget"; | |
37 // Container child IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget.Gtk.Container+ContainerChild | |
38 this.vbox1 = new global::Gtk.VBox(); | |
39 this.vbox1.Name = "vbox1"; | |
40 this.vbox1.Spacing = 6; | |
41 // Container child vbox1.Gtk.Box+BoxChild | |
42 this.hbox1 = new global::Gtk.HBox(); | |
43 this.hbox1.Name = "hbox1"; | |
44 this.hbox1.Spacing = 6; | |
45 // Container child hbox1.Gtk.Box+BoxChild | |
46 this.unitName = new global::Gtk.Entry(); | |
47 this.unitName.CanFocus = true; | |
48 this.unitName.Name = "unitName"; | |
49 this.unitName.IsEditable = true; | |
50 this.unitName.InvisibleChar = '•'; | |
51 this.hbox1.Add(this.unitName); | |
52 global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitName])); | |
53 w1.Position = 0; | |
54 // Container child hbox1.Gtk.Box+BoxChild | |
55 this.unitSize = new global::Gtk.SpinButton(0, 100, 1); | |
56 this.unitSize.CanFocus = true; | |
57 this.unitSize.Name = "unitSize"; | |
58 this.unitSize.Adjustment.PageIncrement = 10; | |
59 this.unitSize.ClimbRate = 1; | |
60 this.unitSize.Numeric = true; | |
61 this.hbox1.Add(this.unitSize); | |
62 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitSize])); | |
63 w2.Position = 1; | |
64 w2.Expand = false; | |
65 w2.Fill = false; | |
66 this.vbox1.Add(this.hbox1); | |
67 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); | |
68 w3.Position = 0; | |
69 w3.Expand = false; | |
70 w3.Fill = false; | |
71 // Container child vbox1.Gtk.Box+BoxChild | |
72 this.statsScrollPanel = new global::Gtk.ScrolledWindow(); | |
73 this.statsScrollPanel.CanFocus = true; | |
74 this.statsScrollPanel.Name = "statsScrollPanel"; | |
75 this.statsScrollPanel.ShadowType = ((global::Gtk.ShadowType)(1)); | |
76 // Container child statsScrollPanel.Gtk.Container+ContainerChild | |
77 global::Gtk.Viewport w4 = new global::Gtk.Viewport(); | |
78 w4.ShadowType = ((global::Gtk.ShadowType)(0)); | |
79 // Container child GtkViewport.Gtk.Container+ContainerChild | |
80 this.statsRepeatBox = new global::Gtk.VBox(); | |
81 this.statsRepeatBox.Name = "statsRepeatBox"; | |
82 this.statsRepeatBox.Spacing = 6; | |
83 w4.Add(this.statsRepeatBox); | |
84 this.statsScrollPanel.Add(w4); | |
85 this.vbox1.Add(this.statsScrollPanel); | |
86 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statsScrollPanel])); | |
87 w7.Position = 1; | |
88 // Container child vbox1.Gtk.Box+BoxChild | |
89 this.hseparator1 = new global::Gtk.HSeparator(); | |
90 this.hseparator1.Name = "hseparator1"; | |
91 this.vbox1.Add(this.hseparator1); | |
92 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); | |
93 w8.Position = 2; | |
94 w8.Expand = false; | |
95 w8.Fill = false; | |
96 // Container child vbox1.Gtk.Box+BoxChild | |
97 this.hbox2 = new global::Gtk.HBox(); | |
98 this.hbox2.Name = "hbox2"; | |
99 this.hbox2.Spacing = 6; | |
100 // Container child hbox2.Gtk.Box+BoxChild | |
101 this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); | |
102 this.table1.Name = "table1"; | |
103 this.table1.RowSpacing = ((uint)(6)); | |
104 this.table1.ColumnSpacing = ((uint)(6)); | |
105 // Container child table1.Gtk.Table+TableChild | |
106 this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); | |
107 this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; | |
108 this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); | |
109 // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild | |
110 this.equipmentList = new global::Gtk.NodeView(); | |
111 this.equipmentList.CanFocus = true; | |
112 this.equipmentList.Name = "equipmentList"; | |
113 this.equipmentList.HeadersVisible = false; | |
114 this.GtkScrolledWindow2.Add(this.equipmentList); | |
115 this.table1.Add(this.GtkScrolledWindow2); | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
116 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow2])); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
117 w10.LeftAttach = ((uint)(1)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
118 w10.RightAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
119 w10.YOptions = ((global::Gtk.AttachOptions)(4)); |
77 | 120 // Container child table1.Gtk.Table+TableChild |
121 this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); | |
122 this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; | |
123 this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); | |
124 // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild | |
125 this.notesView = new global::Gtk.TextView(); | |
126 this.notesView.CanFocus = true; | |
127 this.notesView.Name = "notesView"; | |
128 this.notesView.Editable = false; | |
129 this.GtkScrolledWindow3.Add(this.notesView); | |
130 this.table1.Add(this.GtkScrolledWindow3); | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
131 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow3])); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
132 w12.TopAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
133 w12.BottomAttach = ((uint)(3)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
134 w12.LeftAttach = ((uint)(1)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
135 w12.RightAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
136 w12.YOptions = ((global::Gtk.AttachOptions)(4)); |
77 | 137 // Container child table1.Gtk.Table+TableChild |
138 this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); | |
139 this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; | |
140 this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); | |
141 // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild | |
142 this.abilitiesList = new global::Gtk.NodeView(); | |
143 this.abilitiesList.CanFocus = true; | |
144 this.abilitiesList.Name = "abilitiesList"; | |
145 this.abilitiesList.HeadersVisible = false; | |
146 this.GtkScrolledWindow4.Add(this.abilitiesList); | |
147 this.table1.Add(this.GtkScrolledWindow4); | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
148 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow4])); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
149 w14.TopAttach = ((uint)(1)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
150 w14.BottomAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
151 w14.LeftAttach = ((uint)(1)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
152 w14.RightAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
153 w14.YOptions = ((global::Gtk.AttachOptions)(4)); |
77 | 154 // Container child table1.Gtk.Table+TableChild |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
155 this.lblAbilities = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
77 | 156 this.lblAbilities.Name = "lblAbilities"; |
157 this.lblAbilities.LabelProp = global::Mono.Unix.Catalog.GetString("abilities:"); | |
158 this.table1.Add(this.lblAbilities); | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
159 global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.lblAbilities])); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
160 w15.TopAttach = ((uint)(1)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
161 w15.BottomAttach = ((uint)(2)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
162 w15.XOptions = ((global::Gtk.AttachOptions)(4)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
163 w15.YOptions = ((global::Gtk.AttachOptions)(4)); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
164 // Container child table1.Gtk.Table+TableChild |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
165 this.lblEquip = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
166 this.lblEquip.Name = "lblEquip"; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
167 this.lblEquip.LabelProp = global::Mono.Unix.Catalog.GetString("equipment:"); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
168 this.table1.Add(this.lblEquip); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
169 global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.lblEquip])); |
77 | 170 w16.XOptions = ((global::Gtk.AttachOptions)(4)); |
171 w16.YOptions = ((global::Gtk.AttachOptions)(4)); | |
172 // Container child table1.Gtk.Table+TableChild | |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
173 this.lblNotes = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
77 | 174 this.lblNotes.Name = "lblNotes"; |
175 this.lblNotes.LabelProp = global::Mono.Unix.Catalog.GetString("notes:"); | |
176 this.table1.Add(this.lblNotes); | |
177 global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.lblNotes])); | |
178 w17.TopAttach = ((uint)(2)); | |
179 w17.BottomAttach = ((uint)(3)); | |
180 w17.XOptions = ((global::Gtk.AttachOptions)(4)); | |
181 w17.YOptions = ((global::Gtk.AttachOptions)(4)); | |
182 this.hbox2.Add(this.table1); | |
183 global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1])); | |
184 w18.Position = 0; | |
185 // Container child hbox2.Gtk.Box+BoxChild | |
186 this.vbox3 = new global::Gtk.VBox(); | |
187 this.vbox3.Name = "vbox3"; | |
188 this.vbox3.Spacing = 6; | |
189 // Container child vbox3.Gtk.Box+BoxChild | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
190 this.bttnAddWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
191 this.bttnAddWeapon.CanFocus = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
192 this.bttnAddWeapon.Name = "bttnAddWeapon"; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
193 this.bttnAddWeapon.UseUnderline = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
194 this.bttnAddWeapon.Label = global::Mono.Unix.Catalog.GetString("add"); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
195 this.vbox3.Add(this.bttnAddWeapon); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
196 global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnAddWeapon])); |
77 | 197 w19.Position = 0; |
198 w19.Expand = false; | |
199 w19.Fill = false; | |
200 // Container child vbox3.Gtk.Box+BoxChild | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
201 this.bttnEditWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
202 this.bttnEditWeapon.Sensitive = false; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
203 this.bttnEditWeapon.CanFocus = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
204 this.bttnEditWeapon.Name = "bttnEditWeapon"; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
205 this.bttnEditWeapon.UseUnderline = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
206 this.bttnEditWeapon.Label = global::Mono.Unix.Catalog.GetString("edit"); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
207 this.vbox3.Add(this.bttnEditWeapon); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
208 global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnEditWeapon])); |
77 | 209 w20.Position = 1; |
210 w20.Expand = false; | |
211 w20.Fill = false; | |
212 // Container child vbox3.Gtk.Box+BoxChild | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
213 this.bttnReplaceWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
214 this.bttnReplaceWeapon.Sensitive = false; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
215 this.bttnReplaceWeapon.CanFocus = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
216 this.bttnReplaceWeapon.Name = "bttnReplaceWeapon"; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
217 this.bttnReplaceWeapon.UseUnderline = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
218 this.bttnReplaceWeapon.Label = global::Mono.Unix.Catalog.GetString("replace"); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
219 this.vbox3.Add(this.bttnReplaceWeapon); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
220 global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnReplaceWeapon])); |
77 | 221 w21.Position = 2; |
222 w21.Expand = false; | |
223 w21.Fill = false; | |
224 // Container child vbox3.Gtk.Box+BoxChild | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
225 this.bttnRemoveWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
226 this.bttnRemoveWeapon.Sensitive = false; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
227 this.bttnRemoveWeapon.CanFocus = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
228 this.bttnRemoveWeapon.Name = "bttnRemoveWeapon"; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
229 this.bttnRemoveWeapon.UseUnderline = true; |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
230 this.bttnRemoveWeapon.Label = global::Mono.Unix.Catalog.GetString("remove"); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
231 this.vbox3.Add(this.bttnRemoveWeapon); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
232 global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnRemoveWeapon])); |
77 | 233 w22.Position = 3; |
234 w22.Expand = false; | |
235 w22.Fill = false; | |
236 this.hbox2.Add(this.vbox3); | |
237 global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); | |
238 w23.Position = 1; | |
239 w23.Expand = false; | |
240 w23.Fill = false; | |
241 this.vbox1.Add(this.hbox2); | |
242 global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); | |
243 w24.Position = 3; | |
244 w24.Expand = false; | |
245 w24.Fill = false; | |
246 this.Add(this.vbox1); | |
247 if ((this.Child != null)) | |
248 { | |
249 this.Child.ShowAll(); | |
250 } | |
251 this.Show(); | |
252 this.unitName.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitNameFocusOut); | |
253 this.unitName.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnUnitNameKeyPress); | |
254 this.unitSize.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitSizeFocusOut); | |
255 this.unitSize.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnUnitSizeKeyPress); | |
96
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
256 this.bttnAddWeapon.Clicked += new global::System.EventHandler(this.OnBttnAddEquipmentClicked); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
257 this.bttnEditWeapon.Clicked += new global::System.EventHandler(this.HandleEditButtonClicked); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
258 this.bttnReplaceWeapon.Clicked += new global::System.EventHandler(this.HandleReplaceButtonClicked); |
b4416ca69153
Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
259 this.bttnRemoveWeapon.Clicked += new global::System.EventHandler(this.HandleRemoveButtonActivated); |
77 | 260 } |
261 } | |
262 } |