protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.AddLocationDialog this.Name = "ocmgtk.AddLocationDialog"; this.Title = Mono.Unix.Catalog.GetString("Add Location..."); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.Role = ""; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.AddLocationDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label1); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.locationwidget1 = new ocmgtk.LocationWidget(); this.locationwidget1.Events = ((Gdk.EventMask)(256)); this.locationwidget1.Name = "locationwidget1"; this.locationwidget1.Latitude = 0; this.locationwidget1.Longitude = 0; this.table1.Add(this.locationwidget1); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.locationwidget1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameEntry = new Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.table1.Add(this.nameEntry); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.nameEntry])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.table1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Internal child ocmgtk.AddLocationDialog.ActionArea Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonCancel])); w7.Expand = false; w7.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w6[this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 351; this.DefaultHeight = 195; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.WaypointDialog this.Name = "ocmgtk.WaypointDialog"; this.Title = Mono.Unix.Catalog.GetString("Add/Edit Waypoint..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.WaypointDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.TopPadding = ((uint)(6)); this.alignment2.RightPadding = ((uint)(12)); // Container child alignment2.Gtk.Container+ContainerChild this.nameEntry = new Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.alignment2.Add(this.nameEntry); this.table1.Add(this.alignment2); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.alignment2])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.alignment3.TopPadding = ((uint)(6)); this.alignment3.RightPadding = ((uint)(12)); // Container child alignment3.Gtk.Container+ContainerChild this.flagEntry = Gtk.ComboBox.NewText(); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Final Location")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Parking Area")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Question To Answer")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Reference Point")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Stages of a Multicache")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Trailhead")); this.flagEntry.AppendText(Mono.Unix.Catalog.GetString("Other")); this.flagEntry.Name = "flagEntry"; this.flagEntry.Active = 0; this.alignment3.Add(this.flagEntry); this.table1.Add(this.alignment3); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.alignment3])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.hseparator1])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.hseparator2])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label1); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Symbol:"); this.table1.Add(this.label5); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.locationWidget = new ocmgtk.LocationWidget(); this.locationWidget.Events = ((Gdk.EventMask)(256)); this.locationWidget.Name = "locationWidget"; this.locationWidget.Latitude = 0; this.locationWidget.Longitude = 0; this.GtkAlignment2.Add(this.locationWidget); this.frame1.Add(this.GtkAlignment2); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Location</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; w1.Add(this.frame1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.frame1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.descriptionEntry = new Gtk.TextView(); this.descriptionEntry.CanFocus = true; this.descriptionEntry.Name = "descriptionEntry"; this.GtkScrolledWindow.Add(this.descriptionEntry); this.GtkAlignment3.Add(this.GtkScrolledWindow); this.frame2.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Description</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; w1.Add(this.frame2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.frame2])); w17.Position = 2; // Internal child ocmgtk.WaypointDialog.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 704; this.DefaultHeight = 473; this.Show(); this.flagEntry.Changed += new System.EventHandler(this.OnSelectionChanged); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ModifyCacheDialog this.WidthRequest = 650; this.HeightRequest = 550; this.Name = "ocmgtk.ModifyCacheDialog"; this.Title = Mono.Unix.Catalog.GetString("Add/Modify Geocache..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child ocmgtk.ModifyCacheDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.TabPos = ((Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.codeEntry = new Gtk.Entry(); this.codeEntry.CanFocus = true; this.codeEntry.Name = "codeEntry"; this.codeEntry.IsEditable = true; this.codeEntry.InvisibleChar = '•'; this.table2.Add(this.codeEntry); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.codeEntry])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.image46 = new Gtk.Image(); this.image46.Name = "image46"; this.image46.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20); this.hbox1.Add(this.image46); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.image46])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.corrButton = new Gtk.Button(); this.corrButton.CanFocus = true; this.corrButton.Name = "corrButton"; this.corrButton.FocusOnClick = false; this.corrButton.Relief = ((Gtk.ReliefStyle)(2)); // Container child corrButton.Gtk.Container+ContainerChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Use <span fgcolor=\"blue\">corrected coordinates</span> to prevent GPX imports from overwriting the cache location"); this.label3.UseMarkup = true; this.corrButton.Add(this.label3); this.corrButton.Label = null; this.hbox1.Add(this.corrButton); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.corrButton])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.coordEntry = new ocmgtk.LocationWidget(); this.coordEntry.Events = ((Gdk.EventMask)(256)); this.coordEntry.Name = "coordEntry"; this.coordEntry.Latitude = 0; this.coordEntry.Longitude = 0; this.vbox2.Add(this.coordEntry); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.coordEntry])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.GtkAlignment2.Add(this.vbox2); this.frame3.Add(this.GtkAlignment2); this.GtkLabel2 = new Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Location</b>"); this.GtkLabel2.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel2; this.table2.Add(this.frame3); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.frame3])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.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.descriptionEntry = new Gtk.TextView(); this.descriptionEntry.CanFocus = true; this.descriptionEntry.Name = "descriptionEntry"; this.GtkScrolledWindow.Add(this.descriptionEntry); this.vbox3.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w12.Position = 0; this.GtkAlignment3.Add(this.vbox3); this.frame4.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Waypoint Description</b>"); this.GtkLabel3.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel3; this.table2.Add(this.frame4); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table2[this.frame4])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("URL:"); this.table2.Add(this.label11); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table2[this.label11])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("URL Name:"); this.table2.Add(this.label12); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.label12])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Cache Type:"); this.table2.Add(this.label7); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.label7])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Cache Code:"); this.table2.Add(this.label8); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.label8])); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.typeEntry = Gtk.ComboBox.NewText(); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Generic")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Traditional Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Unknown Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Multi-Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Earthcache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Eventcache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Letterbox Hybrid")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Project A.P.E Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("GPS Adventures Exhibit")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Locationless Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Virtual Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Webcam Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Wherigo Cache")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Cache In Trash Out Event")); this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Mega Event Cache")); this.typeEntry.Name = "typeEntry"; this.typeEntry.Active = 0; this.table2.Add(this.typeEntry); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.typeEntry])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.urlEntry = new Gtk.Entry(); this.urlEntry.CanFocus = true; this.urlEntry.Name = "urlEntry"; this.urlEntry.IsEditable = true; this.urlEntry.InvisibleChar = '•'; this.table2.Add(this.urlEntry); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.urlEntry])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.urlNameEntry = new Gtk.Entry(); this.urlNameEntry.CanFocus = true; this.urlNameEntry.Name = "urlNameEntry"; this.urlNameEntry.IsEditable = true; this.urlNameEntry.InvisibleChar = '•'; this.table2.Add(this.urlNameEntry); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.urlNameEntry])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table2); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Properties"); this.notebook1.SetTabLabel(this.table2, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table3 = new Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.diffEntry = Gtk.ComboBox.NewText(); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("1")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("1.5")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("2")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("2.5")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("3")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("3.5")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("4")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("4.5")); this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("5")); this.diffEntry.Name = "diffEntry"; this.diffEntry.Active = 0; this.table3.Add(this.diffEntry); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.diffEntry])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.shortDescEntry = new Gtk.TextView(); this.shortDescEntry.CanFocus = true; this.shortDescEntry.Name = "shortDescEntry"; this.shortDescEntry.WrapMode = ((Gtk.WrapMode)(2)); this.GtkScrolledWindow1.Add(this.shortDescEntry); this.GtkAlignment4.Add(this.GtkScrolledWindow1); this.frame5.Add(this.GtkAlignment4); this.GtkLabel4 = new Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Short Description</b>"); this.GtkLabel4.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel4; this.table3.Add(this.frame5); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table3[this.frame5])); w28.TopAttach = ((uint)(4)); w28.BottomAttach = ((uint)(5)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.frame6 = new Gtk.Frame(); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment5 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.GtkScrolledWindow2 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.longDescEntry = new Gtk.TextView(); this.longDescEntry.CanFocus = true; this.longDescEntry.Name = "longDescEntry"; this.longDescEntry.WrapMode = ((Gtk.WrapMode)(2)); this.GtkScrolledWindow2.Add(this.longDescEntry); this.GtkAlignment5.Add(this.GtkScrolledWindow2); this.frame6.Add(this.GtkAlignment5); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Long Description</b>"); this.GtkLabel5.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel5; this.table3.Add(this.frame6); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table3[this.frame6])); w32.TopAttach = ((uint)(5)); w32.BottomAttach = ((uint)(6)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.frame7 = new Gtk.Frame(); this.frame7.Name = "frame7"; this.frame7.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame7.Gtk.Container+ContainerChild this.GtkAlignment6 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.GtkScrolledWindow3 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.hintEntry = new Gtk.TextView(); this.hintEntry.CanFocus = true; this.hintEntry.Name = "hintEntry"; this.hintEntry.WrapMode = ((Gtk.WrapMode)(2)); this.GtkScrolledWindow3.Add(this.hintEntry); this.GtkAlignment6.Add(this.GtkScrolledWindow3); this.frame7.Add(this.GtkAlignment6); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Hint</b>"); this.GtkLabel6.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel6; this.table3.Add(this.frame7); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table3[this.frame7])); w36.TopAttach = ((uint)(3)); w36.BottomAttach = ((uint)(4)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Cache Name:"); this.table3.Add(this.label13); Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table3[this.label13])); w37.XOptions = ((Gtk.AttachOptions)(4)); w37.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Difficulty:"); this.table3.Add(this.label14); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table3[this.label14])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.XOptions = ((Gtk.AttachOptions)(4)); w38.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 0F; this.label15.LabelProp = Mono.Unix.Catalog.GetString("Terrain:"); this.table3.Add(this.label15); Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.label15])); w39.TopAttach = ((uint)(2)); w39.BottomAttach = ((uint)(3)); w39.XOptions = ((Gtk.AttachOptions)(4)); w39.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nameEntry = new Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.table3.Add(this.nameEntry); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.nameEntry])); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.terrEntry = Gtk.ComboBox.NewText(); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("1")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("1.5")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("2")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("2.5")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("3")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("3.5")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("4")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("4.5")); this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("5")); this.terrEntry.Name = "terrEntry"; this.terrEntry.Active = 0; this.table3.Add(this.terrEntry); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.terrEntry])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.XOptions = ((Gtk.AttachOptions)(4)); w41.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table3); Gtk.Notebook.NotebookChild w42 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table3])); w42.Position = 1; // Notebook tab this.name = new Gtk.Label(); this.name.Name = "name"; this.name.LabelProp = Mono.Unix.Catalog.GetString("Paperless Caching Details"); this.notebook1.SetTabLabel(this.table3, this.name); this.name.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.frame8 = new Gtk.Frame(); this.frame8.Name = "frame8"; this.frame8.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame8.Gtk.Container+ContainerChild this.GtkAlignment7 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cacheIDEntry = new Gtk.Entry(); this.cacheIDEntry.CanFocus = true; this.cacheIDEntry.Name = "cacheIDEntry"; this.cacheIDEntry.IsEditable = true; this.cacheIDEntry.InvisibleChar = '•'; this.table1.Add(this.cacheIDEntry); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table1[this.cacheIDEntry])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label19 = new Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 0F; this.label19.LabelProp = Mono.Unix.Catalog.GetString("Owner:"); this.table1.Add(this.label19); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table1[this.label19])); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label20 = new Gtk.Label(); this.label20.Name = "label20"; this.label20.Xalign = 0F; this.label20.LabelProp = Mono.Unix.Catalog.GetString("Owner ID:"); this.table1.Add(this.label20); Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table1[this.label20])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.XOptions = ((Gtk.AttachOptions)(4)); w45.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label21 = new Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 0F; this.label21.LabelProp = Mono.Unix.Catalog.GetString("Placed By:"); this.table1.Add(this.label21); Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table1[this.label21])); w46.TopAttach = ((uint)(2)); w46.BottomAttach = ((uint)(3)); w46.XOptions = ((Gtk.AttachOptions)(4)); w46.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label22 = new Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 0F; this.label22.LabelProp = Mono.Unix.Catalog.GetString("Cache ID:"); this.table1.Add(this.label22); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table1[this.label22])); w47.TopAttach = ((uint)(3)); w47.BottomAttach = ((uint)(4)); w47.XOptions = ((Gtk.AttachOptions)(4)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ownerEntry = new Gtk.Entry(); this.ownerEntry.CanFocus = true; this.ownerEntry.Name = "ownerEntry"; this.ownerEntry.IsEditable = true; this.ownerEntry.InvisibleChar = '•'; this.table1.Add(this.ownerEntry); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table1[this.ownerEntry])); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ownerIDEntry = new Gtk.Entry(); this.ownerIDEntry.CanFocus = true; this.ownerIDEntry.Name = "ownerIDEntry"; this.ownerIDEntry.IsEditable = true; this.ownerIDEntry.InvisibleChar = '•'; this.table1.Add(this.ownerIDEntry); Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table1[this.ownerIDEntry])); w49.TopAttach = ((uint)(1)); w49.BottomAttach = ((uint)(2)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.placedByEntry = new Gtk.Entry(); this.placedByEntry.CanFocus = true; this.placedByEntry.Name = "placedByEntry"; this.placedByEntry.IsEditable = true; this.placedByEntry.InvisibleChar = '•'; this.table1.Add(this.placedByEntry); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table1[this.placedByEntry])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment7.Add(this.table1); this.frame8.Add(this.GtkAlignment7); this.GtkLabel = new Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Owner Details</b>"); this.GtkLabel.UseMarkup = true; this.frame8.LabelWidget = this.GtkLabel; this.vbox4.Add(this.frame8); Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame8])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame9 = new Gtk.Frame(); this.frame9.Name = "frame9"; this.frame9.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame9.Gtk.Container+ContainerChild this.GtkAlignment8 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.table4 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.label23 = new Gtk.Label(); this.label23.Name = "label23"; this.label23.LabelProp = Mono.Unix.Catalog.GetString("User Data 2:"); this.table4.Add(this.label23); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.label23])); w54.TopAttach = ((uint)(1)); w54.BottomAttach = ((uint)(2)); w54.XOptions = ((Gtk.AttachOptions)(4)); w54.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label24 = new Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = Mono.Unix.Catalog.GetString("User Data 3:"); this.table4.Add(this.label24); Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table4[this.label24])); w55.TopAttach = ((uint)(2)); w55.BottomAttach = ((uint)(3)); w55.XOptions = ((Gtk.AttachOptions)(4)); w55.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label25 = new Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = Mono.Unix.Catalog.GetString("User Data 4:"); this.table4.Add(this.label25); Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table4[this.label25])); w56.TopAttach = ((uint)(3)); w56.BottomAttach = ((uint)(4)); w56.XOptions = ((Gtk.AttachOptions)(4)); w56.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("User Data 1:"); this.table4.Add(this.label5); Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table4[this.label5])); w57.XOptions = ((Gtk.AttachOptions)(4)); w57.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.udata1Entry = new Gtk.Entry(); this.udata1Entry.CanFocus = true; this.udata1Entry.Name = "udata1Entry"; this.udata1Entry.IsEditable = true; this.udata1Entry.InvisibleChar = '•'; this.table4.Add(this.udata1Entry); Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table4[this.udata1Entry])); w58.LeftAttach = ((uint)(1)); w58.RightAttach = ((uint)(2)); w58.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.uData2Entry = new Gtk.Entry(); this.uData2Entry.CanFocus = true; this.uData2Entry.Name = "uData2Entry"; this.uData2Entry.IsEditable = true; this.uData2Entry.InvisibleChar = '•'; this.table4.Add(this.uData2Entry); Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table4[this.uData2Entry])); w59.TopAttach = ((uint)(1)); w59.BottomAttach = ((uint)(2)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.uData3Entry = new Gtk.Entry(); this.uData3Entry.CanFocus = true; this.uData3Entry.Name = "uData3Entry"; this.uData3Entry.IsEditable = true; this.uData3Entry.InvisibleChar = '•'; this.table4.Add(this.uData3Entry); Gtk.Table.TableChild w60 = ((Gtk.Table.TableChild)(this.table4[this.uData3Entry])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.uData4Entry = new Gtk.Entry(); this.uData4Entry.CanFocus = true; this.uData4Entry.Name = "uData4Entry"; this.uData4Entry.IsEditable = true; this.uData4Entry.InvisibleChar = '•'; this.table4.Add(this.uData4Entry); Gtk.Table.TableChild w61 = ((Gtk.Table.TableChild)(this.table4[this.uData4Entry])); w61.TopAttach = ((uint)(3)); w61.BottomAttach = ((uint)(4)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment8.Add(this.table4); this.frame9.Add(this.GtkAlignment8); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>User Data</b>"); this.GtkLabel8.UseMarkup = true; this.frame9.LabelWidget = this.GtkLabel8; this.vbox4.Add(this.frame9); Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame9])); w64.Position = 1; w64.Expand = false; w64.Fill = false; this.notebook1.Add(this.vbox4); Gtk.Notebook.NotebookChild w65 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w65.Position = 2; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Other Properties"); this.notebook1.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); w1.Add(this.notebook1); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(w1[this.notebook1])); w66.Position = 0; w66.Padding = ((uint)(6)); // Internal child ocmgtk.ModifyCacheDialog.ActionArea Gtk.HButtonBox w67 = this.ActionArea; w67.Name = "dialog1_ActionArea"; w67.Spacing = 10; w67.BorderWidth = ((uint)(5)); w67.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 w68 = ((Gtk.ButtonBox.ButtonBoxChild)(w67[this.buttonCancel])); w68.Expand = false; w68.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 w69 = ((Gtk.ButtonBox.ButtonBoxChild)(w67[this.buttonOk])); w69.Position = 1; w69.Expand = false; w69.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 808; this.DefaultHeight = 577; this.Show(); this.corrButton.Clicked += new System.EventHandler(this.OnCorrClick); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.CorrectedCoordinatesDlg this.Name = "ocmgtk.CorrectedCoordinatesDlg"; this.Title = Mono.Unix.Catalog.GetString("Corrected Coordinates"); 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.CorrectedCoordinatesDlg.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.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Coodinate:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.origLabel = new Gtk.Label(); this.origLabel.Name = "origLabel"; this.origLabel.Xalign = 0F; this.origLabel.LabelProp = "<unknown>"; this.hbox1.Add(this.origLabel); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.origLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.GtkAlignment3.Add(this.hbox1); this.frame1.Add(this.GtkAlignment3); this.GtkLabel4 = new Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Original Location</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; w1.Add(this.frame1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.frame1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.coordEntry = new ocmgtk.LocationWidget(); this.coordEntry.Events = ((Gdk.EventMask)(256)); this.coordEntry.Name = "coordEntry"; this.coordEntry.Latitude = 0; this.coordEntry.Longitude = 0; this.GtkAlignment4.Add(this.coordEntry); this.frame3.Add(this.GtkAlignment4); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Corrected Location</b>"); this.GtkLabel5.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel5; w1.Add(this.frame3); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.frame3])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Internal child ocmgtk.CorrectedCoordinatesDlg.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.resetButton = new Gtk.Button(); this.resetButton.Sensitive = false; this.resetButton.CanFocus = true; this.resetButton.Name = "resetButton"; this.resetButton.UseUnderline = true; this.resetButton.Label = Mono.Unix.Catalog.GetString("Reset"); w10.Add(this.resetButton); Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.resetButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk])); w13.Position = 2; w13.Expand = false; w13.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 433; this.DefaultHeight = 231; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClick); this.resetButton.Clicked += new System.EventHandler(this.OnResetClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOKClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.Preferences this.WidthRequest = 750; this.Name = "ocmgtk.Preferences"; this.Title = Mono.Unix.Catalog.GetString("Preferences..."); 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.Preferences.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 2; this.notebook1.TabPos = ((Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.coordinateEntry = new ocmgtk.LocationWidget(); this.coordinateEntry.Events = ((Gdk.EventMask)(256)); this.coordinateEntry.Name = "coordinateEntry"; this.coordinateEntry.Latitude = 0; this.coordinateEntry.Longitude = 0; this.GtkAlignment3.Add(this.coordinateEntry); this.frame2.Add(this.GtkAlignment3); this.GtkLabel9 = new Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = Mono.Unix.Catalog.GetString("<b>Home Location</b>"); this.GtkLabel9.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel9; this.table2.Add(this.frame2); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.frame2])); w4.RightAttach = ((uint)(3)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.table8 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table8.Name = "table8"; this.table8.RowSpacing = ((uint)(6)); this.table8.ColumnSpacing = ((uint)(6)); // Container child table8.Gtk.Table+TableChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox2.BorderWidth = ((uint)(6)); // Container child hbox2.Gtk.Box+BoxChild this.image50 = new Gtk.Image(); this.image50.Name = "image50"; this.image50.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20); this.hbox2.Add(this.image50); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.image50])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label25 = new Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = Mono.Unix.Catalog.GetString("Changing or adding an account requires a restart of OCM"); this.hbox2.Add(this.label25); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.label25])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.table8.Add(this.hbox2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table8[this.hbox2])); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label19 = new Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = Mono.Unix.Catalog.GetString("User name or Account ID #2:"); this.table8.Add(this.label19); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table8[this.label19])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = Mono.Unix.Catalog.GetString("User name or Account ID:"); this.table8.Add(this.label2); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table8[this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label23 = new Gtk.Label(); this.label23.Name = "label23"; this.label23.LabelProp = Mono.Unix.Catalog.GetString("User name or Account ID #3:"); this.table8.Add(this.label23); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table8[this.label23])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label24 = new Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = Mono.Unix.Catalog.GetString("User name or Account ID #4:"); this.table8.Add(this.label24); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table8[this.label24])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.memberId = new Gtk.Entry(); this.memberId.CanFocus = true; this.memberId.Name = "memberId"; this.memberId.IsEditable = true; this.memberId.InvisibleChar = '•'; this.table8.Add(this.memberId); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table8[this.memberId])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.memberId2 = new Gtk.Entry(); this.memberId2.CanFocus = true; this.memberId2.Name = "memberId2"; this.memberId2.IsEditable = true; this.memberId2.InvisibleChar = '•'; this.table8.Add(this.memberId2); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table8[this.memberId2])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.memberId3 = new Gtk.Entry(); this.memberId3.CanFocus = true; this.memberId3.Name = "memberId3"; this.memberId3.IsEditable = true; this.memberId3.InvisibleChar = '•'; this.table8.Add(this.memberId3); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table8[this.memberId3])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.memberId4 = new Gtk.Entry(); this.memberId4.CanFocus = true; this.memberId4.Name = "memberId4"; this.memberId4.IsEditable = true; this.memberId4.InvisibleChar = '•'; this.table8.Add(this.memberId4); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table8[this.memberId4])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment4.Add(this.table8); this.frame3.Add(this.GtkAlignment4); this.GtkLabel13 = new Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>Account Information</b>"); this.GtkLabel13.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel13; this.table2.Add(this.frame3); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.frame3])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table2); // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Home/Account"); this.notebook1.SetTabLabel(this.table2, this.label6); this.label6.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table1 = new Gtk.Table(((uint)(7)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button937 = new Gtk.Button(); this.button937.CanFocus = true; this.button937.Name = "button937"; // Container child button937.Gtk.Container+ContainerChild this.image43 = new Gtk.Image(); this.image43.Name = "image43"; this.image43.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Button, 20); this.button937.Add(this.image43); this.button937.Label = null; this.table1.Add(this.button937); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.button937])); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button938 = new Gtk.Button(); this.button938.CanFocus = true; this.button938.Name = "button938"; // Container child button938.Gtk.Container+ContainerChild this.image44 = new Gtk.Image(); this.image44.Name = "image44"; this.image44.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-open", Gtk.IconSize.Button, 20); this.button938.Add(this.image44); this.button938.Label = null; this.table1.Add(this.button938); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.button938])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.dataDirEntry = new Gtk.Entry(); this.dataDirEntry.CanFocus = true; this.dataDirEntry.Name = "dataDirEntry"; this.dataDirEntry.IsEditable = true; this.dataDirEntry.InvisibleChar = '•'; this.table1.Add(this.dataDirEntry); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.dataDirEntry])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.hseparator1])); w25.TopAttach = ((uint)(5)); w25.BottomAttach = ((uint)(6)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.importDirEntry = new Gtk.Entry(); this.importDirEntry.CanFocus = true; this.importDirEntry.Name = "importDirEntry"; this.importDirEntry.IsEditable = true; this.importDirEntry.InvisibleChar = '•'; this.table1.Add(this.importDirEntry); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.importDirEntry])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 0F; this.label15.LabelProp = Mono.Unix.Catalog.GetString("Startup Filter:"); this.table1.Add(this.label15); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.label15])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = Mono.Unix.Catalog.GetString("Database Default Directory:"); this.table1.Add(this.label16); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.label16])); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Import Default Directory:"); this.table1.Add(this.label17); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.label17])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Units:"); this.table1.Add(this.label7); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table1[this.label7])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.startupFilterCombo = Gtk.ComboBox.NewText(); this.startupFilterCombo.Name = "startupFilterCombo"; this.table1.Add(this.startupFilterCombo); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.startupFilterCombo])); w31.TopAttach = ((uint)(2)); w31.BottomAttach = ((uint)(3)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.unitsCombo = Gtk.ComboBox.NewText(); this.unitsCombo.AppendText(Mono.Unix.Catalog.GetString("Metric")); this.unitsCombo.AppendText(Mono.Unix.Catalog.GetString("U.S./Imperial")); this.unitsCombo.Name = "unitsCombo"; this.unitsCombo.Active = 0; this.table1.Add(this.unitsCombo); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table1[this.unitsCombo])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table1); Gtk.Notebook.NotebookChild w33 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table1])); w33.Position = 1; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("General"); this.notebook1.SetTabLabel(this.table1, this.label3); this.label3.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table5 = new Gtk.Table(((uint)(11)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); this.table5.BorderWidth = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.autoCloseCheck = new Gtk.CheckButton(); this.autoCloseCheck.CanFocus = true; this.autoCloseCheck.Name = "autoCloseCheck"; this.autoCloseCheck.Label = Mono.Unix.Catalog.GetString("Don't show import/export summary on completion"); this.autoCloseCheck.DrawIndicator = true; this.autoCloseCheck.UseUnderline = true; this.table5.Add(this.autoCloseCheck); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table5[this.autoCloseCheck])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.RightAttach = ((uint)(2)); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.childLabel = new Gtk.Label(); this.childLabel.Name = "childLabel"; this.childLabel.Xalign = 0F; this.childLabel.LabelProp = Mono.Unix.Catalog.GetString("Child Waypoints:"); this.table5.Add(this.childLabel); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table5[this.childLabel])); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.diffTerrCheck = new Gtk.CheckButton(); this.diffTerrCheck.CanFocus = true; this.diffTerrCheck.Name = "diffTerrCheck"; this.diffTerrCheck.Label = Mono.Unix.Catalog.GetString("Show difficulty/terrain indicators on map"); this.diffTerrCheck.DrawIndicator = true; this.diffTerrCheck.UseUnderline = true; this.table5.Add(this.diffTerrCheck); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table5[this.diffTerrCheck])); w36.TopAttach = ((uint)(6)); w36.BottomAttach = ((uint)(7)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((Gtk.AttachOptions)(4)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.directEntryCheck = new Gtk.CheckButton(); this.directEntryCheck.CanFocus = true; this.directEntryCheck.Name = "directEntryCheck"; this.directEntryCheck.Label = Mono.Unix.Catalog.GetString("Use direct entry mode for coordinates"); this.directEntryCheck.DrawIndicator = true; this.directEntryCheck.UseUnderline = true; this.table5.Add(this.directEntryCheck); Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table5[this.directEntryCheck])); w37.TopAttach = ((uint)(4)); w37.BottomAttach = ((uint)(5)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((Gtk.AttachOptions)(4)); w37.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.dnfCheck = new Gtk.CheckButton(); this.dnfCheck.CanFocus = true; this.dnfCheck.Name = "dnfCheck"; this.dnfCheck.Label = Mono.Unix.Catalog.GetString("Show DNF icon in list and on map"); this.dnfCheck.DrawIndicator = true; this.dnfCheck.UseUnderline = true; this.table5.Add(this.dnfCheck); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table5[this.dnfCheck])); w38.TopAttach = ((uint)(5)); w38.BottomAttach = ((uint)(6)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((Gtk.AttachOptions)(4)); w38.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.solvedPuzzRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Only puzzle cache types with corrected coordinats/final location")); this.solvedPuzzRadio.CanFocus = true; this.solvedPuzzRadio.Name = "solvedPuzzRadio"; this.solvedPuzzRadio.DrawIndicator = true; this.solvedPuzzRadio.UseUnderline = true; this.solvedPuzzRadio.Group = new GLib.SList(System.IntPtr.Zero); this.vbox2.Add(this.solvedPuzzRadio); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox2[this.solvedPuzzRadio])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.solvedAllRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("All caches with corrected coordinates/final location")); this.solvedAllRadio.CanFocus = true; this.solvedAllRadio.Name = "solvedAllRadio"; this.solvedAllRadio.DrawIndicator = true; this.solvedAllRadio.UseUnderline = true; this.solvedAllRadio.Group = this.solvedPuzzRadio.Group; this.vbox2.Add(this.solvedAllRadio); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox2[this.solvedAllRadio])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.solvedNoneRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Never Show")); this.solvedNoneRadio.CanFocus = true; this.solvedNoneRadio.Name = "solvedNoneRadio"; this.solvedNoneRadio.DrawIndicator = true; this.solvedNoneRadio.UseUnderline = true; this.solvedNoneRadio.Group = this.solvedPuzzRadio.Group; this.vbox2.Add(this.solvedNoneRadio); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox2[this.solvedNoneRadio])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.GtkAlignment2.Add(this.vbox2); this.frame1.Add(this.GtkAlignment2); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Solved puzzle icon</b>"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.table5.Add(this.frame1); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table5[this.frame1])); w44.TopAttach = ((uint)(8)); w44.BottomAttach = ((uint)(9)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.staleInterval = new Gtk.Entry(); this.staleInterval.CanFocus = true; this.staleInterval.Name = "staleInterval"; this.staleInterval.Text = Mono.Unix.Catalog.GetString("60"); this.staleInterval.IsEditable = true; this.staleInterval.WidthChars = 4; this.staleInterval.InvisibleChar = '●'; this.hbox4.Add(this.staleInterval); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox4[this.staleInterval])); w45.Position = 0; w45.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.LabelProp = Mono.Unix.Catalog.GetString("days"); this.hbox4.Add(this.label18); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox4[this.label18])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.table5.Add(this.hbox4); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table5[this.hbox4])); w47.TopAttach = ((uint)(9)); w47.BottomAttach = ((uint)(10)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); w47.XOptions = ((Gtk.AttachOptions)(4)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hbox7 = new Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.newCacheEntry = new Gtk.Entry(); this.newCacheEntry.CanFocus = true; this.newCacheEntry.Name = "newCacheEntry"; this.newCacheEntry.Text = Mono.Unix.Catalog.GetString("14"); this.newCacheEntry.IsEditable = true; this.newCacheEntry.WidthChars = 4; this.newCacheEntry.InvisibleChar = '●'; this.hbox7.Add(this.newCacheEntry); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.hbox7[this.newCacheEntry])); w48.Position = 0; w48.Expand = false; // Container child hbox7.Gtk.Box+BoxChild this.label26 = new Gtk.Label(); this.label26.Name = "label26"; this.label26.Xalign = 0F; this.label26.LabelProp = Mono.Unix.Catalog.GetString("days"); this.hbox7.Add(this.label26); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.hbox7[this.label26])); w49.Position = 1; this.table5.Add(this.hbox7); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table5[this.hbox7])); w50.TopAttach = ((uint)(10)); w50.BottomAttach = ((uint)(11)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((Gtk.AttachOptions)(4)); w50.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hseparator3 = new Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.table5.Add(this.hseparator3); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table5[this.hseparator3])); w51.TopAttach = ((uint)(1)); w51.BottomAttach = ((uint)(2)); w51.RightAttach = ((uint)(2)); w51.XOptions = ((Gtk.AttachOptions)(4)); w51.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.mapPopupCheck = new Gtk.CheckButton(); this.mapPopupCheck.CanFocus = true; this.mapPopupCheck.Name = "mapPopupCheck"; this.mapPopupCheck.Label = Mono.Unix.Catalog.GetString("Show Map Popups"); this.mapPopupCheck.DrawIndicator = true; this.mapPopupCheck.UseUnderline = true; this.table5.Add(this.mapPopupCheck); Gtk.Table.TableChild w52 = ((Gtk.Table.TableChild)(this.table5[this.mapPopupCheck])); w52.TopAttach = ((uint)(7)); w52.BottomAttach = ((uint)(8)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((Gtk.AttachOptions)(4)); w52.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.prefixModeCombo = Gtk.ComboBox.NewText(); this.prefixModeCombo.AppendText(Mono.Unix.Catalog.GetString("Prefix with Type (e.g. PKABCD01)")); this.prefixModeCombo.AppendText(Mono.Unix.Catalog.GetString("Use GC name (e.g. GCABCD01)")); this.prefixModeCombo.Name = "prefixModeCombo"; this.prefixModeCombo.Active = 0; this.table5.Add(this.prefixModeCombo); Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table5[this.prefixModeCombo])); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.selectCachesFromMapCheck = new Gtk.CheckButton(); this.selectCachesFromMapCheck.CanFocus = true; this.selectCachesFromMapCheck.Name = "selectCachesFromMapCheck"; this.selectCachesFromMapCheck.Label = Mono.Unix.Catalog.GetString("Automatically select cache when clicked on the map"); this.selectCachesFromMapCheck.DrawIndicator = true; this.selectCachesFromMapCheck.UseUnderline = true; this.table5.Add(this.selectCachesFromMapCheck); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table5[this.selectCachesFromMapCheck])); w54.TopAttach = ((uint)(3)); w54.BottomAttach = ((uint)(4)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((Gtk.AttachOptions)(4)); w54.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.showNewCaches = new Gtk.CheckButton(); this.showNewCaches.CanFocus = true; this.showNewCaches.Name = "showNewCaches"; this.showNewCaches.Label = Mono.Unix.Catalog.GetString("Highlight new caches published within:"); this.showNewCaches.DrawIndicator = true; this.showNewCaches.UseUnderline = true; this.table5.Add(this.showNewCaches); Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table5[this.showNewCaches])); w55.TopAttach = ((uint)(10)); w55.BottomAttach = ((uint)(11)); w55.XOptions = ((Gtk.AttachOptions)(4)); w55.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.staleCheck = new Gtk.CheckButton(); this.staleCheck.CanFocus = true; this.staleCheck.Name = "staleCheck"; this.staleCheck.Label = Mono.Unix.Catalog.GetString("Highlight caches not updated within:"); this.staleCheck.DrawIndicator = true; this.staleCheck.UseUnderline = true; this.table5.Add(this.staleCheck); Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table5[this.staleCheck])); w56.TopAttach = ((uint)(9)); w56.BottomAttach = ((uint)(10)); w56.XOptions = ((Gtk.AttachOptions)(4)); w56.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table5); Gtk.Notebook.NotebookChild w57 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table5])); w57.Position = 2; // Notebook tab this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Behaviour"); this.notebook1.SetTabLabel(this.table5, this.label8); this.label8.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table3 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.childPointCombo = Gtk.ComboBox.NewText(); this.childPointCombo.AppendText(Mono.Unix.Catalog.GetString("Selected Cache Only")); this.childPointCombo.AppendText(Mono.Unix.Catalog.GetString("All Waypoints")); this.childPointCombo.Name = "childPointCombo"; this.childPointCombo.Active = 0; this.table3.Add(this.childPointCombo); Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table3[this.childPointCombo])); w58.TopAttach = ((uint)(1)); w58.BottomAttach = ((uint)(2)); w58.LeftAttach = ((uint)(1)); w58.RightAttach = ((uint)(2)); w58.XOptions = ((Gtk.AttachOptions)(4)); w58.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hseparator6 = new Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.table3.Add(this.hseparator6); Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table3[this.hseparator6])); w59.TopAttach = ((uint)(3)); w59.BottomAttach = ((uint)(4)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((Gtk.AttachOptions)(4)); w59.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Child Waypoints:"); this.table3.Add(this.label12); Gtk.Table.TableChild w60 = ((Gtk.Table.TableChild)(this.table3[this.label12])); w60.TopAttach = ((uint)(1)); w60.BottomAttach = ((uint)(2)); w60.XOptions = ((Gtk.AttachOptions)(4)); w60.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Caches on Map:"); this.table3.Add(this.label13); Gtk.Table.TableChild w61 = ((Gtk.Table.TableChild)(this.table3[this.label13])); w61.TopAttach = ((uint)(2)); w61.BottomAttach = ((uint)(3)); w61.XOptions = ((Gtk.AttachOptions)(4)); w61.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Nearby Caches on Map:"); this.table3.Add(this.label5); Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table3[this.label5])); w62.XOptions = ((Gtk.AttachOptions)(4)); w62.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.mapPointEntry = new Gtk.Entry(); this.mapPointEntry.CanFocus = true; this.mapPointEntry.Name = "mapPointEntry"; this.mapPointEntry.Text = Mono.Unix.Catalog.GetString("100"); this.mapPointEntry.IsEditable = true; this.mapPointEntry.InvisibleChar = '•'; this.table3.Add(this.mapPointEntry); Gtk.Table.TableChild w63 = ((Gtk.Table.TableChild)(this.table3[this.mapPointEntry])); w63.TopAttach = ((uint)(2)); w63.BottomAttach = ((uint)(3)); w63.LeftAttach = ((uint)(1)); w63.RightAttach = ((uint)(2)); w63.XOptions = ((Gtk.AttachOptions)(4)); w63.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.mapsWidget = new ocmgtk.MapSelectionWidget(); this.mapsWidget.Events = ((Gdk.EventMask)(256)); this.mapsWidget.Name = "mapsWidget"; this.table3.Add(this.mapsWidget); Gtk.Table.TableChild w64 = ((Gtk.Table.TableChild)(this.table3[this.mapsWidget])); w64.TopAttach = ((uint)(4)); w64.BottomAttach = ((uint)(5)); w64.RightAttach = ((uint)(2)); w64.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nearbyCombo = Gtk.ComboBox.NewText(); this.nearbyCombo.AppendText(Mono.Unix.Catalog.GetString("Enabled on Startup")); this.nearbyCombo.AppendText(Mono.Unix.Catalog.GetString("Disabled on Startup")); this.nearbyCombo.Name = "nearbyCombo"; this.nearbyCombo.Active = 0; this.table3.Add(this.nearbyCombo); Gtk.Table.TableChild w65 = ((Gtk.Table.TableChild)(this.table3[this.nearbyCombo])); w65.LeftAttach = ((uint)(1)); w65.RightAttach = ((uint)(2)); w65.XOptions = ((Gtk.AttachOptions)(4)); w65.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table3); Gtk.Notebook.NotebookChild w66 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table3])); w66.Position = 3; // Notebook tab this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Map"); this.notebook1.SetTabLabel(this.table3, this.label14); this.label14.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild 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.recenterCheck = new Gtk.CheckButton(); this.recenterCheck.CanFocus = true; this.recenterCheck.Name = "recenterCheck"; this.recenterCheck.Label = Mono.Unix.Catalog.GetString("Continuously Recenter Map"); this.recenterCheck.Active = true; this.recenterCheck.DrawIndicator = true; this.recenterCheck.UseUnderline = true; this.vbox3.Add(this.recenterCheck); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.vbox3[this.recenterCheck])); w67.Position = 0; w67.Expand = false; w67.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label21 = new Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = Mono.Unix.Catalog.GetString("Poll Interval:"); this.hbox3.Add(this.label21); Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.hbox3[this.label21])); w68.Position = 0; w68.Expand = false; w68.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.pollEntry = new Gtk.Entry(); this.pollEntry.CanFocus = true; this.pollEntry.Name = "pollEntry"; this.pollEntry.Text = Mono.Unix.Catalog.GetString("30"); this.pollEntry.IsEditable = true; this.pollEntry.InvisibleChar = '•'; this.hbox3.Add(this.pollEntry); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox3[this.pollEntry])); w69.Position = 1; w69.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.label22 = new Gtk.Label(); this.label22.Name = "label22"; this.label22.LabelProp = Mono.Unix.Catalog.GetString("seconds"); this.hbox3.Add(this.label22); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox3[this.label22])); w70.Position = 2; w70.Expand = false; w70.Fill = false; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w71.Position = 1; w71.Expand = false; w71.Fill = false; this.notebook1.Add(this.vbox3); Gtk.Notebook.NotebookChild w72 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox3])); w72.Position = 4; // Notebook tab this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = Mono.Unix.Catalog.GetString("GPSD"); this.notebook1.SetTabLabel(this.vbox3, this.label11); this.label11.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); this.table4.BorderWidth = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.label20 = new Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = Mono.Unix.Catalog.GetString("days"); this.table4.Add(this.label20); Gtk.Table.TableChild w73 = ((Gtk.Table.TableChild)(this.table4[this.label20])); w73.LeftAttach = ((uint)(2)); w73.RightAttach = ((uint)(3)); w73.XOptions = ((Gtk.AttachOptions)(4)); w73.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.updateCheck = new Gtk.CheckButton(); this.updateCheck.CanFocus = true; this.updateCheck.Name = "updateCheck"; this.updateCheck.Label = Mono.Unix.Catalog.GetString("Check for updates every"); this.updateCheck.Active = true; this.updateCheck.DrawIndicator = true; this.updateCheck.UseUnderline = true; this.table4.Add(this.updateCheck); Gtk.Table.TableChild w74 = ((Gtk.Table.TableChild)(this.table4[this.updateCheck])); w74.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.updateEntry = new Gtk.Entry(); this.updateEntry.CanFocus = true; this.updateEntry.Name = "updateEntry"; this.updateEntry.Text = Mono.Unix.Catalog.GetString("7"); this.updateEntry.IsEditable = true; this.updateEntry.InvisibleChar = '•'; this.updateEntry.Xalign = 1F; this.table4.Add(this.updateEntry); Gtk.Table.TableChild w75 = ((Gtk.Table.TableChild)(this.table4[this.updateEntry])); w75.LeftAttach = ((uint)(1)); w75.RightAttach = ((uint)(2)); w75.YOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table4); Gtk.Notebook.NotebookChild w76 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table4])); w76.Position = 5; // Notebook tab this.updatePane = new Gtk.Label(); this.updatePane.Name = "updatePane"; this.updatePane.LabelProp = Mono.Unix.Catalog.GetString("Update"); this.notebook1.SetTabLabel(this.table4, this.updatePane); this.updatePane.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(6)); // Container child vbox4.Gtk.Box+BoxChild this.logTraceCheck = new Gtk.CheckButton(); this.logTraceCheck.CanFocus = true; this.logTraceCheck.Name = "logTraceCheck"; this.logTraceCheck.Label = Mono.Unix.Catalog.GetString("Enable Trace Log"); this.logTraceCheck.DrawIndicator = true; this.logTraceCheck.UseUnderline = true; this.vbox4.Add(this.logTraceCheck); Gtk.Box.BoxChild w77 = ((Gtk.Box.BoxChild)(this.vbox4[this.logTraceCheck])); w77.Position = 0; w77.Expand = false; w77.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.clearTraceLog = new Gtk.CheckButton(); this.clearTraceLog.Sensitive = false; this.clearTraceLog.CanFocus = true; this.clearTraceLog.Name = "clearTraceLog"; this.clearTraceLog.Label = Mono.Unix.Catalog.GetString("Clear Log on Startup"); this.clearTraceLog.DrawIndicator = true; this.clearTraceLog.UseUnderline = true; this.vbox4.Add(this.clearTraceLog); Gtk.Box.BoxChild w78 = ((Gtk.Box.BoxChild)(this.vbox4[this.clearTraceLog])); w78.Position = 1; w78.Expand = false; w78.Fill = false; this.notebook1.Add(this.vbox4); Gtk.Notebook.NotebookChild w79 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w79.Position = 6; // Notebook tab this.debugPane = new Gtk.Label(); this.debugPane.Name = "debugPane"; this.debugPane.LabelProp = Mono.Unix.Catalog.GetString("Logging"); this.notebook1.SetTabLabel(this.vbox4, this.debugPane); this.debugPane.ShowAll(); w1.Add(this.notebook1); Gtk.Box.BoxChild w80 = ((Gtk.Box.BoxChild)(w1[this.notebook1])); w80.Position = 0; // Internal child ocmgtk.Preferences.ActionArea Gtk.HButtonBox w81 = this.ActionArea; w81.Name = "dialog1_ActionArea"; w81.Spacing = 10; w81.BorderWidth = ((uint)(5)); w81.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 w82 = ((Gtk.ButtonBox.ButtonBoxChild)(w81[this.buttonCancel])); w82.Expand = false; w82.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 w83 = ((Gtk.ButtonBox.ButtonBoxChild)(w81[this.buttonOk])); w83.Position = 1; w83.Expand = false; w83.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 762; this.DefaultHeight = 528; this.buttonOk.HasDefault = true; this.Show(); this.button938.Clicked += new System.EventHandler(this.OnImpDirClicked); this.button937.Clicked += new System.EventHandler(this.OnDBDirClick); this.updateCheck.Toggled += new System.EventHandler(this.OnUpdateCheckToggle); this.logTraceCheck.Toggled += new System.EventHandler(this.OnTraceToggle); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.OCMQueryPage3 Stetic.BinContainer.Attach(this); this.Name = "ocmgtk.OCMQueryPage3"; // Container child ocmgtk.OCMQueryPage3.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.frame6 = new Gtk.Frame(); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.hiddenCheck = new Gtk.CheckButton(); this.hiddenCheck.CanFocus = true; this.hiddenCheck.Name = "hiddenCheck"; this.hiddenCheck.Label = Mono.Unix.Catalog.GetString("Hidden:"); this.hiddenCheck.DrawIndicator = true; this.hiddenCheck.UseUnderline = true; this.table3.Add(this.hiddenCheck); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCheck])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hiddenCombo = Gtk.ComboBox.NewText(); this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or before")); this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or after")); this.hiddenCombo.Sensitive = false; this.hiddenCombo.Name = "hiddenCombo"; this.hiddenCombo.Active = 0; this.table3.Add(this.hiddenCombo); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCombo])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hiddenDateEntry = new ocmgtk.DateWidget(); this.hiddenDateEntry.Sensitive = false; this.hiddenDateEntry.Events = ((Gdk.EventMask)(256)); this.hiddenDateEntry.Name = "hiddenDateEntry"; this.hiddenDateEntry.IncludeTime = false; this.hiddenDateEntry.Date = new System.DateTime(0); this.table3.Add(this.hiddenDateEntry); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.hiddenDateEntry])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.placedAnyRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by anyone")); this.placedAnyRadio.CanFocus = true; this.placedAnyRadio.Name = "placedAnyRadio"; this.placedAnyRadio.Active = true; this.placedAnyRadio.DrawIndicator = true; this.placedAnyRadio.UseUnderline = true; this.placedAnyRadio.Group = new GLib.SList(System.IntPtr.Zero); this.table3.Add(this.placedAnyRadio); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.placedAnyRadio])); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.placedByRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by:")); this.placedByRadio.CanFocus = true; this.placedByRadio.Name = "placedByRadio"; this.placedByRadio.DrawIndicator = true; this.placedByRadio.UseUnderline = true; this.placedByRadio.Group = this.placedAnyRadio.Group; this.table3.Add(this.placedByRadio); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.placedByRadio])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.placedEntry = new Gtk.Entry(); this.placedEntry.Sensitive = false; this.placedEntry.CanFocus = true; this.placedEntry.Name = "placedEntry"; this.placedEntry.IsEditable = true; this.placedEntry.InvisibleChar = '•'; this.table3.Add(this.placedEntry); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table3[this.placedEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(3)); w6.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment3.Add(this.table3); this.frame6.Add(this.GtkAlignment3); this.GtkLabel14 = new Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Placement</b>"); this.GtkLabel14.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel14; this.vbox2.Add(this.frame6); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame6])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.countryCheck = new Gtk.CheckButton(); this.countryCheck.CanFocus = true; this.countryCheck.Name = "countryCheck"; this.countryCheck.Label = Mono.Unix.Catalog.GetString("Country:"); this.countryCheck.DrawIndicator = true; this.countryCheck.UseUnderline = true; this.table1.Add(this.countryCheck); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.countryCheck])); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.countryEntry = new Gtk.Entry(); this.countryEntry.Sensitive = false; this.countryEntry.CanFocus = true; this.countryEntry.Name = "countryEntry"; this.countryEntry.IsEditable = true; this.countryEntry.InvisibleChar = '•'; this.table1.Add(this.countryEntry); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.countryEntry])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.distCheck = new Gtk.CheckButton(); this.distCheck.CanFocus = true; this.distCheck.Name = "distCheck"; this.distCheck.Label = Mono.Unix.Catalog.GetString("Distance is:"); this.distCheck.DrawIndicator = true; this.distCheck.UseUnderline = true; this.table1.Add(this.distCheck); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.distCheck])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.distFrame = new Gtk.Frame(); this.distFrame.Sensitive = false; this.distFrame.Name = "distFrame"; this.distFrame.ShadowType = ((Gtk.ShadowType)(1)); // Container child distFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.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.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.distCombo = Gtk.ComboBox.NewText(); this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Less than")); this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Greater than")); this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Equal to")); this.distCombo.Name = "distCombo"; this.distCombo.Active = 0; this.hbox2.Add(this.distCombo); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.distCombo])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.distEntry = new Gtk.Entry(); this.distEntry.CanFocus = true; this.distEntry.Name = "distEntry"; this.distEntry.IsEditable = true; this.distEntry.InvisibleChar = '•'; this.hbox2.Add(this.distEntry); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.distEntry])); w14.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.distMeasureLabel = new Gtk.Label(); this.distMeasureLabel.Name = "distMeasureLabel"; this.distMeasureLabel.LabelProp = Mono.Unix.Catalog.GetString("km"); this.hbox2.Add(this.distMeasureLabel); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.distMeasureLabel])); w15.Position = 2; w15.Expand = false; this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.radiobutton1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From current centre point")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new GLib.SList(System.IntPtr.Zero); this.vbox3.Add(this.radiobutton1); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.radiobutton1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.locRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From location:")); this.locRadio.CanFocus = true; this.locRadio.Name = "locRadio"; this.locRadio.DrawIndicator = true; this.locRadio.UseUnderline = true; this.locRadio.Group = this.radiobutton1.Group; this.hbox3.Add(this.locRadio); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.locRadio])); w18.Position = 0; w18.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.locationCombo = Gtk.ComboBox.NewText(); this.locationCombo.Sensitive = false; this.locationCombo.Name = "locationCombo"; this.hbox3.Add(this.locationCombo); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox3[this.locationCombo])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.posRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From position:")); this.posRadio.CanFocus = true; this.posRadio.Name = "posRadio"; this.posRadio.DrawIndicator = true; this.posRadio.UseUnderline = true; this.posRadio.Group = this.radiobutton1.Group; this.hbox4.Add(this.posRadio); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox4[this.posRadio])); w21.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.posLocation = new ocmgtk.LocationWidget(); this.posLocation.Sensitive = false; this.posLocation.Events = ((Gdk.EventMask)(256)); this.posLocation.Name = "posLocation"; this.posLocation.Latitude = 0; this.posLocation.Longitude = 0; this.hbox4.Add(this.posLocation); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox4[this.posLocation])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.vbox3.Add(this.hbox4); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.GtkAlignment1.Add(this.vbox3); this.distFrame.Add(this.GtkAlignment1); this.table1.Add(this.distFrame); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.distFrame])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.stateCheck = new Gtk.CheckButton(); this.stateCheck.CanFocus = true; this.stateCheck.Name = "stateCheck"; this.stateCheck.Label = Mono.Unix.Catalog.GetString("State or province:"); this.stateCheck.DrawIndicator = true; this.stateCheck.UseUnderline = true; this.table1.Add(this.stateCheck); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.stateCheck])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.stateEntry = new Gtk.Entry(); this.stateEntry.Sensitive = false; this.stateEntry.CanFocus = true; this.stateEntry.Name = "stateEntry"; this.stateEntry.IsEditable = true; this.stateEntry.InvisibleChar = '•'; this.table1.Add(this.stateEntry); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.stateEntry])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table1); this.frame1.Add(this.GtkAlignment); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Location</b>"); this.GtkLabel8.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel8; this.vbox2.Add(this.frame1); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.placedByRadio.Toggled += new System.EventHandler(this.OnPlacedByToggle); this.hiddenCheck.Toggled += new System.EventHandler(this.OnHiddenToggle); this.stateCheck.Toggled += new System.EventHandler(this.OnStateCheckToggle); this.locRadio.Toggled += new System.EventHandler(this.OnLocationToggle); this.posRadio.Toggled += new System.EventHandler(this.OnPositionToggle); this.distCheck.Toggled += new System.EventHandler(this.OnDistanceToggle); this.countryCheck.Toggled += new System.EventHandler(this.OnCountryToggle); }