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
// ------------------------------------------------------------------------------
14
public partial class AccountConfig {
16
private Gtk.VBox vbox1;
18
private Gtk.Frame frame1;
20
private Gtk.Alignment GtkAlignment;
22
private Gtk.Alignment alignment1;
24
private Gtk.VBox vbox2;
26
private Gtk.Label label3;
28
private Gtk.Label label4;
30
private Gtk.Label auth_lbl;
32
private Gtk.HButtonBox hbuttonbox1;
34
private Gtk.Button auth_btn;
36
protected virtual void Build() {
37
Stetic.Gui.Initialize(this);
38
// Widget Flickr.AccountConfig
39
Stetic.BinContainer.Attach(this);
40
this.Name = "Flickr.AccountConfig";
41
// Container child Flickr.AccountConfig.Gtk.Container+ContainerChild
42
this.vbox1 = new Gtk.VBox();
43
this.vbox1.Name = "vbox1";
44
this.vbox1.Spacing = 6;
45
this.vbox1.BorderWidth = ((uint)(8));
46
// Container child vbox1.Gtk.Box+BoxChild
47
this.frame1 = new Gtk.Frame();
48
this.frame1.Name = "frame1";
49
this.frame1.ShadowType = ((Gtk.ShadowType)(0));
50
// Container child frame1.Gtk.Container+ContainerChild
51
this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
52
this.GtkAlignment.Name = "GtkAlignment";
53
this.GtkAlignment.LeftPadding = ((uint)(12));
54
// Container child GtkAlignment.Gtk.Container+ContainerChild
55
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
56
this.alignment1.Name = "alignment1";
57
this.alignment1.LeftPadding = ((uint)(12));
58
// Container child alignment1.Gtk.Container+ContainerChild
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.label3 = new Gtk.Label();
64
this.label3.Name = "label3";
65
this.label3.LabelProp = Mono.Unix.Catalog.GetString("Do needs your authorization in order to upload photos to your flickr account. Press the \"Authorize\" button to open a web browser and give Do authorization. ");
66
this.label3.Wrap = true;
67
this.vbox2.Add(this.label3);
68
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label3]));
72
// Container child vbox2.Gtk.Box+BoxChild
73
this.label4 = new Gtk.Label();
74
this.label4.Name = "label4";
75
this.label4.LabelProp = "";
76
this.vbox2.Add(this.label4);
77
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label4]));
81
this.alignment1.Add(this.vbox2);
82
this.GtkAlignment.Add(this.alignment1);
83
this.frame1.Add(this.GtkAlignment);
84
this.auth_lbl = new Gtk.Label();
85
this.auth_lbl.Name = "auth_lbl";
86
this.auth_lbl.LabelProp = Mono.Unix.Catalog.GetString("<b>Account</b>");
87
this.auth_lbl.UseMarkup = true;
88
this.frame1.LabelWidget = this.auth_lbl;
89
this.vbox1.Add(this.frame1);
90
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
92
// Container child vbox1.Gtk.Box+BoxChild
93
this.hbuttonbox1 = new Gtk.HButtonBox();
94
this.hbuttonbox1.Name = "hbuttonbox1";
95
// Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
96
this.auth_btn = new Gtk.Button();
97
this.auth_btn.WidthRequest = 174;
98
this.auth_btn.CanFocus = true;
99
this.auth_btn.Name = "auth_btn";
100
this.auth_btn.UseUnderline = true;
101
// Container child auth_btn.Gtk.Container+ContainerChild
102
Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
103
// Container child GtkAlignment.Gtk.Container+ContainerChild
104
Gtk.HBox w8 = new Gtk.HBox();
106
// Container child GtkHBox.Gtk.Container+ContainerChild
107
Gtk.Image w9 = new Gtk.Image();
108
w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-yes", Gtk.IconSize.Menu, 16);
110
// Container child GtkHBox.Gtk.Container+ContainerChild
111
Gtk.Label w11 = new Gtk.Label();
112
w11.LabelProp = Mono.Unix.Catalog.GetString("_Authorize");
113
w11.UseUnderline = true;
116
this.auth_btn.Add(w7);
117
this.hbuttonbox1.Add(this.auth_btn);
118
Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.auth_btn]));
121
this.vbox1.Add(this.hbuttonbox1);
122
Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1]));
126
this.Add(this.vbox1);
127
if ((this.Child != null)) {
128
this.Child.ShowAll();
131
this.auth_btn.Clicked += new System.EventHandler(this.OnAuthBtnClicked);