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 RequestTracker {
14
public partial class RTPrefs {
16
private Gtk.VBox vbox1;
18
private Gtk.Label label1;
20
private Gtk.HBox hbox1;
22
private Gtk.ScrolledWindow GtkScrolledWindow;
24
private Gtk.NodeView RTTree;
26
private Gtk.VButtonBox vbuttonbox1;
28
private Gtk.Button add_btn;
30
private Gtk.Button remove_btn;
32
protected virtual void Build() {
33
Stetic.Gui.Initialize(this);
34
// Widget RequestTracker.RTPrefs
35
Stetic.BinContainer.Attach(this);
36
this.Name = "RequestTracker.RTPrefs";
37
// Container child RequestTracker.RTPrefs.Gtk.Container+ContainerChild
38
this.vbox1 = new Gtk.VBox();
39
this.vbox1.Name = "vbox1";
40
this.vbox1.Spacing = 6;
41
// Container child vbox1.Gtk.Box+BoxChild
42
this.label1 = new Gtk.Label();
43
this.label1.Name = "label1";
44
this.label1.LabelProp = Mono.Unix.Catalog.GetString("Use the list below to add/configure your Request Tracker sites.\n\n<i>The ticket number will be inserted into the URL at the place specified by the string: {0}</i>");
45
this.label1.UseMarkup = true;
46
this.label1.Wrap = true;
47
this.label1.Justify = ((Gtk.Justification)(2));
48
this.vbox1.Add(this.label1);
49
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.label1]));
53
// Container child vbox1.Gtk.Box+BoxChild
54
this.hbox1 = new Gtk.HBox();
55
this.hbox1.Name = "hbox1";
56
this.hbox1.Spacing = 6;
57
// Container child hbox1.Gtk.Box+BoxChild
58
this.GtkScrolledWindow = new Gtk.ScrolledWindow();
59
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
60
this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
61
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
62
this.RTTree = new Gtk.NodeView();
63
this.RTTree.CanFocus = true;
64
this.RTTree.Name = "RTTree";
65
this.GtkScrolledWindow.Add(this.RTTree);
66
this.hbox1.Add(this.GtkScrolledWindow);
67
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
69
// Container child hbox1.Gtk.Box+BoxChild
70
this.vbuttonbox1 = new Gtk.VButtonBox();
71
this.vbuttonbox1.Name = "vbuttonbox1";
72
this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
73
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
74
this.add_btn = new Gtk.Button();
75
this.add_btn.CanFocus = true;
76
this.add_btn.Name = "add_btn";
77
this.add_btn.UseStock = true;
78
this.add_btn.UseUnderline = true;
79
this.add_btn.Label = "gtk-add";
80
this.vbuttonbox1.Add(this.add_btn);
81
Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.add_btn]));
84
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
85
this.remove_btn = new Gtk.Button();
86
this.remove_btn.CanFocus = true;
87
this.remove_btn.Name = "remove_btn";
88
this.remove_btn.UseStock = true;
89
this.remove_btn.UseUnderline = true;
90
this.remove_btn.Label = "gtk-remove";
91
this.vbuttonbox1.Add(this.remove_btn);
92
Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.remove_btn]));
96
this.hbox1.Add(this.vbuttonbox1);
97
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1]));
101
this.vbox1.Add(this.hbox1);
102
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
104
this.Add(this.vbox1);
105
if ((this.Child != null)) {
106
this.Child.ShowAll();
109
this.add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked);
110
this.remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked);