Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmEditArmy.cs @ 145:135491fd1830
* Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 12 Nov 2011 19:53:26 +0000 |
parents | 2b9fabd65309 |
children | 18c7b0b4bc30 |
rev | line source |
---|---|
138
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // This file has been generated by the GUI designer. Do not modify. |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 namespace IBBoard.WarFoundry.GUI.GTK |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 { |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 public partial class FrmEditArmy |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 { |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 private global::Gtk.Table table1; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 private global::Gtk.HBox hbox2; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 private global::Gtk.SpinButton sbPointsValue; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmyName; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmySize; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 private global::Gtk.Entry txtArmyName; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 private global::Gtk.Button buttonCancel; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 private global::Gtk.Button buttonOk; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 protected virtual void Build () |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 { |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 global::Stetic.Gui.Initialize (this); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
19 // Widget IBBoard.WarFoundry.GUI.GTK.FrmEditArmy |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
20 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmEditArmy"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
21 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
22 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmEditArmy.VBox |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
23 global::Gtk.VBox w1 = this.VBox; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 w1.Name = "dialog1_VBox"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 w1.BorderWidth = ((uint)(2)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 // Container child dialog1_VBox.Gtk.Box+BoxChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 this.table1.Name = "table1"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 this.table1.RowSpacing = ((uint)(6)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 this.table1.ColumnSpacing = ((uint)(6)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 // Container child table1.Gtk.Table+TableChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 this.hbox2 = new global::Gtk.HBox (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 this.hbox2.Name = "hbox2"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 // Container child hbox2.Gtk.Box+BoxChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 this.sbPointsValue = new global::Gtk.SpinButton (0, 2000000000, 100); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 this.sbPointsValue.WidthRequest = 150; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 this.sbPointsValue.CanFocus = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 this.sbPointsValue.Name = "sbPointsValue"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.sbPointsValue.Adjustment.PageIncrement = 1000; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 this.sbPointsValue.ClimbRate = 100; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 this.sbPointsValue.Numeric = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 this.sbPointsValue.Value = 1000; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 this.hbox2.Add (this.sbPointsValue); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.sbPointsValue])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 w2.Position = 0; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 w2.Expand = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 w2.Fill = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.table1.Add (this.hbox2); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 w3.TopAttach = ((uint)(1)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 w3.BottomAttach = ((uint)(2)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 w3.LeftAttach = ((uint)(1)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 w3.RightAttach = ((uint)(2)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 w3.YOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 // Container child table1.Gtk.Table+TableChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 this.lblArmyName = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 this.lblArmyName.Name = "lblArmyName"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString ("army name:"); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.table1.Add (this.lblArmyName); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmyName])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 w4.XOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 w4.YOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 // Container child table1.Gtk.Table+TableChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 this.lblArmySize = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 this.lblArmySize.Name = "lblArmySize"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString ("army size:"); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 this.table1.Add (this.lblArmySize); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
68 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmySize])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 w5.TopAttach = ((uint)(1)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 w5.BottomAttach = ((uint)(2)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 // Container child table1.Gtk.Table+TableChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 this.txtArmyName = new global::Gtk.Entry (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 this.txtArmyName.CanFocus = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 this.txtArmyName.Name = "txtArmyName"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 this.txtArmyName.IsEditable = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 this.txtArmyName.InvisibleChar = '●'; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
79 this.table1.Add (this.txtArmyName); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtArmyName])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 w6.LeftAttach = ((uint)(1)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 w6.RightAttach = ((uint)(2)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 w6.YOptions = ((global::Gtk.AttachOptions)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 w1.Add (this.table1); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 w7.Position = 0; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 w7.Expand = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 w7.Fill = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmEditArmy.ActionArea |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 global::Gtk.HButtonBox w8 = this.ActionArea; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 w8.Name = "dialog1_ActionArea"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 w8.Spacing = 10; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 w8.BorderWidth = ((uint)(5)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 this.buttonCancel = new global::Gtk.Button (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 this.buttonCancel.CanDefault = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 this.buttonCancel.CanFocus = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 this.buttonCancel.Name = "buttonCancel"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 this.buttonCancel.UseStock = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 this.buttonCancel.UseUnderline = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 this.buttonCancel.Label = "gtk-cancel"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 this.AddActionWidget (this.buttonCancel, -6); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 w9.Expand = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 w9.Fill = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 this.buttonOk = new global::Gtk.Button (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 this.buttonOk.CanDefault = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 this.buttonOk.CanFocus = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 this.buttonOk.Name = "buttonOk"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 this.buttonOk.UseStock = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 this.buttonOk.UseUnderline = true; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 this.buttonOk.Label = "gtk-ok"; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 this.AddActionWidget (this.buttonOk, -5); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk])); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 w10.Position = 1; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 w10.Expand = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 w10.Fill = false; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 if ((this.Child != null)) { |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 this.Child.ShowAll (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 } |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 this.DefaultWidth = 400; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 this.DefaultHeight = 135; |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 this.Show (); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 } |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 } |
33962c2ef550
Re #326: Make army names and sizes modifiable after creation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 } |