source: libpipi/trunk/ThePimp/gtk-gui/ThePimp.AboutWindow.cs @ 2885

Last change on this file since 2885 was 2885, checked in by Sam Hocevar, 15 years ago

ThePimp?: creating the BEST FUCKING ABOUT BOX IN THE WORLD!

File size: 4.2 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 AboutWindow {
15       
16        private Gtk.VBox vbox2;
17       
18        private Gtk.HBox hbox1;
19       
20        private Gtk.VBox vbox3;
21       
22        private Gtk.Button buttonLink;
23       
24        private Gtk.Label link;
25       
26        private Gtk.Button buttonClose;
27       
28        protected virtual void Build() {
29            Stetic.Gui.Initialize(this);
30            // Widget ThePimp.AboutWindow
31            this.Name = "ThePimp.AboutWindow";
32            this.Title = Mono.Unix.Catalog.GetString("About The Pimp");
33            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-about", Gtk.IconSize.Menu, 16);
34            this.TypeHint = ((Gdk.WindowTypeHint)(1));
35            this.WindowPosition = ((Gtk.WindowPosition)(4));
36            this.Modal = true;
37            this.DefaultWidth = 450;
38            this.DefaultHeight = 300;
39            // Container child ThePimp.AboutWindow.Gtk.Container+ContainerChild
40            this.vbox2 = new Gtk.VBox();
41            this.vbox2.Name = "vbox2";
42            // Container child vbox2.Gtk.Box+BoxChild
43            this.hbox1 = new Gtk.HBox();
44            this.hbox1.Name = "hbox1";
45            // Container child hbox1.Gtk.Box+BoxChild
46            this.vbox3 = new Gtk.VBox();
47            this.vbox3.Name = "vbox3";
48            this.vbox3.BorderWidth = ((uint)(10));
49            // Container child vbox3.Gtk.Box+BoxChild
50            this.buttonLink = new Gtk.Button();
51            this.buttonLink.CanFocus = true;
52            this.buttonLink.Name = "buttonLink";
53            this.buttonLink.FocusOnClick = false;
54            this.buttonLink.Relief = ((Gtk.ReliefStyle)(2));
55            // Container child buttonLink.Gtk.Container+ContainerChild
56            this.link = new Gtk.Label();
57            this.link.Name = "link";
58            this.link.LabelProp = Mono.Unix.Catalog.GetString("<span color=\"blue\"><u><b>http://caca.zoy.org/wiki/thepimp</b></u></span>");
59            this.link.UseMarkup = true;
60            this.link.UseUnderline = true;
61            this.buttonLink.Add(this.link);
62            this.buttonLink.Label = null;
63            this.vbox3.Add(this.buttonLink);
64            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.buttonLink]));
65            w2.PackType = ((Gtk.PackType)(1));
66            w2.Position = 1;
67            w2.Expand = false;
68            w2.Fill = false;
69            this.hbox1.Add(this.vbox3);
70            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
71            w3.Position = 0;
72            w3.Fill = false;
73            // Container child hbox1.Gtk.Box+BoxChild
74            this.buttonClose = new Gtk.Button();
75            this.buttonClose.CanDefault = true;
76            this.buttonClose.CanFocus = true;
77            this.buttonClose.Name = "buttonClose";
78            this.buttonClose.UseStock = true;
79            this.buttonClose.UseUnderline = true;
80            this.buttonClose.BorderWidth = ((uint)(10));
81            this.buttonClose.Label = "gtk-close";
82            this.hbox1.Add(this.buttonClose);
83            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonClose]));
84            w4.PackType = ((Gtk.PackType)(1));
85            w4.Position = 1;
86            w4.Expand = false;
87            this.vbox2.Add(this.hbox1);
88            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
89            w5.PackType = ((Gtk.PackType)(1));
90            w5.Position = 1;
91            w5.Expand = false;
92            w5.Fill = false;
93            this.Add(this.vbox2);
94            if ((this.Child != null)) {
95                this.Child.ShowAll();
96            }
97            this.buttonClose.HasDefault = true;
98            this.Show();
99            this.buttonLink.Clicked += new System.EventHandler(this.OnButtonLinkClicked);
100            this.buttonClose.Clicked += new System.EventHandler(this.OnButtonCloseClicked);
101        }
102    }
103}
Note: See TracBrowser for help on using the repository browser.