00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 namespace Foodolini.Activities {
00012
00013
00014 public partial class ConfirmDialog {
00015
00016 private Gtk.Alignment alignment1;
00017
00018 private Gtk.HBox hbox1;
00019
00020 private Gtk.Image image218;
00021
00022 private Gtk.Label label2;
00023
00024 private Gtk.Label label1;
00025
00026 private Gtk.HSeparator hseparator1;
00027
00028 private Gtk.Button buttonCancel;
00029
00030 private Gtk.Button buttonOk;
00031
00032 protected virtual void Build() {
00033 Stetic.Gui.Initialize(this);
00034
00035 this.Name = "Foodolini.Activities.ConfirmDialog";
00036 this.WindowPosition = ((Gtk.WindowPosition)(4));
00037 this.HasSeparator = false;
00038
00039 Gtk.VBox w1 = this.VBox;
00040 w1.Name = "dialog1_VBox";
00041 w1.BorderWidth = ((uint)(2));
00042
00043 this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
00044 this.alignment1.Name = "alignment1";
00045 this.alignment1.LeftPadding = ((uint)(12));
00046 this.alignment1.TopPadding = ((uint)(12));
00047 this.alignment1.RightPadding = ((uint)(12));
00048 this.alignment1.BottomPadding = ((uint)(24));
00049
00050 this.hbox1 = new Gtk.HBox();
00051 this.hbox1.Name = "hbox1";
00052 this.hbox1.Spacing = 6;
00053
00054 this.image218 = new Gtk.Image();
00055 this.image218.Name = "image218";
00056 this.image218.Pixbuf = Gdk.Pixbuf.LoadFromResource("help-contents.svg");
00057 this.hbox1.Add(this.image218);
00058 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image218]));
00059 w2.Position = 0;
00060 w2.Expand = false;
00061 w2.Fill = false;
00062
00063 this.label2 = new Gtk.Label();
00064 this.label2.Name = "label2";
00065 this.hbox1.Add(this.label2);
00066 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2]));
00067 w3.Position = 1;
00068 w3.Expand = false;
00069 w3.Fill = false;
00070
00071 this.label1 = new Gtk.Label();
00072 this.label1.Name = "label1";
00073 this.hbox1.Add(this.label1);
00074 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
00075 w4.Position = 2;
00076 this.alignment1.Add(this.hbox1);
00077 w1.Add(this.alignment1);
00078 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.alignment1]));
00079 w6.Position = 0;
00080 w6.Expand = false;
00081 w6.Fill = false;
00082
00083 this.hseparator1 = new Gtk.HSeparator();
00084 this.hseparator1.Name = "hseparator1";
00085 w1.Add(this.hseparator1);
00086 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.hseparator1]));
00087 w7.Position = 1;
00088 w7.Expand = false;
00089 w7.Fill = false;
00090
00091 Gtk.HButtonBox w8 = this.ActionArea;
00092 w8.Name = "dialog1_ActionArea";
00093 w8.Spacing = 6;
00094 w8.BorderWidth = ((uint)(5));
00095 w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
00096
00097 this.buttonCancel = new Gtk.Button();
00098 this.buttonCancel.CanDefault = true;
00099 this.buttonCancel.CanFocus = true;
00100 this.buttonCancel.Name = "buttonCancel";
00101 this.buttonCancel.UseStock = true;
00102 this.buttonCancel.UseUnderline = true;
00103 this.buttonCancel.Label = "gtk-cancel";
00104 this.AddActionWidget(this.buttonCancel, -6);
00105 Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
00106 w9.Expand = false;
00107 w9.Fill = false;
00108
00109 this.buttonOk = new Gtk.Button();
00110 this.buttonOk.CanDefault = true;
00111 this.buttonOk.CanFocus = true;
00112 this.buttonOk.Name = "buttonOk";
00113 this.buttonOk.UseStock = true;
00114 this.buttonOk.UseUnderline = true;
00115 this.buttonOk.Label = "gtk-ok";
00116 this.AddActionWidget(this.buttonOk, -5);
00117 Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
00118 w10.Position = 1;
00119 w10.Expand = false;
00120 w10.Fill = false;
00121 if ((this.Child != null)) {
00122 this.Child.ShowAll();
00123 }
00124 this.DefaultWidth = 400;
00125 this.DefaultHeight = 155;
00126 this.Show();
00127 }
00128 }
00129 }