source: libpipi/trunk/ThePimp/gtk-gui/ThePimp.ErrorWindow.cs @ 2927

Last change on this file since 2927 was 2927, checked in by Sam Hocevar, 13 years ago

Update the Monodevelop projects.

File size: 3.7 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 ErrorWindow {
15       
16        private Gtk.HBox hbox1;
17       
18        private Gtk.Image image1;
19       
20        private Gtk.Label message;
21       
22        private Gtk.Button buttonOk;
23       
24        protected virtual void Build() {
25            Stetic.Gui.Initialize(this);
26            // Widget ThePimp.ErrorWindow
27            this.Name = "ThePimp.ErrorWindow";
28            this.Title = Mono.Unix.Catalog.GetString("Error");
29            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Menu, 16);
30            this.WindowPosition = ((Gtk.WindowPosition)(4));
31            this.HasSeparator = false;
32            // Internal child ThePimp.ErrorWindow.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.hbox1 = new Gtk.HBox();
38            this.hbox1.Name = "hbox1";
39            this.hbox1.Spacing = 20;
40            this.hbox1.BorderWidth = ((uint)(10));
41            // Container child hbox1.Gtk.Box+BoxChild
42            this.image1 = new Gtk.Image();
43            this.image1.Name = "image1";
44            this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Dialog, 48);
45            this.hbox1.Add(this.image1);
46            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image1]));
47            w2.Position = 0;
48            w2.Expand = false;
49            w2.Fill = false;
50            // Container child hbox1.Gtk.Box+BoxChild
51            this.message = new Gtk.Label();
52            this.message.Name = "message";
53            this.message.LabelProp = Mono.Unix.Catalog.GetString("Error!");
54            this.message.Wrap = true;
55            this.hbox1.Add(this.message);
56            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.message]));
57            w3.Position = 1;
58            w3.Expand = false;
59            w1.Add(this.hbox1);
60            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
61            w4.Position = 0;
62            w4.Fill = false;
63            // Internal child ThePimp.ErrorWindow.ActionArea
64            Gtk.HButtonBox w5 = this.ActionArea;
65            w5.Name = "dialog1_ActionArea";
66            w5.Spacing = 6;
67            w5.BorderWidth = ((uint)(5));
68            w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
69            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
70            this.buttonOk = new Gtk.Button();
71            this.buttonOk.CanDefault = true;
72            this.buttonOk.CanFocus = true;
73            this.buttonOk.Name = "buttonOk";
74            this.buttonOk.UseStock = true;
75            this.buttonOk.UseUnderline = true;
76            this.buttonOk.Label = "gtk-ok";
77            this.AddActionWidget(this.buttonOk, -5);
78            Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
79            w6.Expand = false;
80            w6.Fill = false;
81            if ((this.Child != null)) {
82                this.Child.ShowAll();
83            }
84            this.DefaultWidth = 229;
85            this.DefaultHeight = 133;
86            this.Show();
87            this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked);
88        }
89    }
90}
Note: See TracBrowser for help on using the repository browser.