source: libpipi/trunk/ThePimp/gtk-gui/ThePimp.SaveFile.cs @ 3099

Last change on this file since 3099 was 3099, checked in by Sam Hocevar, 14 years ago

ThePimp?: double-clicking in the file dialogs opens or saves directly.

File size: 3.4 KB
Line 
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
11namespace ThePimp {
12   
13   
14    public partial class SaveFile {
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.SaveFile
25            this.Name = "ThePimp.SaveFile";
26            this.Title = Mono.Unix.Catalog.GetString("Save File");
27            this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_save", Gtk.IconSize.Menu, 16);
28            this.WindowPosition = ((Gtk.WindowPosition)(4));
29            this.HasSeparator = false;
30            // Internal child ThePimp.SaveFile.VBox
31            Gtk.VBox w1 = this.VBox;
32            w1.Name = "dialog1_VBox";
33            w1.BorderWidth = ((uint)(2));
34            // Container child dialog1_VBox.Gtk.Box+BoxChild
35            this.filechooserwidget1 = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1)));
36            this.filechooserwidget1.Name = "filechooserwidget1";
37            w1.Add(this.filechooserwidget1);
38            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.filechooserwidget1]));
39            w2.Position = 0;
40            // Internal child ThePimp.SaveFile.ActionArea
41            Gtk.HButtonBox w3 = this.ActionArea;
42            w3.Name = "dialog1_ActionArea";
43            w3.Spacing = 6;
44            w3.BorderWidth = ((uint)(5));
45            w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
46            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
47            this.buttonCancel = new Gtk.Button();
48            this.buttonCancel.CanDefault = true;
49            this.buttonCancel.CanFocus = true;
50            this.buttonCancel.Name = "buttonCancel";
51            this.buttonCancel.UseStock = true;
52            this.buttonCancel.UseUnderline = true;
53            this.buttonCancel.Label = "gtk-cancel";
54            this.AddActionWidget(this.buttonCancel, -6);
55            Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
56            w4.Expand = false;
57            w4.Fill = false;
58            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
59            this.buttonOk = new Gtk.Button();
60            this.buttonOk.CanDefault = true;
61            this.buttonOk.CanFocus = true;
62            this.buttonOk.Name = "buttonOk";
63            this.buttonOk.UseStock = true;
64            this.buttonOk.UseUnderline = true;
65            this.buttonOk.Label = "gtk-ok";
66            this.AddActionWidget(this.buttonOk, -5);
67            Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
68            w5.Position = 1;
69            w5.Expand = false;
70            w5.Fill = false;
71            if ((this.Child != null)) {
72                this.Child.ShowAll();
73            }
74            this.DefaultWidth = 640;
75            this.DefaultHeight = 480;
76            this.Show();
77            this.filechooserwidget1.FileActivated += new System.EventHandler(this.OnFilechooserwidget1FileActivated);
78        }
79    }
80}
Note: See TracBrowser for help on using the repository browser.