2 // This file has been generated by the GUI designer. Do not modify.
3 namespace MonoDevelop.HelloWorld
5 public partial class ShowFilesDialog
7 private global::Gtk.VBox vbox2;
9 private global::Gtk.ScrolledWindow GtkScrolledWindow;
11 private global::Gtk.TextView textview1;
13 private global::Gtk.ScrolledWindow GtkScrolledWindow1;
15 private global::Gtk.TextView ShowFilesTextView;
17 private global::Gtk.Button ShowFilesButton;
19 private global::Gtk.Button buttonCancel;
21 private global::Gtk.Button buttonOk;
23 protected virtual void Build ()
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]));
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]));
63 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
65 // Internal child MonoDevelop.HelloWorld.ShowFilesDialog.ActionArea
66 global::Gtk.HButtonBox w7 = this.ActionArea;
67 w7.Name = "dialog1_ActionArea";
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]));
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]));
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]));
107 if ((this.Child != null)) {
108 this.Child.ShowAll ();
110 this.DefaultWidth = 400;
111 this.DefaultHeight = 300;
113 this.ShowFilesButton.Clicked += new global::System.EventHandler (this.OnButtonShowFilesClickEvent);