Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

105 righe
4.3 KiB

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