1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace Do.Platform.Linux {
14
public partial class AbstractLoginWidget {
16
private Gtk.VBox wrapper_vbox;
18
private Gtk.VBox vbox2;
20
private Gtk.VBox account_vbox;
22
private Gtk.Table login_tbl;
24
private Gtk.Entry password_entry;
26
private Gtk.Label password_lbl;
28
private Gtk.Entry username_entry;
30
private Gtk.Label username_lbl;
32
private Gtk.Label validate_lbl;
34
private Gtk.HButtonBox hbuttonbox1;
36
private Gtk.Button validate_btn;
38
private Gtk.VBox middle_box;
40
private Gtk.VBox new_account_vbox;
42
private Gtk.HSeparator hseparator1;
44
private Gtk.Label new_account_lbl;
46
private Gtk.HButtonBox new_account_button_box;
48
protected virtual void Build() {
49
Stetic.Gui.Initialize(this);
50
// Widget Do.Platform.Linux.AbstractLoginWidget
51
Stetic.BinContainer.Attach(this);
52
this.Name = "Do.Platform.Linux.AbstractLoginWidget";
53
// Container child Do.Platform.Linux.AbstractLoginWidget.Gtk.Container+ContainerChild
54
this.wrapper_vbox = new Gtk.VBox();
55
this.wrapper_vbox.Name = "wrapper_vbox";
56
this.wrapper_vbox.Spacing = 6;
57
this.wrapper_vbox.BorderWidth = ((uint)(10));
58
// Container child wrapper_vbox.Gtk.Box+BoxChild
59
this.vbox2 = new Gtk.VBox();
60
this.vbox2.Name = "vbox2";
61
this.vbox2.Spacing = 6;
62
// Container child vbox2.Gtk.Box+BoxChild
63
this.account_vbox = new Gtk.VBox();
64
this.account_vbox.Name = "account_vbox";
65
this.account_vbox.Spacing = 6;
66
// Container child account_vbox.Gtk.Box+BoxChild
67
this.login_tbl = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
68
this.login_tbl.Name = "login_tbl";
69
this.login_tbl.RowSpacing = ((uint)(6));
70
this.login_tbl.ColumnSpacing = ((uint)(6));
71
// Container child login_tbl.Gtk.Table+TableChild
72
this.password_entry = new Gtk.Entry();
73
this.password_entry.CanFocus = true;
74
this.password_entry.Name = "password_entry";
75
this.password_entry.IsEditable = true;
76
this.password_entry.Visibility = false;
77
this.password_entry.InvisibleChar = '●';
78
this.login_tbl.Add(this.password_entry);
79
Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.login_tbl[this.password_entry]));
80
w1.TopAttach = ((uint)(1));
81
w1.BottomAttach = ((uint)(2));
82
w1.LeftAttach = ((uint)(1));
83
w1.RightAttach = ((uint)(2));
84
w1.YOptions = ((Gtk.AttachOptions)(4));
85
// Container child login_tbl.Gtk.Table+TableChild
86
this.password_lbl = new Gtk.Label();
87
this.password_lbl.Name = "password_lbl";
88
this.password_lbl.Xalign = 1F;
89
this.password_lbl.LabelProp = Mono.Unix.Catalog.GetString("Password");
90
this.login_tbl.Add(this.password_lbl);
91
Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.login_tbl[this.password_lbl]));
92
w2.TopAttach = ((uint)(1));
93
w2.BottomAttach = ((uint)(2));
94
w2.XOptions = ((Gtk.AttachOptions)(4));
95
w2.YOptions = ((Gtk.AttachOptions)(4));
96
// Container child login_tbl.Gtk.Table+TableChild
97
this.username_entry = new Gtk.Entry();
98
this.username_entry.CanFocus = true;
99
this.username_entry.Name = "username_entry";
100
this.username_entry.IsEditable = true;
101
this.username_entry.InvisibleChar = '●';
102
this.login_tbl.Add(this.username_entry);
103
Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.login_tbl[this.username_entry]));
104
w3.LeftAttach = ((uint)(1));
105
w3.RightAttach = ((uint)(2));
106
w3.YOptions = ((Gtk.AttachOptions)(4));
107
// Container child login_tbl.Gtk.Table+TableChild
108
this.username_lbl = new Gtk.Label();
109
this.username_lbl.Name = "username_lbl";
110
this.username_lbl.Xalign = 1F;
111
this.username_lbl.LabelProp = Mono.Unix.Catalog.GetString("Username");
112
this.login_tbl.Add(this.username_lbl);
113
Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.login_tbl[this.username_lbl]));
114
w4.XOptions = ((Gtk.AttachOptions)(0));
115
w4.YOptions = ((Gtk.AttachOptions)(4));
116
this.account_vbox.Add(this.login_tbl);
117
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.account_vbox[this.login_tbl]));
121
// Container child account_vbox.Gtk.Box+BoxChild
122
this.validate_lbl = new Gtk.Label();
123
this.validate_lbl.Name = "validate_lbl";
124
this.validate_lbl.LabelProp = Mono.Unix.Catalog.GetString("<i>Verify and save account information</i>");
125
this.validate_lbl.UseMarkup = true;
126
this.account_vbox.Add(this.validate_lbl);
127
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.account_vbox[this.validate_lbl]));
131
// Container child account_vbox.Gtk.Box+BoxChild
132
this.hbuttonbox1 = new Gtk.HButtonBox();
133
this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
134
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
135
this.validate_btn = new Gtk.Button();
136
this.validate_btn.CanFocus = true;
137
this.validate_btn.Name = "validate_btn";
138
this.validate_btn.UseStock = true;
139
this.validate_btn.UseUnderline = true;
140
this.validate_btn.Label = "gtk-apply";
141
this.hbuttonbox1.Add(this.validate_btn);
142
Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.validate_btn]));
145
this.account_vbox.Add(this.hbuttonbox1);
146
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.account_vbox[this.hbuttonbox1]));
150
this.vbox2.Add(this.account_vbox);
151
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.account_vbox]));
155
// Container child vbox2.Gtk.Box+BoxChild
156
this.middle_box = new Gtk.VBox();
157
this.middle_box.Name = "middle_box";
158
this.middle_box.Spacing = 6;
159
this.vbox2.Add(this.middle_box);
160
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.middle_box]));
162
this.wrapper_vbox.Add(this.vbox2);
163
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.wrapper_vbox[this.vbox2]));
165
// Container child wrapper_vbox.Gtk.Box+BoxChild
166
this.new_account_vbox = new Gtk.VBox();
167
this.new_account_vbox.Name = "new_account_vbox";
168
this.new_account_vbox.Spacing = 6;
169
// Container child new_account_vbox.Gtk.Box+BoxChild
170
this.hseparator1 = new Gtk.HSeparator();
171
this.hseparator1.Name = "hseparator1";
172
this.new_account_vbox.Add(this.hseparator1);
173
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.hseparator1]));
177
// Container child new_account_vbox.Gtk.Box+BoxChild
178
this.new_account_lbl = new Gtk.Label();
179
this.new_account_lbl.Name = "new_account_lbl";
180
this.new_account_lbl.LabelProp = Mono.Unix.Catalog.GetString("Don't have an account?");
181
this.new_account_vbox.Add(this.new_account_lbl);
182
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.new_account_lbl]));
186
// Container child new_account_vbox.Gtk.Box+BoxChild
187
this.new_account_button_box = new Gtk.HButtonBox();
188
this.new_account_button_box.Name = "new_account_button_box";
189
this.new_account_button_box.LayoutStyle = ((Gtk.ButtonBoxStyle)(1));
190
this.new_account_vbox.Add(this.new_account_button_box);
191
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.new_account_button_box]));
195
this.wrapper_vbox.Add(this.new_account_vbox);
196
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.wrapper_vbox[this.new_account_vbox]));
200
this.Add(this.wrapper_vbox);
201
if ((this.Child != null)) {
202
this.Child.ShowAll();
205
this.validate_btn.Clicked += new System.EventHandler(this.OnValidateBtnClicked);
2
// This file has been generated by the GUI designer. Do not modify.
3
namespace Do.Platform.Linux
5
public partial class AbstractLoginWidget
7
private global::Gtk.VBox wrapper_vbox;
8
private global::Gtk.VBox vbox2;
9
private global::Gtk.VBox account_vbox;
10
private global::Gtk.Table login_tbl;
11
private global::Gtk.Entry password_entry;
12
private global::Gtk.Label password_lbl;
13
private global::Gtk.Entry username_entry;
14
private global::Gtk.Label username_lbl;
15
private global::Gtk.Label validate_lbl;
16
private global::Gtk.HButtonBox hbuttonbox1;
17
private global::Gtk.Button validate_btn;
18
private global::Gtk.VBox middle_box;
19
private global::Gtk.VBox new_account_vbox;
20
private global::Gtk.HSeparator hseparator1;
21
private global::Gtk.Label new_account_lbl;
22
private global::Gtk.HButtonBox new_account_button_box;
24
protected virtual void Build ()
26
global::Stetic.Gui.Initialize (this);
27
// Widget Do.Platform.Linux.AbstractLoginWidget
28
global::Stetic.BinContainer.Attach (this);
29
this.Name = "Do.Platform.Linux.AbstractLoginWidget";
30
// Container child Do.Platform.Linux.AbstractLoginWidget.Gtk.Container+ContainerChild
31
this.wrapper_vbox = new global::Gtk.VBox ();
32
this.wrapper_vbox.Name = "wrapper_vbox";
33
this.wrapper_vbox.Spacing = 6;
34
this.wrapper_vbox.BorderWidth = ((uint)(10));
35
// Container child wrapper_vbox.Gtk.Box+BoxChild
36
this.vbox2 = new global::Gtk.VBox ();
37
this.vbox2.Name = "vbox2";
38
this.vbox2.Spacing = 6;
39
// Container child vbox2.Gtk.Box+BoxChild
40
this.account_vbox = new global::Gtk.VBox ();
41
this.account_vbox.Name = "account_vbox";
42
this.account_vbox.Spacing = 6;
43
// Container child account_vbox.Gtk.Box+BoxChild
44
this.login_tbl = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
45
this.login_tbl.Name = "login_tbl";
46
this.login_tbl.RowSpacing = ((uint)(6));
47
this.login_tbl.ColumnSpacing = ((uint)(6));
48
// Container child login_tbl.Gtk.Table+TableChild
49
this.password_entry = new global::Gtk.Entry ();
50
this.password_entry.CanFocus = true;
51
this.password_entry.Name = "password_entry";
52
this.password_entry.IsEditable = true;
53
this.password_entry.Visibility = false;
54
this.password_entry.InvisibleChar = '●';
55
this.login_tbl.Add (this.password_entry);
56
global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.login_tbl [this.password_entry]));
57
w1.TopAttach = ((uint)(1));
58
w1.BottomAttach = ((uint)(2));
59
w1.LeftAttach = ((uint)(1));
60
w1.RightAttach = ((uint)(2));
61
w1.YOptions = ((global::Gtk.AttachOptions)(4));
62
// Container child login_tbl.Gtk.Table+TableChild
63
this.password_lbl = new global::Gtk.Label ();
64
this.password_lbl.Name = "password_lbl";
65
this.password_lbl.Xalign = 1F;
66
this.password_lbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Password");
67
this.login_tbl.Add (this.password_lbl);
68
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.login_tbl [this.password_lbl]));
69
w2.TopAttach = ((uint)(1));
70
w2.BottomAttach = ((uint)(2));
71
w2.XOptions = ((global::Gtk.AttachOptions)(4));
72
w2.YOptions = ((global::Gtk.AttachOptions)(4));
73
// Container child login_tbl.Gtk.Table+TableChild
74
this.username_entry = new global::Gtk.Entry ();
75
this.username_entry.CanFocus = true;
76
this.username_entry.Name = "username_entry";
77
this.username_entry.IsEditable = true;
78
this.username_entry.InvisibleChar = '●';
79
this.login_tbl.Add (this.username_entry);
80
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.login_tbl [this.username_entry]));
81
w3.LeftAttach = ((uint)(1));
82
w3.RightAttach = ((uint)(2));
83
w3.YOptions = ((global::Gtk.AttachOptions)(4));
84
// Container child login_tbl.Gtk.Table+TableChild
85
this.username_lbl = new global::Gtk.Label ();
86
this.username_lbl.Name = "username_lbl";
87
this.username_lbl.Xalign = 1F;
88
this.username_lbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Username");
89
this.login_tbl.Add (this.username_lbl);
90
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.login_tbl [this.username_lbl]));
91
w4.XOptions = ((global::Gtk.AttachOptions)(0));
92
w4.YOptions = ((global::Gtk.AttachOptions)(4));
93
this.account_vbox.Add (this.login_tbl);
94
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.account_vbox [this.login_tbl]));
98
// Container child account_vbox.Gtk.Box+BoxChild
99
this.validate_lbl = new global::Gtk.Label ();
100
this.validate_lbl.Name = "validate_lbl";
101
this.validate_lbl.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Verify and save account information</i>");
102
this.validate_lbl.UseMarkup = true;
103
this.account_vbox.Add (this.validate_lbl);
104
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.account_vbox [this.validate_lbl]));
108
// Container child account_vbox.Gtk.Box+BoxChild
109
this.hbuttonbox1 = new global::Gtk.HButtonBox ();
110
this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
111
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
112
this.validate_btn = new global::Gtk.Button ();
113
this.validate_btn.CanFocus = true;
114
this.validate_btn.Name = "validate_btn";
115
this.validate_btn.UseStock = true;
116
this.validate_btn.UseUnderline = true;
117
this.validate_btn.Label = "gtk-apply";
118
this.hbuttonbox1.Add (this.validate_btn);
119
global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.validate_btn]));
122
this.account_vbox.Add (this.hbuttonbox1);
123
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.account_vbox [this.hbuttonbox1]));
127
this.vbox2.Add (this.account_vbox);
128
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.account_vbox]));
132
// Container child vbox2.Gtk.Box+BoxChild
133
this.middle_box = new global::Gtk.VBox ();
134
this.middle_box.Name = "middle_box";
135
this.middle_box.Spacing = 6;
136
this.vbox2.Add (this.middle_box);
137
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.middle_box]));
139
this.wrapper_vbox.Add (this.vbox2);
140
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.wrapper_vbox [this.vbox2]));
142
// Container child wrapper_vbox.Gtk.Box+BoxChild
143
this.new_account_vbox = new global::Gtk.VBox ();
144
this.new_account_vbox.Name = "new_account_vbox";
145
this.new_account_vbox.Spacing = 6;
146
// Container child new_account_vbox.Gtk.Box+BoxChild
147
this.hseparator1 = new global::Gtk.HSeparator ();
148
this.hseparator1.Name = "hseparator1";
149
this.new_account_vbox.Add (this.hseparator1);
150
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.new_account_vbox [this.hseparator1]));
154
// Container child new_account_vbox.Gtk.Box+BoxChild
155
this.new_account_lbl = new global::Gtk.Label ();
156
this.new_account_lbl.Name = "new_account_lbl";
157
this.new_account_lbl.LabelProp = global::Mono.Unix.Catalog.GetString ("Don't have an account?");
158
this.new_account_vbox.Add (this.new_account_lbl);
159
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.new_account_vbox [this.new_account_lbl]));
163
// Container child new_account_vbox.Gtk.Box+BoxChild
164
this.new_account_button_box = new global::Gtk.HButtonBox ();
165
this.new_account_button_box.Name = "new_account_button_box";
166
this.new_account_button_box.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1));
167
this.new_account_vbox.Add (this.new_account_button_box);
168
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.new_account_vbox [this.new_account_button_box]));
172
this.wrapper_vbox.Add (this.new_account_vbox);
173
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.wrapper_vbox [this.new_account_vbox]));
177
this.Add (this.wrapper_vbox);
178
if ((this.Child != null)) {
179
this.Child.ShowAll ();
182
this.validate_btn.Clicked += new global::System.EventHandler (this.OnValidateBtnClicked);