1 // ------------------------------------------------------------------------------
3 // This code was generated by a tool.
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
9 // ------------------------------------------------------------------------------
11 namespace MonoDevelop
.Database
.Designer
{
14 public partial class UniqueConstraintEditorWidget
{
16 private Gtk
.HPaned hpaned
;
18 private Gtk
.VBox vbox3
;
20 private Gtk
.ScrolledWindow windowPK
;
22 private Gtk
.TreeView listUnique
;
24 private Gtk
.HButtonBox hbuttonbox
;
26 private Gtk
.Button buttonAdd
;
28 private Gtk
.Button buttonRemove
;
30 private MonoDevelop
.Database
.Components
.SelectColumnWidget columnSelecter
;
32 protected virtual void Build() {
33 Stetic
.Gui
.Initialize(this);
34 // Widget MonoDevelop.Database.Designer.UniqueConstraintEditorWidget
35 Stetic
.BinContainer
.Attach(this);
36 this.Name
= "MonoDevelop.Database.Designer.UniqueConstraintEditorWidget";
37 // Container child MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.Gtk.Container+ContainerChild
38 this.hpaned
= new Gtk
.HPaned();
39 this.hpaned
.CanFocus
= true;
40 this.hpaned
.Name
= "hpaned";
41 this.hpaned
.Position
= 304;
42 // Container child hpaned.Gtk.Paned+PanedChild
43 this.vbox3
= new Gtk
.VBox();
44 this.vbox3
.Name
= "vbox3";
45 this.vbox3
.Spacing
= 6;
46 // Container child vbox3.Gtk.Box+BoxChild
47 this.windowPK
= new Gtk
.ScrolledWindow();
48 this.windowPK
.CanFocus
= true;
49 this.windowPK
.Name
= "windowPK";
50 this.windowPK
.ShadowType
= ((Gtk
.ShadowType
)(1));
51 // Container child windowPK.Gtk.Container+ContainerChild
52 this.listUnique
= new Gtk
.TreeView();
53 this.listUnique
.CanFocus
= true;
54 this.listUnique
.Name
= "listUnique";
55 this.windowPK
.Add(this.listUnique
);
56 this.vbox3
.Add(this.windowPK
);
57 Gtk
.Box
.BoxChild w2
= ((Gtk
.Box
.BoxChild
)(this.vbox3
[this.windowPK
]));
59 // Container child vbox3.Gtk.Box+BoxChild
60 this.hbuttonbox
= new Gtk
.HButtonBox();
61 this.hbuttonbox
.Name
= "hbuttonbox";
62 this.hbuttonbox
.Spacing
= 6;
63 this.hbuttonbox
.LayoutStyle
= ((Gtk
.ButtonBoxStyle
)(3));
64 // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
65 this.buttonAdd
= new Gtk
.Button();
66 this.buttonAdd
.CanFocus
= true;
67 this.buttonAdd
.Name
= "buttonAdd";
68 this.buttonAdd
.UseStock
= true;
69 this.buttonAdd
.UseUnderline
= true;
70 this.buttonAdd
.Label
= "gtk-add";
71 this.hbuttonbox
.Add(this.buttonAdd
);
72 Gtk
.ButtonBox
.ButtonBoxChild w3
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(this.hbuttonbox
[this.buttonAdd
]));
75 // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild
76 this.buttonRemove
= new Gtk
.Button();
77 this.buttonRemove
.Sensitive
= false;
78 this.buttonRemove
.CanFocus
= true;
79 this.buttonRemove
.Name
= "buttonRemove";
80 this.buttonRemove
.UseStock
= true;
81 this.buttonRemove
.UseUnderline
= true;
82 this.buttonRemove
.Label
= "gtk-remove";
83 this.hbuttonbox
.Add(this.buttonRemove
);
84 Gtk
.ButtonBox
.ButtonBoxChild w4
= ((Gtk
.ButtonBox
.ButtonBoxChild
)(this.hbuttonbox
[this.buttonRemove
]));
88 this.vbox3
.Add(this.hbuttonbox
);
89 Gtk
.Box
.BoxChild w5
= ((Gtk
.Box
.BoxChild
)(this.vbox3
[this.hbuttonbox
]));
93 this.hpaned
.Add(this.vbox3
);
94 Gtk
.Paned
.PanedChild w6
= ((Gtk
.Paned
.PanedChild
)(this.hpaned
[this.vbox3
]));
96 // Container child hpaned.Gtk.Paned+PanedChild
97 this.columnSelecter
= new MonoDevelop
.Database
.Components
.SelectColumnWidget();
98 this.columnSelecter
.Sensitive
= false;
99 this.columnSelecter
.CanFocus
= true;
100 this.columnSelecter
.Name
= "columnSelecter";
101 this.columnSelecter
.ShadowType
= ((Gtk
.ShadowType
)(1));
102 this.columnSelecter
.SingleCheck
= false;
103 this.hpaned
.Add(this.columnSelecter
);
104 this.Add(this.hpaned
);
105 if ((this.Child
!= null)) {
106 this.Child
.ShowAll();
109 this.buttonAdd
.Clicked
+= new System
.EventHandler(this.AddClicked
);
110 this.buttonRemove
.Clicked
+= new System
.EventHandler(this.RemoveClicked
);