00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 namespace Foodolini.Activities.Cookbook {
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 lbContent;
00023
00024 private Gtk.Label lbContent1;
00025
00026 private Gtk.Button buttonCancel;
00027
00028 private Gtk.Button buttonOk;
00029
00030 protected virtual void Build() {
00031 Stetic.Gui.Initialize(this);
00032
00033 this.Name = "Foodolini.Activities.Cookbook.ConfirmDialog";
00034 this.WindowPosition = ((Gtk.WindowPosition)(4));
00035
00036 Gtk.VBox w1 = this.VBox;
00037 w1.Name = "dialog1_VBox";
00038 w1.BorderWidth = ((uint)(2));
00039
00040 this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
00041 this.alignment1.Name = "alignment1";
00042 this.alignment1.LeftPadding = ((uint)(12));
00043 this.alignment1.TopPadding = ((uint)(12));
00044 this.alignment1.RightPadding = ((uint)(12));
00045 this.alignment1.BottomPadding = ((uint)(24));
00046
00047 this.hbox1 = new Gtk.HBox();
00048 this.hbox1.Name = "hbox1";
00049 this.hbox1.Spacing = 6;
00050
00051 this.image218 = new Gtk.Image();
00052 this.image218.Name = "image218";
00053 this.image218.Pixbuf = Gdk.Pixbuf.LoadFromResource("help-contents.svg");
00054 this.hbox1.Add(this.image218);
00055 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image218]));
00056 w2.Position = 0;
00057 w2.Expand = false;
00058 w2.Fill = false;
00059
00060 this.lbContent = new Gtk.Label();
00061 this.lbContent.WidthRequest = 12;
00062 this.lbContent.Name = "lbContent";
00063 this.hbox1.Add(this.lbContent);
00064 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.lbContent]));
00065 w3.Position = 1;
00066 w3.Expand = false;
00067 w3.Fill = false;
00068
00069 this.lbContent1 = new Gtk.Label();
00070 this.lbContent1.Name = "lbContent1";
00071 this.hbox1.Add(this.lbContent1);
00072 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.lbContent1]));
00073 w4.Position = 2;
00074 this.alignment1.Add(this.hbox1);
00075 w1.Add(this.alignment1);
00076 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.alignment1]));
00077 w6.Position = 0;
00078 w6.Expand = false;
00079 w6.Fill = false;
00080
00081 Gtk.HButtonBox w7 = this.ActionArea;
00082 w7.Name = "dialog1_ActionArea";
00083 w7.Spacing = 6;
00084 w7.BorderWidth = ((uint)(5));
00085 w7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
00086
00087 this.buttonCancel = new Gtk.Button();
00088 this.buttonCancel.TooltipMarkup = "Cancel action";
00089 this.buttonCancel.CanDefault = true;
00090 this.buttonCancel.CanFocus = true;
00091 this.buttonCancel.Name = "buttonCancel";
00092 this.buttonCancel.UseUnderline = true;
00093
00094 Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
00095
00096 Gtk.HBox w9 = new Gtk.HBox();
00097 w9.Spacing = 2;
00098
00099 Gtk.Image w10 = new Gtk.Image();
00100 w10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
00101 w9.Add(w10);
00102
00103 Gtk.Label w12 = new Gtk.Label();
00104 w12.LabelProp = Mono.Unix.Catalog.GetString("_Cancel");
00105 w12.UseUnderline = true;
00106 w9.Add(w12);
00107 w8.Add(w9);
00108 this.buttonCancel.Add(w8);
00109 this.AddActionWidget(this.buttonCancel, -6);
00110 Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel]));
00111 w16.Expand = false;
00112 w16.Fill = false;
00113
00114 this.buttonOk = new Gtk.Button();
00115 this.buttonOk.TooltipMarkup = "Confirm action";
00116 this.buttonOk.CanDefault = true;
00117 this.buttonOk.CanFocus = true;
00118 this.buttonOk.Name = "buttonOk";
00119 this.buttonOk.UseUnderline = true;
00120
00121 Gtk.Alignment w17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
00122
00123 Gtk.HBox w18 = new Gtk.HBox();
00124 w18.Spacing = 2;
00125
00126 Gtk.Image w19 = new Gtk.Image();
00127 w19.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
00128 w18.Add(w19);
00129
00130 Gtk.Label w21 = new Gtk.Label();
00131 w21.LabelProp = Mono.Unix.Catalog.GetString("_O.k.");
00132 w21.UseUnderline = true;
00133 w18.Add(w21);
00134 w17.Add(w18);
00135 this.buttonOk.Add(w17);
00136 this.AddActionWidget(this.buttonOk, -5);
00137 Gtk.ButtonBox.ButtonBoxChild w25 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
00138 w25.Position = 1;
00139 w25.Expand = false;
00140 w25.Fill = false;
00141 if ((this.Child != null)) {
00142 this.Child.ShowAll();
00143 }
00144 this.DefaultWidth = 407;
00145 this.DefaultHeight = 158;
00146 this.Show();
00147 }
00148 }
00149 }