protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.AddPathDialog this.Name = "CBinding.AddPathDialog"; this.Title = Mono.Unix.Catalog.GetString("Add Path"); this.Modal = true; // Internal child CBinding.AddPathDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.file_chooser_widget = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.file_chooser_widget.Name = "file_chooser_widget"; this.file_chooser_widget.ShowHidden = true; w1.Add(this.file_chooser_widget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.file_chooser_widget])); w2.Position = 0; // Internal child CBinding.AddPathDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 649; this.DefaultHeight = 436; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelButtonClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOkButtonClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget HollyLibrary.HColorPickerDialog this.Name = "HollyLibrary.HColorPickerDialog"; this.Title = "Pick a color"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.HasSeparator = false; // Internal child HollyLibrary.HColorPickerDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.Picker = new HollyLibrary.HColorPickerWidget(); this.Picker.Events = ((Gdk.EventMask)(256)); this.Picker.Name = "Picker"; w1.Add(this.Picker); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.Picker])); w2.Position = 0; // Internal child HollyLibrary.HColorPickerDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 591; this.DefaultHeight = 394; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Monodoc.Editor.OpenDocDialog this.Name = "Monodoc.Editor.OpenDocDialog"; this.Title = Mono.Unix.Catalog.GetString("File to Open"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Monodoc.Editor.OpenDocDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.openFileDialog = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.openFileDialog.Name = "openFileDialog"; w1.Add(this.openFileDialog); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.openFileDialog])); w2.Position = 0; // Internal child Monodoc.Editor.OpenDocDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-open"; w3.Add(this.buttonOk); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 629; this.DefaultHeight = 448; this.Show(); this.openFileDialog.FileActivated += new System.EventHandler(this.OnOpenFileDialogFileActivated); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget OpenVP.GtkGui.BrowsableEditor Stetic.BinContainer.Attach(this); this.Name = "OpenVP.GtkGui.BrowsableEditor"; // Container child OpenVP.GtkGui.BrowsableEditor.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.SheetPane = new Gtk.ScrolledWindow(); this.SheetPane.CanFocus = true; this.SheetPane.Name = "SheetPane"; this.vbox2.Add(this.SheetPane); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.SheetPane])); w1.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.Homogeneous = true; this.hbuttonbox2.Spacing = 6; this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.RevertButton = new Gtk.Button(); this.RevertButton.Sensitive = false; this.RevertButton.CanFocus = true; this.RevertButton.Name = "RevertButton"; this.RevertButton.UseStock = true; this.RevertButton.UseUnderline = true; this.RevertButton.Label = "gtk-revert-to-saved"; this.hbuttonbox2.Add(this.RevertButton); Gtk.ButtonBox.ButtonBoxChild w2 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.RevertButton])); w2.Expand = false; w2.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.ApplyButton = new Gtk.Button(); this.ApplyButton.Sensitive = false; this.ApplyButton.CanFocus = true; this.ApplyButton.Name = "ApplyButton"; this.ApplyButton.UseStock = true; this.ApplyButton.UseUnderline = true; this.ApplyButton.Label = "gtk-apply"; this.hbuttonbox2.Add(this.ApplyButton); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.ApplyButton])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox2.Add(this.hbuttonbox2); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox2])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.RevertButton.Clicked += new System.EventHandler(this.OnRevertButtonClicked); this.ApplyButton.Clicked += new System.EventHandler(this.OnApplyButtonClicked); }
public static HButtonBox GetActionArea(this Dialog dialog) { IntPtr raw_ret = gtk_dialog_get_action_area(dialog.Handle); Gtk.HButtonBox ret = GLib.Object.GetObject(raw_ret) as Gtk.HButtonBox; return(ret); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ImageDialog this.Name = "ocmgtk.ImageDialog"; this.Title = Mono.Unix.Catalog.GetString("Image"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Internal child ocmgtk.ImageDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w2 = new Gtk.Viewport(); w2.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.image = new Gtk.Image(); this.image.Name = "image"; w2.Add(this.image); this.scrolledwindow1.Add(w2); w1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.scrolledwindow1])); w5.Position = 0; // Internal child ocmgtk.ImageDialog.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-close"; this.AddActionWidget(this.buttonOk, -7); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk])); w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.buttonOk.Clicked += new System.EventHandler(this.OnCloseClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ChangeHistory this.Name = "ocmgtk.ChangeHistory"; this.Title = Mono.Unix.Catalog.GetString("Change History..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.DefaultWidth = 500; this.DefaultHeight = 400; // Internal child ocmgtk.ChangeHistory.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textView = new Gtk.TextView(); this.textView.CanFocus = true; this.textView.Name = "textView"; this.textView.Editable = false; this.scrolledwindow1.Add(this.textView); w1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.scrolledwindow1])); w3.Position = 0; // Internal child ocmgtk.ChangeHistory.ActionArea Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk])); w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.buttonOk.HasDefault = true; this.Show(); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Banshee.Lirc.ConfigDialog this.Name = "Banshee.Lirc.ConfigDialog"; this.Title = Mono.Unix.Catalog.GetString("dialog1"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Banshee.Lirc.ConfigDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Internal child Banshee.Lirc.ConfigDialog.ActionArea Gtk.HButtonBox w2 = this.ActionArea; w2.Name = "dialog1_ActionArea"; w2.Spacing = 6; w2.BorderWidth = ((uint)(5)); w2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonCancel])); w3.Expand = false; w3.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonOk])); w4.Position = 1; w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancel); this.buttonOk.Clicked += new System.EventHandler(this.OnOk); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.ProgressDialog this.Name = "Pinta.ProgressDialog"; this.WindowPosition = ((Gtk.WindowPosition)(4)); // Internal child Pinta.ProgressDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = "label2"; w1.Add(this.label); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.label])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.progress_bar = new Gtk.ProgressBar(); this.progress_bar.Name = "progress_bar"; w1.Add(this.progress_bar); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.progress_bar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Internal child Pinta.ProgressDialog.ActionArea Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel])); w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 114; this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.CalendarWindow this.Name = "ocmgtk.CalendarWindow"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Decorated = false; this.DestroyWithParent = true; // Internal child ocmgtk.CalendarWindow.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.cal = new Gtk.Calendar(); this.cal.CanFocus = true; this.cal.Name = "cal"; this.cal.DisplayOptions = ((Gtk.CalendarDisplayOptions)(35)); w1.Add(this.cal); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.cal])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Internal child ocmgtk.CalendarWindow.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 228; this.DefaultHeight = 271; this.Show(); this.cal.DaySelectedDoubleClick += new System.EventHandler(this.OnCalDClick); this.buttonOk.Clicked += new System.EventHandler(this.OnClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.QTLandKarteDialog this.Name = "ocmgtk.QTLandKarteDialog"; this.WindowPosition = ((Gtk.WindowPosition)(4)); // Internal child ocmgtk.QTLandKarteDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Internal child ocmgtk.QTLandKarteDialog.ActionArea Gtk.HButtonBox w2 = this.ActionArea; w2.Name = "dialog1_ActionArea"; w2.Spacing = 10; w2.BorderWidth = ((uint)(5)); w2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonCancel])); w3.Expand = false; w3.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[this.buttonOk])); w4.Position = 1; w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Components.ShowTextDialog this.Name = "MonoDevelop.Database.Components.ShowTextDialog"; this.Title = Mono.Unix.Catalog.GetString("Text"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.SkipTaskbarHint = true; this.HasSeparator = false; // Internal child MonoDevelop.Database.Components.ShowTextDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "vbox"; w1.BorderWidth = ((uint)(2)); // Container child vbox.Gtk.Box+BoxChild this.vboxContent = new Gtk.VBox(); this.vboxContent.Name = "vboxContent"; this.vboxContent.Spacing = 6; this.vboxContent.BorderWidth = ((uint)(6)); w1.Add(this.vboxContent); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.vboxContent])); w2.Position = 0; // Internal child MonoDevelop.Database.Components.ShowTextDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "GtkDialog_ActionArea"; w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button462 = new Gtk.Button(); this.button462.CanFocus = true; this.button462.Name = "button462"; this.button462.UseUnderline = true; this.button462.Label = Mono.Unix.Catalog.GetString("button462"); this.AddActionWidget(this.button462, 0); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.button462])); w4.Expand = false; w4.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog this.Name = "MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog"; this.Title = Mono.Unix.Catalog.GetString("Enter your password"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.promptLabel = new Gtk.Label(); this.promptLabel.Name = "promptLabel"; this.promptLabel.LabelProp = Mono.Unix.Catalog.GetString("Password prompt:"); this.vbox2.Add(this.promptLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.promptLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; w2.Padding = ((uint)(5)); // Container child vbox2.Gtk.Box+BoxChild this.passwordEntry = new Gtk.Entry(); this.passwordEntry.CanFocus = true; this.passwordEntry.Name = "passwordEntry"; this.passwordEntry.IsEditable = true; this.passwordEntry.ActivatesDefault = true; this.passwordEntry.Visibility = false; this.passwordEntry.InvisibleChar = '*'; this.vbox2.Add(this.passwordEntry); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.passwordEntry])); w3.Position = 1; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(5)); w1.Add(this.vbox2); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.ActionArea Gtk.HButtonBox w5 = this.ActionArea; w5.Name = "dialog1_ActionArea"; w5.Spacing = 6; w5.BorderWidth = ((uint)(5)); w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel])); w6.Expand = false; w6.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk])); w7.Position = 1; w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 137; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget mvcSample1.UsersListView Stetic.BinContainer.Attach(this); this.Name = "mvcSample1.UsersListView"; // Container child mvcSample1.UsersListView.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.HeightRequest = 30; this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox1.Add(this.hbox2); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.hbox2])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Active Users:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this._activeUsers = new Gtk.Label(); this._activeUsers.Name = "_activeUsers"; this._activeUsers.LabelProp = Mono.Unix.Catalog.GetString("label2"); this.hbox1.Add(this._activeUsers); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this._activeUsers])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this._usersScrollWin = new Gtk.ScrolledWindow(); this._usersScrollWin.CanFocus = true; this._usersScrollWin.Name = "_usersScrollWin"; this._usersScrollWin.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this._usersScrollWin.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this._usersScrollWin.ShadowType = ((Gtk.ShadowType)(1)); this.vbox1.Add(this._usersScrollWin); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this._usersScrollWin])); w5.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.Spacing = 2; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button2 = new Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = Mono.Unix.Catalog.GetString("Add"); this.hbuttonbox1.Add(this.button2); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button2])); w6.Expand = false; w6.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button3 = new Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = Mono.Unix.Catalog.GetString("Edit"); this.hbuttonbox1.Add(this.button3); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button3])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button4 = new Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = Mono.Unix.Catalog.GetString("Delete"); this.hbuttonbox1.Add(this.button4); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button4])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbuttonbox1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1])); w9.PackType = ((Gtk.PackType)(1)); w9.Position = 2; w9.Expand = false; w9.Fill = false; w9.Padding = ((uint)(5)); this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.button2.Clicked += new System.EventHandler(this.OnAddUser); this.button3.Clicked += new System.EventHandler(this.OnEditUser); this.button4.Clicked += new System.EventHandler(this.OnDeleteUser); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Jeton.TextualInputDialog this.Name = "Jeton.TextualInputDialog"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Jeton.TextualInputDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.infoLabel = new Gtk.Label(); this.infoLabel.Name = "infoLabel"; this.infoLabel.LabelProp = Mono.Unix.Catalog.GetString("description"); this.infoLabel.UseMarkup = true; this.vbox2.Add(this.infoLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.infoLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.textLabel = new Gtk.Label(); this.textLabel.Name = "textLabel"; this.textLabel.LabelProp = Mono.Unix.Catalog.GetString("<span size=\"xx-large\"><b>Entered text</b></span>"); this.textLabel.UseMarkup = true; this.vbox2.Add(this.textLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.textLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.keyboardVBox = new Gtk.VBox(); this.keyboardVBox.Name = "keyboardVBox"; this.keyboardVBox.BorderWidth = ((uint)(2)); this.vbox2.Add(this.keyboardVBox); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.keyboardVBox])); w4.Position = 2; w1.Add(this.vbox2); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w5.Position = 0; // Internal child Jeton.TextualInputDialog.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 6; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel])); w7.Expand = false; w7.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PropertyManager.DynPropEntryDlg this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "PropertyManager.DynPropEntryDlg"; this.Title = Mono.Unix.Catalog.GetString("Dynamic Property Details"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.HasSeparator = false; // Internal child PropertyManager.DynPropEntryDlg.VBox Gtk.VBox w2 = this.VBox; w2.Name = "dialog1_VBox"; w2.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.cbApplication = new ControlWrappers.BoundComboBox(); this.cbApplication.Events = ((Gdk.EventMask)(256)); this.cbApplication.Name = "cbApplication"; this.cbApplication.CollectionName = "Applications"; this.cbApplication.LabelAttributeName = "Name"; this.cbApplication.ValueAttributeName = "Id"; this.cbApplication.AttributeName = "ApplicationId"; this.cbApplication.ContextName = "DialogContext"; this.cbApplication.DomainName = "DynamicProperty"; this.table2.Add(this.cbApplication); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table2[this.cbApplication])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cbForm = new ControlWrappers.BoundComboBox(); this.cbForm.WidthRequest = 250; this.cbForm.Events = ((Gdk.EventMask)(256)); this.cbForm.Name = "cbForm"; this.cbForm.CollectionName = "Forms"; this.cbForm.LabelAttributeName = "Description"; this.cbForm.ValueAttributeName = "Id"; this.cbForm.ContextName = "DialogContext"; this.table2.Add(this.cbForm); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.cbForm])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((Gtk.AttachOptions)(0)); w4.YOptions = ((Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.cbProperty = new ControlWrappers.BoundComboBox(); this.cbProperty.Events = ((Gdk.EventMask)(256)); this.cbProperty.Name = "cbProperty"; this.cbProperty.CollectionName = "PropertyDefinitions"; this.cbProperty.LabelAttributeName = "Name"; this.cbProperty.ValueAttributeName = "Id"; this.cbProperty.AttributeName = "PropertyId"; this.cbProperty.ContextName = "DialogContext"; this.cbProperty.DomainName = "DynamicProperty"; this.table2.Add(this.cbProperty); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.cbProperty])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblApplication = new Gtk.Label(); this.lblApplication.Name = "lblApplication"; this.lblApplication.Xalign = 0F; this.lblApplication.LabelProp = Mono.Unix.Catalog.GetString("Application:"); this.table2.Add(this.lblApplication); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table2[this.lblApplication])); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblDefaultValue = new Gtk.Label(); this.lblDefaultValue.Name = "lblDefaultValue"; this.lblDefaultValue.Xalign = 0F; this.lblDefaultValue.LabelProp = Mono.Unix.Catalog.GetString("Default Value:"); this.table2.Add(this.lblDefaultValue); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table2[this.lblDefaultValue])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblProperty = new Gtk.Label(); this.lblProperty.Name = "lblProperty"; this.lblProperty.Xalign = 0F; this.lblProperty.LabelProp = Mono.Unix.Catalog.GetString("Property:"); this.table2.Add(this.lblProperty); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table2[this.lblProperty])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.lblQualifier = new Gtk.Label(); this.lblQualifier.Name = "lblQualifier"; this.lblQualifier.Xalign = 0F; this.lblQualifier.LabelProp = Mono.Unix.Catalog.GetString("Qualifier:"); this.table2.Add(this.lblQualifier); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table2[this.lblQualifier])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.txtDefaultValue = new ControlWrappers.BoundEntry(); this.txtDefaultValue.Events = ((Gdk.EventMask)(256)); this.txtDefaultValue.Name = "txtDefaultValue"; this.txtDefaultValue.IsEditable = true; this.txtDefaultValue.ActivatesDefault = false; this.txtDefaultValue.AttributeName = "DefaultValue"; this.txtDefaultValue.ContextName = "DialogContext"; this.txtDefaultValue.DomainName = "DynamicProperty"; this.table2.Add(this.txtDefaultValue); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.txtDefaultValue])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.txtQualifier = new ControlWrappers.BoundEntry(); this.txtQualifier.Events = ((Gdk.EventMask)(256)); this.txtQualifier.Name = "txtQualifier"; this.txtQualifier.IsEditable = true; this.txtQualifier.ActivatesDefault = false; this.txtQualifier.AttributeName = "Qualifier"; this.txtQualifier.ContextName = "DialogContext"; this.txtQualifier.DomainName = "DynamicProperty"; this.table2.Add(this.txtQualifier); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table2[this.txtQualifier])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox2[this.table2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table3 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.btnBoxApplySettings = new Gtk.HButtonBox(); this.btnBoxApplySettings.Name = "btnBoxApplySettings"; this.table3.Add(this.btnBoxApplySettings); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table3[this.btnBoxApplySettings])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.btnAddItem = new Gtk.Button(); this.btnAddItem.Sensitive = false; this.btnAddItem.CanFocus = true; this.btnAddItem.Name = "btnAddItem"; this.btnAddItem.UseStock = true; this.btnAddItem.UseUnderline = true; this.btnAddItem.Label = "gtk-add"; this.hbuttonbox2.Add(this.btnAddItem); Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnAddItem])); w14.Expand = false; w14.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.btnRemove = new Gtk.Button(); this.btnRemove.Sensitive = false; this.btnRemove.CanFocus = true; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseStock = true; this.btnRemove.UseUnderline = true; this.btnRemove.Label = "gtk-remove"; this.hbuttonbox2.Add(this.btnRemove); Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnRemove])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table3.Add(this.hbuttonbox2); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table3[this.hbuttonbox2])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.lblEffectiveValues = new Gtk.Label(); this.lblEffectiveValues.Name = "lblEffectiveValues"; this.lblEffectiveValues.Xalign = 0F; this.lblEffectiveValues.LabelProp = Mono.Unix.Catalog.GetString("Effective Values:"); this.table3.Add(this.lblEffectiveValues); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table3[this.lblEffectiveValues])); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nbValuePages = new Gtk.Notebook(); this.nbValuePages.CanFocus = true; this.nbValuePages.Name = "nbValuePages"; this.nbValuePages.CurrentPage = 1; this.nbValuePages.ShowTabs = false; // Container child nbValuePages.Gtk.Notebook+NotebookChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Nothing Selected"); this.nbValuePages.Add(this.label2); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("page3"); this.nbValuePages.SetTabLabel(this.label2, this.label1); this.label1.ShowAll(); // Container child nbValuePages.Gtk.Notebook+NotebookChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); this.table4.BorderWidth = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.calEndDate = new ControlWrappers.BoundCalendar(); this.calEndDate.Events = ((Gdk.EventMask)(256)); this.calEndDate.Name = "calEndDate"; this.calEndDate.Date = new System.DateTime(0); this.calEndDate.AttributeName = "EffectiveEndDate"; this.calEndDate.ContextName = "EffectiveDateCtx"; this.calEndDate.DomainName = "EffectiveValue"; this.table4.Add(this.calEndDate); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table4[this.calEndDate])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.calStartDate = new ControlWrappers.BoundCalendar(); this.calStartDate.Events = ((Gdk.EventMask)(256)); this.calStartDate.Name = "calStartDate"; this.calStartDate.Date = new System.DateTime(0); this.calStartDate.AttributeName = "EffectiveStartDate"; this.calStartDate.ContextName = "EffectiveDateCtx"; this.calStartDate.DomainName = "EffectiveValue"; this.table4.Add(this.calStartDate); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table4[this.calStartDate])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.lblEndDate = new Gtk.Label(); this.lblEndDate.Name = "lblEndDate"; this.lblEndDate.Xalign = 0F; this.lblEndDate.LabelProp = Mono.Unix.Catalog.GetString("End Date:"); this.table4.Add(this.lblEndDate); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table4[this.lblEndDate])); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.lblStartDate = new Gtk.Label(); this.lblStartDate.Name = "lblStartDate"; this.lblStartDate.Xalign = 0F; this.lblStartDate.LabelProp = Mono.Unix.Catalog.GetString("Start Date:"); this.table4.Add(this.lblStartDate); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table4[this.lblStartDate])); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); this.nbValuePages.Add(this.table4); Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.nbValuePages[this.table4])); w23.Position = 1; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Effective Value"); this.nbValuePages.SetTabLabel(this.table4, this.label6); this.label6.ShowAll(); // Container child nbValuePages.Gtk.Notebook+NotebookChild this.table5 = new Gtk.Table(((uint)(8)), ((uint)(5)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); this.table5.BorderWidth = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.lblCriteria = new Gtk.Label(); this.lblCriteria.Name = "lblCriteria"; this.lblCriteria.Xalign = 0F; this.lblCriteria.LabelProp = Mono.Unix.Catalog.GetString("Criteria:"); this.table5.Add(this.lblCriteria); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table5[this.lblCriteria])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.RightAttach = ((uint)(5)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblDays = new Gtk.Label(); this.lblDays.Name = "lblDays"; this.lblDays.Xalign = 0F; this.lblDays.LabelProp = Mono.Unix.Catalog.GetString("Days:"); this.table5.Add(this.lblDays); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table5[this.lblDays])); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblDOWs = new Gtk.Label(); this.lblDOWs.Name = "lblDOWs"; this.lblDOWs.Xalign = 0F; this.lblDOWs.LabelProp = Mono.Unix.Catalog.GetString("DOW:"); this.table5.Add(this.lblDOWs); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table5[this.lblDOWs])); w26.LeftAttach = ((uint)(4)); w26.RightAttach = ((uint)(5)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblHours = new Gtk.Label(); this.lblHours.Name = "lblHours"; this.lblHours.Xalign = 0F; this.lblHours.LabelProp = Mono.Unix.Catalog.GetString("Hours:"); this.table5.Add(this.lblHours); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table5[this.lblHours])); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblMinutes = new Gtk.Label(); this.lblMinutes.Name = "lblMinutes"; this.lblMinutes.Xalign = 0F; this.lblMinutes.LabelProp = Mono.Unix.Catalog.GetString("Minutes:"); this.table5.Add(this.lblMinutes); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table5[this.lblMinutes])); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblMonths = new Gtk.Label(); this.lblMonths.Name = "lblMonths"; this.lblMonths.Xalign = 0F; this.lblMonths.LabelProp = Mono.Unix.Catalog.GetString("Months:"); this.table5.Add(this.lblMonths); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table5[this.lblMonths])); w29.LeftAttach = ((uint)(3)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblValue = new Gtk.Label(); this.lblValue.Name = "lblValue"; this.lblValue.Xalign = 0F; this.lblValue.LabelProp = Mono.Unix.Catalog.GetString("Value:"); this.table5.Add(this.lblValue); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table5[this.lblValue])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.RightAttach = ((uint)(5)); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.tvDays = new ControlWrappers.CronValueEditor(); this.tvDays.Events = ((Gdk.EventMask)(256)); this.tvDays.Name = "tvDays"; this.tvDays.ValueType = 2; this.table5.Add(this.tvDays); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table5[this.tvDays])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(4)); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.tvDaysOfWeek = new ControlWrappers.CronValueEditor(); this.tvDaysOfWeek.Events = ((Gdk.EventMask)(256)); this.tvDaysOfWeek.Name = "tvDaysOfWeek"; this.tvDaysOfWeek.ValueType = 4; this.table5.Add(this.tvDaysOfWeek); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table5[this.tvDaysOfWeek])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(4)); w32.RightAttach = ((uint)(5)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.tvHours = new ControlWrappers.CronValueEditor(); this.tvHours.Events = ((Gdk.EventMask)(256)); this.tvHours.Name = "tvHours"; this.tvHours.ValueType = 1; this.table5.Add(this.tvHours); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table5[this.tvHours])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(4)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((Gtk.AttachOptions)(4)); w33.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.tvMinutes = new ControlWrappers.CronValueEditor(); this.tvMinutes.HeightRequest = 200; this.tvMinutes.Events = ((Gdk.EventMask)(256)); this.tvMinutes.Name = "tvMinutes"; this.tvMinutes.ValueType = 0; this.table5.Add(this.tvMinutes); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table5[this.tvMinutes])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(4)); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.tvMonths = new ControlWrappers.CronValueEditor(); this.tvMonths.Events = ((Gdk.EventMask)(256)); this.tvMonths.Name = "tvMonths"; this.tvMonths.ValueType = 3; this.table5.Add(this.tvMonths); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table5[this.tvMonths])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(4)); w35.LeftAttach = ((uint)(3)); w35.RightAttach = ((uint)(4)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.txtCriteria = new ControlWrappers.BoundEntry(); this.txtCriteria.Events = ((Gdk.EventMask)(256)); this.txtCriteria.Name = "txtCriteria"; this.txtCriteria.IsEditable = false; this.txtCriteria.ActivatesDefault = false; this.txtCriteria.AttributeName = "RawCriteria"; this.txtCriteria.ContextName = "ValueCriteriaCtx"; this.txtCriteria.DomainName = "ValueCriteria"; this.table5.Add(this.txtCriteria); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table5[this.txtCriteria])); w36.TopAttach = ((uint)(5)); w36.BottomAttach = ((uint)(6)); w36.RightAttach = ((uint)(5)); w36.XOptions = ((Gtk.AttachOptions)(4)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.txtValue = new ControlWrappers.BoundEntry(); this.txtValue.Events = ((Gdk.EventMask)(256)); this.txtValue.Name = "txtValue"; this.txtValue.IsEditable = true; this.txtValue.ActivatesDefault = false; this.txtValue.AttributeName = "Value"; this.txtValue.ContextName = "ValueCriteriaCtx"; this.txtValue.DomainName = "ValueCriteria"; this.table5.Add(this.txtValue); Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table5[this.txtValue])); w37.TopAttach = ((uint)(7)); w37.BottomAttach = ((uint)(8)); w37.RightAttach = ((uint)(5)); w37.XOptions = ((Gtk.AttachOptions)(4)); w37.YOptions = ((Gtk.AttachOptions)(4)); this.nbValuePages.Add(this.table5); Gtk.Notebook.NotebookChild w38 = ((Gtk.Notebook.NotebookChild)(this.nbValuePages[this.table5])); w38.Position = 2; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Value Criteria"); this.nbValuePages.SetTabLabel(this.table5, this.label7); this.label7.ShowAll(); this.table3.Add(this.nbValuePages); Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.nbValuePages])); w39.TopAttach = ((uint)(1)); w39.BottomAttach = ((uint)(2)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.XOptions = ((Gtk.AttachOptions)(4)); w39.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.tvEffectiveValues = new Gtk.TreeView(); this.tvEffectiveValues.WidthRequest = 300; this.tvEffectiveValues.CanFocus = true; this.tvEffectiveValues.Name = "tvEffectiveValues"; this.tvEffectiveValues.EnableSearch = false; this.tvEffectiveValues.HeadersVisible = false; this.scrolledwindow1.Add(this.tvEffectiveValues); this.table3.Add(this.scrolledwindow1); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow1])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.XOptions = ((Gtk.AttachOptions)(4)); w41.YOptions = ((Gtk.AttachOptions)(4)); this.vbox2.Add(this.table3); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox2[this.table3])); w42.Position = 1; w42.Expand = false; w42.Fill = false; w2.Add(this.vbox2); Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(w2[this.vbox2])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Internal child PropertyManager.DynPropEntryDlg.ActionArea Gtk.HButtonBox w44 = this.ActionArea; w44.Name = "dialog1_ActionArea"; w44.Spacing = 6; w44.BorderWidth = ((uint)(5)); w44.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w45 = ((Gtk.ButtonBox.ButtonBoxChild)(w44[this.buttonCancel])); w45.Expand = false; w45.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(w44[this.buttonOk])); w46.Position = 1; w46.Expand = false; w46.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 804; this.DefaultHeight = 606; this.Show(); this.cbForm.Changed += new System.EventHandler(this.OnCbFormChanged); this.tvEffectiveValues.CursorChanged += new System.EventHandler(this.EffectiveValueCursorChanged); this.calStartDate.DateTimeChanged += new System.EventHandler(this.StartDateChanged); this.calEndDate.DateTimeChanged += new System.EventHandler(this.EndDateChanged); this.txtValue.Changed += new System.EventHandler(this.VCValueChanged); this.tvMonths.Changed += new System.EventHandler(this.MonthsEditorChanged); this.tvMinutes.Changed += new System.EventHandler(this.MinutesEditorChanged); this.tvHours.Changed += new System.EventHandler(this.HoursEditorChanged); this.tvDaysOfWeek.Changed += new System.EventHandler(this.DaysOfWeekEditorChanged); this.tvDays.Changed += new System.EventHandler(this.DaysEditorChanged); this.btnAddItem.Clicked += new System.EventHandler(this.AddItemClicked); this.btnRemove.Clicked += new System.EventHandler(this.RemoveItemClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.SpouseView Stetic.BinContainer.Attach(this); this.Name = "Gedcom.UI.GTK.Widgets.SpouseView"; // Container child Gedcom.UI.GTK.Widgets.SpouseView.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(7)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(12)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.RemoveHusbandButton = new Gtk.Button(); this.RemoveHusbandButton.CanFocus = true; this.RemoveHusbandButton.Name = "RemoveHusbandButton"; // Container child RemoveHusbandButton.Gtk.Container+ContainerChild this.image413 = new Gtk.Image(); this.image413.Name = "image413"; this.image413.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16); this.RemoveHusbandButton.Add(this.image413); this.RemoveHusbandButton.Label = null; this.hbox8.Add(this.RemoveHusbandButton); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox8[this.RemoveHusbandButton])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.AddHusbandButton = new Gtk.Button(); this.AddHusbandButton.CanFocus = true; this.AddHusbandButton.Name = "AddHusbandButton"; // Container child AddHusbandButton.Gtk.Container+ContainerChild this.image414 = new Gtk.Image(); this.image414.Name = "image414"; this.image414.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); this.AddHusbandButton.Add(this.image414); this.AddHusbandButton.Label = null; this.hbox8.Add(this.AddHusbandButton); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox8[this.AddHusbandButton])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.DeleteButton = new Gtk.Button(); this.DeleteButton.CanFocus = true; this.DeleteButton.Name = "DeleteButton"; // Container child DeleteButton.Gtk.Container+ContainerChild this.image415 = new Gtk.Image(); this.image415.Name = "image415"; this.image415.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16); this.DeleteButton.Add(this.image415); this.DeleteButton.Label = null; this.hbox8.Add(this.DeleteButton); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox8[this.DeleteButton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.ParentsButton = new Gtk.Button(); this.ParentsButton.CanFocus = true; this.ParentsButton.Name = "ParentsButton"; this.ParentsButton.UseUnderline = true; // Container child ParentsButton.Gtk.Container+ContainerChild Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w9 = new Gtk.HBox(); w9.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w10 = new Gtk.Image(); w10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-up", Gtk.IconSize.Menu, 16); w9.Add(w10); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w12 = new Gtk.Label(); w12.LabelProp = "Parents"; w12.UseUnderline = true; w9.Add(w12); w8.Add(w9); this.ParentsButton.Add(w8); this.hbox1.Add(this.ParentsButton); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.ParentsButton])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox8.Add(this.hbox1); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox8[this.hbox1])); w17.Position = 3; this.table1.Add(this.hbox8); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.hbox8])); w18.RightAttach = ((uint)(3)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbuttonbox4 = new Gtk.HButtonBox(); this.hbuttonbox4.Name = "hbuttonbox4"; this.hbuttonbox4.Spacing = 12; this.hbuttonbox4.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.HusbandMoreButton = new Gtk.Button(); this.HusbandMoreButton.CanFocus = true; this.HusbandMoreButton.Name = "HusbandMoreButton"; this.HusbandMoreButton.UseUnderline = true; // Container child HusbandMoreButton.Gtk.Container+ContainerChild Gtk.Alignment w19 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w20 = new Gtk.HBox(); w20.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w21 = new Gtk.Image(); w21.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-edit", Gtk.IconSize.Button, 20); w20.Add(w21); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w23 = new Gtk.Label(); w23.LabelProp = "More"; w23.UseUnderline = true; w20.Add(w23); w19.Add(w20); this.HusbandMoreButton.Add(w19); this.hbuttonbox4.Add(this.HusbandMoreButton); Gtk.ButtonBox.ButtonBoxChild w27 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.HusbandMoreButton])); w27.Expand = false; w27.Fill = false; // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.ScrapBookButton = new Gtk.Button(); this.ScrapBookButton.CanFocus = true; this.ScrapBookButton.Name = "ScrapBookButton"; this.ScrapBookButton.UseUnderline = true; // Container child ScrapBookButton.Gtk.Container+ContainerChild Gtk.Alignment w28 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w29 = new Gtk.HBox(); w29.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w30 = new Gtk.Image(); w30.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20); w29.Add(w30); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w32 = new Gtk.Label(); w32.LabelProp = "Scrapbook"; w32.UseUnderline = true; w29.Add(w32); w28.Add(w29); this.ScrapBookButton.Add(w28); this.hbuttonbox4.Add(this.ScrapBookButton); Gtk.ButtonBox.ButtonBoxChild w36 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.ScrapBookButton])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.HusbandFamiliesButton = new Gtk.Button(); this.HusbandFamiliesButton.CanFocus = true; this.HusbandFamiliesButton.Name = "HusbandFamiliesButton"; this.HusbandFamiliesButton.UseUnderline = true; // Container child HusbandFamiliesButton.Gtk.Container+ContainerChild Gtk.Alignment w37 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w38 = new Gtk.HBox(); w38.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w39 = new Gtk.Image(); w39.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20); w38.Add(w39); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w41 = new Gtk.Label(); w41.LabelProp = "Families"; w41.UseUnderline = true; w38.Add(w41); w37.Add(w38); this.HusbandFamiliesButton.Add(w37); this.hbuttonbox4.Add(this.HusbandFamiliesButton); Gtk.ButtonBox.ButtonBoxChild w45 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.HusbandFamiliesButton])); w45.Position = 2; w45.Expand = false; w45.Fill = false; this.table1.Add(this.hbuttonbox4); Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table1[this.hbuttonbox4])); w46.TopAttach = ((uint)(6)); w46.BottomAttach = ((uint)(7)); w46.RightAttach = ((uint)(3)); w46.YPadding = ((uint)(6)); w46.XOptions = ((Gtk.AttachOptions)(4)); w46.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandBornInEntry = new Gtk.Entry(); this.HusbandBornInEntry.CanFocus = true; this.HusbandBornInEntry.Name = "HusbandBornInEntry"; this.HusbandBornInEntry.IsEditable = true; this.HusbandBornInEntry.InvisibleChar = '●'; this.table1.Add(this.HusbandBornInEntry); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table1[this.HusbandBornInEntry])); w47.TopAttach = ((uint)(3)); w47.BottomAttach = ((uint)(4)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); w47.XOptions = ((Gtk.AttachOptions)(4)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandDateBornEntry = new Gtk.Entry(); this.HusbandDateBornEntry.CanFocus = true; this.HusbandDateBornEntry.Name = "HusbandDateBornEntry"; this.HusbandDateBornEntry.IsEditable = true; this.HusbandDateBornEntry.InvisibleChar = '●'; this.table1.Add(this.HusbandDateBornEntry); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table1[this.HusbandDateBornEntry])); w48.TopAttach = ((uint)(2)); w48.BottomAttach = ((uint)(3)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandDateBornSourceButton = new Gtk.Button(); this.HusbandDateBornSourceButton.CanFocus = true; this.HusbandDateBornSourceButton.Name = "HusbandDateBornSourceButton"; // Container child HusbandDateBornSourceButton.Gtk.Container+ContainerChild this.image439 = new Gtk.Image(); this.image439.Name = "image439"; this.image439.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.HusbandDateBornSourceButton.Add(this.image439); this.HusbandDateBornSourceButton.Label = null; this.table1.Add(this.HusbandDateBornSourceButton); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table1[this.HusbandDateBornSourceButton])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.LeftAttach = ((uint)(2)); w50.RightAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); w50.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandDateDiedEntry = new Gtk.Entry(); this.HusbandDateDiedEntry.CanFocus = true; this.HusbandDateDiedEntry.Name = "HusbandDateDiedEntry"; this.HusbandDateDiedEntry.IsEditable = true; this.HusbandDateDiedEntry.InvisibleChar = '●'; this.table1.Add(this.HusbandDateDiedEntry); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table1[this.HusbandDateDiedEntry])); w51.TopAttach = ((uint)(4)); w51.BottomAttach = ((uint)(5)); w51.LeftAttach = ((uint)(1)); w51.RightAttach = ((uint)(2)); w51.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandDateDiedSourceButton = new Gtk.Button(); this.HusbandDateDiedSourceButton.CanFocus = true; this.HusbandDateDiedSourceButton.Name = "HusbandDateDiedSourceButton"; // Container child HusbandDateDiedSourceButton.Gtk.Container+ContainerChild this.image440 = new Gtk.Image(); this.image440.Name = "image440"; this.image440.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.HusbandDateDiedSourceButton.Add(this.image440); this.HusbandDateDiedSourceButton.Label = null; this.table1.Add(this.HusbandDateDiedSourceButton); Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table1[this.HusbandDateDiedSourceButton])); w53.TopAttach = ((uint)(4)); w53.BottomAttach = ((uint)(5)); w53.LeftAttach = ((uint)(2)); w53.RightAttach = ((uint)(3)); w53.XOptions = ((Gtk.AttachOptions)(4)); w53.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandDiedInEntry = new Gtk.Entry(); this.HusbandDiedInEntry.CanFocus = true; this.HusbandDiedInEntry.Name = "HusbandDiedInEntry"; this.HusbandDiedInEntry.IsEditable = true; this.HusbandDiedInEntry.InvisibleChar = '●'; this.table1.Add(this.HusbandDiedInEntry); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table1[this.HusbandDiedInEntry])); w54.TopAttach = ((uint)(5)); w54.BottomAttach = ((uint)(6)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((Gtk.AttachOptions)(4)); w54.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandNameEntry = new Gtk.Entry(); this.HusbandNameEntry.CanFocus = true; this.HusbandNameEntry.Name = "HusbandNameEntry"; this.HusbandNameEntry.IsEditable = true; this.HusbandNameEntry.InvisibleChar = '●'; this.table1.Add(this.HusbandNameEntry); Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table1[this.HusbandNameEntry])); w55.TopAttach = ((uint)(1)); w55.BottomAttach = ((uint)(2)); w55.LeftAttach = ((uint)(1)); w55.RightAttach = ((uint)(2)); w55.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.HusbandNameSourceButton = new Gtk.Button(); this.HusbandNameSourceButton.CanFocus = true; this.HusbandNameSourceButton.Name = "HusbandNameSourceButton"; // Container child HusbandNameSourceButton.Gtk.Container+ContainerChild this.image438 = new Gtk.Image(); this.image438.Name = "image438"; this.image438.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.HusbandNameSourceButton.Add(this.image438); this.HusbandNameSourceButton.Label = null; this.table1.Add(this.HusbandNameSourceButton); Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table1[this.HusbandNameSourceButton])); w57.TopAttach = ((uint)(1)); w57.BottomAttach = ((uint)(2)); w57.LeftAttach = ((uint)(2)); w57.RightAttach = ((uint)(3)); w57.XOptions = ((Gtk.AttachOptions)(4)); w57.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = "in:"; this.table1.Add(this.label10); Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table1[this.label10])); w58.TopAttach = ((uint)(5)); w58.BottomAttach = ((uint)(6)); w58.XOptions = ((Gtk.AttachOptions)(4)); w58.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 1F; this.label12.LabelProp = "in:"; this.table1.Add(this.label12); Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table1[this.label12])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.XOptions = ((Gtk.AttachOptions)(4)); w59.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 1F; this.label18.LabelProp = "Born:"; this.table1.Add(this.label18); Gtk.Table.TableChild w60 = ((Gtk.Table.TableChild)(this.table1[this.label18])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.XOptions = ((Gtk.AttachOptions)(4)); w60.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = "Died:"; this.table1.Add(this.label19); Gtk.Table.TableChild w61 = ((Gtk.Table.TableChild)(this.table1[this.label19])); w61.TopAttach = ((uint)(4)); w61.BottomAttach = ((uint)(5)); w61.XOptions = ((Gtk.AttachOptions)(4)); w61.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NameButton = new Gtk.Button(); this.NameButton.CanFocus = true; this.NameButton.Name = "NameButton"; // Container child NameButton.Gtk.Container+ContainerChild this.SpouseNameLabel = new Gtk.Label(); this.SpouseNameLabel.Name = "SpouseNameLabel"; this.SpouseNameLabel.Xalign = 1F; this.SpouseNameLabel.LabelProp = "Name:"; this.NameButton.Add(this.SpouseNameLabel); this.NameButton.Label = null; this.table1.Add(this.NameButton); Gtk.Table.TableChild w63 = ((Gtk.Table.TableChild)(this.table1[this.NameButton])); w63.TopAttach = ((uint)(1)); w63.BottomAttach = ((uint)(2)); w63.XOptions = ((Gtk.AttachOptions)(4)); w63.YOptions = ((Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.NameButton.Clicked += new System.EventHandler(this.OnNameButton_Clicked); this.HusbandNameSourceButton.Clicked += new System.EventHandler(this.OnNameSourceButton_Clicked); this.HusbandDiedInEntry.Changed += new System.EventHandler(this.HusbandDied_Changed); this.HusbandDateDiedSourceButton.Clicked += new System.EventHandler(this.OnDateDiedSourceButton_Clicked); this.HusbandDateDiedEntry.Changed += new System.EventHandler(this.HusbandDied_Changed); this.HusbandDateBornSourceButton.Clicked += new System.EventHandler(this.OnDateBornSourceButton_Clicked); this.HusbandDateBornEntry.Changed += new System.EventHandler(this.HusbandBorn_Changed); this.HusbandBornInEntry.Changed += new System.EventHandler(this.HusbandBorn_Changed); this.HusbandMoreButton.Clicked += new System.EventHandler(this.OnMoreButton_Clicked); this.ScrapBookButton.Clicked += new System.EventHandler(this.OnScrapBookButton_Clicked); this.HusbandFamiliesButton.Clicked += new System.EventHandler(this.OnFamiliesButton_Clicked); this.RemoveHusbandButton.Clicked += new System.EventHandler(this.OnRemoveButton_Clicked); this.AddHusbandButton.Clicked += new System.EventHandler(this.OnAddButton_Clicked); this.DeleteButton.Clicked += new System.EventHandler(this.OnDeleteButton_Clicked); this.ParentsButton.Clicked += new System.EventHandler(this.OnParentsButton_Click); }
protected override Gtk.Box CreateBoxWidget() { Gtk.HButtonBox box = new Gtk.HButtonBox(); box.Layout = Gtk.ButtonBoxStyle.Spread; return box; }
public override void Initialize() { Widget = new CustomHButtonBox (); Widget.LayoutStyle = Gtk.ButtonBoxStyle.Start; base.Widget.Show (); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Chaotic Pendulum"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.altitude1 = new Gtk.SpinButton(0.01, 10, 0.1); this.altitude1.CanFocus = true; this.altitude1.Name = "altitude1"; this.altitude1.Adjustment.PageIncrement = 1; this.altitude1.ClimbRate = 1; this.altitude1.Digits = ((uint)(2)); this.altitude1.Numeric = true; this.altitude1.Value = 0.2; this.table3.Add(this.altitude1); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.altitude1])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.attractors = new Gtk.SpinButton(1, 23, 1); this.attractors.CanFocus = true; this.attractors.Name = "attractors"; this.attractors.Adjustment.PageIncrement = 5; this.attractors.ClimbRate = 1; this.attractors.Numeric = true; this.attractors.Value = 5; this.table3.Add(this.attractors); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.attractors])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.charge = new Gtk.SpinButton(0, 10, 0.1); this.charge.CanFocus = true; this.charge.Name = "charge"; this.charge.Adjustment.PageIncrement = 1; this.charge.ClimbRate = 1; this.charge.Digits = ((uint)(2)); this.charge.Numeric = true; this.charge.Value = 1; this.table3.Add(this.charge); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.charge])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.drag = new Gtk.SpinButton(0, 10, 0.1); this.drag.CanFocus = true; this.drag.Name = "drag"; this.drag.Adjustment.PageIncrement = 1; this.drag.ClimbRate = 1; this.drag.Digits = ((uint)(2)); this.drag.Numeric = true; this.drag.Value = 0.5; this.table3.Add(this.drag); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.drag])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Mass"); this.table3.Add(this.label10); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.label10])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Altitude"); this.table3.Add(this.label11); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table3[this.label11])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Drag"); this.table3.Add(this.label12); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table3[this.label12])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Attractors"); this.table3.Add(this.label7); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table3[this.label7])); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Step"); this.table3.Add(this.label8); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table3[this.label8])); w9.TopAttach = ((uint)(5)); w9.BottomAttach = ((uint)(6)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Charge"); this.table3.Add(this.label9); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table3[this.label9])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.mass = new Gtk.SpinButton(0.01, 10, 0.1); this.mass.CanFocus = true; this.mass.Name = "mass"; this.mass.Adjustment.PageIncrement = 1; this.mass.ClimbRate = 1; this.mass.Digits = ((uint)(2)); this.mass.Numeric = true; this.mass.Value = 2; this.table3.Add(this.mass); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table3[this.mass])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.step = new Gtk.SpinButton(0.01, 10, 0.01); this.step.CanFocus = true; this.step.Name = "step"; this.step.Adjustment.PageIncrement = 0.1; this.step.ClimbRate = 1; this.step.Digits = ((uint)(2)); this.step.Numeric = true; this.step.Value = 0.1; this.table3.Add(this.step); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table3[this.step])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table3); this.frame2.Add(this.GtkAlignment); this.GtkLabel1 = new Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("<b>Parameters</b>"); this.GtkLabel1.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel1; this.vbox7.Add(this.frame2); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox7[this.frame2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(5)); // Container child vbox7.Gtk.Box+BoxChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.vbox7.Add(this.hbuttonbox2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbuttonbox2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.stop = new Gtk.Button(); this.stop.CanFocus = true; this.stop.Name = "stop"; this.stop.UseUnderline = true; // Container child stop.Gtk.Container+ContainerChild Gtk.Alignment w17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w18 = new Gtk.HBox(); w18.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w19 = new Gtk.Image(); w19.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-stop", Gtk.IconSize.Menu, 16); w18.Add(w19); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w21 = new Gtk.Label(); w21.LabelProp = Mono.Unix.Catalog.GetString("Stop"); w21.UseUnderline = true; w18.Add(w21); w17.Add(w18); this.stop.Add(w17); this.hbox3.Add(this.stop); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.stop])); w25.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.clear1 = new Gtk.Button(); this.clear1.CanFocus = true; this.clear1.Name = "clear1"; this.clear1.UseUnderline = true; // Container child clear1.Gtk.Container+ContainerChild Gtk.Alignment w26 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w27 = new Gtk.HBox(); w27.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w28 = new Gtk.Image(); w28.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16); w27.Add(w28); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w30 = new Gtk.Label(); w30.LabelProp = Mono.Unix.Catalog.GetString("Clear"); w30.UseUnderline = true; w27.Add(w30); w26.Add(w27); this.clear1.Add(w26); this.hbox3.Add(this.clear1); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox3[this.clear1])); w34.Position = 1; this.vbox7.Add(this.hbox3); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox3])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.simulateAll = new Gtk.Button(); this.simulateAll.CanFocus = true; this.simulateAll.Name = "simulateAll"; this.simulateAll.UseUnderline = true; // Container child simulateAll.Gtk.Container+ContainerChild Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w37 = new Gtk.HBox(); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w38 = new Gtk.Image(); w38.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16); w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w40 = new Gtk.Label(); w40.LabelProp = Mono.Unix.Catalog.GetString("Simulate All"); w40.UseUnderline = true; w37.Add(w40); w36.Add(w37); this.simulateAll.Add(w36); this.hbox2.Add(this.simulateAll); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox2[this.simulateAll])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.progressbar2 = new Gtk.ProgressBar(); this.progressbar2.WidthRequest = 30; this.progressbar2.Name = "progressbar2"; this.progressbar2.Text = ""; this.hbox2.Add(this.progressbar2); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox2[this.progressbar2])); w45.Position = 1; this.vbox7.Add(this.hbox2); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox2])); w46.Position = 3; w46.Expand = false; w46.Fill = false; this.hbox5.Add(this.vbox7); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox5[this.vbox7])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.eventBox = new Gtk.EventBox(); this.eventBox.Name = "eventBox"; // Container child eventBox.Gtk.Container+ContainerChild this.drawingArea = new Gtk.DrawingArea(); this.drawingArea.WidthRequest = 300; this.drawingArea.HeightRequest = 300; this.drawingArea.Name = "drawingArea"; this.eventBox.Add(this.drawingArea); this.hbox5.Add(this.eventBox); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.hbox5[this.eventBox])); w49.Position = 1; this.Add(this.hbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 456; this.DefaultHeight = 308; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.step.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.mass.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.drag.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.charge.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.attractors.ValueChanged += new System.EventHandler(this.OnAttractorsValueChanged); this.altitude1.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.stop.Clicked += new System.EventHandler(this.OnStopClicked); this.clear1.Clicked += new System.EventHandler(this.OnClearClicked); this.eventBox.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.OnEventBoxButtonReleaseEvent); this.drawingArea.ExposeEvent += new Gtk.ExposeEventHandler(this.OnDrawingAreaExposeEvent); this.drawingArea.ConfigureEvent += new Gtk.ConfigureEventHandler(this.OnDrawingAreaConfigureEvent); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PropertyManager.TestDynPropDlg this.Name = "PropertyManager.TestDynPropDlg"; this.Title = Mono.Unix.Catalog.GetString("Test Dynamic Property"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.HasSeparator = false; // Internal child PropertyManager.TestDynPropDlg.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.lblPropertyInformation = new Gtk.Label(); this.lblPropertyInformation.Name = "lblPropertyInformation"; this.lblPropertyInformation.Xalign = 0F; this.lblPropertyInformation.LabelProp = Mono.Unix.Catalog.GetString("Property Information:"); this.vbox2.Add(this.lblPropertyInformation); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.lblPropertyInformation])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.tvPropertyInformation = new Gtk.TextView(); this.tvPropertyInformation.WidthRequest = 400; this.tvPropertyInformation.CanFocus = true; this.tvPropertyInformation.Name = "tvPropertyInformation"; this.tvPropertyInformation.Editable = false; this.tvPropertyInformation.WrapMode = ((Gtk.WrapMode)(2)); this.tvPropertyInformation.LeftMargin = 10; this.tvPropertyInformation.RightMargin = 10; this.scrolledwindow1.Add(this.tvPropertyInformation); this.vbox2.Add(this.scrolledwindow1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1])); w4.Position = 1; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.frmSimulatedEffectiveDate = new Gtk.Frame(); this.frmSimulatedEffectiveDate.Name = "frmSimulatedEffectiveDate"; // Container child frmSimulatedEffectiveDate.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonbox1 = new Gtk.HButtonBox(); this.buttonbox1.Name = "buttonbox1"; // Container child buttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnRevert = new Gtk.Button(); this.btnRevert.CanFocus = true; this.btnRevert.Name = "btnRevert"; this.btnRevert.UseStock = true; this.btnRevert.UseUnderline = true; this.btnRevert.Label = "gtk-revert-to-saved"; this.buttonbox1.Add(this.btnRevert); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.buttonbox1[this.btnRevert])); w6.Expand = false; w6.Fill = false; // Container child buttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnApply = new Gtk.Button(); this.btnApply.CanFocus = true; this.btnApply.Name = "btnApply"; this.btnApply.UseStock = true; this.btnApply.UseUnderline = true; this.btnApply.Label = "gtk-apply"; this.buttonbox1.Add(this.btnApply); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.buttonbox1[this.btnApply])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.table1.Add(this.buttonbox1); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.buttonbox1])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calSimEffectiveDate = new ControlWrappers.BoundCalendar(); this.calSimEffectiveDate.Events = ((Gdk.EventMask)(256)); this.calSimEffectiveDate.Name = "calSimEffectiveDate"; this.calSimEffectiveDate.Date = new System.DateTime(0); this.table1.Add(this.calSimEffectiveDate); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.calSimEffectiveDate])); w9.BottomAttach = ((uint)(2)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table1); this.frmSimulatedEffectiveDate.Add(this.GtkAlignment2); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Simulated Effective Date</b>"); this.GtkLabel3.UseMarkup = true; this.frmSimulatedEffectiveDate.LabelWidget = this.GtkLabel3; this.vbox3.Add(this.frmSimulatedEffectiveDate); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.frmSimulatedEffectiveDate])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; this.hbox3.BorderWidth = ((uint)(4)); // Container child hbox3.Gtk.Box+BoxChild this.lblEffectiveValue = new Gtk.Label(); this.lblEffectiveValue.Name = "lblEffectiveValue"; this.lblEffectiveValue.LabelProp = Mono.Unix.Catalog.GetString("Effective Value:"); this.hbox3.Add(this.lblEffectiveValue); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox3[this.lblEffectiveValue])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.txtEffectiveValue = new Gtk.Entry(); this.txtEffectiveValue.CanFocus = true; this.txtEffectiveValue.Name = "txtEffectiveValue"; this.txtEffectiveValue.IsEditable = false; this.txtEffectiveValue.InvisibleChar = '●'; this.hbox3.Add(this.txtEffectiveValue); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.txtEffectiveValue])); w14.Position = 1; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox1.Add(this.vbox3); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w16.Position = 1; w16.Expand = false; w16.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child PropertyManager.TestDynPropDlg.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 6; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 701; this.DefaultHeight = 383; this.Show(); this.btnRevert.Clicked += new System.EventHandler(this.RevertSimulatedDateClicked); this.btnApply.Clicked += new System.EventHandler(this.ApplySimulatedDateClicked); }
public Gtk.Widget MakeSyncPane () { Gtk.VBox vbox = new Gtk.VBox (false, 0); vbox.Spacing = 4; vbox.BorderWidth = 8; Gtk.HBox hbox = new Gtk.HBox (false, 4); Gtk.Label label = new Gtk.Label (Catalog.GetString ("Ser_vice:")); label.Xalign = 0; label.Show (); hbox.PackStart (label, false, false, 0); // Populate the store with all the available SyncServiceAddins syncAddinStore = new Gtk.ListStore (typeof (SyncServiceAddin)); syncAddinIters = new Dictionary<string,Gtk.TreeIter> (); SyncServiceAddin [] addins = Tomboy.DefaultNoteManager.AddinManager.GetSyncServiceAddins (); Array.Sort (addins, CompareSyncAddinsByName); foreach (SyncServiceAddin addin in addins) { Gtk.TreeIter iter = syncAddinStore.Append (); syncAddinStore.SetValue (iter, 0, addin); syncAddinIters [addin.Id] = iter; } syncAddinCombo = new Gtk.ComboBox (syncAddinStore); label.MnemonicWidget = syncAddinCombo; Gtk.CellRendererText crt = new Gtk.CellRendererText (); syncAddinCombo.PackStart (crt, true); syncAddinCombo.SetCellDataFunc (crt, new Gtk.CellLayoutDataFunc (ComboBoxTextDataFunc)); // Read from Preferences which service is configured and select it // by default. Otherwise, just select the first one in the list. string addin_id = Preferences.Get ( Preferences.SYNC_SELECTED_SERVICE_ADDIN) as String; Gtk.TreeIter active_iter; if (addin_id != null && syncAddinIters.ContainsKey (addin_id)) { active_iter = syncAddinIters [addin_id]; syncAddinCombo.SetActiveIter (active_iter); } else { if (syncAddinStore.GetIterFirst (out active_iter) == true) { syncAddinCombo.SetActiveIter (active_iter); } } syncAddinCombo.Changed += OnSyncAddinComboChanged; syncAddinCombo.Show (); hbox.PackStart (syncAddinCombo, true, true, 0); hbox.Show (); vbox.PackStart (hbox, false, false, 0); // Get the preferences GUI for the Sync Addin if (active_iter.Stamp != Gtk.TreeIter.Zero.Stamp) selectedSyncAddin = syncAddinStore.GetValue (active_iter, 0) as SyncServiceAddin; if (selectedSyncAddin != null) syncAddinPrefsWidget = selectedSyncAddin.CreatePreferencesControl (OnSyncAddinPrefsChanged); if (syncAddinPrefsWidget == null) { Gtk.Label l = new Gtk.Label (Catalog.GetString ("Not configurable")); l.Yalign = 0.5f; l.Yalign = 0.5f; syncAddinPrefsWidget = l; } if (syncAddinPrefsWidget != null && addin_id != null && syncAddinIters.ContainsKey (addin_id) && selectedSyncAddin.IsConfigured) syncAddinPrefsWidget.Sensitive = false; syncAddinPrefsWidget.Show (); syncAddinPrefsContainer = new Gtk.VBox (false, 0); syncAddinPrefsContainer.PackStart (syncAddinPrefsWidget, false, false, 0); syncAddinPrefsContainer.Show (); vbox.PackStart (syncAddinPrefsContainer, true, true, 10); // Autosync preference int timeout = (int) Preferences.Get (Preferences.SYNC_AUTOSYNC_TIMEOUT); if (timeout > 0 && timeout < 5) { timeout = 5; Preferences.Set (Preferences.SYNC_AUTOSYNC_TIMEOUT, 5); } Gtk.HBox autosyncBox = new Gtk.HBox (false, 5); // Translators: This is and the next string go together. // Together they look like "Automatically Sync in Background Every [_] Minutes", // where "[_]" is a GtkSpinButton. autosyncCheck = new Gtk.CheckButton (Catalog.GetString ("Automaticall_y Sync in Background Every")); autosyncSpinner = new Gtk.SpinButton (5, 1000, 1); autosyncSpinner.Value = timeout >= 5 ? timeout : 10; Gtk.Label autosyncExtraText = // Translators: See above comment for details on // this string. new Gtk.Label (Catalog.GetString ("Minutes")); autosyncCheck.Active = autosyncSpinner.Sensitive = timeout >= 5; EventHandler updateTimeoutPref = (o, e) => { Preferences.Set (Preferences.SYNC_AUTOSYNC_TIMEOUT, autosyncCheck.Active ? (int) autosyncSpinner.Value : -1); }; autosyncCheck.Toggled += (o, e) => { autosyncSpinner.Sensitive = autosyncCheck.Active; updateTimeoutPref (o, e); }; autosyncSpinner.ValueChanged += updateTimeoutPref; autosyncBox.PackStart (autosyncCheck); autosyncBox.PackStart (autosyncSpinner); autosyncBox.PackStart (autosyncExtraText); vbox.PackStart (autosyncBox, false, true, 0); Gtk.HButtonBox bbox = new Gtk.HButtonBox (); bbox.Spacing = 4; bbox.LayoutStyle = Gtk.ButtonBoxStyle.End; // "Advanced..." button to bring up extra sync config dialog Gtk.Button advancedConfigButton = new Gtk.Button (Catalog.GetString ("_Advanced...")); advancedConfigButton.Clicked += OnAdvancedSyncConfigButton; advancedConfigButton.Show (); bbox.PackStart (advancedConfigButton, false, false, 0); bbox.SetChildSecondary (advancedConfigButton, true); resetSyncAddinButton = new Gtk.Button (Gtk.Stock.Clear); resetSyncAddinButton.Clicked += OnResetSyncAddinButton; resetSyncAddinButton.Sensitive = (selectedSyncAddin != null && addin_id == selectedSyncAddin.Id && selectedSyncAddin.IsConfigured); resetSyncAddinButton.Show (); bbox.PackStart (resetSyncAddinButton, false, false, 0); // TODO: Tabbing should go directly from sync prefs widget to here // TODO: Consider connecting to "Enter" pressed in sync prefs widget saveSyncAddinButton = new Gtk.Button (Gtk.Stock.Save); saveSyncAddinButton.Clicked += OnSaveSyncAddinButton; saveSyncAddinButton.Sensitive = (selectedSyncAddin != null && (addin_id != selectedSyncAddin.Id || !selectedSyncAddin.IsConfigured)); saveSyncAddinButton.Show (); bbox.PackStart (saveSyncAddinButton, false, false, 0); syncAddinCombo.Sensitive = (selectedSyncAddin == null || addin_id != selectedSyncAddin.Id || !selectedSyncAddin.IsConfigured); bbox.Show (); vbox.PackStart (bbox, false, false, 0); vbox.ShowAll (); return vbox; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("RMSC Booklet Generator"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.lblShows = new Gtk.Label(); this.lblShows.Name = "lblShows"; this.lblShows.LabelProp = Mono.Unix.Catalog.GetString("Select Show:"); this.hbox1.Add(this.lblShows); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblShows])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.cbShows = Gtk.ComboBox.NewText(); this.cbShows.Name = "cbShows"; this.hbox1.Add(this.cbShows); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbShows])); w2.Position = 1; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnGenerate = new Gtk.Button(); this.btnGenerate.Sensitive = false; this.btnGenerate.CanFocus = true; this.btnGenerate.Name = "btnGenerate"; this.btnGenerate.UseStock = true; this.btnGenerate.UseUnderline = true; this.btnGenerate.Label = "gtk-save"; this.hbuttonbox1.Add(this.btnGenerate); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.btnGenerate])); w4.Expand = false; w4.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnExit = new Gtk.Button(); this.btnExit.CanFocus = true; this.btnExit.Name = "btnExit"; this.btnExit.UseStock = true; this.btnExit.UseUnderline = true; this.btnExit.Label = "gtk-quit"; this.hbuttonbox1.Add(this.btnExit); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.btnExit])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbuttonbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.pbProgress = new Gtk.ProgressBar(); this.pbProgress.Name = "pbProgress"; this.pbProgress.Text = Mono.Unix.Catalog.GetString("Creating PDF..."); this.vbox1.Add(this.pbProgress); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.pbProgress])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 390; this.DefaultHeight = 115; this.pbProgress.Hide(); this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.cbShows.Changed += new System.EventHandler(this.ShowCursorChanged); this.btnGenerate.Clicked += new System.EventHandler(this.SaveButtonClicked); this.btnExit.Clicked += new System.EventHandler(this.ExitButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget RoboWarX.GTK.MainWindow this.Name = "RoboWarX.GTK.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("RoboWarX"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.DefaultWidth = 600; this.DefaultHeight = 320; // Container child RoboWarX.GTK.MainWindow.Gtk.Container+ContainerChild this.mainvbox = new Gtk.VBox(); this.mainvbox.Name = "mainvbox"; // Container child mainvbox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 7; this.hbox1.BorderWidth = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.arenaview = new RoboWarX.GTK.ArenaWidget(); this.arenaview.Name = "arenaview"; this.hbox1.Add(this.arenaview); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.arenaview])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.robotvbox = new Gtk.VBox(); this.robotvbox.Name = "robotvbox"; this.robotvbox.Spacing = 2; // Container child robotvbox.Gtk.Box+BoxChild this.spacer1 = new Gtk.Label(); this.spacer1.Name = "spacer1"; this.robotvbox.Add(this.spacer1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.robotvbox[this.spacer1])); w2.PackType = ((Gtk.PackType)(1)); w2.Position = 0; // Container child robotvbox.Gtk.Box+BoxChild this.hbox15 = new Gtk.HBox(); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.spacer2 = new Gtk.Label(); this.spacer2.Name = "spacer2"; this.hbox15.Add(this.spacer2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox15[this.spacer2])); w3.Position = 0; // Container child hbox15.Gtk.Box+BoxChild this.openbutton = new Gtk.Button(); this.openbutton.CanFocus = true; this.openbutton.Name = "openbutton"; this.openbutton.UseStock = true; this.openbutton.UseUnderline = true; this.openbutton.Label = "gtk-open"; this.hbox15.Add(this.openbutton); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox15[this.openbutton])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.robotvbox.Add(this.hbox15); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.robotvbox[this.hbox15])); w5.PackType = ((Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.robotvbox); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.robotvbox])); w6.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 12; // Container child hbox8.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Spacing = 6; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.newbutton = new Gtk.Button(); this.newbutton.CanFocus = true; this.newbutton.Name = "newbutton"; this.newbutton.UseStock = true; this.newbutton.UseUnderline = true; this.newbutton.Label = "gtk-new"; this.hbuttonbox1.Add(this.newbutton); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.newbutton])); w7.Expand = false; w7.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.playbutton = new Gtk.Button(); this.playbutton.CanFocus = true; this.playbutton.Name = "playbutton"; this.playbutton.UseStock = true; this.playbutton.UseUnderline = true; this.playbutton.Label = "gtk-media-play"; this.hbuttonbox1.Add(this.playbutton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.playbutton])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.pausebutton = new Gtk.Button(); this.pausebutton.CanFocus = true; this.pausebutton.Name = "pausebutton"; this.pausebutton.UseStock = true; this.pausebutton.UseUnderline = true; this.pausebutton.Label = "gtk-media-pause"; this.hbuttonbox1.Add(this.pausebutton); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.pausebutton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.hbox8.Add(this.hbuttonbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox8[this.hbuttonbox1])); w10.Position = 0; w10.Expand = false; // Container child hbox8.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Homogeneous = true; this.vbox4.Spacing = 2; // Container child vbox4.Gtk.Box+BoxChild this.chrononlabel = new Gtk.Label(); this.chrononlabel.Name = "chrononlabel"; this.chrononlabel.Xalign = 0F; this.chrononlabel.LabelProp = Mono.Unix.Catalog.GetString("Chronon __ (~_.__ c/s)"); this.vbox4.Add(this.chrononlabel); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox4[this.chrononlabel])); w11.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.seedlabel = new Gtk.Label(); this.seedlabel.Name = "seedlabel"; this.seedlabel.Xalign = 0F; this.seedlabel.LabelProp = Mono.Unix.Catalog.GetString("<small>Match seed: _________________</small>"); this.seedlabel.UseMarkup = true; this.vbox4.Add(this.seedlabel); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox4[this.seedlabel])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox8.Add(this.vbox4); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox8[this.vbox4])); w13.Position = 1; this.vbox1.Add(this.hbox8); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox8])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox1.Add(this.vbox1); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w15.Position = 1; this.mainvbox.Add(this.hbox1); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.mainvbox[this.hbox1])); w16.PackType = ((Gtk.PackType)(1)); w16.Position = 0; this.Add(this.mainvbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.ScrapBookView Stetic.BinContainer.Attach(this); this.Events = ((Gdk.EventMask)(256)); this.Name = "Gedcom.UI.GTK.Widgets.ScrapBookView"; // Container child Gedcom.UI.GTK.Widgets.ScrapBookView.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.RecordsScrolledWindow = new Gtk.ScrolledWindow(); this.RecordsScrolledWindow.CanFocus = true; this.RecordsScrolledWindow.Name = "RecordsScrolledWindow"; this.RecordsScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(2)); this.RecordsScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child RecordsScrolledWindow.Gtk.Container+ContainerChild this.RecordTreeView = new Gtk.TreeView(); this.RecordTreeView.CanFocus = true; this.RecordTreeView.Name = "RecordTreeView"; this.RecordsScrolledWindow.Add(this.RecordTreeView); this.vbox2.Add(this.RecordsScrolledWindow); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.RecordsScrolledWindow])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.Spacing = 6; this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.AddRecordButton = new Gtk.Button(); this.AddRecordButton.CanFocus = true; this.AddRecordButton.Name = "AddRecordButton"; this.AddRecordButton.UseStock = true; this.AddRecordButton.UseUnderline = true; this.AddRecordButton.Label = "gtk-add"; this.hbuttonbox2.Add(this.AddRecordButton); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.AddRecordButton])); w3.Expand = false; w3.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.RemoveRecordButton = new Gtk.Button(); this.RemoveRecordButton.CanFocus = true; this.RemoveRecordButton.Name = "RemoveRecordButton"; this.RemoveRecordButton.UseStock = true; this.RemoveRecordButton.UseUnderline = true; this.RemoveRecordButton.Label = "gtk-remove"; this.hbuttonbox2.Add(this.RemoveRecordButton); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.RemoveRecordButton])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbuttonbox2); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox2])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.DetailsNotebook = new Gtk.Notebook(); this.DetailsNotebook.CanFocus = true; this.DetailsNotebook.Name = "DetailsNotebook"; this.DetailsNotebook.CurrentPage = 1; // Container child DetailsNotebook.Gtk.Notebook+NotebookChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "Title:"; this.hbox2.Add(this.label1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.TitleEntry = new Gtk.Entry(); this.TitleEntry.CanFocus = true; this.TitleEntry.Name = "TitleEntry"; this.TitleEntry.IsEditable = true; this.TitleEntry.InvisibleChar = '●'; this.hbox2.Add(this.TitleEntry); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox2[this.TitleEntry])); w9.Position = 1; this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.FileTreeView = new Gtk.TreeView(); this.FileTreeView.CanFocus = true; this.FileTreeView.Name = "FileTreeView"; this.scrolledwindow2.Add(this.FileTreeView); this.vbox3.Add(this.scrolledwindow2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow2])); w12.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox3 = new Gtk.HButtonBox(); this.hbuttonbox3.Name = "hbuttonbox3"; this.hbuttonbox3.Spacing = 6; this.hbuttonbox3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.AddFileButton = new Gtk.Button(); this.AddFileButton.CanFocus = true; this.AddFileButton.Name = "AddFileButton"; this.AddFileButton.UseStock = true; this.AddFileButton.UseUnderline = true; this.AddFileButton.Label = "gtk-add"; this.hbuttonbox3.Add(this.AddFileButton); Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.AddFileButton])); w13.Expand = false; w13.Fill = false; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.RemoveFileButton = new Gtk.Button(); this.RemoveFileButton.CanFocus = true; this.RemoveFileButton.Name = "RemoveFileButton"; this.RemoveFileButton.UseStock = true; this.RemoveFileButton.UseUnderline = true; this.RemoveFileButton.Label = "gtk-remove"; this.hbuttonbox3.Add(this.RemoveFileButton); Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.RemoveFileButton])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox3.Add(this.hbuttonbox3); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox3])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.DetailsNotebook.Add(this.vbox3); // Notebook tab this.DetailsLabel = new Gtk.Label(); this.DetailsLabel.Name = "DetailsLabel"; this.DetailsLabel.LabelProp = "Details"; this.DetailsNotebook.SetTabLabel(this.vbox3, this.DetailsLabel); this.DetailsLabel.ShowAll(); // Container child DetailsNotebook.Gtk.Notebook+NotebookChild this.NotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.NotesView.Events = ((Gdk.EventMask)(256)); this.NotesView.Name = "NotesView"; this.NotesView.DataNotes = false; this.NotesView.ListOnly = false; this.NotesView.NoteOnly = false; this.DetailsNotebook.Add(this.NotesView); Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.DetailsNotebook[this.NotesView])); w17.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "Notes"; this.DetailsNotebook.SetTabLabel(this.NotesView, this.label2); this.label2.ShowAll(); this.hbox1.Add(this.DetailsNotebook); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox1[this.DetailsNotebook])); w18.Position = 2; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.AddRecordButton.Clicked += new System.EventHandler(this.OnAddRecordButton_Clicked); this.RemoveRecordButton.Clicked += new System.EventHandler(this.OnRemoveRecordButton_Clicked); this.FileTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnFileTreeView_ButtonPressEvent); this.AddFileButton.Clicked += new System.EventHandler(this.OnAddFileButton_Clicked); this.RemoveFileButton.Clicked += new System.EventHandler(this.OnRemoveFileButton_Clicked); this.NotesView.ShowSourceCitation += new System.EventHandler<Gedcom.UI.Common.SourceCitationArgs>(this.OnNotesView_ShowSourceCitation); this.NotesView.SelectNewNote += new System.EventHandler<Gedcom.UI.Common.NoteArgs>(this.OnNotesView_SelectNewNote); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.DuplicateView Stetic.BinContainer.Attach(this); this.Name = "Gedcom.UI.GTK.Widgets.DuplicateView"; // Container child Gedcom.UI.GTK.Widgets.DuplicateView.Gtk.Container+ContainerChild this.vpaned1 = new Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 225; this.vpaned1.BorderWidth = ((uint)(6)); // Container child vpaned1.Gtk.Paned+PanedChild this.DuplicateList = new Gedcom.UI.GTK.Widgets.IndividualList(); this.DuplicateList.Events = ((Gdk.EventMask)(256)); this.DuplicateList.Name = "DuplicateList"; this.vpaned1.Add(this.DuplicateList); Gtk.Paned.PanedChild w1 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.DuplicateList])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.DetailsBox = new Gtk.VBox(); this.DetailsBox.Sensitive = false; this.DetailsBox.Name = "DetailsBox"; this.DetailsBox.Spacing = 6; // Container child DetailsBox.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.DuplicatesLabel = new Gtk.Label(); this.DuplicatesLabel.Name = "DuplicatesLabel"; this.DuplicatesLabel.LabelProp = "Potential Duplicate 1 of 1"; this.hbox3.Add(this.DuplicatesLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox3[this.DuplicatesLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.MergeButton = new Gtk.Button(); this.MergeButton.CanFocus = true; this.MergeButton.Name = "MergeButton"; this.MergeButton.UseUnderline = true; // Container child MergeButton.Gtk.Container+ContainerChild Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w4 = new Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w5 = new Gtk.Image(); w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-convert", Gtk.IconSize.Button, 20); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w7 = new Gtk.Label(); w7.LabelProp = "Merge"; w7.UseUnderline = true; w4.Add(w7); w3.Add(w4); this.MergeButton.Add(w3); this.hbox3.Add(this.MergeButton); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox3[this.MergeButton])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.hbuttonbox4 = new Gtk.HButtonBox(); this.hbuttonbox4.Name = "hbuttonbox4"; this.hbuttonbox4.Spacing = 6; this.hbuttonbox4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.BackButton = new Gtk.Button(); this.BackButton.CanFocus = true; this.BackButton.Name = "BackButton"; this.BackButton.UseStock = true; this.BackButton.UseUnderline = true; this.BackButton.Label = "gtk-go-back"; this.hbuttonbox4.Add(this.BackButton); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.BackButton])); w12.Expand = false; w12.Fill = false; // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.ForwardButton = new Gtk.Button(); this.ForwardButton.CanFocus = true; this.ForwardButton.Name = "ForwardButton"; this.ForwardButton.UseStock = true; this.ForwardButton.UseUnderline = true; this.ForwardButton.Label = "gtk-go-forward"; this.hbuttonbox4.Add(this.ForwardButton); Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.ForwardButton])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.hbox3.Add(this.hbuttonbox4); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.hbuttonbox4])); w14.Position = 2; this.DetailsBox.Add(this.hbox3); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.DetailsBox[this.hbox3])); w15.Position = 0; w15.Fill = false; // Container child DetailsBox.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.PersonADuplicateView = new Gedcom.UI.GTK.Widgets.DuplicateIndividualView(); this.PersonADuplicateView.Events = ((Gdk.EventMask)(256)); this.PersonADuplicateView.Name = "PersonADuplicateView"; this.hbox5.Add(this.PersonADuplicateView); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox5[this.PersonADuplicateView])); w16.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.PersonBDuplicateView = new Gedcom.UI.GTK.Widgets.DuplicateIndividualView(); this.PersonBDuplicateView.Events = ((Gdk.EventMask)(256)); this.PersonBDuplicateView.Name = "PersonBDuplicateView"; this.hbox5.Add(this.PersonBDuplicateView); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.PersonBDuplicateView])); w17.Position = 1; this.DetailsBox.Add(this.hbox5); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.DetailsBox[this.hbox5])); w18.Position = 1; this.vpaned1.Add(this.DetailsBox); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DuplicateList.RecordChanged += new System.EventHandler(this.OnDuplicateList_RecordChanged); this.MergeButton.Clicked += new System.EventHandler(this.OnMergeButton_Clicked); this.BackButton.Clicked += new System.EventHandler(this.OnBackButton_Clicked); this.ForwardButton.Clicked += new System.EventHandler(this.OnForwardButton_Clicked); }
public BugzillaPreferences() : base(false, 12) { last_opened_dir = Environment.GetEnvironmentVariable("HOME"); Gtk.Label l = new Gtk.Label(Catalog.GetString( "You can use any bugzilla just by dragging links " + "into notes. If you want a special icon for " + "certain hosts, add them here.")); l.Wrap = true; l.Xalign = 0; PackStart(l, false, false, 0); icon_store = CreateIconStore(); icon_tree = new Gtk.TreeView(icon_store); icon_tree.HeadersVisible = true; icon_tree.Selection.Mode = Gtk.SelectionMode.Single; icon_tree.Selection.Changed += SelectionChanged; Gtk.CellRenderer renderer; Gtk.TreeViewColumn host_col = new Gtk.TreeViewColumn(); host_col.Title = Catalog.GetString("Host Name"); host_col.Sizing = Gtk.TreeViewColumnSizing.Autosize; host_col.Resizable = true; host_col.Expand = true; host_col.MinWidth = 200; renderer = new Gtk.CellRendererText(); host_col.PackStart(renderer, true); host_col.AddAttribute(renderer, "text", 1 /* host name */); host_col.SortColumnId = 1; /* host name */ host_col.SortIndicator = false; host_col.Reorderable = false; host_col.SortOrder = Gtk.SortType.Ascending; icon_tree.AppendColumn(host_col); Gtk.TreeViewColumn icon_col = new Gtk.TreeViewColumn(); icon_col.Title = Catalog.GetString("Icon"); icon_col.Sizing = Gtk.TreeViewColumnSizing.Fixed; icon_col.MaxWidth = 50; icon_col.MinWidth = 50; icon_col.Resizable = false; renderer = new Gtk.CellRendererPixbuf(); icon_col.PackStart(renderer, false); icon_col.AddAttribute(renderer, "pixbuf", 0 /* icon */); icon_tree.AppendColumn(icon_col); Gtk.ScrolledWindow sw = new Gtk.ScrolledWindow(); sw.ShadowType = Gtk.ShadowType.In; sw.HeightRequest = 200; sw.WidthRequest = 300; sw.SetPolicy(Gtk.PolicyType.Automatic, Gtk.PolicyType.Automatic); sw.Add(icon_tree); PackStart(sw, true, true, 0); add_button = new Gtk.Button(Gtk.Stock.Add); add_button.Clicked += AddClicked; remove_button = new Gtk.Button(Gtk.Stock.Remove); remove_button.Sensitive = false; remove_button.Clicked += RemoveClicked; Gtk.HButtonBox hbutton_box = new Gtk.HButtonBox(); hbutton_box.Layout = Gtk.ButtonBoxStyle.Start; hbutton_box.Spacing = 6; hbutton_box.PackStart(add_button); hbutton_box.PackStart(remove_button); PackStart(hbutton_box, false, false, 0); ShowAll(); }
private void BuildNotebook() { var vBox = new Gtk.VBox( false, 5 ); var hBox = new Gtk.HPaned(); this.nbDocPages = new Gtk.Notebook(); this.nbDocPages.SwitchPage += (o, args) => this.OnCurrentPageChanged(); // Text view for the document var swScrollText = new Gtk.ScrolledWindow(); this.txtDocument = new Gtk.TextView { Editable = false }; swScrollText.AddWithViewport( this.txtDocument ); this.txtDocument.FocusOutEvent += (o, args) => this.StoreQuestionText(); // Test treeview this.tvDocument = new Gtk.TreeView(); var swScroll = new Gtk.ScrolledWindow(); var frmTest = new Gtk.Frame( "Test" ); ( (Gtk.Label) frmTest.LabelWidget ).Markup = "<b>Test</b>"; frmTest.Add( swScroll ); swScroll.AddWithViewport( this.tvDocument ); // Frame question var frmQuestion = new Gtk.Frame( "Question" ); var swScrolledQuestion = new Gtk.ScrolledWindow(); ( (Gtk.Label) frmQuestion.LabelWidget ).Markup = "<b>Question</b>"; this.edQuestionText = new Gtk.TextView(); this.edQuestionText.KeyReleaseEvent += (o, args) => this.OnQuestionTextChanged(); swScrolledQuestion.AddWithViewport( edQuestionText ); frmQuestion.Add( swScrolledQuestion ); vBox.PackStart( frmQuestion, false, false, 5 ); // Frame answers var bttAnswers = new Gtk.HButtonBox(); var vBoxAnswers = new Gtk.VBox( false, 5 ); var frmAnswer = new Gtk.Frame( "Answer" ); var hBoxAnswers = new Gtk.HBox( false, 5 ); var hBoxCorrect = new Gtk.HBox( false, 5 ); var swScrolledAnswers = new Gtk.ScrolledWindow(); ( (Gtk.Label) frmAnswer.LabelWidget ).Markup = "<b>Answer</b>"; this.tvAnswers = new Gtk.TreeView(); swScrolledAnswers.Add( this.tvAnswers ); this.btAddAnswer = new Gtk.Button( new Gtk.Image( this.iconAdd.ScaleSimple( 16, 16, InterpType.Bilinear ) ) ); this.btAddAnswer.Clicked += (sender, e) => this.AddAnswer(); this.btRemoveAnswer = new Gtk.Button( new Gtk.Image( this.iconRemove.ScaleSimple( 16, 16, InterpType.Bilinear ) ) ); this.btRemoveAnswer.Clicked += (sender, e) => this.RemoveAnswer(); bttAnswers.Add( this.btAddAnswer ); bttAnswers.Add( this.btRemoveAnswer ); bttAnswers.Layout = Gtk.ButtonBoxStyle.Center; bttAnswers.Spacing = 20; hBoxAnswers.PackStart( swScrolledAnswers, true, true, 5 ); vBoxAnswers.PackStart( hBoxAnswers, true, true, 5 ); this.spNumberValidAnswer = new Gtk.SpinButton( 1, 20, 1 ); this.spNumberValidAnswer.ValueChanged += (o, args) => this.OnCorrectAnswerChanged(); hBoxCorrect.PackStart( new Gtk.Label( "Correct answer:" ), false, false, 5 ); hBoxCorrect.PackStart( this.spNumberValidAnswer, false, false, 5 ); hBoxCorrect.PackEnd( bttAnswers, false, false, 5 ); vBoxAnswers.PackStart( hBoxCorrect, false, false, 5 ); frmAnswer.Add( vBoxAnswers ); vBox.PackStart( frmAnswer, true, true, 5 ); // Layout hBox.Pack1( frmTest, false, false ); hBox.Pack2( vBox, false, false ); this.nbDocPages.AppendPage( hBox, new Gtk.Label( "Edit" ) ); this.nbDocPages.AppendPage( swScrollText, new Gtk.Label( "Document" ) ); this.nbDocPages.Page = 0; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Whee.WordBuilder.Dialogs.ExportDialog this.Name = "Whee.WordBuilder.Dialogs.ExportDialog"; this.Title = "Export"; this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; // Internal child Whee.WordBuilder.Dialogs.ExportDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.exportFileChooserButton = new Gtk.FileChooserButton("Export to file", ((Gtk.FileChooserAction)(0))); this.exportFileChooserButton.Name = "exportFileChooserButton"; this.exportFileChooserButton.DoOverwriteConfirmation = true; this.table1.Add(this.exportFileChooserButton); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.exportFileChooserButton])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.exportFormatComboBox = Gtk.ComboBox.NewText(); this.exportFormatComboBox.Name = "exportFormatComboBox"; this.table1.Add(this.exportFormatComboBox); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.exportFormatComboBox])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "Export format:"; this.table1.Add(this.label1); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "Filename:"; this.table1.Add(this.label2); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.table1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Internal child Whee.WordBuilder.Dialogs.ExportDialog.ActionArea Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 10; w7.BorderWidth = ((uint)(5)); w7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel])); w8.Expand = false; w8.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 429; this.DefaultHeight = 154; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.NewSiteDialog this.Name = "Mono.Addins.Gui.NewSiteDialog"; this.Title = Mono.Unix.Catalog.GetString("Add New Repository"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); this.DefaultWidth = 550; // Internal child Mono.Addins.Gui.NewSiteDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox11"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox11.Gtk.Box+BoxChild this.vbox89 = new Gtk.VBox(); this.vbox89.Name = "vbox89"; this.vbox89.Spacing = 6; this.vbox89.BorderWidth = ((uint)(6)); // Container child vbox89.Gtk.Box+BoxChild this.label121 = new Gtk.Label(); this.label121.Name = "label121"; this.label121.Xalign = 0F; this.label121.LabelProp = Mono.Unix.Catalog.GetString("Select the location of the repository you want to register:"); this.vbox89.Add(this.label121); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox89[this.label121])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox89.Gtk.Box+BoxChild this.btnOnlineRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register an on-line repository")); this.btnOnlineRep.CanFocus = true; this.btnOnlineRep.Name = "btnOnlineRep"; this.btnOnlineRep.Active = true; this.btnOnlineRep.DrawIndicator = true; this.btnOnlineRep.UseUnderline = true; this.btnOnlineRep.Group = new GLib.SList(System.IntPtr.Zero); this.vbox89.Add(this.btnOnlineRep); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnOnlineRep])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox89.Gtk.Box+BoxChild this.hbox68 = new Gtk.HBox(); this.hbox68.Name = "hbox68"; this.hbox68.Spacing = 6; // Container child hbox68.Gtk.Box+BoxChild this.label122 = new Gtk.Label(); this.label122.WidthRequest = 32; this.label122.Name = "label122"; this.label122.LabelProp = ""; this.hbox68.Add(this.label122); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox68[this.label122])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox68.Gtk.Box+BoxChild this.label119 = new Gtk.Label(); this.label119.Name = "label119"; this.label119.LabelProp = Mono.Unix.Catalog.GetString("Url:"); this.hbox68.Add(this.label119); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox68[this.label119])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox68.Gtk.Box+BoxChild this.urlText = new Gtk.Entry(); this.urlText.CanFocus = true; this.urlText.Name = "urlText"; this.urlText.IsEditable = true; this.urlText.InvisibleChar = '●'; this.hbox68.Add(this.urlText); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox68[this.urlText])); w6.Position = 2; this.vbox89.Add(this.hbox68); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox89.Gtk.Box+BoxChild this.btnLocalRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register a local repository")); this.btnLocalRep.CanFocus = true; this.btnLocalRep.Name = "btnLocalRep"; this.btnLocalRep.DrawIndicator = true; this.btnLocalRep.UseUnderline = true; this.btnLocalRep.Group = this.btnOnlineRep.Group; this.vbox89.Add(this.btnLocalRep); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnLocalRep])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox89.Gtk.Box+BoxChild this.hbox69 = new Gtk.HBox(); this.hbox69.Name = "hbox69"; this.hbox69.Spacing = 6; // Container child hbox69.Gtk.Box+BoxChild this.label123 = new Gtk.Label(); this.label123.WidthRequest = 32; this.label123.Name = "label123"; this.label123.LabelProp = ""; this.hbox69.Add(this.label123); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox69[this.label123])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox69.Gtk.Box+BoxChild this.label120 = new Gtk.Label(); this.label120.Name = "label120"; this.label120.LabelProp = Mono.Unix.Catalog.GetString("Path:"); this.hbox69.Add(this.label120); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox69[this.label120])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox69.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.pathEntry = new Gtk.Entry(); this.pathEntry.CanFocus = true; this.pathEntry.Name = "pathEntry"; this.pathEntry.IsEditable = true; this.pathEntry.InvisibleChar = '●'; this.hbox1.Add(this.pathEntry); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.pathEntry])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonBrowse = new Gtk.Button(); this.buttonBrowse.CanFocus = true; this.buttonBrowse.Name = "buttonBrowse"; this.buttonBrowse.UseUnderline = true; this.buttonBrowse.Label = Mono.Unix.Catalog.GetString("Browse..."); this.hbox1.Add(this.buttonBrowse); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonBrowse])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox69.Add(this.hbox1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1])); w13.Position = 2; this.vbox89.Add(this.hbox69); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69])); w14.Position = 4; w14.Expand = false; w14.Fill = false; w1.Add(this.vbox89); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89])); w15.Position = 0; // Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea Gtk.HButtonBox w16 = this.ActionArea; w16.Name = "dialog-action_area11"; w16.Spacing = 10; w16.BorderWidth = ((uint)(5)); w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild this.cancelbutton1 = new Gtk.Button(); this.cancelbutton1.CanDefault = true; this.cancelbutton1.CanFocus = true; this.cancelbutton1.Name = "cancelbutton1"; this.cancelbutton1.UseStock = true; this.cancelbutton1.UseUnderline = true; this.cancelbutton1.Label = "gtk-cancel"; this.AddActionWidget(this.cancelbutton1, -6); // Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild this.btnOk = new Gtk.Button(); this.btnOk.CanDefault = true; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseStock = true; this.btnOk.UseUnderline = true; this.btnOk.Label = "gtk-ok"; this.AddActionWidget(this.btnOk, -5); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.btnOk])); w18.Position = 1; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultHeight = 249; this.Show(); this.btnOnlineRep.Clicked += new System.EventHandler(this.OnOptionClicked); this.urlText.Changed += new System.EventHandler(this.OnUrlTextChanged); this.btnLocalRep.Clicked += new System.EventHandler(this.OnOptionClicked); this.pathEntry.Changed += new System.EventHandler(this.OnPathEntryChanged); this.buttonBrowse.Clicked += new System.EventHandler(this.OnButtonBrowseClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Mono.Addins.Gui.ErrorDialog this.Name = "Mono.Addins.Gui.ErrorDialog"; this.Title = Mono.Unix.Catalog.GetString("MonoDevelop"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); // Internal child Mono.Addins.Gui.ErrorDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox5"; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox5.Gtk.Box+BoxChild this.hbox59 = new Gtk.HBox(); this.hbox59.Name = "hbox59"; this.hbox59.Spacing = 6; this.hbox59.BorderWidth = ((uint)(6)); // Container child hbox59.Gtk.Box+BoxChild this.vbox72 = new Gtk.VBox(); this.vbox72.Name = "vbox72"; // Container child vbox72.Gtk.Box+BoxChild this.icon = new Gtk.Image(); this.icon.Name = "icon"; this.icon.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-error", 48); this.vbox72.Add(this.icon); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox72[this.icon])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.hbox59.Add(this.vbox72); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox72])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.vbox73 = new Gtk.VBox(); this.vbox73.Name = "vbox73"; this.vbox73.Spacing = 12; // Container child vbox73.Gtk.Box+BoxChild this.descriptionLabel = new Gtk.Label(); this.descriptionLabel.WidthRequest = 540; this.descriptionLabel.CanFocus = true; this.descriptionLabel.Name = "descriptionLabel"; this.descriptionLabel.Xalign = 0F; this.descriptionLabel.LabelProp = "An exception has been thrown 1 2 3 4 5 6 7 8 9 10 11 12 13 14"; this.descriptionLabel.Wrap = true; this.descriptionLabel.Selectable = true; this.vbox73.Add(this.descriptionLabel); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox73[this.descriptionLabel])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox73.Gtk.Box+BoxChild this.expander = new Gtk.Expander(null); this.expander.CanFocus = true; this.expander.Name = "expander"; // Container child expander.Gtk.Container+ContainerChild this.scrolledwindow10 = new Gtk.ScrolledWindow(); this.scrolledwindow10.CanFocus = true; this.scrolledwindow10.Name = "scrolledwindow10"; this.scrolledwindow10.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow10.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow10.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow10.Gtk.Container+ContainerChild this.detailsTextView = new Gtk.TextView(); this.detailsTextView.HeightRequest = 250; this.detailsTextView.CanFocus = true; this.detailsTextView.Name = "detailsTextView"; this.detailsTextView.PixelsAboveLines = 2; this.detailsTextView.PixelsBelowLines = 2; this.detailsTextView.LeftMargin = 6; this.detailsTextView.RightMargin = 6; this.scrolledwindow10.Add(this.detailsTextView); this.expander.Add(this.scrolledwindow10); this.label102 = new Gtk.Label(); this.label102.Name = "label102"; this.label102.LabelProp = Mono.Unix.Catalog.GetString("Details"); this.expander.LabelWidget = this.label102; this.vbox73.Add(this.expander); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox73[this.expander])); w7.Position = 1; this.hbox59.Add(this.vbox73); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox59[this.vbox73])); w8.Position = 1; w1.Add(this.hbox59); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.hbox59])); w9.Position = 0; // Internal child Mono.Addins.Gui.ErrorDialog.ActionArea Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "dialog-action_area5"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area5.Gtk.ButtonBox+ButtonBoxChild this.okButton = new Gtk.Button(); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-ok"; this.AddActionWidget(this.okButton, -5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 628; this.DefaultHeight = 145; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Mono.Addins.Gui.AddinInstallDialog this.Name = "Mono.Addins.Gui.AddinInstallDialog"; this.Title = Mono.Unix.Catalog.GetString("Add-in Installation"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.Modal = true; this.DefaultWidth = 725; this.DefaultHeight = 550; // Internal child Mono.Addins.Gui.AddinInstallDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox9"; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox9.Gtk.Box+BoxChild this.wizardNotebook = new Gtk.Notebook(); this.wizardNotebook.CanFocus = true; this.wizardNotebook.Name = "wizardNotebook"; this.wizardNotebook.CurrentPage = 0; this.wizardNotebook.ShowBorder = false; this.wizardNotebook.BorderWidth = ((uint)(12)); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox82 = new Gtk.VBox(); this.vbox82.Name = "vbox82"; this.vbox82.Spacing = 12; // Container child vbox82.Gtk.Box+BoxChild this.label113 = new Gtk.Label(); this.label113.Name = "label113"; this.label113.Xalign = 0F; this.label113.LabelProp = Mono.Unix.Catalog.GetString("<b>Select the add-ins to install and click on Next</b>"); this.label113.UseMarkup = true; this.vbox82.Add(this.label113); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox82[this.label113])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox66 = new Gtk.HBox(); this.hbox66.Name = "hbox66"; this.hbox66.Spacing = 6; // Container child hbox66.Gtk.Box+BoxChild this.label112 = new Gtk.Label(); this.label112.Name = "label112"; this.label112.LabelProp = Mono.Unix.Catalog.GetString("Install from:"); this.hbox66.Add(this.label112); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox66[this.label112])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.repoCombo = new Gtk.ComboBox(); this.repoCombo.Name = "repoCombo"; this.hbox66.Add(this.repoCombo); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox66[this.repoCombo])); w4.Position = 1; // Container child hbox66.Gtk.Box+BoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseStock = true; this.button1.UseUnderline = true; this.button1.Label = "gtk-refresh"; this.hbox66.Add(this.button1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox66[this.button1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.btnManageSites = new Gtk.Button(); this.btnManageSites.CanFocus = true; this.btnManageSites.Name = "btnManageSites"; this.btnManageSites.UseUnderline = true; this.btnManageSites.Label = Mono.Unix.Catalog.GetString("_Repositories..."); this.hbox66.Add(this.btnManageSites); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox66[this.btnManageSites])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox82.Add(this.hbox66); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox66])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox70 = new Gtk.HBox(); this.hbox70.Name = "hbox70"; this.hbox70.Spacing = 12; // Container child hbox70.Gtk.Box+BoxChild this.vbox92 = new Gtk.VBox(); this.vbox92.Name = "vbox92"; this.vbox92.Spacing = 6; // Container child vbox92.Gtk.Box+BoxChild this.scrolledwindow18 = new Gtk.ScrolledWindow(); this.scrolledwindow18.CanFocus = true; this.scrolledwindow18.Name = "scrolledwindow18"; this.scrolledwindow18.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow18.Gtk.Container+ContainerChild this.addinTree = new Gtk.TreeView(); this.addinTree.CanFocus = true; this.addinTree.Name = "addinTree"; this.scrolledwindow18.Add(this.addinTree); this.vbox92.Add(this.scrolledwindow18); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox92[this.scrolledwindow18])); w9.Position = 0; // Container child vbox92.Gtk.Box+BoxChild this.hbox83 = new Gtk.HBox(); this.hbox83.Name = "hbox83"; this.hbox83.Spacing = 6; // Container child hbox83.Gtk.Box+BoxChild this.filterComboBox = Gtk.ComboBox.NewText(); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show all packages")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show new versions only")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show updates only")); this.filterComboBox.Name = "filterComboBox"; this.hbox83.Add(this.filterComboBox); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox83[this.filterComboBox])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnInfo = new Gtk.Button(); this.btnInfo.CanFocus = true; this.btnInfo.Name = "btnInfo"; this.btnInfo.UseStock = true; this.btnInfo.UseUnderline = true; this.btnInfo.Label = "gtk-dialog-info"; this.hbox83.Add(this.btnInfo); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnInfo])); w11.PackType = ((Gtk.PackType)(1)); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnUnselectAll = new Gtk.Button(); this.btnUnselectAll.CanFocus = true; this.btnUnselectAll.Name = "btnUnselectAll"; this.btnUnselectAll.UseUnderline = true; this.btnUnselectAll.Label = Mono.Unix.Catalog.GetString("_Unselect All"); this.hbox83.Add(this.btnUnselectAll); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnUnselectAll])); w12.PackType = ((Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnSelectAll = new Gtk.Button(); this.btnSelectAll.CanFocus = true; this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.UseUnderline = true; this.btnSelectAll.Label = Mono.Unix.Catalog.GetString("Select _All"); this.hbox83.Add(this.btnSelectAll); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnSelectAll])); w13.PackType = ((Gtk.PackType)(1)); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.vbox92.Add(this.hbox83); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox92[this.hbox83])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox70.Add(this.vbox92); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox70[this.vbox92])); w15.Position = 0; this.vbox82.Add(this.hbox70); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox70])); w16.Position = 2; this.wizardNotebook.Add(this.vbox82); Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox82])); w17.TabExpand = false; // Notebook tab this.label108 = new Gtk.Label(); this.label108.Name = "label108"; this.label108.LabelProp = "label108"; this.wizardNotebook.SetTabLabel(this.vbox82, this.label108); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow19 = new Gtk.ScrolledWindow(); this.scrolledwindow19.CanFocus = true; this.scrolledwindow19.Name = "scrolledwindow19"; this.scrolledwindow19.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow19.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow19.Gtk.Container+ContainerChild Gtk.Viewport w18 = new Gtk.Viewport(); w18.Name = "viewport1"; // Container child viewport1.Gtk.Container+ContainerChild this.hbox82 = new Gtk.HBox(); this.hbox82.Name = "hbox82"; this.hbox82.Spacing = 12; this.hbox82.BorderWidth = ((uint)(12)); // Container child hbox82.Gtk.Box+BoxChild this.imageInstall = new Gtk.Image(); this.imageInstall.Name = "imageInstall"; this.imageInstall.Xalign = 0F; this.imageInstall.Yalign = 0F; this.imageInstall.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-warning", 48); this.hbox82.Add(this.imageInstall); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox82[this.imageInstall])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox82.Gtk.Box+BoxChild this.labelSummary = new Gtk.Label(); this.labelSummary.Name = "labelSummary"; this.labelSummary.Xpad = 6; this.labelSummary.Ypad = 6; this.labelSummary.Xalign = 0F; this.labelSummary.Yalign = 0F; this.labelSummary.LabelProp = "<b>The following add-ins will be installed:</b>\n\nC# language binding\nC# language IDE extension\n\n<b>The following add-ins are required by the selected add-ins</b>\n\nNUnit add-in\nNAnt add-in\n\nasd\nasd\na\nsd\nasd\nasd\na\nsda\nsd\nas\nda\nsd\nasd\n"; this.labelSummary.UseMarkup = true; this.labelSummary.Wrap = true; this.hbox82.Add(this.labelSummary); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox82[this.labelSummary])); w20.Position = 1; w20.Expand = false; w20.Fill = false; w18.Add(this.hbox82); this.scrolledwindow19.Add(w18); this.wizardNotebook.Add(this.scrolledwindow19); Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow19])); w23.Position = 1; w23.TabExpand = false; // Notebook tab this.label124 = new Gtk.Label(); this.label124.Name = "label124"; this.label124.LabelProp = Mono.Unix.Catalog.GetString("label124"); this.wizardNotebook.SetTabLabel(this.scrolledwindow19, this.label124); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox86 = new Gtk.VBox(); this.vbox86.Name = "vbox86"; this.vbox86.Spacing = 6; this.vbox86.BorderWidth = ((uint)(116)); // Container child vbox86.Gtk.Box+BoxChild this.label126 = new Gtk.Label(); this.label126.Name = "label126"; this.label126.Xalign = 0F; this.label126.LabelProp = Mono.Unix.Catalog.GetString("Overall Progress:"); this.vbox86.Add(this.label126); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox86[this.label126])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.mainProgressBar = new Gtk.ProgressBar(); this.mainProgressBar.Name = "mainProgressBar"; this.mainProgressBar.PulseStep = 0.10000000149; this.vbox86.Add(this.mainProgressBar); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox86[this.mainProgressBar])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.label129 = new Gtk.Label(); this.label129.Name = "label129"; this.label129.LabelProp = ""; this.vbox86.Add(this.label129); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox86[this.label129])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressLabel = new Gtk.Label(); this.progressLabel.Name = "progressLabel"; this.progressLabel.Xalign = 0F; this.progressLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloading add-ins..."); this.vbox86.Add(this.progressLabel); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressLabel])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressBar = new Gtk.ProgressBar(); this.progressBar.Name = "progressBar"; this.progressBar.PulseStep = 0.10000000149; this.vbox86.Add(this.progressBar); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressBar])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.wizardNotebook.Add(this.vbox86); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox86])); w29.Position = 2; w29.TabExpand = false; // Notebook tab this.label110 = new Gtk.Label(); this.label110.Name = "label110"; this.label110.LabelProp = "label110"; this.wizardNotebook.SetTabLabel(this.vbox86, this.label110); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow20 = new Gtk.ScrolledWindow(); this.scrolledwindow20.CanFocus = true; this.scrolledwindow20.Name = "scrolledwindow20"; this.scrolledwindow20.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow20.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow20.Gtk.Container+ContainerChild Gtk.Viewport w30 = new Gtk.Viewport(); w30.Name = "viewport3"; // Container child viewport3.Gtk.Container+ContainerChild this.vbox91 = new Gtk.VBox(); this.vbox91.Name = "vbox91"; // Container child vbox91.Gtk.Box+BoxChild this.label130 = new Gtk.Label(); this.label130.Name = "label130"; this.label130.LabelProp = ""; this.vbox91.Add(this.label130); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox91[this.label130])); w31.Position = 0; // Container child vbox91.Gtk.Box+BoxChild this.imageError = new Gtk.Image(); this.imageError.Name = "imageError"; this.imageError.Yalign = 1F; this.imageError.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-error", 48); this.vbox91.Add(this.imageError); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageError])); w32.Position = 1; w32.Expand = false; w32.Fill = false; w32.Padding = ((uint)(5)); // Container child vbox91.Gtk.Box+BoxChild this.imageInfo = new Gtk.Image(); this.imageInfo.Name = "imageInfo"; this.imageInfo.Yalign = 1F; this.imageInfo.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-info", 48); this.vbox91.Add(this.imageInfo); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageInfo])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.hbox71 = new Gtk.HBox(); this.hbox71.Name = "hbox71"; // Container child hbox71.Gtk.Box+BoxChild this.labelResult = new Gtk.Label(); this.labelResult.WidthRequest = 450; this.labelResult.Name = "labelResult"; this.labelResult.Ypad = 9; this.labelResult.Yalign = 0F; this.labelResult.LabelProp = "Done"; this.labelResult.UseMarkup = true; this.labelResult.Wrap = true; this.labelResult.Justify = ((Gtk.Justification)(2)); this.hbox71.Add(this.labelResult); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox71[this.labelResult])); w34.PackType = ((Gtk.PackType)(1)); w34.Position = 0; this.vbox91.Add(this.hbox71); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox91[this.hbox71])); w35.Position = 3; w35.Expand = false; w35.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.label131 = new Gtk.Label(); this.label131.Name = "label131"; this.label131.LabelProp = ""; this.vbox91.Add(this.label131); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox91[this.label131])); w36.Position = 4; w30.Add(this.vbox91); this.scrolledwindow20.Add(w30); this.wizardNotebook.Add(this.scrolledwindow20); Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow20])); w39.Position = 3; w39.TabExpand = false; // Notebook tab this.label111 = new Gtk.Label(); this.label111.Name = "label111"; this.label111.LabelProp = "label111"; this.wizardNotebook.SetTabLabel(this.scrolledwindow20, this.label111); w1.Add(this.wizardNotebook); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(w1[this.wizardNotebook])); w40.Position = 0; // Container child dialog-vbox9.Gtk.Box+BoxChild this.dialog_action_area9 = new Gtk.HButtonBox(); this.dialog_action_area9.Name = "dialog_action_area9"; this.dialog_action_area9.Spacing = 9; this.dialog_action_area9.BorderWidth = ((uint)(6)); this.dialog_action_area9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.dialog_action_area9.Add(this.btnCancel); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnPrev = new Gtk.Button(); this.btnPrev.CanDefault = true; this.btnPrev.CanFocus = true; this.btnPrev.Name = "btnPrev"; this.btnPrev.UseStock = true; this.btnPrev.UseUnderline = true; this.btnPrev.Label = "gtk-go-back"; this.dialog_action_area9.Add(this.btnPrev); Gtk.ButtonBox.ButtonBoxChild w42 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnPrev])); w42.Position = 1; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnNext = new Gtk.Button(); this.btnNext.CanDefault = true; this.btnNext.CanFocus = true; this.btnNext.Name = "btnNext"; this.btnNext.UseStock = true; this.btnNext.UseUnderline = true; this.btnNext.Label = "gtk-go-forward"; this.dialog_action_area9.Add(this.btnNext); Gtk.ButtonBox.ButtonBoxChild w43 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnNext])); w43.Position = 2; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnOk = new Gtk.Button(); this.btnOk.CanDefault = true; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseStock = true; this.btnOk.UseUnderline = true; this.btnOk.Label = "gtk-ok"; this.dialog_action_area9.Add(this.btnOk); Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnOk])); w44.Position = 3; w1.Add(this.dialog_action_area9); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[this.dialog_action_area9])); w45.PackType = ((Gtk.PackType)(1)); w45.Position = 2; w45.Expand = false; w45.Fill = false; // Container child dialog-vbox9.Gtk.Box+BoxChild this.hseparator3 = new Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; w1.Add(this.hseparator3); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(w1[this.hseparator3])); w46.PackType = ((Gtk.PackType)(1)); w46.Position = 3; w46.Expand = false; w46.Fill = false; // Internal child Mono.Addins.Gui.AddinInstallDialog.ActionArea Gtk.HButtonBox w47 = this.ActionArea; w47.Name = "hbuttonbox1"; w47.Spacing = 10; w47.BorderWidth = ((uint)(5)); w47.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.repoCombo.Changed += new System.EventHandler(this.OnRepoChanged); this.button1.Clicked += new System.EventHandler(this.OnUpdateRepo); this.btnManageSites.Clicked += new System.EventHandler(this.OnManageSites); this.addinTree.CursorChanged += new System.EventHandler(this.OnActiveAddinChanged); this.filterComboBox.Changed += new System.EventHandler(this.OnFilterChanged); this.btnSelectAll.Clicked += new System.EventHandler(this.OnSelectAll); this.btnUnselectAll.Clicked += new System.EventHandler(this.OnUnselectAll); this.btnInfo.Clicked += new System.EventHandler(this.OnShowInfo); this.btnCancel.Clicked += new System.EventHandler(this.OnCancel); this.btnPrev.Clicked += new System.EventHandler(this.OnPrevPage); this.btnNext.Clicked += new System.EventHandler(this.OnNextPage); this.btnOk.Clicked += new System.EventHandler(this.OnOk); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget MainWindow Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.Datei = new Gtk.Action("Datei", Mono.Unix.Catalog.GetString("_Datei"), null, null); this.Datei.ShortLabel = Mono.Unix.Catalog.GetString("_Datei"); w2.Add(this.Datei, null); this.Aktionen = new Gtk.Action("Aktionen", Mono.Unix.Catalog.GetString("_Aktionen"), null, null); this.Aktionen.ShortLabel = Mono.Unix.Catalog.GetString("_Aktionen"); w2.Add(this.Aktionen, null); this.Hilfe = new Gtk.Action("Hilfe", Mono.Unix.Catalog.GetString("_Hilfe"), null, null); this.Hilfe.ShortLabel = Mono.Unix.Catalog.GetString("_Hilfe"); w2.Add(this.Hilfe, "<Control>question"); this.Revert = new Gtk.Action("Revert", Mono.Unix.Catalog.GetString("_Revert"), null, "gtk-undo"); this.Revert.ShortLabel = Mono.Unix.Catalog.GetString("_Revert"); w2.Add(this.Revert, null); this.LA = new Gtk.Action("LA", Mono.Unix.Catalog.GetString("_LA"), null, "gtk-delete"); this.LA.ShortLabel = Mono.Unix.Catalog.GetString("_LA"); w2.Add(this.LA, null); this.SLA = new Gtk.Action("SLA", Mono.Unix.Catalog.GetString("_SLA"), null, "gtk-delete"); this.SLA.ShortLabel = Mono.Unix.Catalog.GetString("_SLA"); w2.Add(this.SLA, null); this.Beobachten = new Gtk.Action("Beobachten", Mono.Unix.Catalog.GetString("_Beobachten"), null, "gtk-find"); this.Beobachten.ShortLabel = Mono.Unix.Catalog.GetString("_Beobachten"); w2.Add(this.Beobachten, null); this.VHinweis = new Gtk.Action("VHinweis", Mono.Unix.Catalog.GetString("_VHinweis"), null, "gtk-dialog-error"); this.VHinweis.ShortLabel = Mono.Unix.Catalog.GetString("_VHinweis"); w2.Add(this.VHinweis, null); this.home = new Gtk.Action("home", null, null, "gtk-home"); w2.Add(this.home, null); this.spellCheck = new Gtk.Action("spellCheck", null, null, "gtk-spell-check"); w2.Add(this.spellCheck, null); this.quit = new Gtk.Action("quit", null, null, "gtk-quit"); w2.Add(this.quit, null); this.dialogQuestion = new Gtk.Action("dialogQuestion", null, null, "gtk-dialog-question"); w2.Add(this.dialogQuestion, null); this.Beenden = new Gtk.Action("Beenden", Mono.Unix.Catalog.GetString("Beenden"), null, null); this.Beenden.ShortLabel = Mono.Unix.Catalog.GetString("Beenden"); w2.Add(this.Beenden, "<Control>q"); this.LA1 = new Gtk.Action("LA1", Mono.Unix.Catalog.GetString("LA+"), null, null); this.LA1.ShortLabel = Mono.Unix.Catalog.GetString("LA+"); w2.Add(this.LA1, "<Alt>l"); this.SLA1 = new Gtk.Action("SLA1", Mono.Unix.Catalog.GetString("SLA+"), null, null); this.SLA1.ShortLabel = Mono.Unix.Catalog.GetString("SLA+"); w2.Add(this.SLA1, "<Alt>s"); this.Vandal = new Gtk.Action("Vandal", Mono.Unix.Catalog.GetString("Vandal+"), null, null); this.Vandal.ShortLabel = Mono.Unix.Catalog.GetString("Vandal+"); w2.Add(this.Vandal, "<Alt>v"); this.ber = new Gtk.Action("ber", Mono.Unix.Catalog.GetString("Über"), null, null); this.ber.ShortLabel = Mono.Unix.Catalog.GetString("Über"); w2.Add(this.ber, null); this.Artikel = new Gtk.Action("Artikel", Mono.Unix.Catalog.GetString("_Artikel"), null, null); this.Artikel.ShortLabel = Mono.Unix.Catalog.GetString("_Artikel"); w2.Add(this.Artikel, null); this.LokalSpeichern = new Gtk.Action("LokalSpeichern", Mono.Unix.Catalog.GetString("_Lokal Speichern"), null, "gtk-save"); this.LokalSpeichern.ShortLabel = Mono.Unix.Catalog.GetString("_Lokal Speichern"); w2.Add(this.LokalSpeichern, null); this.OnlineSpeichern = new Gtk.Action("OnlineSpeichern", Mono.Unix.Catalog.GetString("_Online Speichern"), null, "gtk-network"); this.OnlineSpeichern.ShortLabel = Mono.Unix.Catalog.GetString("_Online Speichern"); w2.Add(this.OnlineSpeichern, null); this.Aktualisieren = new Gtk.Action("Aktualisieren", Mono.Unix.Catalog.GetString("_Aktualisieren"), null, "gtk-refresh"); this.Aktualisieren.ShortLabel = Mono.Unix.Catalog.GetString("_Aktualisieren"); w2.Add(this.Aktualisieren, null); this.Bearbeiten = new Gtk.Action("Bearbeiten", Mono.Unix.Catalog.GetString("_Bearbeiten"), null, null); this.Bearbeiten.ShortLabel = Mono.Unix.Catalog.GetString("_Bearbeiten"); w2.Add(this.Bearbeiten, null); this.Einstellungen = new Gtk.Action("Einstellungen", Mono.Unix.Catalog.GetString("_Einstellungen"), null, null); this.Einstellungen.ShortLabel = Mono.Unix.Catalog.GetString("_Einstellungen"); w2.Add(this.Einstellungen, "<Control>o"); this.add = new Gtk.Action("add", null, null, "gtk-add"); w2.Add(this.add, null); this.remove = new Gtk.Action("remove", null, null, "gtk-remove"); w2.Add(this.remove, null); this.clear = new Gtk.Action("clear", null, null, "gtk-clear"); w2.Add(this.clear, null); w1.InsertActionGroup(w2, 0); this.AddAccelGroup(w1.AccelGroup); this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Wikifighter"); this.Icon = Gtk.IconTheme.Default.LoadIcon("stock_smiley-18", 16, 0); // Container child MainWindow.Gtk.Container+ContainerChild this.main_vbox = new Gtk.VBox(); this.main_vbox.Name = "main_vbox"; // Container child main_vbox.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar'><menu action='Datei'><menuitem action='Beenden'/></menu><menu action='Bearbeiten'><menuitem action='Einstellungen'/></menu><menu action='Aktionen'><menuitem action='LA1'/><menuitem action='SLA1'/><menuitem action='Vandal'/></menu><menu action='Hilfe'><menuitem action='ber'/></menu></menubar></ui>"); this.menubar = ((Gtk.MenuBar)(w1.GetWidget("/menubar"))); this.menubar.Name = "menubar"; this.main_vbox.Add(this.menubar); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.main_vbox[this.menubar])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child main_vbox.Gtk.Box+BoxChild this.browserbox = new Gtk.VBox(); this.browserbox.Name = "browserbox"; // Container child browserbox.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='geckotoolbar'><toolitem action='Revert'/><toolitem action='SLA'/><toolitem action='Beobachten'/><toolitem action='VHinweis'/><toolitem action='spellCheck'/><toolitem action='dialogQuestion'/><toolitem action='home'/><toolitem action='quit'/></toolbar></ui>"); this.geckotoolbar = ((Gtk.Toolbar)(w1.GetWidget("/geckotoolbar"))); this.geckotoolbar.Name = "geckotoolbar"; this.geckotoolbar.ShowArrow = false; this.geckotoolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.geckotoolbar.IconSize = ((Gtk.IconSize)(3)); this.browserbox.Add(this.geckotoolbar); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.browserbox[this.geckotoolbar])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child browserbox.Gtk.Box+BoxChild this.navigationbox = new Gtk.HBox(); this.navigationbox.Name = "navigationbox"; this.navigationbox.Spacing = 3; this.navigationbox.BorderWidth = ((uint)(1)); // Container child navigationbox.Gtk.Box+BoxChild this.back = new Gtk.Button(); this.back.CanFocus = true; this.back.Name = "back"; this.back.UseStock = true; this.back.UseUnderline = true; this.back.Label = "gtk-go-back"; this.navigationbox.Add(this.back); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.navigationbox[this.back])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child navigationbox.Gtk.Box+BoxChild this.forward = new Gtk.Button(); this.forward.CanFocus = true; this.forward.Name = "forward"; this.forward.UseStock = true; this.forward.UseUnderline = true; this.forward.Label = "gtk-go-forward"; this.navigationbox.Add(this.forward); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.navigationbox[this.forward])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child navigationbox.Gtk.Box+BoxChild this.urlentry = Gtk.ComboBoxEntry.NewText(); this.urlentry.Name = "urlentry"; this.urlentry.Active = 0; this.navigationbox.Add(this.urlentry); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.navigationbox[this.urlentry])); w7.Position = 2; // Container child navigationbox.Gtk.Box+BoxChild this.go = new Gtk.Button(); this.go.CanFocus = true; this.go.Name = "go"; this.go.UseUnderline = true; // Container child go.Gtk.Container+ContainerChild Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w8.Name = "GtkAlignment2"; // Container child GtkAlignment2.Gtk.Container+ContainerChild Gtk.HBox w9 = new Gtk.HBox(); w9.Name = "GtkHBox3"; w9.Spacing = 2; // Container child GtkHBox3.Gtk.Container+ContainerChild Gtk.Image w10 = new Gtk.Image(); w10.Name = "image37"; w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0); w9.Add(w10); // Container child GtkHBox3.Gtk.Container+ContainerChild Gtk.Label w12 = new Gtk.Label(); w12.Name = "GtkLabel3"; w12.LabelProp = Mono.Unix.Catalog.GetString("_Go!"); w12.UseUnderline = true; w9.Add(w12); w8.Add(w9); this.go.Add(w8); this.navigationbox.Add(this.go); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.navigationbox[this.go])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.browserbox.Add(this.navigationbox); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.browserbox[this.navigationbox])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child browserbox.Gtk.Box+BoxChild this.notebook = new Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; // Container child notebook.Gtk.Notebook+NotebookChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w18 = new Gtk.Viewport(); w18.Name = "GtkViewport"; w18.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vpaned1 = new Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 125; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 135; // Container child hpaned1.Gtk.Paned+PanedChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((Gtk.ShadowType)(0)); this.frame5.LabelXalign = 0F; // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment5 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.image44 = new Gtk.Image(); this.image44.Name = "image44"; this.GtkAlignment5.Add(this.image44); this.frame5.Add(this.GtkAlignment5); this.GtkLabel10 = new Gtk.Label(); this.GtkLabel10.Events = ((Gdk.EventMask)(256)); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>RC-Status</b>"); this.GtkLabel10.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel10; this.hpaned1.Add(this.frame5); Gtk.Paned.PanedChild w21 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.frame5])); w21.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.white_black_watch_notebook = new Gtk.Notebook(); this.white_black_watch_notebook.CanFocus = true; this.white_black_watch_notebook.Name = "white_black_watch_notebook"; this.white_black_watch_notebook.TabPos = ((Gtk.PositionType)(1)); // Container child white_black_watch_notebook.Gtk.Notebook+NotebookChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.whitelist_scrolledwindow = new Gtk.ScrolledWindow(); this.whitelist_scrolledwindow.CanFocus = true; this.whitelist_scrolledwindow.Name = "whitelist_scrolledwindow"; this.whitelist_scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.whitelist_scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child whitelist_scrolledwindow.Gtk.Container+ContainerChild this.whitelist_treeview = new Gtk.TreeView(); this.whitelist_treeview.CanFocus = true; this.whitelist_treeview.Name = "whitelist_treeview"; this.whitelist_scrolledwindow.Add(this.whitelist_treeview); this.hbox1.Add(this.whitelist_scrolledwindow); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox1[this.whitelist_scrolledwindow])); w23.Position = 0; // Container child hbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='whitelist_toolbar'><toolitem action='add'/><toolitem action='remove'/><toolitem action='clear'/></toolbar></ui>"); this.whitelist_toolbar = ((Gtk.Toolbar)(w1.GetWidget("/whitelist_toolbar"))); this.whitelist_toolbar.Name = "whitelist_toolbar"; this.whitelist_toolbar.Orientation = ((Gtk.Orientation)(1)); this.whitelist_toolbar.ShowArrow = false; this.whitelist_toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.whitelist_toolbar.IconSize = ((Gtk.IconSize)(3)); this.hbox1.Add(this.whitelist_toolbar); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox1[this.whitelist_toolbar])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.white_black_watch_notebook.Add(this.hbox1); Gtk.Notebook.NotebookChild w25 = ((Gtk.Notebook.NotebookChild)(this.white_black_watch_notebook[this.hbox1])); w25.TabExpand = false; // Notebook tab this.whitelist_label = new Gtk.Label(); this.whitelist_label.Name = "whitelist_label"; this.whitelist_label.LabelProp = Mono.Unix.Catalog.GetString("Whitelist"); this.white_black_watch_notebook.SetTabLabel(this.hbox1, this.whitelist_label); // Container child white_black_watch_notebook.Gtk.Notebook+NotebookChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow4.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild Gtk.Viewport w26 = new Gtk.Viewport(); w26.Name = "GtkViewport4"; w26.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport4.Gtk.Container+ContainerChild this.blacklist_scrolledwindow = new Gtk.ScrolledWindow(); this.blacklist_scrolledwindow.CanFocus = true; this.blacklist_scrolledwindow.Name = "blacklist_scrolledwindow"; this.blacklist_scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.blacklist_scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child blacklist_scrolledwindow.Gtk.Container+ContainerChild this.blacklist_treeview = new Gtk.TreeView(); this.blacklist_treeview.CanFocus = true; this.blacklist_treeview.Name = "blacklist_treeview"; this.blacklist_scrolledwindow.Add(this.blacklist_treeview); w26.Add(this.blacklist_scrolledwindow); this.scrolledwindow4.Add(w26); this.hbox2.Add(this.scrolledwindow4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow4])); w30.Position = 0; // Container child hbox2.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='blacklist_toolbar'><toolitem action='add'/><toolitem action='remove'/><toolitem action='clear'/></toolbar></ui>"); this.blacklist_toolbar = ((Gtk.Toolbar)(w1.GetWidget("/blacklist_toolbar"))); this.blacklist_toolbar.Name = "blacklist_toolbar"; this.blacklist_toolbar.Orientation = ((Gtk.Orientation)(1)); this.blacklist_toolbar.ShowArrow = false; this.blacklist_toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.blacklist_toolbar.IconSize = ((Gtk.IconSize)(3)); this.hbox2.Add(this.blacklist_toolbar); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox2[this.blacklist_toolbar])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.white_black_watch_notebook.Add(this.hbox2); Gtk.Notebook.NotebookChild w32 = ((Gtk.Notebook.NotebookChild)(this.white_black_watch_notebook[this.hbox2])); w32.Position = 1; w32.TabExpand = false; // Notebook tab this.blacklist_label = new Gtk.Label(); this.blacklist_label.Name = "blacklist_label"; this.blacklist_label.LabelProp = Mono.Unix.Catalog.GetString("Blacklist"); this.white_black_watch_notebook.SetTabLabel(this.hbox2, this.blacklist_label); // Container child white_black_watch_notebook.Gtk.Notebook+NotebookChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.watchlist_scrolledwindow = new Gtk.ScrolledWindow(); this.watchlist_scrolledwindow.CanFocus = true; this.watchlist_scrolledwindow.Name = "watchlist_scrolledwindow"; this.watchlist_scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.watchlist_scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child watchlist_scrolledwindow.Gtk.Container+ContainerChild this.watchlist_treeview = new Gtk.TreeView(); this.watchlist_treeview.CanFocus = true; this.watchlist_treeview.Name = "watchlist_treeview"; this.watchlist_scrolledwindow.Add(this.watchlist_treeview); this.hbox4.Add(this.watchlist_scrolledwindow); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox4[this.watchlist_scrolledwindow])); w34.Position = 0; // Container child hbox4.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='blacklist_toolbar1'><toolitem action='add'/><toolitem action='remove'/><toolitem action='clear'/></toolbar></ui>"); this.blacklist_toolbar1 = ((Gtk.Toolbar)(w1.GetWidget("/blacklist_toolbar1"))); this.blacklist_toolbar1.Name = "blacklist_toolbar1"; this.blacklist_toolbar1.Orientation = ((Gtk.Orientation)(1)); this.blacklist_toolbar1.ShowArrow = false; this.blacklist_toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.blacklist_toolbar1.IconSize = ((Gtk.IconSize)(3)); this.hbox4.Add(this.blacklist_toolbar1); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox4[this.blacklist_toolbar1])); w35.Position = 1; w35.Expand = false; w35.Fill = false; this.white_black_watch_notebook.Add(this.hbox4); Gtk.Notebook.NotebookChild w36 = ((Gtk.Notebook.NotebookChild)(this.white_black_watch_notebook[this.hbox4])); w36.Position = 2; w36.TabExpand = false; // Notebook tab this.watchlist_label = new Gtk.Label(); this.watchlist_label.Name = "watchlist_label"; this.watchlist_label.LabelProp = Mono.Unix.Catalog.GetString("Beobacht-\nungsliste"); this.white_black_watch_notebook.SetTabLabel(this.hbox4, this.watchlist_label); this.hpaned1.Add(this.white_black_watch_notebook); this.hbox5.Add(this.hpaned1); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox5[this.hpaned1])); w38.Position = 0; this.vpaned1.Add(this.hbox5); Gtk.Paned.PanedChild w39 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.hbox5])); w39.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow3.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.rc_view = new Gtk.TreeView(); this.rc_view.CanFocus = true; this.rc_view.Name = "rc_view"; this.scrolledwindow3.Add(this.rc_view); this.vpaned1.Add(this.scrolledwindow3); w18.Add(this.vpaned1); this.scrolledwindow2.Add(w18); this.notebook.Add(this.scrolledwindow2); Gtk.Notebook.NotebookChild w44 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.scrolledwindow2])); w44.TabExpand = false; // Notebook tab this.notebook_rc_label = new Gtk.Label(); this.notebook_rc_label.Name = "notebook_rc_label"; this.notebook_rc_label.LabelProp = Mono.Unix.Catalog.GetString("Letzte Änderungen"); this.notebook.SetTabLabel(this.scrolledwindow2, this.notebook_rc_label); // Container child notebook.Gtk.Notebook+NotebookChild this.geckobox = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.geckobox.Name = "geckobox"; this.notebook.Add(this.geckobox); Gtk.Notebook.NotebookChild w45 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.geckobox])); w45.Position = 1; w45.TabExpand = false; // Notebook tab this.notebook_browser_label = new Gtk.Label(); this.notebook_browser_label.Name = "notebook_browser_label"; this.notebook_browser_label.LabelProp = Mono.Unix.Catalog.GetString("Browser"); this.notebook.SetTabLabel(this.geckobox, this.notebook_browser_label); // Container child notebook.Gtk.Notebook+NotebookChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar2'><menu action='Artikel'><menuitem action='LokalSpeichern'/><menuitem action='OnlineSpeichern'/><menuitem action='Aktualisieren'/></menu></menubar></ui>"); this.menubar2 = ((Gtk.MenuBar)(w1.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox1.Add(this.menubar2); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar2])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='toolbar1'/></ui>"); this.toolbar1 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((Gtk.IconSize)(3)); this.vbox1.Add(this.toolbar1); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w47.Position = 1; w47.Expand = false; w47.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow6 = new Gtk.ScrolledWindow(); this.scrolledwindow6.CanFocus = true; this.scrolledwindow6.Name = "scrolledwindow6"; this.scrolledwindow6.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow6.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(2)); // Container child scrolledwindow6.Gtk.Container+ContainerChild this.textview1 = new Gtk.TextView(); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.WrapMode = ((Gtk.WrapMode)(3)); this.scrolledwindow6.Add(this.textview1); this.vbox1.Add(this.scrolledwindow6); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow6])); w49.Position = 2; this.notebook.Add(this.vbox1); Gtk.Notebook.NotebookChild w50 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.vbox1])); w50.Position = 2; w50.TabExpand = false; // Notebook tab this.notebook_artikel_label = new Gtk.Label(); this.notebook_artikel_label.Name = "notebook_artikel_label"; this.notebook_artikel_label.LabelProp = Mono.Unix.Catalog.GetString("Artikeleditor"); this.notebook.SetTabLabel(this.vbox1, this.notebook_artikel_label); // Container child notebook.Gtk.Notebook+NotebookChild this.history_treeview = new Gtk.TreeView(); this.history_treeview.CanFocus = true; this.history_treeview.Name = "history_treeview"; this.notebook.Add(this.history_treeview); Gtk.Notebook.NotebookChild w51 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.history_treeview])); w51.Position = 3; w51.TabExpand = false; // Notebook tab this.notebook_history_label = new Gtk.Label(); this.notebook_history_label.Name = "notebook_history_label"; this.notebook_history_label.LabelProp = Mono.Unix.Catalog.GetString("History"); this.notebook.SetTabLabel(this.history_treeview, this.notebook_history_label); // Container child notebook.Gtk.Notebook+NotebookChild this.table4 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table4.Name = "table4"; // Container child table4.Gtk.Table+TableChild this.diff_new_scrolled_window = new Gtk.ScrolledWindow(); this.diff_new_scrolled_window.CanFocus = true; this.diff_new_scrolled_window.Name = "diff_new_scrolled_window"; this.diff_new_scrolled_window.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.diff_new_scrolled_window.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child diff_new_scrolled_window.Gtk.Container+ContainerChild Gtk.Viewport w52 = new Gtk.Viewport(); w52.Name = "GtkViewport1"; w52.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.diff_new_frame = new Gtk.Frame(); this.diff_new_frame.Name = "diff_new_frame"; this.diff_new_frame.ShadowType = ((Gtk.ShadowType)(0)); this.diff_new_frame.LabelXalign = 0F; // Container child diff_new_frame.Gtk.Container+ContainerChild this.GtkAlignment11 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment11.Name = "GtkAlignment11"; this.GtkAlignment11.LeftPadding = ((uint)(12)); // Container child GtkAlignment11.Gtk.Container+ContainerChild this.diff_new_treeview = new Gtk.TreeView(); this.diff_new_treeview.CanFocus = true; this.diff_new_treeview.Name = "diff_new_treeview"; this.GtkAlignment11.Add(this.diff_new_treeview); this.diff_new_frame.Add(this.GtkAlignment11); this.diff_new_label = new Gtk.Label(); this.diff_new_label.Events = ((Gdk.EventMask)(256)); this.diff_new_label.Name = "diff_new_label"; this.diff_new_label.LabelProp = Mono.Unix.Catalog.GetString("<b>neue Verion von</b>"); this.diff_new_label.UseMarkup = true; this.diff_new_frame.LabelWidget = this.diff_new_label; w52.Add(this.diff_new_frame); this.diff_new_scrolled_window.Add(w52); this.table4.Add(this.diff_new_scrolled_window); Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table4[this.diff_new_scrolled_window])); w57.TopAttach = ((uint)(1)); w57.BottomAttach = ((uint)(2)); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.diff_old_scrolled_window = new Gtk.ScrolledWindow(); this.diff_old_scrolled_window.CanFocus = true; this.diff_old_scrolled_window.Name = "diff_old_scrolled_window"; this.diff_old_scrolled_window.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.diff_old_scrolled_window.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child diff_old_scrolled_window.Gtk.Container+ContainerChild Gtk.Viewport w58 = new Gtk.Viewport(); w58.Name = "GtkViewport2"; w58.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.diff_old_frame = new Gtk.Frame(); this.diff_old_frame.Name = "diff_old_frame"; this.diff_old_frame.ShadowType = ((Gtk.ShadowType)(0)); this.diff_old_frame.LabelXalign = 0F; // Container child diff_old_frame.Gtk.Container+ContainerChild this.GtkAlignment10 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment10.Name = "GtkAlignment10"; this.GtkAlignment10.LeftPadding = ((uint)(12)); // Container child GtkAlignment10.Gtk.Container+ContainerChild this.diff_old_treeview = new Gtk.TreeView(); this.diff_old_treeview.CanFocus = true; this.diff_old_treeview.Name = "diff_old_treeview"; this.GtkAlignment10.Add(this.diff_old_treeview); this.diff_old_frame.Add(this.GtkAlignment10); this.diff_old_label = new Gtk.Label(); this.diff_old_label.Events = ((Gdk.EventMask)(256)); this.diff_old_label.Name = "diff_old_label"; this.diff_old_label.LabelProp = Mono.Unix.Catalog.GetString("<b>Alte Version von</b>"); this.diff_old_label.UseMarkup = true; this.diff_old_frame.LabelWidget = this.diff_old_label; w58.Add(this.diff_old_frame); this.diff_old_scrolled_window.Add(w58); this.table4.Add(this.diff_old_scrolled_window); Gtk.Table.TableChild w63 = ((Gtk.Table.TableChild)(this.table4[this.diff_old_scrolled_window])); w63.TopAttach = ((uint)(1)); w63.BottomAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.diff_old_back_button1 = new Gtk.Button(); this.diff_old_back_button1.WidthRequest = 80; this.diff_old_back_button1.CanFocus = true; this.diff_old_back_button1.Name = "diff_old_back_button1"; this.diff_old_back_button1.UseStock = true; this.diff_old_back_button1.UseUnderline = true; this.diff_old_back_button1.Label = "gtk-go-back"; this.hbuttonbox2.Add(this.diff_old_back_button1); Gtk.ButtonBox.ButtonBoxChild w64 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.diff_old_back_button1])); w64.Expand = false; w64.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button47 = new Gtk.Button(); this.button47.WidthRequest = 100; this.button47.CanFocus = true; this.button47.Name = "button47"; this.button47.UseUnderline = true; // Container child button47.Gtk.Container+ContainerChild Gtk.Alignment w65 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w65.Name = "GtkAlignment8"; // Container child GtkAlignment8.Gtk.Container+ContainerChild Gtk.HBox w66 = new Gtk.HBox(); w66.Name = "GtkHBox8"; w66.Spacing = 2; // Container child GtkHBox8.Gtk.Container+ContainerChild Gtk.Image w67 = new Gtk.Image(); w67.Name = "image38"; w67.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-clear", 16, 0); w66.Add(w67); // Container child GtkHBox8.Gtk.Container+ContainerChild Gtk.Label w69 = new Gtk.Label(); w69.Name = "GtkLabel13"; w69.LabelProp = Mono.Unix.Catalog.GetString("_Entfernen"); w69.UseUnderline = true; w66.Add(w69); w65.Add(w66); this.button47.Add(w65); this.hbuttonbox2.Add(this.button47); Gtk.ButtonBox.ButtonBoxChild w73 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.button47])); w73.Position = 1; w73.Expand = false; w73.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.diff_new_next_button = new Gtk.Button(); this.diff_new_next_button.WidthRequest = 80; this.diff_new_next_button.CanFocus = true; this.diff_new_next_button.Name = "diff_new_next_button"; this.diff_new_next_button.UseStock = true; this.diff_new_next_button.UseUnderline = true; this.diff_new_next_button.Label = "gtk-go-forward"; this.hbuttonbox2.Add(this.diff_new_next_button); Gtk.ButtonBox.ButtonBoxChild w74 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.diff_new_next_button])); w74.Position = 2; w74.Expand = false; w74.Fill = false; this.table4.Add(this.hbuttonbox2); Gtk.Table.TableChild w75 = ((Gtk.Table.TableChild)(this.table4[this.hbuttonbox2])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbuttonbox3 = new Gtk.HButtonBox(); this.hbuttonbox3.Name = "hbuttonbox3"; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.diff_old_back_button = new Gtk.Button(); this.diff_old_back_button.WidthRequest = 80; this.diff_old_back_button.CanFocus = true; this.diff_old_back_button.Name = "diff_old_back_button"; this.diff_old_back_button.UseStock = true; this.diff_old_back_button.UseUnderline = true; this.diff_old_back_button.Label = "gtk-go-back"; this.hbuttonbox3.Add(this.diff_old_back_button); Gtk.ButtonBox.ButtonBoxChild w76 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.diff_old_back_button])); w76.Expand = false; w76.Fill = false; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.diff_old_revert_button = new Gtk.Button(); this.diff_old_revert_button.WidthRequest = 100; this.diff_old_revert_button.CanFocus = true; this.diff_old_revert_button.Name = "diff_old_revert_button"; this.diff_old_revert_button.UseStock = true; this.diff_old_revert_button.UseUnderline = true; this.diff_old_revert_button.Label = "gtk-undo"; this.hbuttonbox3.Add(this.diff_old_revert_button); Gtk.ButtonBox.ButtonBoxChild w77 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.diff_old_revert_button])); w77.Position = 1; w77.Expand = false; w77.Fill = false; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.diff_old_next_button = new Gtk.Button(); this.diff_old_next_button.WidthRequest = 80; this.diff_old_next_button.CanFocus = true; this.diff_old_next_button.Name = "diff_old_next_button"; this.diff_old_next_button.UseStock = true; this.diff_old_next_button.UseUnderline = true; this.diff_old_next_button.Label = "gtk-go-forward"; this.hbuttonbox3.Add(this.diff_old_next_button); Gtk.ButtonBox.ButtonBoxChild w78 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.diff_old_next_button])); w78.Position = 2; w78.Expand = false; w78.Fill = false; this.table4.Add(this.hbuttonbox3); Gtk.Table.TableChild w79 = ((Gtk.Table.TableChild)(this.table4[this.hbuttonbox3])); w79.YOptions = ((Gtk.AttachOptions)(4)); this.notebook.Add(this.table4); Gtk.Notebook.NotebookChild w80 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.table4])); w80.Position = 4; w80.TabExpand = false; // Notebook tab this.notebook_diff_label = new Gtk.Label(); this.notebook_diff_label.Name = "notebook_diff_label"; this.notebook_diff_label.LabelProp = Mono.Unix.Catalog.GetString("Diff"); this.notebook.SetTabLabel(this.table4, this.notebook_diff_label); // Notebook tab Gtk.Label w81 = new Gtk.Label(); w81.Visible = true; this.notebook.Add(w81); this.notebook_user_label = new Gtk.Label(); this.notebook_user_label.Name = "notebook_user_label"; this.notebook_user_label.LabelProp = Mono.Unix.Catalog.GetString("Benutzer"); this.notebook.SetTabLabel(w81, this.notebook_user_label); this.browserbox.Add(this.notebook); Gtk.Box.BoxChild w82 = ((Gtk.Box.BoxChild)(this.browserbox[this.notebook])); w82.Position = 2; this.main_vbox.Add(this.browserbox); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.main_vbox[this.browserbox])); w83.Position = 1; // Container child main_vbox.Gtk.Box+BoxChild this.statusbar1 = new Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 2; this.main_vbox.Add(this.statusbar1); Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.main_vbox[this.statusbar1])); w84.PackType = ((Gtk.PackType)(1)); w84.Position = 2; w84.Expand = false; w84.Fill = false; this.Add(this.main_vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 662; this.DefaultHeight = 653; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Beenden.Activated += new System.EventHandler(this.onBeenden); this.Einstellungen.Activated += new System.EventHandler(this.OnEinstellungenActivated); this.urlentry.KeyReleaseEvent += new Gtk.KeyReleaseEventHandler(this.OnUrlentryKeyReleaseEvent); this.go.Clicked += new System.EventHandler(this.OnGoClicked); }
public BugzillaPreferences () : base (false, 12) { last_opened_dir = Environment.GetEnvironmentVariable ("HOME"); Gtk.Label l = new Gtk.Label (Catalog.GetString ( "You can use any bugzilla just by dragging links " + "into notes. If you want a special icon for " + "certain hosts, add them here.")); l.Wrap = true; l.Xalign = 0; PackStart (l, false, false, 0); icon_store = CreateIconStore (); icon_tree = new Gtk.TreeView (icon_store); icon_tree.HeadersVisible = true; icon_tree.Selection.Mode = Gtk.SelectionMode.Single; icon_tree.Selection.Changed += SelectionChanged; Gtk.CellRenderer renderer; Gtk.TreeViewColumn host_col = new Gtk.TreeViewColumn (); host_col.Title = Catalog.GetString ("Host Name"); host_col.Sizing = Gtk.TreeViewColumnSizing.Autosize; host_col.Resizable = true; host_col.Expand = true; host_col.MinWidth = 200; renderer = new Gtk.CellRendererText (); host_col.PackStart (renderer, true); host_col.AddAttribute (renderer, "text", 1 /* host name */); host_col.SortColumnId = 1; /* host name */ host_col.SortIndicator = false; host_col.Reorderable = false; host_col.SortOrder = Gtk.SortType.Ascending; icon_tree.AppendColumn (host_col); Gtk.TreeViewColumn icon_col = new Gtk.TreeViewColumn (); icon_col.Title = Catalog.GetString ("Icon"); icon_col.Sizing = Gtk.TreeViewColumnSizing.Fixed; icon_col.MaxWidth = 50; icon_col.MinWidth = 50; icon_col.Resizable = false; renderer = new Gtk.CellRendererPixbuf (); icon_col.PackStart (renderer, false); icon_col.AddAttribute (renderer, "pixbuf", 0 /* icon */); icon_tree.AppendColumn (icon_col); Gtk.ScrolledWindow sw = new Gtk.ScrolledWindow (); sw.ShadowType = Gtk.ShadowType.In; sw.HeightRequest = 200; sw.WidthRequest = 300; sw.SetPolicy (Gtk.PolicyType.Automatic, Gtk.PolicyType.Automatic); sw.Add (icon_tree); PackStart (sw, true, true, 0); add_button = new Gtk.Button (Gtk.Stock.Add); add_button.Clicked += AddClicked; remove_button = new Gtk.Button (Gtk.Stock.Remove); remove_button.Sensitive = false; remove_button.Clicked += RemoveClicked; Gtk.HButtonBox hbutton_box = new Gtk.HButtonBox (); hbutton_box.Layout = Gtk.ButtonBoxStyle.Start; hbutton_box.Spacing = 6; hbutton_box.PackStart (add_button); hbutton_box.PackStart (remove_button); PackStart (hbutton_box, false, false, 0); ShowAll (); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Magnatune.Configuration this.Name = "Magnatune.Configuration"; this.Title = Mono.Unix.Catalog.GetString("Magnatune Configuration"); this.Icon = Gdk.Pixbuf.LoadFromResource("simple_icon.png"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Magnatune.Configuration.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 5; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Username"); this.hbox2.Add(this.label3); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.label3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.username = new Gtk.Entry(); this.username.CanFocus = true; this.username.Name = "username"; this.username.IsEditable = true; this.username.InvisibleChar = '\u25cf'; this.hbox2.Add(this.username); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.username])); w3.Position = 1; w1.Add(this.hbox2); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.hbox1.Add(this.label2); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.password = new Gtk.Entry(); this.password.CanFocus = true; this.password.Name = "password"; this.password.IsEditable = true; this.password.Visibility = false; this.password.InvisibleChar = '\u25cf'; this.hbox1.Add(this.password); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.password])); w6.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Membership Type"); this.hbox3.Add(this.label1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.membershipType = Gtk.ComboBox.NewText(); this.membershipType.AppendText(Mono.Unix.Catalog.GetString("None")); this.membershipType.AppendText(Mono.Unix.Catalog.GetString("Streaming")); this.membershipType.AppendText(Mono.Unix.Catalog.GetString("Download")); this.membershipType.Name = "membershipType"; this.membershipType.Active = 0; this.hbox3.Add(this.membershipType); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.membershipType])); w9.Position = 1; w9.Expand = false; w9.Fill = false; w1.Add(this.hbox3); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.hbox3])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Internal child Magnatune.Configuration.ActionArea Gtk.HButtonBox w11 = this.ActionArea; w11.Name = "dialog1_ActionArea"; w11.Spacing = 6; w11.BorderWidth = ((uint)(5)); w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel])); w12.Expand = false; w12.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk])); w13.Position = 1; w13.Expand = false; w13.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 176; this.Show(); this.buttonCancel.Pressed += new System.EventHandler(this.OnButtonCancelPressed); this.buttonOk.Pressed += new System.EventHandler(this.OnButtonOkPressed); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget mvcSample1.UserEditView Stetic.BinContainer.Attach(this); this.Name = "mvcSample1.UserEditView"; // Container child mvcSample1.UserEditView.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(5)), ((uint)(2)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this._active = new Boxerp.Client.GtkSharp.Controls.CheckBox(); this._active.CanFocus = true; this._active.Name = "_active"; this.table1.Add(this._active); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this._active])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this._desk = new Boxerp.Client.GtkSharp.Controls.IntegerTextBox(); this._desk.Events = ((Gdk.EventMask)(256)); this._desk.Name = "_desk"; this._desk.Integer = 0; this._desk.MaxValue = 0; this.table1.Add(this._desk); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this._desk])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this._email = new Boxerp.Client.GtkSharp.Controls.TextBox(); this._email.Events = ((Gdk.EventMask)(256)); this._email.Name = "_email"; this.table1.Add(this._email); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this._email])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this._group = new Boxerp.Client.GtkSharp.Controls.TextBox(); this._group.Events = ((Gdk.EventMask)(256)); this._group.Name = "_group"; this.table1.Add(this._group); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this._group])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this._username = new Boxerp.Client.GtkSharp.Controls.TextBox(); this._username.Events = ((Gdk.EventMask)(256)); this._username.Name = "_username"; this.table1.Add(this._username); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this._username])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Group:"); this.table1.Add(this.label1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Username:"******"label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Email:"); this.table1.Add(this.label3); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Desk Number:"); this.table1.Add(this.label4); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Active"); this.table1.Add(this.label5); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.Spacing = 6; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button5 = new Gtk.Button(); this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = Mono.Unix.Catalog.GetString("Close"); this.hbuttonbox1.Add(this.button5); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button5])); w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(6)); this.vbox1.Add(this.hbuttonbox1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(6)); this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.button5.Clicked += new System.EventHandler(this.OnClose); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget mperfmon.NewCounter this.Name = "mperfmon.NewCounter"; this.Title = Mono.Unix.Catalog.GetString("Add performance counter"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child mperfmon.NewCounter.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.counters = new Gtk.TreeView(); this.counters.CanFocus = true; this.counters.Name = "counters"; this.counters.HeadersClickable = true; this.GtkScrolledWindow.Add(this.counters); this.GtkAlignment3.Add(this.GtkScrolledWindow); this.frame1.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Counters:</b>"); this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.table2.Add(this.frame1); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.frame1])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.instances = new Gtk.TreeView(); this.instances.CanFocus = true; this.instances.Name = "instances"; this.instances.HeadersClickable = true; this.GtkScrolledWindow1.Add(this.instances); this.GtkAlignment2.Add(this.GtkScrolledWindow1); this.frame2.Add(this.GtkAlignment2); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Instances:</b>"); this.GtkLabel2.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel2; this.table2.Add(this.frame2); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table2[this.frame2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Category"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.categories = Gtk.ComboBox.NewText(); this.categories.Name = "categories"; this.categories.Active = 0; this.hbox1.Add(this.categories); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.categories])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.table2.Add(this.hbox1); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table2[this.hbox1])); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(0)); w12.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table2); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.table2])); w13.Position = 0; w13.Padding = ((uint)(6)); // Internal child mperfmon.NewCounter.ActionArea Gtk.HButtonBox w14 = this.ActionArea; w14.Name = "dialog1_ActionArea"; w14.Spacing = 6; w14.BorderWidth = ((uint)(5)); w14.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w14[this.buttonCancel])); w15.Expand = false; w15.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w14[this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 565; this.DefaultHeight = 359; this.Show(); this.categories.Changed += new System.EventHandler(this.OnCategorySelected); this.counters.RowActivated += new Gtk.RowActivatedHandler(this.OnCounterRow); }
public BlogPreferences() : base(false, 12) { this.doc = Utils.OpenXmlfile(); Gtk.Label l = new Gtk.Label (Catalog.GetString ( "If your blog supports the Atom Publishing Protocol " + "(APP), you can add it here, and you'll then be able " + "to post notes directly from Tomboy to your blog. " + "You need the URL to either your service document, " + "or your collection document.")); l.Wrap = true; l.Xalign = 0; PackStart (l, false, false, 0); blog_store = CreateBlogStore (); blog_tree = new Gtk.TreeView (blog_store); blog_tree.HeadersVisible = true; blog_tree.Selection.Mode = Gtk.SelectionMode.Single; blog_tree.Selection.Changed += SelectionChanged; Gtk.CellRenderer renderer; Gtk.TreeViewColumn label_col = new Gtk.TreeViewColumn (); label_col.Title = Catalog.GetString ("Label"); label_col.Sizing = Gtk.TreeViewColumnSizing.Autosize; label_col.Resizable = true; label_col.Expand = true; renderer = new Gtk.CellRendererText (); label_col.PackStart (renderer, true); label_col.AddAttribute (renderer, "text", 0 /* label */); label_col.SortColumnId = 1; /* label */ label_col.SortIndicator = false; label_col.Reorderable = false; label_col.SortOrder = Gtk.SortType.Ascending; blog_tree.AppendColumn (label_col); Gtk.TreeViewColumn url_col = new Gtk.TreeViewColumn (); url_col.Title = Catalog.GetString ("Location"); url_col.Sizing = Gtk.TreeViewColumnSizing.Fixed; url_col.Resizable = true; renderer = new Gtk.CellRendererText (); url_col.PackStart (renderer, false); url_col.AddAttribute (renderer, "text", 1 /* url */); blog_tree.AppendColumn (url_col); Gtk.ScrolledWindow sw = new Gtk.ScrolledWindow (); sw.ShadowType = Gtk.ShadowType.In; sw.HeightRequest = 200; sw.WidthRequest = 300; sw.SetPolicy (Gtk.PolicyType.Automatic, Gtk.PolicyType.Automatic); sw.Add (blog_tree); PackStart (sw, true, true, 0); add_button = new Gtk.Button (Gtk.Stock.Add); add_button.Clicked += AddClicked; remove_button = new Gtk.Button (Gtk.Stock.Remove); remove_button.Sensitive = false; remove_button.Clicked += RemoveClicked; edit_button = new Gtk.Button (Gtk.Stock.Edit); edit_button.Sensitive = false; edit_button.Clicked += EditClicked; Gtk.HButtonBox hbutton_box = new Gtk.HButtonBox (); hbutton_box.Layout = Gtk.ButtonBoxStyle.Start; hbutton_box.Spacing = 6; hbutton_box.PackStart (add_button); hbutton_box.PackStart (remove_button); hbutton_box.PackStart (edit_button); PackStart (hbutton_box, false, false, 0); XmlText draft_state; draft_state = (XmlText) this.doc.SelectSingleNode ("preferences/settings/draft/text()"); if (draft_state == null) { XmlNode node = this.doc.DocumentElement; Console.Write ("aa"); if (node.SelectNodes("settings").Count == 0) { XmlElement childelement = this.doc.CreateElement ("settings"); node.AppendChild (childelement); } node = node.SelectSingleNode ("settings"); if (node.SelectNodes("draft").Count == 0) { XmlElement child_element = this.doc.CreateElement ("draft"); node.AppendChild (child_element); } XmlText text = this.doc.CreateTextNode ("yes"); node.SelectSingleNode ("draft").AppendChild (text); draft_state = (XmlText) this.doc.SelectSingleNode ("preferences/settings/draft/text()"); } bool draftbool = (draft_state.Value == "yes" ? true : false); Gtk.CheckButton button = new Gtk.CheckButton ("Create posts as drafts"); button.Active = draftbool; button.Clicked += DraftChanged; PackStart (button, false, false, 0); ShowAll (); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Docky.Widgets.AbstractLoginWidget Stetic.BinContainer.Attach(this); this.Name = "Docky.Widgets.AbstractLoginWidget"; // Container child Docky.Widgets.AbstractLoginWidget.Gtk.Container+ContainerChild this.wrapper_vbox = new Gtk.VBox(); this.wrapper_vbox.Name = "wrapper_vbox"; this.wrapper_vbox.Spacing = 6; this.wrapper_vbox.BorderWidth = ((uint)(10)); // Container child wrapper_vbox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.account_vbox = new Gtk.VBox(); this.account_vbox.Name = "account_vbox"; this.account_vbox.Spacing = 6; // Container child account_vbox.Gtk.Box+BoxChild this.login_tbl = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.login_tbl.Name = "login_tbl"; this.login_tbl.RowSpacing = ((uint)(6)); this.login_tbl.ColumnSpacing = ((uint)(6)); // Container child login_tbl.Gtk.Table+TableChild this.password_entry = new Docky.Widgets.SearchEntry(); this.password_entry.Name = "password_entry"; this.password_entry.EmptyMessage = "Password"; this.password_entry.Ready = true; this.password_entry.HasFocus = false; this.login_tbl.Add(this.password_entry); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.login_tbl[this.password_entry])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); // Container child login_tbl.Gtk.Table+TableChild this.password_lbl = new Gtk.Label(); this.password_lbl.Name = "password_lbl"; this.password_lbl.Xalign = 1F; this.password_lbl.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.login_tbl.Add(this.password_lbl); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.login_tbl[this.password_lbl])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child login_tbl.Gtk.Table+TableChild this.username_entry = new Docky.Widgets.SearchEntry(); this.username_entry.Name = "username_entry"; this.username_entry.EmptyMessage = "Username"; this.username_entry.Ready = true; this.username_entry.HasFocus = false; this.login_tbl.Add(this.username_entry); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.login_tbl[this.username_entry])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); // Container child login_tbl.Gtk.Table+TableChild this.username_lbl = new Gtk.Label(); this.username_lbl.Name = "username_lbl"; this.username_lbl.Xalign = 1F; this.username_lbl.LabelProp = Mono.Unix.Catalog.GetString("Username"); this.login_tbl.Add(this.username_lbl); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.login_tbl[this.username_lbl])); w4.XOptions = ((Gtk.AttachOptions)(0)); w4.YOptions = ((Gtk.AttachOptions)(4)); this.account_vbox.Add(this.login_tbl); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.account_vbox[this.login_tbl])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child account_vbox.Gtk.Box+BoxChild this.validate_lbl = new Gtk.Label(); this.validate_lbl.Name = "validate_lbl"; this.validate_lbl.LabelProp = Mono.Unix.Catalog.GetString("<i>Verify and save account information</i>"); this.validate_lbl.UseMarkup = true; this.account_vbox.Add(this.validate_lbl); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.account_vbox[this.validate_lbl])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child account_vbox.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.validate_btn = new Gtk.Button(); this.validate_btn.CanFocus = true; this.validate_btn.Name = "validate_btn"; this.validate_btn.UseStock = true; this.validate_btn.UseUnderline = true; this.validate_btn.Label = "gtk-apply"; this.hbuttonbox1.Add(this.validate_btn); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.validate_btn])); w7.Expand = false; w7.Fill = false; this.account_vbox.Add(this.hbuttonbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.account_vbox[this.hbuttonbox1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox2.Add(this.account_vbox); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.account_vbox])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.middle_box = new Gtk.VBox(); this.middle_box.Name = "middle_box"; this.middle_box.Spacing = 6; this.vbox2.Add(this.middle_box); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.middle_box])); w10.Position = 1; this.wrapper_vbox.Add(this.vbox2); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.wrapper_vbox[this.vbox2])); w11.Position = 1; // Container child wrapper_vbox.Gtk.Box+BoxChild this.new_account_vbox = new Gtk.VBox(); this.new_account_vbox.Name = "new_account_vbox"; this.new_account_vbox.Spacing = 6; // Container child new_account_vbox.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.new_account_vbox.Add(this.hseparator1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.hseparator1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child new_account_vbox.Gtk.Box+BoxChild this.new_account_lbl = new Gtk.Label(); this.new_account_lbl.Name = "new_account_lbl"; this.new_account_lbl.LabelProp = Mono.Unix.Catalog.GetString("Don't have an account?"); this.new_account_vbox.Add(this.new_account_lbl); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.new_account_lbl])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child new_account_vbox.Gtk.Box+BoxChild this.new_account_button_box = new Gtk.HButtonBox(); this.new_account_button_box.Name = "new_account_button_box"; this.new_account_button_box.LayoutStyle = ((Gtk.ButtonBoxStyle)(1)); this.new_account_vbox.Add(this.new_account_button_box); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.new_account_vbox[this.new_account_button_box])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.wrapper_vbox.Add(this.new_account_vbox); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.wrapper_vbox[this.new_account_vbox])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.Add(this.wrapper_vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.validate_btn.Clicked += new System.EventHandler(this.OnValidateBtnClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Smuxi.Frontend.Gnome.SteticPreferencesDialog this.Name = "Smuxi.Frontend.Gnome.SteticPreferencesDialog"; this.Title = Mono.Unix.Catalog.GetString("smuxi - Preferences"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox1"; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.BorderWidth = ((uint)(10)); // Container child hbox1.Gtk.Box+BoxChild this.MenuScrolledWindow = new Gtk.ScrolledWindow(); this.MenuScrolledWindow.WidthRequest = 128; this.MenuScrolledWindow.Name = "MenuScrolledWindow"; this.MenuScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child MenuScrolledWindow.Gtk.Container+ContainerChild this.MenuTreeView = new Gtk.TreeView(); this.MenuTreeView.Name = "MenuTreeView"; this.MenuTreeView.EnableSearch = false; this.MenuTreeView.HeadersVisible = false; this.MenuTreeView.HeadersClickable = true; this.MenuScrolledWindow.Add(this.MenuTreeView); this.hbox1.Add(this.MenuScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.MenuScrolledWindow])); w3.Position = 0; w3.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.Notebook = new Gtk.Notebook(); this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 1; this.Notebook.ShowBorder = false; // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.BorderWidth = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(5)); this.table1.ColumnSpacing = ((uint)(5)); // Container child table1.Gtk.Table+TableChild this.ConnectionNicknamesEntry = new Gtk.Entry(); this.ConnectionNicknamesEntry.Name = "ConnectionNicknamesEntry"; this.ConnectionNicknamesEntry.IsEditable = true; this.ConnectionNicknamesEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionNicknamesEntry); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionNicknamesEntry])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionRealnameEntry = new Gtk.Entry(); this.ConnectionRealnameEntry.Name = "ConnectionRealnameEntry"; this.ConnectionRealnameEntry.IsEditable = true; this.ConnectionRealnameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionRealnameEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionRealnameEntry])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionUsernameEntry = new Gtk.Entry(); this.ConnectionUsernameEntry.Name = "ConnectionUsernameEntry"; this.ConnectionUsernameEntry.IsEditable = true; this.ConnectionUsernameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionUsernameEntry); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionUsernameEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.EncodingComboBox = new Gtk.ComboBox(); this.EncodingComboBox.Name = "EncodingComboBox"; this.table1.Add(this.EncodingComboBox); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.EncodingComboBox])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox13 = new Gtk.HBox(); this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Nicknames:"); this.hbox13.Add(this.label6); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox13[this.label6])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.fixed31 = new Gtk.Fixed(); this.fixed31.Name = "fixed31"; this.fixed31.HasWindow = false; this.hbox13.Add(this.fixed31); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox13[this.fixed31])); w9.Position = 1; this.table1.Add(this.hbox13); // Container child table1.Gtk.Table+TableChild this.hbox14 = new Gtk.HBox(); this.hbox14.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username:"******"fixed32"; this.fixed32.HasWindow = false; this.hbox14.Add(this.fixed32); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox14[this.fixed32])); w12.Position = 1; this.table1.Add(this.hbox14); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.hbox14])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox15 = new Gtk.HBox(); this.hbox15.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Realname:"); this.hbox15.Add(this.label8); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox15[this.label8])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.fixed33 = new Gtk.Fixed(); this.fixed33.Name = "fixed33"; this.fixed33.HasWindow = false; this.hbox15.Add(this.fixed33); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox15[this.fixed33])); w15.Position = 1; this.table1.Add(this.hbox15); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.hbox15])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.label58 = new Gtk.Label(); this.label58.Name = "label58"; this.label58.Xalign = 0F; this.label58.LabelProp = Mono.Unix.Catalog.GetString("Encoding:"); this.table1.Add(this.label58); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label58])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.YOptions = ((Gtk.AttachOptions)(0)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w18.Position = 0; w18.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.label37 = new Gtk.Label(); this.label37.Name = "label37"; this.label37.LabelProp = Mono.Unix.Catalog.GetString("On Connect Commands:"); this.hbox2.Add(this.label37); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.label37])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed18 = new Gtk.Fixed(); this.fixed18.Name = "fixed18"; this.fixed18.HasWindow = false; this.hbox2.Add(this.fixed18); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed18])); w20.Position = 1; this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.WidthRequest = 350; this.scrolledwindow1.HeightRequest = 100; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.OnConnectCommandsTextView = new Gtk.TextView(); this.OnConnectCommandsTextView.WidthRequest = 152; this.OnConnectCommandsTextView.HeightRequest = 168; this.OnConnectCommandsTextView.Name = "OnConnectCommandsTextView"; this.OnConnectCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow1.Add(this.OnConnectCommandsTextView); this.vbox3.Add(this.scrolledwindow1); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1])); w23.Position = 1; this.vbox2.Add(this.vbox3); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w24.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.label43 = new Gtk.Label(); this.label43.Name = "label43"; this.label43.LabelProp = Mono.Unix.Catalog.GetString("On Startup Commands:"); this.hbox3.Add(this.label43); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.label43])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.fixed19 = new Gtk.Fixed(); this.fixed19.Name = "fixed19"; this.fixed19.HasWindow = false; this.hbox3.Add(this.fixed19); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox3[this.fixed19])); w26.Position = 1; this.vbox4.Add(this.hbox3); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.WidthRequest = 350; this.scrolledwindow2.HeightRequest = 100; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.OnStartupCommandsTextView = new Gtk.TextView(); this.OnStartupCommandsTextView.WidthRequest = 152; this.OnStartupCommandsTextView.HeightRequest = 168; this.OnStartupCommandsTextView.Name = "OnStartupCommandsTextView"; this.OnStartupCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow2.Add(this.OnStartupCommandsTextView); this.vbox4.Add(this.scrolledwindow2); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox4[this.scrolledwindow2])); w29.Position = 1; this.vbox2.Add(this.vbox4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox4])); w30.Position = 1; this.vbox1.Add(this.vbox2); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w31.Position = 1; this.Notebook.Add(this.vbox1); // Notebook tab this.label44 = new Gtk.Label(); this.label44.Name = "label44"; this.label44.LabelProp = Mono.Unix.Catalog.GetString("C_onnection"); this.label44.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox1, this.label44); this.label44.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.InterfaceNotebook = new Gtk.Notebook(); this.InterfaceNotebook.Name = "InterfaceNotebook"; this.InterfaceNotebook.CurrentPage = 0; // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox10 = new Gtk.VBox(); this.vbox10.Name = "vbox10"; // Container child vbox10.Gtk.Box+BoxChild this.table5 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(5)); this.table5.ColumnSpacing = ((uint)(5)); this.table5.BorderWidth = ((uint)(5)); // Container child table5.Gtk.Table+TableChild this.BufferLinesSpinButton = new Gtk.SpinButton(1, 9999, 1); this.BufferLinesSpinButton.WidthRequest = 60; this.BufferLinesSpinButton.Name = "BufferLinesSpinButton"; this.BufferLinesSpinButton.Adjustment.PageIncrement = 10; this.BufferLinesSpinButton.Adjustment.PageSize = 10; this.BufferLinesSpinButton.ClimbRate = 1; this.BufferLinesSpinButton.Numeric = true; this.BufferLinesSpinButton.Value = 200; this.table5.Add(this.BufferLinesSpinButton); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table5[this.BufferLinesSpinButton])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.EngineBufferLinesSpinButton = new Gtk.SpinButton(0, 9999, 1); this.EngineBufferLinesSpinButton.WidthRequest = 60; this.EngineBufferLinesSpinButton.Name = "EngineBufferLinesSpinButton"; this.EngineBufferLinesSpinButton.Adjustment.PageIncrement = 10; this.EngineBufferLinesSpinButton.Adjustment.PageSize = 10; this.EngineBufferLinesSpinButton.ClimbRate = 1; this.EngineBufferLinesSpinButton.Numeric = true; this.EngineBufferLinesSpinButton.Value = 200; this.table5.Add(this.EngineBufferLinesSpinButton); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table5[this.EngineBufferLinesSpinButton])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.hbox7 = new Gtk.HBox(); this.hbox7.Name = "hbox7"; // Container child hbox7.Gtk.Box+BoxChild this.label33 = new Gtk.Label(); this.label33.Name = "label33"; this.label33.LabelProp = Mono.Unix.Catalog.GetString("Timestamp Format:"); this.hbox7.Add(this.label33); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox7[this.label33])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fixed25 = new Gtk.Fixed(); this.fixed25.Name = "fixed25"; this.fixed25.HasWindow = false; this.hbox7.Add(this.fixed25); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox7[this.fixed25])); w36.Position = 1; this.table5.Add(this.hbox7); // Container child table5.Gtk.Table+TableChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; // Container child hbox8.Gtk.Box+BoxChild this.label39 = new Gtk.Label(); this.label39.Name = "label39"; this.label39.LabelProp = Mono.Unix.Catalog.GetString("Buffer Lines:"); this.hbox8.Add(this.label39); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox8[this.label39])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed26 = new Gtk.Fixed(); this.fixed26.Name = "fixed26"; this.fixed26.HasWindow = false; this.hbox8.Add(this.fixed26); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox8[this.fixed26])); w39.Position = 1; this.table5.Add(this.hbox8); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table5[this.hbox8])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.hbox9 = new Gtk.HBox(); this.hbox9.Name = "hbox9"; // Container child hbox9.Gtk.Box+BoxChild this.label40 = new Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = Mono.Unix.Catalog.GetString("Engine Buffer Lines:"); this.hbox9.Add(this.label40); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox9[this.label40])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed27 = new Gtk.Fixed(); this.fixed27.Name = "fixed27"; this.fixed27.HasWindow = false; this.hbox9.Add(this.fixed27); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox9[this.fixed27])); w42.Position = 1; this.table5.Add(this.hbox9); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table5[this.hbox9])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); // Container child table5.Gtk.Table+TableChild this.TimestampFormatEntry = new Gtk.Entry(); this.TimestampFormatEntry.WidthRequest = 60; this.TimestampFormatEntry.Name = "TimestampFormatEntry"; this.TimestampFormatEntry.Text = "HH:mm"; this.TimestampFormatEntry.IsEditable = true; this.TimestampFormatEntry.InvisibleChar = '●'; this.table5.Add(this.TimestampFormatEntry); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table5[this.TimestampFormatEntry])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((Gtk.AttachOptions)(0)); this.vbox10.Add(this.table5); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox10[this.table5])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripColorsCheckButton = new Gtk.CheckButton(); this.StripColorsCheckButton.Name = "StripColorsCheckButton"; this.StripColorsCheckButton.DrawIndicator = true; this.StripColorsCheckButton.UseUnderline = true; this.StripColorsCheckButton.Remove(this.StripColorsCheckButton.Child); // Container child StripColorsCheckButton.Gtk.Container+ContainerChild this.alignment16 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment16.Name = "alignment16"; // Container child alignment16.Gtk.Container+ContainerChild this.hbox17 = new Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 2; // Container child hbox17.Gtk.Box+BoxChild this.image5 = new Gtk.Image(); this.image5.Name = "image5"; this.image5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox17.Add(this.image5); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox17[this.image5])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.label47 = new Gtk.Label(); this.label47.Name = "label47"; this.label47.LabelProp = Mono.Unix.Catalog.GetString("Strip Colors"); this.label47.UseUnderline = true; this.hbox17.Add(this.label47); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox17[this.label47])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.alignment16.Add(this.hbox17); this.StripColorsCheckButton.Add(this.alignment16); this.vbox10.Add(this.StripColorsCheckButton); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripColorsCheckButton])); w50.Position = 1; w50.Expand = false; w50.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripFormattingsCheckButton = new Gtk.CheckButton(); this.StripFormattingsCheckButton.Name = "StripFormattingsCheckButton"; this.StripFormattingsCheckButton.DrawIndicator = true; this.StripFormattingsCheckButton.UseUnderline = true; this.StripFormattingsCheckButton.Remove(this.StripFormattingsCheckButton.Child); // Container child StripFormattingsCheckButton.Gtk.Container+ContainerChild this.alignment15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment15.Name = "alignment15"; // Container child alignment15.Gtk.Container+ContainerChild this.hbox16 = new Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 2; // Container child hbox16.Gtk.Box+BoxChild this.image6 = new Gtk.Image(); this.image6.Name = "image6"; this.image6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox16.Add(this.image6); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox16[this.image6])); w51.Position = 0; w51.Expand = false; w51.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.label46 = new Gtk.Label(); this.label46.Name = "label46"; this.label46.LabelProp = Mono.Unix.Catalog.GetString("Strip Formattings"); this.label46.UseUnderline = true; this.hbox16.Add(this.label46); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.hbox16[this.label46])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.alignment15.Add(this.hbox16); this.StripFormattingsCheckButton.Add(this.alignment15); this.vbox10.Add(this.StripFormattingsCheckButton); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripFormattingsCheckButton])); w55.Position = 2; w55.Expand = false; w55.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.checkbutton1.Remove(this.checkbutton1.Child); // Container child checkbutton1.Gtk.Container+ContainerChild this.alignment26 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment26.Name = "alignment26"; // Container child alignment26.Gtk.Container+ContainerChild this.hbox28 = new Gtk.HBox(); this.hbox28.Name = "hbox28"; this.hbox28.Spacing = 2; // Container child hbox28.Gtk.Box+BoxChild this.image7 = new Gtk.Image(); this.image7.Name = "image7"; this.image7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox28.Add(this.image7); Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.hbox28[this.image7])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child hbox28.Gtk.Box+BoxChild this.label60 = new Gtk.Label(); this.label60.Name = "label60"; this.label60.LabelProp = Mono.Unix.Catalog.GetString("Strip UTF-8"); this.label60.UseUnderline = true; this.hbox28.Add(this.label60); Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox28[this.label60])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.alignment26.Add(this.hbox28); this.checkbutton1.Add(this.alignment26); this.vbox10.Add(this.checkbutton1); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.vbox10[this.checkbutton1])); w60.Position = 3; w60.Expand = false; w60.Fill = false; this.InterfaceNotebook.Add(this.vbox10); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.InterfaceNotebook.SetTabLabel(this.vbox10, this.label1); this.label1.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 5; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(12)); // Container child alignment4.Gtk.Container+ContainerChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TabPositionRadioButtonTop.CanFocus = true; this.TabPositionRadioButtonTop.Name = "TabPositionRadioButtonTop"; this.TabPositionRadioButtonTop.Active = true; this.TabPositionRadioButtonTop.DrawIndicator = true; this.TabPositionRadioButtonTop.UseUnderline = true; this.TabPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TabPositionRadioButtonTop.Remove(this.TabPositionRadioButtonTop.Child); // Container child TabPositionRadioButtonTop.Gtk.Container+ContainerChild this.hbox10 = new Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.image12 = new Gtk.Image(); this.image12.Name = "image12"; this.image12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox10.Add(this.image12); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.hbox10[this.image12])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.hbox10.Add(this.label5); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.hbox10[this.label5])); w63.Position = 1; w63.Expand = false; w63.Fill = false; this.TabPositionRadioButtonTop.Add(this.hbox10); this.vbox6.Add(this.TabPositionRadioButtonTop); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonTop])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TabPositionRadioButtonBottom.Name = "TabPositionRadioButtonBottom"; this.TabPositionRadioButtonBottom.DrawIndicator = true; this.TabPositionRadioButtonBottom.UseUnderline = true; this.TabPositionRadioButtonBottom.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonBottom.Remove(this.TabPositionRadioButtonBottom.Child); // Container child TabPositionRadioButtonBottom.Gtk.Container+ContainerChild this.hbox24 = new Gtk.HBox(); this.hbox24.Name = "hbox24"; this.hbox24.Spacing = 2; // Container child hbox24.Gtk.Box+BoxChild this.image9 = new Gtk.Image(); this.image9.Name = "image9"; this.image9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox24.Add(this.image9); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox24[this.image9])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox24.Gtk.Box+BoxChild this.label54 = new Gtk.Label(); this.label54.Name = "label54"; this.label54.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label54.UseUnderline = true; this.hbox24.Add(this.label54); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox24[this.label54])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.TabPositionRadioButtonBottom.Add(this.hbox24); this.vbox6.Add(this.TabPositionRadioButtonBottom); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonBottom])); w69.Position = 1; w69.Expand = false; w69.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.TabPositionRadioButtonLeft.Name = "TabPositionRadioButtonLeft"; this.TabPositionRadioButtonLeft.DrawIndicator = true; this.TabPositionRadioButtonLeft.UseUnderline = true; this.TabPositionRadioButtonLeft.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonLeft.Remove(this.TabPositionRadioButtonLeft.Child); // Container child TabPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment24.Name = "alignment24"; // Container child alignment24.Gtk.Container+ContainerChild this.hbox25 = new Gtk.HBox(); this.hbox25.Name = "hbox25"; this.hbox25.Spacing = 2; // Container child hbox25.Gtk.Box+BoxChild this.image10 = new Gtk.Image(); this.image10.Name = "image10"; this.image10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox25.Add(this.image10); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox25[this.image10])); w70.Position = 0; w70.Expand = false; w70.Fill = false; // Container child hbox25.Gtk.Box+BoxChild this.label55 = new Gtk.Label(); this.label55.Name = "label55"; this.label55.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label55.UseUnderline = true; this.hbox25.Add(this.label55); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.hbox25[this.label55])); w71.Position = 1; w71.Expand = false; w71.Fill = false; this.alignment24.Add(this.hbox25); this.TabPositionRadioButtonLeft.Add(this.alignment24); this.vbox6.Add(this.TabPositionRadioButtonLeft); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonLeft])); w74.Position = 2; w74.Expand = false; w74.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.TabPositionRadioButtonRight.Name = "TabPositionRadioButtonRight"; this.TabPositionRadioButtonRight.DrawIndicator = true; this.TabPositionRadioButtonRight.UseUnderline = true; this.TabPositionRadioButtonRight.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonRight.Remove(this.TabPositionRadioButtonRight.Child); // Container child TabPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment25 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment25.Name = "alignment25"; // Container child alignment25.Gtk.Container+ContainerChild this.hbox26 = new Gtk.HBox(); this.hbox26.Name = "hbox26"; this.hbox26.Spacing = 2; // Container child hbox26.Gtk.Box+BoxChild this.image11 = new Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox26.Add(this.image11); Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild)(this.hbox26[this.image11])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child hbox26.Gtk.Box+BoxChild this.label56 = new Gtk.Label(); this.label56.Name = "label56"; this.label56.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label56.UseUnderline = true; this.hbox26.Add(this.label56); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.hbox26[this.label56])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.alignment25.Add(this.hbox26); this.TabPositionRadioButtonRight.Add(this.alignment25); this.vbox6.Add(this.TabPositionRadioButtonRight); Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonRight])); w79.Position = 3; w79.Expand = false; w79.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TabPositionRadioButtonNone.Name = "TabPositionRadioButtonNone"; this.TabPositionRadioButtonNone.DrawIndicator = true; this.TabPositionRadioButtonNone.UseUnderline = true; this.TabPositionRadioButtonNone.Group = this.TabPositionRadioButtonTop.Group; this.vbox6.Add(this.TabPositionRadioButtonNone); Gtk.Box.BoxChild w80 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonNone])); w80.Position = 4; w80.Expand = false; w80.Fill = false; this.alignment4.Add(this.vbox6); this.frame1.Add(this.alignment4); this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("<b> Tabs Position </b>"); this.label9.UseMarkup = true; this.frame1.LabelWidget = this.label9; this.vbox5.Add(this.frame1); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame1])); w83.Position = 0; w83.Expand = false; // Container child vbox5.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; // Container child frame4.Gtk.Container+ContainerChild this.alignment8 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment8.Name = "alignment8"; this.alignment8.LeftPadding = ((uint)(12)); // Container child alignment8.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(5)); this.table3.ColumnSpacing = ((uint)(5)); // Container child table3.Gtk.Table+TableChild this.ActivityColorButton = new Gtk.ColorButton(); this.ActivityColorButton.Name = "ActivityColorButton"; this.table3.Add(this.ActivityColorButton); Gtk.Table.TableChild w84 = ((Gtk.Table.TableChild)(this.table3[this.ActivityColorButton])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.LeftAttach = ((uint)(1)); w84.RightAttach = ((uint)(2)); w84.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.HighlightColorButton = new Gtk.ColorButton(); this.HighlightColorButton.Name = "HighlightColorButton"; this.table3.Add(this.HighlightColorButton); Gtk.Table.TableChild w85 = ((Gtk.Table.TableChild)(this.table3[this.HighlightColorButton])); w85.TopAttach = ((uint)(3)); w85.BottomAttach = ((uint)(4)); w85.LeftAttach = ((uint)(1)); w85.RightAttach = ((uint)(2)); w85.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = Mono.Unix.Catalog.GetString("No Activity"); this.table3.Add(this.label16); Gtk.Table.TableChild w86 = ((Gtk.Table.TableChild)(this.table3[this.label16])); w86.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Activity"); this.table3.Add(this.label17); Gtk.Table.TableChild w87 = ((Gtk.Table.TableChild)(this.table3[this.label17])); w87.TopAttach = ((uint)(1)); w87.BottomAttach = ((uint)(2)); w87.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = Mono.Unix.Catalog.GetString("Join/Part/Mode"); this.table3.Add(this.label18); Gtk.Table.TableChild w88 = ((Gtk.Table.TableChild)(this.table3[this.label18])); w88.TopAttach = ((uint)(2)); w88.BottomAttach = ((uint)(3)); w88.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label59 = new Gtk.Label(); this.label59.Name = "label59"; this.label59.Xalign = 0F; this.label59.LabelProp = Mono.Unix.Catalog.GetString("Highlight"); this.table3.Add(this.label59); Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table3[this.label59])); w89.TopAttach = ((uint)(3)); w89.BottomAttach = ((uint)(4)); w89.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.ModeColorButton = new Gtk.ColorButton(); this.ModeColorButton.Name = "ModeColorButton"; this.table3.Add(this.ModeColorButton); Gtk.Table.TableChild w90 = ((Gtk.Table.TableChild)(this.table3[this.ModeColorButton])); w90.TopAttach = ((uint)(2)); w90.BottomAttach = ((uint)(3)); w90.LeftAttach = ((uint)(1)); w90.RightAttach = ((uint)(2)); w90.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.NoActivityColorButton = new Gtk.ColorButton(); this.NoActivityColorButton.Name = "NoActivityColorButton"; this.table3.Add(this.NoActivityColorButton); Gtk.Table.TableChild w91 = ((Gtk.Table.TableChild)(this.table3[this.NoActivityColorButton])); w91.LeftAttach = ((uint)(1)); w91.RightAttach = ((uint)(2)); w91.YOptions = ((Gtk.AttachOptions)(0)); this.alignment8.Add(this.table3); this.frame4.Add(this.alignment8); this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = Mono.Unix.Catalog.GetString("<b> Tab Colors </b>"); this.label15.UseMarkup = true; this.frame4.LabelWidget = this.label15; this.vbox5.Add(this.frame4); Gtk.Box.BoxChild w94 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame4])); w94.Position = 1; w94.Expand = false; this.InterfaceNotebook.Add(this.vbox5); Gtk.Notebook.NotebookChild w95 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox5])); w95.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Tabs"); this.InterfaceNotebook.SetTabLabel(this.vbox5, this.label2); this.label2.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; // Container child frame3.Gtk.Container+ContainerChild this.alignment7 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment7.Name = "alignment7"; this.alignment7.LeftPadding = ((uint)(12)); // Container child alignment7.Gtk.Container+ContainerChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 5; // Container child vbox7.Gtk.Box+BoxChild this.table4 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(5)); this.table4.ColumnSpacing = ((uint)(5)); this.table4.BorderWidth = ((uint)(5)); // Container child table4.Gtk.Table+TableChild this.CommandCharacterEntry = new Gtk.Entry(); this.CommandCharacterEntry.WidthRequest = 30; this.CommandCharacterEntry.Name = "CommandCharacterEntry"; this.CommandCharacterEntry.Text = "/"; this.CommandCharacterEntry.IsEditable = true; this.CommandCharacterEntry.MaxLength = 1; this.CommandCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CommandCharacterEntry); Gtk.Table.TableChild w96 = ((Gtk.Table.TableChild)(this.table4[this.CommandCharacterEntry])); w96.TopAttach = ((uint)(1)); w96.BottomAttach = ((uint)(2)); w96.LeftAttach = ((uint)(1)); w96.RightAttach = ((uint)(2)); w96.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CommandHistorySizeSpinButton = new Gtk.SpinButton(1, 9999, 1); this.CommandHistorySizeSpinButton.WidthRequest = 60; this.CommandHistorySizeSpinButton.Name = "CommandHistorySizeSpinButton"; this.CommandHistorySizeSpinButton.Adjustment.PageIncrement = 10; this.CommandHistorySizeSpinButton.Adjustment.PageSize = 10; this.CommandHistorySizeSpinButton.ClimbRate = 1; this.CommandHistorySizeSpinButton.Numeric = true; this.CommandHistorySizeSpinButton.Value = 30; this.table4.Add(this.CommandHistorySizeSpinButton); Gtk.Table.TableChild w97 = ((Gtk.Table.TableChild)(this.table4[this.CommandHistorySizeSpinButton])); w97.TopAttach = ((uint)(2)); w97.BottomAttach = ((uint)(3)); w97.LeftAttach = ((uint)(1)); w97.RightAttach = ((uint)(2)); w97.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CompletionCharacterEntry = new Gtk.Entry(); this.CompletionCharacterEntry.WidthRequest = 30; this.CompletionCharacterEntry.Name = "CompletionCharacterEntry"; this.CompletionCharacterEntry.Text = ":"; this.CompletionCharacterEntry.IsEditable = true; this.CompletionCharacterEntry.MaxLength = 1; this.CompletionCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CompletionCharacterEntry); Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table4[this.CompletionCharacterEntry])); w98.LeftAttach = ((uint)(1)); w98.RightAttach = ((uint)(2)); w98.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Completion Character:"); this.hbox4.Add(this.label13); Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox4[this.label13])); w99.Position = 0; w99.Expand = false; w99.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.fixed22 = new Gtk.Fixed(); this.fixed22.Name = "fixed22"; this.fixed22.HasWindow = false; this.hbox4.Add(this.fixed22); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox4[this.fixed22])); w100.Position = 1; this.table4.Add(this.hbox4); // Container child table4.Gtk.Table+TableChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Command Character:"); this.hbox5.Add(this.label14); Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.hbox5[this.label14])); w102.Position = 0; w102.Expand = false; w102.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.fixed23 = new Gtk.Fixed(); this.fixed23.Name = "fixed23"; this.fixed23.HasWindow = false; this.hbox5.Add(this.fixed23); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.hbox5[this.fixed23])); w103.Position = 1; this.table4.Add(this.hbox5); Gtk.Table.TableChild w104 = ((Gtk.Table.TableChild)(this.table4[this.hbox5])); w104.TopAttach = ((uint)(1)); w104.BottomAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.hbox6 = new Gtk.HBox(); this.hbox6.Name = "hbox6"; // Container child hbox6.Gtk.Box+BoxChild this.label42 = new Gtk.Label(); this.label42.Name = "label42"; this.label42.LabelProp = Mono.Unix.Catalog.GetString("Command History Size:"); this.hbox6.Add(this.label42); Gtk.Box.BoxChild w105 = ((Gtk.Box.BoxChild)(this.hbox6[this.label42])); w105.Position = 0; w105.Expand = false; w105.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.fixed24 = new Gtk.Fixed(); this.fixed24.Name = "fixed24"; this.fixed24.HasWindow = false; this.hbox6.Add(this.fixed24); Gtk.Box.BoxChild w106 = ((Gtk.Box.BoxChild)(this.hbox6[this.fixed24])); w106.Position = 1; this.table4.Add(this.hbox6); Gtk.Table.TableChild w107 = ((Gtk.Table.TableChild)(this.table4[this.hbox6])); w107.TopAttach = ((uint)(2)); w107.BottomAttach = ((uint)(3)); this.vbox7.Add(this.table4); Gtk.Box.BoxChild w108 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4])); w108.Position = 0; w108.Expand = false; w108.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.BashStyleCompletionCheckButton = new Gtk.CheckButton(); this.BashStyleCompletionCheckButton.Name = "BashStyleCompletionCheckButton"; this.BashStyleCompletionCheckButton.Label = Mono.Unix.Catalog.GetString("Bash-Style Completion"); this.BashStyleCompletionCheckButton.DrawIndicator = true; this.BashStyleCompletionCheckButton.UseUnderline = true; this.vbox7.Add(this.BashStyleCompletionCheckButton); Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.vbox7[this.BashStyleCompletionCheckButton])); w109.Position = 1; w109.Expand = false; w109.Fill = false; this.alignment7.Add(this.vbox7); this.frame3.Add(this.alignment7); this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("<b> Entry Field </b>"); this.label12.UseMarkup = true; this.frame3.LabelWidget = this.label12; this.InterfaceNotebook.Add(this.frame3); Gtk.Notebook.NotebookChild w112 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.frame3])); w112.Position = 2; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Input"); this.InterfaceNotebook.SetTabLabel(this.frame3, this.label3); this.label3.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox8 = new Gtk.VBox(); this.vbox8.Name = "vbox8"; // Container child vbox8.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.alignment5 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(12)); // Container child alignment5.Gtk.Container+ContainerChild this.vbox9 = new Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 5; this.vbox9.BorderWidth = ((uint)(5)); // Container child vbox9.Gtk.Box+BoxChild this.NickColorsCheckButton = new Gtk.CheckButton(); this.NickColorsCheckButton.Name = "NickColorsCheckButton"; this.NickColorsCheckButton.Label = Mono.Unix.Catalog.GetString("Nick Colors"); this.NickColorsCheckButton.DrawIndicator = true; this.NickColorsCheckButton.UseUnderline = true; this.vbox9.Add(this.NickColorsCheckButton); Gtk.Box.BoxChild w113 = ((Gtk.Box.BoxChild)(this.vbox9[this.NickColorsCheckButton])); w113.Position = 0; w113.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame10 = new Gtk.Frame(); this.frame10.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild this.alignment14 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment14.Name = "alignment14"; this.alignment14.LeftPadding = ((uint)(12)); // Container child alignment14.Gtk.Container+ContainerChild this.vbox11 = new Gtk.VBox(); this.vbox11.Name = "vbox11"; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TopicPositionRadioButtonTop.Name = "TopicPositionRadioButtonTop"; this.TopicPositionRadioButtonTop.Active = true; this.TopicPositionRadioButtonTop.DrawIndicator = true; this.TopicPositionRadioButtonTop.UseUnderline = true; this.TopicPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TopicPositionRadioButtonTop.Remove(this.TopicPositionRadioButtonTop.Child); // Container child TopicPositionRadioButtonTop.Gtk.Container+ContainerChild this.alignment21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment21.Name = "alignment21"; // Container child alignment21.Gtk.Container+ContainerChild this.hbox22 = new Gtk.HBox(); this.hbox22.Name = "hbox22"; this.hbox22.Spacing = 2; // Container child hbox22.Gtk.Box+BoxChild this.image1 = new Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox22.Add(this.image1); Gtk.Box.BoxChild w114 = ((Gtk.Box.BoxChild)(this.hbox22[this.image1])); w114.Position = 0; w114.Expand = false; w114.Fill = false; // Container child hbox22.Gtk.Box+BoxChild this.label52 = new Gtk.Label(); this.label52.Name = "label52"; this.label52.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.label52.UseUnderline = true; this.hbox22.Add(this.label52); Gtk.Box.BoxChild w115 = ((Gtk.Box.BoxChild)(this.hbox22[this.label52])); w115.Position = 1; w115.Expand = false; w115.Fill = false; this.alignment21.Add(this.hbox22); this.TopicPositionRadioButtonTop.Add(this.alignment21); this.vbox11.Add(this.TopicPositionRadioButtonTop); Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonTop])); w118.Position = 0; w118.Expand = false; w118.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TopicPositionRadioButtonBottom.Name = "TopicPositionRadioButtonBottom"; this.TopicPositionRadioButtonBottom.DrawIndicator = true; this.TopicPositionRadioButtonBottom.UseUnderline = true; this.TopicPositionRadioButtonBottom.Group = this.TopicPositionRadioButtonTop.Group; this.TopicPositionRadioButtonBottom.Remove(this.TopicPositionRadioButtonBottom.Child); // Container child TopicPositionRadioButtonBottom.Gtk.Container+ContainerChild this.alignment20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment20.Name = "alignment20"; // Container child alignment20.Gtk.Container+ContainerChild this.hbox21 = new Gtk.HBox(); this.hbox21.Name = "hbox21"; this.hbox21.Spacing = 2; // Container child hbox21.Gtk.Box+BoxChild this.image2 = new Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox21.Add(this.image2); Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.hbox21[this.image2])); w119.Position = 0; w119.Expand = false; w119.Fill = false; // Container child hbox21.Gtk.Box+BoxChild this.label51 = new Gtk.Label(); this.label51.Name = "label51"; this.label51.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label51.UseUnderline = true; this.hbox21.Add(this.label51); Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.hbox21[this.label51])); w120.Position = 1; w120.Expand = false; w120.Fill = false; this.alignment20.Add(this.hbox21); this.TopicPositionRadioButtonBottom.Add(this.alignment20); this.vbox11.Add(this.TopicPositionRadioButtonBottom); Gtk.Box.BoxChild w123 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonBottom])); w123.Position = 1; w123.Expand = false; w123.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TopicPositionRadioButtonNone.Name = "TopicPositionRadioButtonNone"; this.TopicPositionRadioButtonNone.DrawIndicator = true; this.TopicPositionRadioButtonNone.UseUnderline = true; this.TopicPositionRadioButtonNone.Group = this.TopicPositionRadioButtonTop.Group; this.vbox11.Add(this.TopicPositionRadioButtonNone); Gtk.Box.BoxChild w124 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonNone])); w124.Position = 2; w124.Expand = false; w124.Fill = false; this.alignment14.Add(this.vbox11); this.frame10.Add(this.alignment14); this.label41 = new Gtk.Label(); this.label41.Name = "label41"; this.label41.LabelProp = Mono.Unix.Catalog.GetString("<b> Topic Position </b>"); this.label41.UseMarkup = true; this.frame10.LabelWidget = this.label41; this.vbox9.Add(this.frame10); Gtk.Box.BoxChild w127 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame10])); w127.Position = 1; w127.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame9 = new Gtk.Frame(); this.frame9.WidthRequest = 152; this.frame9.HeightRequest = 96; this.frame9.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild this.alignment13 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment13.Name = "alignment13"; this.alignment13.LeftPadding = ((uint)(12)); // Container child alignment13.Gtk.Container+ContainerChild this.vbox12 = new Gtk.VBox(); this.vbox12.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.UserListPositionRadioButtonLeft.Name = "UserListPositionRadioButtonLeft"; this.UserListPositionRadioButtonLeft.Active = true; this.UserListPositionRadioButtonLeft.DrawIndicator = true; this.UserListPositionRadioButtonLeft.UseUnderline = true; this.UserListPositionRadioButtonLeft.Group = new GLib.SList(System.IntPtr.Zero); this.UserListPositionRadioButtonLeft.Remove(this.UserListPositionRadioButtonLeft.Child); // Container child UserListPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment17.Name = "alignment17"; // Container child alignment17.Gtk.Container+ContainerChild this.hbox18 = new Gtk.HBox(); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 2; // Container child hbox18.Gtk.Box+BoxChild this.image3 = new Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox18.Add(this.image3); Gtk.Box.BoxChild w128 = ((Gtk.Box.BoxChild)(this.hbox18[this.image3])); w128.Position = 0; w128.Expand = false; w128.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.label48 = new Gtk.Label(); this.label48.Name = "label48"; this.label48.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label48.UseUnderline = true; this.hbox18.Add(this.label48); Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild)(this.hbox18[this.label48])); w129.Position = 1; w129.Expand = false; w129.Fill = false; this.alignment17.Add(this.hbox18); this.UserListPositionRadioButtonLeft.Add(this.alignment17); this.vbox12.Add(this.UserListPositionRadioButtonLeft); Gtk.Box.BoxChild w132 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonLeft])); w132.Position = 0; w132.Expand = false; w132.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.UserListPositionRadioButtonRight.Name = "UserListPositionRadioButtonRight"; this.UserListPositionRadioButtonRight.DrawIndicator = true; this.UserListPositionRadioButtonRight.UseUnderline = true; this.UserListPositionRadioButtonRight.Group = this.UserListPositionRadioButtonLeft.Group; this.UserListPositionRadioButtonRight.Remove(this.UserListPositionRadioButtonRight.Child); // Container child UserListPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment18.Name = "alignment18"; // Container child alignment18.Gtk.Container+ContainerChild this.hbox19 = new Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 2; // Container child hbox19.Gtk.Box+BoxChild this.image4 = new Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox19.Add(this.image4); Gtk.Box.BoxChild w133 = ((Gtk.Box.BoxChild)(this.hbox19[this.image4])); w133.Position = 0; w133.Expand = false; w133.Fill = false; // Container child hbox19.Gtk.Box+BoxChild this.label49 = new Gtk.Label(); this.label49.Name = "label49"; this.label49.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label49.UseUnderline = true; this.hbox19.Add(this.label49); Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.hbox19[this.label49])); w134.Position = 1; w134.Expand = false; w134.Fill = false; this.alignment18.Add(this.hbox19); this.UserListPositionRadioButtonRight.Add(this.alignment18); this.vbox12.Add(this.UserListPositionRadioButtonRight); Gtk.Box.BoxChild w137 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonRight])); w137.Position = 1; w137.Expand = false; w137.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.UserListPositionRadioButtonNone.Name = "UserListPositionRadioButtonNone"; this.UserListPositionRadioButtonNone.DrawIndicator = true; this.UserListPositionRadioButtonNone.UseUnderline = true; this.UserListPositionRadioButtonNone.Group = this.UserListPositionRadioButtonLeft.Group; this.vbox12.Add(this.UserListPositionRadioButtonNone); Gtk.Box.BoxChild w138 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonNone])); w138.Position = 2; w138.Expand = false; w138.Fill = false; this.alignment13.Add(this.vbox12); this.frame9.Add(this.alignment13); this.label38 = new Gtk.Label(); this.label38.Name = "label38"; this.label38.LabelProp = Mono.Unix.Catalog.GetString("<b> User List Position </b>"); this.label38.UseMarkup = true; this.frame9.LabelWidget = this.label38; this.vbox9.Add(this.frame9); Gtk.Box.BoxChild w141 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame9])); w141.Position = 2; w141.Expand = false; this.alignment5.Add(this.vbox9); this.frame2.Add(this.alignment5); this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("<b> Channel </b>"); this.label10.UseMarkup = true; this.frame2.LabelWidget = this.label10; this.vbox8.Add(this.frame2); Gtk.Box.BoxChild w144 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame2])); w144.Position = 0; w144.Expand = false; // Container child vbox8.Gtk.Box+BoxChild this.frame11 = new Gtk.Frame(); this.frame11.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild this.alignment27 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment27.Name = "alignment27"; this.alignment27.LeftPadding = ((uint)(12)); // Container child alignment27.Gtk.Container+ContainerChild this.vbox13 = new Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.BorderWidth = ((uint)(5)); // Container child vbox13.Gtk.Box+BoxChild this.vbox14 = new Gtk.VBox(); this.vbox14.Name = "vbox14"; // Container child vbox14.Gtk.Box+BoxChild this.label62 = new Gtk.Label(); this.label62.Name = "label62"; this.label62.Xalign = 0F; this.label62.LabelProp = Mono.Unix.Catalog.GetString("Highlight words:"); this.vbox14.Add(this.label62); Gtk.Box.BoxChild w145 = ((Gtk.Box.BoxChild)(this.vbox14[this.label62])); w145.Position = 0; w145.Expand = false; w145.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.HighlightWordsTextView = new Gtk.TextView(); this.HighlightWordsTextView.Sensitive = false; this.HighlightWordsTextView.Name = "HighlightWordsTextView"; this.scrolledwindow4.Add(this.HighlightWordsTextView); this.vbox14.Add(this.scrolledwindow4); Gtk.Box.BoxChild w147 = ((Gtk.Box.BoxChild)(this.vbox14[this.scrolledwindow4])); w147.Position = 1; this.vbox13.Add(this.vbox14); Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild)(this.vbox13[this.vbox14])); w148.Position = 0; // Container child vbox13.Gtk.Box+BoxChild this.BeepOnHighlightCheckButton = new Gtk.CheckButton(); this.BeepOnHighlightCheckButton.Name = "BeepOnHighlightCheckButton"; this.BeepOnHighlightCheckButton.Label = Mono.Unix.Catalog.GetString("Beep on highlight"); this.BeepOnHighlightCheckButton.DrawIndicator = true; this.BeepOnHighlightCheckButton.UseUnderline = true; this.vbox13.Add(this.BeepOnHighlightCheckButton); Gtk.Box.BoxChild w149 = ((Gtk.Box.BoxChild)(this.vbox13[this.BeepOnHighlightCheckButton])); w149.Position = 1; w149.Expand = false; w149.Fill = false; this.alignment27.Add(this.vbox13); this.frame11.Add(this.alignment27); this.label61 = new Gtk.Label(); this.label61.Name = "label61"; this.label61.LabelProp = Mono.Unix.Catalog.GetString("<b> Highlighting </b>"); this.label61.UseMarkup = true; this.frame11.LabelWidget = this.label61; this.vbox8.Add(this.frame11); Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame11])); w152.Position = 1; this.InterfaceNotebook.Add(this.vbox8); Gtk.Notebook.NotebookChild w153 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox8])); w153.Position = 3; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Output"); this.InterfaceNotebook.SetTabLabel(this.vbox8, this.label4); this.label4.ShowAll(); this.Notebook.Add(this.InterfaceNotebook); Gtk.Notebook.NotebookChild w154 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.InterfaceNotebook])); w154.Position = 1; // Notebook tab this.label45 = new Gtk.Label(); this.label45.Name = "label45"; this.label45.LabelProp = Mono.Unix.Catalog.GetString("_Interface"); this.label45.UseUnderline = true; this.Notebook.SetTabLabel(this.InterfaceNotebook, this.label45); this.label45.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.hbox27 = new Gtk.HBox(); this.hbox27.Name = "hbox27"; this.hbox27.BorderWidth = ((uint)(5)); // Container child hbox27.Gtk.Box+BoxChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.ServersTreeView = new Gtk.TreeView(); this.ServersTreeView.Name = "ServersTreeView"; this.ServersTreeView.HeadersClickable = true; this.scrolledwindow3.Add(this.ServersTreeView); this.hbox27.Add(this.scrolledwindow3); Gtk.Box.BoxChild w156 = ((Gtk.Box.BoxChild)(this.hbox27[this.scrolledwindow3])); w156.Position = 0; // Container child hbox27.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.BorderWidth = ((uint)(5)); this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersAddButton = new Gtk.Button(); this.ServersAddButton.Name = "ServersAddButton"; this.ServersAddButton.UseStock = true; this.ServersAddButton.UseUnderline = true; this.ServersAddButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.ServersAddButton); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersEditButton = new Gtk.Button(); this.ServersEditButton.Name = "ServersEditButton"; this.ServersEditButton.UseStock = true; this.ServersEditButton.UseUnderline = true; this.ServersEditButton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.ServersEditButton); Gtk.ButtonBox.ButtonBoxChild w158 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersEditButton])); w158.Position = 1; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersRemoveButton = new Gtk.Button(); this.ServersRemoveButton.Name = "ServersRemoveButton"; this.ServersRemoveButton.UseStock = true; this.ServersRemoveButton.UseUnderline = true; this.ServersRemoveButton.Label = "gtk-remove"; this.vbuttonbox1.Add(this.ServersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w159 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersRemoveButton])); w159.Position = 2; this.hbox27.Add(this.vbuttonbox1); Gtk.Box.BoxChild w160 = ((Gtk.Box.BoxChild)(this.hbox27[this.vbuttonbox1])); w160.Position = 1; w160.Expand = false; this.Notebook.Add(this.hbox27); Gtk.Notebook.NotebookChild w161 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.hbox27])); w161.Position = 2; // Notebook tab this.label57 = new Gtk.Label(); this.label57.Name = "label57"; this.label57.LabelProp = Mono.Unix.Catalog.GetString("_Servers"); this.label57.UseUnderline = true; this.Notebook.SetTabLabel(this.hbox27, this.label57); this.label57.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox15 = new Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.BorderWidth = ((uint)(5)); // Container child vbox15.Gtk.Box+BoxChild this.frame12 = new Gtk.Frame(); this.frame12.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild this.alignment28 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment28.Name = "alignment28"; this.alignment28.LeftPadding = ((uint)(12)); // Container child alignment28.Gtk.Container+ContainerChild this.vbox16 = new Gtk.VBox(); this.vbox16.Name = "vbox16"; // Container child vbox16.Gtk.Box+BoxChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.ChannelFiltersTreeView = new Gtk.TreeView(); this.ChannelFiltersTreeView.Name = "ChannelFiltersTreeView"; this.ChannelFiltersTreeView.HeadersClickable = true; this.scrolledwindow5.Add(this.ChannelFiltersTreeView); this.vbox16.Add(this.scrolledwindow5); Gtk.Box.BoxChild w163 = ((Gtk.Box.BoxChild)(this.vbox16[this.scrolledwindow5])); w163.Position = 0; // Container child vbox16.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersAddButton = new Gtk.Button(); this.ChannelFiltersAddButton.Sensitive = false; this.ChannelFiltersAddButton.Name = "ChannelFiltersAddButton"; this.ChannelFiltersAddButton.UseStock = true; this.ChannelFiltersAddButton.UseUnderline = true; this.ChannelFiltersAddButton.Label = "gtk-add"; this.hbuttonbox1.Add(this.ChannelFiltersAddButton); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersRemoveButton = new Gtk.Button(); this.ChannelFiltersRemoveButton.Sensitive = false; this.ChannelFiltersRemoveButton.Name = "ChannelFiltersRemoveButton"; this.ChannelFiltersRemoveButton.UseStock = true; this.ChannelFiltersRemoveButton.UseUnderline = true; this.ChannelFiltersRemoveButton.Label = "gtk-remove"; this.hbuttonbox1.Add(this.ChannelFiltersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w165 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.ChannelFiltersRemoveButton])); w165.Position = 1; this.vbox16.Add(this.hbuttonbox1); Gtk.Box.BoxChild w166 = ((Gtk.Box.BoxChild)(this.vbox16[this.hbuttonbox1])); w166.Position = 1; w166.Expand = false; this.alignment28.Add(this.vbox16); this.frame12.Add(this.alignment28); this.label64 = new Gtk.Label(); this.label64.Name = "label64"; this.label64.LabelProp = Mono.Unix.Catalog.GetString("<b>Channel Filters</b>"); this.label64.UseMarkup = true; this.frame12.LabelWidget = this.label64; this.vbox15.Add(this.frame12); Gtk.Box.BoxChild w169 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame12])); w169.Position = 0; // Container child vbox15.Gtk.Box+BoxChild this.frame13 = new Gtk.Frame(); this.frame13.Sensitive = false; this.frame13.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild this.alignment29 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment29.Name = "alignment29"; this.alignment29.LeftPadding = ((uint)(12)); this.frame13.Add(this.alignment29); this.label65 = new Gtk.Label(); this.label65.Name = "label65"; this.label65.LabelProp = Mono.Unix.Catalog.GetString("<b>User Filters</b>"); this.label65.UseMarkup = true; this.frame13.LabelWidget = this.label65; this.vbox15.Add(this.frame13); Gtk.Box.BoxChild w171 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame13])); w171.Position = 1; this.Notebook.Add(this.vbox15); Gtk.Notebook.NotebookChild w172 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.vbox15])); w172.Position = 3; // Notebook tab this.label63 = new Gtk.Label(); this.label63.Name = "label63"; this.label63.LabelProp = Mono.Unix.Catalog.GetString("_Filters"); this.label63.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox15, this.label63); this.label63.ShowAll(); this.hbox1.Add(this.Notebook); Gtk.Box.BoxChild w173 = ((Gtk.Box.BoxChild)(this.hbox1[this.Notebook])); w173.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w174 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w174.Position = 0; // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.ActionArea Gtk.HButtonBox w175 = this.ActionArea; w175.Name = "dialog-action_area1"; w175.Spacing = 6; w175.BorderWidth = ((uint)(5)); w175.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.CancelButton = new Gtk.Button(); this.CancelButton.Name = "CancelButton"; this.CancelButton.UseStock = true; this.CancelButton.UseUnderline = true; this.CancelButton.Label = "gtk-cancel"; this.AddActionWidget(this.CancelButton, -6); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.ApplyButton = new Gtk.Button(); this.ApplyButton.Sensitive = false; this.ApplyButton.Name = "ApplyButton"; this.ApplyButton.UseStock = true; this.ApplyButton.UseUnderline = true; this.ApplyButton.Label = "gtk-apply"; this.AddActionWidget(this.ApplyButton, -10); Gtk.ButtonBox.ButtonBoxChild w177 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.ApplyButton])); w177.Position = 1; // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.OKButton = new Gtk.Button(); this.OKButton.Name = "OKButton"; this.OKButton.UseStock = true; this.OKButton.UseUnderline = true; this.OKButton.Label = "gtk-ok"; this.AddActionWidget(this.OKButton, -5); Gtk.ButtonBox.ButtonBoxChild w178 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.OKButton])); w178.Position = 2; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 524; this.DefaultHeight = 579; this.label44.MnemonicWidget = this.Notebook; this.label45.MnemonicWidget = this.Notebook; this.label57.MnemonicWidget = this.Notebook; this.label63.MnemonicWidget = this.Notebook; this.Show(); this.EncodingComboBox.Changed += new System.EventHandler(this._OnChanged); this.ConnectionUsernameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionRealnameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionNicknamesEntry.Changed += new System.EventHandler(this._OnChanged); this.TimestampFormatEntry.Changed += new System.EventHandler(this._OnChanged); this.EngineBufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.BufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.NoActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ModeColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.CompletionCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.CommandHistorySizeSpinButton.Changed += new System.EventHandler(this._OnChanged); this.CommandCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonTop.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.AddinInfoDialog this.Name = "Mono.Addins.Gui.AddinInfoDialog"; this.Title = Mono.Unix.Catalog.GetString("Package"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); this.DefaultWidth = 550; this.DefaultHeight = 400; // Internal child Mono.Addins.Gui.AddinInfoDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox12"; w1.Spacing = 6; // Container child dialog-vbox12.Gtk.Box+BoxChild this.hbox81 = new Gtk.HBox(); this.hbox81.Name = "hbox81"; this.hbox81.Spacing = 12; this.hbox81.BorderWidth = ((uint)(6)); // Container child hbox81.Gtk.Box+BoxChild this.vbox94 = new Gtk.VBox(); this.vbox94.Name = "vbox94"; // Container child vbox94.Gtk.Box+BoxChild this.packageImage = new Gtk.Image(); this.packageImage.Name = "packageImage"; this.vbox94.Add(this.packageImage); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox94[this.packageImage])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.hbox81.Add(this.vbox94); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox81[this.vbox94])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox81.Gtk.Box+BoxChild this.scrolledwindow22 = new Gtk.ScrolledWindow(); this.scrolledwindow22.CanFocus = true; this.scrolledwindow22.Name = "scrolledwindow22"; this.scrolledwindow22.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow22.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow22.Gtk.Container+ContainerChild Gtk.Viewport w4 = new Gtk.Viewport(); w4.ShadowType = ((Gtk.ShadowType)(0)); // Container child viewport4.Gtk.Container+ContainerChild this.infoLabel = new Gtk.Label(); this.infoLabel.WidthRequest = 420; this.infoLabel.Name = "infoLabel"; this.infoLabel.Xpad = 6; this.infoLabel.Ypad = 6; this.infoLabel.Xalign = 0F; this.infoLabel.Yalign = 0F; this.infoLabel.LabelProp = "aa a a a a a a a a aa a a a a aaa a a a a a a a a aa a a a a aaa a a a a a a a a aa a a a a a"; this.infoLabel.Wrap = true; w4.Add(this.infoLabel); this.scrolledwindow22.Add(w4); this.hbox81.Add(this.scrolledwindow22); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox81[this.scrolledwindow22])); w7.Position = 1; w1.Add(this.hbox81); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox81])); w8.Position = 0; // Internal child Mono.Addins.Gui.AddinInfoDialog.ActionArea Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog-action_area12"; w9.Spacing = 10; w9.BorderWidth = ((uint)(6)); w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area12.Gtk.ButtonBox+ButtonBoxChild this.closebutton3 = new Gtk.Button(); this.closebutton3.CanDefault = true; this.closebutton3.CanFocus = true; this.closebutton3.Name = "closebutton3"; this.closebutton3.UseStock = true; this.closebutton3.UseUnderline = true; this.closebutton3.Label = "gtk-close"; this.AddActionWidget(this.closebutton3, -7); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.UniqueConstraintEditorWidget Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.UniqueConstraintEditorWidget"; // Container child MonoDevelop.Database.Designer.UniqueConstraintEditorWidget.Gtk.Container+ContainerChild this.hpaned = new Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 304; // Container child hpaned.Gtk.Paned+PanedChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.windowPK = new Gtk.ScrolledWindow(); this.windowPK.CanFocus = true; this.windowPK.Name = "windowPK"; this.windowPK.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowPK.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowPK.ShadowType = ((Gtk.ShadowType)(1)); // Container child windowPK.Gtk.Container+ContainerChild this.listUnique = new Gtk.TreeView(); this.listUnique.CanFocus = true; this.listUnique.Name = "listUnique"; this.listUnique.HeadersClickable = true; this.windowPK.Add(this.listUnique); this.vbox3.Add(this.windowPK); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.windowPK])); w2.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox = new Gtk.HButtonBox(); this.hbuttonbox.Name = "hbuttonbox"; this.hbuttonbox.Spacing = 6; this.hbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.hbuttonbox.Add(this.buttonAdd); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new Gtk.Button(); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.hbuttonbox.Add(this.buttonRemove); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbuttonbox); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned.Add(this.vbox3); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned[this.vbox3])); w6.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.columnSelecter = new MonoDevelop.Database.Components.SelectColumnWidget(); this.columnSelecter.Sensitive = false; this.columnSelecter.CanFocus = true; this.columnSelecter.Name = "columnSelecter"; this.columnSelecter.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.columnSelecter.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.columnSelecter.ShadowType = ((Gtk.ShadowType)(1)); this.columnSelecter.SingleCheck = false; this.hpaned.Add(this.columnSelecter); this.Add(this.hpaned); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.buttonAdd.Clicked += new System.EventHandler(this.AddClicked); this.buttonRemove.Clicked += new System.EventHandler(this.RemoveClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Mono.Addins.Gui.AddinInstallDialog this.Name = "Mono.Addins.Gui.AddinInstallDialog"; this.Title = Mono.Unix.Catalog.GetString("Extension Installation"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.DefaultWidth = 725; this.DefaultHeight = 550; // Internal child Mono.Addins.Gui.AddinInstallDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox9"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox9.Gtk.Box+BoxChild this.wizardNotebook = new Gtk.Notebook(); this.wizardNotebook.CanFocus = true; this.wizardNotebook.Name = "wizardNotebook"; this.wizardNotebook.CurrentPage = 3; this.wizardNotebook.ShowBorder = false; this.wizardNotebook.BorderWidth = ((uint)(6)); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox82 = new Gtk.VBox(); this.vbox82.Name = "vbox82"; this.vbox82.Spacing = 12; // Container child vbox82.Gtk.Box+BoxChild this.label113 = new Gtk.Label(); this.label113.Name = "label113"; this.label113.Xalign = 0F; this.label113.LabelProp = Mono.Unix.Catalog.GetString("<b>Select the extensions to install and click on Next</b>"); this.label113.UseMarkup = true; this.vbox82.Add(this.label113); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox82[this.label113])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox66 = new Gtk.HBox(); this.hbox66.Name = "hbox66"; this.hbox66.Spacing = 6; // Container child hbox66.Gtk.Box+BoxChild this.label112 = new Gtk.Label(); this.label112.Name = "label112"; this.label112.LabelProp = Mono.Unix.Catalog.GetString("Install from:"); this.hbox66.Add(this.label112); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox66[this.label112])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.repoCombo = new Gtk.ComboBox(); this.repoCombo.Name = "repoCombo"; this.hbox66.Add(this.repoCombo); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox66[this.repoCombo])); w4.Position = 1; // Container child hbox66.Gtk.Box+BoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseStock = true; this.button1.UseUnderline = true; this.button1.Label = "gtk-refresh"; this.hbox66.Add(this.button1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox66[this.button1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox66.Gtk.Box+BoxChild this.btnManageSites = new Gtk.Button(); this.btnManageSites.CanFocus = true; this.btnManageSites.Name = "btnManageSites"; this.btnManageSites.UseUnderline = true; this.btnManageSites.Label = Mono.Unix.Catalog.GetString("_Repositories..."); this.hbox66.Add(this.btnManageSites); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox66[this.btnManageSites])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox82.Add(this.hbox66); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox66])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox82.Gtk.Box+BoxChild this.hbox70 = new Gtk.HBox(); this.hbox70.Name = "hbox70"; this.hbox70.Spacing = 12; // Container child hbox70.Gtk.Box+BoxChild this.vbox92 = new Gtk.VBox(); this.vbox92.Name = "vbox92"; this.vbox92.Spacing = 6; // Container child vbox92.Gtk.Box+BoxChild this.scrolledwindow18 = new Gtk.ScrolledWindow(); this.scrolledwindow18.CanFocus = true; this.scrolledwindow18.Name = "scrolledwindow18"; this.scrolledwindow18.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow18.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow18.Gtk.Container+ContainerChild this.addinTree = new Gtk.TreeView(); this.addinTree.CanFocus = true; this.addinTree.Name = "addinTree"; this.addinTree.HeadersClickable = true; this.scrolledwindow18.Add(this.addinTree); this.vbox92.Add(this.scrolledwindow18); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox92[this.scrolledwindow18])); w9.Position = 0; // Container child vbox92.Gtk.Box+BoxChild this.hbox83 = new Gtk.HBox(); this.hbox83.Name = "hbox83"; this.hbox83.Spacing = 6; // Container child hbox83.Gtk.Box+BoxChild this.filterComboBox = Gtk.ComboBox.NewText(); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show all packages")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show new versions only")); this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show updates only")); this.filterComboBox.Name = "filterComboBox"; this.hbox83.Add(this.filterComboBox); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox83[this.filterComboBox])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnInfo = new Gtk.Button(); this.btnInfo.CanFocus = true; this.btnInfo.Name = "btnInfo"; this.btnInfo.UseStock = true; this.btnInfo.UseUnderline = true; this.btnInfo.Label = "gtk-dialog-info"; this.hbox83.Add(this.btnInfo); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnInfo])); w11.PackType = ((Gtk.PackType)(1)); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnUnselectAll = new Gtk.Button(); this.btnUnselectAll.CanFocus = true; this.btnUnselectAll.Name = "btnUnselectAll"; this.btnUnselectAll.UseUnderline = true; this.btnUnselectAll.Label = Mono.Unix.Catalog.GetString("_Unselect All"); this.hbox83.Add(this.btnUnselectAll); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnUnselectAll])); w12.PackType = ((Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child hbox83.Gtk.Box+BoxChild this.btnSelectAll = new Gtk.Button(); this.btnSelectAll.CanFocus = true; this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.UseUnderline = true; this.btnSelectAll.Label = Mono.Unix.Catalog.GetString("Select _All"); this.hbox83.Add(this.btnSelectAll); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnSelectAll])); w13.PackType = ((Gtk.PackType)(1)); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.vbox92.Add(this.hbox83); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox92[this.hbox83])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox70.Add(this.vbox92); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox70[this.vbox92])); w15.Position = 0; this.vbox82.Add(this.hbox70); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox70])); w16.Position = 2; this.wizardNotebook.Add(this.vbox82); Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox82])); w17.TabExpand = false; // Notebook tab this.label108 = new Gtk.Label(); this.label108.Name = "label108"; this.label108.LabelProp = "label108"; this.wizardNotebook.SetTabLabel(this.vbox82, this.label108); this.label108.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow19 = new Gtk.ScrolledWindow(); this.scrolledwindow19.CanFocus = true; this.scrolledwindow19.Name = "scrolledwindow19"; this.scrolledwindow19.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow19.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow19.Gtk.Container+ContainerChild Gtk.Viewport w18 = new Gtk.Viewport(); // Container child viewport1.Gtk.Container+ContainerChild this.hbox82 = new Gtk.HBox(); this.hbox82.Name = "hbox82"; this.hbox82.Spacing = 12; this.hbox82.BorderWidth = ((uint)(12)); // Container child hbox82.Gtk.Box+BoxChild this.imageInstall = new Gtk.Image(); this.imageInstall.Name = "imageInstall"; this.imageInstall.Xalign = 0F; this.imageInstall.Yalign = 0F; this.imageInstall.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48); this.hbox82.Add(this.imageInstall); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox82[this.imageInstall])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox82.Gtk.Box+BoxChild this.labelSummary = new Gtk.Label(); this.labelSummary.Name = "labelSummary"; this.labelSummary.Xpad = 6; this.labelSummary.Ypad = 6; this.labelSummary.Xalign = 0F; this.labelSummary.Yalign = 0F; this.labelSummary.LabelProp = "<b>The following extensions will be installed:</b>\n\nC# language binding\nC# language IDE extension\n\n<b>The following extensions are required by the selected extensions</b>\n\nNUnit extension\nNAnt extension\n\nasd\nasd\na\nsd\nasd\nasd\na\nsda\nsd\nas\nda\nsd\nasd\n"; this.labelSummary.UseMarkup = true; this.labelSummary.Wrap = true; this.hbox82.Add(this.labelSummary); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox82[this.labelSummary])); w20.Position = 1; w20.Expand = false; w20.Fill = false; w18.Add(this.hbox82); this.scrolledwindow19.Add(w18); this.wizardNotebook.Add(this.scrolledwindow19); Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow19])); w23.Position = 1; w23.TabExpand = false; // Notebook tab this.label124 = new Gtk.Label(); this.label124.Name = "label124"; this.label124.LabelProp = Mono.Unix.Catalog.GetString("label124"); this.wizardNotebook.SetTabLabel(this.scrolledwindow19, this.label124); this.label124.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.vbox86 = new Gtk.VBox(); this.vbox86.Name = "vbox86"; this.vbox86.Spacing = 6; this.vbox86.BorderWidth = ((uint)(116)); // Container child vbox86.Gtk.Box+BoxChild this.label126 = new Gtk.Label(); this.label126.Name = "label126"; this.label126.Xalign = 0F; this.label126.LabelProp = Mono.Unix.Catalog.GetString("Overall Progress:"); this.vbox86.Add(this.label126); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox86[this.label126])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.mainProgressBar = new Gtk.ProgressBar(); this.mainProgressBar.Name = "mainProgressBar"; this.mainProgressBar.PulseStep = 10000000149; this.vbox86.Add(this.mainProgressBar); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox86[this.mainProgressBar])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.label129 = new Gtk.Label(); this.label129.Name = "label129"; this.label129.LabelProp = ""; this.vbox86.Add(this.label129); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox86[this.label129])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressLabel = new Gtk.Label(); this.progressLabel.Name = "progressLabel"; this.progressLabel.Xalign = 0F; this.progressLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloading extensions..."); this.vbox86.Add(this.progressLabel); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressLabel])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox86.Gtk.Box+BoxChild this.progressBar = new Gtk.ProgressBar(); this.progressBar.Name = "progressBar"; this.progressBar.PulseStep = 10000000149; this.vbox86.Add(this.progressBar); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressBar])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.wizardNotebook.Add(this.vbox86); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox86])); w29.Position = 2; w29.TabExpand = false; // Notebook tab this.label110 = new Gtk.Label(); this.label110.Name = "label110"; this.label110.LabelProp = "label110"; this.wizardNotebook.SetTabLabel(this.vbox86, this.label110); this.label110.ShowAll(); // Container child wizardNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow20 = new Gtk.ScrolledWindow(); this.scrolledwindow20.CanFocus = true; this.scrolledwindow20.Name = "scrolledwindow20"; this.scrolledwindow20.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow20.HscrollbarPolicy = ((Gtk.PolicyType)(1)); // Container child scrolledwindow20.Gtk.Container+ContainerChild Gtk.Viewport w30 = new Gtk.Viewport(); // Container child viewport3.Gtk.Container+ContainerChild this.vbox91 = new Gtk.VBox(); this.vbox91.Name = "vbox91"; // Container child vbox91.Gtk.Box+BoxChild this.label130 = new Gtk.Label(); this.label130.Name = "label130"; this.label130.LabelProp = ""; this.vbox91.Add(this.label130); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox91[this.label130])); w31.Position = 0; // Container child vbox91.Gtk.Box+BoxChild this.imageError = new Gtk.Image(); this.imageError.Name = "imageError"; this.imageError.Yalign = 1F; this.imageError.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageError); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageError])); w32.Position = 1; w32.Expand = false; w32.Fill = false; w32.Padding = ((uint)(5)); // Container child vbox91.Gtk.Box+BoxChild this.imageWarn = new Gtk.Image(); this.imageWarn.Name = "imageWarn"; this.imageWarn.Yalign = 1F; this.imageWarn.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageWarn); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageWarn])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.imageInfo = new Gtk.Image(); this.imageInfo.Name = "imageInfo"; this.imageInfo.Yalign = 1F; this.imageInfo.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dialog, 48); this.vbox91.Add(this.imageInfo); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageInfo])); w34.Position = 3; w34.Expand = false; w34.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.hbox71 = new Gtk.HBox(); this.hbox71.Name = "hbox71"; // Container child hbox71.Gtk.Box+BoxChild this.labelResult = new Gtk.Label(); this.labelResult.WidthRequest = 450; this.labelResult.Name = "labelResult"; this.labelResult.Ypad = 9; this.labelResult.Yalign = 0F; this.labelResult.LabelProp = "Done"; this.labelResult.UseMarkup = true; this.labelResult.Wrap = true; this.labelResult.Justify = ((Gtk.Justification)(2)); this.hbox71.Add(this.labelResult); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox71[this.labelResult])); w35.PackType = ((Gtk.PackType)(1)); w35.Position = 0; this.vbox91.Add(this.hbox71); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox91[this.hbox71])); w36.Position = 4; w36.Expand = false; w36.Fill = false; // Container child vbox91.Gtk.Box+BoxChild this.label131 = new Gtk.Label(); this.label131.Name = "label131"; this.label131.LabelProp = ""; this.vbox91.Add(this.label131); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox91[this.label131])); w37.Position = 5; w30.Add(this.vbox91); this.scrolledwindow20.Add(w30); this.wizardNotebook.Add(this.scrolledwindow20); Gtk.Notebook.NotebookChild w40 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow20])); w40.Position = 3; w40.TabExpand = false; // Notebook tab this.label111 = new Gtk.Label(); this.label111.Name = "label111"; this.label111.LabelProp = "label111"; this.wizardNotebook.SetTabLabel(this.scrolledwindow20, this.label111); this.label111.ShowAll(); w1.Add(this.wizardNotebook); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(w1[this.wizardNotebook])); w41.Position = 0; // Container child dialog-vbox9.Gtk.Box+BoxChild this.dialog_action_area9 = new Gtk.HButtonBox(); this.dialog_action_area9.Name = "dialog_action_area9"; this.dialog_action_area9.Spacing = 9; this.dialog_action_area9.BorderWidth = ((uint)(6)); this.dialog_action_area9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new Gtk.Button(); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.dialog_action_area9.Add(this.btnCancel); // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnPrev = new Gtk.Button(); this.btnPrev.CanDefault = true; this.btnPrev.CanFocus = true; this.btnPrev.Name = "btnPrev"; this.btnPrev.UseStock = true; this.btnPrev.UseUnderline = true; this.btnPrev.Label = "gtk-go-back"; this.dialog_action_area9.Add(this.btnPrev); Gtk.ButtonBox.ButtonBoxChild w43 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnPrev])); w43.Position = 1; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnNext = new Gtk.Button(); this.btnNext.CanDefault = true; this.btnNext.CanFocus = true; this.btnNext.Name = "btnNext"; this.btnNext.UseStock = true; this.btnNext.UseUnderline = true; this.btnNext.Label = "gtk-go-forward"; this.dialog_action_area9.Add(this.btnNext); Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnNext])); w44.Position = 2; // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild this.btnOk = new Gtk.Button(); this.btnOk.CanDefault = true; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseStock = true; this.btnOk.UseUnderline = true; this.btnOk.Label = "gtk-ok"; this.dialog_action_area9.Add(this.btnOk); Gtk.ButtonBox.ButtonBoxChild w45 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnOk])); w45.Position = 3; w1.Add(this.dialog_action_area9); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(w1[this.dialog_action_area9])); w46.PackType = ((Gtk.PackType)(1)); w46.Position = 2; w46.Expand = false; w46.Fill = false; // Internal child Mono.Addins.Gui.AddinInstallDialog.ActionArea Gtk.HButtonBox w47 = this.ActionArea; w47.Name = "hbuttonbox1"; w47.Spacing = 10; w47.BorderWidth = ((uint)(5)); w47.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnOk.Hide(); w47.Hide(); this.Show(); this.repoCombo.Changed += new System.EventHandler(this.OnRepoChanged); this.button1.Clicked += new System.EventHandler(this.OnUpdateRepo); this.btnManageSites.Clicked += new System.EventHandler(this.OnManageSites); this.addinTree.CursorChanged += new System.EventHandler(this.OnActiveAddinChanged); this.filterComboBox.Changed += new System.EventHandler(this.OnFilterChanged); this.btnSelectAll.Clicked += new System.EventHandler(this.OnSelectAll); this.btnUnselectAll.Clicked += new System.EventHandler(this.OnUnselectAll); this.btnInfo.Clicked += new System.EventHandler(this.OnShowInfo); this.btnCancel.Clicked += new System.EventHandler(this.OnCancel); this.btnPrev.Clicked += new System.EventHandler(this.OnPrevPage); this.btnNext.Clicked += new System.EventHandler(this.OnNextPage); this.btnOk.Clicked += new System.EventHandler(this.OnOk); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.WaypointDialog this.Name = "ocmgtk.WaypointDialog"; this.Title = Mono.Unix.Catalog.GetString("Add/Edit Waypoint..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.WaypointDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.TopPadding = ((uint)(6)); this.alignment2.RightPadding = ((uint)(12)); // Container child alignment2.Gtk.Container+ContainerChild this.nameEntry = new Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.alignment2.Add(this.nameEntry); this.table1.Add(this.alignment2); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.alignment2])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.alignment3.TopPadding = ((uint)(6)); this.alignment3.RightPadding = ((uint)(12)); // Container child alignment3.Gtk.Container+ContainerChild this.flagEntry = Gtk.ComboBox.NewText(); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Final Location")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Parking Area")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Question To Answer")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Reference Point")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Stages of a Multicache")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Trailhead")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Other")); this.flagEntry.Name = "flagEntry"; this.flagEntry.Active = 0; this.alignment3.Add(this.flagEntry); this.table1.Add(this.alignment3); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.alignment3])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.hseparator1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.hseparator2])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label1); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Symbol:"); this.table1.Add(this.label5); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.locationWidget = new ocmgtk.LocationWidget(); this.locationWidget.Events = ((Gdk.EventMask)(256)); this.locationWidget.Name = "locationWidget"; this.locationWidget.Latitude = 0; this.locationWidget.Longitude = 0; this.GtkAlignment2.Add(this.locationWidget); this.frame1.Add(this.GtkAlignment2); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Location</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; w1.Add(this.frame1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.frame1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.descriptionEntry = new Gtk.TextView(); this.descriptionEntry.CanFocus = true; this.descriptionEntry.Name = "descriptionEntry"; this.GtkScrolledWindow.Add(this.descriptionEntry); this.GtkAlignment3.Add(this.GtkScrolledWindow); this.frame2.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Description</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; w1.Add(this.frame2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.frame2])); w17.Position = 2; // Internal child ocmgtk.WaypointDialog.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 704; this.DefaultHeight = 473; this.Show(); this.flagEntry.Changed += new System.EventHandler(this.OnSelectionChanged); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Do.FilesAndFolders.Configuration Stetic.BinContainer.Attach(this); this.Name = "Do.FilesAndFolders.Configuration"; // Container child Do.FilesAndFolders.Configuration.Gtk.Container+ContainerChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.BorderWidth = ((uint)(8)); // Container child alignment1.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new Gtk.Notebook(); this.notebook1.HeightRequest = 270; this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.alignment3.LeftPadding = ((uint)(8)); this.alignment3.TopPadding = ((uint)(8)); this.alignment3.RightPadding = ((uint)(8)); this.alignment3.BottomPadding = ((uint)(8)); // Container child alignment3.Gtk.Container+ContainerChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.index_node_scroll = new Gtk.ScrolledWindow(); this.index_node_scroll.CanFocus = true; this.index_node_scroll.Name = "index_node_scroll"; this.index_node_scroll.ShadowType = ((Gtk.ShadowType)(1)); this.vbox6.Add(this.index_node_scroll); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox6[this.index_node_scroll])); w1.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.IndexLabel = new Gtk.Label(); this.IndexLabel.Name = "IndexLabel"; this.hbox1.Add(this.IndexLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.IndexLabel])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.index_remove_btn = new Gtk.Button(); this.index_remove_btn.CanFocus = true; this.index_remove_btn.Name = "index_remove_btn"; this.index_remove_btn.UseUnderline = true; // Container child index_remove_btn.Gtk.Container+ContainerChild Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w4 = new Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w5 = new Gtk.Image(); w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w7 = new Gtk.Label(); w4.Add(w7); w3.Add(w4); this.index_remove_btn.Add(w3); this.hbuttonbox2.Add(this.index_remove_btn); Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_remove_btn])); w11.Expand = false; w11.Fill = false; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.index_add_btn = new Gtk.Button(); this.index_add_btn.CanFocus = true; this.index_add_btn.Name = "index_add_btn"; this.index_add_btn.UseUnderline = true; // Container child index_add_btn.Gtk.Container+ContainerChild Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w13 = new Gtk.HBox(); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w14 = new Gtk.Image(); w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); w13.Add(w14); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w16 = new Gtk.Label(); w13.Add(w16); w12.Add(w13); this.index_add_btn.Add(w12); this.hbuttonbox2.Add(this.index_add_btn); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_add_btn])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.hbox1.Add(this.hbuttonbox2); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.hbuttonbox2])); w21.Position = 1; w21.Expand = false; this.vbox6.Add(this.hbox1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.show_hidden_chk = new Gtk.CheckButton(); this.show_hidden_chk.CanFocus = true; this.show_hidden_chk.Name = "show_hidden_chk"; this.show_hidden_chk.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show hidden files"); this.show_hidden_chk.DrawIndicator = true; this.show_hidden_chk.UseUnderline = true; this.show_hidden_chk.BorderWidth = ((uint)(5)); this.vbox6.Add(this.show_hidden_chk); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.show_hidden_chk])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.alignment3.Add(this.vbox6); this.vbox4.Add(this.alignment3); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox4[this.alignment3])); w25.Position = 0; this.notebook1.Add(this.vbox4); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Indexed Folders"); this.notebook1.SetTabLabel(this.vbox4, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(8)); this.alignment2.TopPadding = ((uint)(8)); this.alignment2.RightPadding = ((uint)(8)); this.alignment2.BottomPadding = ((uint)(8)); // Container child alignment2.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.ignore_node_scroll = new Gtk.ScrolledWindow(); this.ignore_node_scroll.CanFocus = true; this.ignore_node_scroll.Name = "ignore_node_scroll"; this.ignore_node_scroll.ShadowType = ((Gtk.ShadowType)(1)); this.vbox3.Add(this.ignore_node_scroll); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox3[this.ignore_node_scroll])); w27.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.IgnoreLabel = new Gtk.Label(); this.IgnoreLabel.Name = "IgnoreLabel"; this.hbox3.Add(this.IgnoreLabel); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox3[this.IgnoreLabel])); w28.Position = 0; w28.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.hbuttonbox3 = new Gtk.HButtonBox(); this.hbuttonbox3.Name = "hbuttonbox3"; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.ignore_remove_btn = new Gtk.Button(); this.ignore_remove_btn.CanFocus = true; this.ignore_remove_btn.Name = "ignore_remove_btn"; this.ignore_remove_btn.UseUnderline = true; // Container child ignore_remove_btn.Gtk.Container+ContainerChild Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w30 = new Gtk.HBox(); w30.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w31 = new Gtk.Image(); w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16); w30.Add(w31); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w33 = new Gtk.Label(); w30.Add(w33); w29.Add(w30); this.ignore_remove_btn.Add(w29); this.hbuttonbox3.Add(this.ignore_remove_btn); Gtk.ButtonBox.ButtonBoxChild w37 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_remove_btn])); w37.Expand = false; w37.Fill = false; w37.Padding = ((uint)(5)); // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.ignore_add_btn = new Gtk.Button(); this.ignore_add_btn.CanFocus = true; this.ignore_add_btn.Name = "ignore_add_btn"; this.ignore_add_btn.UseUnderline = true; // Container child ignore_add_btn.Gtk.Container+ContainerChild Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w39 = new Gtk.HBox(); w39.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w40 = new Gtk.Image(); w40.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); w39.Add(w40); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w42 = new Gtk.Label(); w39.Add(w42); w38.Add(w39); this.ignore_add_btn.Add(w38); this.hbuttonbox3.Add(this.ignore_add_btn); Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_add_btn])); w46.Position = 1; w46.Expand = false; w46.Fill = false; w46.Padding = ((uint)(5)); this.hbox3.Add(this.hbuttonbox3); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox3[this.hbuttonbox3])); w47.Position = 1; w47.Expand = false; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w48.Position = 1; w48.Expand = false; w48.Fill = false; this.alignment2.Add(this.vbox3); this.vbox5.Add(this.alignment2); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox5[this.alignment2])); w50.Position = 0; this.notebook1.Add(this.vbox5); Gtk.Notebook.NotebookChild w51 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5])); w51.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Ignored Folders"); this.notebook1.SetTabLabel(this.vbox5, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w52.Position = 0; this.vbox2.Add(this.vbox1); Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox1])); w53.Position = 0; this.alignment1.Add(this.vbox2); this.Add(this.alignment1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.index_remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked); this.index_add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked); this.show_hidden_chk.Clicked += new System.EventHandler(this.OnShowHiddenChkClicked); this.ignore_remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked); this.ignore_add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.OffLineLogViewer this.WidthRequest = 600; this.HeightRequest = 400; this.Name = "ocmgtk.OffLineLogViewer"; this.Title = Mono.Unix.Catalog.GetString("View Field Notes..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.AllowShrink = true; this.Gravity = ((Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.OffLineLogViewer.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vpaned1 = new Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 250; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image11 = new Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24); this.hbox1.Add(this.image11); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image11])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fnFieldNotesLabel = new Gtk.Label(); this.fnFieldNotesLabel.Name = "fnFieldNotesLabel"; this.fnFieldNotesLabel.LabelProp = Mono.Unix.Catalog.GetString("Please wait..."); this.hbox1.Add(this.fnFieldNotesLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.fnFieldNotesLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox3.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.logView = new Gtk.TreeView(); this.logView.CanFocus = true; this.logView.Name = "logView"; this.logView.EnableSearch = false; this.scrolledwindow1.Add(this.logView); this.hbox2.Add(this.scrolledwindow1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow1])); w7.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 6; this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.viewCacheButton = new Gtk.Button(); this.viewCacheButton.Sensitive = false; this.viewCacheButton.CanFocus = true; this.viewCacheButton.Name = "viewCacheButton"; this.viewCacheButton.UseUnderline = true; this.viewCacheButton.Label = Mono.Unix.Catalog.GetString("View Cache"); this.vbuttonbox1.Add(this.viewCacheButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewCacheButton])); w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.deleteButton = new Gtk.Button(); this.deleteButton.Sensitive = false; this.deleteButton.CanFocus = true; this.deleteButton.Name = "deleteButton"; this.deleteButton.UseStock = true; this.deleteButton.UseUnderline = true; this.deleteButton.Label = "gtk-delete"; this.vbuttonbox1.Add(this.deleteButton); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.delAllButton = new Gtk.Button(); this.delAllButton.CanFocus = true; this.delAllButton.Name = "delAllButton"; this.delAllButton.UseUnderline = true; this.delAllButton.Label = Mono.Unix.Catalog.GetString("Delete All"); this.vbuttonbox1.Add(this.delAllButton); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.delAllButton])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.vbuttonbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbuttonbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(6)); this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w12.Position = 2; this.vpaned1.Add(this.vbox3); Gtk.Paned.PanedChild w13 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w13.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.fieldNotesDescPane = new Gtk.Notebook(); this.fieldNotesDescPane.Sensitive = false; this.fieldNotesDescPane.CanFocus = true; this.fieldNotesDescPane.Name = "fieldNotesDescPane"; this.fieldNotesDescPane.CurrentPage = 0; this.fieldNotesDescPane.TabPos = ((Gtk.PositionType)(0)); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.logPane = new Gtk.VBox(); this.logPane.Name = "logPane"; this.logPane.Spacing = 6; this.logPane.BorderWidth = ((uint)(6)); // Container child logPane.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Log Type:"); this.hbox5.Add(this.label1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox5[this.label1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.logChoice = Gtk.ComboBox.NewText(); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Found it")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Didn't Find it")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Write Note")); this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Needs Maintenance")); this.logChoice.Name = "logChoice"; this.logChoice.Active = 0; this.hbox5.Add(this.logChoice); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox5[this.logChoice])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.logPane.Add(this.hbox5); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox5])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child logPane.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.firstToFindCheck = new Gtk.CheckButton(); this.firstToFindCheck.CanFocus = true; this.firstToFindCheck.Name = "firstToFindCheck"; this.firstToFindCheck.Label = Mono.Unix.Catalog.GetString("First To Find"); this.firstToFindCheck.DrawIndicator = true; this.firstToFindCheck.UseUnderline = true; this.hbox4.Add(this.firstToFindCheck); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox4[this.firstToFindCheck])); w17.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.saveButton = new Gtk.Button(); this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseStock = true; this.saveButton.UseUnderline = true; this.saveButton.Label = "gtk-save"; this.hbox4.Add(this.saveButton); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox4[this.saveButton])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.logPane.Add(this.hbox4); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox4])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child logPane.Gtk.Box+BoxChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.logEntry = new Gtk.TextView(); this.logEntry.CanFocus = true; this.logEntry.Name = "logEntry"; this.logEntry.WrapMode = ((Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.logEntry); this.logPane.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.logPane[this.GtkScrolledWindow])); w21.Position = 2; this.fieldNotesDescPane.Add(this.logPane); // Notebook tab this.logPage = new Gtk.Label(); this.logPage.Name = "logPage"; this.logPage.LabelProp = Mono.Unix.Catalog.GetString("Field Log"); this.fieldNotesDescPane.SetTabLabel(this.logPane, this.logPage); this.logPage.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.wptCombo = new Gtk.Label(); this.wptCombo.Name = "wptCombo"; this.wptCombo.LabelProp = Mono.Unix.Catalog.GetString("Waypoint:"); this.hbox3.Add(this.wptCombo); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox3[this.wptCombo])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.waypointCombo = Gtk.ComboBox.NewText(); this.waypointCombo.Name = "waypointCombo"; this.hbox3.Add(this.waypointCombo); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox3[this.waypointCombo])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.mapView = new ocmgtk.MapWidget(); this.mapView.Events = ((Gdk.EventMask)(256)); this.mapView.Name = "mapView"; this.mapView.ShowNearby = false; this.mapView.ShowAllChildren = false; this.vbox2.Add(this.mapView); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox2[this.mapView])); w26.Position = 1; this.fieldNotesDescPane.Add(this.vbox2); Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.vbox2])); w27.Position = 1; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Map"); this.fieldNotesDescPane.SetTabLabel(this.vbox2, this.label7); this.label7.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheDesc = new ocmgtk.HTMLWidget(); this.cacheDesc.Events = ((Gdk.EventMask)(256)); this.cacheDesc.Name = "cacheDesc"; this.fieldNotesDescPane.Add(this.cacheDesc); Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheDesc])); w28.Position = 2; // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Cache Description"); this.fieldNotesDescPane.SetTabLabel(this.cacheDesc, this.label5); this.label5.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheLog = new ocmgtk.HTMLWidget(); this.cacheLog.Events = ((Gdk.EventMask)(256)); this.cacheLog.Name = "cacheLog"; this.fieldNotesDescPane.Add(this.cacheLog); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheLog])); w29.Position = 3; // Notebook tab this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Cache Logs"); this.fieldNotesDescPane.SetTabLabel(this.cacheLog, this.label8); this.label8.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheNotes = new ocmgtk.NotesWidget(); this.cacheNotes.Events = ((Gdk.EventMask)(256)); this.cacheNotes.Name = "cacheNotes"; this.fieldNotesDescPane.Add(this.cacheNotes); Gtk.Notebook.NotebookChild w30 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheNotes])); w30.Position = 4; // Notebook tab this.notesLabel = new Gtk.Label(); this.notesLabel.Name = "notesLabel"; this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes"); this.fieldNotesDescPane.SetTabLabel(this.cacheNotes, this.notesLabel); this.notesLabel.ShowAll(); this.vpaned1.Add(this.fieldNotesDescPane); w1.Add(this.vpaned1); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w1[this.vpaned1])); w32.Position = 0; // Internal child ocmgtk.OffLineLogViewer.ActionArea Gtk.HButtonBox w33 = this.ActionArea; w33.Name = "dialog1_ActionArea"; w33.Spacing = 10; w33.BorderWidth = ((uint)(5)); w33.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.closeButton = new Gtk.Button(); this.closeButton.CanDefault = true; this.closeButton.CanFocus = true; this.closeButton.Name = "closeButton"; this.closeButton.UseStock = true; this.closeButton.UseUnderline = true; this.closeButton.Label = "gtk-close"; this.AddActionWidget(this.closeButton, -7); Gtk.ButtonBox.ButtonBoxChild w34 = ((Gtk.ButtonBox.ButtonBoxChild)(w33[this.closeButton])); w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 839; this.DefaultHeight = 566; this.closeButton.HasDefault = true; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnCloseClick); this.viewCacheButton.Clicked += new System.EventHandler(this.OnViewCache); this.deleteButton.Clicked += new System.EventHandler(this.OnDeleteClick); this.delAllButton.Clicked += new System.EventHandler(this.OnDeleteAllClick); this.logChoice.Changed += new System.EventHandler(this.OnLogTypeChange); this.firstToFindCheck.Toggled += new System.EventHandler(this.OnFTFCheck); this.saveButton.Clicked += new System.EventHandler(this.OnSaveClick); this.closeButton.Clicked += new System.EventHandler(this.OnCloseClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget testApp3.ComboBoxTests this.Name = "testApp3.ComboBoxTests"; this.Title = Mono.Unix.Catalog.GetString("ComboBoxTests"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child testApp3.ComboBoxTests.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.Spacing = 6; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = Mono.Unix.Catalog.GetString("Show"); this.hbuttonbox1.Add(this.button1); Gtk.ButtonBox.ButtonBoxChild w1 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button1])); w1.Expand = false; w1.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button2 = new Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = Mono.Unix.Catalog.GetString("Edit from code"); this.hbuttonbox1.Add(this.button2); Gtk.ButtonBox.ButtonBoxChild w2 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button4 = new Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = Mono.Unix.Catalog.GetString("Add item"); this.hbuttonbox1.Add(this.button4); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button4])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button3 = new Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = Mono.Unix.Catalog.GetString("Delete Selected"); this.hbuttonbox1.Add(this.button3); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.button3])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbuttonbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 516; this.DefaultHeight = 93; this.Show(); this.button1.Clicked += new System.EventHandler(this.OnShow); this.button2.Clicked += new System.EventHandler(this.OnEdit); this.button4.Clicked += new System.EventHandler(this.OnAdd); this.button3.Clicked += new System.EventHandler(this.OnDelete); }
public static void Build(object obj, string id) { System.Collections.Hashtable bindings = new System.Collections.Hashtable(); if ((id == "Boxerp.Client.GtkSharp.Lib.QuestionDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.QuestionDialog cobj.Title = "Question"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Modal = true; cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.QuestionDialog"; // Internal child Boxerp.Client.GtkSharp.Lib.QuestionDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Image w3 = new Gtk.Image(); w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-info", 16, 0); w3.Events = ((Gdk.EventMask)(0)); w3.Name = "image"; bindings["image"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; w4.Padding = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w5 = new Gtk.Label(); w5.LabelProp = "Info"; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "label"; bindings["label"] = w5; w2.Add(w5); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5])); w6.Position = 1; bindings["hbox1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; w7.Padding = ((uint)(5)); bindings["dialog_VBox"] = w1; // Internal child Boxerp.Client.GtkSharp.Lib.QuestionDialog.ActionArea Gtk.HButtonBox w8 = cobj.ActionArea; w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w8.Spacing = 10; w8.BorderWidth = ((uint)(5)); w8.Events = ((Gdk.EventMask)(256)); w8.Name = "Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea"; // Container child Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w9 = new Gtk.Button(); w9.CanFocus = true; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "button22"; w9.CanDefault = true; // Container child button22.Gtk.Container+ContainerChild Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w11 = new Gtk.HBox(); w11.Spacing = 2; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w12 = new Gtk.Image(); w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-no", 16, 0); w12.Events = ((Gdk.EventMask)(0)); w12.Name = "image2"; bindings["image2"] = w12; w11.Add(w12); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w14 = new Gtk.Label(); w14.LabelProp = "No"; w14.Events = ((Gdk.EventMask)(0)); w14.Name = "GtkLabel"; bindings["GtkLabel"] = w14; w11.Add(w14); bindings["GtkHBox"] = w11; w10.Add(w11); bindings["GtkAlignment"] = w10; w9.Add(w10); bindings["button22"] = w9; cobj.AddActionWidget(w9, -9); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9])); w18.Expand = false; w18.Fill = false; // Container child Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w19 = new Gtk.Button(); w19.CanFocus = true; w19.Events = ((Gdk.EventMask)(0)); w19.Name = "button24"; w19.CanDefault = true; // Container child button24.Gtk.Container+ContainerChild Gtk.Alignment w20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w20.Events = ((Gdk.EventMask)(0)); w20.Name = "GtkAlignment1"; // Container child GtkAlignment1.Gtk.Container+ContainerChild Gtk.HBox w21 = new Gtk.HBox(); w21.Spacing = 2; w21.Events = ((Gdk.EventMask)(0)); w21.Name = "GtkHBox1"; // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Image w22 = new Gtk.Image(); w22.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-yes", 16, 0); w22.Events = ((Gdk.EventMask)(0)); w22.Name = "image3"; bindings["image3"] = w22; w21.Add(w22); // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Label w24 = new Gtk.Label(); w24.LabelProp = "Yes"; w24.Events = ((Gdk.EventMask)(0)); w24.Name = "GtkLabel1"; bindings["GtkLabel1"] = w24; w21.Add(w24); bindings["GtkHBox1"] = w21; w20.Add(w21); bindings["GtkAlignment1"] = w20; w19.Add(w20); bindings["button24"] = w19; cobj.AddActionWidget(w19, -8); Gtk.ButtonBox.ButtonBoxChild w28 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w19])); w28.Position = 1; w28.Expand = false; w28.Fill = false; bindings["Boxerp.Client.GtkSharp.Lib.QuestionDialog_ActionArea"] = w8; cobj.DefaultWidth = 400; cobj.DefaultHeight = 99; bindings["Boxerp.Client.GtkSharp.Lib.QuestionDialog"] = cobj; w3.Show(); w5.Show(); w2.Show(); w1.Show(); w12.Show(); w14.Show(); w11.Show(); w10.Show(); w9.Show(); w22.Show(); w24.Show(); w21.Show(); w20.Show(); w19.Show(); w8.Show(); cobj.Show(); w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNo"))); w19.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnYes"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.SimpleListView")) { Gtk.Bin cobj = ((Gtk.Bin)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.SimpleListView BinContainer.Attach(cobj); cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.SimpleListView"; // Container child Boxerp.Client.GtkSharp.Lib.SimpleListView.Gtk.Container+ContainerChild Gtk.TreeView w1 = new Gtk.TreeView(); w1.CanFocus = true; w1.Events = ((Gdk.EventMask)(0)); w1.Name = "treeview"; bindings["treeview"] = w1; cobj.Add(w1); bindings["Boxerp.Client.GtkSharp.Lib.SimpleListView"] = cobj; w1.Show(); cobj.Show(); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.WarningDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.WarningDialog cobj.Title = "Warning"; cobj.Icon = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-warning", 16, 0); cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.HasSeparator = false; cobj.Resizable = false; cobj.AllowGrow = false; cobj.DefaultWidth = 500; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.WarningDialog"; // Internal child Boxerp.Client.GtkSharp.Lib.WarningDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.Spacing = 5; w2.BorderWidth = ((uint)(5)); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Image w3 = new Gtk.Image(); w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_dialog-warning", 16, 0); w3.Events = ((Gdk.EventMask)(0)); w3.Name = "image"; bindings["image"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w5 = new Gtk.Label(); w5.LabelProp = "Warning"; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "label"; bindings["label"] = w5; w2.Add(w5); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5])); w6.Position = 1; bindings["hbox1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; bindings["dialog_VBox"] = w1; // Internal child Boxerp.Client.GtkSharp.Lib.WarningDialog.ActionArea Gtk.HButtonBox w8 = cobj.ActionArea; w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w8.Spacing = 10; w8.BorderWidth = ((uint)(5)); w8.Events = ((Gdk.EventMask)(256)); w8.Name = "Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea"; // Container child Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w9 = new Gtk.Button(); w9.CanFocus = true; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "buttonOk"; w9.CanDefault = true; // Container child buttonOk.Gtk.Container+ContainerChild Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w11 = new Gtk.HBox(); w11.Spacing = 2; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w12 = new Gtk.Image(); w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0); w12.Events = ((Gdk.EventMask)(0)); w12.Name = "image7"; bindings["image7"] = w12; w11.Add(w12); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w14 = new Gtk.Label(); w14.LabelProp = "Ok"; w14.Events = ((Gdk.EventMask)(0)); w14.Name = "GtkLabel"; bindings["GtkLabel"] = w14; w11.Add(w14); bindings["GtkHBox"] = w11; w10.Add(w11); bindings["GtkAlignment"] = w10; w9.Add(w10); bindings["buttonOk"] = w9; cobj.AddActionWidget(w9, 0); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9])); w18.Expand = false; w18.Fill = false; bindings["Boxerp.Client.GtkSharp.Lib.WarningDialog_ActionArea"] = w8; cobj.DefaultHeight = 104; bindings["Boxerp.Client.GtkSharp.Lib.WarningDialog"] = cobj; w3.Show(); w5.Show(); w2.Show(); w1.Show(); w12.Show(); w14.Show(); w11.Show(); w10.Show(); w9.Show(); w8.Show(); cobj.Show(); w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOk"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.WaitWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.WaitWindow cobj.Title = "Operation in progress..."; cobj.WindowPosition = ((Gtk.WindowPosition)(1)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.WaitWindow"; // Container child Boxerp.Client.GtkSharp.Lib.WaitWindow.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.Spacing = 2; w1.BorderWidth = ((uint)(5)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "vbox"; // Container child vbox.Gtk.Box+BoxChild Gtk.Label w2 = new Gtk.Label(); w2.LabelProp = "Please wait"; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "labelMsg"; bindings["labelMsg"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; // Container child vbox.Gtk.Box+BoxChild Gtk.ProgressBar w4 = new Gtk.ProgressBar(); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "progressbar"; bindings["progressbar"] = w4; w1.Add(w4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox.Gtk.Box+BoxChild Gtk.HButtonBox w6 = new Gtk.HButtonBox(); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(2)); w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.Events = ((Gdk.EventMask)(256)); w6.Name = "actionArea"; // Container child actionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w7 = new Gtk.Button(); w7.CanFocus = true; w7.Events = ((Gdk.EventMask)(0)); w7.Name = "button"; w7.CanDefault = true; // Container child button.Gtk.Container+ContainerChild Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w8.Events = ((Gdk.EventMask)(0)); w8.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w9 = new Gtk.HBox(); w9.Spacing = 2; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w10 = new Gtk.Image(); w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "image1"; bindings["image1"] = w10; w9.Add(w10); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w12 = new Gtk.Label(); w12.LabelProp = "Cancel"; w12.Events = ((Gdk.EventMask)(0)); w12.Name = "GtkLabel"; bindings["GtkLabel"] = w12; w9.Add(w12); bindings["GtkHBox"] = w9; w8.Add(w9); bindings["GtkAlignment"] = w8; w7.Add(w8); bindings["button"] = w7; w6.Add(w7); Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7])); w16.Expand = false; w16.Fill = false; bindings["actionArea"] = w6; w1.Add(w6); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[w6])); w17.Position = 2; w17.Expand = false; w17.Fill = false; bindings["vbox"] = w1; cobj.Add(w1); cobj.DefaultWidth = 400; cobj.DefaultHeight = 119; bindings["Boxerp.Client.GtkSharp.Lib.WaitWindow"] = cobj; w2.Show(); w4.Show(); w10.Show(); w12.Show(); w9.Show(); w8.Show(); w7.Show(); w6.Show(); w1.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancel"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.WaitDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.WaitDialog cobj.Title = "Operation in progress..."; cobj.WindowPosition = ((Gtk.WindowPosition)(1)); cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.WaitDialog"; // Internal child Boxerp.Client.GtkSharp.Lib.WaitDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.Spacing = 2; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.Label w2 = new Gtk.Label(); w2.LabelProp = "Please wait"; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "labelMsg"; bindings["labelMsg"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.ProgressBar w4 = new Gtk.ProgressBar(); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "progressbar"; bindings["progressbar"] = w4; w1.Add(w4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; bindings["dialog_VBox"] = w1; // Internal child Boxerp.Client.GtkSharp.Lib.WaitDialog.ActionArea Gtk.HButtonBox w6 = cobj.ActionArea; w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(2)); w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.Events = ((Gdk.EventMask)(256)); w6.Name = "actionArea"; // Container child actionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w7 = new Gtk.Button(); w7.CanFocus = true; w7.Events = ((Gdk.EventMask)(0)); w7.Name = "button"; w7.CanDefault = true; // Container child button.Gtk.Container+ContainerChild Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w8.Events = ((Gdk.EventMask)(0)); w8.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w9 = new Gtk.HBox(); w9.Spacing = 2; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w10 = new Gtk.Image(); w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "image8"; bindings["image8"] = w10; w9.Add(w10); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w12 = new Gtk.Label(); w12.LabelProp = "Cancel"; w12.Events = ((Gdk.EventMask)(0)); w12.Name = "GtkLabel"; bindings["GtkLabel"] = w12; w9.Add(w12); bindings["GtkHBox"] = w9; w8.Add(w9); bindings["GtkAlignment"] = w8; w7.Add(w8); bindings["button"] = w7; cobj.AddActionWidget(w7, -7); Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7])); w16.Expand = false; w16.Fill = false; bindings["actionArea"] = w6; cobj.DefaultWidth = 400; cobj.DefaultHeight = 113; bindings["Boxerp.Client.GtkSharp.Lib.WaitDialog"] = cobj; w2.Show(); w4.Show(); w1.Show(); w10.Show(); w12.Show(); w9.Show(); w8.Show(); w7.Show(); w6.Show(); cobj.Show(); cobj.Close += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose"))); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancel"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.DoubleListView")) { Gtk.Bin cobj = ((Gtk.Bin)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.DoubleListView BinContainer.Attach(cobj); cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.DoubleListView"; // Container child Boxerp.Client.GtkSharp.Lib.DoubleListView.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild Gtk.Label w3 = new Gtk.Label(); w3.LabelProp = "label1"; w3.Events = ((Gdk.EventMask)(0)); w3.Name = "labelLeft"; bindings["labelLeft"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild Gtk.VSeparator w5 = new Gtk.VSeparator(); w5.Events = ((Gdk.EventMask)(0)); w5.Name = "vseparator1"; bindings["vseparator1"] = w5; w2.Add(w5); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild Gtk.Label w7 = new Gtk.Label(); w7.LabelProp = "label2"; w7.Events = ((Gdk.EventMask)(0)); w7.Name = "labelRight"; bindings["labelRight"] = w7; w2.Add(w7); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w2[w7])); w8.Position = 2; w8.Fill = false; bindings["hbox2"] = w2; w1.Add(w2); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[w2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild Gtk.HBox w10 = new Gtk.HBox(); w10.Spacing = 5; w10.BorderWidth = ((uint)(5)); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.ScrolledWindow w11 = new Gtk.ScrolledWindow(); w11.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w11.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w11.CanFocus = true; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w12 = new Gtk.Viewport(); w12.ShadowType = ((Gtk.ShadowType)(0)); w12.Events = ((Gdk.EventMask)(0)); w12.Name = "GtkViewport"; // Container child GtkViewport.Gtk.Container+ContainerChild Boxerp.Client.GtkSharp.Lib.SimpleListView w13 = new Boxerp.Client.GtkSharp.Lib.SimpleListView(); w13.Events = ((Gdk.EventMask)(256)); w13.Name = "slistviewLeft"; bindings["slistviewLeft"] = w13; w12.Add(w13); bindings["GtkViewport"] = w12; w11.Add(w12); bindings["scrolledwindow1"] = w11; w10.Add(w11); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w10[w11])); w16.Position = 0; // Container child hbox1.Gtk.Box+BoxChild Gtk.VBox w17 = new Gtk.VBox(); w17.Homogeneous = true; w17.Events = ((Gdk.EventMask)(0)); w17.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.Button w18 = new Gtk.Button(); w18.CanFocus = true; w18.Events = ((Gdk.EventMask)(0)); w18.Name = "button5"; // Container child button5.Gtk.Container+ContainerChild Gtk.Alignment w19 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w19.Events = ((Gdk.EventMask)(0)); w19.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w20 = new Gtk.HBox(); w20.Spacing = 2; w20.Events = ((Gdk.EventMask)(0)); w20.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w21 = new Gtk.Image(); w21.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_left", 16, 0); w21.Events = ((Gdk.EventMask)(0)); w21.Name = "image5"; bindings["image5"] = w21; w20.Add(w21); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w23 = new Gtk.Label(); w23.LabelProp = ""; w23.Events = ((Gdk.EventMask)(0)); w23.Name = "GtkLabel"; bindings["GtkLabel"] = w23; w20.Add(w23); bindings["GtkHBox"] = w20; w19.Add(w20); bindings["GtkAlignment"] = w19; w18.Add(w19); bindings["button5"] = w18; w17.Add(w18); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w17[w18])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.Button w28 = new Gtk.Button(); w28.CanFocus = true; w28.Events = ((Gdk.EventMask)(0)); w28.Name = "button6"; // Container child button6.Gtk.Container+ContainerChild Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w29.Events = ((Gdk.EventMask)(0)); w29.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w30 = new Gtk.HBox(); w30.Spacing = 2; w30.Events = ((Gdk.EventMask)(0)); w30.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w31 = new Gtk.Image(); w31.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_right", 16, 0); w31.Events = ((Gdk.EventMask)(0)); w31.Name = "image6"; bindings["image6"] = w31; w30.Add(w31); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w33 = new Gtk.Label(); w33.LabelProp = ""; w33.Events = ((Gdk.EventMask)(0)); w33.Name = "GtkLabel"; bindings["GtkLabel"] = w33; w30.Add(w33); bindings["GtkHBox"] = w30; w29.Add(w30); bindings["GtkAlignment"] = w29; w28.Add(w29); bindings["button6"] = w28; w17.Add(w28); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(w17[w28])); w37.Position = 2; w37.Expand = false; w37.Fill = false; bindings["vbox1"] = w17; w10.Add(w17); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(w10[w17])); w38.Position = 1; w38.Expand = false; w38.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ScrolledWindow w39 = new Gtk.ScrolledWindow(); w39.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w39.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w39.CanFocus = true; w39.Events = ((Gdk.EventMask)(0)); w39.Name = "scrolledwindow2"; // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w40 = new Gtk.Viewport(); w40.ShadowType = ((Gtk.ShadowType)(0)); w40.Events = ((Gdk.EventMask)(0)); w40.Name = "GtkViewport1"; // Container child GtkViewport1.Gtk.Container+ContainerChild Boxerp.Client.GtkSharp.Lib.SimpleListView w41 = new Boxerp.Client.GtkSharp.Lib.SimpleListView(); w41.Events = ((Gdk.EventMask)(256)); w41.Name = "slistviewRight"; bindings["slistviewRight"] = w41; w40.Add(w41); bindings["GtkViewport1"] = w40; w39.Add(w40); bindings["scrolledwindow2"] = w39; w10.Add(w39); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(w10[w39])); w44.PackType = ((Gtk.PackType)(1)); w44.Position = 2; bindings["hbox1"] = w10; w1.Add(w10); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[w10])); w45.Position = 1; bindings["vbox2"] = w1; cobj.Add(w1); bindings["Boxerp.Client.GtkSharp.Lib.DoubleListView"] = cobj; w3.Show(); w5.Show(); w7.Show(); w2.Show(); w13.Show(); w12.Show(); w11.Show(); w21.Show(); w23.Show(); w20.Show(); w19.Show(); w18.Show(); w31.Show(); w33.Show(); w30.Show(); w29.Show(); w28.Show(); w17.Show(); w41.Show(); w40.Show(); w39.Show(); w10.Show(); w1.Show(); cobj.Show(); w18.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLeftClicked"))); w28.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnRightClicked"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.InfoDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.InfoDialog cobj.Title = "Info"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.InfoDialog"; // Internal child Boxerp.Client.GtkSharp.Lib.InfoDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.Spacing = 5; w2.BorderWidth = ((uint)(5)); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Image w3 = new Gtk.Image(); w3.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-dialog-info", 16, 0); w3.Events = ((Gdk.EventMask)(0)); w3.Name = "image"; bindings["image"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w5 = new Gtk.Label(); w5.LabelProp = "Info"; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "label"; bindings["label"] = w5; w2.Add(w5); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5])); w6.Position = 1; bindings["hbox1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; bindings["dialog_VBox"] = w1; // Internal child Boxerp.Client.GtkSharp.Lib.InfoDialog.ActionArea Gtk.HButtonBox w8 = cobj.ActionArea; w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w8.Spacing = 10; w8.BorderWidth = ((uint)(5)); w8.Events = ((Gdk.EventMask)(256)); w8.Name = "Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea"; // Container child Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w9 = new Gtk.Button(); w9.CanFocus = true; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "button35"; w9.CanDefault = true; // Container child button35.Gtk.Container+ContainerChild Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w11 = new Gtk.HBox(); w11.Spacing = 2; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w12 = new Gtk.Image(); w12.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0); w12.Events = ((Gdk.EventMask)(0)); w12.Name = "image4"; bindings["image4"] = w12; w11.Add(w12); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w14 = new Gtk.Label(); w14.LabelProp = "Ok"; w14.Events = ((Gdk.EventMask)(0)); w14.Name = "GtkLabel"; bindings["GtkLabel"] = w14; w11.Add(w14); bindings["GtkHBox"] = w11; w10.Add(w11); bindings["GtkAlignment"] = w10; w9.Add(w10); bindings["button35"] = w9; cobj.AddActionWidget(w9, 0); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[w9])); w18.Expand = false; w18.Fill = false; bindings["Boxerp.Client.GtkSharp.Lib.InfoDialog_ActionArea"] = w8; cobj.DefaultWidth = 400; cobj.DefaultHeight = 104; bindings["Boxerp.Client.GtkSharp.Lib.InfoDialog"] = cobj; w3.Show(); w5.Show(); w2.Show(); w1.Show(); w12.Show(); w14.Show(); w11.Show(); w10.Show(); w9.Show(); w8.Show(); cobj.Show(); w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOkClicked"))); } else { if ((id == "button7")) { Gtk.Button cobj = ((Gtk.Button)(obj)); // Widget button7 cobj.CanFocus = true; cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "button7"; cobj.CanDefault = true; cobj.Label = "button7"; bindings["button7"] = cobj; cobj.Show(); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.FilteredListView")) { Gtk.Bin cobj = ((Gtk.Bin)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.FilteredListView BinContainer.Attach(cobj); cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.FilteredListView"; // Container child Boxerp.Client.GtkSharp.Lib.FilteredListView.Gtk.Container+ContainerChild Gtk.TreeView w1 = new Gtk.TreeView(); w1.CanFocus = true; w1.Events = ((Gdk.EventMask)(0)); w1.Name = "treeview"; bindings["treeview"] = w1; cobj.Add(w1); bindings["Boxerp.Client.GtkSharp.Lib.FilteredListView"] = cobj; w1.Show(); cobj.Show(); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.SimpleTreeView")) { Gtk.Bin cobj = ((Gtk.Bin)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.SimpleTreeView BinContainer.Attach(cobj); cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.SimpleTreeView"; // Container child Boxerp.Client.GtkSharp.Lib.SimpleTreeView.Gtk.Container+ContainerChild Gtk.TreeView w1 = new Gtk.TreeView(); w1.CanFocus = true; w1.Events = ((Gdk.EventMask)(0)); w1.Name = "treeview"; bindings["treeview"] = w1; cobj.Add(w1); bindings["Boxerp.Client.GtkSharp.Lib.SimpleTreeView"] = cobj; w1.Show(); cobj.Show(); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.LoginWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.LoginWindow cobj.Title = "LoginWindow"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.LoginWindow"; cobj.DefaultWidth = 400; cobj.DefaultHeight = 300; bindings["Boxerp.Client.GtkSharp.Lib.LoginWindow"] = cobj; cobj.Show(); } else { if ((id == "MainWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget MainWindow cobj.Title = "MainWindow"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "MainWindow"; cobj.DefaultWidth = 400; cobj.DefaultHeight = 300; bindings["MainWindow"] = cobj; cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); } else { if ((id == "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog cobj.Title = "InfoExtendedDialog"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog"; // Internal child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; bindings["dialog_VBox"] = w1; // Internal child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog.ActionArea Gtk.HButtonBox w2 = cobj.ActionArea; w2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w2.Events = ((Gdk.EventMask)(256)); w2.Name = "Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea"; // Container child Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w3 = new Gtk.Button(); w3.CanFocus = true; w3.Events = ((Gdk.EventMask)(0)); w3.Name = "button6"; w3.CanDefault = true; w3.Label = "button6"; bindings["button6"] = w3; cobj.AddActionWidget(w3, 0); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w2[w3])); w4.Expand = false; w4.Fill = false; bindings["Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog_ActionArea"] = w2; cobj.DefaultWidth = 400; cobj.DefaultHeight = 300; bindings["Boxerp.Client.GtkSharp.Lib.InfoExtendedDialog"] = cobj; w1.Show(); w3.Show(); w2.Show(); cobj.Show(); } } } } } } } } } } } } } System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance)); for (int n = 0; (n < fields.Length); n = (n + 1)) { System.Reflection.FieldInfo field = fields[n]; object widget = bindings[field.Name]; if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) { field.SetValue(obj, widget); } } }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.GPSDConfig this.Name = "ocmgtk.GPSDConfig"; this.Title = Mono.Unix.Catalog.GetString("Configure GPSD..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.GPSDConfig.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.hseparator1])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Poll Interval:"); this.table1.Add(this.label1); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("seconds"); this.table1.Add(this.label2); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.pollEntry = new Gtk.Entry(); this.pollEntry.CanFocus = true; this.pollEntry.Name = "pollEntry"; this.pollEntry.Text = Mono.Unix.Catalog.GetString("30"); this.pollEntry.IsEditable = true; this.pollEntry.InvisibleChar = '•'; this.table1.Add(this.pollEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.pollEntry])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.recenterCheck = new Gtk.CheckButton(); this.recenterCheck.CanFocus = true; this.recenterCheck.Name = "recenterCheck"; this.recenterCheck.Label = Mono.Unix.Catalog.GetString("Continuously Recenter Map"); this.recenterCheck.Active = true; this.recenterCheck.DrawIndicator = true; this.recenterCheck.UseUnderline = true; this.table1.Add(this.recenterCheck); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.recenterCheck])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.startupCheck = new Gtk.CheckButton(); this.startupCheck.CanFocus = true; this.startupCheck.Name = "startupCheck"; this.startupCheck.Label = Mono.Unix.Catalog.GetString("Enable On Startup"); this.startupCheck.DrawIndicator = true; this.startupCheck.UseUnderline = true; this.startupCheck.FocusOnClick = false; this.table1.Add(this.startupCheck); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.startupCheck])); w7.RightAttach = ((uint)(3)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Internal child ocmgtk.GPSDConfig.ActionArea Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel])); w10.Expand = false; w10.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk])); w11.Position = 1; w11.Expand = false; w11.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 425; this.DefaultHeight = 195; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOK); }
public static void Build(object obj, string id) { System.Collections.Hashtable bindings = new System.Collections.Hashtable(); if ((id == "SharpTranslator.ReversibleCombos")) { Gtk.Bin cobj = ((Gtk.Bin)(obj)); // Widget SharpTranslator.ReversibleCombos BinContainer.Attach(cobj); cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "SharpTranslator.ReversibleCombos"; // Container child SharpTranslator.ReversibleCombos.Gtk.Container+ContainerChild Gtk.HBox w1 = new Gtk.HBox(); w1.Spacing = 5; w1.BorderWidth = ((uint)(5)); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w2 = new Gtk.Label(); w2.LabelProp = "Source:"; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "labelSource"; bindings["labelSource"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w4 = Gtk.ComboBox.NewText(); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "comboSource"; bindings["comboSource"] = w4; w1.Add(w4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.VSeparator w6 = new Gtk.VSeparator(); w6.Events = ((Gdk.EventMask)(0)); w6.Name = "vseparator1"; bindings["vseparator1"] = w6; w1.Add(w6); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w6])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.CheckButton w8 = new Gtk.CheckButton(); w8.Label = "reverse"; w8.DrawIndicator = true; w8.BorderWidth = ((uint)(5)); w8.CanFocus = true; w8.Events = ((Gdk.EventMask)(0)); w8.Name = "checkbuttonReverse"; bindings["checkbuttonReverse"] = w8; w1.Add(w8); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[w8])); w9.Position = 3; w9.Expand = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.VSeparator w10 = new Gtk.VSeparator(); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "vseparator2"; bindings["vseparator2"] = w10; w1.Add(w10); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[w10])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w12 = new Gtk.Label(); w12.LabelProp = "Target:"; w12.Events = ((Gdk.EventMask)(0)); w12.Name = "labelTarget"; bindings["labelTarget"] = w12; w1.Add(w12); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w12])); w13.Position = 5; w13.Expand = false; w13.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w14 = Gtk.ComboBox.NewText(); w14.Events = ((Gdk.EventMask)(0)); w14.Name = "comboTarget"; bindings["comboTarget"] = w14; w1.Add(w14); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[w14])); w15.Position = 6; w15.Expand = false; w15.Fill = false; bindings["hbox1"] = w1; cobj.Add(w1); bindings["SharpTranslator.ReversibleCombos"] = cobj; w2.Show(); w4.Show(); w6.Show(); w8.Show(); w10.Show(); w12.Show(); w14.Show(); w1.Show(); cobj.Show(); } else { if ((id == "SharpTranslator.AboutDialog")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget SharpTranslator.AboutDialog cobj.Title = "AboutDialog"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "SharpTranslator.AboutDialog"; // Internal child SharpTranslator.AboutDialog.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.TextView w2 = new Gtk.TextView(); w2.Buffer.Text = "\n SharpTranslator\n\n Version 0.1.3 (October 2006)\n\n License: GPL\n\n Author: Carlos Ble <http://www.shidix.com/carlosble>\n\n English-Spanish dictionary was taken from i2e:\n (Alfredo Casademunt, Jose Luis Triviño)\n\n"; w2.CanFocus = true; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "textview1"; bindings["textview1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.HSeparator w4 = new Gtk.HSeparator(); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "hseparator1"; bindings["hseparator1"] = w4; w1.Add(w4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4])); w5.Position = 1; w5.Expand = false; w5.Fill = false; bindings["dialog_VBox"] = w1; // Internal child SharpTranslator.AboutDialog.ActionArea Gtk.HButtonBox w6 = cobj.ActionArea; w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.Events = ((Gdk.EventMask)(256)); w6.Name = "SharpTranslator.AboutDialog_ActionArea"; // Container child SharpTranslator.AboutDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w7 = new Gtk.Button(); w7.CanFocus = true; w7.Events = ((Gdk.EventMask)(0)); w7.Name = "buttonClose"; w7.CanDefault = true; // Container child buttonClose.Gtk.Container+ContainerChild Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w8.Events = ((Gdk.EventMask)(0)); w8.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w9 = new Gtk.HBox(); w9.Spacing = 2; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w10 = new Gtk.Image(); w10.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-close", 16, 0); w10.Events = ((Gdk.EventMask)(0)); w10.Name = "image1"; bindings["image1"] = w10; w9.Add(w10); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w12 = new Gtk.Label(); w12.LabelProp = "Close"; w12.Events = ((Gdk.EventMask)(0)); w12.Name = "GtkLabel"; bindings["GtkLabel"] = w12; w9.Add(w12); bindings["GtkHBox"] = w9; w8.Add(w9); bindings["GtkAlignment"] = w8; w7.Add(w8); bindings["buttonClose"] = w7; cobj.AddActionWidget(w7, 0); Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[w7])); w16.Expand = false; w16.Fill = false; bindings["SharpTranslator.AboutDialog_ActionArea"] = w6; cobj.DefaultWidth = 487; cobj.DefaultHeight = 303; bindings["SharpTranslator.AboutDialog"] = cobj; w2.Show(); w4.Show(); w1.Show(); w10.Show(); w12.Show(); w9.Show(); w8.Show(); w7.Show(); w6.Show(); cobj.Show(); w7.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose"))); } else { if ((id == "SharpTranslator.LearnWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget SharpTranslator.LearnWindow cobj.Title = "LearnWindow"; cobj.WindowPosition = ((Gtk.WindowPosition)(1)); cobj.Resizable = false; cobj.AllowGrow = false; cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "SharpTranslator.LearnWindow"; // Container child SharpTranslator.LearnWindow.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.Spacing = 5; w1.BorderWidth = ((uint)(3)); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.BorderWidth = ((uint)(3)); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild Gtk.Label w3 = new Gtk.Label(); w3.LabelProp = "Type of item:"; w3.Events = ((Gdk.EventMask)(0)); w3.Name = "label1"; bindings["label1"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild Gtk.HBox w5 = new Gtk.HBox(); w5.Events = ((Gdk.EventMask)(0)); w5.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild Gtk.CheckButton w6 = new Gtk.CheckButton(); w6.Label = "Word"; w6.Active = true; w6.DrawIndicator = true; w6.CanFocus = true; w6.Events = ((Gdk.EventMask)(0)); w6.Name = "checkbWord"; bindings["checkbWord"] = w6; w5.Add(w6); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w5[w6])); w7.Position = 0; // Container child hbox4.Gtk.Box+BoxChild Gtk.CheckButton w8 = new Gtk.CheckButton(); w8.Label = "Expression"; w8.DrawIndicator = true; w8.CanFocus = true; w8.Events = ((Gdk.EventMask)(0)); w8.Name = "checkbExpression"; bindings["checkbExpression"] = w8; w5.Add(w8); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w5[w8])); w9.Position = 1; bindings["hbox4"] = w5; w2.Add(w5); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w2[w5])); w10.Position = 1; w10.Expand = false; bindings["hbox5"] = w2; w1.Add(w2); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[w2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild SharpTranslator.ReversibleCombos w12 = new SharpTranslator.ReversibleCombos(); w12.Events = ((Gdk.EventMask)(256)); w12.Name = "rCombos"; bindings["rCombos"] = w12; w1.Add(w12); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w12])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w14 = new Gtk.HBox(); w14.Spacing = 5; w14.BorderWidth = ((uint)(3)); w14.Events = ((Gdk.EventMask)(0)); w14.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild Gtk.Label w15 = new Gtk.Label(); w15.LabelProp = "Text:"; w15.Events = ((Gdk.EventMask)(0)); w15.Name = "labelText"; bindings["labelText"] = w15; w14.Add(w15); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w14[w15])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.Entry w17 = new Gtk.Entry(); w17.IsEditable = true; w17.InvisibleChar = '●'; w17.CanFocus = true; w17.Events = ((Gdk.EventMask)(0)); w17.Name = "entryText"; bindings["entryText"] = w17; w14.Add(w17); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(w14[w17])); w18.Position = 1; // Container child hbox3.Gtk.Box+BoxChild Gtk.Label w19 = new Gtk.Label(); w19.LabelProp = "Translation:"; w19.Events = ((Gdk.EventMask)(0)); w19.Name = "label3"; bindings["label3"] = w19; w14.Add(w19); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(w14[w19])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.Entry w21 = new Gtk.Entry(); w21.IsEditable = true; w21.InvisibleChar = '●'; w21.CanFocus = true; w21.Events = ((Gdk.EventMask)(0)); w21.Name = "entryTranslation"; bindings["entryTranslation"] = w21; w14.Add(w21); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(w14[w21])); w22.Position = 3; bindings["hbox3"] = w14; w1.Add(w14); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(w1[w14])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w24 = new Gtk.HSeparator(); w24.Events = ((Gdk.EventMask)(0)); w24.Name = "hseparator1"; bindings["hseparator1"] = w24; w1.Add(w24); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(w1[w24])); w25.Position = 3; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HButtonBox w26 = new Gtk.HButtonBox(); w26.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w26.Spacing = 3; w26.BorderWidth = ((uint)(3)); w26.Events = ((Gdk.EventMask)(0)); w26.Name = "hbuttonbox1"; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w27 = new Gtk.Button(); w27.CanFocus = true; w27.Events = ((Gdk.EventMask)(0)); w27.Name = "buttonCancel"; // Container child buttonCancel.Gtk.Container+ContainerChild Gtk.Alignment w28 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w28.Events = ((Gdk.EventMask)(0)); w28.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w29 = new Gtk.HBox(); w29.Spacing = 2; w29.Events = ((Gdk.EventMask)(0)); w29.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w30 = new Gtk.Image(); w30.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0); w30.Events = ((Gdk.EventMask)(0)); w30.Name = "image2"; bindings["image2"] = w30; w29.Add(w30); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w32 = new Gtk.Label(); w32.LabelProp = "Cancel"; w32.Events = ((Gdk.EventMask)(0)); w32.Name = "GtkLabel"; bindings["GtkLabel"] = w32; w29.Add(w32); bindings["GtkHBox"] = w29; w28.Add(w29); bindings["GtkAlignment"] = w28; w27.Add(w28); bindings["buttonCancel"] = w27; w26.Add(w27); Gtk.ButtonBox.ButtonBoxChild w36 = ((Gtk.ButtonBox.ButtonBoxChild)(w26[w27])); w36.Expand = false; w36.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w37 = new Gtk.Button(); w37.CanFocus = true; w37.Events = ((Gdk.EventMask)(0)); w37.Name = "buttonAccept"; // Container child buttonAccept.Gtk.Container+ContainerChild Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w38.Events = ((Gdk.EventMask)(0)); w38.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w39 = new Gtk.HBox(); w39.Spacing = 2; w39.Events = ((Gdk.EventMask)(0)); w39.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w40 = new Gtk.Image(); w40.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0); w40.Events = ((Gdk.EventMask)(0)); w40.Name = "image3"; bindings["image3"] = w40; w39.Add(w40); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w42 = new Gtk.Label(); w42.LabelProp = "Accept"; w42.Events = ((Gdk.EventMask)(0)); w42.Name = "GtkLabel"; bindings["GtkLabel"] = w42; w39.Add(w42); bindings["GtkHBox"] = w39; w38.Add(w39); bindings["GtkAlignment"] = w38; w37.Add(w38); bindings["buttonAccept"] = w37; w26.Add(w37); Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(w26[w37])); w46.Position = 1; w46.Expand = false; w46.Fill = false; bindings["hbuttonbox1"] = w26; w1.Add(w26); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(w1[w26])); w47.Position = 4; w47.Expand = false; w47.Fill = false; bindings["vbox1"] = w1; cobj.Add(w1); cobj.DefaultWidth = 586; cobj.DefaultHeight = 194; bindings["SharpTranslator.LearnWindow"] = cobj; w3.Show(); w6.Show(); w8.Show(); w5.Show(); w2.Show(); w12.Show(); w15.Show(); w17.Show(); w19.Show(); w21.Show(); w14.Show(); w24.Show(); w30.Show(); w32.Show(); w29.Show(); w28.Show(); w27.Show(); w40.Show(); w42.Show(); w39.Show(); w38.Show(); w37.Show(); w26.Show(); w1.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnClose"))); w37.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnAccept"))); } else { if ((id == "SharpTranslator.MainWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget SharpTranslator.MainWindow cobj.Title = "SharpTranslator"; Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); Gtk.Action w3 = new Gtk.Action("File", "File", null, null); w3.ShortLabel = "Archivo"; bindings["File"] = w3; w2.Add(w3, null); Gtk.Action w4 = new Gtk.Action("Edit", "Edit", null, null); w4.ShortLabel = "Editar"; bindings["Edit"] = w4; w2.Add(w4, null); Gtk.Action w5 = new Gtk.Action("Learn", "Learn", null, "gtk-new"); w5.ShortLabel = "Learn"; bindings["Learn"] = w5; w2.Add(w5, null); Gtk.Action w6 = new Gtk.Action("floppy", null, null, "gtk-floppy"); bindings["floppy"] = w6; w2.Add(w6, null); Gtk.Action w7 = new Gtk.Action("LearnWords", "Learn words", null, "gtk-new"); w7.ShortLabel = "Learn "; bindings["LearnWords"] = w7; w2.Add(w7, null); Gtk.Action w8 = new Gtk.Action("AddLanguage", "Add Language", null, "gtk-add"); w8.ShortLabel = "Exit"; bindings["AddLanguage"] = w8; w2.Add(w8, null); Gtk.Action w9 = new Gtk.Action("Cut", "Cut", null, "gtk-cut"); w9.ShortLabel = "Cut"; bindings["Cut"] = w9; w2.Add(w9, null); Gtk.Action w10 = new Gtk.Action("Copy", "Copy", null, "gtk-copy"); w10.ShortLabel = "Copy"; bindings["Copy"] = w10; w2.Add(w10, null); Gtk.Action w11 = new Gtk.Action("Paste", "Paste", null, "gtk-paste"); w11.ShortLabel = "Paste"; bindings["Paste"] = w11; w2.Add(w11, null); Gtk.Action w12 = new Gtk.Action("Help", "Help", null, null); w12.ShortLabel = "Help"; bindings["Help"] = w12; w2.Add(w12, null); Gtk.Action w13 = new Gtk.Action("About", "About", null, "gnome-stock-about"); w13.ShortLabel = "About"; bindings["About"] = w13; w2.Add(w13, null); Gtk.Action w14 = new Gtk.Action("ImportDictionary", "Import Dictionary", null, "gnome-stock-book-blue"); w14.ShortLabel = "Import Dictionary"; bindings["ImportDictionary"] = w14; w2.Add(w14, null); Gtk.Action w15 = new Gtk.Action("Preferences", "Preferences", null, "gtk-preferences"); w15.ShortLabel = "Preferences"; bindings["Preferences"] = w15; w2.Add(w15, null); Gtk.Action w16 = new Gtk.Action("Close", "Close", null, "gtk-close"); w16.ShortLabel = "Close"; bindings["Close"] = w16; w2.Add(w16, null); w1.InsertActionGroup(w2, 0); cobj.AddAccelGroup(w1.AccelGroup); cobj.Icon = Gtk.IconTheme.Default.LoadIcon("gtk-properties", 16, 0); cobj.WindowPosition = ((Gtk.WindowPosition)(1)); cobj.DefaultWidth = 60; cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "SharpTranslator.MainWindow"; // Container child SharpTranslator.MainWindow.Gtk.Container+ContainerChild Gtk.VBox w17 = new Gtk.VBox(); w17.Events = ((Gdk.EventMask)(0)); w17.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='LearnWords'/><menuitem action='AddLanguage'/><menuitem action='ImportDictionary'/><menuitem action='Close'/></menu><menu action='Edit'><menuitem action='Cut'/><menuitem action='Copy'/><menuitem action='Paste'/><menuitem action='Preferences'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>"); Gtk.MenuBar w18 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1"))); w18.Events = ((Gdk.EventMask)(0)); w18.Name = "menubar1"; bindings["menubar1"] = w18; w17.Add(w18); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(w17[w18])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem action='Learn'/></toolbar></ui>"); Gtk.Toolbar w20 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1"))); w20.ShowArrow = false; w20.Tooltips = false; w20.ToolbarStyle = ((Gtk.ToolbarStyle)(2)); w20.IconSize = ((Gtk.IconSize)(2)); w20.Events = ((Gdk.EventMask)(0)); w20.Name = "toolbar1"; bindings["toolbar1"] = w20; w17.Add(w20); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(w17[w20])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox1.Gtk.Box+BoxChild SharpTranslator.ReversibleCombos w22 = new SharpTranslator.ReversibleCombos(); w22.Events = ((Gdk.EventMask)(256)); w22.Name = "rCombos"; bindings["rCombos"] = w22; w17.Add(w22); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(w17[w22])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.ScrolledWindow w24 = new Gtk.ScrolledWindow(); w24.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w24.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w24.CanFocus = true; w24.Events = ((Gdk.EventMask)(0)); w24.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.TreeView w25 = new Gtk.TreeView(); w25.CanFocus = true; w25.Events = ((Gdk.EventMask)(0)); w25.Name = "treeviewResults"; bindings["treeviewResults"] = w25; w24.Add(w25); bindings["scrolledwindow1"] = w24; w17.Add(w24); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w17[w24])); w27.Position = 3; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w28 = new Gtk.HBox(); w28.Spacing = 5; w28.BorderWidth = ((uint)(3)); w28.Events = ((Gdk.EventMask)(0)); w28.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild Gtk.Label w29 = new Gtk.Label(); w29.LabelProp = "Word:"; w29.Events = ((Gdk.EventMask)(0)); w29.Name = "labelWord"; bindings["labelWord"] = w29; w28.Add(w29); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w28[w29])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.Entry w31 = new Gtk.Entry(); w31.IsEditable = true; w31.InvisibleChar = '●'; w31.CanFocus = true; w31.Events = ((Gdk.EventMask)(0)); w31.Name = "entryKeyword"; w31.CanDefault = true; bindings["entryKeyword"] = w31; w28.Add(w31); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w28[w31])); w32.Position = 1; // Container child hbox3.Gtk.Box+BoxChild Gtk.Button w33 = new Gtk.Button(); Gtk.Tooltips w34 = new Gtk.Tooltips(); w34.SetTip(w33, "Search keyword", "Search keyword"); w33.CanFocus = true; w33.Events = ((Gdk.EventMask)(0)); w33.Name = "buttonSearch"; // Container child buttonSearch.Gtk.Container+ContainerChild Gtk.Alignment w35 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w35.Events = ((Gdk.EventMask)(0)); w35.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w36 = new Gtk.HBox(); w36.Spacing = 2; w36.Events = ((Gdk.EventMask)(0)); w36.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w37 = new Gtk.Image(); w37.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0); w37.Events = ((Gdk.EventMask)(0)); w37.Name = "image4"; bindings["image4"] = w37; w36.Add(w37); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w39 = new Gtk.Label(); w39.LabelProp = "Search"; w39.Events = ((Gdk.EventMask)(0)); w39.Name = "GtkLabel"; bindings["GtkLabel"] = w39; w36.Add(w39); bindings["GtkHBox"] = w36; w35.Add(w36); bindings["GtkAlignment"] = w35; w33.Add(w35); bindings["buttonSearch"] = w33; w28.Add(w33); Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(w28[w33])); w43.Position = 2; w43.Expand = false; w43.Fill = false; bindings["hbox3"] = w28; w17.Add(w28); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(w17[w28])); w44.Position = 4; w44.Expand = false; w44.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w45 = new Gtk.HBox(); w45.Spacing = 5; w45.BorderWidth = ((uint)(3)); w45.Events = ((Gdk.EventMask)(0)); w45.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w46 = new Gtk.Label(); w46.LabelProp = "Expression:"; w46.Events = ((Gdk.EventMask)(0)); w46.Name = "labelExpression"; bindings["labelExpression"] = w46; w45.Add(w46); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(w45[w46])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Entry w48 = new Gtk.Entry(); w48.IsEditable = true; w48.InvisibleChar = '●'; w48.CanFocus = true; w48.Events = ((Gdk.EventMask)(0)); w48.Name = "entryExpression"; bindings["entryExpression"] = w48; w45.Add(w48); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(w45[w48])); w49.Position = 1; // Container child hbox4.Gtk.Box+BoxChild Gtk.Button w50 = new Gtk.Button(); w34.SetTip(w50, "Search keyword", "Search keyword"); w50.CanFocus = true; w50.Events = ((Gdk.EventMask)(0)); w50.Name = "buttonSearchExpression"; // Container child buttonSearchExpression.Gtk.Container+ContainerChild Gtk.Alignment w51 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w51.Events = ((Gdk.EventMask)(0)); w51.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w52 = new Gtk.HBox(); w52.Spacing = 2; w52.Events = ((Gdk.EventMask)(0)); w52.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w53 = new Gtk.Image(); w53.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0); w53.Events = ((Gdk.EventMask)(0)); w53.Name = "image5"; bindings["image5"] = w53; w52.Add(w53); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w55 = new Gtk.Label(); w55.LabelProp = "Search"; w55.Events = ((Gdk.EventMask)(0)); w55.Name = "GtkLabel"; bindings["GtkLabel"] = w55; w52.Add(w55); bindings["GtkHBox"] = w52; w51.Add(w52); bindings["GtkAlignment"] = w51; w50.Add(w51); bindings["buttonSearchExpression"] = w50; w45.Add(w50); Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(w45[w50])); w59.Position = 2; w59.Expand = false; w59.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Button w60 = new Gtk.Button(); w34.SetTip(w60, "Search keyword", "Search keyword"); w60.CanFocus = true; w60.Events = ((Gdk.EventMask)(0)); w60.Name = "buttonShowAll"; w60.Label = "Show All"; bindings["buttonShowAll"] = w60; w45.Add(w60); Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(w45[w60])); w61.Position = 3; w61.Expand = false; w61.Fill = false; bindings["hbox4"] = w45; w17.Add(w45); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(w17[w45])); w62.Position = 5; w62.Expand = false; w62.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w63 = new Gtk.HSeparator(); w63.Events = ((Gdk.EventMask)(0)); w63.Name = "hseparator1"; bindings["hseparator1"] = w63; w17.Add(w63); Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(w17[w63])); w64.Position = 6; w64.Expand = false; w64.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HButtonBox w65 = new Gtk.HButtonBox(); w65.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w65.BorderWidth = ((uint)(3)); w65.Events = ((Gdk.EventMask)(0)); w65.Name = "hbuttonbox1"; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w66 = new Gtk.Button(); w66.CanFocus = true; w66.Events = ((Gdk.EventMask)(0)); w66.Name = "buttonClose"; // Container child buttonClose.Gtk.Container+ContainerChild Gtk.Alignment w67 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w67.Events = ((Gdk.EventMask)(0)); w67.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w68 = new Gtk.HBox(); w68.Spacing = 2; w68.Events = ((Gdk.EventMask)(0)); w68.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w69 = new Gtk.Image(); w69.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-close", 16, 0); w69.Events = ((Gdk.EventMask)(0)); w69.Name = "image6"; bindings["image6"] = w69; w68.Add(w69); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w71 = new Gtk.Label(); w71.LabelProp = "Close"; w71.Events = ((Gdk.EventMask)(0)); w71.Name = "GtkLabel"; bindings["GtkLabel"] = w71; w68.Add(w71); bindings["GtkHBox"] = w68; w67.Add(w68); bindings["GtkAlignment"] = w67; w66.Add(w67); bindings["buttonClose"] = w66; w65.Add(w66); Gtk.ButtonBox.ButtonBoxChild w75 = ((Gtk.ButtonBox.ButtonBoxChild)(w65[w66])); w75.Expand = false; w75.Fill = false; bindings["hbuttonbox1"] = w65; w17.Add(w65); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(w17[w65])); w76.Position = 7; w76.Expand = false; w76.Fill = false; bindings["vbox1"] = w17; cobj.Add(w17); cobj.DefaultHeight = 480; bindings["SharpTranslator.MainWindow"] = cobj; w18.Show(); w20.Show(); w22.Show(); w25.Show(); w24.Show(); w29.Show(); w31.Show(); w37.Show(); w39.Show(); w36.Show(); w35.Show(); w33.Show(); w28.Show(); w46.Show(); w48.Show(); w53.Show(); w55.Show(); w52.Show(); w51.Show(); w50.Show(); w60.Show(); w45.Show(); w63.Show(); w69.Show(); w71.Show(); w68.Show(); w67.Show(); w66.Show(); w65.Show(); w17.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w5.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLearn"))); w7.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnLearn"))); w13.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnAbout"))); w16.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose"))); w31.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearch"))); w33.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearch"))); w48.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearchExpression"))); w50.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnSearchExpression"))); w60.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnShowAll"))); w66.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnClose"))); } } } } System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance)); for (int n = 0; (n < fields.Length); n = (n + 1)) { System.Reflection.FieldInfo field = fields[n]; object widget = bindings[field.Name]; if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) { field.SetValue(obj, widget); } } }
public static void Build(object obj, string id) { System.Collections.Hashtable bindings = new System.Collections.Hashtable(); if ((id == "administrator.EditCreateUser")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget administrator.EditCreateUser cobj.Title = "EditCreateUser"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "administrator.EditCreateUser"; cobj.DefaultWidth = 400; cobj.DefaultHeight = 300; bindings["administrator.EditCreateUser"] = cobj; cobj.Show(); } else { if ((id == "administrator.LoginWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget administrator.LoginWindow cobj.Title = "Boxerp Server Administrator"; cobj.WindowPosition = ((Gtk.WindowPosition)(1)); cobj.Modal = true; cobj.Resizable = false; cobj.AllowGrow = false; cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "administrator.LoginWindow"; // Container child administrator.LoginWindow.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.BorderWidth = ((uint)(5)); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w2 = new Gtk.HBox(); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w3 = new Gtk.Label(); w3.LabelProp = "Login:"******"label1"; w3.WidthRequest = 150; bindings["label1"] = w3; w2.Add(w3); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w2[w3])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild Gtk.Entry w5 = new Gtk.Entry(); w5.Text = "demo"; w5.IsEditable = true; w5.MaxLength = 100; w5.InvisibleChar = '●'; w5.CanFocus = true; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "entryLogin"; w5.WidthRequest = 200; bindings["entryLogin"] = w5; w2.Add(w5); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w2[w5])); w6.Position = 1; w6.Expand = false; w6.Fill = false; bindings["hbox1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[w2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w8 = new Gtk.HBox(); w8.Events = ((Gdk.EventMask)(0)); w8.Name = "hbox2"; w8.WidthRequest = 150; // Container child hbox2.Gtk.Box+BoxChild Gtk.Label w9 = new Gtk.Label(); w9.LabelProp = "Password:"******"label2"; bindings["label2"] = w9; w8.Add(w9); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w8[w9])); w10.Position = 0; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild Gtk.Entry w11 = new Gtk.Entry(); w11.Text = "pass"; w11.IsEditable = true; w11.Visibility = false; w11.InvisibleChar = '●'; w11.CanFocus = true; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "entryPassword"; w11.WidthRequest = 200; bindings["entryPassword"] = w11; w8.Add(w11); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w8[w11])); w12.Position = 1; w12.Expand = false; w12.Fill = false; bindings["hbox2"] = w8; w1.Add(w8); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[w8])); w13.Position = 1; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w14 = new Gtk.HSeparator(); w14.Events = ((Gdk.EventMask)(0)); w14.Name = "hseparator1"; bindings["hseparator1"] = w14; w1.Add(w14); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[w14])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w16 = new Gtk.HBox(); w16.Events = ((Gdk.EventMask)(0)); w16.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild Gtk.Button w17 = new Gtk.Button(); w17.CanFocus = true; w17.Events = ((Gdk.EventMask)(0)); w17.Name = "buttonConnect"; // Container child buttonConnect.Gtk.Container+ContainerChild Gtk.Alignment w18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w18.Events = ((Gdk.EventMask)(0)); w18.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w19 = new Gtk.HBox(); w19.Spacing = 2; w19.Events = ((Gdk.EventMask)(0)); w19.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w20 = new Gtk.Image(); w20.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-connect", 16, 0); w20.Events = ((Gdk.EventMask)(0)); w20.Name = "image15"; bindings["image15"] = w20; w19.Add(w20); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w22 = new Gtk.Label(); w22.LabelProp = "Connect"; w22.Events = ((Gdk.EventMask)(0)); w22.Name = "GtkLabel"; bindings["GtkLabel"] = w22; w19.Add(w22); bindings["GtkHBox"] = w19; w18.Add(w19); bindings["GtkAlignment"] = w18; w17.Add(w18); bindings["buttonConnect"] = w17; w16.Add(w17); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(w16[w17])); w26.PackType = ((Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; bindings["hbox3"] = w16; w1.Add(w16); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w1[w16])); w27.Position = 3; w27.Expand = false; w27.Fill = false; bindings["vbox1"] = w1; cobj.Add(w1); cobj.DefaultWidth = 370; cobj.DefaultHeight = 129; bindings["administrator.LoginWindow"] = cobj; w3.Show(); w5.Show(); w2.Show(); w9.Show(); w11.Show(); w8.Show(); w14.Show(); w20.Show(); w22.Show(); w19.Show(); w18.Show(); w17.Show(); w16.Show(); w1.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w5.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect"))); w11.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect"))); w17.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnConnect"))); } else { if ((id == "administrator.MainWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget administrator.MainWindow cobj.Title = "Boxerp Administrator"; Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); Gtk.Action w3 = new Gtk.Action("File", "File", null, null); w3.ShortLabel = "File"; bindings["File"] = w3; w2.Add(w3, null); Gtk.Action w4 = new Gtk.Action("Exit", "Exit", null, null); w4.ShortLabel = "Exit"; bindings["Exit"] = w4; w2.Add(w4, null); Gtk.Action w5 = new Gtk.Action("Edit", "Edit", null, null); w5.ShortLabel = "Edit"; bindings["Edit"] = w5; w2.Add(w5, null); Gtk.Action w6 = new Gtk.Action("Cut", "Cut", null, null); w6.ShortLabel = "Cut"; bindings["Cut"] = w6; w2.Add(w6, null); Gtk.Action w7 = new Gtk.Action("Copy", "Copy", null, null); w7.ShortLabel = "Copy"; bindings["Copy"] = w7; w2.Add(w7, null); Gtk.Action w8 = new Gtk.Action("Paste", "Paste", null, null); w8.ShortLabel = "Paste"; bindings["Paste"] = w8; w2.Add(w8, null); Gtk.Action w9 = new Gtk.Action("Help", "Help", null, null); w9.ShortLabel = "Help"; bindings["Help"] = w9; w2.Add(w9, null); Gtk.Action w10 = new Gtk.Action("About", "About", null, null); w10.ShortLabel = "About"; bindings["About"] = w10; w2.Add(w10, null); w1.InsertActionGroup(w2, 0); cobj.AddAccelGroup(w1.AccelGroup); cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.DefaultWidth = 800; cobj.DefaultHeight = 600; cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "administrator.MainWindow"; // Container child administrator.MainWindow.Gtk.Container+ContainerChild Gtk.VBox w11 = new Gtk.VBox(); w11.Events = ((Gdk.EventMask)(0)); w11.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Exit'/></menu><menu action='Edit'><menuitem action='Cut'/><menuitem action='Copy'/><menuitem action='Paste'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>"); Gtk.MenuBar w12 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1"))); w12.Events = ((Gdk.EventMask)(0)); w12.Name = "menubar1"; bindings["menubar1"] = w12; w11.Add(w12); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w11[w12])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='toolbar1'/></ui>"); Gtk.Toolbar w14 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1"))); w14.ShowArrow = false; w14.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); w14.IconSize = ((Gtk.IconSize)(3)); w14.Events = ((Gdk.EventMask)(0)); w14.Name = "toolbar1"; bindings["toolbar1"] = w14; w11.Add(w14); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w11[w14])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.VBox w16 = new Gtk.VBox(); w16.BorderWidth = ((uint)(5)); w16.Events = ((Gdk.EventMask)(0)); w16.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild Gtk.HBox w17 = new Gtk.HBox(); w17.Events = ((Gdk.EventMask)(0)); w17.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w18 = new Gtk.Label(); w18.LabelProp = "<b>Enterprise:</b>"; w18.UseMarkup = true; w18.Ypad = 6; w18.Events = ((Gdk.EventMask)(256)); w18.Name = "labelEnterprise"; bindings["labelEnterprise"] = w18; w17.Add(w18); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(w17[w18])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Entry w20 = new Gtk.Entry(); w20.IsEditable = true; w20.InvisibleChar = '●'; w20.CanFocus = true; w20.Events = ((Gdk.EventMask)(0)); w20.Name = "entryEnterprise"; bindings["entryEnterprise"] = w20; w17.Add(w20); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(w17[w20])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w22 = new Gtk.Button(); Gtk.Tooltips w23 = new Gtk.Tooltips(); w23.SetTip(w22, "Añadir un Hecho", "Añadir un Hecho"); w22.CanFocus = true; w22.Events = ((Gdk.EventMask)(0)); w22.Name = "buttonFindEnterprise"; w22.HasDefault = true; // Container child buttonFindEnterprise.Gtk.Container+ContainerChild Gtk.Alignment w24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w24.Events = ((Gdk.EventMask)(0)); w24.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w25 = new Gtk.HBox(); w25.Spacing = 2; w25.Events = ((Gdk.EventMask)(0)); w25.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w26 = new Gtk.Image(); w26.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0); w26.Events = ((Gdk.EventMask)(0)); w26.Name = "image1"; bindings["image1"] = w26; w25.Add(w26); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w28 = new Gtk.Label(); w28.LabelProp = ""; w28.Events = ((Gdk.EventMask)(0)); w28.Name = "GtkLabel"; bindings["GtkLabel"] = w28; w25.Add(w28); bindings["GtkHBox"] = w25; w24.Add(w25); bindings["GtkAlignment"] = w24; w22.Add(w24); bindings["buttonFindEnterprise"] = w22; w17.Add(w22); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w17[w22])); w32.Position = 2; w32.Expand = false; w32.Fill = false; bindings["hbox1"] = w17; w16.Add(w17); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(w16[w17])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child vbox2.Gtk.Box+BoxChild Gtk.ScrolledWindow w34 = new Gtk.ScrolledWindow(); w34.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w34.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w34.CanFocus = true; w34.Events = ((Gdk.EventMask)(0)); w34.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w35 = new Gtk.Viewport(); w35.ShadowType = ((Gtk.ShadowType)(0)); w35.Events = ((Gdk.EventMask)(0)); w35.Name = "GtkViewport"; // Container child GtkViewport.Gtk.Container+ContainerChild Boxerp.Client.GtkSharp.Lib.FilteredListView w36 = new Boxerp.Client.GtkSharp.Lib.FilteredListView(); w36.Events = ((Gdk.EventMask)(256)); w36.Name = "ftreeviewEnterprises"; bindings["ftreeviewEnterprises"] = w36; w35.Add(w36); bindings["GtkViewport"] = w35; w34.Add(w35); bindings["scrolledwindow1"] = w34; w16.Add(w34); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(w16[w34])); w39.Position = 1; // Container child vbox2.Gtk.Box+BoxChild Gtk.HBox w40 = new Gtk.HBox(); w40.Events = ((Gdk.EventMask)(0)); w40.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild Gtk.Button w41 = new Gtk.Button(); w23.SetTip(w41, "Añadir un Hecho", "Añadir un Hecho"); w41.CanFocus = true; w41.Events = ((Gdk.EventMask)(0)); w41.Name = "buttonNewEnterprise"; w41.HasDefault = true; // Container child buttonNewEnterprise.Gtk.Container+ContainerChild Gtk.Alignment w42 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w42.Events = ((Gdk.EventMask)(0)); w42.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w43 = new Gtk.HBox(); w43.Spacing = 2; w43.Events = ((Gdk.EventMask)(0)); w43.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w44 = new Gtk.Image(); w44.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0); w44.Events = ((Gdk.EventMask)(0)); w44.Name = "image2"; bindings["image2"] = w44; w43.Add(w44); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w46 = new Gtk.Label(); w46.LabelProp = ""; w46.Events = ((Gdk.EventMask)(0)); w46.Name = "GtkLabel"; bindings["GtkLabel"] = w46; w43.Add(w46); bindings["GtkHBox"] = w43; w42.Add(w43); bindings["GtkAlignment"] = w42; w41.Add(w42); bindings["buttonNewEnterprise"] = w41; w40.Add(w41); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(w40[w41])); w50.PackType = ((Gtk.PackType)(1)); w50.Position = 0; w50.Expand = false; w50.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.Button w51 = new Gtk.Button(); w23.SetTip(w51, "Editar el Hecho", "Editar el Hecho"); w51.CanFocus = true; w51.Events = ((Gdk.EventMask)(0)); w51.Name = "buttonEditEnterprise"; // Container child buttonEditEnterprise.Gtk.Container+ContainerChild Gtk.Alignment w52 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w52.Events = ((Gdk.EventMask)(0)); w52.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w53 = new Gtk.HBox(); w53.Spacing = 2; w53.Events = ((Gdk.EventMask)(0)); w53.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w54 = new Gtk.Image(); w54.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0); w54.Events = ((Gdk.EventMask)(0)); w54.Name = "image3"; bindings["image3"] = w54; w53.Add(w54); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w56 = new Gtk.Label(); w56.LabelProp = ""; w56.Events = ((Gdk.EventMask)(0)); w56.Name = "GtkLabel"; bindings["GtkLabel"] = w56; w53.Add(w56); bindings["GtkHBox"] = w53; w52.Add(w53); bindings["GtkAlignment"] = w52; w51.Add(w52); bindings["buttonEditEnterprise"] = w51; w40.Add(w51); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(w40[w51])); w60.PackType = ((Gtk.PackType)(1)); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.Button w61 = new Gtk.Button(); w23.SetTip(w61, "Quitar el Hecho", "Quitar el Hecho"); w61.CanFocus = true; w61.Events = ((Gdk.EventMask)(0)); w61.Name = "buttonDelEnterprise"; // Container child buttonDelEnterprise.Gtk.Container+ContainerChild Gtk.Alignment w62 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w62.Events = ((Gdk.EventMask)(0)); w62.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w63 = new Gtk.HBox(); w63.Spacing = 2; w63.Events = ((Gdk.EventMask)(0)); w63.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w64 = new Gtk.Image(); w64.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0); w64.Events = ((Gdk.EventMask)(0)); w64.Name = "image4"; bindings["image4"] = w64; w63.Add(w64); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w66 = new Gtk.Label(); w66.LabelProp = ""; w66.Events = ((Gdk.EventMask)(0)); w66.Name = "GtkLabel"; bindings["GtkLabel"] = w66; w63.Add(w66); bindings["GtkHBox"] = w63; w62.Add(w63); bindings["GtkAlignment"] = w62; w61.Add(w62); bindings["buttonDelEnterprise"] = w61; w40.Add(w61); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(w40[w61])); w70.PackType = ((Gtk.PackType)(1)); w70.Position = 2; w70.Expand = false; w70.Fill = false; bindings["hbox14"] = w40; w16.Add(w40); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(w16[w40])); w71.Position = 2; w71.Expand = false; w71.Fill = false; bindings["vbox2"] = w16; w11.Add(w16); Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(w11[w16])); w72.Position = 2; w72.Expand = false; w72.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w73 = new Gtk.HSeparator(); w73.Events = ((Gdk.EventMask)(0)); w73.Name = "hseparator2"; bindings["hseparator2"] = w73; w11.Add(w73); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(w11[w73])); w74.Position = 3; w74.Expand = false; w74.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w75 = new Gtk.HBox(); w75.Homogeneous = true; w75.Events = ((Gdk.EventMask)(0)); w75.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild Gtk.VBox w76 = new Gtk.VBox(); w76.BorderWidth = ((uint)(5)); w76.Events = ((Gdk.EventMask)(0)); w76.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild Gtk.HBox w77 = new Gtk.HBox(); w77.Events = ((Gdk.EventMask)(0)); w77.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild Gtk.Label w78 = new Gtk.Label(); w78.LabelProp = "<b>User:</b>"; w78.UseMarkup = true; w78.Ypad = 6; w78.Events = ((Gdk.EventMask)(256)); w78.Name = "labelUser"; bindings["labelUser"] = w78; w77.Add(w78); Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild)(w77[w78])); w79.Position = 0; w79.Expand = false; w79.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.Entry w80 = new Gtk.Entry(); w80.IsEditable = true; w80.InvisibleChar = '●'; w80.CanFocus = true; w80.Events = ((Gdk.EventMask)(0)); w80.Name = "entryUser"; bindings["entryUser"] = w80; w77.Add(w80); Gtk.Box.BoxChild w81 = ((Gtk.Box.BoxChild)(w77[w80])); w81.Position = 1; w81.Expand = false; w81.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.Button w82 = new Gtk.Button(); w23.SetTip(w82, "Añadir un Hecho", "Añadir un Hecho"); w82.CanFocus = true; w82.Events = ((Gdk.EventMask)(0)); w82.Name = "buttonFindUser"; w82.HasDefault = true; // Container child buttonFindUser.Gtk.Container+ContainerChild Gtk.Alignment w83 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w83.Events = ((Gdk.EventMask)(0)); w83.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w84 = new Gtk.HBox(); w84.Spacing = 2; w84.Events = ((Gdk.EventMask)(0)); w84.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w85 = new Gtk.Image(); w85.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0); w85.Events = ((Gdk.EventMask)(0)); w85.Name = "image5"; bindings["image5"] = w85; w84.Add(w85); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w87 = new Gtk.Label(); w87.LabelProp = ""; w87.Events = ((Gdk.EventMask)(0)); w87.Name = "GtkLabel"; bindings["GtkLabel"] = w87; w84.Add(w87); bindings["GtkHBox"] = w84; w83.Add(w84); bindings["GtkAlignment"] = w83; w82.Add(w83); bindings["buttonFindUser"] = w82; w77.Add(w82); Gtk.Box.BoxChild w91 = ((Gtk.Box.BoxChild)(w77[w82])); w91.Position = 2; w91.Expand = false; w91.Fill = false; bindings["hbox3"] = w77; w76.Add(w77); Gtk.Box.BoxChild w92 = ((Gtk.Box.BoxChild)(w76[w77])); w92.Position = 0; w92.Expand = false; w92.Fill = false; // Container child vbox3.Gtk.Box+BoxChild Gtk.ScrolledWindow w93 = new Gtk.ScrolledWindow(); w93.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w93.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w93.CanFocus = true; w93.Events = ((Gdk.EventMask)(0)); w93.Name = "scrolledwindow2"; // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w94 = new Gtk.Viewport(); w94.ShadowType = ((Gtk.ShadowType)(0)); w94.Events = ((Gdk.EventMask)(0)); w94.Name = "GtkViewport1"; // Container child GtkViewport1.Gtk.Container+ContainerChild Boxerp.Client.GtkSharp.Lib.FilteredListView w95 = new Boxerp.Client.GtkSharp.Lib.FilteredListView(); w95.Events = ((Gdk.EventMask)(256)); w95.Name = "ftreeviewUsers"; bindings["ftreeviewUsers"] = w95; w94.Add(w95); bindings["GtkViewport1"] = w94; w93.Add(w94); bindings["scrolledwindow2"] = w93; w76.Add(w93); Gtk.Box.BoxChild w98 = ((Gtk.Box.BoxChild)(w76[w93])); w98.Position = 1; // Container child vbox3.Gtk.Box+BoxChild Gtk.HBox w99 = new Gtk.HBox(); w99.Events = ((Gdk.EventMask)(0)); w99.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild Gtk.Button w100 = new Gtk.Button(); w23.SetTip(w100, "Añadir un Hecho", "Añadir un Hecho"); w100.CanFocus = true; w100.Events = ((Gdk.EventMask)(0)); w100.Name = "buttonNewUser"; w100.HasDefault = true; // Container child buttonNewUser.Gtk.Container+ContainerChild Gtk.Alignment w101 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w101.Events = ((Gdk.EventMask)(0)); w101.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w102 = new Gtk.HBox(); w102.Spacing = 2; w102.Events = ((Gdk.EventMask)(0)); w102.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w103 = new Gtk.Image(); w103.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0); w103.Events = ((Gdk.EventMask)(0)); w103.Name = "image6"; bindings["image6"] = w103; w102.Add(w103); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w105 = new Gtk.Label(); w105.LabelProp = ""; w105.Events = ((Gdk.EventMask)(0)); w105.Name = "GtkLabel"; bindings["GtkLabel"] = w105; w102.Add(w105); bindings["GtkHBox"] = w102; w101.Add(w102); bindings["GtkAlignment"] = w101; w100.Add(w101); bindings["buttonNewUser"] = w100; w99.Add(w100); Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(w99[w100])); w109.PackType = ((Gtk.PackType)(1)); w109.Position = 0; w109.Expand = false; w109.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.Button w110 = new Gtk.Button(); w23.SetTip(w110, "Editar el Hecho", "Editar el Hecho"); w110.CanFocus = true; w110.Events = ((Gdk.EventMask)(0)); w110.Name = "buttonEditUser"; // Container child buttonEditUser.Gtk.Container+ContainerChild Gtk.Alignment w111 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w111.Events = ((Gdk.EventMask)(0)); w111.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w112 = new Gtk.HBox(); w112.Spacing = 2; w112.Events = ((Gdk.EventMask)(0)); w112.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w113 = new Gtk.Image(); w113.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0); w113.Events = ((Gdk.EventMask)(0)); w113.Name = "image7"; bindings["image7"] = w113; w112.Add(w113); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w115 = new Gtk.Label(); w115.LabelProp = ""; w115.Events = ((Gdk.EventMask)(0)); w115.Name = "GtkLabel"; bindings["GtkLabel"] = w115; w112.Add(w115); bindings["GtkHBox"] = w112; w111.Add(w112); bindings["GtkAlignment"] = w111; w110.Add(w111); bindings["buttonEditUser"] = w110; w99.Add(w110); Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(w99[w110])); w119.PackType = ((Gtk.PackType)(1)); w119.Position = 1; w119.Expand = false; w119.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.Button w120 = new Gtk.Button(); w23.SetTip(w120, "Quitar el Hecho", "Quitar el Hecho"); w120.CanFocus = true; w120.Events = ((Gdk.EventMask)(0)); w120.Name = "buttonDelUser"; // Container child buttonDelUser.Gtk.Container+ContainerChild Gtk.Alignment w121 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w121.Events = ((Gdk.EventMask)(0)); w121.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w122 = new Gtk.HBox(); w122.Spacing = 2; w122.Events = ((Gdk.EventMask)(0)); w122.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w123 = new Gtk.Image(); w123.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0); w123.Events = ((Gdk.EventMask)(0)); w123.Name = "image8"; bindings["image8"] = w123; w122.Add(w123); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w125 = new Gtk.Label(); w125.LabelProp = ""; w125.Events = ((Gdk.EventMask)(0)); w125.Name = "GtkLabel"; bindings["GtkLabel"] = w125; w122.Add(w125); bindings["GtkHBox"] = w122; w121.Add(w122); bindings["GtkAlignment"] = w121; w120.Add(w121); bindings["buttonDelUser"] = w120; w99.Add(w120); Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild)(w99[w120])); w129.PackType = ((Gtk.PackType)(1)); w129.Position = 2; w129.Expand = false; w129.Fill = false; bindings["hbox15"] = w99; w76.Add(w99); Gtk.Box.BoxChild w130 = ((Gtk.Box.BoxChild)(w76[w99])); w130.Position = 2; w130.Expand = false; w130.Fill = false; bindings["vbox3"] = w76; w75.Add(w76); Gtk.Box.BoxChild w131 = ((Gtk.Box.BoxChild)(w75[w76])); w131.Position = 0; // Container child hbox2.Gtk.Box+BoxChild Gtk.VBox w132 = new Gtk.VBox(); w132.BorderWidth = ((uint)(5)); w132.Events = ((Gdk.EventMask)(0)); w132.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild Gtk.HBox w133 = new Gtk.HBox(); w133.Events = ((Gdk.EventMask)(0)); w133.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w134 = new Gtk.Label(); w134.LabelProp = "<b>Group:</b>"; w134.UseMarkup = true; w134.Ypad = 6; w134.Events = ((Gdk.EventMask)(256)); w134.Name = "labelGroup"; bindings["labelGroup"] = w134; w133.Add(w134); Gtk.Box.BoxChild w135 = ((Gtk.Box.BoxChild)(w133[w134])); w135.Position = 0; w135.Expand = false; w135.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Entry w136 = new Gtk.Entry(); w136.IsEditable = true; w136.InvisibleChar = '●'; w136.CanFocus = true; w136.Events = ((Gdk.EventMask)(0)); w136.Name = "entryGroup"; bindings["entryGroup"] = w136; w133.Add(w136); Gtk.Box.BoxChild w137 = ((Gtk.Box.BoxChild)(w133[w136])); w137.Position = 1; w137.Expand = false; w137.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Button w138 = new Gtk.Button(); w23.SetTip(w138, "Añadir un Hecho", "Añadir un Hecho"); w138.CanFocus = true; w138.Events = ((Gdk.EventMask)(0)); w138.Name = "buttonFindGroup"; w138.HasDefault = true; // Container child buttonFindGroup.Gtk.Container+ContainerChild Gtk.Alignment w139 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w139.Events = ((Gdk.EventMask)(0)); w139.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w140 = new Gtk.HBox(); w140.Spacing = 2; w140.Events = ((Gdk.EventMask)(0)); w140.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w141 = new Gtk.Image(); w141.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-find", 16, 0); w141.Events = ((Gdk.EventMask)(0)); w141.Name = "image9"; bindings["image9"] = w141; w140.Add(w141); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w143 = new Gtk.Label(); w143.LabelProp = ""; w143.Events = ((Gdk.EventMask)(0)); w143.Name = "GtkLabel"; bindings["GtkLabel"] = w143; w140.Add(w143); bindings["GtkHBox"] = w140; w139.Add(w140); bindings["GtkAlignment"] = w139; w138.Add(w139); bindings["buttonFindGroup"] = w138; w133.Add(w138); Gtk.Box.BoxChild w147 = ((Gtk.Box.BoxChild)(w133[w138])); w147.Position = 2; w147.Expand = false; w147.Fill = false; bindings["hbox4"] = w133; w132.Add(w133); Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild)(w132[w133])); w148.Position = 0; w148.Expand = false; w148.Fill = false; // Container child vbox4.Gtk.Box+BoxChild Gtk.ScrolledWindow w149 = new Gtk.ScrolledWindow(); w149.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w149.HscrollbarPolicy = ((Gtk.PolicyType)(1)); w149.CanFocus = true; w149.Events = ((Gdk.EventMask)(0)); w149.Name = "scrolledwindow3"; // Container child scrolledwindow3.Gtk.Container+ContainerChild Gtk.Viewport w150 = new Gtk.Viewport(); w150.ShadowType = ((Gtk.ShadowType)(0)); w150.Events = ((Gdk.EventMask)(0)); w150.Name = "GtkViewport2"; // Container child GtkViewport2.Gtk.Container+ContainerChild Boxerp.Client.GtkSharp.Lib.FilteredListView w151 = new Boxerp.Client.GtkSharp.Lib.FilteredListView(); w151.Events = ((Gdk.EventMask)(256)); w151.Name = "ftreeviewGroups"; bindings["ftreeviewGroups"] = w151; w150.Add(w151); bindings["GtkViewport2"] = w150; w149.Add(w150); bindings["scrolledwindow3"] = w149; w132.Add(w149); Gtk.Box.BoxChild w154 = ((Gtk.Box.BoxChild)(w132[w149])); w154.Position = 1; // Container child vbox4.Gtk.Box+BoxChild Gtk.HBox w155 = new Gtk.HBox(); w155.Events = ((Gdk.EventMask)(0)); w155.Name = "hbox16"; // Container child hbox16.Gtk.Box+BoxChild Gtk.Button w156 = new Gtk.Button(); w23.SetTip(w156, "Añadir un Hecho", "Añadir un Hecho"); w156.CanFocus = true; w156.Events = ((Gdk.EventMask)(0)); w156.Name = "buttonNewGroup"; w156.HasDefault = true; // Container child buttonNewGroup.Gtk.Container+ContainerChild Gtk.Alignment w157 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w157.Events = ((Gdk.EventMask)(0)); w157.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w158 = new Gtk.HBox(); w158.Spacing = 2; w158.Events = ((Gdk.EventMask)(0)); w158.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w159 = new Gtk.Image(); w159.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-new", 16, 0); w159.Events = ((Gdk.EventMask)(0)); w159.Name = "image10"; bindings["image10"] = w159; w158.Add(w159); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w161 = new Gtk.Label(); w161.LabelProp = ""; w161.Events = ((Gdk.EventMask)(0)); w161.Name = "GtkLabel"; bindings["GtkLabel"] = w161; w158.Add(w161); bindings["GtkHBox"] = w158; w157.Add(w158); bindings["GtkAlignment"] = w157; w156.Add(w157); bindings["buttonNewGroup"] = w156; w155.Add(w156); Gtk.Box.BoxChild w165 = ((Gtk.Box.BoxChild)(w155[w156])); w165.PackType = ((Gtk.PackType)(1)); w165.Position = 0; w165.Expand = false; w165.Fill = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Button w166 = new Gtk.Button(); w23.SetTip(w166, "Editar el Hecho", "Editar el Hecho"); w166.CanFocus = true; w166.Events = ((Gdk.EventMask)(0)); w166.Name = "buttonEditGroup"; // Container child buttonEditGroup.Gtk.Container+ContainerChild Gtk.Alignment w167 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w167.Events = ((Gdk.EventMask)(0)); w167.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w168 = new Gtk.HBox(); w168.Spacing = 2; w168.Events = ((Gdk.EventMask)(0)); w168.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w169 = new Gtk.Image(); w169.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-edit", 16, 0); w169.Events = ((Gdk.EventMask)(0)); w169.Name = "image11"; bindings["image11"] = w169; w168.Add(w169); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w171 = new Gtk.Label(); w171.LabelProp = ""; w171.Events = ((Gdk.EventMask)(0)); w171.Name = "GtkLabel"; bindings["GtkLabel"] = w171; w168.Add(w171); bindings["GtkHBox"] = w168; w167.Add(w168); bindings["GtkAlignment"] = w167; w166.Add(w167); bindings["buttonEditGroup"] = w166; w155.Add(w166); Gtk.Box.BoxChild w175 = ((Gtk.Box.BoxChild)(w155[w166])); w175.PackType = ((Gtk.PackType)(1)); w175.Position = 1; w175.Expand = false; w175.Fill = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Button w176 = new Gtk.Button(); w23.SetTip(w176, "Quitar el Hecho", "Quitar el Hecho"); w176.CanFocus = true; w176.Events = ((Gdk.EventMask)(0)); w176.Name = "buttonDelGroup"; // Container child buttonDelGroup.Gtk.Container+ContainerChild Gtk.Alignment w177 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w177.Events = ((Gdk.EventMask)(0)); w177.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w178 = new Gtk.HBox(); w178.Spacing = 2; w178.Events = ((Gdk.EventMask)(0)); w178.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w179 = new Gtk.Image(); w179.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-delete", 16, 0); w179.Events = ((Gdk.EventMask)(0)); w179.Name = "image12"; bindings["image12"] = w179; w178.Add(w179); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w181 = new Gtk.Label(); w181.LabelProp = ""; w181.Events = ((Gdk.EventMask)(0)); w181.Name = "GtkLabel"; bindings["GtkLabel"] = w181; w178.Add(w181); bindings["GtkHBox"] = w178; w177.Add(w178); bindings["GtkAlignment"] = w177; w176.Add(w177); bindings["buttonDelGroup"] = w176; w155.Add(w176); Gtk.Box.BoxChild w185 = ((Gtk.Box.BoxChild)(w155[w176])); w185.PackType = ((Gtk.PackType)(1)); w185.Position = 2; w185.Expand = false; w185.Fill = false; bindings["hbox16"] = w155; w132.Add(w155); Gtk.Box.BoxChild w186 = ((Gtk.Box.BoxChild)(w132[w155])); w186.Position = 2; w186.Expand = false; w186.Fill = false; bindings["vbox4"] = w132; w75.Add(w132); Gtk.Box.BoxChild w187 = ((Gtk.Box.BoxChild)(w75[w132])); w187.Position = 1; bindings["hbox2"] = w75; w11.Add(w75); Gtk.Box.BoxChild w188 = ((Gtk.Box.BoxChild)(w11[w75])); w188.Position = 4; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w189 = new Gtk.HSeparator(); w189.Events = ((Gdk.EventMask)(0)); w189.Name = "hseparator1"; bindings["hseparator1"] = w189; w11.Add(w189); Gtk.Box.BoxChild w190 = ((Gtk.Box.BoxChild)(w11[w189])); w190.Position = 6; w190.Expand = false; w190.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.Statusbar w191 = new Gtk.Statusbar(); w191.Events = ((Gdk.EventMask)(0)); w191.Name = "statusbar1"; bindings["statusbar1"] = w191; w11.Add(w191); Gtk.Box.BoxChild w192 = ((Gtk.Box.BoxChild)(w11[w191])); w192.Position = 7; w192.Expand = false; w192.Fill = false; bindings["vbox1"] = w11; cobj.Add(w11); bindings["administrator.MainWindow"] = cobj; w12.Show(); w14.Show(); w18.Show(); w20.Show(); w26.Show(); w28.Show(); w25.Show(); w24.Show(); w22.Show(); w17.Show(); w36.Show(); w35.Show(); w34.Show(); w44.Show(); w46.Show(); w43.Show(); w42.Show(); w41.Show(); w54.Show(); w56.Show(); w53.Show(); w52.Show(); w51.Show(); w64.Show(); w66.Show(); w63.Show(); w62.Show(); w61.Show(); w40.Show(); w16.Show(); w73.Show(); w78.Show(); w80.Show(); w85.Show(); w87.Show(); w84.Show(); w83.Show(); w82.Show(); w77.Show(); w95.Show(); w94.Show(); w93.Show(); w103.Show(); w105.Show(); w102.Show(); w101.Show(); w100.Show(); w113.Show(); w115.Show(); w112.Show(); w111.Show(); w110.Show(); w123.Show(); w125.Show(); w122.Show(); w121.Show(); w120.Show(); w99.Show(); w76.Show(); w134.Show(); w136.Show(); w141.Show(); w143.Show(); w140.Show(); w139.Show(); w138.Show(); w133.Show(); w151.Show(); w150.Show(); w149.Show(); w159.Show(); w161.Show(); w158.Show(); w157.Show(); w156.Show(); w169.Show(); w171.Show(); w168.Show(); w167.Show(); w166.Show(); w179.Show(); w181.Show(); w178.Show(); w177.Show(); w176.Show(); w155.Show(); w132.Show(); w75.Show(); w189.Show(); w191.Show(); w11.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w20.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindEnterprise"))); w22.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindEnterprise"))); w61.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelEnterpriseClicked"))); w51.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditEnterpriseClicked"))); w41.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewEnterpriseClicked"))); w80.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindUser"))); w82.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindUser"))); w120.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelUserClicked"))); w110.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditUserClicked"))); w100.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewUserClicked"))); w136.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindGroup"))); w138.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFindGroup"))); w176.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnDelGroupClicked"))); w166.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnEditGroupClicked"))); w156.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnNewGroupClicked"))); } else { if ((id == "administrator.EditUserWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget administrator.EditUserWindow cobj.Title = "User"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "administrator.EditUserWindow"; // Container child administrator.EditUserWindow.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.Notebook w2 = new Gtk.Notebook(); w2.CanFocus = true; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "notebook1"; // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.VBox w3 = new Gtk.VBox(); w3.Events = ((Gdk.EventMask)(0)); w3.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild Gtk.Table w4 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); w4.RowSpacing = ((uint)(1)); w4.ColumnSpacing = ((uint)(5)); w4.BorderWidth = ((uint)(5)); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "table1"; // Container child table1.Gtk.Table+TableChild Gtk.CheckButton w5 = new Gtk.CheckButton(); w5.Label = ""; w5.DrawIndicator = true; w5.CanFocus = true; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "checkActive"; bindings["checkActive"] = w5; w4.Add(w5); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(w4[w5])); w6.BottomAttach = ((uint)(5)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.TopAttach = ((uint)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w7 = new Gtk.Label(); w7.LabelProp = "Active:"; w7.Events = ((Gdk.EventMask)(0)); w7.Name = "label4"; bindings["label4"] = w7; w4.Add(w7); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(w4[w7])); w8.BottomAttach = ((uint)(5)); w8.TopAttach = ((uint)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); w8.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w9 = new Gtk.Entry(); w9.IsEditable = true; w9.Visibility = false; w9.InvisibleChar = '●'; w9.CanFocus = true; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "entryPassword"; bindings["entryPassword"] = w9; w4.Add(w9); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(w4[w9])); w10.BottomAttach = ((uint)(4)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.TopAttach = ((uint)(3)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w11 = new Gtk.Entry(); w11.IsEditable = true; w11.InvisibleChar = '●'; w11.CanFocus = true; w11.Events = ((Gdk.EventMask)(0)); w11.Name = "entryEmail"; bindings["entryEmail"] = w11; w4.Add(w11); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(w4[w11])); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.TopAttach = ((uint)(2)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w13 = new Gtk.Entry(); w13.IsEditable = true; w13.InvisibleChar = '●'; w13.CanFocus = true; w13.Events = ((Gdk.EventMask)(0)); w13.Name = "entryRealName"; bindings["entryRealName"] = w13; w4.Add(w13); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(w4[w13])); w14.BottomAttach = ((uint)(2)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.TopAttach = ((uint)(1)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w15 = new Gtk.Label(); w15.LabelProp = "Password:"******"label14"; bindings["label14"] = w15; w4.Add(w15); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(w4[w15])); w16.BottomAttach = ((uint)(4)); w16.TopAttach = ((uint)(3)); w16.YOptions = ((Gtk.AttachOptions)(4)); w16.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w17 = new Gtk.Label(); w17.LabelProp = "Email:"; w17.Events = ((Gdk.EventMask)(0)); w17.Name = "label13"; bindings["label13"] = w17; w4.Add(w17); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(w4[w17])); w18.BottomAttach = ((uint)(3)); w18.TopAttach = ((uint)(2)); w18.YOptions = ((Gtk.AttachOptions)(4)); w18.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w19 = new Gtk.Label(); w19.LabelProp = "Real Name:"; w19.Events = ((Gdk.EventMask)(0)); w19.Name = "label12"; bindings["label12"] = w19; w4.Add(w19); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(w4[w19])); w20.BottomAttach = ((uint)(2)); w20.TopAttach = ((uint)(1)); w20.YOptions = ((Gtk.AttachOptions)(4)); w20.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w21 = new Gtk.Label(); w21.LabelProp = "User Name:"; w21.Events = ((Gdk.EventMask)(0)); w21.Name = "label10"; bindings["label10"] = w21; w4.Add(w21); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(w4[w21])); w22.YOptions = ((Gtk.AttachOptions)(4)); w22.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w23 = new Gtk.Entry(); w23.IsEditable = true; w23.InvisibleChar = '●'; w23.CanFocus = true; w23.Events = ((Gdk.EventMask)(0)); w23.Name = "entryUserName"; bindings["entryUserName"] = w23; w4.Add(w23); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(w4[w23])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.YOptions = ((Gtk.AttachOptions)(4)); bindings["table1"] = w4; w3.Add(w4); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(w3[w4])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild Boxerp.Client.GtkSharp.Lib.DoubleListView w26 = new Boxerp.Client.GtkSharp.Lib.DoubleListView(); w26.Events = ((Gdk.EventMask)(256)); w26.Name = "dtreeview"; bindings["dtreeview"] = w26; w3.Add(w26); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(w3[w26])); w27.Position = 1; bindings["vbox2"] = w3; w2.Add(w3); Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(w2[w3])); w28.TabExpand = false; // Notebook tab Gtk.Label w29 = new Gtk.Label(); w29.LabelProp = "Properties"; w29.Events = ((Gdk.EventMask)(0)); w29.Name = "label1"; bindings["label1"] = w29; w2.SetTabLabel(w3, w29); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.VBox w30 = new Gtk.VBox(); w30.Events = ((Gdk.EventMask)(0)); w30.Name = "vbox3"; bindings["vbox3"] = w30; w2.Add(w30); Gtk.Notebook.NotebookChild w31 = ((Gtk.Notebook.NotebookChild)(w2[w30])); w31.Position = 1; w31.TabExpand = false; // Notebook tab Gtk.Label w32 = new Gtk.Label(); w32.LabelProp = "Permissions"; w32.Events = ((Gdk.EventMask)(0)); w32.Name = "label1"; bindings["label1"] = w32; w2.SetTabLabel(w30, w32); bindings["notebook1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(w1[w2])); w33.Position = 0; w33.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild Gtk.HButtonBox w34 = new Gtk.HButtonBox(); w34.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w34.Spacing = 2; w34.BorderWidth = ((uint)(5)); w34.Events = ((Gdk.EventMask)(0)); w34.Name = "hbuttonbox1"; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w35 = new Gtk.Button(); w35.CanFocus = true; w35.Events = ((Gdk.EventMask)(0)); w35.Name = "buttonCancel"; // Container child buttonCancel.Gtk.Container+ContainerChild Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w36.Events = ((Gdk.EventMask)(0)); w36.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w37 = new Gtk.HBox(); w37.Spacing = 2; w37.Events = ((Gdk.EventMask)(0)); w37.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w38 = new Gtk.Image(); w38.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0); w38.Events = ((Gdk.EventMask)(0)); w38.Name = "image13"; bindings["image13"] = w38; w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w40 = new Gtk.Label(); w40.LabelProp = "Cancel"; w40.Events = ((Gdk.EventMask)(0)); w40.Name = "GtkLabel"; bindings["GtkLabel"] = w40; w37.Add(w40); bindings["GtkHBox"] = w37; w36.Add(w37); bindings["GtkAlignment"] = w36; w35.Add(w36); bindings["buttonCancel"] = w35; w34.Add(w35); Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(w34[w35])); w44.Expand = false; w44.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w45 = new Gtk.Button(); w45.CanFocus = true; w45.Events = ((Gdk.EventMask)(0)); w45.Name = "buttonOk"; // Container child buttonOk.Gtk.Container+ContainerChild Gtk.Alignment w46 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w46.Events = ((Gdk.EventMask)(0)); w46.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w47 = new Gtk.HBox(); w47.Spacing = 2; w47.Events = ((Gdk.EventMask)(0)); w47.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w48 = new Gtk.Image(); w48.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-ok", 16, 0); w48.Events = ((Gdk.EventMask)(0)); w48.Name = "image14"; bindings["image14"] = w48; w47.Add(w48); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w50 = new Gtk.Label(); w50.LabelProp = "Ok"; w50.Events = ((Gdk.EventMask)(0)); w50.Name = "GtkLabel"; bindings["GtkLabel"] = w50; w47.Add(w50); bindings["GtkHBox"] = w47; w46.Add(w47); bindings["GtkAlignment"] = w46; w45.Add(w46); bindings["buttonOk"] = w45; w34.Add(w45); Gtk.ButtonBox.ButtonBoxChild w54 = ((Gtk.ButtonBox.ButtonBoxChild)(w34[w45])); w54.Position = 1; w54.Expand = false; w54.Fill = false; bindings["hbuttonbox1"] = w34; w1.Add(w34); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(w1[w34])); w55.PackType = ((Gtk.PackType)(1)); w55.Position = 1; w55.Expand = false; w55.Fill = false; bindings["vbox1"] = w1; cobj.Add(w1); cobj.DefaultWidth = 400; cobj.DefaultHeight = 273; bindings["administrator.EditUserWindow"] = cobj; w5.Show(); w7.Show(); w9.Show(); w11.Show(); w13.Show(); w15.Show(); w17.Show(); w19.Show(); w21.Show(); w23.Show(); w4.Show(); w26.Show(); w3.Show(); w29.Show(); w30.Show(); w32.Show(); w2.Show(); w38.Show(); w40.Show(); w37.Show(); w36.Show(); w35.Show(); w48.Show(); w50.Show(); w47.Show(); w46.Show(); w45.Show(); w34.Show(); w1.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnClose"))); w35.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCancelClicked"))); w45.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOkClicked"))); } } } } System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance)); for (int n = 0; (n < fields.Length); n = (n + 1)) { System.Reflection.FieldInfo field = fields[n]; object widget = bindings[field.Name]; if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) { field.SetValue(obj, widget); } } }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Monsoon.UnhandledExceptionDialog this.Name = "Monsoon.UnhandledExceptionDialog"; this.Title = Mono.Unix.Catalog.GetString("Monsoon - Unhandled Exception"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Internal child Monsoon.UnhandledExceptionDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(5)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.exceptionImage = new Gtk.Image(); this.exceptionImage.Name = "exceptionImage"; this.hbox1.Add(this.exceptionImage); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.exceptionImage])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.exceptionLabel = new Gtk.Label(); this.exceptionLabel.Name = "exceptionLabel"; this.exceptionLabel.Wrap = true; this.hbox1.Add(this.exceptionLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.exceptionLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.exceptionTextView = new Gtk.TextView(); this.exceptionTextView.CanFocus = true; this.exceptionTextView.Name = "exceptionTextView"; this.scrolledwindow1.Add(this.exceptionTextView); this.expander1.Add(this.scrolledwindow1); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("Details"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.expander1])); w7.Position = 1; w1.Add(this.vbox2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w8.Position = 0; w8.Padding = ((uint)(5)); // Internal child Monsoon.UnhandledExceptionDialog.ActionArea Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "dialog1_ActionArea"; w9.Spacing = 6; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-quit"; this.AddActionWidget(this.buttonOk, 0); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 440; this.DefaultHeight = 172; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.MarriageView Stetic.BinContainer.Attach(this); this.Name = "Gedcom.UI.GTK.Widgets.MarriageView"; // Container child Gedcom.UI.GTK.Widgets.MarriageView.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(4)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(12)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 12; // Container child hbox4.Gtk.Box+BoxChild this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = "Begining Status:"; this.hbox4.Add(this.label15); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox4[this.label15])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.BeginingStatusComboBox = Gtk.ComboBox.NewText(); this.BeginingStatusComboBox.AppendText("Single"); this.BeginingStatusComboBox.AppendText("Private"); this.BeginingStatusComboBox.AppendText("Partners"); this.BeginingStatusComboBox.AppendText("Other"); this.BeginingStatusComboBox.AppendText("Unknown"); this.BeginingStatusComboBox.Name = "BeginingStatusComboBox"; this.BeginingStatusComboBox.Active = 4; this.hbox4.Add(this.BeginingStatusComboBox); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox4[this.BeginingStatusComboBox])); w2.Position = 1; this.table3.Add(this.hbox4); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.hbox4])); w3.LeftAttach = ((uint)(3)); w3.RightAttach = ((uint)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label31 = new Gtk.Label(); this.label31.Name = "label31"; this.label31.Xalign = 0F; this.label31.LabelProp = "Marriage Date:"; this.table3.Add(this.label31); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.label31])); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label32 = new Gtk.Label(); this.label32.Name = "label32"; this.label32.Xalign = 0F; this.label32.LabelProp = "Marriage Location:"; this.table3.Add(this.label32); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.label32])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.MarriageButtonBox = new Gtk.HButtonBox(); this.MarriageButtonBox.Name = "MarriageButtonBox"; this.MarriageButtonBox.Spacing = 12; this.MarriageButtonBox.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child MarriageButtonBox.Gtk.ButtonBox+ButtonBoxChild this.MarriageMoreButton = new Gtk.Button(); this.MarriageMoreButton.CanFocus = true; this.MarriageMoreButton.Name = "MarriageMoreButton"; this.MarriageMoreButton.UseUnderline = true; // Container child MarriageMoreButton.Gtk.Container+ContainerChild Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w7 = new Gtk.HBox(); w7.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w8 = new Gtk.Image(); w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-edit", Gtk.IconSize.Button, 20); w7.Add(w8); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w10 = new Gtk.Label(); w10.LabelProp = "More"; w10.UseUnderline = true; w7.Add(w10); w6.Add(w7); this.MarriageMoreButton.Add(w6); this.MarriageButtonBox.Add(this.MarriageMoreButton); Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(this.MarriageButtonBox[this.MarriageMoreButton])); w14.Expand = false; w14.Fill = false; // Container child MarriageButtonBox.Gtk.ButtonBox+ButtonBoxChild this.MarriageScrapbookButton = new Gtk.Button(); this.MarriageScrapbookButton.CanFocus = true; this.MarriageScrapbookButton.Name = "MarriageScrapbookButton"; this.MarriageScrapbookButton.UseUnderline = true; // Container child MarriageScrapbookButton.Gtk.Container+ContainerChild Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w16 = new Gtk.HBox(); w16.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w17 = new Gtk.Image(); w17.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20); w16.Add(w17); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w19 = new Gtk.Label(); w19.LabelProp = "Scrapbook"; w19.UseUnderline = true; w16.Add(w19); w15.Add(w16); this.MarriageScrapbookButton.Add(w15); this.MarriageButtonBox.Add(this.MarriageScrapbookButton); Gtk.ButtonBox.ButtonBoxChild w23 = ((Gtk.ButtonBox.ButtonBoxChild)(this.MarriageButtonBox[this.MarriageScrapbookButton])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.table3.Add(this.MarriageButtonBox); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.MarriageButtonBox])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(3)); w24.RightAttach = ((uint)(4)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.MarriageDateEntry = new Gtk.Entry(); this.MarriageDateEntry.CanFocus = true; this.MarriageDateEntry.Name = "MarriageDateEntry"; this.MarriageDateEntry.IsEditable = true; this.MarriageDateEntry.InvisibleChar = '●'; this.table3.Add(this.MarriageDateEntry); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table3[this.MarriageDateEntry])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.MarriageLocationEntry = new Gtk.Entry(); this.MarriageLocationEntry.CanFocus = true; this.MarriageLocationEntry.Name = "MarriageLocationEntry"; this.MarriageLocationEntry.IsEditable = true; this.MarriageLocationEntry.InvisibleChar = '●'; this.table3.Add(this.MarriageLocationEntry); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table3[this.MarriageLocationEntry])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(3)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.MarriageSourceButton = new Gtk.Button(); this.MarriageSourceButton.CanFocus = true; this.MarriageSourceButton.Name = "MarriageSourceButton"; // Container child MarriageSourceButton.Gtk.Container+ContainerChild this.image442 = new Gtk.Image(); this.image442.Name = "image442"; this.image442.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-index", Gtk.IconSize.Button, 20); this.MarriageSourceButton.Add(this.image442); this.MarriageSourceButton.Label = null; this.table3.Add(this.MarriageSourceButton); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table3[this.MarriageSourceButton])); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); this.Add(this.table3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.MarriageSourceButton.Clicked += new System.EventHandler(this.OnMarriageSourceButton_Clicked); this.MarriageLocationEntry.Changed += new System.EventHandler(this.Marriage_Changed); this.MarriageDateEntry.Changed += new System.EventHandler(this.Marriage_Changed); this.MarriageMoreButton.Clicked += new System.EventHandler(this.OnMarriageMoreButton_Clicked); this.MarriageScrapbookButton.Clicked += new System.EventHandler(this.OnMarriageScrapbookButton_Clicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget sermon2.ConfSelect this.Name = "sermon2.ConfSelect"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child sermon2.ConfSelect.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.combobox2 = Gtk.ComboBox.NewText(); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("serial port")); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("tagger")); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("lop")); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("qport")); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("streamview")); this.combobox2.AppendText(Mono.Unix.Catalog.GetString("lopview")); this.combobox2.Name = "combobox2"; this.combobox2.Active = 0; this.alignment1.Add(this.combobox2); w1.Add(this.alignment1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[this.alignment1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Internal child sermon2.ConfSelect.ActionArea Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 6; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonCancel])); w5.Expand = false; w5.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[this.buttonOk])); w6.Position = 1; w6.Expand = false; w6.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 267; this.DefaultHeight = 300; this.Show(); this.buttonCancel.Released += new System.EventHandler(this.OnButtonCancelReleased); this.buttonOk.Released += new System.EventHandler(this.OnButtonOkReleased); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.NotesWidget Stetic.BinContainer w1 = Stetic.BinContainer.Attach(this); this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.boldAction = new Gtk.ToggleAction("boldAction", null, null, "gtk-bold"); w2.Add(this.boldAction, null); this.italicAction = new Gtk.Action("italicAction", null, null, "gtk-italic"); w2.Add(this.italicAction, null); this.missingImageAction = new Gtk.Action("missingImageAction", null, null, "gtk-missing-image"); w2.Add(this.missingImageAction, null); this.underlineAction = new Gtk.Action("underlineAction", null, null, "gtk-underline"); w2.Add(this.underlineAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "ocmgtk.NotesWidget"; // Container child ocmgtk.NotesWidget.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.editorWidget = new ocmgtk.HTMLEditorWidget(); this.editorWidget.Events = ((Gdk.EventMask)(256)); this.editorWidget.Name = "editorWidget"; this.vbox1.Add(this.editorWidget); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.editorWidget])); w3.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.saveButton = new Gtk.Button(); this.saveButton.Sensitive = false; this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseUnderline = true; // Container child saveButton.Gtk.Container+ContainerChild Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w5 = new Gtk.HBox(); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w6 = new Gtk.Image(); w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-save", Gtk.IconSize.Menu, 16); w5.Add(w6); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w8 = new Gtk.Label(); w8.LabelProp = Mono.Unix.Catalog.GetString("_Save"); w8.UseUnderline = true; w5.Add(w8); w4.Add(w5); this.saveButton.Add(w4); this.hbuttonbox1.Add(this.saveButton); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.saveButton])); w12.Expand = false; w12.Fill = false; this.vbox1.Add(this.hbuttonbox1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.saveButton.Clicked += new System.EventHandler(this.OnSaveNotes); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.GPSConfiguration this.WidthRequest = 600; this.HeightRequest = 500; this.Name = "ocmgtk.GPSConfiguration"; this.Title = Mono.Unix.Catalog.GetString("Add GPS Profile..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.GPSConfiguration.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.profLabel = new Gtk.Label(); this.profLabel.Name = "profLabel"; this.profLabel.Xalign = 0F; this.profLabel.LabelProp = Mono.Unix.Catalog.GetString("Profile Name:"); this.hbox1.Add(this.profLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.profLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.profileEntry = new Gtk.Entry(); this.profileEntry.CanFocus = true; this.profileEntry.Name = "profileEntry"; this.profileEntry.Text = Mono.Unix.Catalog.GetString("New Profile"); this.profileEntry.IsEditable = true; this.profileEntry.InvisibleChar = '•'; this.hbox1.Add(this.profileEntry); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.profileEntry])); w3.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.deviceCombo = Gtk.ComboBox.NewText(); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin GPX (Colorado/Oregon/Dakotai/Map62/Nuvi 5xx)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin USB (eTrex/GPSMap60/StreetPiot)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin Serial (original eTrex/eTrex H/Gecko)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin Edge (605/705)/Garmin Nuvi")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("DeLorme USB (PN-20/PN-30/PN-40)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("DeLorme GPX (PN-60/PN-40 v2.8+)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Magellan GPX (Explorist GC/310/510/610/710)")); this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Other GPS")); this.deviceCombo.Name = "deviceCombo"; this.deviceCombo.Active = 0; this.table1.Add(this.deviceCombo); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.deviceCombo])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.deviceLabel = new Gtk.Label(); this.deviceLabel.Name = "deviceLabel"; this.deviceLabel.Xalign = 0F; this.deviceLabel.LabelProp = Mono.Unix.Catalog.GetString("Select a GPS Type:"); this.table1.Add(this.deviceLabel); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.deviceLabel])); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table1); // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Device"); this.notebook1.SetTabLabel(this.table1, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.waypointWidget = new ocmgtk.WaypointOverrideWidget(); this.waypointWidget.Events = ((Gdk.EventMask)(256)); this.waypointWidget.Name = "waypointWidget"; this.notebook1.Add(this.waypointWidget); Gtk.Notebook.NotebookChild w8 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.waypointWidget])); w8.Position = 1; // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Symbols"); this.notebook1.SetTabLabel(this.waypointWidget, this.label5); this.label5.ShowAll(); w1.Add(this.notebook1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.notebook1])); w9.Position = 1; // Internal child ocmgtk.GPSConfiguration.ActionArea Gtk.HButtonBox w10 = this.ActionArea; w10.Name = "dialog1_ActionArea"; w10.Spacing = 10; w10.BorderWidth = ((uint)(5)); w10.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonCancel])); w11.Expand = false; w11.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk])); w12.Position = 1; w12.Expand = false; w12.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 602; this.DefaultHeight = 533; this.buttonOk.HasDefault = true; this.Show(); this.deviceCombo.Changed += new System.EventHandler(this.OnComboChange); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonClick); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.FileDownloadProgress this.WidthRequest = 450; this.Name = "ocmgtk.FileDownloadProgress"; this.Title = Mono.Unix.Catalog.GetString("Downloading File"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.FileDownloadProgress.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("<big><b>Downloading File</b></big>"); this.label1.UseMarkup = true; this.vbox2.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fileLabel = new Gtk.Label(); this.fileLabel.Name = "fileLabel"; this.fileLabel.Xalign = 0F; this.fileLabel.LabelProp = Mono.Unix.Catalog.GetString("Initializing"); this.fileLabel.UseMarkup = true; this.vbox2.Add(this.fileLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.fileLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.progBar = new Gtk.ProgressBar(); this.progBar.Name = "progBar"; this.vbox2.Add(this.progBar); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.progBar])); w4.Position = 2; w4.Expand = false; w4.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Internal child ocmgtk.FileDownloadProgress.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel])); w7.Expand = false; w7.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 462; this.DefaultHeight = 173; this.buttonOk.Hide(); this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelCLick); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget"; // Container child MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.Gtk.Container+ContainerChild this.hpaned = new Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 293; // Container child hpaned.Gtk.Paned+PanedChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.windowPK = new Gtk.ScrolledWindow(); this.windowPK.CanFocus = true; this.windowPK.Name = "windowPK"; this.windowPK.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowPK.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowPK.ShadowType = ((Gtk.ShadowType)(1)); // Container child windowPK.Gtk.Container+ContainerChild this.listFK = new Gtk.TreeView(); this.listFK.CanFocus = true; this.listFK.Name = "listFK"; this.listFK.HeadersClickable = true; this.windowPK.Add(this.listFK); this.vbox3.Add(this.windowPK); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.windowPK])); w2.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox = new Gtk.HButtonBox(); this.hbuttonbox.Name = "hbuttonbox"; this.hbuttonbox.Spacing = 6; this.hbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new Gtk.Button(); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.hbuttonbox.Add(this.buttonAdd); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new Gtk.Button(); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.hbuttonbox.Add(this.buttonRemove); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add(this.hbuttonbox); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned.Add(this.vbox3); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned[this.vbox3])); w6.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vboxColumns = new Gtk.VBox(); this.vboxColumns.Name = "vboxColumns"; this.vboxColumns.Spacing = 6; // Container child vboxColumns.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); this.frame1.LabelXalign = 0F; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.columnSelecter = new MonoDevelop.Database.Components.SelectColumnWidget(); this.columnSelecter.Sensitive = false; this.columnSelecter.CanFocus = true; this.columnSelecter.Name = "columnSelecter"; this.columnSelecter.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.columnSelecter.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.columnSelecter.ShadowType = ((Gtk.ShadowType)(1)); this.columnSelecter.SingleCheck = false; this.GtkAlignment2.Add(this.columnSelecter); this.frame1.Add(this.GtkAlignment2); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("Columns"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vboxColumns.Add(this.frame1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vboxColumns[this.frame1])); w9.Position = 0; // Container child vboxColumns.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); this.frame2.LabelXalign = 0F; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.referenceColumnSelecter = new MonoDevelop.Database.Components.SelectColumnWidget(); this.referenceColumnSelecter.Sensitive = false; this.referenceColumnSelecter.CanFocus = true; this.referenceColumnSelecter.Name = "referenceColumnSelecter"; this.referenceColumnSelecter.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.referenceColumnSelecter.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.referenceColumnSelecter.ShadowType = ((Gtk.ShadowType)(1)); this.referenceColumnSelecter.SingleCheck = false; this.GtkAlignment3.Add(this.referenceColumnSelecter); this.frame2.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("Reference Columns"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vboxColumns.Add(this.frame2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vboxColumns[this.frame2])); w12.Position = 1; this.hpaned.Add(this.vboxColumns); this.Add(this.hpaned); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget PanelWindow this.Name = "PanelWindow"; this.Title = Mono.Unix.Catalog.GetString("Moonlight Desklets Panel"); this.WindowPosition = ((Gtk.WindowPosition)(1)); // Container child PanelWindow.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.SearchLabel = new Gtk.Label(); this.SearchLabel.Name = "SearchLabel"; this.SearchLabel.LabelProp = Mono.Unix.Catalog.GetString("Search:"); this.hbox2.Add(this.SearchLabel); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.SearchLabel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.SearchEntry = new Gtk.ComboBoxEntry(); this.SearchEntry.Name = "SearchEntry"; this.hbox2.Add(this.SearchEntry); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.SearchEntry])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.DeskletsScrolledWindow = new Gtk.ScrolledWindow(); this.DeskletsScrolledWindow.CanFocus = true; this.DeskletsScrolledWindow.Name = "DeskletsScrolledWindow"; this.DeskletsScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child DeskletsScrolledWindow.Gtk.Container+ContainerChild this.DeskletsView = new Gtk.TreeView(); this.DeskletsView.CanFocus = true; this.DeskletsView.Name = "DeskletsView"; this.DeskletsScrolledWindow.Add(this.DeskletsView); this.vbox2.Add(this.DeskletsScrolledWindow); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.DeskletsScrolledWindow])); w5.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.DetailsExpander = new Gtk.Expander(null); this.DetailsExpander.CanFocus = true; this.DetailsExpander.Name = "DetailsExpander"; // Container child DetailsExpander.Gtk.Container+ContainerChild this.DetailsLabel = new Gtk.Label(); this.DetailsLabel.Name = "DetailsLabel"; this.DetailsLabel.LabelProp = ""; this.DetailsExpander.Add(this.DetailsLabel); this.GtkLabel = new Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Show details"); this.GtkLabel.UseUnderline = true; this.DetailsExpander.LabelWidget = this.GtkLabel; this.vbox2.Add(this.DetailsExpander); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.DetailsExpander])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ActionButtonBox = new Gtk.HButtonBox(); this.ActionButtonBox.Name = "ActionButtonBox"; this.ActionButtonBox.Spacing = 6; this.ActionButtonBox.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild this.HelpButton = new Gtk.Button(); this.HelpButton.CanFocus = true; this.HelpButton.Name = "HelpButton"; this.HelpButton.UseStock = true; this.HelpButton.UseUnderline = true; this.HelpButton.Label = "gtk-help"; this.ActionButtonBox.Add(this.HelpButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.HelpButton])); w8.Secondary = true; w8.Expand = false; w8.Fill = false; // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild this.DeskletsButton = new Gtk.Button(); this.DeskletsButton.CanFocus = true; this.DeskletsButton.Name = "DeskletsButton"; this.DeskletsButton.UseUnderline = true; // Container child DeskletsButton.Gtk.Container+ContainerChild Gtk.Alignment w9 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w10 = new Gtk.HBox(); w10.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w11 = new Gtk.Image(); w11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-find", Gtk.IconSize.Menu, 16); w10.Add(w11); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w13 = new Gtk.Label(); w13.LabelProp = Mono.Unix.Catalog.GetString("Get desklets"); w13.UseUnderline = true; w10.Add(w13); w9.Add(w10); this.DeskletsButton.Add(w9); this.ActionButtonBox.Add(this.DeskletsButton); Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.DeskletsButton])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child ActionButtonBox.Gtk.ButtonBox+ButtonBoxChild this.CloseButton = new Gtk.Button(); this.CloseButton.CanFocus = true; this.CloseButton.Name = "CloseButton"; this.CloseButton.UseStock = true; this.CloseButton.UseUnderline = true; this.CloseButton.Label = "gtk-close"; this.ActionButtonBox.Add(this.CloseButton); Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(this.ActionButtonBox[this.CloseButton])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox2.Add(this.ActionButtonBox); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox2[this.ActionButtonBox])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 447; this.DefaultHeight = 446; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.HelpButton.Clicked += new System.EventHandler(this.OnHelpButtonClicked); this.DeskletsButton.Clicked += new System.EventHandler(this.OnDeskletsButtonClicked); this.CloseButton.Clicked += new System.EventHandler(this.OnCloseButtonClicked); }