File: MonoDevelop.Database.Designer.CheckConstraintEditorWidget.cs

package info (click to toggle)
monodevelop-database 2.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,156 kB
  • ctags: 4,150
  • sloc: cs: 25,982; xml: 4,061; makefile: 840; sh: 646
file content (124 lines) | stat: -rw-r--r-- 4,920 bytes parent folder | download | duplicates (3)
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

// This file has been generated by the GUI designer. Do not modify.
namespace MonoDevelop.Database.Designer
{
	public partial class CheckConstraintEditorWidget
	{
		private global::Gtk.VPaned vpaned;

		private global::Gtk.HBox hbox;

		private global::Gtk.ScrolledWindow windowCheck;

		private global::Gtk.TreeView listCheck;

		private global::Gtk.VButtonBox vbuttonbox;

		private global::Gtk.Button buttonAdd;

		private global::Gtk.Button buttonRemove;

		private global::Gtk.Frame frame;

		private global::Gtk.Alignment alignment;

		private global::MonoDevelop.Database.Components.SqlEditorWidget sqlEditor;

		private global::Gtk.Label GtkLabel2;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoDevelop.Database.Designer.CheckConstraintEditorWidget
			global::Stetic.BinContainer.Attach (this);
			this.Name = "MonoDevelop.Database.Designer.CheckConstraintEditorWidget";
			// Container child MonoDevelop.Database.Designer.CheckConstraintEditorWidget.Gtk.Container+ContainerChild
			this.vpaned = new global::Gtk.VPaned ();
			this.vpaned.CanFocus = true;
			this.vpaned.Name = "vpaned";
			this.vpaned.Position = 189;
			// Container child vpaned.Gtk.Paned+PanedChild
			this.hbox = new global::Gtk.HBox ();
			this.hbox.Name = "hbox";
			this.hbox.Spacing = 6;
			// Container child hbox.Gtk.Box+BoxChild
			this.windowCheck = new global::Gtk.ScrolledWindow ();
			this.windowCheck.CanFocus = true;
			this.windowCheck.Name = "windowCheck";
			this.windowCheck.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child windowCheck.Gtk.Container+ContainerChild
			this.listCheck = new global::Gtk.TreeView ();
			this.listCheck.CanFocus = true;
			this.listCheck.Name = "listCheck";
			this.windowCheck.Add (this.listCheck);
			this.hbox.Add (this.windowCheck);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowCheck]));
			w2.Position = 0;
			// Container child hbox.Gtk.Box+BoxChild
			this.vbuttonbox = new global::Gtk.VButtonBox ();
			this.vbuttonbox.Name = "vbuttonbox";
			this.vbuttonbox.Spacing = 6;
			this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
			// Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
			this.buttonAdd = new global::Gtk.Button ();
			this.buttonAdd.CanFocus = true;
			this.buttonAdd.Name = "buttonAdd";
			this.buttonAdd.UseStock = true;
			this.buttonAdd.UseUnderline = true;
			this.buttonAdd.Label = "gtk-add";
			this.vbuttonbox.Add (this.buttonAdd);
			global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd]));
			w3.Expand = false;
			w3.Fill = false;
			// Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
			this.buttonRemove = new global::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.vbuttonbox.Add (this.buttonRemove);
			global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove]));
			w4.Position = 1;
			w4.Expand = false;
			w4.Fill = false;
			this.hbox.Add (this.vbuttonbox);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox]));
			w5.Position = 1;
			w5.Expand = false;
			w5.Fill = false;
			this.vpaned.Add (this.hbox);
			global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox]));
			w6.Resize = false;
			// Container child vpaned.Gtk.Paned+PanedChild
			this.frame = new global::Gtk.Frame ();
			this.frame.Name = "frame";
			this.frame.ShadowType = ((global::Gtk.ShadowType)(0));
			// Container child frame.Gtk.Container+ContainerChild
			this.alignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
			this.alignment.Name = "alignment";
			this.alignment.LeftPadding = ((uint)(12));
			// Container child alignment.Gtk.Container+ContainerChild
			this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget ();
			this.sqlEditor.Events = ((global::Gdk.EventMask)(256));
			this.sqlEditor.Name = "sqlEditor";
			this.sqlEditor.Editable = false;
			this.alignment.Add (this.sqlEditor);
			this.frame.Add (this.alignment);
			this.GtkLabel2 = new global::Gtk.Label ();
			this.GtkLabel2.Name = "GtkLabel2";
			this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Check Condition");
			this.GtkLabel2.UseMarkup = true;
			this.frame.LabelWidget = this.GtkLabel2;
			this.vpaned.Add (this.frame);
			this.Add (this.vpaned);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.Show ();
			this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked);
			this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked);
		}
	}
}