MonoDevelop Addins: hello world
[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.Button ShowFilesButton;
18                 
19                 private global::Gtk.Button buttonCancel;
20                 
21                 private global::Gtk.Button buttonOk;
22
23                 protected virtual void Build ()
24                 {
25                         global::Stetic.Gui.Initialize (this);
26                         // Widget MonoDevelop.HelloWorld.ShowFilesDialog
27                         this.Name = "MonoDevelop.HelloWorld.ShowFilesDialog";
28                         this.WindowPosition = ((global::Gtk.WindowPosition)(4));
29                         // Internal child MonoDevelop.HelloWorld.ShowFilesDialog.VBox
30                         global::Gtk.VBox w1 = this.VBox;
31                         w1.Name = "dialog1_VBox";
32                         w1.BorderWidth = ((uint)(2));
33                         // Container child dialog1_VBox.Gtk.Box+BoxChild
34                         this.vbox2 = new global::Gtk.VBox ();
35                         this.vbox2.Name = "vbox2";
36                         this.vbox2.Spacing = 6;
37                         // Container child vbox2.Gtk.Box+BoxChild
38                         this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
39                         this.GtkScrolledWindow.Name = "GtkScrolledWindow";
40                         this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
41                         // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
42                         this.textview1 = new global::Gtk.TextView ();
43                         this.textview1.Buffer.Text = "Hello World Addin";
44                         this.textview1.CanFocus = true;
45                         this.textview1.Name = "textview1";
46                         this.GtkScrolledWindow.Add (this.textview1);
47                         this.vbox2.Add (this.GtkScrolledWindow);
48                         global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
49                         w3.Position = 0;
50                         // Container child vbox2.Gtk.Box+BoxChild
51                         this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
52                         this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
53                         this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
54                         // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
55                         this.ShowFilesTextView = new global::Gtk.TextView ();
56                         this.ShowFilesTextView.CanFocus = true;
57                         this.ShowFilesTextView.Name = "ShowFilesTextView";
58                         this.GtkScrolledWindow1.Add (this.ShowFilesTextView);
59                         this.vbox2.Add (this.GtkScrolledWindow1);
60                         global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1]));
61                         w5.Position = 1;
62                         w1.Add (this.vbox2);
63                         global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
64                         w6.Position = 0;
65                         // Internal child MonoDevelop.HelloWorld.ShowFilesDialog.ActionArea
66                         global::Gtk.HButtonBox w7 = this.ActionArea;
67                         w7.Name = "dialog1_ActionArea";
68                         w7.Spacing = 10;
69                         w7.BorderWidth = ((uint)(5));
70                         w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
71                         // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
72                         this.ShowFilesButton = new global::Gtk.Button ();
73                         this.ShowFilesButton.CanFocus = true;
74                         this.ShowFilesButton.Name = "ShowFilesButton";
75                         this.ShowFilesButton.UseUnderline = true;
76                         this.ShowFilesButton.Label = global::Mono.Unix.Catalog.GetString ("ShowFiles");
77                         this.AddActionWidget (this.ShowFilesButton, 0);
78                         global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.ShowFilesButton]));
79                         w8.Expand = false;
80                         w8.Fill = false;
81                         // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
82                         this.buttonCancel = new global::Gtk.Button ();
83                         this.buttonCancel.CanDefault = true;
84                         this.buttonCancel.CanFocus = true;
85                         this.buttonCancel.Name = "buttonCancel";
86                         this.buttonCancel.UseStock = true;
87                         this.buttonCancel.UseUnderline = true;
88                         this.buttonCancel.Label = "gtk-cancel";
89                         this.AddActionWidget (this.buttonCancel, -6);
90                         global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel]));
91                         w9.Position = 1;
92                         w9.Expand = false;
93                         w9.Fill = false;
94                         // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
95                         this.buttonOk = new global::Gtk.Button ();
96                         this.buttonOk.CanDefault = true;
97                         this.buttonOk.CanFocus = true;
98                         this.buttonOk.Name = "buttonOk";
99                         this.buttonOk.UseStock = true;
100                         this.buttonOk.UseUnderline = true;
101                         this.buttonOk.Label = "gtk-ok";
102                         this.AddActionWidget (this.buttonOk, -5);
103                         global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk]));
104                         w10.Position = 2;
105                         w10.Expand = false;
106                         w10.Fill = false;
107                         if ((this.Child != null)) {
108                                 this.Child.ShowAll ();
109                         }
110                         this.DefaultWidth = 400;
111                         this.DefaultHeight = 300;
112                         this.Show ();
113                         this.ShowFilesButton.Clicked += new global::System.EventHandler (this.OnButtonShowFilesClickEvent);
114                 }
115         }
116 }