annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.cs @ 155:7b091ea86819

* Commit code that MonoDevelop insists on reformatting
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 May 2012 19:56:24 +0100
parents 18c7b0b4bc30
children 08b30dc56af4
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
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 FrmNewArmy
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.Table table1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 private global::Gtk.TreeView lstRaces;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 private global::Gtk.HBox hbox2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
11 private global::Gtk.SpinButton sbPointsValue;
87
40857cfb309b Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmyName;
40857cfb309b Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmySize;
40857cfb309b Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
14 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblGameSystem;
40857cfb309b Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 86
diff changeset
15 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblRaceList;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 private global::Gtk.ComboBoxEntry systemCombo;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 private global::Gtk.Entry txtArmyName;
90
a754a2d1881c Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 87
diff changeset
18 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
a754a2d1881c Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 87
diff changeset
19 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
20
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
21 protected virtual void Build ()
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 {
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
23 global::Stetic.Gui.Initialize (this);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 // Widget IBBoard.WarFoundry.GUI.GTK.FrmNewArmy
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 this.Events = ((global::Gdk.EventMask)(256));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmNewArmy";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
27 this.Title = global::Mono.Unix.Catalog.GetString ("Create new army");
155
7b091ea86819 * Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
28 this.Icon = global::Stetic.IconLoader.LoadIcon (
7b091ea86819 * Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
29 this,
7b091ea86819 * Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
30 "gtk-new",
7b091ea86819 * Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
31 global::Gtk.IconSize.Menu
7b091ea86819 * Commit code that MonoDevelop insists on reformatting
IBBoard <dev@ibboard.co.uk>
parents: 147
diff changeset
32 );
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 this.SkipPagerHint = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 this.SkipTaskbarHint = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.VBox
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 global::Gtk.VBox w1 = this.VBox;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 w1.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 w1.Events = ((global::Gdk.EventMask)(256));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 w1.Name = "dialog_VBox";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 w1.BorderWidth = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 // Container child dialog_VBox.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
43 this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 this.table1.Name = "table1";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 this.table1.RowSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 this.table1.ColumnSpacing = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
48 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
52 this.lstRaces = new global::Gtk.TreeView ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53 this.lstRaces.HeightRequest = 150;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 this.lstRaces.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55 this.lstRaces.Name = "lstRaces";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 this.lstRaces.HeadersVisible = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57 this.lstRaces.RulesHint = true;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
58 this.GtkScrolledWindow.Add (this.lstRaces);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
59 this.table1.Add (this.GtkScrolledWindow);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
60 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 w3.TopAttach = ((uint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 w3.BottomAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 w3.LeftAttach = ((uint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
64 w3.RightAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
65 w3.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 w3.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
68 this.hbox2 = new global::Gtk.HBox ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 this.hbox2.Name = "hbox2";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 // Container child hbox2.Gtk.Box+BoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
71 this.sbPointsValue = new global::Gtk.SpinButton (0, 2000000000, 100);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 this.sbPointsValue.WidthRequest = 150;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 this.sbPointsValue.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 this.sbPointsValue.Name = "sbPointsValue";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 this.sbPointsValue.Adjustment.PageIncrement = 1000;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 this.sbPointsValue.ClimbRate = 100;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 this.sbPointsValue.Numeric = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 this.sbPointsValue.Value = 1000;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
79 this.hbox2.Add (this.sbPointsValue);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
80 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.sbPointsValue]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 w4.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 w4.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 w4.Fill = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
84 this.table1.Add (this.hbox2);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
85 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 w5.TopAttach = ((uint)(3));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 w5.BottomAttach = ((uint)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 w5.LeftAttach = ((uint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 w5.RightAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 w5.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 w5.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
93 this.lblArmyName = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
94 this.lblArmyName.Name = "lblArmyName";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
95 this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString ("army name");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
96 this.table1.Add (this.lblArmyName);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
97 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmyName]));
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
98 w6.TopAttach = ((uint)(2));
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
99 w6.BottomAttach = ((uint)(3));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 w6.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 w6.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
103 this.lblArmySize = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
104 this.lblArmySize.Name = "lblArmySize";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
105 this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString ("points value");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
106 this.table1.Add (this.lblArmySize);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
107 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmySize]));
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
108 w7.TopAttach = ((uint)(3));
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
109 w7.BottomAttach = ((uint)(4));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 w7.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 w7.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
113 this.lblGameSystem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
114 this.lblGameSystem.Name = "lblGameSystem";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
115 this.lblGameSystem.LabelProp = global::Mono.Unix.Catalog.GetString ("game system");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
116 this.table1.Add (this.lblGameSystem);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
117 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblGameSystem]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 w8.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 w8.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
121 this.lblRaceList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
86
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
122 this.lblRaceList.Name = "lblRaceList";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
123 this.lblRaceList.LabelProp = global::Mono.Unix.Catalog.GetString ("race");
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
124 this.table1.Add (this.lblRaceList);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
125 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblRaceList]));
85
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
126 w9.TopAttach = ((uint)(1));
bfb29a60b802 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
127 w9.BottomAttach = ((uint)(2));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 w9.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 w9.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
131 this.systemCombo = global::Gtk.ComboBoxEntry.NewText ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 this.systemCombo.Name = "systemCombo";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
133 this.table1.Add (this.systemCombo);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
134 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.systemCombo]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 w10.LeftAttach = ((uint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 w10.RightAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 w10.YOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 // Container child table1.Gtk.Table+TableChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
139 this.txtArmyName = new global::Gtk.Entry ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 this.txtArmyName.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 this.txtArmyName.Name = "txtArmyName";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 this.txtArmyName.IsEditable = true;
147
18c7b0b4bc30 * Try to fix Unicode build issues on Jenkins server by changing "invisible character" (which is only used on passwords anyway)
IBBoard <dev@ibboard.co.uk>
parents: 145
diff changeset
143 this.txtArmyName.InvisibleChar = '#';
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
144 this.table1.Add (this.txtArmyName);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
145 global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtArmyName]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 w11.TopAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 w11.BottomAttach = ((uint)(3));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 w11.LeftAttach = ((uint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 w11.RightAttach = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 w11.XOptions = ((global::Gtk.AttachOptions)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 w11.YOptions = ((global::Gtk.AttachOptions)(4));
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
152 w1.Add (this.table1);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
153 global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 w12.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 w12.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 w12.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 w12.Padding = ((uint)(6));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
158 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.ActionArea
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 global::Gtk.HButtonBox w13 = this.ActionArea;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 w13.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 w13.Events = ((global::Gdk.EventMask)(256));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 w13.Name = "WarFoundrySharp.FrmNewArmy_ActionArea";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 w13.Spacing = 6;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 w13.BorderWidth = ((uint)(5));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
167 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
168 this.bttnCancel.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 this.bttnCancel.Name = "bttnCancel";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 this.bttnCancel.UseStock = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 this.bttnCancel.UseUnderline = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 this.bttnCancel.Label = "gtk-cancel";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
173 this.AddActionWidget (this.bttnCancel, -6);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
174 global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.bttnCancel]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 w14.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 w14.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 // Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
178 this.bttnCreate = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 this.bttnCreate.Sensitive = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 this.bttnCreate.CanDefault = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 this.bttnCreate.CanFocus = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
182 this.bttnCreate.Name = "bttnCreate";
86
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
183 this.bttnCreate.UseStock = true;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 this.bttnCreate.UseUnderline = true;
86
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
185 this.bttnCreate.Label = "gtk-ok";
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
186 this.AddActionWidget (this.bttnCreate, -5);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
187 global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.bttnCreate]));
86
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
188 w15.Position = 1;
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
189 w15.Expand = false;
9515b57ba752 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
190 w15.Fill = false;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
191 if ((this.Child != null)) {
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
192 this.Child.ShowAll ();
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
193 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
194 this.DefaultWidth = 370;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
195 this.DefaultHeight = 348;
136
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
196 this.Show ();
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
197 this.txtArmyName.Changed += new global::System.EventHandler (this.OnTextChanged);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
198 this.systemCombo.Changed += new global::System.EventHandler (this.OnSystemComboChanged);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
199 this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler (this.OnSpinChangeValue);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
200 this.sbPointsValue.ValueChanged += new global::System.EventHandler (this.OnSpinValueChanged);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
201 this.sbPointsValue.Changed += new global::System.EventHandler (this.OnSpinValueChanged);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
202 this.bttnCancel.Clicked += new global::System.EventHandler (this.OnCancelClicked);
560eb34acd17 * Make UnitDisplayWidget expand boxes so that they're useful
IBBoard <dev@ibboard.co.uk>
parents: 90
diff changeset
203 this.bttnCreate.Clicked += new global::System.EventHandler (this.OnCreateClicked);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
204 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206 }