~do-win/do/test-paths

« back to all changes in this revision

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

  • Committer: Chris S.
  • Date: 2009-06-21 03:37:34 UTC
  • Revision ID: chris@szikszoy.com-20090621033734-ud2jdcd5pq9r3ue9
initial import

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 ProgressDialog {
 
15
        
 
16
        private Gtk.VBox vbox2;
 
17
        
 
18
        private Gtk.Label labelMessage;
 
19
        
 
20
        private Gtk.ProgressBar progressbar;
 
21
        
 
22
        private Gtk.Expander expander1;
 
23
        
 
24
        private Gtk.ScrolledWindow GtkScrolledWindow;
 
25
        
 
26
        private Gtk.TextView textview;
 
27
        
 
28
        private Gtk.Label GtkLabel1;
 
29
        
 
30
        private Gtk.Button buttonCancel;
 
31
        
 
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));
 
38
            this.Modal = true;
 
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]));
 
56
            w2.Position = 0;
 
57
            w2.Expand = false;
 
58
            w2.Fill = false;
 
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]));
 
64
            w3.Position = 1;
 
65
            w3.Expand = false;
 
66
            w3.Fill = false;
 
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]));
 
88
            w6.Position = 2;
 
89
            w1.Add(this.vbox2);
 
90
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
 
91
            w7.Position = 0;
 
92
            // Internal child Mono.Addins.Gui.ProgressDialog.ActionArea
 
93
            Gtk.HButtonBox w8 = this.ActionArea;
 
94
            w8.Name = "dialog1_ActionArea";
 
95
            w8.Spacing = 6;
 
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]));
 
108
            w9.Expand = false;
 
109
            w9.Fill = false;
 
110
            if ((this.Child != null)) {
 
111
                this.Child.ShowAll();
 
112
            }
 
113
            this.DefaultWidth = 513;
 
114
            this.DefaultHeight = 165;
 
115
            this.Show();
 
116
            this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked);
 
117
        }
 
118
    }
 
119
}