~ted/ubuntu/lucid/tomboy/with-patch

« back to all changes in this revision

Viewing changes to Mono.Addins/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.ErrorDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-07-16 10:26:35 UTC
  • mfrom: (1.1.21 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20070716102635-0wzk26jo50csob7b
Tags: 0.7.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      Mono Runtime Version: 2.0.50727.42
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Mono.Addins.Gui {
 
12
    
 
13
    
 
14
    internal partial class ErrorDialog {
 
15
        
 
16
        private Gtk.HBox hbox59;
 
17
        
 
18
        private Gtk.VBox vbox72;
 
19
        
 
20
        private Gtk.Image icon;
 
21
        
 
22
        private Gtk.VBox vbox73;
 
23
        
 
24
        private Gtk.Label descriptionLabel;
 
25
        
 
26
        private Gtk.Expander expander;
 
27
        
 
28
        private Gtk.ScrolledWindow scrolledwindow10;
 
29
        
 
30
        private Gtk.TextView detailsTextView;
 
31
        
 
32
        private Gtk.Label label102;
 
33
        
 
34
        private Gtk.Button okButton;
 
35
        
 
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]));
 
61
            w2.Position = 0;
 
62
            w2.Expand = false;
 
63
            w2.Fill = false;
 
64
            this.hbox59.Add(this.vbox72);
 
65
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox72]));
 
66
            w3.Position = 0;
 
67
            w3.Expand = false;
 
68
            w3.Fill = false;
 
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]));
 
84
            w4.Position = 0;
 
85
            w4.Expand = false;
 
86
            w4.Fill = false;
 
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]));
 
115
            w7.Position = 1;
 
116
            this.hbox59.Add(this.vbox73);
 
117
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox73]));
 
118
            w8.Position = 1;
 
119
            w1.Add(this.hbox59);
 
120
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.hbox59]));
 
121
            w9.Position = 0;
 
122
            // Internal child Mono.Addins.Gui.ErrorDialog.ActionArea
 
123
            Gtk.HButtonBox w10 = this.ActionArea;
 
124
            w10.Name = "dialog-action_area5";
 
125
            w10.Spacing = 10;
 
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();
 
139
            }
 
140
            this.DefaultWidth = 628;
 
141
            this.DefaultHeight = 145;
 
142
            this.Show();
 
143
        }
 
144
    }
 
145
}