protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Monodoc.Editor.OpenDocDialog this.Name = "Monodoc.Editor.OpenDocDialog"; this.Title = Mono.Unix.Catalog.GetString("File to Open"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Monodoc.Editor.OpenDocDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.openFileDialog = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.openFileDialog.Name = "openFileDialog"; w1.Add(this.openFileDialog); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.openFileDialog])); w2.Position = 0; // Internal child Monodoc.Editor.OpenDocDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-open"; w3.Add(this.buttonOk); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 629; this.DefaultHeight = 448; this.Show(); this.openFileDialog.FileActivated += new System.EventHandler(this.OnOpenFileDialogFileActivated); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.AddPathDialog this.Name = "CBinding.AddPathDialog"; this.Title = Mono.Unix.Catalog.GetString("Add Path"); this.Modal = true; // Internal child CBinding.AddPathDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.file_chooser_widget = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.file_chooser_widget.Name = "file_chooser_widget"; this.file_chooser_widget.ShowHidden = true; w1.Add(this.file_chooser_widget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.file_chooser_widget])); w2.Position = 0; // Internal child CBinding.AddPathDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 649; this.DefaultHeight = 436; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelButtonClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOkButtonClick); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget Monodoc.Editor.SaveDocDialog this.Name = "Monodoc.Editor.SaveDocDialog"; this.Title = Mono.Unix.Catalog.GetString("Save as..."); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child Monodoc.Editor.SaveDocDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.saveFileDialog = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1))); this.saveFileDialog.Name = "saveFileDialog"; w1.Add(this.saveFileDialog); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.saveFileDialog])); w2.Position = 0; // Internal child Monodoc.Editor.SaveDocDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-save"; w3.Add(this.buttonOk); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 703; this.DefaultHeight = 178; this.Show(); this.saveFileDialog.FileActivated += new System.EventHandler(this.OnSaveFileDialogFileActivated); this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.AddPathDialog this.Name = "CBinding.AddPathDialog"; this.Title = Mono.Unix.Catalog.GetString("Add Path"); this.Modal = true; // Internal child CBinding.AddPathDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.file_chooser_widget = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.file_chooser_widget.Name = "file_chooser_widget"; this.file_chooser_widget.ShowHidden = true; w1.Add(this.file_chooser_widget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.file_chooser_widget])); w2.Position = 0; // Internal child CBinding.AddPathDialog.ActionArea Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w5 = ((Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 649; this.DefaultHeight = 436; this.Show(); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelButtonClick); this.buttonOk.Clicked += new System.EventHandler(this.OnOkButtonClick); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget HGDGTK.MainWindow this.Name = "HGDGTK.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child HGDGTK.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.BorderWidth = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.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("Now Playing:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.hbox1.Add(this.label2); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.FocusOnClick = false; this.button1.Label = Mono.Unix.Catalog.GetString("Crap Song!"); this.hbox1.Add(this.button1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 495; // Container child hpaned1.Gtk.Paned+PanedChild this.filepane = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.filepane.Name = "filepane"; this.filepane.LocalOnly = false; this.filepane.SelectMultiple = true; this.filepane.DoOverwriteConfirmation = true; this.hpaned1.Add(this.filepane); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.filepane])); w6.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.playlist = new Gtk.NodeView(); this.playlist.CanFocus = true; this.playlist.Name = "playlist"; this.GtkScrolledWindow2.Add(this.playlist); this.hpaned1.Add(this.GtkScrolledWindow2); this.vbox1.Add(this.hpaned1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w9.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w10.PackType = ((Gtk.PackType)(1)); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 816; this.DefaultHeight = 643; this.Show(); this.playlist.DragEnd += new Gtk.DragEndHandler(this.OnNodeview1DragEnd); this.playlist.DragDrop += new Gtk.DragDropHandler(this.OnNodeview1DragDrop); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ExportGPXDialog this.WidthRequest = 750; this.HeightRequest = 500; this.Name = "ocmgtk.ExportGPXDialog"; this.Title = Mono.Unix.Catalog.GetString("Export GPX..."); 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.ExportGPXDialog.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 = 1; this.notebook1.TabPos = ((Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.BorderWidth = ((uint)(6)); // Container child alignment1.Gtk.Container+ContainerChild this.fileChooser = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1))); this.fileChooser.Name = "fileChooser"; this.fileChooser.DoOverwriteConfirmation = true; this.alignment1.Add(this.fileChooser); this.notebook1.Add(this.alignment1); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("File"); this.notebook1.SetTabLabel(this.alignment1, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(0)); this.frame4.BorderWidth = ((uint)(6)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment15 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment15.Name = "GtkAlignment15"; this.GtkAlignment15.LeftPadding = ((uint)(12)); // Container child GtkAlignment15.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.limitCheck = new Gtk.CheckButton(); this.limitCheck.CanFocus = true; this.limitCheck.Name = "limitCheck"; this.limitCheck.Label = Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCheck.DrawIndicator = true; this.limitCheck.UseUnderline = true; this.hbox1.Add(this.limitCheck); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitCheck])); w4.Position = 0; w4.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.limitEntry = new Gtk.Entry(); this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = "1000"; this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '•'; this.hbox1.Add(this.limitEntry); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitEntry])); w5.Position = 1; this.vbox5.Add(this.hbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.includeChildrenCheck = new Gtk.CheckButton(); this.includeChildrenCheck.CanFocus = true; this.includeChildrenCheck.Name = "includeChildrenCheck"; this.includeChildrenCheck.Label = Mono.Unix.Catalog.GetString("Include Child Waypoints"); this.includeChildrenCheck.Active = true; this.includeChildrenCheck.DrawIndicator = true; this.includeChildrenCheck.UseUnderline = true; this.vbox5.Add(this.includeChildrenCheck); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox5[this.includeChildrenCheck])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.exportPaperlessDetails = new Gtk.CheckButton(); this.exportPaperlessDetails.CanFocus = true; this.exportPaperlessDetails.Name = "exportPaperlessDetails"; this.exportPaperlessDetails.Label = Mono.Unix.Catalog.GetString("Export Paperless Caching Details"); this.exportPaperlessDetails.Active = true; this.exportPaperlessDetails.DrawIndicator = true; this.exportPaperlessDetails.UseUnderline = true; this.vbox5.Add(this.exportPaperlessDetails); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox5[this.exportPaperlessDetails])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = Mono.Unix.Catalog.GetString("Export Extra Fields in GPX"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox5.Add(this.checkbutton1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox5[this.checkbutton1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.customSymbolsCheck = new Gtk.CheckButton(); this.customSymbolsCheck.CanFocus = true; this.customSymbolsCheck.Name = "customSymbolsCheck"; this.customSymbolsCheck.Label = Mono.Unix.Catalog.GetString("Use Custom Waypoint Symbols"); this.customSymbolsCheck.DrawIndicator = true; this.customSymbolsCheck.UseUnderline = true; this.vbox5.Add(this.customSymbolsCheck); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox5[this.customSymbolsCheck])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.GtkAlignment15.Add(this.vbox5); this.frame4.Add(this.GtkAlignment15); this.GtkLabel25 = new Gtk.Label(); this.GtkLabel25.Name = "GtkLabel25"; this.GtkLabel25.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel25.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel25; this.vbox4.Add(this.frame4); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.paperlessFrame = new Gtk.Frame(); this.paperlessFrame.Name = "paperlessFrame"; this.paperlessFrame.ShadowType = ((Gtk.ShadowType)(0)); // Container child paperlessFrame.Gtk.Container+ContainerChild this.GtkAlignment12 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment12.Name = "GtkAlignment12"; this.GtkAlignment12.LeftPadding = ((uint)(12)); // Container child GtkAlignment12.Gtk.Container+ContainerChild this.table5 = new Gtk.Table(((uint)(3)), ((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.attrCheck = new Gtk.CheckButton(); this.attrCheck.CanFocus = true; this.attrCheck.Name = "attrCheck"; this.attrCheck.Label = Mono.Unix.Catalog.GetString("Include Attributes in Description"); this.attrCheck.DrawIndicator = true; this.attrCheck.UseUnderline = true; this.table5.Add(this.attrCheck); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table5[this.attrCheck])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitCheck = new Gtk.CheckButton(); this.logLimitCheck.CanFocus = true; this.logLimitCheck.Name = "logLimitCheck"; this.logLimitCheck.Label = Mono.Unix.Catalog.GetString("Limit Number of Logs"); this.logLimitCheck.DrawIndicator = true; this.logLimitCheck.UseUnderline = true; this.table5.Add(this.logLimitCheck); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.logLimitCheck])); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitEntry = new Gtk.Entry(); this.logLimitEntry.Sensitive = false; this.logLimitEntry.CanFocus = true; this.logLimitEntry.Name = "logLimitEntry"; this.logLimitEntry.Text = Mono.Unix.Catalog.GetString("5"); this.logLimitEntry.IsEditable = true; this.logLimitEntry.InvisibleChar = '•'; this.table5.Add(this.logLimitEntry); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.logLimitEntry])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.usePlainTextCheck = new Gtk.CheckButton(); this.usePlainTextCheck.CanFocus = true; this.usePlainTextCheck.Name = "usePlainTextCheck"; this.usePlainTextCheck.Label = Mono.Unix.Catalog.GetString("Convert HTML to Plain Text"); this.usePlainTextCheck.DrawIndicator = true; this.usePlainTextCheck.UseUnderline = true; this.table5.Add(this.usePlainTextCheck); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table5[this.usePlainTextCheck])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment12.Add(this.table5); this.paperlessFrame.Add(this.GtkAlignment12); this.GtkLabel20 = new Gtk.Label(); this.GtkLabel20.Name = "GtkLabel20"; this.GtkLabel20.LabelProp = Mono.Unix.Catalog.GetString("<b>Paperless Options</b>"); this.GtkLabel20.UseMarkup = true; this.paperlessFrame.LabelWidget = this.GtkLabel20; this.vbox4.Add(this.paperlessFrame); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox4[this.paperlessFrame])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.waypointFrame = new Gtk.Frame(); this.waypointFrame.Name = "waypointFrame"; this.waypointFrame.ShadowType = ((Gtk.ShadowType)(0)); // Container child waypointFrame.Gtk.Container+ContainerChild this.GtkAlignment11 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment11.Name = "GtkAlignment11"; this.GtkAlignment11.LeftPadding = ((uint)(12)); // Container child GtkAlignment11.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(2)), ((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.descMode = Gtk.ComboBox.NewText(); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descMode.Name = "descMode"; this.descMode.Active = 0; this.table3.Add(this.descMode); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table3[this.descMode])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Name Format:"); this.table3.Add(this.label1); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table3[this.label1])); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.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("Waypoint Description Format:"); this.table3.Add(this.label5); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table3[this.label5])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nameMode = Gtk.ComboBox.NewText(); this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code")); this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.nameMode.Name = "nameMode"; this.nameMode.Active = 0; this.table3.Add(this.nameMode); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.nameMode])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment11.Add(this.table3); this.waypointFrame.Add(this.GtkAlignment11); this.GtkLabel21 = new Gtk.Label(); this.GtkLabel21.Name = "GtkLabel21"; this.GtkLabel21.LabelProp = Mono.Unix.Catalog.GetString("<b>Waypoint Options</b>"); this.GtkLabel21.UseMarkup = true; this.waypointFrame.LabelWidget = this.GtkLabel21; this.vbox4.Add(this.waypointFrame); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.waypointFrame])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.notebook1.Add(this.vbox4); Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w28.Position = 1; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.notebook1.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.waypointSymbolWidget = new ocmgtk.WaypointOverrideWidget(); this.waypointSymbolWidget.Events = ((Gdk.EventMask)(256)); this.waypointSymbolWidget.Name = "waypointSymbolWidget"; this.notebook1.Add(this.waypointSymbolWidget); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.waypointSymbolWidget])); w29.Position = 2; // Notebook tab this.symbolsPage = new Gtk.Label(); this.symbolsPage.Name = "symbolsPage"; this.symbolsPage.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Symbols"); this.notebook1.SetTabLabel(this.waypointSymbolWidget, this.symbolsPage); this.symbolsPage.ShowAll(); w1.Add(this.notebook1); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook1])); w30.Position = 0; // Internal child ocmgtk.ExportGPXDialog.ActionArea Gtk.HButtonBox w31 = this.ActionArea; w31.Name = "dialog1_ActionArea"; w31.Spacing = 10; w31.BorderWidth = ((uint)(5)); w31.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 w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel])); w32.Expand = false; w32.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 w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk])); w33.Position = 1; w33.Expand = false; w33.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 762; this.DefaultHeight = 527; this.Show(); this.limitCheck.Toggled += new System.EventHandler(this.OnLimitToggle); this.exportPaperlessDetails.Toggled += new System.EventHandler(this.OnPaperlessToggle); this.logLimitCheck.Toggled += new System.EventHandler(this.OnLogLimitToggle); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget HGDGTK.MainWindow this.Name = "HGDGTK.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child HGDGTK.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.BorderWidth = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.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("Now Playing:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.hbox1.Add(this.label2); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.FocusOnClick = false; this.button1.Label = Mono.Unix.Catalog.GetString("Crap Song!"); this.hbox1.Add(this.button1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 495; // Container child hpaned1.Gtk.Paned+PanedChild this.filepane = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.filepane.Name = "filepane"; this.filepane.LocalOnly = false; this.filepane.SelectMultiple = true; this.filepane.DoOverwriteConfirmation = true; this.hpaned1.Add(this.filepane); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.filepane])); w6.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.playlist = new Gtk.NodeView(); this.playlist.CanFocus = true; this.playlist.Name = "playlist"; this.GtkScrolledWindow2.Add(this.playlist); this.hpaned1.Add(this.GtkScrolledWindow2); this.vbox1.Add(this.hpaned1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w9.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w10.PackType = ((Gtk.PackType)(1)); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 816; this.DefaultHeight = 643; this.Show(); this.playlist.DragEnd += new Gtk.DragEndHandler(this.OnNodeview1DragEnd); this.playlist.DragDrop += new Gtk.DragDropHandler(this.OnNodeview1DragDrop); }
public static void Build(object obj, string id) { System.Collections.Hashtable bindings = new System.Collections.Hashtable(); if ((id == "igaeditorgtk.MainForm")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget igaeditorgtk.MainForm cobj.Title = "IGA Ad Cache Editor (GTK) by micolous"; Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); Gtk.Action w3 = new Gtk.Action("Application", "_Application", null, null); w3.ShortLabel = "_Application"; bindings["Application"] = w3; w2.Add(w3, null); Gtk.Action w4 = new Gtk.Action("ImportAdpack", "_Import Adpack", null, null); w4.ShortLabel = "_Import Adpack"; bindings["ImportAdpack"] = w4; w2.Add(w4, null); Gtk.Action w5 = new Gtk.Action("ExportAdpack", "_Export Adpack", null, null); w5.ShortLabel = "_Export Adpack"; bindings["ExportAdpack"] = w5; w2.Add(w5, null); Gtk.Action w6 = new Gtk.Action("", "-", null, null); w6.ShortLabel = "-"; bindings[""] = w6; w2.Add(w6, null); Gtk.Action w7 = new Gtk.Action("Reload", "_Reload", null, "gtk-refresh"); w7.ShortLabel = "_Reload"; bindings["Reload"] = w7; w2.Add(w7, null); Gtk.Action w8 = new Gtk.Action("VaccumShrinkDatabase", "_Vaccum/Shrink Database", null, null); w8.ShortLabel = "_Vaccum/Shrink Database"; bindings["VaccumShrinkDatabase"] = w8; w2.Add(w8, null); Gtk.Action w9 = new Gtk.Action("CloseDatabase", "_Close Database", null, "gtk-close"); w9.ShortLabel = "_Close Database"; bindings["CloseDatabase"] = w9; w2.Add(w9, null); Gtk.Action w10 = new Gtk.Action("Exit", "E_xit", null, "gtk-quit"); w10.ShortLabel = "E_xit"; bindings["Exit"] = w10; w2.Add(w10, null); Gtk.Action w11 = new Gtk.Action("Debug", "_Debug", null, null); w11.ShortLabel = "_Debug"; bindings["Debug"] = w11; w2.Add(w11, null); Gtk.Action w12 = new Gtk.Action("Help", "_Help", null, null); w12.ShortLabel = "_Help"; bindings["Help"] = w12; w2.Add(w12, null); Gtk.Action w13 = new Gtk.Action("About", "_About", null, "gtk-about"); w13.ShortLabel = "_About"; bindings["About"] = w13; w2.Add(w13, null); Gtk.Action w14 = new Gtk.Action("ExecuteSQL", "_Execute SQL", null, null); w14.ShortLabel = "_Execute SQL"; bindings["ExecuteSQL"] = w14; w2.Add(w14, null); w1.InsertActionGroup(w2, 0); cobj.AddAccelGroup(w1.AccelGroup); cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "igaeditorgtk.MainForm"; // Container child igaeditorgtk.MainForm.Gtk.Container+ContainerChild Gtk.VBox w15 = new Gtk.VBox(); w15.Events = ((Gdk.EventMask)(0)); w15.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='Application'><menuitem action='ImportAdpack'/><menuitem action='ExportAdpack'/><separator/><menuitem action='Reload'/><menuitem action='VaccumShrinkDatabase'/><menuitem action='CloseDatabase'/><separator/><menuitem action='Exit'/></menu><menu action='Debug'><menuitem action='ExecuteSQL'/></menu><menu action='Help'><menuitem action='About'/><separator/></menu></menubar></ui>"); Gtk.MenuBar w16 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1"))); w16.Events = ((Gdk.EventMask)(0)); w16.Name = "menubar1"; bindings["menubar1"] = w16; w15.Add(w16); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w15[w16])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.Frame w18 = new Gtk.Frame(); w18.ShadowType = ((Gtk.ShadowType)(0)); w18.LabelXalign = 0F; w18.Events = ((Gdk.EventMask)(0)); w18.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild Gtk.Alignment w19 = new Gtk.Alignment(0F, 0F, 1F, 1F); w19.LeftPadding = ((uint)(12)); w19.Events = ((Gdk.EventMask)(0)); w19.Name = "GtkAlignment6"; // Container child GtkAlignment6.Gtk.Container+ContainerChild Gtk.ScrolledWindow w20 = new Gtk.ScrolledWindow(); w20.VscrollbarPolicy = ((Gtk.PolicyType)(1)); w20.HscrollbarPolicy = ((Gtk.PolicyType)(2)); w20.CanFocus = true; w20.Events = ((Gdk.EventMask)(0)); w20.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.TreeView w21 = new Gtk.TreeView(); w21.EnableSearch = false; w21.CanFocus = true; w21.Events = ((Gdk.EventMask)(0)); w21.Name = "RecordTreeView"; bindings["RecordTreeView"] = w21; w20.Add(w21); bindings["scrolledwindow1"] = w20; w19.Add(w20); bindings["GtkAlignment6"] = w19; w18.Add(w19); Gtk.Label w25 = new Gtk.Label(); w25.LabelProp = "<b>frame1</b>"; w25.UseMarkup = true; w25.Events = ((Gdk.EventMask)(256)); w25.Name = "DatabaseTitleLabel"; bindings["DatabaseTitleLabel"] = w25; w18.LabelWidget = w25; bindings["frame1"] = w18; w15.Add(w18); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(w15[w18])); w26.Position = 1; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w27 = new Gtk.HBox(); w27.Events = ((Gdk.EventMask)(0)); w27.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w28 = new Gtk.Button(); w28.UseStock = true; w28.UseUnderline = true; w28.CanFocus = true; w28.Events = ((Gdk.EventMask)(0)); w28.Name = "AddRecordButton"; w28.Label = "gtk-add"; bindings["AddRecordButton"] = w28; w27.Add(w28); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(w27[w28])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w30 = new Gtk.Button(); w30.UseStock = true; w30.UseUnderline = true; w30.CanFocus = true; w30.Events = ((Gdk.EventMask)(0)); w30.Name = "EditRecordButton"; w30.Label = "gtk-properties"; bindings["EditRecordButton"] = w30; w27.Add(w30); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(w27[w30])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w32 = new Gtk.Button(); w32.UseStock = true; w32.UseUnderline = true; w32.CanFocus = true; w32.Events = ((Gdk.EventMask)(0)); w32.Name = "DeleteRecordButton"; w32.Label = "gtk-remove"; bindings["DeleteRecordButton"] = w32; w27.Add(w32); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(w27[w32])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Alignment w34 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); w34.Events = ((Gdk.EventMask)(0)); w34.Name = "alignment4"; bindings["alignment4"] = w34; w27.Add(w34); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(w27[w34])); w35.Position = 3; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w36 = new Gtk.Button(); w36.UseUnderline = true; w36.CanFocus = true; w36.Events = ((Gdk.EventMask)(0)); w36.Name = "PreviewImageButton"; // Container child PreviewImageButton.Gtk.Container+ContainerChild Gtk.Alignment w37 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w37.Events = ((Gdk.EventMask)(0)); w37.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w38 = new Gtk.HBox(); w38.Spacing = 2; w38.Events = ((Gdk.EventMask)(0)); w38.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w39 = new Gtk.Image(); w39.Pixbuf = Gtk.IconTheme.Default.LoadIcon("stock_zoom", 20, 0); w39.Events = ((Gdk.EventMask)(0)); w39.Name = "image1"; bindings["image1"] = w39; w38.Add(w39); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w41 = new Gtk.Label(); w41.LabelProp = "_Preview"; w41.UseUnderline = true; w41.Events = ((Gdk.EventMask)(0)); w41.Name = "GtkLabel"; bindings["GtkLabel"] = w41; w38.Add(w41); bindings["GtkHBox"] = w38; w37.Add(w38); bindings["GtkAlignment"] = w37; w36.Add(w37); bindings["PreviewImageButton"] = w36; w27.Add(w36); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w27[w36])); w45.Position = 4; w45.Expand = false; w45.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w46 = new Gtk.Button(); w46.UseUnderline = true; w46.CanFocus = true; w46.Events = ((Gdk.EventMask)(0)); w46.Name = "ImportImageButton"; // Container child ImportImageButton.Gtk.Container+ContainerChild Gtk.Alignment w47 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w47.Events = ((Gdk.EventMask)(0)); w47.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w48 = new Gtk.HBox(); w48.Spacing = 2; w48.Events = ((Gdk.EventMask)(0)); w48.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w49 = new Gtk.Image(); w49.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-open", 16, 0); w49.Events = ((Gdk.EventMask)(0)); w49.Name = "image2"; bindings["image2"] = w49; w48.Add(w49); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w51 = new Gtk.Label(); w51.LabelProp = "_Import"; w51.UseUnderline = true; w51.Events = ((Gdk.EventMask)(0)); w51.Name = "GtkLabel"; bindings["GtkLabel"] = w51; w48.Add(w51); bindings["GtkHBox"] = w48; w47.Add(w48); bindings["GtkAlignment"] = w47; w46.Add(w47); bindings["ImportImageButton"] = w46; w27.Add(w46); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(w27[w46])); w55.Position = 5; w55.Expand = false; w55.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Button w56 = new Gtk.Button(); w56.UseUnderline = true; w56.CanFocus = true; w56.Events = ((Gdk.EventMask)(0)); w56.Name = "button16"; // Container child button16.Gtk.Container+ContainerChild Gtk.Alignment w57 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); w57.Events = ((Gdk.EventMask)(0)); w57.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w58 = new Gtk.HBox(); w58.Spacing = 2; w58.Events = ((Gdk.EventMask)(0)); w58.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w59 = new Gtk.Image(); w59.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-save-as", 16, 0); w59.Events = ((Gdk.EventMask)(0)); w59.Name = "image3"; bindings["image3"] = w59; w58.Add(w59); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w61 = new Gtk.Label(); w61.LabelProp = "_Export"; w61.UseUnderline = true; w61.Events = ((Gdk.EventMask)(0)); w61.Name = "GtkLabel"; bindings["GtkLabel"] = w61; w58.Add(w61); bindings["GtkHBox"] = w58; w57.Add(w58); bindings["GtkAlignment"] = w57; w56.Add(w57); bindings["button16"] = w56; w27.Add(w56); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(w27[w56])); w65.Position = 6; w65.Expand = false; w65.Fill = false; bindings["hbox1"] = w27; w15.Add(w27); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(w15[w27])); w66.Position = 2; w66.Expand = false; w66.Fill = false; bindings["vbox1"] = w15; cobj.Add(w15); cobj.DefaultWidth = 566; cobj.DefaultHeight = 300; bindings["igaeditorgtk.MainForm"] = cobj; w16.Show(); w21.Show(); w20.Show(); w19.Show(); w25.Show(); w18.Show(); w28.Show(); w30.Show(); w32.Show(); w34.Show(); w39.Show(); w41.Show(); w38.Show(); w37.Show(); w36.Show(); w49.Show(); w51.Show(); w48.Show(); w47.Show(); w46.Show(); w59.Show(); w61.Show(); w58.Show(); w57.Show(); w56.Show(); w27.Show(); w15.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w7.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnReloadActivated"))); w8.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnVaccumShrinkDatabaseActivated"))); w9.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnCloseDatabaseActivated"))); w10.Activated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnExitActivated"))); w36.Pressed += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnPreviewImageButtonPressed"))); } else { if ((id == "igaeditorgtk.OpenWindow")) { Gtk.Window cobj = ((Gtk.Window)(obj)); // Widget igaeditorgtk.OpenWindow cobj.Title = "IGA Ad Cache Editor (GTK) by micolous"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.Events = ((Gdk.EventMask)(0)); cobj.Name = "igaeditorgtk.OpenWindow"; // Container child igaeditorgtk.OpenWindow.Gtk.Container+ContainerChild Gtk.VBox w1 = new Gtk.VBox(); w1.Events = ((Gdk.EventMask)(0)); w1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.Label w2 = new Gtk.Label(); w2.LabelProp = "Welcome to IGA Ad Cache Editor.\n\nPlease select the ad cache file to open, otherwise known as \"icontent.cache\"."; w2.Wrap = true; w2.Justify = ((Gtk.Justification)(3)); w2.Events = ((Gdk.EventMask)(0)); w2.Name = "label1"; bindings["label1"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.FileChooserWidget w4 = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); w4.Events = ((Gdk.EventMask)(0)); w4.Name = "FileChooserControl"; bindings["FileChooserControl"] = w4; w1.Add(w4); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w4])); w5.Position = 1; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w6 = new Gtk.HBox(); w6.Spacing = 2; w6.BorderWidth = ((uint)(1)); w6.Events = ((Gdk.EventMask)(0)); w6.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); w7.Events = ((Gdk.EventMask)(0)); w7.Name = "alignment3"; bindings["alignment3"] = w7; w6.Add(w7); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w6[w7])); w8.Position = 0; // Container child hbox2.Gtk.Box+BoxChild Gtk.Button w9 = new Gtk.Button(); w9.UseStock = true; w9.UseUnderline = true; w9.CanFocus = true; w9.Events = ((Gdk.EventMask)(0)); w9.Name = "OpenDatabaseButton"; w9.Label = "gtk-open"; bindings["OpenDatabaseButton"] = w9; w6.Add(w9); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w6[w9])); w10.Position = 1; w10.Expand = false; w10.Fill = false; bindings["hbox2"] = w6; w1.Add(w6); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[w6])); w11.Position = 2; w11.Expand = false; w11.Fill = false; bindings["vbox1"] = w1; cobj.Add(w1); cobj.DefaultWidth = 611; cobj.DefaultHeight = 407; bindings["igaeditorgtk.OpenWindow"] = cobj; w2.Show(); w4.Show(); w7.Show(); w9.Show(); w6.Show(); w1.Show(); cobj.Show(); cobj.DeleteEvent += ((Gtk.DeleteEventHandler)(System.Delegate.CreateDelegate(typeof(Gtk.DeleteEventHandler), cobj, "OnDeleteEvent"))); w4.FileActivated += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnFileChooserControlFileActivated"))); w9.Clicked += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOpenDatabaseButtonClicked"))); } else { if ((id == "igaeditorgtk.SimpleMessageBox")) { Gtk.Dialog cobj = ((Gtk.Dialog)(obj)); // Widget igaeditorgtk.SimpleMessageBox cobj.Title = "IGA Ad Cache Editor"; cobj.WindowPosition = ((Gtk.WindowPosition)(4)); cobj.HasSeparator = false; cobj.Events = ((Gdk.EventMask)(256)); cobj.Name = "igaeditorgtk.SimpleMessageBox"; // Internal child igaeditorgtk.SimpleMessageBox.VBox Gtk.VBox w1 = cobj.VBox; w1.BorderWidth = ((uint)(2)); w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; // Container child dialog_VBox.Gtk.Box+BoxChild Gtk.TextView w2 = new Gtk.TextView(); w2.WrapMode = ((Gtk.WrapMode)(2)); w2.Editable = false; w2.Justification = ((Gtk.Justification)(3)); w2.CanFocus = true; w2.Events = ((Gdk.EventMask)(0)); w2.Name = "MessageTextBox"; bindings["MessageTextBox"] = w2; w1.Add(w2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(w1[w2])); w3.Position = 0; bindings["dialog_VBox"] = w1; // Internal child igaeditorgtk.SimpleMessageBox.ActionArea Gtk.HButtonBox w4 = cobj.ActionArea; w4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.Events = ((Gdk.EventMask)(256)); w4.Name = "igaeditorgtk.SimpleMessageBox_ActionArea"; // Container child igaeditorgtk.SimpleMessageBox_ActionArea.Gtk.ButtonBox+ButtonBoxChild Gtk.Button w5 = new Gtk.Button(); w5.UseStock = true; w5.UseUnderline = true; w5.CanFocus = true; w5.Events = ((Gdk.EventMask)(0)); w5.Name = "OkayButton"; w5.CanDefault = true; w5.Label = "gtk-ok"; bindings["OkayButton"] = w5; cobj.AddActionWidget(w5, -7); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w4[w5])); w6.Expand = false; w6.Fill = false; bindings["igaeditorgtk.SimpleMessageBox_ActionArea"] = w4; cobj.DefaultWidth = 400; cobj.DefaultHeight = 300; bindings["igaeditorgtk.SimpleMessageBox"] = cobj; w2.Show(); w1.Show(); w5.Show(); w4.Show(); cobj.Show(); w5.Pressed += ((System.EventHandler)(System.Delegate.CreateDelegate(typeof(System.EventHandler), cobj, "OnOkayButtonPressed"))); } } } System.Reflection.FieldInfo[] fields = obj.GetType().GetFields(((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic) | System.Reflection.BindingFlags.Instance)); for (int n = 0; (n < fields.Length); n = (n + 1)) { System.Reflection.FieldInfo field = fields[n]; object widget = bindings[field.Name]; if (((widget != null) && field.FieldType.IsInstanceOfType(widget))) { field.SetValue(obj, widget); } } }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ImportDialog this.WidthRequest = 700; this.HeightRequest = 500; this.Name = "ocmgtk.ImportDialog"; this.Title = Mono.Unix.Catalog.GetString("Import GPX/LOC/ZIP.."); 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.ImportDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.fileWidget = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.fileWidget.Name = "fileWidget"; w1.Add(this.fileWidget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.fileWidget])); w2.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.oldLogsCheck = new Gtk.CheckButton(); this.oldLogsCheck.CanFocus = true; this.oldLogsCheck.Name = "oldLogsCheck"; this.oldLogsCheck.Label = Mono.Unix.Catalog.GetString("Purge old cache logs"); this.oldLogsCheck.DrawIndicator = true; this.oldLogsCheck.UseUnderline = true; this.vbox2.Add(this.oldLogsCheck); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.oldLogsCheck])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusCheck = new Gtk.CheckButton(); this.statusCheck.CanFocus = true; this.statusCheck.Name = "statusCheck"; this.statusCheck.Label = Mono.Unix.Catalog.GetString("Do not overwrite existing found status in database"); this.statusCheck.DrawIndicator = true; this.statusCheck.UseUnderline = true; this.vbox2.Add(this.statusCheck); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.statusCheck])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gsakFieldsCheck = new Gtk.CheckButton(); this.gsakFieldsCheck.CanFocus = true; this.gsakFieldsCheck.Name = "gsakFieldsCheck"; this.gsakFieldsCheck.Label = Mono.Unix.Catalog.GetString("Ignore GSAK/OCM extra fields in GPX file"); this.gsakFieldsCheck.DrawIndicator = true; this.gsakFieldsCheck.UseUnderline = true; this.vbox2.Add(this.gsakFieldsCheck); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.gsakFieldsCheck])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // 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.addToListCheck = new Gtk.CheckButton(); this.addToListCheck.CanFocus = true; this.addToListCheck.Name = "addToListCheck"; this.addToListCheck.Label = Mono.Unix.Catalog.GetString("Add to bookmark list:"); this.addToListCheck.DrawIndicator = true; this.addToListCheck.UseUnderline = true; this.hbox1.Add(this.addToListCheck); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.addToListCheck])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.bmCombo = Gtk.ComboBox.NewText(); this.bmCombo.Sensitive = false; this.bmCombo.Name = "bmCombo"; this.hbox1.Add(this.bmCombo); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.bmCombo])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.addBmrkButton = new Gtk.Button(); this.addBmrkButton.CanFocus = true; this.addBmrkButton.Name = "addBmrkButton"; // Container child addBmrkButton.Gtk.Container+ContainerChild this.image20 = new Gtk.Image(); this.image20.Sensitive = false; this.image20.Name = "image20"; this.image20.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); this.addBmrkButton.Add(this.image20); this.addBmrkButton.Label = null; this.hbox1.Add(this.addBmrkButton); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.addBmrkButton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.expander1.Add(this.vbox2); this.GtkLabel17 = new Gtk.Label(); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.GtkLabel17.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel17; w1.Add(this.expander1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.expander1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(6)); // Internal child ocmgtk.ImportDialog.ActionArea Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonCancel])); w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-open"; this.AddActionWidget(this.buttonOk, -3); Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 721; this.DefaultHeight = 527; this.Show(); this.fileWidget.FileActivated += new System.EventHandler(this.OnFileActivated); this.addToListCheck.Toggled += new System.EventHandler(this.OnAddToBmrkToggle); this.addBmrkButton.Clicked += new System.EventHandler(this.OnAddClicked); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ExportGPXDialog this.WidthRequest = 750; this.HeightRequest = 500; this.Name = "ocmgtk.ExportGPXDialog"; this.Title = Mono.Unix.Catalog.GetString("Export GPX..."); 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.ExportGPXDialog.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 = 1; this.notebook1.TabPos = ((Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.BorderWidth = ((uint)(6)); // Container child alignment1.Gtk.Container+ContainerChild this.fileChooser = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1))); this.fileChooser.Name = "fileChooser"; this.fileChooser.DoOverwriteConfirmation = true; this.alignment1.Add(this.fileChooser); this.notebook1.Add(this.alignment1); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("File"); this.notebook1.SetTabLabel(this.alignment1, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(0)); this.frame4.BorderWidth = ((uint)(6)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment15 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment15.Name = "GtkAlignment15"; this.GtkAlignment15.LeftPadding = ((uint)(12)); // Container child GtkAlignment15.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.limitCheck = new Gtk.CheckButton(); this.limitCheck.CanFocus = true; this.limitCheck.Name = "limitCheck"; this.limitCheck.Label = Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCheck.DrawIndicator = true; this.limitCheck.UseUnderline = true; this.hbox1.Add(this.limitCheck); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitCheck])); w4.Position = 0; w4.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.limitEntry = new Gtk.Entry(); this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = "1000"; this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '•'; this.hbox1.Add(this.limitEntry); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitEntry])); w5.Position = 1; this.vbox5.Add(this.hbox1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.includeChildrenCheck = new Gtk.CheckButton(); this.includeChildrenCheck.CanFocus = true; this.includeChildrenCheck.Name = "includeChildrenCheck"; this.includeChildrenCheck.Label = Mono.Unix.Catalog.GetString("Include Child Waypoints"); this.includeChildrenCheck.Active = true; this.includeChildrenCheck.DrawIndicator = true; this.includeChildrenCheck.UseUnderline = true; this.vbox5.Add(this.includeChildrenCheck); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox5[this.includeChildrenCheck])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.exportPaperlessDetails = new Gtk.CheckButton(); this.exportPaperlessDetails.CanFocus = true; this.exportPaperlessDetails.Name = "exportPaperlessDetails"; this.exportPaperlessDetails.Label = Mono.Unix.Catalog.GetString("Export Paperless Caching Details"); this.exportPaperlessDetails.Active = true; this.exportPaperlessDetails.DrawIndicator = true; this.exportPaperlessDetails.UseUnderline = true; this.vbox5.Add(this.exportPaperlessDetails); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox5[this.exportPaperlessDetails])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = Mono.Unix.Catalog.GetString("Export Extra Fields in GPX"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox5.Add(this.checkbutton1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox5[this.checkbutton1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.customSymbolsCheck = new Gtk.CheckButton(); this.customSymbolsCheck.CanFocus = true; this.customSymbolsCheck.Name = "customSymbolsCheck"; this.customSymbolsCheck.Label = Mono.Unix.Catalog.GetString("Use Custom Waypoint Symbols"); this.customSymbolsCheck.DrawIndicator = true; this.customSymbolsCheck.UseUnderline = true; this.vbox5.Add(this.customSymbolsCheck); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox5[this.customSymbolsCheck])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.GtkAlignment15.Add(this.vbox5); this.frame4.Add(this.GtkAlignment15); this.GtkLabel25 = new Gtk.Label(); this.GtkLabel25.Name = "GtkLabel25"; this.GtkLabel25.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel25.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel25; this.vbox4.Add(this.frame4); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.paperlessFrame = new Gtk.Frame(); this.paperlessFrame.Name = "paperlessFrame"; this.paperlessFrame.ShadowType = ((Gtk.ShadowType)(0)); // Container child paperlessFrame.Gtk.Container+ContainerChild this.GtkAlignment12 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment12.Name = "GtkAlignment12"; this.GtkAlignment12.LeftPadding = ((uint)(12)); // Container child GtkAlignment12.Gtk.Container+ContainerChild this.table5 = new Gtk.Table(((uint)(3)), ((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.attrCheck = new Gtk.CheckButton(); this.attrCheck.CanFocus = true; this.attrCheck.Name = "attrCheck"; this.attrCheck.Label = Mono.Unix.Catalog.GetString("Include Attributes in Description"); this.attrCheck.DrawIndicator = true; this.attrCheck.UseUnderline = true; this.table5.Add(this.attrCheck); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table5[this.attrCheck])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitCheck = new Gtk.CheckButton(); this.logLimitCheck.CanFocus = true; this.logLimitCheck.Name = "logLimitCheck"; this.logLimitCheck.Label = Mono.Unix.Catalog.GetString("Limit Number of Logs"); this.logLimitCheck.DrawIndicator = true; this.logLimitCheck.UseUnderline = true; this.table5.Add(this.logLimitCheck); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.logLimitCheck])); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitEntry = new Gtk.Entry(); this.logLimitEntry.Sensitive = false; this.logLimitEntry.CanFocus = true; this.logLimitEntry.Name = "logLimitEntry"; this.logLimitEntry.Text = Mono.Unix.Catalog.GetString("5"); this.logLimitEntry.IsEditable = true; this.logLimitEntry.InvisibleChar = '•'; this.table5.Add(this.logLimitEntry); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.logLimitEntry])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.usePlainTextCheck = new Gtk.CheckButton(); this.usePlainTextCheck.CanFocus = true; this.usePlainTextCheck.Name = "usePlainTextCheck"; this.usePlainTextCheck.Label = Mono.Unix.Catalog.GetString("Convert HTML to Plain Text"); this.usePlainTextCheck.DrawIndicator = true; this.usePlainTextCheck.UseUnderline = true; this.table5.Add(this.usePlainTextCheck); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table5[this.usePlainTextCheck])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment12.Add(this.table5); this.paperlessFrame.Add(this.GtkAlignment12); this.GtkLabel20 = new Gtk.Label(); this.GtkLabel20.Name = "GtkLabel20"; this.GtkLabel20.LabelProp = Mono.Unix.Catalog.GetString("<b>Paperless Options</b>"); this.GtkLabel20.UseMarkup = true; this.paperlessFrame.LabelWidget = this.GtkLabel20; this.vbox4.Add(this.paperlessFrame); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox4[this.paperlessFrame])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.waypointFrame = new Gtk.Frame(); this.waypointFrame.Name = "waypointFrame"; this.waypointFrame.ShadowType = ((Gtk.ShadowType)(0)); // Container child waypointFrame.Gtk.Container+ContainerChild this.GtkAlignment11 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment11.Name = "GtkAlignment11"; this.GtkAlignment11.LeftPadding = ((uint)(12)); // Container child GtkAlignment11.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(2)), ((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.descMode = Gtk.ComboBox.NewText(); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descMode.Name = "descMode"; this.descMode.Active = 0; this.table3.Add(this.descMode); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table3[this.descMode])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Name Format:"); this.table3.Add(this.label1); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table3[this.label1])); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.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("Waypoint Description Format:"); this.table3.Add(this.label5); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table3[this.label5])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nameMode = Gtk.ComboBox.NewText(); this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code")); this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name")); this.nameMode.Name = "nameMode"; this.nameMode.Active = 0; this.table3.Add(this.nameMode); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.nameMode])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment11.Add(this.table3); this.waypointFrame.Add(this.GtkAlignment11); this.GtkLabel21 = new Gtk.Label(); this.GtkLabel21.Name = "GtkLabel21"; this.GtkLabel21.LabelProp = Mono.Unix.Catalog.GetString("<b>Waypoint Options</b>"); this.GtkLabel21.UseMarkup = true; this.waypointFrame.LabelWidget = this.GtkLabel21; this.vbox4.Add(this.waypointFrame); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.waypointFrame])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.notebook1.Add(this.vbox4); Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4])); w28.Position = 1; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.notebook1.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.waypointSymbolWidget = new ocmgtk.WaypointOverrideWidget(); this.waypointSymbolWidget.Events = ((Gdk.EventMask)(256)); this.waypointSymbolWidget.Name = "waypointSymbolWidget"; this.notebook1.Add(this.waypointSymbolWidget); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.waypointSymbolWidget])); w29.Position = 2; // Notebook tab this.symbolsPage = new Gtk.Label(); this.symbolsPage.Name = "symbolsPage"; this.symbolsPage.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Symbols"); this.notebook1.SetTabLabel(this.waypointSymbolWidget, this.symbolsPage); this.symbolsPage.ShowAll(); w1.Add(this.notebook1); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook1])); w30.Position = 0; // Internal child ocmgtk.ExportGPXDialog.ActionArea Gtk.HButtonBox w31 = this.ActionArea; w31.Name = "dialog1_ActionArea"; w31.Spacing = 10; w31.BorderWidth = ((uint)(5)); w31.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 w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel])); w32.Expand = false; w32.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 w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk])); w33.Position = 1; w33.Expand = false; w33.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 762; this.DefaultHeight = 527; this.Show(); this.limitCheck.Toggled += new System.EventHandler(this.OnLimitToggle); this.exportPaperlessDetails.Toggled += new System.EventHandler(this.OnPaperlessToggle); this.logLimitCheck.Toggled += new System.EventHandler(this.OnLogLimitToggle); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ocmgtk.ImportDialog this.WidthRequest = 700; this.HeightRequest = 500; this.Name = "ocmgtk.ImportDialog"; this.Title = Mono.Unix.Catalog.GetString("Import GPX/LOC/ZIP.."); 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.ImportDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.fileWidget = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(0))); this.fileWidget.Name = "fileWidget"; w1.Add(this.fileWidget); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.fileWidget])); w2.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.oldLogsCheck = new Gtk.CheckButton(); this.oldLogsCheck.CanFocus = true; this.oldLogsCheck.Name = "oldLogsCheck"; this.oldLogsCheck.Label = Mono.Unix.Catalog.GetString("Purge old cache logs"); this.oldLogsCheck.DrawIndicator = true; this.oldLogsCheck.UseUnderline = true; this.vbox2.Add(this.oldLogsCheck); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.oldLogsCheck])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusCheck = new Gtk.CheckButton(); this.statusCheck.CanFocus = true; this.statusCheck.Name = "statusCheck"; this.statusCheck.Label = Mono.Unix.Catalog.GetString("Do not overwrite existing found status in database"); this.statusCheck.DrawIndicator = true; this.statusCheck.UseUnderline = true; this.vbox2.Add(this.statusCheck); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.statusCheck])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gsakFieldsCheck = new Gtk.CheckButton(); this.gsakFieldsCheck.CanFocus = true; this.gsakFieldsCheck.Name = "gsakFieldsCheck"; this.gsakFieldsCheck.Label = Mono.Unix.Catalog.GetString("Ignore GSAK/OCM extra fields in GPX file"); this.gsakFieldsCheck.DrawIndicator = true; this.gsakFieldsCheck.UseUnderline = true; this.vbox2.Add(this.gsakFieldsCheck); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.gsakFieldsCheck])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // 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.addToListCheck = new Gtk.CheckButton(); this.addToListCheck.CanFocus = true; this.addToListCheck.Name = "addToListCheck"; this.addToListCheck.Label = Mono.Unix.Catalog.GetString("Add to bookmark list:"); this.addToListCheck.DrawIndicator = true; this.addToListCheck.UseUnderline = true; this.hbox1.Add(this.addToListCheck); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.addToListCheck])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.bmCombo = Gtk.ComboBox.NewText(); this.bmCombo.Sensitive = false; this.bmCombo.Name = "bmCombo"; this.hbox1.Add(this.bmCombo); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.bmCombo])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.addBmrkButton = new Gtk.Button(); this.addBmrkButton.CanFocus = true; this.addBmrkButton.Name = "addBmrkButton"; // Container child addBmrkButton.Gtk.Container+ContainerChild this.image20 = new Gtk.Image(); this.image20.Sensitive = false; this.image20.Name = "image20"; this.image20.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); this.addBmrkButton.Add(this.image20); this.addBmrkButton.Label = null; this.hbox1.Add(this.addBmrkButton); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.addBmrkButton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.expander1.Add(this.vbox2); this.GtkLabel17 = new Gtk.Label(); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.GtkLabel17.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel17; w1.Add(this.expander1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.expander1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(6)); // Internal child ocmgtk.ImportDialog.ActionArea Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonCancel])); w14.Expand = false; w14.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-open"; this.AddActionWidget(this.buttonOk, -3); Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 721; this.DefaultHeight = 527; this.Show(); this.fileWidget.FileActivated += new System.EventHandler(this.OnFileActivated); this.addToListCheck.Toggled += new System.EventHandler(this.OnAddToBmrkToggle); this.addBmrkButton.Clicked += new System.EventHandler(this.OnAddClicked); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }