1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
14
public partial class ConfigUI {
16
private Gtk.VBox vbox1;
18
private Gtk.Label lblTransOpts;
20
private Gtk.HBox hbox1;
22
private Gtk.Label lblProvider;
24
private Gtk.ComboBox cmbProvider;
26
private Gtk.HBox hbox2;
28
private Gtk.Label lblDefaultSource;
30
private Gtk.ComboBox cmbDefaultSource;
32
private Gtk.HBox hbox3;
34
private Gtk.Label lblDefaultIface;
36
private Gtk.ComboBox cmbDefaultIface;
38
private Gtk.VBox vbox3;
40
private Gtk.Label lblEnabled;
42
private Gtk.ScrolledWindow GtkScrolledWindow;
44
private Gtk.TreeView treeEnableLang;
46
protected virtual void Build() {
47
Stetic.Gui.Initialize(this);
48
// Widget Translate.ConfigUI
49
Stetic.BinContainer.Attach(this);
50
this.Name = "Translate.ConfigUI";
51
// Container child Translate.ConfigUI.Gtk.Container+ContainerChild
52
this.vbox1 = new Gtk.VBox();
53
this.vbox1.Name = "vbox1";
54
this.vbox1.Spacing = 6;
55
// Container child vbox1.Gtk.Box+BoxChild
56
this.lblTransOpts = new Gtk.Label();
57
this.lblTransOpts.Name = "lblTransOpts";
58
this.lblTransOpts.LabelProp = Mono.Unix.Catalog.GetString("Translation Plugin Options");
59
this.vbox1.Add(this.lblTransOpts);
60
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.lblTransOpts]));
64
// Container child vbox1.Gtk.Box+BoxChild
65
this.hbox1 = new Gtk.HBox();
66
this.hbox1.Name = "hbox1";
67
this.hbox1.Spacing = 6;
68
// Container child hbox1.Gtk.Box+BoxChild
69
this.lblProvider = new Gtk.Label();
70
this.lblProvider.Name = "lblProvider";
71
this.lblProvider.LabelProp = Mono.Unix.Catalog.GetString("Translation Provider");
72
this.hbox1.Add(this.lblProvider);
73
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblProvider]));
77
// Container child hbox1.Gtk.Box+BoxChild
78
this.cmbProvider = Gtk.ComboBox.NewText();
79
this.cmbProvider.Name = "cmbProvider";
80
this.cmbProvider.Active = 0;
81
this.hbox1.Add(this.cmbProvider);
82
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.cmbProvider]));
86
w3.Padding = ((uint)(10));
87
this.vbox1.Add(this.hbox1);
88
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
92
// Container child vbox1.Gtk.Box+BoxChild
93
this.hbox2 = new Gtk.HBox();
94
this.hbox2.Name = "hbox2";
95
this.hbox2.Spacing = 6;
96
// Container child hbox2.Gtk.Box+BoxChild
97
this.lblDefaultSource = new Gtk.Label();
98
this.lblDefaultSource.Name = "lblDefaultSource";
99
this.lblDefaultSource.LabelProp = Mono.Unix.Catalog.GetString("Default Source Language");
100
this.hbox2.Add(this.lblDefaultSource);
101
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.lblDefaultSource]));
105
// Container child hbox2.Gtk.Box+BoxChild
106
this.cmbDefaultSource = new Gtk.ComboBox();
107
this.cmbDefaultSource.Name = "cmbDefaultSource";
108
this.hbox2.Add(this.cmbDefaultSource);
109
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.cmbDefaultSource]));
113
w6.Padding = ((uint)(10));
114
this.vbox1.Add(this.hbox2);
115
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
119
// Container child vbox1.Gtk.Box+BoxChild
120
this.hbox3 = new Gtk.HBox();
121
this.hbox3.Name = "hbox3";
122
this.hbox3.Spacing = 6;
123
// Container child hbox3.Gtk.Box+BoxChild
124
this.lblDefaultIface = new Gtk.Label();
125
this.lblDefaultIface.Name = "lblDefaultIface";
126
this.lblDefaultIface.LabelProp = Mono.Unix.Catalog.GetString("Default Web Interface Language");
127
this.hbox3.Add(this.lblDefaultIface);
128
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.lblDefaultIface]));
132
// Container child hbox3.Gtk.Box+BoxChild
133
this.cmbDefaultIface = new Gtk.ComboBox();
134
this.cmbDefaultIface.Name = "cmbDefaultIface";
135
this.hbox3.Add(this.cmbDefaultIface);
136
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.cmbDefaultIface]));
140
w9.Padding = ((uint)(10));
141
this.vbox1.Add(this.hbox3);
142
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
146
// Container child vbox1.Gtk.Box+BoxChild
147
this.vbox3 = new Gtk.VBox();
148
this.vbox3.Name = "vbox3";
149
this.vbox3.Spacing = 6;
150
// Container child vbox3.Gtk.Box+BoxChild
151
this.lblEnabled = new Gtk.Label();
152
this.lblEnabled.Name = "lblEnabled";
153
this.lblEnabled.LabelProp = Mono.Unix.Catalog.GetString("Enable / Disable Language");
154
this.vbox3.Add(this.lblEnabled);
155
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox3[this.lblEnabled]));
159
// Container child vbox3.Gtk.Box+BoxChild
160
this.GtkScrolledWindow = new Gtk.ScrolledWindow();
161
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
162
this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
163
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
164
this.treeEnableLang = new Gtk.TreeView();
165
this.treeEnableLang.CanFocus = true;
166
this.treeEnableLang.Name = "treeEnableLang";
167
this.GtkScrolledWindow.Add(this.treeEnableLang);
168
this.vbox3.Add(this.GtkScrolledWindow);
169
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
171
this.vbox1.Add(this.vbox3);
172
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox3]));
173
w14.PackType = ((Gtk.PackType)(1));
175
this.Add(this.vbox1);
176
if ((this.Child != null)) {
177
this.Child.ShowAll();
180
this.cmbProvider.Changed += new System.EventHandler(this.ProviderSelectionChanged);
181
this.cmbDefaultSource.Changed += new System.EventHandler(this.SourceSelectionChanged);
182
this.cmbDefaultIface.Changed += new System.EventHandler(this.IfaceSelectionChanged);