annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget.cs @ 167:9808adf2d566 default tip

Re #419: Remove assumptions of a file-based install * Update GTK# GUI to use Streams version of XSLT export
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Nov 2012 20:25:53 +0000
parents a58c832fa593
children
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;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
30
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
31 protected virtual void Build ()
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 {
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
33 global::Stetic.Gui.Initialize (this);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 // Widget IBBoard.WarFoundry.GUI.GTK.Widgets.UnitDisplayWidget
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
35 global::Stetic.BinContainer.Attach (this);
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
38 this.vbox1 = new global::Gtk.VBox ();
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
42 this.hbox1 = new global::Gtk.HBox ();
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
46 this.unitName = new global::Gtk.Entry ();
77
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;
148
a58c832fa593 * More changes to try to fix build on Jenkins (which doesn't handle multi-byte Unicode characters)
IBBoard <dev@ibboard.co.uk>
parents: 136
diff changeset
50 this.unitName.InvisibleChar = '#';
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
51 this.hbox1.Add (this.unitName);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
52 global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.unitName]));
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
55 this.unitSize = new global::Gtk.SpinButton (0, 100, 1);
77
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;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
61 this.hbox1.Add (this.unitSize);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
62 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.unitSize]));
77
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;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
66 this.vbox1.Add (this.hbox1);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
67 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
72 this.statsScrollPanel = new global::Gtk.ScrolledWindow ();
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
73 this.statsScrollPanel.HeightRequest = 115;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 this.statsScrollPanel.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 this.statsScrollPanel.Name = "statsScrollPanel";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 this.statsScrollPanel.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 // Container child statsScrollPanel.Gtk.Container+ContainerChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
78 global::Gtk.Viewport w4 = new global::Gtk.Viewport ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 w4.ShadowType = ((global::Gtk.ShadowType)(0));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 // Container child GtkViewport.Gtk.Container+ContainerChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
81 this.statsRepeatBox = new global::Gtk.VBox ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 this.statsRepeatBox.Name = "statsRepeatBox";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 this.statsRepeatBox.Spacing = 6;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
84 w4.Add (this.statsRepeatBox);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
85 this.statsScrollPanel.Add (w4);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
86 this.vbox1.Add (this.statsScrollPanel);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
87 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statsScrollPanel]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 w7.Position = 1;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
89 w7.Expand = false;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 // Container child vbox1.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
91 this.hseparator1 = new global::Gtk.HSeparator ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 this.hseparator1.Name = "hseparator1";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
93 this.vbox1.Add (this.hseparator1);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
94 global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 w8.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 w8.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 w8.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 // Container child vbox1.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
99 this.hbox2 = new global::Gtk.HBox ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 this.hbox2.Name = "hbox2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 this.hbox2.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 // Container child hbox2.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
103 this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 this.table1.Name = "table1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 this.table1.RowSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 this.table1.ColumnSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
108 this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
112 this.equipmentList = new global::Gtk.NodeView ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 this.equipmentList.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 this.equipmentList.Name = "equipmentList";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 this.equipmentList.HeadersVisible = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
116 this.GtkScrolledWindow2.Add (this.equipmentList);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
117 this.table1.Add (this.GtkScrolledWindow2);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
118 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow2]));
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
119 w10.LeftAttach = ((uint)(1));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
120 w10.RightAttach = ((uint)(2));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
122 this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
126 this.notesView = new global::Gtk.TextView ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 this.notesView.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 this.notesView.Name = "notesView";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 this.notesView.Editable = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
130 this.GtkScrolledWindow3.Add (this.notesView);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
131 this.table1.Add (this.GtkScrolledWindow3);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
132 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow3]));
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
133 w12.TopAttach = ((uint)(2));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
134 w12.BottomAttach = ((uint)(3));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
135 w12.LeftAttach = ((uint)(1));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
136 w12.RightAttach = ((uint)(2));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
138 this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow ();
77
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
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
142 this.abilitiesList = new global::Gtk.NodeView ();
77
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;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
146 this.GtkScrolledWindow4.Add (this.abilitiesList);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
147 this.table1.Add (this.GtkScrolledWindow4);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
148 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow4]));
96
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));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
154 this.lblAbilities = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 this.lblAbilities.Name = "lblAbilities";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
156 this.lblAbilities.LabelProp = global::Mono.Unix.Catalog.GetString ("abilities:");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
157 this.table1.Add (this.lblAbilities);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
158 global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblAbilities]));
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
159 w15.TopAttach = ((uint)(1));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
160 w15.BottomAttach = ((uint)(2));
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
161 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
162 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
163 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
164 this.lblEquip = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
165 this.lblEquip.Name = "lblEquip";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
166 this.lblEquip.LabelProp = global::Mono.Unix.Catalog.GetString ("equipment:");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
167 this.table1.Add (this.lblEquip);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
168 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
169 w16.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 w16.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
172 this.lblNotes = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 this.lblNotes.Name = "lblNotes";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
174 this.lblNotes.LabelProp = global::Mono.Unix.Catalog.GetString ("notes:");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
175 this.table1.Add (this.lblNotes);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
176 global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblNotes]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 w17.TopAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 w17.BottomAttach = ((uint)(3));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 w17.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 w17.YOptions = ((global::Gtk.AttachOptions)(4));
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
181 this.hbox2.Add (this.table1);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
182 global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 w18.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 // Container child hbox2.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
185 this.vbox3 = new global::Gtk.VBox ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186 this.vbox3.Name = "vbox3";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 this.vbox3.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 // Container child vbox3.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
189 this.bttnAddWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
190 this.bttnAddWeapon.CanFocus = true;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
191 this.bttnAddWeapon.Name = "bttnAddWeapon";
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
192 this.bttnAddWeapon.UseUnderline = true;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
193 this.bttnAddWeapon.Label = global::Mono.Unix.Catalog.GetString ("add");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
194 this.vbox3.Add (this.bttnAddWeapon);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
195 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
196 w19.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 w19.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 w19.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 // Container child vbox3.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
200 this.bttnEditWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
201 this.bttnEditWeapon.Sensitive = false;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
202 this.bttnEditWeapon.CanFocus = true;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
203 this.bttnEditWeapon.Name = "bttnEditWeapon";
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
204 this.bttnEditWeapon.UseUnderline = true;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
205 this.bttnEditWeapon.Label = global::Mono.Unix.Catalog.GetString ("edit");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
206 this.vbox3.Add (this.bttnEditWeapon);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
207 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
208 w20.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 w20.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 w20.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 // Container child vbox3.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
212 this.bttnReplaceWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
213 this.bttnReplaceWeapon.Sensitive = false;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
214 this.bttnReplaceWeapon.CanFocus = true;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
215 this.bttnReplaceWeapon.Name = "bttnReplaceWeapon";
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
216 this.bttnReplaceWeapon.UseUnderline = true;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
217 this.bttnReplaceWeapon.Label = global::Mono.Unix.Catalog.GetString ("replace");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
218 this.vbox3.Add (this.bttnReplaceWeapon);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
219 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
220 w21.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 w21.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 w21.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 // Container child vbox3.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
224 this.bttnRemoveWeapon = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
96
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
225 this.bttnRemoveWeapon.Sensitive = false;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
226 this.bttnRemoveWeapon.CanFocus = true;
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
227 this.bttnRemoveWeapon.Name = "bttnRemoveWeapon";
b4416ca69153 Fixes #309: Add initial preference dialog with language support
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
228 this.bttnRemoveWeapon.UseUnderline = true;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
229 this.bttnRemoveWeapon.Label = global::Mono.Unix.Catalog.GetString ("remove");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
230 this.vbox3.Add (this.bttnRemoveWeapon);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
231 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
232 w22.Position = 3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 w22.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 w22.Fill = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
235 this.hbox2.Add (this.vbox3);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
236 global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 w23.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 w23.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 w23.Fill = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
240 this.vbox1.Add (this.hbox2);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
241 global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 w24.Position = 3;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
243 this.Add (this.vbox1);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
244 if ((this.Child != null)) {
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
245 this.Child.ShowAll ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246 }
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
247 this.Show ();
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
248 this.unitName.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnUnitNameFocusOut);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
249 this.unitName.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnUnitNameKeyPress);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
250 this.unitSize.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnUnitSizeFocusOut);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
251 this.unitSize.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnUnitSizeKeyPress);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
252 this.bttnAddWeapon.Clicked += new global::System.EventHandler (this.OnBttnAddEquipmentClicked);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
253 this.bttnEditWeapon.Clicked += new global::System.EventHandler (this.HandleEditButtonClicked);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
254 this.bttnReplaceWeapon.Clicked += new global::System.EventHandler (this.HandleReplaceButtonClicked);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 96
diff changeset
255 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
256 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
258 }