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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // This file has been generated by the GUI designer. Do not modify.
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 namespace IBBoard.WarFoundry.GUI.GTK.Widgets
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 public partial class UnitDisplayWidget
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 private global::Gtk.VBox vbox1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 private global::Gtk.HBox hbox1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 private global::Gtk.Entry unitName;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 private global::Gtk.SpinButton unitSize;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 private global::Gtk.ScrolledWindow statsScrollPanel;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12 private global::Gtk.VBox statsRepeatBox;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13 private global::Gtk.HSeparator hseparator1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 private global::Gtk.HBox hbox2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 private global::Gtk.Table table1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 private global::Gtk.ScrolledWindow GtkScrolledWindow2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 private global::Gtk.NodeView equipmentList;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 private global::Gtk.ScrolledWindow GtkScrolledWindow3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 private global::Gtk.TextView notesView;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 private global::Gtk.ScrolledWindow GtkScrolledWindow4;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 protected virtual void Build()
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 global::Stetic.Gui.Initialize(this);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 // Widget IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 global::Stetic.BinContainer.Attach(this);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 this.Name = "IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 // Container child IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 this.vbox1 = new global::Gtk.VBox();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 this.vbox1.Name = "vbox1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 this.vbox1.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 // Container child vbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 this.hbox1 = new global::Gtk.HBox();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 this.hbox1.Name = "hbox1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 this.hbox1.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 // Container child hbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 this.unitName = new global::Gtk.Entry();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 this.unitName.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 this.unitName.Name = "unitName";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 this.unitName.IsEditable = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 this.unitName.InvisibleChar = '•';
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 this.hbox1.Add(this.unitName);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitName]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 w1.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 // Container child hbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 this.unitSize = new global::Gtk.SpinButton(0, 100, 1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 this.unitSize.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 this.unitSize.Name = "unitSize";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 this.unitSize.Adjustment.PageIncrement = 10;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 this.unitSize.ClimbRate = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 this.unitSize.Numeric = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 this.hbox1.Add(this.unitSize);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.unitSize]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 w2.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 w2.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 w2.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 this.vbox1.Add(this.hbox1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 w3.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 w3.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 w3.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 // Container child vbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 this.statsScrollPanel = new global::Gtk.ScrolledWindow();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 this.statsScrollPanel.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 this.statsScrollPanel.Name = "statsScrollPanel";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 this.statsScrollPanel.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 // Container child statsScrollPanel.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 global::Gtk.Viewport w4 = new global::Gtk.Viewport();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 w4.ShadowType = ((global::Gtk.ShadowType)(0));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 // Container child GtkViewport.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 this.statsRepeatBox = new global::Gtk.VBox();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 this.statsRepeatBox.Name = "statsRepeatBox";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 this.statsRepeatBox.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 w4.Add(this.statsRepeatBox);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 this.statsScrollPanel.Add(w4);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 this.vbox1.Add(this.statsScrollPanel);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statsScrollPanel]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 w7.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 // Container child vbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 this.hseparator1 = new global::Gtk.HSeparator();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 this.hseparator1.Name = "hseparator1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 this.vbox1.Add(this.hseparator1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 w8.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 w8.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 w8.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 // Container child vbox1.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 this.hbox2 = new global::Gtk.HBox();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 this.hbox2.Name = "hbox2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 this.hbox2.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 // Container child hbox2.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 this.table1.Name = "table1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 this.table1.RowSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 this.table1.ColumnSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 // Container child table1.Gtk.Table+TableChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 this.equipmentList = new global::Gtk.NodeView();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 this.equipmentList.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 this.equipmentList.Name = "equipmentList";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 this.equipmentList.HeadersVisible = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 this.GtkScrolledWindow2.Add(this.equipmentList);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 // Container child table1.Gtk.Table+TableChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 this.notesView = new global::Gtk.TextView();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 this.notesView.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 this.notesView.Name = "notesView";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 this.notesView.Editable = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 this.GtkScrolledWindow3.Add(this.notesView);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 // Container child table1.Gtk.Table+TableChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 this.GtkScrolledWindow4.Name = "GtkScrolledWindow4";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 this.abilitiesList = new global::Gtk.NodeView();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 this.abilitiesList.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 this.abilitiesList.Name = "abilitiesList";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 this.abilitiesList.HeadersVisible = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 this.GtkScrolledWindow4.Add(this.abilitiesList);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 this.lblAbilities.Name = "lblAbilities";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 this.lblAbilities.LabelProp = global::Mono.Unix.Catalog.GetString("abilities:");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 w16.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 w16.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 this.lblNotes.Name = "lblNotes";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 this.lblNotes.LabelProp = global::Mono.Unix.Catalog.GetString("notes:");
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 this.table1.Add(this.lblNotes);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.lblNotes]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 w17.TopAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 w17.BottomAttach = ((uint)(3));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 w17.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 w17.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
182 this.hbox2.Add(this.table1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 w18.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
185 // Container child hbox2.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186 this.vbox3 = new global::Gtk.VBox();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 this.vbox3.Name = "vbox3";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 this.vbox3.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 w19.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 w19.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 w19.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 w20.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 w20.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 w20.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 w21.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 w21.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 w21.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 w22.Position = 3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 w22.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 w22.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 this.hbox2.Add(this.vbox3);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 w23.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 w23.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 w23.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 this.vbox1.Add(this.hbox2);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 w24.Position = 3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 w24.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 w24.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246 this.Add(this.vbox1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 if ((this.Child != null))
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249 this.Child.ShowAll();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 this.Show();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 this.unitName.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitNameFocusOut);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
253 this.unitName.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnUnitNameKeyPress);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
254 this.unitSize.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnUnitSizeFocusOut);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
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
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
261 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 }