~greg-johnston/do-plugins/quodlibet

« back to all changes in this revision

Viewing changes to Confluence/gtk-gui/Confluence.ConfluenceConfigWidget.cs

  • Committer: Alex Launi
  • Date: 2008-09-18 04:24:25 UTC
  • mfrom: (42.1.2 gnome-do-confluence)
  • Revision ID: alex@eriktorvaldsonn-20080918042425-loqyfw6nmce0mep0
Approved  merge from confluence branch

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 Confluence {
 
12
    
 
13
    
 
14
    public partial class ConfluenceConfigWidget {
 
15
        
 
16
        private Gtk.Table table1;
 
17
        
 
18
        private Gtk.Entry _entryBaseUrl;
 
19
        
 
20
        private Gtk.Entry _entryMaxSearchResults;
 
21
        
 
22
        private Gtk.Entry _entryPassword;
 
23
        
 
24
        private Gtk.Entry _entryUsername;
 
25
        
 
26
        private Gtk.Label _labelBaseUrl;
 
27
        
 
28
        private Gtk.Label _labelBaseUrl1;
 
29
        
 
30
        private Gtk.Label _labelMaxSearchResults;
 
31
        
 
32
        private Gtk.Label _labelPassword;
 
33
        
 
34
        private Gtk.Label _labelUsername;
 
35
        
 
36
        private Gtk.Button _saveButton;
 
37
        
 
38
        protected virtual void Build() {
 
39
            Stetic.Gui.Initialize(this);
 
40
            // Widget Confluence.ConfluenceConfigWidget
 
41
            Stetic.BinContainer.Attach(this);
 
42
            this.Name = "Confluence.ConfluenceConfigWidget";
 
43
            // Container child Confluence.ConfluenceConfigWidget.Gtk.Container+ContainerChild
 
44
            this.table1 = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
 
45
            this.table1.Name = "table1";
 
46
            this.table1.RowSpacing = ((uint)(6));
 
47
            this.table1.ColumnSpacing = ((uint)(6));
 
48
            // Container child table1.Gtk.Table+TableChild
 
49
            this._entryBaseUrl = new Gtk.Entry();
 
50
            Gtk.Tooltips w1 = new Gtk.Tooltips();
 
51
            w1.SetTip(this._entryBaseUrl, "The base url location to your Confluence install. ie. http://opensource.atlassian.com/confluence/spring", "The base url location to your Confluence install. ie. http://opensource.atlassian.com/confluence/spring");
 
52
            this._entryBaseUrl.CanFocus = true;
 
53
            this._entryBaseUrl.Name = "_entryBaseUrl";
 
54
            this._entryBaseUrl.Text = Mono.Unix.Catalog.GetString("http://opensource.atlassian.com/confluence/spring");
 
55
            this._entryBaseUrl.IsEditable = true;
 
56
            this._entryBaseUrl.WidthChars = 40;
 
57
            this._entryBaseUrl.InvisibleChar = '●';
 
58
            this.table1.Add(this._entryBaseUrl);
 
59
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this._entryBaseUrl]));
 
60
            w2.LeftAttach = ((uint)(1));
 
61
            w2.RightAttach = ((uint)(2));
 
62
            w2.XOptions = ((Gtk.AttachOptions)(4));
 
63
            w2.YOptions = ((Gtk.AttachOptions)(4));
 
64
            // Container child table1.Gtk.Table+TableChild
 
65
            this._entryMaxSearchResults = new Gtk.Entry();
 
66
            this._entryMaxSearchResults.CanFocus = true;
 
67
            this._entryMaxSearchResults.Name = "_entryMaxSearchResults";
 
68
            this._entryMaxSearchResults.IsEditable = true;
 
69
            this._entryMaxSearchResults.InvisibleChar = '●';
 
70
            this.table1.Add(this._entryMaxSearchResults);
 
71
            Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this._entryMaxSearchResults]));
 
72
            w3.TopAttach = ((uint)(3));
 
73
            w3.BottomAttach = ((uint)(4));
 
74
            w3.LeftAttach = ((uint)(1));
 
75
            w3.RightAttach = ((uint)(2));
 
76
            w3.XOptions = ((Gtk.AttachOptions)(4));
 
77
            w3.YOptions = ((Gtk.AttachOptions)(4));
 
78
            // Container child table1.Gtk.Table+TableChild
 
79
            this._entryPassword = new Gtk.Entry();
 
80
            this._entryPassword.CanFocus = true;
 
81
            this._entryPassword.Name = "_entryPassword";
 
82
            this._entryPassword.IsEditable = true;
 
83
            this._entryPassword.Visibility = false;
 
84
            this._entryPassword.InvisibleChar = '●';
 
85
            this.table1.Add(this._entryPassword);
 
86
            Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this._entryPassword]));
 
87
            w4.TopAttach = ((uint)(2));
 
88
            w4.BottomAttach = ((uint)(3));
 
89
            w4.LeftAttach = ((uint)(1));
 
90
            w4.RightAttach = ((uint)(2));
 
91
            w4.XOptions = ((Gtk.AttachOptions)(4));
 
92
            w4.YOptions = ((Gtk.AttachOptions)(4));
 
93
            // Container child table1.Gtk.Table+TableChild
 
94
            this._entryUsername = new Gtk.Entry();
 
