MonoDevelop Addins: hello world, disable if no active project
[CSharpForFun/.git] / MonoDevelop / addins / MonoDevelop.HelloWorld / MonoDevelop.HelloWorld / gtk-gui / MonoDevelop.HelloWorld.ShowFilesDialog.cs
1
2 // This file has been generated by the GUI designer. Do not modify.
3 namespace MonoDevelop.HelloWorld
4 {
5         public partial class ShowFilesDialog
6         {
7                 private global::Gtk.VBox vbox2;
8                 
9                 private global::Gtk.ScrolledWindow GtkScrolledWindow;
10                 
11                 private global::Gtk.TextView textview1;
12                 
13                 private global::Gtk.ScrolledWindow GtkScrolledWindow1;
14                 
15                 private global::Gtk.TextView ShowFilesTextView;
16                 
17                 private global::Gtk.HBox hbox2;
18                 
19                 private global::Gtk.Button ShowFilesButton;
20                 
21                 private global::Gtk.Button buttonCancel;
22                 
23                 private global::Gtk.Button buttonOk;
24
25                 protected virtual void Build ()
26                 {
27                         global::Stetic.Gui.Initialize (this);
28                         // Widget MonoDevelop.HelloWorld.ShowFilesDialog
29                         this.Name = "MonoDevelop.HelloWorld.ShowFilesDialog";
30                         this.WindowPosition = ((global::Gtk.WindowPosition)(4));
31                         // Internal child MonoDevelop.HelloWorld.ShowFilesDialog.VBox
32                         global::Gtk.VBox w1 = this.VBox;
33                         w1.Name = "dialog1_VBox";
34                         w1.BorderWidth = ((uint)(2));
35                         // Container child dialog1_VBox.Gtk.Box+BoxChild
36                         this.vbox2 = new global::Gtk.VBox ();
37                         this.vbox2.Name = "vbox2";
38                         this.vbox2.Spacing = 6;
39                         // Container child vbox2.Gtk.Box+BoxChild
40                         this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
41                         this.GtkScrolledWindow.Name = "GtkScrolledWindow";
42                         this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
43                         // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
44                         this.textview1 = new global::Gtk.TextView ();
45                         this.textview1.Buffer.Text = "Hello World Addin";
46                         this.textview1.CanFocus = true;
47                         this.textview1.Name = "textview1";
48                         this.GtkScrolledWindow.Add (this.textview1);
49                         this.vbox2.Add (this.GtkScrolledWindow);
50                         global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
51                         w3.Position = 0;
52                         // Container child vbox2.Gtk.Box+BoxChild
53                         this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
54                         this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
55                         this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
56                         // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
57                         this.ShowFilesTextView = new global::Gtk.TextView ();
58                         this.ShowFilesTextView.CanFocus = true;
59                         this.ShowFilesTextView.Name = "ShowFilesTextView";
60                         this.GtkScrolledWindow1.Add (this.ShowFilesTextView);
61                         this.vbox2.Add (this.GtkScrolledWindow1);
62                         global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
63                         w5.Position = 1;
64                         // Container child vbox2.Gtk.Box+BoxChild
65                         this.hbox2 = new global::Gtk.HBox ();
66                         this.hbox2.Name = "hbox2";
67                         this.hbox2.Spacing = 6;
68                         // Container child hbox2.Gtk.Box+BoxChild
69                         this.ShowFilesButton = new global::Gtk.Button ();
70                         this.ShowFilesButton.CanFocus = true;
71                         this.ShowFilesButton.Name = "ShowFilesButton";
72                         this.ShowFilesButton.UseUnderline = true;
73                         this.ShowFilesButton.Label = global::Mono.Unix.Catalog.GetString ("ShowFiles");
74                         this.hbox2.Add (this.ShowFilesButton);
75                         global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ShowFilesButton]));
76                         w6.Position = 1;
77                         w6.Expand = false;
78                         w6.Fill = false;
79                         this.vbox2.Add (this.hbox2);
80                         global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
81                         w7.Position = 2;
82                         w7.Expand = false;
83                         w7.Fill = false;
84                         w1.Add (this.vbox2);
85                         global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
86                         w8.Position = 0;
87                         // Internal child MonoDevelop.HelloWorld.ShowFilesDialog.ActionArea
88                         global::Gtk.HButtonBox w9 = this.ActionArea;
89                         w9.Name = "dialog1_ActionArea";
90                         w9.Spacing = 10;
91                         w9.BorderWidth = ((uint)(5));
92                         w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
93                         // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
94                         this.buttonCancel = new global::Gtk.Button ();
95                         this.buttonCancel.CanDefault = true;
96                         this.buttonCancel.CanFocus = true;
97                         this.buttonCancel.Name = "buttonCancel";
98                         this.buttonCancel.UseStock = true;
99                         this.buttonCancel.UseUnderline = true;
100                         this.buttonCancel.Label = "gtk-cancel";
101                         this.AddActionWidget (this.buttonCancel, -6);
102                         global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonCancel]));
103                         w10.Expand = false;
104                         w10.Fill = false;
105                         // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
106                         this.buttonOk = new global::Gtk.Button ();
107                         this.buttonOk.CanDefault = true;
108                         this.buttonOk.CanFocus = true;
109                         this.buttonOk.Name = "buttonOk";
110                         this.buttonOk.UseStock = true;
111                         this.buttonOk.UseUnderline = true;
112                         this.buttonOk.Label = "gtk-ok";
113                         this.AddActionWidget (this.buttonOk, -5);
114                         global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOk]));
115                         w11.Position = 1;
116                         w11.Expand = false;
117                         w11.Fill = false;
118                         if ((this.Child != null)) {
119                                 this.Child.ShowAll ();
120                         }
121                         this.DefaultWidth = 521;
122                         this.DefaultHeight = 300;
123                         this.Show ();
124                         this.ShowFilesButton.Clicked += new global::System.EventHandler (this.OnButtonShowFilesClickEvent);
125                 }
126         }
127 }