File: MonoDevelop.Database.Designer.ColumnsEditorWidget.cs

package info (click to toggle)
monodevelop-database 1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,240 kB
  • ctags: 3,403
  • sloc: cs: 19,989; xml: 810; makefile: 649; sh: 540
file content (148 lines) | stat: -rw-r--r-- 6,982 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace MonoDevelop.Database.Designer {
    
    
    public partial class ColumnsEditorWidget {
        
        private Gtk.HPaned hpaned;
        
        private Gtk.VBox vboxLeft;
        
        private Gtk.ScrolledWindow scrolledwindowLeft;
        
        private Gtk.TreeView treeColumns;
        
        private Gtk.HButtonBox hbuttonbox;
        
        private Gtk.Button buttonAdd;
        
        private Gtk.Button buttonRemove;
        
        private Gtk.Button buttonUp;
        
        private Gtk.Button buttonDown;
        
        private Gtk.ScrolledWindow scrolledwindowRight;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget MonoDevelop.Database.Designer.ColumnsEditorWidget
            Stetic.BinContainer.Attach(this);
            this.Name = "MonoDevelop.Database.Designer.ColumnsEditorWidget";
            // Container child MonoDevelop.Database.Designer.ColumnsEditorWidget.Gtk.Container+ContainerChild
            this.hpaned = new Gtk.HPaned();
            this.hpaned.CanFocus = true;
            this.hpaned.Name = "hpaned";
            this.hpaned.Position = 662;
            // Container child hpaned.Gtk.Paned+PanedChild
            this.vboxLeft = new Gtk.VBox();
            this.vboxLeft.Name = "vboxLeft";
            this.vboxLeft.Spacing = 6;
            // Container child vboxLeft.Gtk.Box+BoxChild
            this.scrolledwindowLeft = new Gtk.ScrolledWindow();
            this.scrolledwindowLeft.CanFocus = true;
            this.scrolledwindowLeft.Name = "scrolledwindowLeft";
            this.scrolledwindowLeft.VscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.scrolledwindowLeft.HscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.scrolledwindowLeft.ShadowType = ((Gtk.ShadowType)(1));
            // Container child scrolledwindowLeft.Gtk.Container+ContainerChild
            this.treeColumns = new Gtk.TreeView();
            this.treeColumns.CanFocus = true;
            this.treeColumns.Name = "treeColumns";
            this.treeColumns.HeadersClickable = true;
            this.scrolledwindowLeft.Add(this.treeColumns);
            this.vboxLeft.Add(this.scrolledwindowLeft);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vboxLeft[this.scrolledwindowLeft]));
            w2.Position = 0;
            // Container child vboxLeft.Gtk.Box+BoxChild
            this.hbuttonbox = new Gtk.HButtonBox();
            this.hbuttonbox.Name = "hbuttonbox";
            this.hbuttonbox.Spacing = 6;
            this.hbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonAdd = new Gtk.Button();
            this.buttonAdd.CanFocus = true;
            this.buttonAdd.Name = "buttonAdd";
            this.buttonAdd.UseStock = true;
            this.buttonAdd.UseUnderline = true;
            this.buttonAdd.Label = "gtk-add";
            this.hbuttonbox.Add(this.buttonAdd);
            Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd]));
            w3.Expand = false;
            w3.Fill = false;
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonRemove = new Gtk.Button();
            this.buttonRemove.Sensitive = false;
            this.buttonRemove.CanFocus = true;
            this.buttonRemove.Name = "buttonRemove";
            this.buttonRemove.UseStock = true;
            this.buttonRemove.UseUnderline = true;
            this.buttonRemove.Label = "gtk-remove";
            this.hbuttonbox.Add(this.buttonRemove);
            Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove]));
            w4.Position = 1;
            w4.Expand = false;
            w4.Fill = false;
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonUp = new Gtk.Button();
            this.buttonUp.Sensitive = false;
            this.buttonUp.CanFocus = true;
            this.buttonUp.Name = "buttonUp";
            this.buttonUp.UseStock = true;
            this.buttonUp.UseUnderline = true;
            this.buttonUp.Label = "gtk-go-up";
            this.hbuttonbox.Add(this.buttonUp);
            Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonUp]));
            w5.Position = 2;
            w5.Expand = false;
            w5.Fill = false;
            // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
            this.buttonDown = new Gtk.Button();
            this.buttonDown.Sensitive = false;
            this.buttonDown.CanFocus = true;
            this.buttonDown.Name = "buttonDown";
            this.buttonDown.UseStock = true;
            this.buttonDown.UseUnderline = true;
            this.buttonDown.Label = "gtk-go-down";
            this.hbuttonbox.Add(this.buttonDown);
            Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonDown]));
            w6.Position = 3;
            w6.Expand = false;
            w6.Fill = false;
            this.vboxLeft.Add(this.hbuttonbox);
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vboxLeft[this.hbuttonbox]));
            w7.Position = 1;
            w7.Expand = false;
            w7.Fill = false;
            this.hpaned.Add(this.vboxLeft);
            Gtk.Paned.PanedChild w8 = ((Gtk.Paned.PanedChild)(this.hpaned[this.vboxLeft]));
            w8.Resize = false;
            // Container child hpaned.Gtk.Paned+PanedChild
            this.scrolledwindowRight = new Gtk.ScrolledWindow();
            this.scrolledwindowRight.CanFocus = true;
            this.scrolledwindowRight.Name = "scrolledwindowRight";
            this.scrolledwindowRight.VscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.scrolledwindowRight.HscrollbarPolicy = ((Gtk.PolicyType)(1));
            this.scrolledwindowRight.ShadowType = ((Gtk.ShadowType)(1));
            this.hpaned.Add(this.scrolledwindowRight);
            this.Add(this.hpaned);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.buttonAdd.Clicked += new System.EventHandler(this.AddClicked);
            this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked);
            this.buttonUp.Clicked += new System.EventHandler(this.UpClicked);
            this.buttonDown.Clicked += new System.EventHandler(this.DownClicked);
        }
    }
}