~ubuntu-branches/ubuntu/precise/gnome-do/precise-proposed

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.PreferencesWindow.cs

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2008-09-14 10:09:40 UTC
  • mto: (0.1.8 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20080914100940-kyghudg7py14bu2z
Tags: upstream-0.6.0.0
ImportĀ upstreamĀ versionĀ 0.6.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      Mono Runtime Version: 2.0.50727.42
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Do.UI {
 
12
    
 
13
    
 
14
    public partial class PreferencesWindow {
 
15
        
 
16
        private Gtk.VBox vbox1;
 
17
        
 
18
        private Gtk.HBox hbox1;
 
19
        
 
20
        private Gtk.Notebook notebook;
 
21
        
 
22
        private Gtk.HButtonBox hbuttonbox2;
 
23
        
 
24
        private Gtk.Button btn_help;
 
25
        
 
26
        private Gtk.Button btn_close;
 
27
        
 
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]));
 
57
            w1.Position = 0;
 
58
            this.vbox1.Add(this.hbox1);
 
59
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
 
60
            w2.Position = 0;
 
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]));
 
73
            w3.Expand = false;
 
74
            w3.Fill = false;
 
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]));
 
85
            w4.Position = 1;
 
86
            w4.Expand = false;
 
87
            w4.Fill = false;
 
88
            this.vbox1.Add(this.hbuttonbox2);
 
89
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox2]));
 
90
            w5.Position = 1;
 
91
            w5.Expand = false;
 
92
            w5.Fill = false;
 
93
            this.Add(this.vbox1);
 
94
            if ((this.Child != null)) {
 
95
                this.Child.ShowAll();
 
96
            }
 
97
            this.DefaultWidth = 510;
 
98
            this.DefaultHeight = 526;
 
99
            this.btn_close.HasDefault = true;
 
100
            this.Show();
 
101
            this.btn_help.Clicked += new System.EventHandler(this.OnBtnHelpClicked);
 
102
            this.btn_close.Clicked += new System.EventHandler(this.OnBtnCloseClicked);
 
103
        }
 
104
    }
 
105
}