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

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.PluginConfigurationWindow.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 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 = 450;
 
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
    }
 
119
}