2
// This file has been generated by the GUI designer. Do not modify.
4
public partial class MainWindow
6
private global::Gtk.UIManager UIManager;
7
private global::Gtk.VBox vbox2;
8
private global::Gtk.MenuBar menubar;
9
private global::Gtk.Toolbar toolbar;
10
private global::Gtk.ScrolledWindow scrolledwindow1;
11
private global::Gtk.TextView textview;
12
private global::Gtk.VBox console;
13
private global::Gtk.HBox hbox1;
14
private global::Gtk.Label label1;
15
private global::Gtk.Button button1;
16
private global::Gtk.ScrolledWindow scrolledwindow2;
17
private global::Gtk.TextView consoleView;
18
private global::Gtk.Statusbar statusbar1;
20
protected virtual void Build ()
22
global::Stetic.Gui.Initialize (this);
24
this.UIManager = new global::Gtk.UIManager ();
25
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
26
this.UIManager.InsertActionGroup (w1, 0);
27
this.AddAccelGroup (this.UIManager.AccelGroup);
28
this.Name = "MainWindow";
29
this.Title = global::Mono.Unix.Catalog.GetString ("Text Editor");
30
// Container child MainWindow.Gtk.Container+ContainerChild
31
this.vbox2 = new global::Gtk.VBox ();
32
this.vbox2.Name = "vbox2";
33
// Container child vbox2.Gtk.Box+BoxChild
34
this.UIManager.AddUiFromString ("<ui><menubar name='menubar'/></ui>");
35
this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar")));
36
this.menubar.Name = "menubar";
37
this.vbox2.Add (this.menubar);
38
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar]));
42
// Container child vbox2.Gtk.Box+BoxChild
43
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar'/></ui>");
44
this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar")));
45
this.toolbar.Name = "toolbar";
46
this.toolbar.ShowArrow = false;
47
this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
48
this.toolbar.IconSize = ((global::Gtk.IconSize)(3));
49
this.vbox2.Add (this.toolbar);
50
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar]));
54
// Container child vbox2.Gtk.Box+BoxChild
55
this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
56
this.scrolledwindow1.CanFocus = true;
57
this.scrolledwindow1.Name = "scrolledwindow1";
58
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
59
// Container child scrolledwindow1.Gtk.Container+ContainerChild
60
this.textview = new global::Gtk.TextView ();
61
this.textview.CanFocus = true;
62
this.textview.Name = "textview";
63
this.scrolledwindow1.Add (this.textview);
64
this.vbox2.Add (this.scrolledwindow1);
65
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
67
// Container child vbox2.Gtk.Box+BoxChild
68
this.console = new global::Gtk.VBox ();
69
this.console.Name = "console";
70
this.console.Spacing = 6;
71
this.console.BorderWidth = ((uint)(6));
72
// Container child console.Gtk.Box+BoxChild
73
this.hbox1 = new global::Gtk.HBox ();
74
this.hbox1.Name = "hbox1";
75
// Container child hbox1.Gtk.Box+BoxChild
76
this.label1 = new global::Gtk.Label ();
77
this.label1.Name = "label1";
78
this.label1.Xalign = 0F;
79
this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Console");
80
this.hbox1.Add (this.label1);
81
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
85
// Container child hbox1.Gtk.Box+BoxChild
86
this.button1 = new global::Gtk.Button ();
87
this.button1.WidthRequest = 27;
88
this.button1.HeightRequest = 20;
89
this.button1.Name = "button1";
90
this.button1.UseUnderline = true;
91
this.button1.Relief = ((global::Gtk.ReliefStyle)(2));
92
// Container child button1.Gtk.Container+ContainerChild
93
global::Gtk.Alignment w7 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
94
// Container child GtkAlignment.Gtk.Container+ContainerChild
95
global::Gtk.HBox w8 = new global::Gtk.HBox ();
97
// Container child GtkHBox.Gtk.Container+ContainerChild
98
global::Gtk.Image w9 = new global::Gtk.Image ();
99
w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
101
// Container child GtkHBox.Gtk.Container+ContainerChild
102
global::Gtk.Label w11 = new global::Gtk.Label ();
105
this.button1.Add (w7);
106
this.hbox1.Add (this.button1);
107
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1]));
108
w15.PackType = ((global::Gtk.PackType)(1));
112
this.console.Add (this.hbox1);
113
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.console [this.hbox1]));
117
// Container child console.Gtk.Box+BoxChild
118
this.scrolledwindow2 = new global::Gtk.ScrolledWindow ();
119
this.scrolledwindow2.CanFocus = true;
120
this.scrolledwindow2.Name = "scrolledwindow2";
121
this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
122
// Container child scrolledwindow2.Gtk.Container+ContainerChild
123
this.consoleView = new global::Gtk.TextView ();
124
this.consoleView.CanFocus = true;
125
this.consoleView.Name = "consoleView";
126
this.scrolledwindow2.Add (this.consoleView);
127
this.console.Add (this.scrolledwindow2);
128
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.console [this.scrolledwindow2]));
130
this.vbox2.Add (this.console);
131
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.console]));
135
// Container child vbox2.Gtk.Box+BoxChild
136
this.statusbar1 = new global::Gtk.Statusbar ();
137
this.statusbar1.Name = "statusbar1";
138
this.statusbar1.Spacing = 2;
139
this.vbox2.Add (this.statusbar1);
140
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1]));
144
this.Add (this.vbox2);
145
if ((this.Child != null)) {
146
this.Child.ShowAll ();
148
this.DefaultWidth = 586;
149
this.DefaultHeight = 356;
151
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
152
this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);