Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

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