annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.cs @ 153:87fda1e6d4d3

* Merge accidental new head
author IBBoard <dev@ibboard.co.uk>
date Tue, 08 May 2012 21:01:57 +0100
parents 135491fd1830
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // This file has been generated by the GUI designer. Do not modify.
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 namespace IBBoard.WarFoundry.GUI.GTK
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 {
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 public partial class FrmAddEquipment
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 {
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
7 private global::Gtk.Table table1;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
9 private global::Gtk.TreeView lstEquipment;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
10 private global::Gtk.HBox hbox2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
11 private global::Gtk.Table table2;
92
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll;
58779fcd0166 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
14 private global::Gtk.SpinButton numericAmount;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
15 private global::Gtk.SpinButton percentageAmount;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
16 private global::Gtk.RadioButton rbEquipAll;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
17 private global::Gtk.RadioButton rbEquipNumeric;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents: 71
diff changeset
18 private global::Gtk.RadioButton rbEquipPercent;
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
23
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
24 protected virtual void Build ()
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 {
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
26 global::Stetic.Gui.Initialize (this);
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
29 this.Title = global::Mono.Unix.Catalog.GetString ("Add equipment");
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
65
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
31 this.Modal = true;
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
32 this.SkipPagerHint = true;
77448375d2f9 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 61
diff changeset
33 this.SkipTaskbarHint = true;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.VBox
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35 global::Gtk.VBox w1 = this.VBox;
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 w1.Name = "dialog1_VBox";
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37 w1.BorderWidth = ((uint)(2));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
38 // Container child dialog1_VBox.Gtk.Box+BoxChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
39 this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
40 this.table1.Name = "table1";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
41 this.table1.RowSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
42 this.table1.ColumnSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
43 // Container child table1.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
48 this.lstEquipment = new global::Gtk.TreeView ();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
49 this.lstEquipment.CanFocus = true;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
50 this.lstEquipment.Name = "lstEquipment";
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
51 this.lstEquipment.HeadersVisible = false;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
52 this.GtkScrolledWindow.Add (this.lstEquipment);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
53 this.table1.Add (this.GtkScrolledWindow);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
55 w3.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
56 w3.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
57 w3.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
58 // Container child table1.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
59 this.hbox2 = new global::Gtk.HBox ();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
60 this.hbox2.Name = "hbox2";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
61 this.hbox2.Spacing = 6;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
62 // Container child hbox2.Gtk.Box+BoxChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
63 this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
64 this.table2.Name = "table2";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
65 this.table2.RowSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
66 this.table2.ColumnSpacing = ((uint)(6));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
67 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
69 this.lblEquipAll.Name = "lblEquipAll";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString ("equip all");
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
71 this.table2.Add (this.lblEquipAll);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblEquipAll]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
73 w4.TopAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
74 w4.BottomAttach = ((uint)(3));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
75 w4.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
76 w4.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
77 w4.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
78 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
80 this.lblPercent.Name = "lblPercent";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString ("%");
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
82 this.table2.Add (this.lblPercent);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.lblPercent]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
84 w5.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
85 w5.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
86 w5.LeftAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
87 w5.RightAttach = ((uint)(3));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
88 w5.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
89 w5.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
90 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
91 this.numericAmount = new global::Gtk.SpinButton (0, 100, 1);
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
92 this.numericAmount.CanFocus = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
93 this.numericAmount.Name = "numericAmount";
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
94 this.numericAmount.Adjustment.PageIncrement = 10;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
95 this.numericAmount.ClimbRate = 1;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
96 this.numericAmount.Numeric = true;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
97 this.table2.Add (this.numericAmount);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.numericAmount]));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
99 w6.LeftAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
100 w6.RightAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
101 w6.XOptions = ((global::Gtk.AttachOptions)(0));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
102 w6.YOptions = ((global::Gtk.AttachOptions)(4));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
103 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
104 this.percentageAmount = new global::Gtk.SpinButton (0, 100, 1);
55
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
105 this.percentageAmount.CanFocus = true;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
106 this.percentageAmount.Name = "percentageAmount";
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
107 this.percentageAmount.Adjustment.PageIncrement = 10;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
108 this.percentageAmount.ClimbRate = 1;
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
109 this.percentageAmount.Digits = ((uint)(1));
eb7db8495bb5 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 52
diff changeset
110 this.percentageAmount.Numeric = true;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
111 this.table2.Add (this.percentageAmount);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.percentageAmount]));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
113 w7.TopAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
114 w7.BottomAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
115 w7.LeftAttach = ((uint)(1));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
116 w7.RightAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
117 w7.XOptions = ((global::Gtk.AttachOptions)(0));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
118 w7.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
119 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
120 this.rbEquipAll = new global::Gtk.RadioButton ("");
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
121 this.rbEquipAll.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
122 this.rbEquipAll.Name = "rbEquipAll";
98
fac0636ae13b Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 97
diff changeset
123 this.rbEquipAll.Active = true;
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
124 this.rbEquipAll.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
125 this.rbEquipAll.UseUnderline = true;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
126 this.rbEquipAll.Group = new global::GLib.SList (global::System.IntPtr.Zero);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
127 this.table2.Add (this.rbEquipAll);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
128 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipAll]));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
129 w8.TopAttach = ((uint)(2));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
130 w8.BottomAttach = ((uint)(3));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
131 w8.XOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
132 w8.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
133 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
134 this.rbEquipNumeric = new global::Gtk.RadioButton ("");
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
135 this.rbEquipNumeric.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
136 this.rbEquipNumeric.Name = "rbEquipNumeric";
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
137 this.rbEquipNumeric.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
138 this.rbEquipNumeric.UseUnderline = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
139 this.rbEquipNumeric.Group = this.rbEquipAll.Group;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
140 this.table2.Add (this.rbEquipNumeric);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
141 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipNumeric]));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
142 w9.XOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
143 w9.YOptions = ((global::Gtk.AttachOptions)(4));
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
144 // Container child table2.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
145 this.rbEquipPercent = new global::Gtk.RadioButton ("");
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
146 this.rbEquipPercent.CanFocus = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
147 this.rbEquipPercent.Name = "rbEquipPercent";
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
148 this.rbEquipPercent.DrawIndicator = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
149 this.rbEquipPercent.UseUnderline = true;
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
150 this.rbEquipPercent.Group = this.rbEquipAll.Group;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
151 this.table2.Add (this.rbEquipPercent);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
152 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.rbEquipPercent]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
153 w10.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
154 w10.BottomAttach = ((uint)(2));
61
e7ad676a7344 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 55
diff changeset
155 w10.XOptions = ((global::Gtk.AttachOptions)(4));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
156 w10.YOptions = ((global::Gtk.AttachOptions)(4));
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
157 this.hbox2.Add (this.table2);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
158 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table2]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
159 w11.Position = 0;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
160 w11.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
161 w11.Fill = false;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
162 this.table1.Add (this.hbox2);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
163 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
164 w12.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
165 w12.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
166 w12.LeftAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
167 w12.RightAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
168 w12.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
169 // Container child table1.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
170 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
171 this.lblAmount.Name = "lblAmount";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
172 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString ("amount:");
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
173 this.table1.Add (this.lblAmount);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
174 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblAmount]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
175 w13.TopAttach = ((uint)(1));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
176 w13.BottomAttach = ((uint)(2));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
177 w13.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
178 w13.YOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
179 // Container child table1.Gtk.Table+TableChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
180 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
181 this.lblItem.Name = "lblItem";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
182 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString ("equipment");
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
183 this.table1.Add (this.lblItem);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
184 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblItem]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
185 w14.XOptions = ((global::Gtk.AttachOptions)(4));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
186 w14.YOptions = ((global::Gtk.AttachOptions)(4));
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
187 w1.Add (this.table1);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
188 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
189 w15.Position = 0;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
190 w15.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
191 w15.Fill = false;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAddEquipment.ActionArea
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
193 global::Gtk.HButtonBox w16 = this.ActionArea;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
194 w16.Name = "dialog1_ActionArea";
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
195 w16.Spacing = 10;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
196 w16.BorderWidth = ((uint)(5));
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
197 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
199 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
200 this.bttnCancel.CanDefault = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
201 this.bttnCancel.CanFocus = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
202 this.bttnCancel.Name = "bttnCancel";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
203 this.bttnCancel.UseStock = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
204 this.bttnCancel.UseUnderline = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
205 this.bttnCancel.Label = "gtk-cancel";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
206 this.AddActionWidget (this.bttnCancel, -6);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
207 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnCancel]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
208 w17.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
209 w17.Fill = false;
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
211 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
97
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
212 this.bttnOkay.CanDefault = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
213 this.bttnOkay.CanFocus = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
214 this.bttnOkay.Name = "bttnOkay";
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
215 this.bttnOkay.UseStock = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
216 this.bttnOkay.UseUnderline = true;
6d2c8ad0d8f1 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
217 this.bttnOkay.Label = "gtk-ok";
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
218 this.AddActionWidget (this.bttnOkay, -5);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
219 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.bttnOkay]));
52
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
220 w18.Position = 1;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
221 w18.Expand = false;
4bad8cb3f889 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents: 51
diff changeset
222 w18.Fill = false;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
223 if ((this.Child != null)) {
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
224 this.Child.ShowAll ();
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
225 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 this.DefaultWidth = 400;
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 this.DefaultHeight = 300;
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
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
228 this.Show ();
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
229 this.rbEquipNumeric.Clicked += new global::System.EventHandler (this.RadioButtonClicked);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
230 this.percentageAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
231 this.numericAmount.ValueChanged += new global::System.EventHandler (this.SpinButtonValueChanged);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
232 this.bttnCancel.Clicked += new global::System.EventHandler (this.CancelButtonClicked);
135491fd1830 * Commit reformatted auto-generated code, because MonoDevelop changed its behaviour and now always uses its own format, not user format, for autogen code
IBBoard <dev@ibboard.co.uk>
parents: 98
diff changeset
233 this.bttnOkay.Clicked += new global::System.EventHandler (this.OkayButtonClicked);
51
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 }
dafbd432ca23 Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
236 }