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 ErrorDialog {
16
private Gtk.HBox hbox59;
18
private Gtk.VBox vbox72;
20
private Gtk.Image icon;
22
private Gtk.VBox vbox73;
24
private Gtk.Label descriptionLabel;
26
private Gtk.Expander expander;
28
private Gtk.ScrolledWindow scrolledwindow10;
30
private Gtk.TextView detailsTextView;
32
private Gtk.Label label102;
34
private Gtk.Button okButton;
36
protected virtual void Build() {
37
Stetic.Gui.Initialize();
38
// Widget Mono.Addins.Gui.ErrorDialog
39
this.Name = "Mono.Addins.Gui.ErrorDialog";
40
this.Title = Mono.Unix.Catalog.GetString("MonoDevelop");
41
this.TypeHint = ((Gdk.WindowTypeHint)(1));
42
this.BorderWidth = ((uint)(6));
43
// Internal child Mono.Addins.Gui.ErrorDialog.VBox
44
Gtk.VBox w1 = this.VBox;
45
w1.Name = "dialog-vbox5";
46
w1.BorderWidth = ((uint)(2));
47
// Container child dialog-vbox5.Gtk.Box+BoxChild
48
this.hbox59 = new Gtk.HBox();
49
this.hbox59.Name = "hbox59";
50
this.hbox59.Spacing = 6;
51
this.hbox59.BorderWidth = ((uint)(6));
52
// Container child hbox59.Gtk.Box+BoxChild
53
this.vbox72 = new Gtk.VBox();
54
this.vbox72.Name = "vbox72";
55
// Container child vbox72.Gtk.Box+BoxChild
56
this.icon = new Gtk.Image();
57
this.icon.Name = "icon";
58
this.icon.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-error", 48);
59
this.vbox72.Add(this.icon);
60
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox72[this.icon]));
64
this.hbox59.Add(this.vbox72);
65
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox72]));
69
// Container child hbox59.Gtk.Box+BoxChild
70
this.vbox73 = new Gtk.VBox();
71
this.vbox73.Name = "vbox73";
72
this.vbox73.Spacing = 12;
73
// Container child vbox73.Gtk.Box+BoxChild
74
this.descriptionLabel = new Gtk.Label();
75
this.descriptionLabel.WidthRequest = 540;
76
this.descriptionLabel.CanFocus = true;
77
this.descriptionLabel.Name = "descriptionLabel";
78
this.descriptionLabel.Xalign = 0F;
79
this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14";
80
this.descriptionLabel.Wrap = true;
81
this.descriptionLabel.Selectable = true;
82
this.vbox73.Add(this.descriptionLabel);
83
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox73[this.descriptionLabel]));
87
// Container child vbox73.Gtk.Box+BoxChild
88
this.expander = new Gtk.Expander(null);
89
this.expander.CanFocus = true;
90
this.expander.Name = "expander";
91
// Container child expander.Gtk.Container+ContainerChild
92
this.scrolledwindow10 = new Gtk.ScrolledWindow();
93
this.scrolledwindow10.CanFocus = true;
94
this.scrolledwindow10.Name = "scrolledwindow10";
95
this.scrolledwindow10.VscrollbarPolicy = ((Gtk.PolicyType)(1));
96
this.scrolledwindow10.HscrollbarPolicy = ((Gtk.PolicyType)(1));
97
this.scrolledwindow10.ShadowType = ((Gtk.ShadowType)(1));
98
// Container child scrolledwindow10.Gtk.Container+ContainerChild
99
this.detailsTextView = new Gtk.TextView();
100
this.detailsTextView.HeightRequest = 250;
101
this.detailsTextView.CanFocus = true;
102
this.detailsTextView.Name = "detailsTextView";
103
this.detailsTextView.PixelsAboveLines = 2;
104
this.detailsTextView.PixelsBelowLines = 2;
105
this.detailsTextView.LeftMargin = 6;
106
this.detailsTextView.RightMargin = 6;
107
this.scrolledwindow10.Add(this.detailsTextView);
108
this.expander.Add(this.scrolledwindow10);
109
this.label102 = new Gtk.Label();
110
this.label102.Name = "label102";
111
this.label102.LabelProp = Mono.Unix.Catalog.GetString("Details");
112
this.expander.LabelWidget = this.label102;
113
this.vbox73.Add(this.expander);
114
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox73[this.expander]));
116
this.hbox59.Add(this.vbox73);
117
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox73]));
120
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.hbox59]));
122
// Internal child Mono.Addins.Gui.ErrorDialog.ActionArea
123
Gtk.HButtonBox w10 = this.ActionArea;
124
w10.Name = "dialog-action_area5";
126
w10.BorderWidth = ((uint)(5));
127
w10.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
128
// Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild
129
this.okButton = new Gtk.Button();
130
this.okButton.CanDefault = true;
131
this.okButton.CanFocus = true;
132
this.okButton.Name = "okButton";
133
this.okButton.UseStock = true;
134
this.okButton.UseUnderline = true;
135
this.okButton.Label = "gtk-ok";
136
this.AddActionWidget(this.okButton, -5);
137
if ((this.Child != null)) {
138
this.Child.ShowAll();
140
this.DefaultWidth = 628;
141
this.DefaultHeight = 145;