|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- // ------------------------------------------------------------------------------
- // <autogenerated>
- // This code was generated by a tool.
- // Mono Runtime Version: 2.0.50727.42
- //
- // Changes to this file may cause incorrect behavior and will be lost if
- // the code is regenerated.
- // </autogenerated>
- // ------------------------------------------------------------------------------
-
- namespace ThePimp {
-
-
- public partial class OpenFile {
-
- private Gtk.FileChooserWidget filechooserwidget1;
-
- private Gtk.Button buttonCancel;
-
- private Gtk.Button buttonOk;
-
- protected virtual void Build() {
- Stetic.Gui.Initialize(this);
- // Widget ThePimp.OpenFile
- this.Name = "ThePimp.OpenFile";
- this.Title = Mono.Unix.Catalog.GetString("Open File");
- this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_open", Gtk.IconSize.Menu, 16);
- this.TypeHint = ((Gdk.WindowTypeHint)(1));
- this.WindowPosition = ((Gtk.WindowPosition)(4));
- this.Modal = true;
- this.HasSeparator = false;
- // Internal child ThePimp.OpenFile.VBox
- Gtk.VBox w1 = this.VBox;
- w1.Name = "dialog1_VBox";
- w1.BorderWidth = ((uint)(2));
- // Container child dialog1_VBox.Gtk.Box+BoxChild
- this.filechooserwidget1 = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0)));
- this.filechooserwidget1.Name = "filechooserwidget1";
- w1.Add(this.filechooserwidget1);
- Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.filechooserwidget1]));
- w2.Position = 0;
- // Internal child ThePimp.OpenFile.ActionArea
- Gtk.HButtonBox w3 = this.ActionArea;
- w3.Name = "dialog1_ActionArea";
- w3.Spacing = 6;
- w3.BorderWidth = ((uint)(5));
- w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonCancel = new Gtk.Button();
- this.buttonCancel.CanDefault = true;
- this.buttonCancel.CanFocus = true;
- this.buttonCancel.Name = "buttonCancel";
- this.buttonCancel.UseStock = true;
- this.buttonCancel.UseUnderline = true;
- this.buttonCancel.Label = "gtk-cancel";
- this.AddActionWidget(this.buttonCancel, -6);
- Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel]));
- w4.Expand = false;
- w4.Fill = false;
- // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
- this.buttonOk = new Gtk.Button();
- this.buttonOk.CanDefault = true;
- this.buttonOk.CanFocus = true;
- this.buttonOk.Name = "buttonOk";
- this.buttonOk.UseStock = true;
- this.buttonOk.UseUnderline = true;
- this.buttonOk.Label = "gtk-ok";
- this.AddActionWidget(this.buttonOk, -5);
- Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
- w5.Position = 1;
- w5.Expand = false;
- w5.Fill = false;
- if ((this.Child != null)) {
- this.Child.ShowAll();
- }
- this.DefaultWidth = 640;
- this.DefaultHeight = 480;
- this.Show();
- this.filechooserwidget1.FileActivated += new System.EventHandler(this.OnFilechooserwidget1FileActivated);
- }
- }
- }
|