1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
4
// Mono Runtime Version: 2.0.50727.42
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace GMailContacts {
14
public partial class Configuration {
16
private Gtk.VBox vbox2;
18
private Gtk.Table table1;
20
private Gtk.Entry passwd_entry;
22
private Gtk.Label passwd_lbl;
24
private Gtk.Entry username_entry;
26
private Gtk.Label username_lbl;
28
private Gtk.VBox vbox3;
30
private Gtk.VBox vbox1;
32
private Gtk.Label valid_lbl;
34
private Gtk.HBox hbox1;
36
private Gtk.Fixed fixed5;
38
private Gtk.Fixed fixed6;
40
private Gtk.Button apply_btn;
42
private Gtk.VBox vbox4;
44
private Gtk.HBox hbox2;
46
private Gtk.Fixed fixed4;
48
private Gtk.HSeparator hseparator1;
50
private Gtk.Fixed fixed1;
52
private Gtk.Table table2;
54
private Gtk.Label label1;
56
private Gtk.Table table3;
58
private Gtk.Fixed fixed2;
60
private Gtk.Fixed fixed3;
62
private Gtk.Button new_acct;
64
protected virtual void Build() {
65
Stetic.Gui.Initialize(this);
66
// Widget GMailContacts.Configuration
67
Stetic.BinContainer.Attach(this);
68
this.Name = "GMailContacts.Configuration";
69
// Container child GMailContacts.Configuration.Gtk.Container+ContainerChild
70
this.vbox2 = new Gtk.VBox();
71
this.vbox2.Name = "vbox2";
72
this.vbox2.Spacing = 6;
73
// Container child vbox2.Gtk.Box+BoxChild
74
this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
75
this.table1.Name = "table1";
76
this.table1.RowSpacing = ((uint)(6));
77
this.table1.ColumnSpacing = ((uint)(6));
78
// Container child table1.Gtk.Table+TableChild
79
this.passwd_entry = new Gtk.Entry();
80
this.passwd_entry.CanFocus = true;
81
this.passwd_entry.Name = "passwd_entry";
82
this.passwd_entry.IsEditable = true;
83
this.passwd_entry.Visibility = false;
84
this.passwd_entry.InvisibleChar = '●';
85
this.table1.Add(this.passwd_entry);
86
Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.passwd_entry]));
87
w1.TopAttach = ((uint)(1));
88
w1.BottomAttach = ((uint)(2));
89
w1.LeftAttach = ((uint)(1));
90
w1.RightAttach = ((uint)(2));
91
w1.XPadding = ((uint)(10));
92
w1.YOptions = ((Gtk.AttachOptions)(4));
93
// Container child table1.Gtk.Table+TableChild
94
this.passwd_lbl = new Gtk.Label();
95
this.passwd_lbl.Name = "passwd_lbl";
96
this.passwd_lbl.Xalign = 1F;
97
this.passwd_lbl.LabelProp = Mono.Unix.Catalog.GetString("Password");
98
this.table1.Add(this.passwd_lbl);
99
Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.passwd_lbl]));
100
w2.TopAttach = ((uint)(1));
101
w2.BottomAttach = ((uint)(2));
102
w2.XOptions = ((Gtk.AttachOptions)(4));
103
w2.YOptions = ((Gtk.AttachOptions)(4));
104
// Container child table1.Gtk.Table+TableChild
105
this.username_entry = new Gtk.Entry();
106
this.username_entry.CanFocus = true;
107
this.username_entry.Name = "username_entry";
108
this.username_entry.IsEditable = true;
109
this.username_entry.InvisibleChar = '●';
110
this.table1.Add(this.username_entry);
111
Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.username_entry]));
112
w3.LeftAttach = ((uint)(1));
113
w3.RightAttach = ((uint)(2));
114
w3.XPadding = ((uint)(10));
115
w3.YOptions = ((Gtk.AttachOptions)(4));
116
// Container child table1.Gtk.Table+TableChild
117
this.username_lbl = new Gtk.Label();
118
this.username_lbl.Name = "username_lbl";
119
this.username_lbl.Xalign = 1F;
120
this.username_lbl.LabelProp = Mono.Unix.Catalog.GetString("Username");
121
this.table1.Add(this.username_lbl);
122
Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.username_lbl]));
123
w4.YOptions = ((Gtk.AttachOptions)(4));
124
this.vbox2.Add(this.table1);
125
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1]));
129
w5.Padding = ((uint)(5));
130
// Container child vbox2.Gtk.Box+BoxChild
131
this.vbox3 = new Gtk.VBox();
132
this.vbox3.Name = "vbox3";
133
this.vbox3.Spacing = 6;
134
// Container child vbox3.Gtk.Box+BoxChild
135
this.vbox1 = new Gtk.VBox();
136
this.vbox1.Name = "vbox1";
137
this.vbox1.Spacing = 6;
138
// Container child vbox1.Gtk.Box+BoxChild
139
this.valid_lbl = new Gtk.Label();
140
this.valid_lbl.Name = "valid_lbl";
141
this.valid_lbl.LabelProp = Mono.Unix.Catalog.GetString("<i>Please test your Google account info</i>");
142
this.valid_lbl.UseMarkup = true;
143
this.vbox1.Add(this.valid_lbl);
144
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.valid_lbl]));
148
// Container child vbox1.Gtk.Box+BoxChild
149
this.hbox1 = new Gtk.HBox();
150
this.hbox1.Name = "hbox1";
151
this.hbox1.Spacing = 6;
152
// Container child hbox1.Gtk.Box+BoxChild
153
this.fixed5 = new Gtk.Fixed();
154
this.fixed5.Name = "fixed5";
155
this.fixed5.HasWindow = false;
156
this.hbox1.Add(this.fixed5);
157
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed5]));
159
// Container child hbox1.Gtk.Box+BoxChild
160
this.fixed6 = new Gtk.Fixed();
161
this.fixed6.Name = "fixed6";
162
this.fixed6.HasWindow = false;
163
this.hbox1.Add(this.fixed6);
164
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed6]));
166
// Container child hbox1.Gtk.Box+BoxChild
167
this.apply_btn = new Gtk.Button();
168
this.apply_btn.WidthRequest = 105;
169
this.apply_btn.CanFocus = true;
170
this.apply_btn.Name = "apply_btn";
171
this.apply_btn.UseStock = true;
172
this.apply_btn.UseUnderline = true;
173
this.apply_btn.Label = "gtk-apply";
174
this.hbox1.Add(this.apply_btn);
175
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.apply_btn]));
179
w9.Padding = ((uint)(10));
180
this.vbox1.Add(this.hbox1);
181
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
185
// Container child vbox1.Gtk.Box+BoxChild
186
this.vbox4 = new Gtk.VBox();
187
this.vbox4.Name = "vbox4";
188
this.vbox4.Spacing = 6;
189
this.vbox1.Add(this.vbox4);
190
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox4]));
192
// Container child vbox1.Gtk.Box+BoxChild
193
this.hbox2 = new Gtk.HBox();
194
this.hbox2.Name = "hbox2";
195
this.hbox2.Spacing = 6;
196
// Container child hbox2.Gtk.Box+BoxChild
197
this.fixed4 = new Gtk.Fixed();
198
this.fixed4.Name = "fixed4";
199
this.fixed4.HasWindow = false;
200
this.hbox2.Add(this.fixed4);
201
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed4]));
203
// Container child hbox2.Gtk.Box+BoxChild
204
this.hseparator1 = new Gtk.HSeparator();
205
this.hseparator1.WidthRequest = 250;
206
this.hseparator1.Name = "hseparator1";
207
this.hbox2.Add(this.hseparator1);
208
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.hseparator1]));
210
// Container child hbox2.Gtk.Box+BoxChild
211
this.fixed1 = new Gtk.Fixed();
212
this.fixed1.Name = "fixed1";
213
this.fixed1.HasWindow = false;
214
this.hbox2.Add(this.fixed1);
215
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed1]));
217
this.vbox1.Add(this.hbox2);
218
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
222
this.vbox3.Add(this.vbox1);
223
Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.vbox1]));
225
// Container child vbox3.Gtk.Box+BoxChild
226
this.table2 = new Gtk.Table(((uint)(4)), ((uint)(1)), false);
227
this.table2.Name = "table2";
228
this.table2.RowSpacing = ((uint)(1));
229
this.table2.ColumnSpacing = ((uint)(1));
230
// Container child table2.Gtk.Table+TableChild
231
this.label1 = new Gtk.Label();
232
this.label1.Name = "label1";
233
this.label1.LabelProp = Mono.Unix.Catalog.GetString("<i>Don't have a Google account?</i>");
234
this.label1.UseMarkup = true;
235
this.table2.Add(this.label1);
236
Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.label1]));
237
w17.YOptions = ((Gtk.AttachOptions)(4));
238
// Container child table2.Gtk.Table+TableChild
239
this.table3 = new Gtk.Table(((uint)(1)), ((uint)(3)), false);
240
this.table3.Name = "table3";
241
this.table3.RowSpacing = ((uint)(6));
242
this.table3.ColumnSpacing = ((uint)(6));
243
// Container child table3.Gtk.Table+TableChild
244
this.fixed2 = new Gtk.Fixed();
245
this.fixed2.Name = "fixed2";
246
this.fixed2.HasWindow = false;
247
this.table3.Add(this.fixed2);
248
Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table3[this.fixed2]));
249
w18.LeftAttach = ((uint)(2));
250
w18.RightAttach = ((uint)(3));
251
w18.YOptions = ((Gtk.AttachOptions)(4));
252
// Container child table3.Gtk.Table+TableChild
253
this.fixed3 = new Gtk.Fixed();
254
this.fixed3.Name = "fixed3";
255
this.fixed3.HasWindow = false;
256
this.table3.Add(this.fixed3);
257
Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table3[this.fixed3]));
258
w19.YOptions = ((Gtk.AttachOptions)(4));
259
// Container child table3.Gtk.Table+TableChild
260
this.new_acct = new Gtk.Button();
261
this.new_acct.CanFocus = true;
262
this.new_acct.Name = "new_acct";
263
this.new_acct.UseUnderline = true;
264
this.new_acct.Label = Mono.Unix.Catalog.GetString("Sign up for GMail");
265
this.table3.Add(this.new_acct);
266
Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table3[this.new_acct]));
267
w20.LeftAttach = ((uint)(1));
268
w20.RightAttach = ((uint)(2));
269
w20.XOptions = ((Gtk.AttachOptions)(4));
270
w20.YOptions = ((Gtk.AttachOptions)(4));
271
this.table2.Add(this.table3);
272
Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.table3]));
273
w21.TopAttach = ((uint)(1));
274
w21.BottomAttach = ((uint)(4));
275
w21.YPadding = ((uint)(5));
276
w21.XOptions = ((Gtk.AttachOptions)(4));
277
w21.YOptions = ((Gtk.AttachOptions)(0));
278
this.vbox3.Add(this.table2);
279
Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox3[this.table2]));
283
this.vbox2.Add(this.vbox3);
284
Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3]));
286
this.Add(this.vbox2);
287
if ((this.Child != null)) {
288
this.Child.ShowAll();
291
this.apply_btn.Clicked += new System.EventHandler(this.OnApplyBtnClicked);
292
this.new_acct.Clicked += new System.EventHandler(this.OnNewAcctClicked);