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 Mono.Addins.Gui {
14
internal partial class ProgressDialog {
16
private Gtk.VBox vbox2;
18
private Gtk.Label labelMessage;
20
private Gtk.ProgressBar progressbar;
22
private Gtk.Expander expander1;
24
private Gtk.ScrolledWindow GtkScrolledWindow;
26
private Gtk.TextView textview;
28
private Gtk.Label GtkLabel1;
30
private Gtk.Button buttonCancel;
32
protected virtual void Build() {
33
Stetic.Gui.Initialize(this);
34
// Widget Mono.Addins.Gui.ProgressDialog
35
this.Name = "Mono.Addins.Gui.ProgressDialog";
36
this.Title = Mono.Unix.Catalog.GetString("Progress");
37
this.WindowPosition = ((Gtk.WindowPosition)(4));
39
this.HasSeparator = false;
40
// Internal child Mono.Addins.Gui.ProgressDialog.VBox
41
Gtk.VBox w1 = this.VBox;
42
w1.Name = "dialog1_VBox";
43
w1.BorderWidth = ((uint)(2));
44
// Container child dialog1_VBox.Gtk.Box+BoxChild
45
this.vbox2 = new Gtk.VBox();
46
this.vbox2.Name = "vbox2";
47
this.vbox2.Spacing = 6;
48
this.vbox2.BorderWidth = ((uint)(9));
49
// Container child vbox2.Gtk.Box+BoxChild
50
this.labelMessage = new Gtk.Label();
51
this.labelMessage.Name = "labelMessage";
52
this.labelMessage.Xalign = 0F;
53
this.labelMessage.LabelProp = "";
54
this.vbox2.Add(this.labelMessage);
55
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.labelMessage]));
59
// Container child vbox2.Gtk.Box+BoxChild
60
this.progressbar = new Gtk.ProgressBar();
61
this.progressbar.Name = "progressbar";
62
this.vbox2.Add(this.progressbar);
63
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.progressbar]));
67
// Container child vbox2.Gtk.Box+BoxChild
68
this.expander1 = new Gtk.Expander(null);
69
this.expander1.CanFocus = true;
70
this.expander1.Name = "expander1";
71
// Container child expander1.Gtk.Container+ContainerChild
72
this.GtkScrolledWindow = new Gtk.ScrolledWindow();
73
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
74
this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
75
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
76
this.textview = new Gtk.TextView();
77
this.textview.CanFocus = true;
78
this.textview.Name = "textview";
79
this.GtkScrolledWindow.Add(this.textview);
80
this.expander1.Add(this.GtkScrolledWindow);
81
this.GtkLabel1 = new Gtk.Label();
82
this.GtkLabel1.Name = "GtkLabel1";
83
this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("Details");
84
this.GtkLabel1.UseUnderline = true;
85
this.expander1.LabelWidget = this.GtkLabel1;
86
this.vbox2.Add(this.expander1);
87
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.expander1]));
90
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
92
// Internal child Mono.Addins.Gui.ProgressDialog.ActionArea
93
Gtk.HButtonBox w8 = this.ActionArea;
94
w8.Name = "dialog1_ActionArea";
96
w8.BorderWidth = ((uint)(5));
97
w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
98
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
99
this.buttonCancel = new Gtk.Button();
100
this.buttonCancel.CanDefault = true;
101
this.buttonCancel.CanFocus = true;
102
this.buttonCancel.Name = "buttonCancel";
103
this.buttonCancel.UseStock = true;
104
this.buttonCancel.UseUnderline = true;
105
this.buttonCancel.Label = "gtk-cancel";
106
this.AddActionWidget(this.buttonCancel, -6);
107
Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
110
if ((this.Child != null)) {
111
this.Child.ShowAll();
113
this.DefaultWidth = 513;
114
this.DefaultHeight = 165;
116
this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked);