~ubuntu-branches/ubuntu/trusty/gnome-do/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-26 11:12:21 UTC
  • mfrom: (0.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120326111221-1jk143fy37zxi3e4
Tags: 0.9-1
* New upstream version no longer uses deprecated internal glib headers.
  (Closes: #665537)
* [59fa37b9] Fix watch file
* [63486516] Imported Upstream version 0.9
* [8c636d84] Disable testsuite for now; requires running dbus and gconf daemons
* [e46de4b9] Remove inaccurate README.Source
* [4591d677] Add git-buildpackage configuration to default to pristine-tar

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ------------------------------------------------------------------------------
2
 
//  <autogenerated>
3
 
//      This code was generated by a tool.
4
 
//      
5
 
// 
6
 
//      Changes to this file may cause incorrect behavior and will be lost if 
7
 
//      the code is regenerated.
8
 
//  </autogenerated>
9
 
// ------------------------------------------------------------------------------
10
1
 
11
 
namespace Do.UI {
12
 
    
13
 
    
14
 
    public partial class PluginConfigurationWindow {
15
 
        
16
 
        private Gtk.VBox vbox2;
17
 
        
18
 
        private Gtk.HBox hbox2;
19
 
        
20
 
        private Gtk.Image addin_title_img;
21
 
        
22
 
        private Gtk.Label addin_title_lbl;
23
 
        
24
 
        private Gtk.Notebook notebook;
25
 
        
26
 
        private Gtk.Label label2;
27
 
        
28
 
        private Gtk.HButtonBox hbuttonbox2;
29
 
        
30
 
        private Gtk.Button btn_close;
31
 
        
32
 
        protected virtual void Build() {
33
 
            Stetic.Gui.Initialize(this);
34
 
            // Widget Do.UI.PluginConfigurationWindow
35
 
            this.Name = "Do.UI.PluginConfigurationWindow";
36
 
            this.Title = Mono.Unix.Catalog.GetString("PluginConfigurationWindow");
37
 
            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
38
 
            this.WindowPosition = ((Gtk.WindowPosition)(1));
39
 
            this.BorderWidth = ((uint)(6));
40
 
            this.DefaultWidth = 400;
41
 
            this.DefaultHeight = 400;
42
 
            // Container child Do.UI.PluginConfigurationWindow.Gtk.Container+ContainerChild
43
 
            this.vbox2 = new Gtk.VBox();
44
 
            this.vbox2.Name = "vbox2";
45
 
            this.vbox2.Spacing = 6;
46
 
            // Container child vbox2.Gtk.Box+BoxChild
47
 
            this.hbox2 = new Gtk.HBox();
48
 
            this.hbox2.Name = "hbox2";
49
 
            this.hbox2.Spacing = 6;
50
 
            // Container child hbox2.Gtk.Box+BoxChild
51
 
            this.addin_title_img = new Gtk.Image();
52
 
            this.addin_title_img.Name = "addin_title_img";
53
 
            this.addin_title_img.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Menu, 16);
54
 
            this.hbox2.Add(this.addin_title_img);
55
 
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.addin_title_img]));
56
 
            w1.Position = 0;
57
 
            w1.Expand = false;
58
 
            w1.Fill = false;
59
 
            // Container child hbox2.Gtk.Box+BoxChild
60
 
            this.addin_title_lbl = new Gtk.Label();
61
 
            this.addin_title_lbl.Name = "addin_title_lbl";
62
 
            this.addin_title_lbl.LabelProp = Mono.Unix.Catalog.GetString("<span size=\"large\" weight=\"heavy\">Plugin name here</span>");
63
 
            this.addin_title_lbl.UseMarkup = true;
64
 
            this.hbox2.Add(this.addin_title_lbl);
65
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.addin_title_lbl]));
66
 
            w2.Position = 1;
67
 
            w2.Expand = false;
68
 
            w2.Fill = false;
69
 
            this.vbox2.Add(this.hbox2);
70
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
71
 
            w3.Position = 0;
72
 
            w3.Expand = false;
73
 
            w3.Fill = false;
74
 
            // Container child vbox2.Gtk.Box+BoxChild
75
 
            this.notebook = new Gtk.Notebook();
76
 
            this.notebook.CanFocus = true;
77
 
            this.notebook.Name = "notebook";
78
 
            this.notebook.CurrentPage = 0;
79
 
            // Notebook tab
80
 
            Gtk.Label w4 = new Gtk.Label();
81
 
            w4.Visible = true;
82
 
            this.notebook.Add(w4);
83
 
            this.label2 = new Gtk.Label();
84
 
            this.label2.Name = "label2";
85
 
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("page1");
86
 
            this.notebook.SetTabLabel(w4, this.label2);
87
 
            this.label2.ShowAll();
88
 
            this.vbox2.Add(this.notebook);
89
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.notebook]));
90
 
            w5.Position = 1;
91
 
            // Container child vbox2.Gtk.Box+BoxChild
92
 
            this.hbuttonbox2 = new Gtk.HButtonBox();
93
 
            this.hbuttonbox2.Name = "hbuttonbox2";
94
 
            this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
95
 
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
96
 
            this.btn_close = new Gtk.Button();
97
 
            this.btn_close.CanFocus = true;
98
 
            this.btn_close.Name = "btn_close";
99
 
            this.btn_close.UseStock = true;
100
 
            this.btn_close.UseUnderline = true;
101
 
            this.btn_close.Label = "gtk-close";
102
 
            this.hbuttonbox2.Add(this.btn_close);
103
 
            Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_close]));
104
 
            w6.Expand = false;
105
 
            w6.Fill = false;
106
 
            this.vbox2.Add(this.hbuttonbox2);
107
 
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox2]));
108
 
            w7.Position = 2;
109
 
            w7.Expand = false;
110
 
            w7.Fill = false;
111
 
            this.Add(this.vbox2);
112
 
            if ((this.Child != null)) {
113
 
                this.Child.ShowAll();
114
 
            }
115
 
            this.Show();
116
 
            this.btn_close.Clicked += new System.EventHandler(this.OnBtnCloseClicked);
117
 
        }
118
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class PluginConfigurationWindow
 
6
        {
 
7
                private global::Gtk.VBox vbox2;
 
8
                private global::Gtk.HBox hbox2;
 
9
                private global::Gtk.Image addin_title_img;
 
10
                private global::Gtk.Label addin_title_lbl;
 
11
                private global::Gtk.Notebook notebook;
 
12
                private global::Gtk.Label label2;
 
13
                private global::Gtk.HButtonBox hbuttonbox2;
 
14
                private global::Gtk.Button btn_close;
 
15
        
 
16
                protected virtual void Build ()
 
17
                {
 
18
                        global::Stetic.Gui.Initialize (this);
 
19
                        // Widget Do.UI.PluginConfigurationWindow
 
20
                        this.Name = "Do.UI.PluginConfigurationWindow";
 
21
                        this.Title = global::Mono.Unix.Catalog.GetString ("PluginConfigurationWindow");
 
22
                        this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Menu);
 
23
                        this.WindowPosition = ((global::Gtk.WindowPosition)(1));
 
24
                        this.BorderWidth = ((uint)(6));
 
25
                        this.DefaultWidth = 400;
 
26
                        this.DefaultHeight = 400;
 
27
                        // Container child Do.UI.PluginConfigurationWindow.Gtk.Container+ContainerChild
 
28
                        this.vbox2 = new global::Gtk.VBox ();
 
29
                        this.vbox2.Name = "vbox2";
 
30
                        this.vbox2.Spacing = 6;
 
31
                        // Container child vbox2.Gtk.Box+BoxChild
 
32
                        this.hbox2 = new global::Gtk.HBox ();
 
33
                        this.hbox2.Name = "hbox2";
 
34
                        this.hbox2.Spacing = 6;
 
35
                        // Container child hbox2.Gtk.Box+BoxChild
 
36
                        this.addin_title_img = new global::Gtk.Image ();
 
37
                        this.addin_title_img.Name = "addin_title_img";
 
38
                        this.addin_title_img.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Menu);
 
39
                        this.hbox2.Add (this.addin_title_img);
 
40
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.addin_title_img]));
 
41
                        w1.Position = 0;
 
42
                        w1.Expand = false;
 
43
                        w1.Fill = false;
 
44
                        // Container child hbox2.Gtk.Box+BoxChild
 
45
                        this.addin_title_lbl = new global::Gtk.Label ();
 
46
                        this.addin_title_lbl.Name = "addin_title_lbl";
 
47
                        this.addin_title_lbl.LabelProp = global::Mono.Unix.Catalog.GetString ("<span size=\"large\" weight=\"heavy\">Plugin name here</span>");
 
48
                        this.addin_title_lbl.UseMarkup = true;
 
49
                        this.hbox2.Add (this.addin_title_lbl);
 
50
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.addin_title_lbl]));
 
51
                        w2.Position = 1;
 
52
                        w2.Expand = false;
 
53
                        w2.Fill = false;
 
54
                        this.vbox2.Add (this.hbox2);
 
55
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
 
56
                        w3.Position = 0;
 
57
                        w3.Expand = false;
 
58
                        w3.Fill = false;
 
59
                        // Container child vbox2.Gtk.Box+BoxChild
 
60
                        this.notebook = new global::Gtk.Notebook ();
 
61
                        this.notebook.CanFocus = true;
 
62
                        this.notebook.Name = "notebook";
 
63
                        this.notebook.CurrentPage = 0;
 
64
                        // Notebook tab
 
65
                        global::Gtk.Label w4 = new global::Gtk.Label ();
 
66
                        w4.Visible = true;
 
67
                        this.notebook.Add (w4);
 
68
                        this.label2 = new global::Gtk.Label ();
 
69
                        this.label2.Name = "label2";
 
70
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("page1");
 
71
                        this.notebook.SetTabLabel (w4, this.label2);
 
72
                        this.label2.ShowAll ();
 
73
                        this.vbox2.Add (this.notebook);
 
74
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook]));
 
75
                        w5.Position = 1;
 
76
                        // Container child vbox2.Gtk.Box+BoxChild
 
77
                        this.hbuttonbox2 = new global::Gtk.HButtonBox ();
 
78
                        this.hbuttonbox2.Name = "hbuttonbox2";
 
79
                        this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 
80
                        // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
 
81
                        this.btn_close = new global::Gtk.Button ();
 
82
                        this.btn_close.CanFocus = true;
 
83
                        this.btn_close.Name = "btn_close";
 
84
                        this.btn_close.UseStock = true;
 
85
                        this.btn_close.UseUnderline = true;
 
86
                        this.btn_close.Label = "gtk-close";
 
87
                        this.hbuttonbox2.Add (this.btn_close);
 
88
                        global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btn_close]));
 
89
                        w6.Expand = false;
 
90
                        w6.Fill = false;
 
91
                        this.vbox2.Add (this.hbuttonbox2);
 
92
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox2]));
 
93
                        w7.Position = 2;
 
94
                        w7.Expand = false;
 
95
                        w7.Fill = false;
 
96
                        this.Add (this.vbox2);
 
97
                        if ((this.Child != null)) {
 
98
                                this.Child.ShowAll ();
 
99
                        }
 
100
                        this.Show ();
 
101
                        this.btn_close.Clicked += new global::System.EventHandler (this.OnBtnCloseClicked);
 
102
                }
 
103
        }
119
104
}