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 OpenFile { |
---|
15 | |
---|
16 | private Gtk.FileChooserWidget filechooserwidget1; |
---|
17 | |
---|
18 | private Gtk.Button buttonCancel; |
---|
19 | |
---|
20 | private Gtk.Button buttonOk; |
---|
21 | |
---|
22 | protected virtual void Build() { |
---|
23 | Stetic.Gui.Initialize(this); |
---|
24 | // Widget ThePimp.OpenFile |
---|
25 | this.Name = "ThePimp.OpenFile"; |
---|
26 | this.Title = Mono.Unix.Catalog.GetString("Open File"); |
---|
27 | this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_open", Gtk.IconSize.Menu, 16); |
---|
28 | this.TypeHint = ((Gdk.WindowTypeHint)(1)); |
---|
29 | this.WindowPosition = ((Gtk.WindowPosition)(4)); |
---|
30 | this.Modal = true; |
---|
31 | this.HasSeparator = false; |
---|
32 | // Internal child ThePimp.OpenFile.VBox |
---|
33 | Gtk.VBox w1 = this.VBox; |
---|
34 | w1.Name = "dialog1_VBox"; |
---|
35 | w1.BorderWidth = ((uint)(2)); |
---|
36 | // Container child dialog1_VBox.Gtk.Box+BoxChild |
---|
37 | this.filechooserwidget1 = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); |
---|
38 | this.filechooserwidget1.Name = "filechooserwidget1"; |
---|
39 | w1.Add(this.filechooserwidget1); |
---|
40 | Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.filechooserwidget1])); |
---|
41 | w2.Position = 0; |
---|
42 | // Internal child ThePimp.OpenFile.ActionArea |
---|
43 | Gtk.HButtonBox w3 = this.ActionArea; |
---|
44 | w3.Name = "dialog1_ActionArea"; |
---|
45 | w3.Spacing = 6; |
---|
46 | w3.BorderWidth = ((uint)(5)); |
---|
47 | w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); |
---|
48 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
49 | this.buttonCancel = new Gtk.Button(); |
---|
50 | this.buttonCancel.CanDefault = true; |
---|
51 | this.buttonCancel.CanFocus = true; |
---|
52 | this.buttonCancel.Name = "buttonCancel"; |
---|
53 | this.buttonCancel.UseStock = true; |
---|
54 | this.buttonCancel.UseUnderline = true; |
---|
55 | this.buttonCancel.Label = "gtk-cancel"; |
---|
56 | this.AddActionWidget(this.buttonCancel, -6); |
---|
57 | Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); |
---|
58 | w4.Expand = false; |
---|
59 | w4.Fill = false; |
---|
60 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
61 | this.buttonOk = new Gtk.Button(); |
---|
62 | this.buttonOk.CanDefault = true; |
---|
63 | this.buttonOk.CanFocus = true; |
---|
64 | this.buttonOk.Name = "buttonOk"; |
---|
65 | this.buttonOk.UseStock = true; |
---|
66 | this.buttonOk.UseUnderline = true; |
---|
67 | this.buttonOk.Label = "gtk-ok"; |
---|
68 | this.AddActionWidget(this.buttonOk, -5); |
---|
69 | Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); |
---|
70 | w5.Position = 1; |
---|
71 | w5.Expand = false; |
---|
72 | w5.Fill = false; |
---|
73 | if ((this.Child != null)) { |
---|
74 | this.Child.ShowAll(); |
---|
75 | } |
---|
76 | this.DefaultWidth = 640; |
---|
77 | this.DefaultHeight = 480; |
---|
78 | this.Show(); |
---|
79 | this.filechooserwidget1.FileActivated += new System.EventHandler(this.OnFilechooserwidget1FileActivated); |
---|
80 | } |
---|
81 | } |
---|
82 | } |
---|