comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmPreferences.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 b4416ca69153
children
comparison
equal deleted inserted replaced
144:929ef50c3919 145:135491fd1830
13 private global::Gtk.ComboBox languageList; 13 private global::Gtk.ComboBox languageList;
14 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblLanguage; 14 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblLanguage;
15 private global::Gtk.Label frameLabel; 15 private global::Gtk.Label frameLabel;
16 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; 16 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
17 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay; 17 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay;
18 18
19 protected virtual void Build() 19 protected virtual void Build ()
20 { 20 {
21 global::Stetic.Gui.Initialize(this); 21 global::Stetic.Gui.Initialize (this);
22 // Widget IBBoard.WarFoundry.GUI.GTK.FrmPreferences 22 // Widget IBBoard.WarFoundry.GUI.GTK.FrmPreferences
23 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmPreferences"; 23 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmPreferences";
24 this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); 24 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
25 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); 25 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
26 this.SkipPagerHint = true; 26 this.SkipPagerHint = true;
28 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.VBox 28 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.VBox
29 global::Gtk.VBox w1 = this.VBox; 29 global::Gtk.VBox w1 = this.VBox;
30 w1.Name = "dialog1_VBox"; 30 w1.Name = "dialog1_VBox";
31 w1.BorderWidth = ((uint)(2)); 31 w1.BorderWidth = ((uint)(2));
32 // Container child dialog1_VBox.Gtk.Box+BoxChild 32 // Container child dialog1_VBox.Gtk.Box+BoxChild
33 this.hpaned1 = new global::Gtk.HPaned(); 33 this.hpaned1 = new global::Gtk.HPaned ();
34 this.hpaned1.CanFocus = true; 34 this.hpaned1.CanFocus = true;
35 this.hpaned1.Name = "hpaned1"; 35 this.hpaned1.Name = "hpaned1";
36 this.hpaned1.Position = 164; 36 this.hpaned1.Position = 164;
37 // Container child hpaned1.Gtk.Paned+PanedChild 37 // Container child hpaned1.Gtk.Paned+PanedChild
38 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); 38 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
39 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; 39 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
40 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); 40 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
41 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild 41 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
42 this.preferencesTree = new global::Gtk.TreeView(); 42 this.preferencesTree = new global::Gtk.TreeView ();
43 this.preferencesTree.CanFocus = true; 43 this.preferencesTree.CanFocus = true;
44 this.preferencesTree.Name = "preferencesTree"; 44 this.preferencesTree.Name = "preferencesTree";
45 this.preferencesTree.HeadersVisible = false; 45 this.preferencesTree.HeadersVisible = false;
46 this.GtkScrolledWindow.Add(this.preferencesTree); 46 this.GtkScrolledWindow.Add (this.preferencesTree);
47 this.hpaned1.Add(this.GtkScrolledWindow); 47 this.hpaned1.Add (this.GtkScrolledWindow);
48 global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow])); 48 global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow]));
49 w3.Resize = false; 49 w3.Resize = false;
50 // Container child hpaned1.Gtk.Paned+PanedChild 50 // Container child hpaned1.Gtk.Paned+PanedChild
51 this.prefsFrame = new global::Gtk.Frame(); 51 this.prefsFrame = new global::Gtk.Frame ();
52 this.prefsFrame.Name = "prefsFrame"; 52 this.prefsFrame.Name = "prefsFrame";
53 this.prefsFrame.ShadowType = ((global::Gtk.ShadowType)(1)); 53 this.prefsFrame.ShadowType = ((global::Gtk.ShadowType)(1));
54 this.prefsFrame.BorderWidth = ((uint)(2)); 54 this.prefsFrame.BorderWidth = ((uint)(2));
55 // Container child prefsFrame.Gtk.Container+ContainerChild 55 // Container child prefsFrame.Gtk.Container+ContainerChild
56 this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); 56 this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
57 this.GtkAlignment2.Name = "GtkAlignment2"; 57 this.GtkAlignment2.Name = "GtkAlignment2";
58 this.GtkAlignment2.LeftPadding = ((uint)(12)); 58 this.GtkAlignment2.LeftPadding = ((uint)(12));
59 // Container child GtkAlignment2.Gtk.Container+ContainerChild 59 // Container child GtkAlignment2.Gtk.Container+ContainerChild
60 this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); 60 this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
61 this.table1.Name = "table1"; 61 this.table1.Name = "table1";
62 this.table1.RowSpacing = ((uint)(6)); 62 this.table1.RowSpacing = ((uint)(6));
63 this.table1.ColumnSpacing = ((uint)(6)); 63 this.table1.ColumnSpacing = ((uint)(6));
64 // Container child table1.Gtk.Table+TableChild 64 // Container child table1.Gtk.Table+TableChild
65 this.languageList = global::Gtk.ComboBox.NewText(); 65 this.languageList = global::Gtk.ComboBox.NewText ();
66 this.languageList.Name = "languageList"; 66 this.languageList.Name = "languageList";
67 this.table1.Add(this.languageList); 67 this.table1.Add (this.languageList);
68 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.languageList])); 68 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.languageList]));
69 w4.LeftAttach = ((uint)(1)); 69 w4.LeftAttach = ((uint)(1));
70 w4.RightAttach = ((uint)(2)); 70 w4.RightAttach = ((uint)(2));
71 w4.XOptions = ((global::Gtk.AttachOptions)(4)); 71 w4.XOptions = ((global::Gtk.AttachOptions)(4));
72 w4.YOptions = ((global::Gtk.AttachOptions)(4)); 72 w4.YOptions = ((global::Gtk.AttachOptions)(4));
73 // Container child table1.Gtk.Table+TableChild 73 // Container child table1.Gtk.Table+TableChild
74 this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); 74 this.lblLanguage = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
75 this.lblLanguage.Name = "lblLanguage"; 75 this.lblLanguage.Name = "lblLanguage";
76 this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString("language:"); 76 this.lblLanguage.LabelProp = global::Mono.Unix.Catalog.GetString ("language:");
77 this.table1.Add(this.lblLanguage); 77 this.table1.Add (this.lblLanguage);
78 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.lblLanguage])); 78 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblLanguage]));
79 w5.XOptions = ((global::Gtk.AttachOptions)(4)); 79 w5.XOptions = ((global::Gtk.AttachOptions)(4));
80 w5.YOptions = ((global::Gtk.AttachOptions)(4)); 80 w5.YOptions = ((global::Gtk.AttachOptions)(4));
81 this.GtkAlignment2.Add(this.table1); 81 this.GtkAlignment2.Add (this.table1);
82 this.prefsFrame.Add(this.GtkAlignment2); 82 this.prefsFrame.Add (this.GtkAlignment2);
83 this.frameLabel = new global::Gtk.Label(); 83 this.frameLabel = new global::Gtk.Label ();
84 this.frameLabel.Name = "frameLabel"; 84 this.frameLabel.Name = "frameLabel";
85 this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>language</b>"); 85 this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>language</b>");
86 this.frameLabel.UseMarkup = true; 86 this.frameLabel.UseMarkup = true;
87 this.prefsFrame.LabelWidget = this.frameLabel; 87 this.prefsFrame.LabelWidget = this.frameLabel;
88 this.hpaned1.Add(this.prefsFrame); 88 this.hpaned1.Add (this.prefsFrame);
89 w1.Add(this.hpaned1); 89 w1.Add (this.hpaned1);
90 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.hpaned1])); 90 global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1]));
91 w9.Position = 0; 91 w9.Position = 0;
92 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.ActionArea 92 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmPreferences.ActionArea
93 global::Gtk.HButtonBox w10 = this.ActionArea; 93 global::Gtk.HButtonBox w10 = this.ActionArea;
94 w10.Name = "dialog1_ActionArea"; 94 w10.Name = "dialog1_ActionArea";
95 w10.Spacing = 10; 95 w10.Spacing = 10;
96 w10.BorderWidth = ((uint)(5)); 96 w10.BorderWidth = ((uint)(5));
97 w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); 97 w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild 98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
99 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); 99 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
100 this.bttnCancel.CanDefault = true; 100 this.bttnCancel.CanDefault = true;
101 this.bttnCancel.CanFocus = true; 101 this.bttnCancel.CanFocus = true;
102 this.bttnCancel.Name = "bttnCancel"; 102 this.bttnCancel.Name = "bttnCancel";
103 this.bttnCancel.UseStock = true; 103 this.bttnCancel.UseStock = true;
104 this.bttnCancel.UseUnderline = true; 104 this.bttnCancel.UseUnderline = true;
105 this.bttnCancel.Label = "gtk-cancel"; 105 this.bttnCancel.Label = "gtk-cancel";
106 this.AddActionWidget(this.bttnCancel, -6); 106 this.AddActionWidget (this.bttnCancel, -6);
107 global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnCancel])); 107 global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnCancel]));
108 w11.Expand = false; 108 w11.Expand = false;
109 w11.Fill = false; 109 w11.Fill = false;
110 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild 110 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
111 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); 111 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
112 this.bttnOkay.CanDefault = true; 112 this.bttnOkay.CanDefault = true;
113 this.bttnOkay.CanFocus = true; 113 this.bttnOkay.CanFocus = true;
114 this.bttnOkay.Name = "bttnOkay"; 114 this.bttnOkay.Name = "bttnOkay";
115 this.bttnOkay.UseStock = true; 115 this.bttnOkay.UseStock = true;
116 this.bttnOkay.UseUnderline = true; 116 this.bttnOkay.UseUnderline = true;
117 this.bttnOkay.Label = "gtk-ok"; 117 this.bttnOkay.Label = "gtk-ok";
118 this.AddActionWidget(this.bttnOkay, -5); 118 this.AddActionWidget (this.bttnOkay, -5);
119 global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.bttnOkay])); 119 global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.bttnOkay]));
120 w12.Position = 1; 120 w12.Position = 1;
121 w12.Expand = false; 121 w12.Expand = false;
122 w12.Fill = false; 122 w12.Fill = false;
123 if ((this.Child != null)) 123 if ((this.Child != null)) {
124 { 124 this.Child.ShowAll ();
125 this.Child.ShowAll();
126 } 125 }
127 this.DefaultWidth = 400; 126 this.DefaultWidth = 400;
128 this.DefaultHeight = 300; 127 this.DefaultHeight = 300;
129 this.Show(); 128 this.Show ();
130 this.languageList.Changed += new global::System.EventHandler(this.languageListChanged); 129 this.languageList.Changed += new global::System.EventHandler (this.languageListChanged);
131 this.bttnCancel.Clicked += new global::System.EventHandler(this.bttnCancelClicked); 130 this.bttnCancel.Clicked += new global::System.EventHandler (this.bttnCancelClicked);
132 this.bttnOkay.Clicked += new global::System.EventHandler(this.bttnOkayClicked); 131 this.bttnOkay.Clicked += new global::System.EventHandler (this.bttnOkayClicked);
133 } 132 }
134 } 133 }
135 } 134 }