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
// ------------------------------------------------------------------------------
11
namespace Docky.Interface {
14
public partial class DockyConfigurationWidget {
16
private Gtk.VBox vbox2;
18
private Gtk.Frame frame1;
20
private Gtk.Alignment GtkAlignment;
22
private Gtk.VBox vbox3;
24
private Gtk.Table table1;
26
private Gtk.CheckButton advanced_indicators_checkbutton;
28
private Gtk.ComboBox autohide_combo;
30
private Gtk.HBox hbox1;
32
private Gtk.HBox hbox10;
34
private Gtk.HBox hbox11;
36
private Gtk.CheckButton zoom_checkbutton;
38
private Gtk.HBox hbox4;
40
private Gtk.HScale icon_size_scale;
42
private Gtk.Label label2;
44
private Gtk.ComboBox orientation_combobox;
46
private Gtk.Label orientation_label;
48
private Gtk.Label orientation_label1;
50
private Gtk.HScale zoom_scale;
52
private Gtk.Label GtkLabel3;
54
private Gtk.HSeparator hseparator1;
56
private Gtk.Frame frame2;
58
private Gtk.Alignment GtkAlignment1;
60
private Gtk.Table table2;
62
private Gtk.HBox hbox6;
64
private Gtk.HBox hbox7;
66
private Gtk.HBox hbox8;
68
private Gtk.Button clear_removed_button;
70
private Gtk.HBox hbox9;
72
private Gtk.ScrolledWindow scrolled_window;
74
private Gtk.Label GtkLabel5;
76
protected virtual void Build() {
77
Stetic.Gui.Initialize(this);
78
// Widget Docky.Interface.DockyConfigurationWidget
79
Stetic.BinContainer.Attach(this);
80
this.Name = "Docky.Interface.DockyConfigurationWidget";
81
// Container child Docky.Interface.DockyConfigurationWidget.Gtk.Container+ContainerChild
82
this.vbox2 = new Gtk.VBox();
83
this.vbox2.Name = "vbox2";
84
this.vbox2.Spacing = 6;
85
// Container child vbox2.Gtk.Box+BoxChild
86
this.frame1 = new Gtk.Frame();
87
this.frame1.Name = "frame1";
88
this.frame1.ShadowType = ((Gtk.ShadowType)(0));
89
// Container child frame1.Gtk.Container+ContainerChild
90
this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
91
this.GtkAlignment.Name = "GtkAlignment";
92
this.GtkAlignment.LeftPadding = ((uint)(12));
93
this.GtkAlignment.TopPadding = ((uint)(5));
94
this.GtkAlignment.RightPadding = ((uint)(5));
95
this.GtkAlignment.BottomPadding = ((uint)(5));
96
// Container child GtkAlignment.Gtk.Container+ContainerChild
97
this.vbox3 = new Gtk.VBox();
98
this.vbox3.Name = "vbox3";
99
this.vbox3.Spacing = 6;
100
// Container child vbox3.Gtk.Box+BoxChild
101
this.table1 = new Gtk.Table(((uint)(4)), ((uint)(5)), false);
102
this.table1.Name = "table1";
103
this.table1.RowSpacing = ((uint)(6));
104
this.table1.ColumnSpacing = ((uint)(6));
105
// Container child table1.Gtk.Table+TableChild
106
this.advanced_indicators_checkbutton = new Gtk.CheckButton();
107
this.advanced_indicators_checkbutton.CanFocus = true;
108
this.advanced_indicators_checkbutton.Name = "advanced_indicators_checkbutton";
109
this.advanced_indicators_checkbutton.Label = Mono.Unix.Catalog.GetString("Indicate Multiple Windows");
110
this.advanced_indicators_checkbutton.DrawIndicator = true;
111
this.advanced_indicators_checkbutton.UseUnderline = true;
112
this.table1.Add(this.advanced_indicators_checkbutton);
113
Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.advanced_indicators_checkbutton]));
114
w1.LeftAttach = ((uint)(3));
115
w1.RightAttach = ((uint)(4));
116
w1.XOptions = ((Gtk.AttachOptions)(4));
117
w1.YOptions = ((Gtk.AttachOptions)(4));
118
// Container child table1.Gtk.Table+TableChild
119
this.autohide_combo = Gtk.ComboBox.NewText();
120
this.autohide_combo.Name = "autohide_combo";
121
this.table1.Add(this.autohide_combo);
122
Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.autohide_combo]));
123
w2.TopAttach = ((uint)(1));
124
w2.BottomAttach = ((uint)(2));
125
w2.LeftAttach = ((uint)(1));
126
w2.RightAttach = ((uint)(2));
127
w2.XOptions = ((Gtk.AttachOptions)(4));
128
w2.YOptions = ((Gtk.AttachOptions)(4));
129
// Container child table1.Gtk.Table+TableChild
130
this.hbox1 = new Gtk.HBox();
131
this.hbox1.Name = "hbox1";
132
this.hbox1.Spacing = 6;
133
this.table1.Add(this.hbox1);
134
Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.hbox1]));
135
w3.LeftAttach = ((uint)(2));
136
w3.RightAttach = ((uint)(3));
137
w3.YOptions = ((Gtk.AttachOptions)(4));
138
// Container child table1.Gtk.Table+TableChild
139
this.hbox10 = new Gtk.HBox();
140
this.hbox10.Name = "hbox10";
141
this.hbox10.Spacing = 6;
142
// Container child hbox10.Gtk.Box+BoxChild
143
this.hbox11 = new Gtk.HBox();
144
this.hbox11.Name = "hbox11";
145
this.hbox11.Spacing = 6;
146
this.hbox10.Add(this.hbox11);
147
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox10[this.hbox11]));
149
// Container child hbox10.Gtk.Box+BoxChild
150
this.zoom_checkbutton = new Gtk.CheckButton();
151
this.zoom_checkbutton.CanFocus = true;
152
this.zoom_checkbutton.Name = "zoom_checkbutton";
153
this.zoom_checkbutton.Label = Mono.Unix.Catalog.GetString("Zoom:");
154
this.zoom_checkbutton.DrawIndicator = true;
155
this.zoom_checkbutton.UseUnderline = true;
156
this.hbox10.Add(this.zoom_checkbutton);
157
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox10[this.zoom_checkbutton]));
160
this.table1.Add(this.hbox10);
161
Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.hbox10]));
162
w6.TopAttach = ((uint)(3));
163
w6.BottomAttach = ((uint)(4));
164
w6.XOptions = ((Gtk.AttachOptions)(4));
165
w6.YOptions = ((Gtk.AttachOptions)(4));
166
// Container child table1.Gtk.Table+TableChild
167
this.hbox4 = new Gtk.HBox();
168
this.hbox4.Name = "hbox4";
169
this.hbox4.Spacing = 6;
170
this.table1.Add(this.hbox4);
171
Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.hbox4]));
172
w7.LeftAttach = ((uint)(4));
173
w7.RightAttach = ((uint)(5));
174
w7.YOptions = ((Gtk.AttachOptions)(4));
175
// Container child table1.Gtk.Table+TableChild
176
this.icon_size_scale = new Gtk.HScale(null);
177
this.icon_size_scale.CanFocus = true;
178
this.icon_size_scale.Name = "icon_size_scale";
179
this.icon_size_scale.Adjustment.Lower = 24;
180
this.icon_size_scale.Adjustment.Upper = 128;
181
this.icon_size_scale.Adjustment.PageIncrement = 10;
182
this.icon_size_scale.Adjustment.StepIncrement = 1;
183
this.icon_size_scale.DrawValue = true;
184
this.icon_size_scale.Digits = 0;
185
this.icon_size_scale.ValuePos = ((Gtk.PositionType)(1));
186
this.table1.Add(this.icon_size_scale);
187
Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.icon_size_scale]));
188
w8.TopAttach = ((uint)(2));
189
w8.BottomAttach = ((uint)(3));
190
w8.LeftAttach = ((uint)(1));
191
w8.RightAttach = ((uint)(4));
192
w8.XOptions = ((Gtk.AttachOptions)(4));
193
w8.YOptions = ((Gtk.AttachOptions)(4));
194
// Container child table1.Gtk.Table+TableChild
195
this.label2 = new Gtk.Label();
196
this.label2.Name = "label2";
197
this.label2.Xalign = 1F;
198
this.label2.LabelProp = Mono.Unix.Catalog.GetString("Icon Size:");
199
this.table1.Add(this.label2);
200
Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
201
w9.TopAttach = ((uint)(2));
202
w9.BottomAttach = ((uint)(3));
203
w9.XOptions = ((Gtk.AttachOptions)(4));
204
w9.YOptions = ((Gtk.AttachOptions)(4));
205
// Container child table1.Gtk.Table+TableChild
206
this.orientation_combobox = Gtk.ComboBox.NewText();
207
this.orientation_combobox.Name = "orientation_combobox";
208
this.table1.Add(this.orientation_combobox);
209
Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.orientation_combobox]));
210
w10.LeftAttach = ((uint)(1));
211
w10.RightAttach = ((uint)(2));
212
w10.XOptions = ((Gtk.AttachOptions)(4));
213
w10.YOptions = ((Gtk.AttachOptions)(4));
214
// Container child table1.Gtk.Table+TableChild
215
this.orientation_label = new Gtk.Label();
216
this.orientation_label.WidthRequest = 70;
217
this.orientation_label.Name = "orientation_label";
218
this.orientation_label.Xalign = 1F;
219
this.orientation_label.LabelProp = Mono.Unix.Catalog.GetString("Orientation:");
220
this.table1.Add(this.orientation_label);
221
Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.orientation_label]));
222
w11.XOptions = ((Gtk.AttachOptions)(4));
223
w11.YOptions = ((Gtk.AttachOptions)(4));
224
// Container child table1.Gtk.Table+TableChild
225
this.orientation_label1 = new Gtk.Label();
226
this.orientation_label1.Name = "orientation_label1";
227
this.orientation_label1.Xalign = 1F;
228
this.orientation_label1.LabelProp = Mono.Unix.Catalog.GetString("Hiding:");
229
this.table1.Add(this.orientation_label1);
230
Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.orientation_label1]));
231
w12.TopAttach = ((uint)(1));
232
w12.BottomAttach = ((uint)(2));
233
w12.XOptions = ((Gtk.AttachOptions)(4));
234
w12.YOptions = ((Gtk.AttachOptions)(4));
235
// Container child table1.Gtk.Table+TableChild
236
this.zoom_scale = new Gtk.HScale(null);
237
this.zoom_scale.CanFocus = true;
238
this.zoom_scale.Name = "zoom_scale";
239
this.zoom_scale.UpdatePolicy = ((Gtk.UpdateType)(1));
240
this.zoom_scale.Adjustment.Lower = 0.1;
241
this.zoom_scale.Adjustment.Upper = 4;
242
this.zoom_scale.Adjustment.PageIncrement = 0.1;
243
this.zoom_scale.Adjustment.PageSize = 0.1;
244
this.zoom_scale.Adjustment.StepIncrement = 0.1;
245
this.zoom_scale.Adjustment.Value = 0.7;
246
this.zoom_scale.DrawValue = true;
247
this.zoom_scale.Digits = 0;
248
this.zoom_scale.ValuePos = ((Gtk.PositionType)(1));
249
this.table1.Add(this.zoom_scale);
250
Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.zoom_scale]));
251
w13.TopAttach = ((uint)(3));
252
w13.BottomAttach = ((uint)(4));
253
w13.LeftAttach = ((uint)(1));
254
w13.RightAttach = ((uint)(4));
255
w13.XOptions = ((Gtk.AttachOptions)(4));
256
w13.YOptions = ((Gtk.AttachOptions)(4));
257
this.vbox3.Add(this.table1);
258
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1]));
262
this.GtkAlignment.Add(this.vbox3);
263
this.frame1.Add(this.GtkAlignment);
264
this.GtkLabel3 = new Gtk.Label();
265
this.GtkLabel3.Name = "GtkLabel3";
266
this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Docky Behavior</b>");
267
this.GtkLabel3.UseMarkup = true;
268
this.frame1.LabelWidget = this.GtkLabel3;
269
this.vbox2.Add(this.frame1);
270
Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
274
// Container child vbox2.Gtk.Box+BoxChild
275
this.hseparator1 = new Gtk.HSeparator();
276
this.hseparator1.Name = "hseparator1";
277
this.vbox2.Add(this.hseparator1);
278
Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox2[this.hseparator1]));
282
// Container child vbox2.Gtk.Box+BoxChild
283
this.frame2 = new Gtk.Frame();
284
this.frame2.Name = "frame2";
285
this.frame2.ShadowType = ((Gtk.ShadowType)(0));
286
// Container child frame2.Gtk.Container+ContainerChild
287
this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
288
this.GtkAlignment1.Name = "GtkAlignment1";
289
this.GtkAlignment1.LeftPadding = ((uint)(12));
290
this.GtkAlignment1.TopPadding = ((uint)(5));
291
this.GtkAlignment1.RightPadding = ((uint)(12));
292
// Container child GtkAlignment1.Gtk.Container+ContainerChild
293
this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
294
this.table2.Name = "table2";
295
this.table2.RowSpacing = ((uint)(6));
296
this.table2.ColumnSpacing = ((uint)(6));
297
// Container child table2.Gtk.Table+TableChild
298
this.hbox6 = new Gtk.HBox();
299
this.hbox6.WidthRequest = 70;
300
this.hbox6.Name = "hbox6";
301
this.hbox6.Spacing = 6;
302
this.table2.Add(this.hbox6);
303
Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.hbox6]));
304
w19.XOptions = ((Gtk.AttachOptions)(4));
305
// Container child table2.Gtk.Table+TableChild
306
this.hbox7 = new Gtk.HBox();
307
this.hbox7.Name = "hbox7";
308
this.hbox7.Spacing = 6;
309
this.table2.Add(this.hbox7);
310
Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.hbox7]));
311
w20.LeftAttach = ((uint)(2));
312
w20.RightAttach = ((uint)(3));
313
w20.YOptions = ((Gtk.AttachOptions)(4));
314
// Container child table2.Gtk.Table+TableChild
315
this.hbox8 = new Gtk.HBox();
316
this.hbox8.Name = "hbox8";
317
this.hbox8.Spacing = 6;
318
// Container child hbox8.Gtk.Box+BoxChild
319
this.clear_removed_button = new Gtk.Button();
320
this.clear_removed_button.CanFocus = true;
321
this.clear_removed_button.Name = "clear_removed_button";
322
this.clear_removed_button.UseUnderline = true;
323
// Container child clear_removed_button.Gtk.Container+ContainerChild
324
Gtk.Alignment w21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
325
// Container child GtkAlignment.Gtk.Container+ContainerChild
326
Gtk.HBox w22 = new Gtk.HBox();
328
// Container child GtkHBox.Gtk.Container+ContainerChild
329
Gtk.Image w23 = new Gtk.Image();
330
w23.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16);
332
// Container child GtkHBox.Gtk.Container+ContainerChild
333
Gtk.Label w25 = new Gtk.Label();
334
w25.LabelProp = Mono.Unix.Catalog.GetString("Reinstate Removed Items");
335
w25.UseUnderline = true;
338
this.clear_removed_button.Add(w21);
339
this.hbox8.Add(this.clear_removed_button);
340
Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox8[this.clear_removed_button]));
344
// Container child hbox8.Gtk.Box+BoxChild
345
this.hbox9 = new Gtk.HBox();
346
this.hbox9.Name = "hbox9";
347
this.hbox9.Spacing = 6;
348
this.hbox8.Add(this.hbox9);
349
Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox8[this.hbox9]));
351
this.table2.Add(this.hbox8);
352
Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table2[this.hbox8]));
353
w31.TopAttach = ((uint)(1));
354
w31.BottomAttach = ((uint)(2));
355
w31.LeftAttach = ((uint)(1));
356
w31.RightAttach = ((uint)(2));
357
w31.XOptions = ((Gtk.AttachOptions)(4));
358
w31.YOptions = ((Gtk.AttachOptions)(4));
359
// Container child table2.Gtk.Table+TableChild
360
this.scrolled_window = new Gtk.ScrolledWindow();
361
this.scrolled_window.CanFocus = true;
362
this.scrolled_window.Name = "scrolled_window";
363
this.scrolled_window.ShadowType = ((Gtk.ShadowType)(1));
364
this.table2.Add(this.scrolled_window);
365
Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.scrolled_window]));
366
w32.LeftAttach = ((uint)(1));
367
w32.RightAttach = ((uint)(2));
368
this.GtkAlignment1.Add(this.table2);
369
this.frame2.Add(this.GtkAlignment1);
370
this.GtkLabel5 = new Gtk.Label();
371
this.GtkLabel5.Name = "GtkLabel5";
372
this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Docklets</b>");
373
this.GtkLabel5.UseMarkup = true;
374
this.frame2.LabelWidget = this.GtkLabel5;
375
this.vbox2.Add(this.frame2);
376
Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
380
this.Add(this.vbox2);
381
if ((this.Child != null)) {
382
this.Child.ShowAll();
385
this.zoom_scale.FormatValue += new Gtk.FormatValueHandler(this.OnZoomScaleFormatValue);
386
this.zoom_scale.ValueChanged += new System.EventHandler(this.OnZoomScaleValueChanged);
387
this.orientation_combobox.Changed += new System.EventHandler(this.OnOrientationComboboxChanged);
388
this.icon_size_scale.ValueChanged += new System.EventHandler(this.OnIconSizeScaleValueChanged);
389
this.zoom_checkbutton.Toggled += new System.EventHandler(this.OnZoomCheckbuttonToggled);
390
this.autohide_combo.Changed += new System.EventHandler(this.OnAutohideComboChanged);
391
this.advanced_indicators_checkbutton.Toggled += new System.EventHandler(this.OnAdvancedIndicatorsCheckbuttonToggled);
392
this.clear_removed_button.Clicked += new System.EventHandler(this.OnClearRemovedButtonClicked);