95
            this._entryUsername.CanFocus = true;
 
96
            this._entryUsername.Name = "_entryUsername";
 
97
            this._entryUsername.Text = Mono.Unix.Catalog.GetString("username1");
 
98
            this._entryUsername.IsEditable = true;
 
99
            this._entryUsername.InvisibleChar = '●';
 
100
            this.table1.Add(this._entryUsername);
 
101
            Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this._entryUsername]));
 
102
            w5.TopAttach = ((uint)(1));
 
103
            w5.BottomAttach = ((uint)(2));
 
104
            w5.LeftAttach = ((uint)(1));
 
105
            w5.RightAttach = ((uint)(2));
 
106
            w5.XOptions = ((Gtk.AttachOptions)(4));
 
107
            w5.YOptions = ((Gtk.AttachOptions)(4));
 
108
            // Container child table1.Gtk.Table+TableChild
 
109
            this._labelBaseUrl = new Gtk.Label();
 
110
            this._labelBaseUrl.Name = "_labelBaseUrl";
 
111
            this._labelBaseUrl.LabelProp = "* denotes a required field";
 
112
            this.table1.Add(this._labelBaseUrl);
 
113
            Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this._labelBaseUrl]));
 
114
            w6.TopAttach = ((uint)(5));
 
115
            w6.BottomAttach = ((uint)(6));
 
116
            w6.LeftAttach = ((uint)(1));
 
117
            w6.RightAttach = ((uint)(2));
 
118
            w6.XOptions = ((Gtk.AttachOptions)(4));
 
119
            w6.YOptions = ((Gtk.AttachOptions)(4));
 
120
            // Container child table1.Gtk.Table+TableChild
 
121
            this._labelBaseUrl1 = new Gtk.Label();
 
122
            this._labelBaseUrl1.Name = "_labelBaseUrl1";
 
123
            this._labelBaseUrl1.LabelProp = "Base Url*";
 
124
            this.table1.Add(this._labelBaseUrl1);
 
125
            Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this._labelBaseUrl1]));
 
126
            w7.XOptions = ((Gtk.AttachOptions)(4));
 
127
            w7.YOptions = ((Gtk.AttachOptions)(4));
 
128
            // Container child table1.Gtk.Table+TableChild
 
129
            this._labelMaxSearchResults = new Gtk.Label();
 
130
            this._labelMaxSearchResults.Name = "_labelMaxSearchResults";
 
131
            this._labelMaxSearchResults.LabelProp = "Max Search Results";
 
132
            this.table1.Add(this._labelMaxSearchResults);
 
133
            Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this._labelMaxSearchResults]));
 
134
            w8.TopAttach = ((uint)(3));
 
135
            w8.BottomAttach = ((uint)(4));
 
136
            w8.XOptions = ((Gtk.AttachOptions)(4));
 
137
            w8.YOptions = ((Gtk.AttachOptions)(4));
 
138
            // Container child table1.Gtk.Table+TableChild
 
139
            this._labelPassword = new Gtk.Label();
 
140
            this._labelPassword.Name = "_labelPassword";
 
141
            this._labelPassword.LabelProp = "Password";
 
142
            this.table1.Add(this._labelPassword);
 
143
            Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this._labelPassword]));
 
144
            w9.TopAttach = ((uint)(2));
 
145
            w9.BottomAttach = ((uint)(3));
 
146
            w9.XOptions = ((Gtk.AttachOptions)(4));
 
147
            w9.YOptions = ((Gtk.AttachOptions)(4));
 
148
            // Container child table1.Gtk.Table+TableChild
 
149
            this._labelUsername = new Gtk.Label();
 
150
            this._labelUsername.Name = "_labelUsername";
 
151
            this._labelUsername.LabelProp = "Username";
 
152
            this.table1.Add(this._labelUsername);
 
153
            Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this._labelUsername]));
 
154
            w10.TopAttach = ((uint)(1));
 
155
            w10.BottomAttach = ((uint)(2));
 
156
            w10.XOptions = ((Gtk.AttachOptions)(4));
 
157
            w10.YOptions = ((Gtk.AttachOptions)(4));
 
158
            // Container child table1.Gtk.Table+TableChild
 
159
            this._saveButton = new Gtk.Button();
 
160
            this._saveButton.CanFocus = true;
 
161
            this._saveButton.Name = "_saveButton";
 
162
            this._saveButton.UseUnderline = true;
 
163
            this._saveButton.Xalign = 0F;
 
164
            this._saveButton.Label = "Save";
 
165
            this.table1.Add(this._saveButton);
 
166
            Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this._saveButton]));
 
167
            w11.TopAttach = ((uint)(4));
 
168
            w11.BottomAttach = ((uint)(5));
 
169
            w11.LeftAttach = ((uint)(1));
 
170
            w11.RightAttach = ((uint)(2));
 
171
            w11.XOptions = ((Gtk.AttachOptions)(0));
 
172
            w11.YOptions = ((Gtk.AttachOptions)(4));
 
173
            this.Add(this.table1);
 
174
            if ((this.Child != null)) {
 
175
                this.Child.ShowAll();
 
176
            }
 
177
            this.Show();
 
178
            this._saveButton.Released += new System.EventHandler(this.OnSaveButtonReleased);
 
179
        }
 
180
    }
 
181
}