00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 namespace Foodolini.Activities {
00012
00013
00014 public partial class ExerciseEditorDialog {
00015
00016 private Gtk.Button buttonCancel;
00017
00018 private Gtk.Button buttonOk;
00019
00020 protected virtual void Build() {
00021 Stetic.Gui.Initialize(this);
00022
00023 this.Name = "Foodolini.Activities.ExerciseEditorDialog";
00024 this.Title = Mono.Unix.Catalog.GetString("dialog1");
00025 this.WindowPosition = ((Gtk.WindowPosition)(4));
00026 this.HasSeparator = false;
00027
00028 Gtk.VBox w1 = this.VBox;
00029 w1.Name = "dialog1_VBox";
00030 w1.BorderWidth = ((uint)(2));
00031
00032 Gtk.HButtonBox w2 = this.ActionArea;
00033 w2.Name = "dialog1_ActionArea";
00034 w2.Spacing = 10;
00035 w2.BorderWidth = ((uint)(5));
00036 w2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
00037
00038 this.buttonCancel = new Gtk.Button();
00039 this.buttonCancel.CanDefault = true;
00040 this.buttonCancel.CanFocus = true;
00041 this.buttonCancel.Name = "buttonCancel";
00042 this.buttonCancel.UseStock = true;
00043 this.buttonCancel.UseUnderline = true;
00044 this.buttonCancel.Label = "gtk-cancel";
00045 this.AddActionWidget(this.buttonCancel, -6);
00046 Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonCancel]));
00047 w3.Expand = false;
00048 w3.Fill = false;
00049
00050 this.buttonOk = new Gtk.Button();
00051 this.buttonOk.CanDefault = true;
00052 this.buttonOk.CanFocus = true;
00053 this.buttonOk.Name = "buttonOk";
00054 this.buttonOk.UseStock = true;
00055 this.buttonOk.UseUnderline = true;
00056 this.buttonOk.Label = "gtk-ok";
00057 this.AddActionWidget(this.buttonOk, -5);
00058 Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonOk]));
00059 w4.Position = 1;
00060 w4.Expand = false;
00061 w4.Fill = false;
00062 if ((this.Child != null)) {
00063 this.Child.ShowAll();
00064 }
00065 this.DefaultWidth = 400;
00066 this.DefaultHeight = 300;
00067 this.Show();
00068 }
00069 }
00070 }