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 ThePimp { |
---|
12 | |
---|
13 | |
---|
14 | public partial class NewFile { |
---|
15 | |
---|
16 | private Gtk.VBox vbox2; |
---|
17 | |
---|
18 | private Gtk.ComboBox combobox1; |
---|
19 | |
---|
20 | private Gtk.Table table1; |
---|
21 | |
---|
22 | private Gtk.Entry entry1; |
---|
23 | |
---|
24 | private Gtk.Entry entry2; |
---|
25 | |
---|
26 | private Gtk.Label label1; |
---|
27 | |
---|
28 | private Gtk.Label label2; |
---|
29 | |
---|
30 | private Gtk.Label label3; |
---|
31 | |
---|
32 | private Gtk.Label label4; |
---|
33 | |
---|
34 | private Gtk.Button buttonCancel; |
---|
35 | |
---|
36 | private Gtk.Button buttonOk; |
---|
37 | |
---|
38 | protected virtual void Build() { |
---|
39 | Stetic.Gui.Initialize(this); |
---|
40 | // Widget ThePimp.NewFile |
---|
41 | this.Name = "ThePimp.NewFile"; |
---|
42 | this.Title = Mono.Unix.Catalog.GetString("New Image"); |
---|
43 | this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); |
---|
44 | this.WindowPosition = ((Gtk.WindowPosition)(4)); |
---|
45 | this.HasSeparator = false; |
---|
46 | // Internal child ThePimp.NewFile.VBox |
---|
47 | Gtk.VBox w1 = this.VBox; |
---|
48 | w1.Name = "dialog1_VBox"; |
---|
49 | w1.BorderWidth = ((uint)(2)); |
---|
50 | // Container child dialog1_VBox.Gtk.Box+BoxChild |
---|
51 | this.vbox2 = new Gtk.VBox(); |
---|
52 | this.vbox2.Name = "vbox2"; |
---|
53 | this.vbox2.Spacing = 6; |
---|
54 | this.vbox2.BorderWidth = ((uint)(5)); |
---|
55 | // Container child vbox2.Gtk.Box+BoxChild |
---|
56 | this.combobox1 = Gtk.ComboBox.NewText(); |
---|
57 | this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Random Noise")); |
---|
58 | this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Bayer Dithering Pattern")); |
---|
59 | this.combobox1.Name = "combobox1"; |
---|
60 | this.combobox1.Active = 0; |
---|
61 | this.vbox2.Add(this.combobox1); |
---|
62 | Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.combobox1])); |
---|
63 | w2.Position = 0; |
---|
64 | w2.Expand = false; |
---|
65 | w2.Fill = false; |
---|
66 | // Container child vbox2.Gtk.Box+BoxChild |
---|
67 | this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); |
---|
68 | this.table1.Name = "table1"; |
---|
69 | this.table1.RowSpacing = ((uint)(6)); |
---|
70 | this.table1.ColumnSpacing = ((uint)(6)); |
---|
71 | // Container child table1.Gtk.Table+TableChild |
---|
72 | this.entry1 = new Gtk.Entry(); |
---|
73 | this.entry1.CanFocus = true; |
---|
74 | this.entry1.Name = "entry1"; |
---|
75 | this.entry1.Text = Mono.Unix.Catalog.GetString("1024"); |
---|
76 | this.entry1.IsEditable = true; |
---|
77 | this.entry1.WidthChars = 6; |
---|
78 | this.entry1.InvisibleChar = 'x'; |
---|
79 | this.entry1.Xalign = 1F; |
---|
80 | this.table1.Add(this.entry1); |
---|
81 | Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.entry1])); |
---|
82 | w3.LeftAttach = ((uint)(1)); |
---|
83 | w3.RightAttach = ((uint)(2)); |
---|
84 | w3.XOptions = ((Gtk.AttachOptions)(4)); |
---|
85 | w3.YOptions = ((Gtk.AttachOptions)(4)); |
---|
86 | // Container child table1.Gtk.Table+TableChild |
---|
87 | this.entry2 = new Gtk.Entry(); |
---|
88 | this.entry2.CanFocus = true; |
---|
89 | this.entry2.Name = "entry2"; |
---|
90 | this.entry2.Text = Mono.Unix.Catalog.GetString("768"); |
---|
91 | this.entry2.IsEditable = true; |
---|
92 | this.entry2.WidthChars = 6; |
---|
93 | this.entry2.InvisibleChar = 'x'; |
---|
94 | this.entry2.Xalign = 1F; |
---|
95 | this.table1.Add(this.entry2); |
---|
96 | Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.entry2])); |
---|
97 | w4.TopAttach = ((uint)(1)); |
---|
98 | w4.BottomAttach = ((uint)(2)); |
---|
99 | w4.LeftAttach = ((uint)(1)); |
---|
100 | w4.RightAttach = ((uint)(2)); |
---|
101 | w4.XOptions = ((Gtk.AttachOptions)(4)); |
---|
102 | w4.YOptions = ((Gtk.AttachOptions)(4)); |
---|
103 | // Container child table1.Gtk.Table+TableChild |
---|
104 | this.label1 = new Gtk.Label(); |
---|
105 | this.label1.Name = "label1"; |
---|
106 | this.label1.LabelProp = Mono.Unix.Catalog.GetString("px"); |
---|
107 | this.table1.Add(this.label1); |
---|
108 | Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label1])); |
---|
109 | w5.LeftAttach = ((uint)(2)); |
---|
110 | w5.RightAttach = ((uint)(3)); |
---|
111 | w5.XOptions = ((Gtk.AttachOptions)(4)); |
---|
112 | w5.YOptions = ((Gtk.AttachOptions)(4)); |
---|
113 | // Container child table1.Gtk.Table+TableChild |
---|
114 | this.label2 = new Gtk.Label(); |
---|
115 | this.label2.Name = "label2"; |
---|
116 | this.label2.LabelProp = Mono.Unix.Catalog.GetString("px"); |
---|
117 | this.table1.Add(this.label2); |
---|
118 | Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label2])); |
---|
119 | w6.TopAttach = ((uint)(1)); |
---|
120 | w6.BottomAttach = ((uint)(2)); |
---|
121 | w6.LeftAttach = ((uint)(2)); |
---|
122 | w6.RightAttach = ((uint)(3)); |
---|
123 | w6.XOptions = ((Gtk.AttachOptions)(4)); |
---|
124 | w6.YOptions = ((Gtk.AttachOptions)(4)); |
---|
125 | // Container child table1.Gtk.Table+TableChild |
---|
126 | this.label3 = new Gtk.Label(); |
---|
127 | this.label3.Name = "label3"; |
---|
128 | this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width"); |
---|
129 | this.label3.Justify = ((Gtk.Justification)(1)); |
---|
130 | this.table1.Add(this.label3); |
---|
131 | Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label3])); |
---|
132 | w7.XOptions = ((Gtk.AttachOptions)(0)); |
---|
133 | w7.YOptions = ((Gtk.AttachOptions)(4)); |
---|
134 | // Container child table1.Gtk.Table+TableChild |
---|
135 | this.label4 = new Gtk.Label(); |
---|
136 | this.label4.Name = "label4"; |
---|
137 | this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height"); |
---|
138 | this.label4.Justify = ((Gtk.Justification)(1)); |
---|
139 | this.table1.Add(this.label4); |
---|
140 | Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label4])); |
---|
141 | w8.TopAttach = ((uint)(1)); |
---|
142 | w8.BottomAttach = ((uint)(2)); |
---|
143 | w8.XOptions = ((Gtk.AttachOptions)(0)); |
---|
144 | w8.YOptions = ((Gtk.AttachOptions)(4)); |
---|
145 | this.vbox2.Add(this.table1); |
---|
146 | Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1])); |
---|
147 | w9.Position = 1; |
---|
148 | w9.Expand = false; |
---|
149 | w9.Fill = false; |
---|
150 | w1.Add(this.vbox2); |
---|
151 | Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); |
---|
152 | w10.Position = 0; |
---|
153 | w10.Expand = false; |
---|
154 | w10.Fill = false; |
---|
155 | // Internal child ThePimp.NewFile.ActionArea |
---|
156 | Gtk.HButtonBox w11 = this.ActionArea; |
---|
157 | w11.Name = "dialog1_ActionArea"; |
---|
158 | w11.Spacing = 6; |
---|
159 | w11.BorderWidth = ((uint)(5)); |
---|
160 | w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); |
---|
161 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
162 | this.buttonCancel = new Gtk.Button(); |
---|
163 | this.buttonCancel.CanDefault = true; |
---|
164 | this.buttonCancel.CanFocus = true; |
---|
165 | this.buttonCancel.Name = "buttonCancel"; |
---|
166 | this.buttonCancel.UseStock = true; |
---|
167 | this.buttonCancel.UseUnderline = true; |
---|
168 | this.buttonCancel.Label = "gtk-cancel"; |
---|
169 | this.AddActionWidget(this.buttonCancel, -6); |
---|
170 | Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel])); |
---|
171 | w12.Expand = false; |
---|
172 | w12.Fill = false; |
---|
173 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
174 | this.buttonOk = new Gtk.Button(); |
---|
175 | this.buttonOk.CanDefault = true; |
---|
176 | this.buttonOk.CanFocus = true; |
---|
177 | this.buttonOk.Name = "buttonOk"; |
---|
178 | this.buttonOk.UseStock = true; |
---|
179 | this.buttonOk.UseUnderline = true; |
---|
180 | this.buttonOk.Label = "gtk-ok"; |
---|
181 | this.AddActionWidget(this.buttonOk, -5); |
---|
182 | Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk])); |
---|
183 | w13.Position = 1; |
---|
184 | w13.Expand = false; |
---|
185 | w13.Fill = false; |
---|
186 | if ((this.Child != null)) { |
---|
187 | this.Child.ShowAll(); |
---|
188 | } |
---|
189 | this.DefaultWidth = 400; |
---|
190 | this.DefaultHeight = 300; |
---|
191 | this.Show(); |
---|
192 | } |
---|
193 | } |
---|
194 | } |
---|