~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace MonoDevelop.Ide.ProgressMonitoring
 
4
{
 
5
        public partial class ProgressBarMonitor
 
6
        {
 
7
                private global::Gtk.HBox hbox1;
 
8
                private global::Gtk.ProgressBar progressBar;
 
9
                private global::Gtk.Button buttonCancel;
 
10
 
 
11
                protected virtual void Build ()
 
12
                {
 
13
                        global::Stetic.Gui.Initialize (this);
 
14
                        // Widget MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor
 
15
                        global::Stetic.BinContainer.Attach (this);
 
16
                        this.Name = "MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor";
 
17
                        // Container child MonoDevelop.Ide.ProgressMonitoring.ProgressBarMonitor.Gtk.Container+ContainerChild
 
18
                        this.hbox1 = new global::Gtk.HBox ();
 
19
                        this.hbox1.Name = "hbox1";
 
20
                        this.hbox1.Spacing = 3;
 
21
                        // Container child hbox1.Gtk.Box+BoxChild
 
22
                        this.progressBar = new global::Gtk.ProgressBar ();
 
23
                        this.progressBar.Name = "progressBar";
 
24
                        this.hbox1.Add (this.progressBar);
 
25
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.progressBar]));
 
26
                        w1.Position = 0;
 
27
                        // Container child hbox1.Gtk.Box+BoxChild
 
28
                        this.buttonCancel = new global::Gtk.Button ();
 
29
                        this.buttonCancel.CanFocus = true;
 
30
                        this.buttonCancel.Name = "buttonCancel";
 
31
                        this.buttonCancel.UseUnderline = true;
 
32
                        this.buttonCancel.Relief = ((global::Gtk.ReliefStyle)(2));
 
33
                        // Container child buttonCancel.Gtk.Container+ContainerChild
 
34
                        global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
 
35
                        // Container child GtkAlignment.Gtk.Container+ContainerChild
 
36
                        global::Gtk.HBox w3 = new global::Gtk.HBox ();
 
37
                        w3.Spacing = 2;
 
38
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
39
                        global::Gtk.Image w4 = new global::Gtk.Image ();
 
40
                        w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
 
41
                        w3.Add (w4);
 
42
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
43
                        global::Gtk.Label w6 = new global::Gtk.Label ();
 
44
                        w3.Add (w6);
 
45
                        w2.Add (w3);
 
46
                        this.buttonCancel.Add (w2);
 
47
                        this.hbox1.Add (this.buttonCancel);
 
48
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
 
49
                        w10.Position = 1;
 
50
                        w10.Expand = false;
 
51
                        w10.Fill = false;
 
52
                        this.Add (this.hbox1);
 
53
                        if ((this.Child != null)) {
 
54
                                this.Child.ShowAll ();
 
55
                        }
 
56
                        this.Hide ();
 
57
                }
 
58
        }
 
59
}