You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

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