protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Mono.Instrumentation.Monitor.InstrumenationChartView global::Stetic.BinContainer.Attach (this); this.Name = "Mono.Instrumentation.Monitor.InstrumenationChartView"; // Container child Mono.Instrumentation.Monitor.InstrumenationChartView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hpaned2 = new global::Gtk.HPaned (); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 471; // Container child hpaned2.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.boxCharts = new global::Gtk.VBox (); this.boxCharts.Name = "boxCharts"; this.boxCharts.Spacing = 6; // Container child boxCharts.Gtk.Box+BoxChild this.hboxChartBar = new global::Gtk.HBox (); this.hboxChartBar.Name = "hboxChartBar"; this.hboxChartBar.Spacing = 6; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleTimeView = new global::Gtk.ToggleButton (); this.toggleTimeView.CanFocus = true; this.toggleTimeView.Name = "toggleTimeView"; this.toggleTimeView.UseUnderline = true; this.toggleTimeView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleTimeView.Label = global::Mono.Unix.Catalog.GetString ("Time View"); this.hboxChartBar.Add (this.toggleTimeView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleTimeView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleListView = new global::Gtk.ToggleButton (); this.toggleListView.CanFocus = true; this.toggleListView.Name = "toggleListView"; this.toggleListView.UseUnderline = true; this.toggleListView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleListView.Label = global::Mono.Unix.Catalog.GetString ("List View"); this.hboxChartBar.Add (this.toggleListView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.toggleListView])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomOut = new global::Gtk.Button (); this.buttonZoomOut.CanFocus = true; this.buttonZoomOut.Name = "buttonZoomOut"; this.buttonZoomOut.UseUnderline = true; this.buttonZoomOut.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomOut.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox (); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-zoom-out", global::Gtk.IconSize.Menu); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w4.Add (w7); w3.Add (w4); this.buttonZoomOut.Add (w3); this.hboxChartBar.Add (this.buttonZoomOut); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomOut])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomIn = new global::Gtk.Button (); this.buttonZoomIn.CanFocus = true; this.buttonZoomIn.Name = "buttonZoomIn"; this.buttonZoomIn.UseUnderline = true; this.buttonZoomIn.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomIn.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox (); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image (); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-zoom-in", global::Gtk.IconSize.Menu); w13.Add (w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label (); w13.Add (w16); w12.Add (w13); this.buttonZoomIn.Add (w12); this.hboxChartBar.Add (this.buttonZoomIn); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar [this.buttonZoomIn])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.boxCharts.Add (this.hboxChartBar); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.hboxChartBar])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child boxCharts.Gtk.Box+BoxChild this.frameCharts = new global::Gtk.VBox (); this.frameCharts.Name = "frameCharts"; this.frameCharts.Spacing = 6; // Container child frameCharts.Gtk.Box+BoxChild this.chartScroller = new global::Gtk.HScrollbar (null); this.chartScroller.Name = "chartScroller"; this.chartScroller.Adjustment.Upper = 100; this.chartScroller.Adjustment.PageIncrement = 10; this.chartScroller.Adjustment.PageSize = 10; this.chartScroller.Adjustment.StepIncrement = 1; this.frameCharts.Add (this.chartScroller); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.frameCharts [this.chartScroller])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.boxCharts.Add (this.frameCharts); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.boxCharts [this.frameCharts])); w23.Position = 1; this.hbox4.Add (this.boxCharts); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.boxCharts])); w24.Position = 0; this.hpaned2.Add (this.hbox4); global::Gtk.Paned.PanedChild w25 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.hbox4])); w25.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hboxSeriesBar = new global::Gtk.HBox (); this.hboxSeriesBar.Name = "hboxSeriesBar"; this.hboxSeriesBar.Spacing = 6; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonRemoveCounter = new global::Gtk.Button (); this.buttonRemoveCounter.CanFocus = true; this.buttonRemoveCounter.Name = "buttonRemoveCounter"; this.buttonRemoveCounter.UseStock = true; this.buttonRemoveCounter.UseUnderline = true; this.buttonRemoveCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonRemoveCounter.Label = "gtk-remove"; this.hboxSeriesBar.Add (this.buttonRemoveCounter); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonRemoveCounter])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonAddCounter = new global::Gtk.Button (); this.buttonAddCounter.CanFocus = true; this.buttonAddCounter.Name = "buttonAddCounter"; this.buttonAddCounter.UseStock = true; this.buttonAddCounter.UseUnderline = true; this.buttonAddCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonAddCounter.Label = "gtk-add"; this.hboxSeriesBar.Add (this.buttonAddCounter); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar [this.buttonAddCounter])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox5.Add (this.hboxSeriesBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hboxSeriesBar])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.listSeries = new global::Gtk.TreeView (); this.listSeries.WidthRequest = 100; this.listSeries.CanFocus = true; this.listSeries.Name = "listSeries"; this.listSeries.HeadersVisible = false; this.GtkScrolledWindow1.Add (this.listSeries); this.vbox5.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow1])); w30.Position = 1; this.hpaned2.Add (this.vbox5); global::Gtk.Paned.PanedChild w31 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox5])); w31.Resize = false; w31.Shrink = false; this.vbox3.Add (this.hpaned2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hpaned2])); w32.Position = 0; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.toggleTimeView.Toggled += new global::System.EventHandler (this.OnToggleTimeViewToggled); this.toggleListView.Toggled += new global::System.EventHandler (this.OnToggleListViewToggled); this.buttonZoomIn.Clicked += new global::System.EventHandler (this.OnButtonZoomInClicked); this.buttonZoomOut.Clicked += new global::System.EventHandler (this.OnButtonZoomOutClicked); this.chartScroller.ValueChanged += new global::System.EventHandler (this.OnChartScrollerValueChanged); this.buttonAddCounter.Clicked += new global::System.EventHandler (this.OnButtonAddCounterClicked); this.buttonRemoveCounter.Clicked += new global::System.EventHandler (this.OnButtonRemoveCounterClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Visor.Ui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", "_File", null, null); this.FileAction.ShortLabel = "_File"; w1.Add (this.FileAction, null); this.EditAction = new global::Gtk.Action ("EditAction", "_Edit", null, null); this.EditAction.ShortLabel = "_Edit"; w1.Add (this.EditAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", "_Help", null, null); this.HelpAction.ShortLabel = "_Help"; w1.Add (this.HelpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", "_About", null, "gtk-about"); this.aboutAction.ShortLabel = "_About"; w1.Add (this.aboutAction, null); this.openAction = new global::Gtk.Action ("openAction", "_Open", null, "gtk-open"); this.openAction.ShortLabel = "_Open"; w1.Add (this.openAction, null); this.quitAction = new global::Gtk.Action ("quitAction", "_Quit", null, "gtk-quit"); this.quitAction.ShortLabel = "_Quit"; w1.Add (this.quitAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", "_View", null, null); this.ViewAction.ShortLabel = "_View"; w1.Add (this.ViewAction, null); this.goForwardAction = new global::Gtk.Action ("goForwardAction", "_Forward", null, "gtk-go-forward"); this.goForwardAction.ShortLabel = "_Forward"; w1.Add (this.goForwardAction, "Page_Down"); this.goBackAction = new global::Gtk.Action ("goBackAction", "_Back", null, "gtk-go-back"); this.goBackAction.ShortLabel = "_Back"; w1.Add (this.goBackAction, "Page_Up"); this.GoToAction = new global::Gtk.Action ("GoToAction", "Go to...", null, null); this.GoToAction.ShortLabel = "Go to..."; w1.Add (this.GoToAction, null); this.gotoFirstAction = new global::Gtk.Action ("gotoFirstAction", "_First block", null, "gtk-goto-first"); this.gotoFirstAction.ShortLabel = "_First block"; w1.Add (this.gotoFirstAction, "Home"); this.gotoLastAction = new global::Gtk.Action ("gotoLastAction", "_Last block", null, "gtk-goto-last"); this.gotoLastAction.ShortLabel = "_Last block"; w1.Add (this.gotoLastAction, "End"); this.indexAction = new global::Gtk.Action ("indexAction", "_Position", null, "gtk-index"); this.indexAction.ShortLabel = "_Position"; w1.Add (this.indexAction, null); this.closeAction = new global::Gtk.Action ("closeAction", "_Close", null, "gtk-close"); this.closeAction.ShortLabel = "_Close"; w1.Add (this.closeAction, null); this.ViewToolbarAction = new global::Gtk.ToggleAction ("ViewToolbarAction", "View _Toolbar", null, null); this.ViewToolbarAction.Active = true; this.ViewToolbarAction.ShortLabel = "View _Toolbar"; w1.Add (this.ViewToolbarAction, null); this.positionAction = new global::Gtk.Action ("positionAction", "Go to _position...", null, "gtk-index"); this.positionAction.ShortLabel = "Go to _position..."; w1.Add (this.positionAction, "<Control>g"); this.findAction = new global::Gtk.Action ("findAction", "_Find", null, "gtk-find"); this.findAction.ShortLabel = "_Find"; w1.Add (this.findAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Visor.Ui.MainWindow"; this.Title = "MainWindow"; this.Icon = global::Gdk.Pixbuf.LoadFromResource ("visor.res.Gafas.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Visor.Ui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ViewToolbarAction' action='ViewToolbarAction'/><menuitem name='goForwardAction' action='goForwardAction'/><menuitem name='goBackAction' action='goBackAction'/><menuitem name='gotoFirstAction' action='gotoFirstAction'/><menuitem name='gotoLastAction' action='gotoLastAction'/><menuitem name='positionAction' action='positionAction'/><menuitem name='findAction' action='findAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='tbToolbar'><toolitem name='openAction' action='openAction'/><toolitem name='closeAction' action='closeAction'/><separator/><toolitem name='gotoFirstAction' action='gotoFirstAction'/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><toolitem name='gotoLastAction' action='gotoLastAction'/><separator/><toolitem name='positionAction' action='positionAction'/><toolitem name='findAction' action='findAction'/></toolbar></ui>"); this.tbToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tbToolbar"))); this.tbToolbar.Name = "tbToolbar"; this.tbToolbar.ShowArrow = false; this.hbox3.Add (this.tbToolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.tbToolbar])); w3.Position = 0; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbPanelGo = new global::Gtk.HBox (); this.hbPanelGo.Name = "hbPanelGo"; this.hbPanelGo.Spacing = 6; this.hbPanelGo.BorderWidth = ((uint)(5)); // Container child hbPanelGo.Gtk.Box+BoxChild this.sbFilePosition = new global::Gtk.SpinButton (0D, 100D, 1D); this.sbFilePosition.CanFocus = true; this.sbFilePosition.Name = "sbFilePosition"; this.sbFilePosition.Adjustment.PageIncrement = 10D; this.sbFilePosition.ClimbRate = 1D; this.sbFilePosition.Numeric = true; this.hbPanelGo.Add (this.sbFilePosition); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbPanelGo [this.sbFilePosition])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbPanelGo.Gtk.Box+BoxChild this.btCloseGoPanel = new global::Gtk.Button (); this.btCloseGoPanel.CanFocus = true; this.btCloseGoPanel.Name = "btCloseGoPanel"; this.btCloseGoPanel.UseStock = true; this.btCloseGoPanel.UseUnderline = true; this.btCloseGoPanel.Label = "gtk-close"; this.hbPanelGo.Add (this.btCloseGoPanel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbPanelGo [this.btCloseGoPanel])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox1.Add (this.hbPanelGo); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbPanelGo])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbPanelFind = new global::Gtk.HBox (); this.hbPanelFind.Name = "hbPanelFind"; this.hbPanelFind.Spacing = 6; this.hbPanelFind.BorderWidth = ((uint)(5)); // Container child hbPanelFind.Gtk.Box+BoxChild this.edFind = new global::Gtk.Entry (); this.edFind.CanFocus = true; this.edFind.Name = "edFind"; this.edFind.IsEditable = true; this.edFind.InvisibleChar = '•'; this.hbPanelFind.Add (this.edFind); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.edFind])); w8.Position = 0; // Container child hbPanelFind.Gtk.Box+BoxChild this.cbType = global::Gtk.ComboBox.NewText (); this.cbType.AppendText ("Txt"); this.cbType.AppendText ("Hex"); this.cbType.AppendText ("Dec"); this.cbType.AppendText (""); this.cbType.Name = "cbType"; this.cbType.Active = 0; this.hbPanelFind.Add (this.cbType); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.cbType])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbPanelFind.Gtk.Box+BoxChild this.btFind = new global::Gtk.Button (); this.btFind.CanFocus = true; this.btFind.Name = "btFind"; this.btFind.UseStock = true; this.btFind.UseUnderline = true; this.btFind.Label = "gtk-find"; this.hbPanelFind.Add (this.btFind); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.btFind])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child hbPanelFind.Gtk.Box+BoxChild this.btCloseFindPanel = new global::Gtk.Button (); this.btCloseFindPanel.CanFocus = true; this.btCloseFindPanel.Name = "btCloseFindPanel"; this.btCloseFindPanel.UseStock = true; this.btCloseFindPanel.UseUnderline = true; this.btCloseFindPanel.Label = "gtk-close"; this.hbPanelFind.Add (this.btCloseFindPanel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbPanelFind [this.btCloseFindPanel])); w11.Position = 3; w11.Expand = false; w11.Fill = false; this.vbox1.Add (this.hbPanelFind); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbPanelFind])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.frFile1 = new global::Gtk.Frame (); this.frFile1.Name = "frFile1"; this.frFile1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frFile1.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.nbView = new global::Gtk.Notebook (); this.nbView.CanFocus = true; this.nbView.Name = "nbView"; this.nbView.CurrentPage = 0; // Container child nbView.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.tvFile = new global::Gtk.TreeView (); this.tvFile.CanFocus = true; this.tvFile.Name = "tvFile"; this.GtkScrolledWindow1.Add (this.tvFile); this.nbView.Add (this.GtkScrolledWindow1); // Notebook tab this.lblHexPage = new global::Gtk.Label (); this.lblHexPage.Name = "lblHexPage"; this.lblHexPage.LabelProp = "bin"; this.nbView.SetTabLabel (this.GtkScrolledWindow1, this.lblHexPage); this.lblHexPage.ShowAll (); // Container child nbView.Gtk.Notebook+NotebookChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtFile = new global::Gtk.TextView (); this.txtFile.CanFocus = true; this.txtFile.Name = "txtFile"; this.txtFile.Editable = false; this.txtFile.WrapMode = ((global::Gtk.WrapMode)(1)); this.GtkScrolledWindow.Add (this.txtFile); this.nbView.Add (this.GtkScrolledWindow); global::Gtk.Notebook.NotebookChild w16 = ((global::Gtk.Notebook.NotebookChild)(this.nbView [this.GtkScrolledWindow])); w16.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "txt"; this.nbView.SetTabLabel (this.GtkScrolledWindow, this.label3); this.label3.ShowAll (); this.hbox2.Add (this.nbView); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.nbView])); w17.Position = 0; this.GtkAlignment7.Add (this.hbox2); this.frFile1.Add (this.GtkAlignment7); this.frFrame1Label = new global::Gtk.Label (); this.frFrame1Label.Name = "frFrame1Label"; this.frFrame1Label.LabelProp = "<b>File1</b>"; this.frFrame1Label.UseMarkup = true; this.frFile1.LabelWidget = this.frFrame1Label; this.hbox1.Add (this.frFile1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frFile1])); w20.Position = 0; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w21.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.stStatusBar = new global::Gtk.Statusbar (); this.stStatusBar.Name = "stStatusBar"; this.stStatusBar.Spacing = 6; // Container child stStatusBar.Gtk.Box+BoxChild this.hbIndicators = new global::Gtk.HBox (); this.hbIndicators.Name = "hbIndicators"; this.hbIndicators.Spacing = 6; // Container child hbIndicators.Gtk.Box+BoxChild this.lblMinPos = new global::Gtk.Label (); this.lblMinPos.Name = "lblMinPos"; this.lblMinPos.LabelProp = "<b>0</b>"; this.lblMinPos.UseMarkup = true; this.hbIndicators.Add (this.lblMinPos); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblMinPos])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbIndicators.Gtk.Box+BoxChild this.scrlSideBar = new global::Gtk.HScrollbar (null); this.scrlSideBar.Name = "scrlSideBar"; this.scrlSideBar.Adjustment.Upper = 100D; this.scrlSideBar.Adjustment.PageIncrement = 10D; this.scrlSideBar.Adjustment.PageSize = 10D; this.scrlSideBar.Adjustment.StepIncrement = 1D; this.hbIndicators.Add (this.scrlSideBar); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.scrlSideBar])); w23.Position = 1; // Container child hbIndicators.Gtk.Box+BoxChild this.lblMaxPos = new global::Gtk.Label (); this.lblMaxPos.Name = "lblMaxPos"; this.lblMaxPos.LabelProp = "<b>0</b>"; this.lblMaxPos.UseMarkup = true; this.hbIndicators.Add (this.lblMaxPos); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblMaxPos])); w24.Position = 2; w24.Expand = false; w24.Fill = false; // Container child hbIndicators.Gtk.Box+BoxChild this.lblPosition = new global::Gtk.Label (); this.lblPosition.Name = "lblPosition"; this.lblPosition.LabelProp = "label1"; this.hbIndicators.Add (this.lblPosition); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbIndicators [this.lblPosition])); w25.Position = 3; w25.Expand = false; w25.Fill = false; this.stStatusBar.Add (this.hbIndicators); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.stStatusBar [this.hbIndicators])); w26.Position = 1; this.vbox1.Add (this.stStatusBar); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.stStatusBar])); w27.Position = 5; w27.Expand = false; w27.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 594; this.DefaultHeight = 514; this.hbPanelGo.Hide (); this.hbPanelFind.Hide (); this.Hide (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.openAction.Activated += new global::System.EventHandler (this.OnOpen); this.quitAction.Activated += new global::System.EventHandler (this.OnQuit); this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForward); this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackward); this.gotoFirstAction.Activated += new global::System.EventHandler (this.OnGotoFirst); this.gotoLastAction.Activated += new global::System.EventHandler (this.OnGotoLast); this.indexAction.Activated += new global::System.EventHandler (this.OnGoto); this.closeAction.Activated += new global::System.EventHandler (this.OnClose); this.ViewToolbarAction.Activated += new global::System.EventHandler (this.OnViewToolbar); this.positionAction.Activated += new global::System.EventHandler (this.OnGoto); this.findAction.Activated += new global::System.EventHandler (this.OnFind); this.sbFilePosition.ValueChanged += new global::System.EventHandler (this.OnFilePositionChanged); this.btCloseGoPanel.Clicked += new global::System.EventHandler (this.OnGoPanelClose); this.btFind.Clicked += new global::System.EventHandler (this.OnFindClicked); this.btCloseFindPanel.Clicked += new global::System.EventHandler (this.OnFindPanelClose); this.scrlSideBar.ValueChanged += new global::System.EventHandler (this.OnSidebarUpdated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Docking.Widgets.VirtualListView global::Stetic.BinContainer.Attach (this); this.Events = ((global::Gdk.EventMask)(3072)); this.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.Name = "Docking.Widgets.VirtualListView"; // Container child Docking.Widgets.VirtualListView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.findwidget = new global::Docking.Widgets.Find (); this.findwidget.Events = ((global::Gdk.EventMask)(256)); this.findwidget.Name = "findwidget"; this.vbox1.Add (this.findwidget); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.findwidget])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 1; // Container child hbox2.Gtk.Box+BoxChild this.drawingarea = new global::Gtk.DrawingArea (); this.drawingarea.CanFocus = true; this.drawingarea.Events = ((global::Gdk.EventMask)(2116868)); this.drawingarea.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.drawingarea.Name = "drawingarea"; this.hbox2.Add (this.drawingarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.drawingarea])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vscrollbar1 = new global::Gtk.VScrollbar (null); this.vscrollbar1.Name = "vscrollbar1"; this.vscrollbar1.Adjustment.Upper = 100; this.vscrollbar1.Adjustment.PageIncrement = 10; this.vscrollbar1.Adjustment.PageSize = 10; this.vscrollbar1.Adjustment.StepIncrement = 1; this.hbox2.Add (this.vscrollbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vscrollbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hscrollbar1 = new global::Gtk.HScrollbar (null); this.hscrollbar1.Name = "hscrollbar1"; this.hscrollbar1.Adjustment.Upper = 100; this.hscrollbar1.Adjustment.PageIncrement = 10; this.hscrollbar1.Adjustment.PageSize = 10; this.hscrollbar1.Adjustment.StepIncrement = 1; this.vbox1.Add (this.hscrollbar1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hscrollbar1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.drawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingareaExposeEvent); this.vscrollbar1.ValueChanged += new global::System.EventHandler (this.OnVscrollbar1ValueChanged); this.hscrollbar1.ValueChanged += new global::System.EventHandler (this.OnHscrollbar1ValueChanged); }