protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ManageListDialog this.Name = "ocmgtk.ManageListDialog"; this.Title = "<Manage>"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.ManageListDialog.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.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.treeview1 = new Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.scrolledwindow1.Add(this.treeview1); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w3.Position = 0; // Container child hbox1.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.editButton = new Gtk.Button(); this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; this.editButton.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.moveUpButton = new Gtk.Button(); this.moveUpButton.CanFocus = true; this.moveUpButton.Name = "moveUpButton"; this.moveUpButton.UseUnderline = true; this.moveUpButton.Label = Mono.Unix.Catalog.GetString("Move Up"); this.vbuttonbox1.Add(this.moveUpButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.moveUpButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.moveDownButton = new Gtk.Button(); this.moveDownButton.CanFocus = true; this.moveDownButton.Name = "moveDownButton"; this.moveDownButton.UseUnderline = true; this.moveDownButton.Label = Mono.Unix.Catalog.GetString("Move Down"); this.vbuttonbox1.Add(this.moveDownButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.moveDownButton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button525 = new Gtk.Button(); this.button525.CanFocus = true; this.button525.Name = "button525"; this.button525.UseUnderline = true; this.button525.Label = Mono.Unix.Catalog.GetString("GtkButton"); this.vbuttonbox1.Add(this.button525); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button525])); w7.Position = 3; w7.Expand = false; w7.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w9.Position = 0; // Internal child ocmgtk.ManageListDialog.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 = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ConfigureEToolsDlg this.Name = "ocmgtk.ConfigureEToolsDlg"; this.Title = Mono.Unix.Catalog.GetString("External Tools..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ConfigureEToolsDlg.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.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commandView = new Gtk.TreeView(); this.commandView.CanFocus = true; this.commandView.Name = "commandView"; this.GtkScrolledWindow.Add(this.commandView); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w3.Position = 0; // Container child hbox1.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.addButton = new Gtk.Button(); this.addButton.CanFocus = true; this.addButton.Name = "addButton"; this.addButton.UseUnderline = true; this.addButton.Label = Mono.Unix.Catalog.GetString("Add"); this.vbuttonbox1.Add(this.addButton); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addButton])); w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editButton = new Gtk.Button(); this.editButton.Sensitive = false; this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; this.editButton.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.removeButton = new Gtk.Button(); this.removeButton.Sensitive = false; this.removeButton.CanFocus = true; this.removeButton.Name = "removeButton"; this.removeButton.UseUnderline = true; this.removeButton.Label = Mono.Unix.Catalog.GetString("Delete"); this.vbuttonbox1.Add(this.removeButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.removeButton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w8.Position = 0; // Internal child ocmgtk.ConfigureEToolsDlg.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.buttonClose = new Gtk.Button(); this.buttonClose.CanDefault = true; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseStock = true; this.buttonClose.UseUnderline = true; this.buttonClose.Label = "gtk-close"; this.AddActionWidget(this.buttonClose, -7); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonClose])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.addButton.Clicked += new System.EventHandler(this.OnAddTool); this.editButton.Clicked += new System.EventHandler(this.OnEditClicked); this.removeButton.Clicked += new System.EventHandler(this.OnDeleteClicked); this.buttonClose.Clicked += new System.EventHandler(this.OnCloseClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ImagesWidget Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.ImagesWidget"; // Container child ocmgtk.ImagesWidget.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.image33 = new Gtk.Image(); this.image33.Name = "image33"; this.image33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24); this.hbox2.Add(this.image33); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.image33])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fileLabel = new Gtk.Label(); this.fileLabel.Name = "fileLabel"; this.fileLabel.LabelProp = "<file location>"; this.hbox2.Add(this.fileLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.fileLabel])); 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.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.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.imagesView = new Gtk.IconView(); this.imagesView.CanFocus = true; this.imagesView.Name = "imagesView"; this.scrolledwindow1.Add(this.imagesView); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w5.Position = 0; // Container child hbox1.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.viewButton = new Gtk.Button(); this.viewButton.Sensitive = false; this.viewButton.CanFocus = true; this.viewButton.Name = "viewButton"; this.viewButton.UseUnderline = true; this.viewButton.Label = Mono.Unix.Catalog.GetString("View"); this.vbuttonbox1.Add(this.viewButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewButton])); w6.Expand = false; w6.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.GrabImagesButton = new Gtk.Button(); this.GrabImagesButton.CanFocus = true; this.GrabImagesButton.Name = "GrabImagesButton"; this.GrabImagesButton.UseUnderline = true; this.GrabImagesButton.Label = Mono.Unix.Catalog.GetString("Grab Images..."); this.vbuttonbox1.Add(this.GrabImagesButton); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.GrabImagesButton])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.openFolderButton = new Gtk.Button(); this.openFolderButton.CanFocus = true; this.openFolderButton.Name = "openFolderButton"; this.openFolderButton.UseUnderline = true; this.openFolderButton.Label = Mono.Unix.Catalog.GetString("Open Folder"); this.vbuttonbox1.Add(this.openFolderButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.openFolderButton])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonRefresh = new Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseStock = true; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = "gtk-refresh"; this.vbuttonbox1.Add(this.buttonRefresh); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonRefresh])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w11.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.imagesView.ItemActivated += new Gtk.ItemActivatedHandler(this.OnDoubleClick); this.viewButton.Clicked += new System.EventHandler(this.OnViewClick); this.GrabImagesButton.Clicked += new System.EventHandler(this.OnGrabImagesClick); this.openFolderButton.Clicked += new System.EventHandler(this.OnOpenFolderClick); this.buttonRefresh.Clicked += new System.EventHandler(this.OnRefesh); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.AddComboFilter this.WidthRequest = 650; this.HeightRequest = 450; this.Name = "ocmgtk.AddComboFilter"; this.Title = Mono.Unix.Catalog.GetString("Create Combination Filter..."); 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.AddComboFilter.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.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.image9 = new Gtk.Image(); this.image9.Name = "image9"; this.image9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dnd, 32); this.hbox2.Add(this.image9); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.image9])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Click <b>Add</b> to add a new filter condition, caches that meet any of the conditions\nwill be returned."); this.label1.UseMarkup = true; this.hbox2.Add(this.label1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; 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.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.conditionList = new Gtk.TreeView(); this.conditionList.CanFocus = true; this.conditionList.Name = "conditionList"; this.conditionList.HeadersVisible = false; this.scrolledwindow1.Add(this.conditionList); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w6.Position = 0; // Container child hbox1.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.AddConditionButton = new Gtk.Button(); this.AddConditionButton.CanFocus = true; this.AddConditionButton.Name = "AddConditionButton"; this.AddConditionButton.UseStock = true; this.AddConditionButton.UseUnderline = true; this.AddConditionButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.AddConditionButton); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.AddConditionButton])); w7.Expand = false; w7.Fill = false; w7.Padding = ((uint)(6)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.addQuickFilterButton = new Gtk.Button(); this.addQuickFilterButton.CanFocus = true; this.addQuickFilterButton.Name = "addQuickFilterButton"; this.addQuickFilterButton.UseUnderline = true; this.addQuickFilterButton.Label = Mono.Unix.Catalog.GetString("Import _Quick Filter"); this.vbuttonbox1.Add(this.addQuickFilterButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addQuickFilterButton])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editbutton = new Gtk.Button(); this.editbutton.Sensitive = false; this.editbutton.CanFocus = true; this.editbutton.Name = "editbutton"; this.editbutton.UseStock = true; this.editbutton.UseUnderline = true; this.editbutton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.editbutton); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editbutton])); w9.Position = 2; w9.Expand = false; w9.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-remove"; this.vbuttonbox1.Add(this.deleteButton); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w12.Position = 1; // Internal child ocmgtk.AddComboFilter.ActionArea Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.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 w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonCancel])); w14.Expand = false; w14.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 w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 662; this.DefaultHeight = 480; this.buttonOk.HasDefault = true; this.Show(); this.AddConditionButton.Clicked += new System.EventHandler(this.OnAddClick); this.addQuickFilterButton.Clicked += new System.EventHandler(this.OnImportQuickFilter); this.editbutton.Clicked += new System.EventHandler(this.OnEditClicked); this.deleteButton.Clicked += new System.EventHandler(this.OnRemoveClick); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.TriggersEditorWidget Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget"; // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild this.vpaned = new Gtk.VPaned(); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 205; // Container child vpaned.Gtk.Paned+PanedChild this.hbox = new Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.windowTriggers = new Gtk.ScrolledWindow(); this.windowTriggers.CanFocus = true; this.windowTriggers.Name = "windowTriggers"; this.windowTriggers.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowTriggers.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowTriggers.ShadowType = ((Gtk.ShadowType)(1)); // Container child windowTriggers.Gtk.Container+ContainerChild this.listTriggers = new Gtk.TreeView(); this.listTriggers.CanFocus = true; this.listTriggers.Name = "listTriggers"; this.listTriggers.HeadersClickable = true; this.windowTriggers.Add(this.listTriggers); this.hbox.Add(this.windowTriggers); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowTriggers])); w2.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.vbuttonbox = new Gtk.VButtonBox(); this.vbuttonbox.Name = "vbuttonbox"; this.vbuttonbox.Spacing = 6; this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonAdd); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonRemove); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox.Add(this.vbuttonbox); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vpaned.Add(this.hbox); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox])); w6.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.frame = new Gtk.Frame(); this.frame.Name = "frame"; this.frame.ShadowType = ((Gtk.ShadowType)(0)); this.frame.LabelXalign = 0F; // Container child frame.Gtk.Container+ContainerChild this.alignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(12)); // Container child alignment.Gtk.Container+ContainerChild this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget(); this.sqlEditor.HeightRequest = 80; this.sqlEditor.Events = ((Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.alignment.Add(this.sqlEditor); this.frame.Add(this.alignment); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("Statement"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vpaned.Add(this.frame); this.Add(this.vpaned); 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 RequestTracker.RTPrefs Stetic.BinContainer.Attach(this); this.Name = "RequestTracker.RTPrefs"; // Container child RequestTracker.RTPrefs.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Use the list below to add/configure your Request Tracker sites.\n\n<i>The ticket number will be inserted into the URL at the place specified by the string: {0}</i>"); this.label1.UseMarkup = true; this.label1.Wrap = true; this.label1.Justify = ((Gtk.Justification)(2)); this.vbox1.Add(this.label1); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // 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.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.RTTree = new Gtk.NodeView(); this.RTTree.CanFocus = true; this.RTTree.Name = "RTTree"; this.GtkScrolledWindow.Add(this.RTTree); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.add_btn = new Gtk.Button(); this.add_btn.CanFocus = true; this.add_btn.Name = "add_btn"; this.add_btn.UseStock = true; this.add_btn.UseUnderline = true; this.add_btn.Label = "gtk-add"; this.vbuttonbox1.Add(this.add_btn); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.add_btn])); w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.remove_btn = new Gtk.Button(); this.remove_btn.CanFocus = true; this.remove_btn.Name = "remove_btn"; this.remove_btn.UseStock = true; this.remove_btn.UseUnderline = true; this.remove_btn.Label = "gtk-remove"; this.vbuttonbox1.Add(this.remove_btn); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.remove_btn])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w7.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked); this.remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked); }
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 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); }
// Page 3 // Extension Preferences public Gtk.Widget MakeAddinsPane () { Gtk.VBox vbox = new Gtk.VBox (false, 6); vbox.BorderWidth = 6; Gtk.Label l = new Gtk.Label (Catalog.GetString ( "The following add-ins are installed")); l.Xalign = 0; l.Show (); vbox.PackStart (l, false, false, 0); Gtk.HBox hbox = new Gtk.HBox (false, 6); // TreeView of Add-ins Gtk.TreeView tree = new Gtk.TreeView (); addin_tree = new Mono.Addins.Gui.AddinTreeWidget (tree); tree.Show (); Gtk.ScrolledWindow sw = new Gtk.ScrolledWindow (); sw.HscrollbarPolicy = Gtk.PolicyType.Automatic; sw.VscrollbarPolicy = Gtk.PolicyType.Automatic; sw.ShadowType = Gtk.ShadowType.In; sw.Add (tree); sw.Show (); Gtk.LinkButton get_more_link = new Gtk.LinkButton ("http://live.gnome.org/Tomboy/PluginList", Catalog.GetString ("Get More Add-Ins...")); get_more_link.Show (); Gtk.VBox tree_box = new Gtk.VBox (false, 0); tree_box.Add (sw); tree_box.PackEnd (get_more_link, false, false, 5); tree_box.Show (); hbox.PackStart (tree_box, true, true, 0); // Action Buttons (right of TreeView) Gtk.VButtonBox button_box = new Gtk.VButtonBox (); button_box.Spacing = 4; button_box.Layout = Gtk.ButtonBoxStyle.Start; // TODO: In a future version, add in an "Install Add-ins..." button // TODO: In a future version, add in a "Repositories..." button enable_addin_button = new Gtk.Button (Catalog.GetString ("_Enable")); enable_addin_button.Sensitive = false; enable_addin_button.Clicked += OnEnableAddinButton; enable_addin_button.Show (); disable_addin_button = new Gtk.Button (Catalog.GetString ("_Disable")); disable_addin_button.Sensitive = false; disable_addin_button.Clicked += OnDisableAddinButton; disable_addin_button.Show (); addin_prefs_button = new Gtk.Button (Gtk.Stock.Preferences); addin_prefs_button.Sensitive = false; addin_prefs_button.Clicked += OnAddinPrefsButton; addin_prefs_button.Show (); addin_info_button = new Gtk.Button (Gtk.Stock.Info); addin_info_button.Sensitive = false; addin_info_button.Clicked += OnAddinInfoButton; addin_info_button.Show (); button_box.PackStart (enable_addin_button); button_box.PackStart (disable_addin_button); button_box.PackStart (addin_prefs_button); button_box.PackStart (addin_info_button); button_box.Show (); hbox.PackStart (button_box, false, false, 0); hbox.Show (); vbox.PackStart (hbox, true, true, 0); vbox.Show (); tree.Selection.Changed += OnAddinTreeSelectionChanged; LoadAddins (); return vbox; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.CheckConstraintEditorWidget Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.CheckConstraintEditorWidget"; // Container child MonoDevelop.Database.Designer.CheckConstraintEditorWidget.Gtk.Container+ContainerChild this.vpaned = new Gtk.VPaned(); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 189; // Container child vpaned.Gtk.Paned+PanedChild this.hbox = new Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.windowCheck = new Gtk.ScrolledWindow(); this.windowCheck.CanFocus = true; this.windowCheck.Name = "windowCheck"; this.windowCheck.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowCheck.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.windowCheck.ShadowType = ((Gtk.ShadowType)(1)); // Container child windowCheck.Gtk.Container+ContainerChild this.listCheck = new Gtk.TreeView(); this.listCheck.CanFocus = true; this.listCheck.Name = "listCheck"; this.listCheck.HeadersClickable = true; this.windowCheck.Add(this.listCheck); this.hbox.Add(this.windowCheck); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox[this.windowCheck])); w2.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.vbuttonbox = new Gtk.VButtonBox(); this.vbuttonbox.Name = "vbuttonbox"; this.vbuttonbox.Spacing = 6; this.vbuttonbox.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonAdd); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonRemove); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox.Add(this.vbuttonbox); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vpaned.Add(this.hbox); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned[this.hbox])); w6.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.frame = new Gtk.Frame(); this.frame.Name = "frame"; this.frame.ShadowType = ((Gtk.ShadowType)(0)); this.frame.LabelXalign = 0F; // Container child frame.Gtk.Container+ContainerChild this.alignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(12)); // Container child alignment.Gtk.Container+ContainerChild this.sqlEditor = new MonoDevelop.Database.Components.SqlEditorWidget(); this.sqlEditor.Events = ((Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.alignment.Add(this.sqlEditor); this.frame.Add(this.alignment); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("Check Condition"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vpaned.Add(this.frame); this.Add(this.vpaned); 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 ocmgtk.WaypointWidget Stetic.BinContainer w1 = Stetic.BinContainer.Attach(this); this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.refreshAction = new Gtk.Action("refreshAction", null, null, "gtk-refresh"); w2.Add(this.refreshAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "ocmgtk.WaypointWidget"; // Container child ocmgtk.WaypointWidget.Gtk.Container+ContainerChild this.widgetBox = new Gtk.VBox(); this.widgetBox.Name = "widgetBox"; // Container child widgetBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.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.wptView = new Gtk.TreeView(); this.wptView.CanFocus = true; this.wptView.Name = "wptView"; this.GtkScrolledWindow.Add(this.wptView); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w4.Position = 0; // Container child hbox1.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.addButton = new Gtk.Button(); this.addButton.CanFocus = true; this.addButton.Name = "addButton"; this.addButton.UseStock = true; this.addButton.UseUnderline = true; this.addButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.addButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addButton])); w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editButton = new Gtk.Button(); this.editButton.Sensitive = false; this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseStock = true; this.editButton.UseUnderline = true; this.editButton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w6.Position = 1; w6.Expand = false; w6.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 w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.grabButton = new Gtk.Button(); this.grabButton.CanFocus = true; this.grabButton.Name = "grabButton"; this.grabButton.UseUnderline = true; this.grabButton.Label = Mono.Unix.Catalog.GetString("_Grab Waypoints..."); this.vbuttonbox1.Add(this.grabButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.grabButton])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.widgetBox.Add(this.hbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.widgetBox[this.hbox1])); w10.Position = 0; this.Add(this.widgetBox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.addButton.Clicked += new System.EventHandler(this.doAdd); this.editButton.Clicked += new System.EventHandler(this.DoEdit); this.deleteButton.Clicked += new System.EventHandler(this.doRemove); this.grabButton.Clicked += new System.EventHandler(this.OnGrabClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.NotesView Stetic.BinContainer.Attach(this); this.Events = ((Gdk.EventMask)(256)); this.Name = "Gedcom.UI.GTK.Widgets.NotesView"; // Container child Gedcom.UI.GTK.Widgets.NotesView.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.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.NotesTextView = new Gtk.TextView(); this.NotesTextView.CanFocus = true; this.NotesTextView.Name = "NotesTextView"; this.scrolledwindow1.Add(this.NotesTextView); this.vbox3.Add(this.scrolledwindow1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1])); w2.Position = 0; // 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.scrolledwindow7 = new Gtk.ScrolledWindow(); this.scrolledwindow7.CanFocus = true; this.scrolledwindow7.Name = "scrolledwindow7"; this.scrolledwindow7.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow7.Gtk.Container+ContainerChild this.NotesTreeView = new Gtk.TreeView(); this.NotesTreeView.CanFocus = true; this.NotesTreeView.Name = "NotesTreeView"; this.scrolledwindow7.Add(this.NotesTreeView); this.hbox1.Add(this.scrolledwindow7); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow7])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbuttonbox2 = new Gtk.VButtonBox(); this.vbuttonbox2.Name = "vbuttonbox2"; this.vbuttonbox2.Spacing = 6; this.vbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.AddNoteButton = new Gtk.Button(); this.AddNoteButton.CanFocus = true; this.AddNoteButton.Name = "AddNoteButton"; this.AddNoteButton.UseStock = true; this.AddNoteButton.UseUnderline = true; this.AddNoteButton.Label = "gtk-add"; this.vbuttonbox2.Add(this.AddNoteButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2[this.AddNoteButton])); w5.Expand = false; w5.Fill = false; // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.NewNoteButton = new Gtk.Button(); this.NewNoteButton.CanFocus = true; this.NewNoteButton.Name = "NewNoteButton"; this.NewNoteButton.UseStock = true; this.NewNoteButton.UseUnderline = true; this.NewNoteButton.Label = "gtk-new"; this.vbuttonbox2.Add(this.NewNoteButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2[this.NewNoteButton])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.hbox1.Add(this.vbuttonbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox3.Add(this.hbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w8.Position = 1; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.NotesTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnNotesTreeView_ButtonPressEvent); this.AddNoteButton.Clicked += new System.EventHandler(this.OnAddNoteButton_Clicked); this.NewNoteButton.Clicked += new System.EventHandler(this.OnNewNoteButton_Clicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.WaypointWidget Stetic.BinContainer w1 = Stetic.BinContainer.Attach(this); this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.refreshAction = new Gtk.Action("refreshAction", null, null, "gtk-refresh"); w2.Add(this.refreshAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "ocmgtk.WaypointWidget"; // Container child ocmgtk.WaypointWidget.Gtk.Container+ContainerChild this.widgetBox = new Gtk.VBox(); this.widgetBox.Name = "widgetBox"; // Container child widgetBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.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.wptView = new Gtk.TreeView(); this.wptView.CanFocus = true; this.wptView.Name = "wptView"; this.GtkScrolledWindow.Add(this.wptView); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w4.Position = 0; // Container child hbox1.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.addButton = new Gtk.Button(); this.addButton.CanFocus = true; this.addButton.Name = "addButton"; this.addButton.UseStock = true; this.addButton.UseUnderline = true; this.addButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.addButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addButton])); w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editButton = new Gtk.Button(); this.editButton.Sensitive = false; this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseStock = true; this.editButton.UseUnderline = true; this.editButton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w6.Position = 1; w6.Expand = false; w6.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 w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.grabButton = new Gtk.Button(); this.grabButton.CanFocus = true; this.grabButton.Name = "grabButton"; this.grabButton.UseUnderline = true; this.grabButton.Label = Mono.Unix.Catalog.GetString("_Grab Waypoints..."); this.vbuttonbox1.Add(this.grabButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.grabButton])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.widgetBox.Add(this.hbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.widgetBox[this.hbox1])); w10.Position = 0; this.Add(this.widgetBox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.addButton.Clicked += new System.EventHandler(this.doAdd); this.editButton.Clicked += new System.EventHandler(this.DoEdit); this.deleteButton.Clicked += new System.EventHandler(this.doRemove); this.grabButton.Clicked += new System.EventHandler(this.OnGrabClick); }
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 ocmgtk.AddComboFilter this.WidthRequest = 650; this.HeightRequest = 450; this.Name = "ocmgtk.AddComboFilter"; this.Title = Mono.Unix.Catalog.GetString("Create Combination Filter..."); 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.AddComboFilter.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.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.image9 = new Gtk.Image(); this.image9.Name = "image9"; this.image9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dnd, 32); this.hbox2.Add(this.image9); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.image9])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Click <b>Add</b> to add a new filter condition, caches that meet any of the conditions\nwill be returned."); this.label1.UseMarkup = true; this.hbox2.Add(this.label1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; 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.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.conditionList = new Gtk.TreeView(); this.conditionList.CanFocus = true; this.conditionList.Name = "conditionList"; this.conditionList.HeadersVisible = false; this.scrolledwindow1.Add(this.conditionList); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w6.Position = 0; // Container child hbox1.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.AddConditionButton = new Gtk.Button(); this.AddConditionButton.CanFocus = true; this.AddConditionButton.Name = "AddConditionButton"; this.AddConditionButton.UseStock = true; this.AddConditionButton.UseUnderline = true; this.AddConditionButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.AddConditionButton); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.AddConditionButton])); w7.Expand = false; w7.Fill = false; w7.Padding = ((uint)(6)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.addQuickFilterButton = new Gtk.Button(); this.addQuickFilterButton.CanFocus = true; this.addQuickFilterButton.Name = "addQuickFilterButton"; this.addQuickFilterButton.UseUnderline = true; this.addQuickFilterButton.Label = Mono.Unix.Catalog.GetString("Import _Quick Filter"); this.vbuttonbox1.Add(this.addQuickFilterButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addQuickFilterButton])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editbutton = new Gtk.Button(); this.editbutton.Sensitive = false; this.editbutton.CanFocus = true; this.editbutton.Name = "editbutton"; this.editbutton.UseStock = true; this.editbutton.UseUnderline = true; this.editbutton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.editbutton); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editbutton])); w9.Position = 2; w9.Expand = false; w9.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-remove"; this.vbuttonbox1.Add(this.deleteButton); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w12.Position = 1; // Internal child ocmgtk.AddComboFilter.ActionArea Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.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 w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonCancel])); w14.Expand = false; w14.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 w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 662; this.DefaultHeight = 480; this.buttonOk.HasDefault = true; this.Show(); this.AddConditionButton.Clicked += new System.EventHandler(this.OnAddClick); this.addQuickFilterButton.Clicked += new System.EventHandler(this.OnImportQuickFilter); this.editbutton.Clicked += new System.EventHandler(this.OnEditClicked); this.deleteButton.Clicked += new System.EventHandler(this.OnRemoveClick); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Gedcom.UI.GTK.Widgets.SourceView Stetic.BinContainer.Attach(this); this.Events = ((Gdk.EventMask)(256)); this.Name = "Gedcom.UI.GTK.Widgets.SourceView"; // Container child Gedcom.UI.GTK.Widgets.SourceView.Gtk.Container+ContainerChild this.Notebook = new Gtk.Notebook(); this.Notebook.CanFocus = true; this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 2; // Container child Notebook.Gtk.Notebook+NotebookChild this.table1 = new Gtk.Table(((uint)(6)), ((uint)(2)), 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.FiledByEntry = new Gtk.Entry(); this.FiledByEntry.CanFocus = true; this.FiledByEntry.Name = "FiledByEntry"; this.FiledByEntry.IsEditable = true; this.FiledByEntry.InvisibleChar = '●'; this.table1.Add(this.FiledByEntry); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.FiledByEntry])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.ScrapBookButton = new Gtk.Button(); this.ScrapBookButton.CanFocus = true; this.ScrapBookButton.Name = "ScrapBookButton"; // Container child ScrapBookButton.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w3 = new Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w4 = new Gtk.Image(); w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-paste", Gtk.IconSize.Button, 20); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = "Scrapbook"; w3.Add(w6); w2.Add(w3); this.ScrapBookButton.Add(w2); this.hbox4.Add(this.ScrapBookButton); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.ScrapBookButton])); w10.PackType = ((Gtk.PackType)(1)); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.table1.Add(this.hbox4); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.hbox4])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = "Publication Facts:"; this.table1.Add(this.label10); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.label10])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = "Author:"; this.table1.Add(this.label18); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.label18])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = "Title:"; this.table1.Add(this.label4); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = "Filed By:"; this.table1.Add(this.label8); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.label8])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.OriginatorEntry = new Gtk.Entry(); this.OriginatorEntry.CanFocus = true; this.OriginatorEntry.Name = "OriginatorEntry"; this.OriginatorEntry.IsEditable = true; this.OriginatorEntry.InvisibleChar = '●'; this.table1.Add(this.OriginatorEntry); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.OriginatorEntry])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.PublicationFactsTextView = new Gtk.TextView(); this.PublicationFactsTextView.CanFocus = true; this.PublicationFactsTextView.Name = "PublicationFactsTextView"; this.scrolledwindow5.Add(this.PublicationFactsTextView); this.table1.Add(this.scrolledwindow5); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow5])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.TitleEntry = new Gtk.Entry(); this.TitleEntry.CanFocus = true; this.TitleEntry.Name = "TitleEntry"; this.TitleEntry.IsEditable = true; this.TitleEntry.InvisibleChar = '●'; this.table1.Add(this.TitleEntry); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.TitleEntry])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table1); // Notebook tab this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "Details"; this.Notebook.SetTabLabel(this.table1, this.label5); this.label5.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(6)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(12)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.DateRecordedEntry = new Gtk.Entry(); this.DateRecordedEntry.CanFocus = true; this.DateRecordedEntry.Name = "DateRecordedEntry"; this.DateRecordedEntry.IsEditable = true; this.DateRecordedEntry.InvisibleChar = '●'; this.table2.Add(this.DateRecordedEntry); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.DateRecordedEntry])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.scrolledwindow6 = new Gtk.ScrolledWindow(); this.scrolledwindow6.CanFocus = true; this.scrolledwindow6.Name = "scrolledwindow6"; this.scrolledwindow6.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow6.Gtk.Container+ContainerChild Gtk.Viewport w22 = new Gtk.Viewport(); w22.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.EventGroupTreeView = new Gtk.TreeView(); this.EventGroupTreeView.CanFocus = true; this.EventGroupTreeView.Name = "EventGroupTreeView"; w22.Add(this.EventGroupTreeView); this.scrolledwindow6.Add(w22); this.hbox3.Add(this.scrolledwindow6); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.scrolledwindow6])); w25.Position = 0; // Container child hbox3.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.NewEventGroupButton = new Gtk.Button(); this.NewEventGroupButton.CanFocus = true; this.NewEventGroupButton.Name = "NewEventGroupButton"; this.NewEventGroupButton.UseStock = true; this.NewEventGroupButton.UseUnderline = true; this.NewEventGroupButton.Label = "gtk-new"; this.vbuttonbox1.Add(this.NewEventGroupButton); Gtk.ButtonBox.ButtonBoxChild w26 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.NewEventGroupButton])); w26.Expand = false; w26.Fill = false; this.hbox3.Add(this.vbuttonbox1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox3[this.vbuttonbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.table2.Add(this.hbox3); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table2[this.hbox3])); w28.TopAttach = ((uint)(5)); w28.BottomAttach = ((uint)(6)); w28.RightAttach = ((uint)(4)); // Container child table2.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table2.Add(this.hseparator1); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.hseparator1])); w29.TopAttach = ((uint)(3)); w29.BottomAttach = ((uint)(4)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = "Event Groups:"; this.table2.Add(this.label1); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table2[this.label1])); w30.TopAttach = ((uint)(4)); w30.BottomAttach = ((uint)(5)); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = "Date Recorded:"; this.table2.Add(this.label16); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table2[this.label16])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = "Events in selected group:"; this.table2.Add(this.label17); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.label17])); w32.RightAttach = ((uint)(4)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "in"; this.table2.Add(this.label2); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table2[this.label2])); w33.TopAttach = ((uint)(2)); w33.BottomAttach = ((uint)(3)); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((Gtk.AttachOptions)(4)); w33.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.PlaceRecordedEntry = new Gtk.Entry(); this.PlaceRecordedEntry.CanFocus = true; this.PlaceRecordedEntry.Name = "PlaceRecordedEntry"; this.PlaceRecordedEntry.IsEditable = true; this.PlaceRecordedEntry.InvisibleChar = '●'; this.table2.Add(this.PlaceRecordedEntry); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table2[this.PlaceRecordedEntry])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.scrolledwindow9 = new Gtk.ScrolledWindow(); this.scrolledwindow9.CanFocus = true; this.scrolledwindow9.Name = "scrolledwindow9"; this.scrolledwindow9.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow9.Gtk.Container+ContainerChild Gtk.Viewport w35 = new Gtk.Viewport(); w35.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.EventTypeTreeView = new Gtk.TreeView(); this.EventTypeTreeView.CanFocus = true; this.EventTypeTreeView.Name = "EventTypeTreeView"; this.EventTypeTreeView.RulesHint = true; w35.Add(this.EventTypeTreeView); this.scrolledwindow9.Add(w35); this.table2.Add(this.scrolledwindow9); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow9])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.RightAttach = ((uint)(4)); w38.XOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table2); Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table2])); w39.Position = 1; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = "Events Recorded"; this.Notebook.SetTabLabel(this.table2, this.label6); this.label6.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(2)), 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.AgencyTextBox = new Gtk.Entry(); this.AgencyTextBox.CanFocus = true; this.AgencyTextBox.Name = "AgencyTextBox"; this.AgencyTextBox.IsEditable = true; this.AgencyTextBox.InvisibleChar = '●'; this.table3.Add(this.AgencyTextBox); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.AgencyTextBox])); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.DataNotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.DataNotesView.Events = ((Gdk.EventMask)(256)); this.DataNotesView.Name = "DataNotesView"; this.DataNotesView.DataNotes = true; this.DataNotesView.ListOnly = false; this.DataNotesView.NoteOnly = false; this.table3.Add(this.DataNotesView); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.DataNotesView])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = "Agency:"; this.table3.Add(this.label3); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table3[this.label3])); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); this.Notebook.Add(this.table3); Gtk.Notebook.NotebookChild w43 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table3])); w43.Position = 2; // Notebook tab this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = "Data Information"; this.Notebook.SetTabLabel(this.table3, this.label7); this.label7.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); this.scrolledwindow2.BorderWidth = ((uint)(6)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.TextTextView = new Gtk.TextView(); this.TextTextView.CanFocus = true; this.TextTextView.Name = "TextTextView"; this.scrolledwindow2.Add(this.TextTextView); this.Notebook.Add(this.scrolledwindow2); Gtk.Notebook.NotebookChild w45 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.scrolledwindow2])); w45.Position = 3; // Notebook tab this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = "Text"; this.Notebook.SetTabLabel(this.scrolledwindow2, this.label15); this.label15.ShowAll(); // Container child Notebook.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.Notebook.Add(this.NotesView); Gtk.Notebook.NotebookChild w46 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.NotesView])); w46.Position = 4; // Notebook tab this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = "Notes"; this.Notebook.SetTabLabel(this.NotesView, this.label9); this.label9.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.table4 = new Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(12)); this.table4.BorderWidth = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.CallNumberEntry = new Gtk.Entry(); this.CallNumberEntry.CanFocus = true; this.CallNumberEntry.Name = "CallNumberEntry"; this.CallNumberEntry.IsEditable = true; this.CallNumberEntry.InvisibleChar = '●'; this.table4.Add(this.CallNumberEntry); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table4[this.CallNumberEntry])); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = "Call Number:"; this.table4.Add(this.label12); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table4[this.label12])); w48.XOptions = ((Gtk.AttachOptions)(4)); w48.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = "Media Type:"; this.table4.Add(this.label13); Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table4[this.label13])); w49.LeftAttach = ((uint)(2)); w49.RightAttach = ((uint)(3)); w49.XOptions = ((Gtk.AttachOptions)(4)); w49.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = "Notes:"; this.table4.Add(this.label14); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table4[this.label14])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); w50.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.MediaTypeCombo = new Gtk.ComboBox(); this.MediaTypeCombo.Name = "MediaTypeCombo"; this.table4.Add(this.MediaTypeCombo); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table4[this.MediaTypeCombo])); w51.LeftAttach = ((uint)(3)); w51.RightAttach = ((uint)(4)); w51.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.RepoNotesView = new Gedcom.UI.GTK.Widgets.NotesView(); this.RepoNotesView.Events = ((Gdk.EventMask)(256)); this.RepoNotesView.Name = "RepoNotesView"; this.RepoNotesView.DataNotes = false; this.RepoNotesView.ListOnly = false; this.RepoNotesView.NoteOnly = false; this.table4.Add(this.RepoNotesView); Gtk.Table.TableChild w52 = ((Gtk.Table.TableChild)(this.table4[this.RepoNotesView])); w52.TopAttach = ((uint)(3)); w52.BottomAttach = ((uint)(4)); w52.RightAttach = ((uint)(4)); w52.XOptions = ((Gtk.AttachOptions)(4)); w52.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.CallNumberTreeView = new Gtk.TreeView(); this.CallNumberTreeView.CanFocus = true; this.CallNumberTreeView.Name = "CallNumberTreeView"; this.scrolledwindow4.Add(this.CallNumberTreeView); this.table4.Add(this.scrolledwindow4); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow4])); w54.TopAttach = ((uint)(1)); w54.BottomAttach = ((uint)(2)); w54.RightAttach = ((uint)(4)); this.Notebook.Add(this.table4); Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.table4])); w55.Position = 5; // Notebook tab this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = "Repositories"; this.Notebook.SetTabLabel(this.table4, this.label11); this.label11.ShowAll(); this.Add(this.Notebook); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.Notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnNotebook_SwitchPage); this.ScrapBookButton.Clicked += new System.EventHandler(this.OnScrapbookButton_Clicked); this.EventGroupTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnEventGroupTreeView_ButtonPressEvent); this.NewEventGroupButton.Clicked += new System.EventHandler(this.OnNewEventGroupButton_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 MonoDevelop.Database.Components.SelectColumnDialog this.Name = "MonoDevelop.Database.Components.SelectColumnDialog"; this.Title = Mono.Unix.Catalog.GetString("Select Column"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.DestroyWithParent = true; this.SkipTaskbarHint = true; this.HasSeparator = false; // Internal child MonoDevelop.Database.Components.SelectColumnDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "Dialog_Vbox"; w1.BorderWidth = ((uint)(2)); // Container child Dialog_Vbox.Gtk.Box+BoxChild this.hboxContent = new Gtk.HBox(); this.hboxContent.Name = "hboxContent"; this.hboxContent.Spacing = 6; // Container child hboxContent.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.buttonSelectAll = new Gtk.Button(); this.buttonSelectAll.CanFocus = true; this.buttonSelectAll.Name = "buttonSelectAll"; this.buttonSelectAll.UseUnderline = true; this.buttonSelectAll.Label = Mono.Unix.Catalog.GetString("Select All"); this.vbuttonbox1.Add(this.buttonSelectAll); Gtk.ButtonBox.ButtonBoxChild w2 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonSelectAll])); w2.Expand = false; w2.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonDeselectAll = new Gtk.Button(); this.buttonDeselectAll.CanFocus = true; this.buttonDeselectAll.Name = "buttonDeselectAll"; this.buttonDeselectAll.UseUnderline = true; this.buttonDeselectAll.Label = Mono.Unix.Catalog.GetString("Deselect All"); this.vbuttonbox1.Add(this.buttonDeselectAll); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonDeselectAll])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.hboxContent.Add(this.vbuttonbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hboxContent[this.vbuttonbox1])); w4.PackType = ((Gtk.PackType)(1)); w4.Position = 1; w4.Expand = false; w4.Fill = false; w1.Add(this.hboxContent); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hboxContent])); w5.Position = 0; // Internal child MonoDevelop.Database.Components.SelectColumnDialog.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "GtkDialog_ActionArea"; w6.Spacing = 6; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child GtkDialog_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 GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.Sensitive = false; 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(); this.buttonSelectAll.Clicked += new System.EventHandler(this.SelectAllClicked); this.buttonDeselectAll.Clicked += new System.EventHandler(this.DeselectAllClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget SimpleDownloader.TestDownloadWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.quitAction = new Gtk.Action("quitAction", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.quitAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "SimpleDownloader.TestDownloadWindow"; this.Title = Mono.Unix.Catalog.GetString("TestDownloadWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child SimpleDownloader.TestDownloadWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='quitAction' action='quitAction'/></menu></menubar></ui>"); this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 141; this.hpaned1.BorderWidth = ((uint)(5)); // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbuttonbox2 = new Gtk.VButtonBox(); this.vbuttonbox2.Name = "vbuttonbox2"; this.vbuttonbox2.Homogeneous = true; this.vbuttonbox2.Spacing = 5; this.vbuttonbox2.BorderWidth = ((uint)(5)); // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild 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-add"; this.vbuttonbox2.Add(this.button1); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2[this.button1])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button2 = new Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseStock = true; this.button2.UseUnderline = true; this.button2.Label = "gtk-delete"; this.vbuttonbox2.Add(this.button2); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2[this.button2])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.expander1.Add(this.vbuttonbox2); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("Download"); this.GtkLabel3.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel3; this.vbox2.Add(this.expander1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.expander1])); w6.Position = 0; w6.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Links:"); this.table1.Add(this.label3); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("In progress:"); this.table1.Add(this.label4); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); 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.LabelProp = Mono.Unix.Catalog.GetString("27"); this.table1.Add(this.label5); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("13"); this.table1.Add(this.label6); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.label6])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Done:"); this.table1.Add(this.label7); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.label7])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("14"); this.table1.Add(this.label8); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.label8])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1])); w13.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Current:"); this.vbox3.Add(this.label1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox3[this.label1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.progressCurrent = new Gtk.ProgressBar(); this.progressCurrent.Name = "progressCurrent"; this.progressCurrent.Text = ""; this.vbox3.Add(this.progressCurrent); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox3[this.progressCurrent])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Overall:"); this.vbox3.Add(this.label2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.label2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.progressbar2 = new Gtk.ProgressBar(); this.progressbar2.Name = "progressbar2"; this.progressbar2.Text = ""; this.vbox3.Add(this.progressbar2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.progressbar2])); w17.Position = 3; w17.Expand = false; w17.Fill = false; this.vbox2.Add(this.vbox3); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.hpaned1.Add(this.vbox2); Gtk.Paned.PanedChild w19 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vbox2])); w19.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild 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.downloadTree = new Gtk.TreeView(); this.downloadTree.CanFocus = true; this.downloadTree.Name = "downloadTree"; this.scrolledwindow1.Add(this.downloadTree); this.hpaned1.Add(this.scrolledwindow1); this.vbox1.Add(this.hpaned1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w22.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 609; this.DefaultHeight = 413; this.Show(); this.quitAction.Activated += new System.EventHandler(this.OnQuitActionActivated); this.button1.Clicked += new System.EventHandler(this.OnButton1Clicked); this.downloadTree.RowActivated += new Gtk.RowActivatedHandler(this.OnDownloadTreeRowActivated); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ConfigureEToolsDlg this.Name = "ocmgtk.ConfigureEToolsDlg"; this.Title = Mono.Unix.Catalog.GetString("External Tools..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ConfigureEToolsDlg.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.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commandView = new Gtk.TreeView(); this.commandView.CanFocus = true; this.commandView.Name = "commandView"; this.GtkScrolledWindow.Add(this.commandView); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w3.Position = 0; // Container child hbox1.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.addButton = new Gtk.Button(); this.addButton.CanFocus = true; this.addButton.Name = "addButton"; this.addButton.UseUnderline = true; this.addButton.Label = Mono.Unix.Catalog.GetString("Add"); this.vbuttonbox1.Add(this.addButton); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.addButton])); w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.editButton = new Gtk.Button(); this.editButton.Sensitive = false; this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; this.editButton.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.removeButton = new Gtk.Button(); this.removeButton.Sensitive = false; this.removeButton.CanFocus = true; this.removeButton.Name = "removeButton"; this.removeButton.UseUnderline = true; this.removeButton.Label = Mono.Unix.Catalog.GetString("Delete"); this.vbuttonbox1.Add(this.removeButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.removeButton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w8.Position = 0; // Internal child ocmgtk.ConfigureEToolsDlg.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.buttonClose = new Gtk.Button(); this.buttonClose.CanDefault = true; this.buttonClose.CanFocus = true; this.buttonClose.Name = "buttonClose"; this.buttonClose.UseStock = true; this.buttonClose.UseUnderline = true; this.buttonClose.Label = "gtk-close"; this.AddActionWidget(this.buttonClose, -7); Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonClose])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.addButton.Clicked += new System.EventHandler(this.OnAddTool); this.editButton.Clicked += new System.EventHandler(this.OnEditClicked); this.removeButton.Clicked += new System.EventHandler(this.OnDeleteClicked); this.buttonClose.Clicked += new System.EventHandler(this.OnCloseClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Components.SelectColumnDialog this.Name = "MonoDevelop.Database.Components.SelectColumnDialog"; this.Title = Mono.Unix.Catalog.GetString("Select Column"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.DestroyWithParent = true; this.SkipTaskbarHint = true; this.HasSeparator = false; // Internal child MonoDevelop.Database.Components.SelectColumnDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "Dialog_Vbox"; w1.BorderWidth = ((uint)(2)); // Container child Dialog_Vbox.Gtk.Box+BoxChild this.hboxContent = new Gtk.HBox(); this.hboxContent.Name = "hboxContent"; this.hboxContent.Spacing = 6; // Container child hboxContent.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.buttonSelectAll = new Gtk.Button(); this.buttonSelectAll.CanFocus = true; this.buttonSelectAll.Name = "buttonSelectAll"; this.buttonSelectAll.UseUnderline = true; this.buttonSelectAll.Label = Mono.Unix.Catalog.GetString("Select All"); this.vbuttonbox1.Add(this.buttonSelectAll); Gtk.ButtonBox.ButtonBoxChild w2 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonSelectAll])); w2.Expand = false; w2.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonDeselectAll = new Gtk.Button(); this.buttonDeselectAll.CanFocus = true; this.buttonDeselectAll.Name = "buttonDeselectAll"; this.buttonDeselectAll.UseUnderline = true; this.buttonDeselectAll.Label = Mono.Unix.Catalog.GetString("Deselect All"); this.vbuttonbox1.Add(this.buttonDeselectAll); Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonDeselectAll])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.hboxContent.Add(this.vbuttonbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hboxContent[this.vbuttonbox1])); w4.PackType = ((Gtk.PackType)(1)); w4.Position = 1; w4.Expand = false; w4.Fill = false; w1.Add(this.hboxContent); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hboxContent])); w5.Position = 0; // Internal child MonoDevelop.Database.Components.SelectColumnDialog.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "GtkDialog_ActionArea"; w6.Spacing = 6; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child GtkDialog_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 GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.Sensitive = false; 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(); this.buttonSelectAll.Clicked += new System.EventHandler(this.SelectAllClicked); this.buttonDeselectAll.Clicked += new System.EventHandler(this.DeselectAllClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ManageListDialog this.Name = "ocmgtk.ManageListDialog"; this.Title = "<Manage>"; this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.ManageListDialog.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.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.treeview1 = new Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.scrolledwindow1.Add(this.treeview1); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w3.Position = 0; // Container child hbox1.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.editButton = new Gtk.Button(); this.editButton.CanFocus = true; this.editButton.Name = "editButton"; this.editButton.UseUnderline = true; this.editButton.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbuttonbox1.Add(this.editButton); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.editButton])); w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.moveUpButton = new Gtk.Button(); this.moveUpButton.CanFocus = true; this.moveUpButton.Name = "moveUpButton"; this.moveUpButton.UseUnderline = true; this.moveUpButton.Label = Mono.Unix.Catalog.GetString("Move Up"); this.vbuttonbox1.Add(this.moveUpButton); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.moveUpButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.moveDownButton = new Gtk.Button(); this.moveDownButton.CanFocus = true; this.moveDownButton.Name = "moveDownButton"; this.moveDownButton.UseUnderline = true; this.moveDownButton.Label = Mono.Unix.Catalog.GetString("Move Down"); this.vbuttonbox1.Add(this.moveDownButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.moveDownButton])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button525 = new Gtk.Button(); this.button525.CanFocus = true; this.button525.Name = "button525"; this.button525.UseUnderline = true; this.button525.Label = Mono.Unix.Catalog.GetString("GtkButton"); this.vbuttonbox1.Add(this.button525); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button525])); w7.Position = 3; w7.Expand = false; w7.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w9.Position = 0; // Internal child ocmgtk.ManageListDialog.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 = 400; this.DefaultHeight = 300; this.Show(); }
protected override Gtk.Box CreateBoxWidget() { Gtk.VButtonBox box = new Gtk.VButtonBox(); box.Layout = Gtk.ButtonBoxStyle.Start; return box; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ImagesWidget Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.ImagesWidget"; // Container child ocmgtk.ImagesWidget.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.image33 = new Gtk.Image(); this.image33.Name = "image33"; this.image33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24); this.hbox2.Add(this.image33); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.image33])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fileLabel = new Gtk.Label(); this.fileLabel.Name = "fileLabel"; this.fileLabel.LabelProp = "<file location>"; this.hbox2.Add(this.fileLabel); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.fileLabel])); 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.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.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.imagesView = new Gtk.IconView(); this.imagesView.CanFocus = true; this.imagesView.Name = "imagesView"; this.scrolledwindow1.Add(this.imagesView); this.hbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w5.Position = 0; // Container child hbox1.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.viewButton = new Gtk.Button(); this.viewButton.Sensitive = false; this.viewButton.CanFocus = true; this.viewButton.Name = "viewButton"; this.viewButton.UseUnderline = true; this.viewButton.Label = Mono.Unix.Catalog.GetString("View"); this.vbuttonbox1.Add(this.viewButton); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewButton])); w6.Expand = false; w6.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.GrabImagesButton = new Gtk.Button(); this.GrabImagesButton.CanFocus = true; this.GrabImagesButton.Name = "GrabImagesButton"; this.GrabImagesButton.UseUnderline = true; this.GrabImagesButton.Label = Mono.Unix.Catalog.GetString("Grab Images..."); this.vbuttonbox1.Add(this.GrabImagesButton); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.GrabImagesButton])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.openFolderButton = new Gtk.Button(); this.openFolderButton.CanFocus = true; this.openFolderButton.Name = "openFolderButton"; this.openFolderButton.UseUnderline = true; this.openFolderButton.Label = Mono.Unix.Catalog.GetString("Open Folder"); this.vbuttonbox1.Add(this.openFolderButton); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.openFolderButton])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonRefresh = new Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseStock = true; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = "gtk-refresh"; this.vbuttonbox1.Add(this.buttonRefresh); Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonRefresh])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.hbox1.Add(this.vbuttonbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w11.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.imagesView.ItemActivated += new Gtk.ItemActivatedHandler(this.OnDoubleClick); this.viewButton.Clicked += new System.EventHandler(this.OnViewClick); this.GrabImagesButton.Clicked += new System.EventHandler(this.OnGrabImagesClick); this.openFolderButton.Clicked += new System.EventHandler(this.OnOpenFolderClick); this.buttonRefresh.Clicked += new System.EventHandler(this.OnRefesh); }