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

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

ThePimp?: use spinbuttons instead of text areas for image dimensions.
ThePimp?: "Esc" now exits the about box.

File size: 4.3 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)(3));
36            this.Modal = true;
37            this.DefaultWidth = 450;
38            this.DefaultHeight = 300;
39            this.Gravity = ((Gdk.Gravity)(5));
40            // Container child ThePimp.AboutWindow.Gtk.Container+ContainerChild
41            this.vbox2 = new Gtk.VBox();
42            this.vbox2.Name = "vbox2";
43            // Container child vbox2.Gtk.Box+BoxChild
44            this.hbox1 = new Gtk.HBox();
45            this.hbox1.Name = "hbox1";
46            // Container child hbox1.Gtk.Box+BoxChild
47            this.vbox3 = new Gtk.VBox();
48            this.vbox3.Name = "vbox3";
49            this.vbox3.BorderWidth = ((uint)(10));
50            // Container child vbox3.Gtk.Box+BoxChild
51            this.buttonLink = new Gtk.Button();
52            this.buttonLink.CanFocus = true;
53            this.buttonLink.Name = "buttonLink";
54            this.buttonLink.FocusOnClick = false;
55            this.buttonLink.Relief = ((Gtk.ReliefStyle)(2));
56            // Container child buttonLink.Gtk.Container+ContainerChild
57            this.link = new Gtk.Label();
58            this.link.Name = "link";
59            this.link.LabelProp = Mono.Unix.Catalog.GetString("<span color=\"blue\"><u><b>http://caca.zoy.org/wiki/thepimp</b></u></span>");
60            this.link.UseMarkup = true;
61            this.link.UseUnderline = true;
62            this.buttonLink.Add(this.link);
63            this.buttonLink.Label = null;
64            this.vbox3.Add(this.buttonLink);
65            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.buttonLink]));
66            w2.PackType = ((Gtk.PackType)(1));
67            w2.Position = 1;
68            w2.Expand = false;
69            w2.Fill = false;
70            this.hbox1.Add(this.vbox3);
71            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
72            w3.Position = 0;
73            w3.Fill = false;
74            // Container child hbox1.Gtk.Box+BoxChild
75            this.buttonClose = new Gtk.Button();
76            this.buttonClose.CanDefault = true;
77            this.buttonClose.CanFocus = true;
78            this.buttonClose.Name = "buttonClose";
79            this.buttonClose.UseStock = true;
80            this.buttonClose.UseUnderline = true;
81            this.buttonClose.BorderWidth = ((uint)(10));
82            this.buttonClose.Label = "gtk-close";
83            this.hbox1.Add(this.buttonClose);
84            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonClose]));
85            w4.PackType = ((Gtk.PackType)(1));
86            w4.Position = 1;
87            w4.Expand = false;
88            this.vbox2.Add(this.hbox1);
89            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
90            w5.PackType = ((Gtk.PackType)(1));
91            w5.Position = 1;
92            w5.Expand = false;
93            w5.Fill = false;
94            this.Add(this.vbox2);
95            if ((this.Child != null)) {
96                this.Child.ShowAll();
97            }
98            this.buttonClose.HasDefault = true;
99            this.Show();
100            this.buttonLink.Clicked += new System.EventHandler(this.OnButtonLinkClicked);
101            this.buttonClose.Clicked += new System.EventHandler(this.OnButtonCloseClicked);
102        }
103    }
104}
Note: See TracBrowser for help on using the repository browser.