Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs @ 137:5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 11 Oct 2011 20:24:11 +0100 |
parents | 6d2c8ad0d8f1 |
children | f23e5b40ca9d |
rev | line source |
---|---|
77 | 1 |
2 // This file has been generated by the GUI designer. Do not modify. | |
3 namespace IBBoard.WarFoundry.GUI.GTK | |
4 { | |
5 public partial class FrmNewUnit | |
6 { | |
7 private global::Gtk.VBox vbox2; | |
8 private global::Gtk.HBox hbox1; | |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
92
diff
changeset
|
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblUnitList; |
77 | 10 private global::Gtk.ScrolledWindow GtkScrolledWindow; |
11 private global::Gtk.TreeView lstUnitTypes; | |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
90
diff
changeset
|
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblNewUnitWarning; |
89
31d54f67d50d
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
13 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; |
31d54f67d50d
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
14 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
15 |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
16 protected virtual void Build () |
77 | 17 { |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
18 global::Stetic.Gui.Initialize (this); |
77 | 19 // Widget IBBoard.WarFoundry.GUI.GTK.FrmNewUnit |
20 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmNewUnit"; | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
21 this.Title = global::Mono.Unix.Catalog.GetString ("Add new unit"); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
22 this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.Menu); |
77 | 23 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
24 this.Modal = true; | |
25 this.SkipPagerHint = true; | |
26 this.SkipTaskbarHint = true; | |
27 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.VBox | |
28 global::Gtk.VBox w1 = this.VBox; | |
29 w1.Name = "dialog1_VBox"; | |
30 w1.BorderWidth = ((uint)(2)); | |
31 // Container child dialog1_VBox.Gtk.Box+BoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
32 this.vbox2 = new global::Gtk.VBox (); |
77 | 33 this.vbox2.Name = "vbox2"; |
34 this.vbox2.Spacing = 6; | |
35 // Container child vbox2.Gtk.Box+BoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
36 this.hbox1 = new global::Gtk.HBox (); |
77 | 37 this.hbox1.Name = "hbox1"; |
38 this.hbox1.Spacing = 6; | |
39 // Container child hbox1.Gtk.Box+BoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
40 this.lblUnitList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
92
diff
changeset
|
41 this.lblUnitList.Name = "lblUnitList"; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
42 this.lblUnitList.LabelProp = global::Mono.Unix.Catalog.GetString ("unit type"); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
43 this.hbox1.Add (this.lblUnitList); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
44 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lblUnitList])); |
77 | 45 w2.Position = 0; |
46 w2.Expand = false; | |
47 w2.Fill = false; | |
48 // Container child hbox1.Gtk.Box+BoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
49 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); |
77 | 50 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
51 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); | |
52 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
53 this.lstUnitTypes = new global::Gtk.TreeView (); |
77 | 54 this.lstUnitTypes.HeightRequest = 150; |
55 this.lstUnitTypes.CanFocus = true; | |
56 this.lstUnitTypes.Name = "lstUnitTypes"; | |
57 this.lstUnitTypes.HeadersVisible = false; | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
58 this.GtkScrolledWindow.Add (this.lstUnitTypes); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
59 this.hbox1.Add (this.GtkScrolledWindow); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
60 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); |
77 | 61 w4.Position = 1; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
62 this.vbox2.Add (this.hbox1); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
63 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); |
77 | 64 w5.Position = 0; |
65 w5.Expand = false; | |
66 w5.Fill = false; | |
67 // Container child vbox2.Gtk.Box+BoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
68 this.lblNewUnitWarning = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel (); |
77 | 69 this.lblNewUnitWarning.Name = "lblNewUnitWarning"; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
70 this.lblNewUnitWarning.Xalign = 0F; |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
71 this.vbox2.Add (this.lblNewUnitWarning); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
72 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblNewUnitWarning])); |
77 | 73 w6.Position = 1; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
74 w1.Add (this.vbox2); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
75 global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); |
77 | 76 w7.Position = 0; |
77 w7.Expand = false; | |
78 w7.Fill = false; | |
79 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.ActionArea | |
80 global::Gtk.HButtonBox w8 = this.ActionArea; | |
81 w8.Name = "dialog1_ActionArea"; | |
82 w8.Spacing = 6; | |
83 w8.BorderWidth = ((uint)(5)); | |
84 w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); | |
85 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
86 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton (); |
88
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
87 this.bttnCancel.CanFocus = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
88 this.bttnCancel.Name = "bttnCancel"; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
89 this.bttnCancel.UseStock = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
90 this.bttnCancel.UseUnderline = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
91 this.bttnCancel.Label = "gtk-cancel"; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
92 this.AddActionWidget (this.bttnCancel, -6); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
93 global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.bttnCancel])); |
77 | 94 w9.Expand = false; |
95 w9.Fill = false; | |
96 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
97 this.bttnCreate = new global::IBBoard.GtkSharp.Translatable.TranslatableButton (); |
88
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
98 this.bttnCreate.CanFocus = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
99 this.bttnCreate.Name = "bttnCreate"; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
100 this.bttnCreate.UseStock = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
101 this.bttnCreate.UseUnderline = true; |
b0089e875754
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
102 this.bttnCreate.Label = "gtk-ok"; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
103 this.AddActionWidget (this.bttnCreate, -5); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
104 global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.bttnCreate])); |
77 | 105 w10.Position = 1; |
106 w10.Expand = false; | |
107 w10.Fill = false; | |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
108 if ((this.Child != null)) { |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
109 this.Child.ShowAll (); |
77 | 110 } |
89
31d54f67d50d
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
111 this.DefaultWidth = 403; |
31d54f67d50d
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
88
diff
changeset
|
112 this.DefaultHeight = 259; |
137
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
113 this.lblNewUnitWarning.Hide (); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
114 this.Show (); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
115 this.lstUnitTypes.RowActivated += new global::Gtk.RowActivatedHandler (this.OnRowActivated); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
116 this.bttnCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelActivated); |
5b92d2be69d8
* More actual code changes in generated code (not just MD reformatting)
IBBoard <dev@ibboard.co.uk>
parents:
97
diff
changeset
|
117 this.bttnCreate.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); |
77 | 118 } |
119 } | |
120 } |