protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.GeoCachePane
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.GeoCachePane";
     // Container child ocmgtk.GeoCachePane.Gtk.Container+ContainerChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.notebook2             = new Gtk.Notebook();
     this.notebook2.CanFocus    = true;
     this.notebook2.Name        = "notebook2";
     this.notebook2.CurrentPage = 5;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheInfo        = new ocmgtk.GeocacheInfoPanel();
     this.cacheInfo.Events = ((Gdk.EventMask)(256));
     this.cacheInfo.Name   = "cacheInfo";
     this.notebook2.Add(this.cacheInfo);
     // Notebook tab
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.notebook2.SetTabLabel(this.cacheInfo, this.label12);
     this.label12.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.descWidget        = new ocmgtk.DescriptionWidget();
     this.descWidget.Events = ((Gdk.EventMask)(256));
     this.descWidget.Name   = "descWidget";
     this.notebook2.Add(this.descWidget);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.descWidget]));
     w2.Position = 1;
     // Notebook tab
     this.label13           = new Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.notebook2.SetTabLabel(this.descWidget, this.label13);
     this.label13.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.logView        = new ocmgtk.LogViewerWidget();
     this.logView.Events = ((Gdk.EventMask)(256));
     this.logView.Name   = "logView";
     this.notebook2.Add(this.logView);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.logView]));
     w3.Position = 2;
     // Notebook tab
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.notebook2.SetTabLabel(this.logView, this.label14);
     this.label14.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.waypointView        = new ocmgtk.WaypointWidget();
     this.waypointView.Events = ((Gdk.EventMask)(256));
     this.waypointView.Name   = "waypointView";
     this.notebook2.Add(this.waypointView);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.waypointView]));
     w4.Position = 3;
     // Notebook tab
     this.label15           = new Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.notebook2.SetTabLabel(this.waypointView, this.label15);
     this.label15.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.notesWidget        = new ocmgtk.NotesWidget();
     this.notesWidget.Events = ((Gdk.EventMask)(256));
     this.notesWidget.Name   = "notesWidget";
     this.notebook2.Add(this.notesWidget);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.notesWidget]));
     w5.Position = 4;
     // Notebook tab
     this.label16           = new Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.notebook2.SetTabLabel(this.notesWidget, this.label16);
     this.label16.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheImages        = new ocmgtk.ImagesWidget();
     this.cacheImages.Events = ((Gdk.EventMask)(256));
     this.cacheImages.Name   = "cacheImages";
     this.notebook2.Add(this.cacheImages);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.cacheImages]));
     w6.Position = 5;
     // Notebook tab
     this.label17           = new Gtk.Label();
     this.label17.Name      = "label17";
     this.label17.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.notebook2.SetTabLabel(this.cacheImages, this.label17);
     this.label17.ShowAll();
     this.alignment1.Add(this.notebook2);
     this.Add(this.alignment1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Esempio n. 2
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.CacheInfoWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.CacheInfoWidget";
     // Container child ocmgtk.CacheInfoWidget.Gtk.Container+ContainerChild
     this.infoNoteBook             = new Gtk.Notebook();
     this.infoNoteBook.CanFocus    = true;
     this.infoNoteBook.Name        = "infoNoteBook";
     this.infoNoteBook.CurrentPage = 5;
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.quickInfoPane        = new ocmgtk.GeocacheInfoPanel();
     this.quickInfoPane.Events = ((Gdk.EventMask)(256));
     this.quickInfoPane.Name   = "quickInfoPane";
     this.infoNoteBook.Add(this.quickInfoPane);
     // Notebook tab
     this.quickInfoLabel           = new Gtk.Label();
     this.quickInfoLabel.Name      = "quickInfoLabel";
     this.quickInfoLabel.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.infoNoteBook.SetTabLabel(this.quickInfoPane, this.quickInfoLabel);
     this.quickInfoLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.descriptionPane        = new ocmgtk.DescriptionWidget();
     this.descriptionPane.Events = ((Gdk.EventMask)(256));
     this.descriptionPane.Name   = "descriptionPane";
     this.infoNoteBook.Add(this.descriptionPane);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.descriptionPane]));
     w2.Position = 1;
     // Notebook tab
     this.descriptionTab           = new Gtk.Label();
     this.descriptionTab.Name      = "descriptionTab";
     this.descriptionTab.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.infoNoteBook.SetTabLabel(this.descriptionPane, this.descriptionTab);
     this.descriptionTab.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.logViewer        = new ocmgtk.LogViewerWidget();
     this.logViewer.Events = ((Gdk.EventMask)(256));
     this.logViewer.Name   = "logViewer";
     this.infoNoteBook.Add(this.logViewer);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.logViewer]));
     w3.Position = 2;
     // Notebook tab
     this.logLabel           = new Gtk.Label();
     this.logLabel.Name      = "logLabel";
     this.logLabel.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.infoNoteBook.SetTabLabel(this.logViewer, this.logLabel);
     this.logLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.waypointWidget        = new ocmgtk.WaypointWidget();
     this.waypointWidget.Events = ((Gdk.EventMask)(256));
     this.waypointWidget.Name   = "waypointWidget";
     this.infoNoteBook.Add(this.waypointWidget);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.waypointWidget]));
     w4.Position = 3;
     // Notebook tab
     this.waypointLabel           = new Gtk.Label();
     this.waypointLabel.Name      = "waypointLabel";
     this.waypointLabel.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.infoNoteBook.SetTabLabel(this.waypointWidget, this.waypointLabel);
     this.waypointLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.cacheNotes        = new ocmgtk.NotesWidget();
     this.cacheNotes.Events = ((Gdk.EventMask)(256));
     this.cacheNotes.Name   = "cacheNotes";
     this.infoNoteBook.Add(this.cacheNotes);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.cacheNotes]));
     w5.Position = 4;
     // Notebook tab
     this.notesLabel           = new Gtk.Label();
     this.notesLabel.Name      = "notesLabel";
     this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.infoNoteBook.SetTabLabel(this.cacheNotes, this.notesLabel);
     this.notesLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.imageWidget        = new ocmgtk.ImagesWidget();
     this.imageWidget.Events = ((Gdk.EventMask)(256));
     this.imageWidget.Name   = "imageWidget";
     this.infoNoteBook.Add(this.imageWidget);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.imageWidget]));
     w6.Position = 5;
     // Notebook tab
     this.imageLabel           = new Gtk.Label();
     this.imageLabel.Name      = "imageLabel";
     this.imageLabel.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.infoNoteBook.SetTabLabel(this.imageWidget, this.imageLabel);
     this.imageLabel.ShowAll();
     this.Add(this.infoNoteBook);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.GeoCachePane
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.GeoCachePane";
     // Container child ocmgtk.GeoCachePane.Gtk.Container+ContainerChild
     this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.notebook2 = new Gtk.Notebook();
     this.notebook2.CanFocus = true;
     this.notebook2.Name = "notebook2";
     this.notebook2.CurrentPage = 5;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheInfo = new ocmgtk.GeocacheInfoPanel();
     this.cacheInfo.Events = ((Gdk.EventMask)(256));
     this.cacheInfo.Name = "cacheInfo";
     this.notebook2.Add(this.cacheInfo);
     // Notebook tab
     this.label12 = new Gtk.Label();
     this.label12.Name = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.notebook2.SetTabLabel(this.cacheInfo, this.label12);
     this.label12.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.descWidget = new ocmgtk.DescriptionWidget();
     this.descWidget.Events = ((Gdk.EventMask)(256));
     this.descWidget.Name = "descWidget";
     this.notebook2.Add(this.descWidget);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.descWidget]));
     w2.Position = 1;
     // Notebook tab
     this.label13 = new Gtk.Label();
     this.label13.Name = "label13";
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.notebook2.SetTabLabel(this.descWidget, this.label13);
     this.label13.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.logView = new ocmgtk.LogViewerWidget();
     this.logView.Events = ((Gdk.EventMask)(256));
     this.logView.Name = "logView";
     this.notebook2.Add(this.logView);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.logView]));
     w3.Position = 2;
     // Notebook tab
     this.label14 = new Gtk.Label();
     this.label14.Name = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.notebook2.SetTabLabel(this.logView, this.label14);
     this.label14.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.waypointView = new ocmgtk.WaypointWidget();
     this.waypointView.Events = ((Gdk.EventMask)(256));
     this.waypointView.Name = "waypointView";
     this.notebook2.Add(this.waypointView);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.waypointView]));
     w4.Position = 3;
     // Notebook tab
     this.label15 = new Gtk.Label();
     this.label15.Name = "label15";
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.notebook2.SetTabLabel(this.waypointView, this.label15);
     this.label15.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.notesWidget = new ocmgtk.NotesWidget();
     this.notesWidget.Events = ((Gdk.EventMask)(256));
     this.notesWidget.Name = "notesWidget";
     this.notebook2.Add(this.notesWidget);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.notesWidget]));
     w5.Position = 4;
     // Notebook tab
     this.label16 = new Gtk.Label();
     this.label16.Name = "label16";
     this.label16.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.notebook2.SetTabLabel(this.notesWidget, this.label16);
     this.label16.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheImages = new ocmgtk.ImagesWidget();
     this.cacheImages.Events = ((Gdk.EventMask)(256));
     this.cacheImages.Name = "cacheImages";
     this.notebook2.Add(this.cacheImages);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.cacheImages]));
     w6.Position = 5;
     // Notebook tab
     this.label17 = new Gtk.Label();
     this.label17.Name = "label17";
     this.label17.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.notebook2.SetTabLabel(this.cacheImages, this.label17);
     this.label17.ShowAll();
     this.alignment1.Add(this.notebook2);
     this.Add(this.alignment1);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.CacheInfoWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.CacheInfoWidget";
     // Container child ocmgtk.CacheInfoWidget.Gtk.Container+ContainerChild
     this.infoNoteBook = new Gtk.Notebook();
     this.infoNoteBook.CanFocus = true;
     this.infoNoteBook.Name = "infoNoteBook";
     this.infoNoteBook.CurrentPage = 5;
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.quickInfoPane = new ocmgtk.GeocacheInfoPanel();
     this.quickInfoPane.Events = ((Gdk.EventMask)(256));
     this.quickInfoPane.Name = "quickInfoPane";
     this.infoNoteBook.Add(this.quickInfoPane);
     // Notebook tab
     this.quickInfoLabel = new Gtk.Label();
     this.quickInfoLabel.Name = "quickInfoLabel";
     this.quickInfoLabel.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.infoNoteBook.SetTabLabel(this.quickInfoPane, this.quickInfoLabel);
     this.quickInfoLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.descriptionPane = new ocmgtk.DescriptionWidget();
     this.descriptionPane.Events = ((Gdk.EventMask)(256));
     this.descriptionPane.Name = "descriptionPane";
     this.infoNoteBook.Add(this.descriptionPane);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.descriptionPane]));
     w2.Position = 1;
     // Notebook tab
     this.descriptionTab = new Gtk.Label();
     this.descriptionTab.Name = "descriptionTab";
     this.descriptionTab.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.infoNoteBook.SetTabLabel(this.descriptionPane, this.descriptionTab);
     this.descriptionTab.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.logViewer = new ocmgtk.LogViewerWidget();
     this.logViewer.Events = ((Gdk.EventMask)(256));
     this.logViewer.Name = "logViewer";
     this.infoNoteBook.Add(this.logViewer);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.logViewer]));
     w3.Position = 2;
     // Notebook tab
     this.logLabel = new Gtk.Label();
     this.logLabel.Name = "logLabel";
     this.logLabel.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.infoNoteBook.SetTabLabel(this.logViewer, this.logLabel);
     this.logLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.waypointWidget = new ocmgtk.WaypointWidget();
     this.waypointWidget.Events = ((Gdk.EventMask)(256));
     this.waypointWidget.Name = "waypointWidget";
     this.infoNoteBook.Add(this.waypointWidget);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.waypointWidget]));
     w4.Position = 3;
     // Notebook tab
     this.waypointLabel = new Gtk.Label();
     this.waypointLabel.Name = "waypointLabel";
     this.waypointLabel.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.infoNoteBook.SetTabLabel(this.waypointWidget, this.waypointLabel);
     this.waypointLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.cacheNotes = new ocmgtk.NotesWidget();
     this.cacheNotes.Events = ((Gdk.EventMask)(256));
     this.cacheNotes.Name = "cacheNotes";
     this.infoNoteBook.Add(this.cacheNotes);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.cacheNotes]));
     w5.Position = 4;
     // Notebook tab
     this.notesLabel = new Gtk.Label();
     this.notesLabel.Name = "notesLabel";
     this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.infoNoteBook.SetTabLabel(this.cacheNotes, this.notesLabel);
     this.notesLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.imageWidget = new ocmgtk.ImagesWidget();
     this.imageWidget.Events = ((Gdk.EventMask)(256));
     this.imageWidget.Name = "imageWidget";
     this.infoNoteBook.Add(this.imageWidget);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.imageWidget]));
     w6.Position = 5;
     // Notebook tab
     this.imageLabel = new Gtk.Label();
     this.imageLabel.Name = "imageLabel";
     this.imageLabel.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.infoNoteBook.SetTabLabel(this.imageWidget, this.imageLabel);
     this.imageLabel.ShowAll();
     this.Add(this.infoNoteBook);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
 }