Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs @ 50:d2f4fcc28254
Re #306: Combine equipment lists in GTK#
* Initial UI rearranging
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 15 Aug 2010 16:02:49 +0000 |
parents | 23238d998535 |
children | dafbd432ca23 |
rev | line source |
---|---|
40 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GTK.Widgets | |
4 { | |
5 public partial class UnitDisplayWidget | |
6 { | |
7 private global::Gtk.VBox vbox1; | |
8 | |
9 private global::Gtk.HBox hbox1; | |
10 | |
11 private global::Gtk.Entry unitName; | |
12 | |
13 private global::Gtk.SpinButton unitSize; | |
14 | |
15 private global::Gtk.ScrolledWindow GtkScrolledWindow; | |
16 | |
17 private global::Gtk.NodeView unitStats; | |
18 | |
19 private global::Gtk.HSeparator hseparator1; | |
20 | |
21 private global::Gtk.Table table1; | |
22 | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
23 private global::Gtk.Label equipmentLabel; |
40 | 24 |
25 private global::Gtk.ScrolledWindow GtkScrolledWindow2; | |
26 | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
27 private global::Gtk.NodeView equipmentList; |
40 | 28 |
48
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
29 private global::Gtk.ScrolledWindow GtkScrolledWindow3; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
30 |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
31 private global::Gtk.TextView notesView; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
32 |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
33 private global::Gtk.Label lblNotes; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
34 |
40 | 35 private global::Gtk.VBox vbox3; |
36 | |
37 private global::Gtk.Button bttnAddOptional; | |
38 | |
39 private global::Gtk.Button bttnEditOptional; | |
40 | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
41 private global::Gtk.Button bttnReplace; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
42 |
40 | 43 private global::Gtk.Button bttnRemove; |
44 | |
45 protected virtual void Build() | |
46 { | |
47 global::Stetic.Gui.Initialize(this); | |
48 // Widget IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget | |
49 global::Stetic.BinContainer.Attach(this); | |
50 this.Name = "IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget"; | |
51 // Container child IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.Gtk.Container+ContainerChild | |
52 this.vbox1 = new global::Gtk.VBox(); | |
53 this.vbox1.Name = "vbox1"; | |
54 this.vbox1.Spacing = 6; | |
55 // Container child vbox1.Gtk.Box+BoxChild | |
56 this.hbox1 = new global::Gtk.HBox(); | |
57 this.hbox1.Name = "hbox1"; | |
58 this.hbox1.Spacing = 6; | |
59 // Container child hbox1.Gtk.Box+BoxChild | |
60 this.unitName = new global::Gtk.Entry(); | |
61 this.unitName.CanFocus = true; | |
62 this.unitName.Name = "unitName"; | |
63 this.unitName.IsEditable = true; | |
64 this.unitName.InvisibleChar = '•'; | |
65 this.hbox1.Add(this.unitName); | |
66 global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitName])); | |
67 w1.Position = 0; | |
68 // Container child hbox1.Gtk.Box+BoxChild | |
69 this.unitSize = new global::Gtk.SpinButton(0, 100, 1); | |
70 this.unitSize.CanFocus = true; | |
71 this.unitSize.Name = "unitSize"; | |
72 this.unitSize.Adjustment.PageIncrement = 10; | |
73 this.unitSize.ClimbRate = 1; | |
74 this.unitSize.Numeric = true; | |
75 this.hbox1.Add(this.unitSize); | |
76 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitSize])); | |
77 w2.Position = 1; | |
78 w2.Expand = false; | |
79 w2.Fill = false; | |
80 this.vbox1.Add(this.hbox1); | |
81 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); | |
82 w3.Position = 0; | |
83 w3.Expand = false; | |
84 w3.Fill = false; | |
85 // Container child vbox1.Gtk.Box+BoxChild | |
86 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); | |
87 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; | |
88 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); | |
89 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | |
90 this.unitStats = new global::Gtk.NodeView(); | |
91 this.unitStats.HeightRequest = 75; | |
92 this.unitStats.CanFocus = true; | |
93 this.unitStats.Name = "unitStats"; | |
94 this.GtkScrolledWindow.Add(this.unitStats); | |
95 this.vbox1.Add(this.GtkScrolledWindow); | |
96 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); | |
97 w5.Position = 1; | |
98 // Container child vbox1.Gtk.Box+BoxChild | |
99 this.hseparator1 = new global::Gtk.HSeparator(); | |
100 this.hseparator1.Name = "hseparator1"; | |
101 this.vbox1.Add(this.hseparator1); | |
102 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); | |
103 w6.Position = 2; | |
104 w6.Expand = false; | |
105 w6.Fill = false; | |
106 // Container child vbox1.Gtk.Box+BoxChild | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
107 this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
108 this.table1.Name = "table1"; |
40 | 109 this.table1.RowSpacing = ((uint)(6)); |
110 this.table1.ColumnSpacing = ((uint)(6)); | |
111 // Container child table1.Gtk.Table+TableChild | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
112 this.equipmentLabel = new global::Gtk.Label(); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
113 this.equipmentLabel.Name = "equipmentLabel"; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
114 this.equipmentLabel.LabelProp = global::Mono.Unix.Catalog.GetString("equipment:"); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
115 this.table1.Add(this.equipmentLabel); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
116 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.equipmentLabel])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
117 w7.XOptions = ((global::Gtk.AttachOptions)(4)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
118 w7.YOptions = ((global::Gtk.AttachOptions)(4)); |
40 | 119 // Container child table1.Gtk.Table+TableChild |
120 this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); | |
121 this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; | |
122 this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); | |
123 // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
124 this.equipmentList = new global::Gtk.NodeView(); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
125 this.equipmentList.CanFocus = true; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
126 this.equipmentList.Name = "equipmentList"; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
127 this.GtkScrolledWindow2.Add(this.equipmentList); |
40 | 128 this.table1.Add(this.GtkScrolledWindow2); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
129 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow2])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
130 w9.LeftAttach = ((uint)(1)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
131 w9.RightAttach = ((uint)(2)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
132 w9.YOptions = ((global::Gtk.AttachOptions)(4)); |
40 | 133 // Container child table1.Gtk.Table+TableChild |
48
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
134 this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
135 this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
136 this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
137 // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
138 this.notesView = new global::Gtk.TextView(); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
139 this.notesView.CanFocus = true; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
140 this.notesView.Name = "notesView"; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
141 this.notesView.Editable = false; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
142 this.GtkScrolledWindow3.Add(this.notesView); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
143 this.table1.Add(this.GtkScrolledWindow3); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
144 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow3])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
145 w11.TopAttach = ((uint)(1)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
146 w11.BottomAttach = ((uint)(2)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
147 w11.LeftAttach = ((uint)(1)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
148 w11.RightAttach = ((uint)(2)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
149 w11.YOptions = ((global::Gtk.AttachOptions)(4)); |
48
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
150 // Container child table1.Gtk.Table+TableChild |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
151 this.lblNotes = new global::Gtk.Label(); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
152 this.lblNotes.Name = "lblNotes"; |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
153 this.lblNotes.LabelProp = global::Mono.Unix.Catalog.GetString("notes:"); |
23238d998535
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
40
diff
changeset
|
154 this.table1.Add(this.lblNotes); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
155 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.lblNotes])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
156 w12.TopAttach = ((uint)(1)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
157 w12.BottomAttach = ((uint)(2)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
158 w12.XOptions = ((global::Gtk.AttachOptions)(4)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
159 w12.YOptions = ((global::Gtk.AttachOptions)(4)); |
40 | 160 // Container child table1.Gtk.Table+TableChild |
161 this.vbox3 = new global::Gtk.VBox(); | |
162 this.vbox3.Name = "vbox3"; | |
163 this.vbox3.Spacing = 6; | |
164 // Container child vbox3.Gtk.Box+BoxChild | |
165 this.bttnAddOptional = new global::Gtk.Button(); | |
166 this.bttnAddOptional.CanFocus = true; | |
167 this.bttnAddOptional.Name = "bttnAddOptional"; | |
168 this.bttnAddOptional.UseUnderline = true; | |
169 this.bttnAddOptional.Label = global::Mono.Unix.Catalog.GetString("Add"); | |
170 this.vbox3.Add(this.bttnAddOptional); | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
171 global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnAddOptional])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
172 w13.Position = 0; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
173 w13.Expand = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
174 w13.Fill = false; |
40 | 175 // Container child vbox3.Gtk.Box+BoxChild |
176 this.bttnEditOptional = new global::Gtk.Button(); | |
177 this.bttnEditOptional.CanFocus = true; | |
178 this.bttnEditOptional.Name = "bttnEditOptional"; | |
179 this.bttnEditOptional.UseUnderline = true; | |
180 this.bttnEditOptional.Label = global::Mono.Unix.Catalog.GetString("Edit"); | |
181 this.vbox3.Add(this.bttnEditOptional); | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
182 global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnEditOptional])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
183 w14.Position = 1; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
184 w14.Expand = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
185 w14.Fill = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
186 // Container child vbox3.Gtk.Box+BoxChild |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
187 this.bttnReplace = new global::Gtk.Button(); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
188 this.bttnReplace.CanFocus = true; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
189 this.bttnReplace.Name = "bttnReplace"; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
190 this.bttnReplace.UseUnderline = true; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
191 this.bttnReplace.Label = global::Mono.Unix.Catalog.GetString("Replace"); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
192 this.vbox3.Add(this.bttnReplace); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
193 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnReplace])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
194 w15.Position = 2; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
195 w15.Expand = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
196 w15.Fill = false; |
40 | 197 // Container child vbox3.Gtk.Box+BoxChild |
198 this.bttnRemove = new global::Gtk.Button(); | |
199 this.bttnRemove.CanFocus = true; | |
200 this.bttnRemove.Name = "bttnRemove"; | |
201 this.bttnRemove.UseUnderline = true; | |
202 this.bttnRemove.Label = global::Mono.Unix.Catalog.GetString("Remove"); | |
203 this.vbox3.Add(this.bttnRemove); | |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
204 global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.bttnRemove])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
205 w16.Position = 3; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
206 w16.Expand = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
207 w16.Fill = false; |
40 | 208 this.table1.Add(this.vbox3); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
209 global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
210 w17.LeftAttach = ((uint)(2)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
211 w17.RightAttach = ((uint)(3)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
212 w17.XOptions = ((global::Gtk.AttachOptions)(4)); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
213 w17.YOptions = ((global::Gtk.AttachOptions)(4)); |
40 | 214 this.vbox1.Add(this.table1); |
50
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
215 global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
216 w18.Position = 3; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
217 w18.Expand = false; |
d2f4fcc28254
Re #306: Combine equipment lists in GTK#
IBBoard <dev@ibboard.co.uk>
parents:
48
diff
changeset
|
218 w18.Fill = false; |
40 | 219 this.Add(this.vbox1); |
220 if ((this.Child != null)) | |
221 { | |
222 this.Child.ShowAll(); | |
223 } | |
224 this.Show(); | |
225 this.unitName.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitNameFocusOut); | |
226 this.unitName.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnUnitNameKeyPress); | |
227 this.unitSize.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitSizeFocusOut); | |
228 this.unitSize.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnUnitSizeKeyPress); | |
229 } | |
230 } | |
5 | 231 } |