1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
4
// Mono Runtime Version: 2.0.50727.42
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
14
public partial class PreferencesWindow {
16
private Gtk.VBox vbox1;
18
private Gtk.HBox hbox1;
20
private Gtk.Notebook notebook;
22
private Gtk.HButtonBox hbuttonbox2;
24
private Gtk.Button btn_help;
26
private Gtk.Button btn_close;
28
protected virtual void Build() {
29
Stetic.Gui.Initialize(this);
30
// Widget Do.UI.PreferencesWindow
31
this.WidthRequest = 420;
32
this.HeightRequest = 500;
33
this.Name = "Do.UI.PreferencesWindow";
34
this.Title = Mono.Unix.Catalog.GetString("GNOME Do Preferences");
35
this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
36
this.WindowPosition = ((Gtk.WindowPosition)(1));
37
this.BorderWidth = ((uint)(6));
38
this.Resizable = false;
39
this.AllowGrow = false;
40
// Container child Do.UI.PreferencesWindow.Gtk.Container+ContainerChild
41
this.vbox1 = new Gtk.VBox();
42
this.vbox1.Name = "vbox1";
43
this.vbox1.Spacing = 6;
44
// Container child vbox1.Gtk.Box+BoxChild
45
this.hbox1 = new Gtk.HBox();
46
this.hbox1.HeightRequest = 440;
47
this.hbox1.Name = "hbox1";
48
this.hbox1.Spacing = 6;
49
// Container child hbox1.Gtk.Box+BoxChild
50
this.notebook = new Gtk.Notebook();
51
this.notebook.WidthRequest = 300;
52
this.notebook.CanFocus = true;
53
this.notebook.Name = "notebook";
54
this.notebook.CurrentPage = 0;
55
this.hbox1.Add(this.notebook);
56
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.notebook]));
58
this.vbox1.Add(this.hbox1);
59
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
61
// Container child vbox1.Gtk.Box+BoxChild
62
this.hbuttonbox2 = new Gtk.HButtonBox();
63
this.hbuttonbox2.Name = "hbuttonbox2";
64
// Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
65
this.btn_help = new Gtk.Button();
66
this.btn_help.CanFocus = true;
67
this.btn_help.Name = "btn_help";
68
this.btn_help.UseStock = true;
69
this.btn_help.UseUnderline = true;
70
this.btn_help.Label = "gtk-help";
71
this.hbuttonbox2.Add(this.btn_help);
72
Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_help]));
75
// Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
76
this.btn_close = new Gtk.Button();
77
this.btn_close.CanDefault = true;
78
this.btn_close.CanFocus = true;
79
this.btn_close.Name = "btn_close";
80
this.btn_close.UseStock = true;
81
this.btn_close.UseUnderline = true;
82
this.btn_close.Label = "gtk-close";
83
this.hbuttonbox2.Add(this.btn_close);
84
Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_close]));
88
this.vbox1.Add(this.hbuttonbox2);
89
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox2]));
94
if ((this.Child != null)) {
97
this.DefaultWidth = 510;
98
this.DefaultHeight = 526;
99
this.btn_close.HasDefault = true;
101
this.btn_help.Clicked += new System.EventHandler(this.OnBtnHelpClicked);
102
this.btn_close.Clicked += new System.EventHandler(this.OnBtnCloseClicked);