protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.NotesWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.boldAction = new global::Gtk.ToggleAction("boldAction", null, null, "gtk-bold"); w2.Add(this.boldAction, null); this.italicAction = new global::Gtk.Action("italicAction", null, null, "gtk-italic"); w2.Add(this.italicAction, null); this.missingImageAction = new global::Gtk.Action("missingImageAction", null, null, "gtk-missing-image"); w2.Add(this.missingImageAction, null); this.underlineAction = new global::Gtk.Action("underlineAction", null, null, "gtk-underline"); w2.Add(this.underlineAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "ocmgtk.NotesWidget"; // Container child ocmgtk.NotesWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.editorWidget = null; this.vbox1.Add(this.editorWidget); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.editorWidget])); w3.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new global::Gtk.HButtonBox(); this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.saveButton = new global::Gtk.Button(); this.saveButton.Sensitive = false; this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseUnderline = true; this.saveButton.Label = global::Mono.Unix.Catalog.GetString("_Save"); global::Gtk.Image w4 = new global::Gtk.Image(); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.saveButton.Image = w4; this.hbuttonbox1.Add(this.saveButton); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.saveButton])); w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbuttonbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.saveButton.Clicked += new global::System.EventHandler(this.OnSaveNotes); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget 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.ExitAction = new global::Gtk.Action("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add(this.ExitAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", "View", null, null); this.ViewAction.ShortLabel = "View"; w1.Add(this.ViewAction, null); this.ExtrasAction = new global::Gtk.Action("ExtrasAction", "Extras", null, null); this.ExtrasAction.ShortLabel = "Extras"; w1.Add(this.ExtrasAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", "Settings ...", null, null); this.SettingsAction.ShortLabel = "Settings ..."; w1.Add(this.SettingsAction, null); this.Action = new global::Gtk.Action("Action", "?", null, null); this.Action.ShortLabel = "?"; w1.Add(this.Action, null); this.AboutAction = new global::Gtk.Action("AboutAction", "About ...", null, null); this.AboutAction.ShortLabel = "About ..."; w1.Add(this.AboutAction, null); this.ShowVideoAction = new global::Gtk.ToggleAction("ShowVideoAction", "Show Video", null, null); this.ShowVideoAction.Sensitive = false; this.ShowVideoAction.ShortLabel = "Show Video"; w1.Add(this.ShowVideoAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "xCom - CamManager"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ShowVideoAction' action='ShowVideoAction'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='SettingsAction' action='SettingsAction'/></menu><menu name='Action' action='Action'><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.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.expConnection = new global::Gtk.Expander(null); this.expConnection.CanFocus = true; this.expConnection.Name = "expConnection"; this.expConnection.Expanded = true; // Container child expConnection.Gtk.Container+ContainerChild this.ctlConnection = new global::xCom.CamManager.CamConnection(); this.ctlConnection.Events = ((global::Gdk.EventMask)(256)); this.ctlConnection.Name = "ctlConnection"; this.expConnection.Add(this.ctlConnection); this.lblConnection = new global::Gtk.Label(); this.lblConnection.Name = "lblConnection"; this.lblConnection.LabelProp = "Connection Settings"; this.lblConnection.UseUnderline = true; this.expConnection.LabelWidget = this.lblConnection; this.vbox2.Add(this.expConnection); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expConnection])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expNavigation = new global::Gtk.Expander(null); this.expNavigation.Sensitive = false; this.expNavigation.CanFocus = true; this.expNavigation.Name = "expNavigation"; // Container child expNavigation.Gtk.Container+ContainerChild this.ctlNavigation = new global::xCom.CamManager.CamNavigation(); this.ctlNavigation.Events = ((global::Gdk.EventMask)(256)); this.ctlNavigation.Name = "ctlNavigation"; this.expNavigation.Add(this.ctlNavigation); this.lblNavigation = new global::Gtk.Label(); this.lblNavigation.Name = "lblNavigation"; this.lblNavigation.LabelProp = "Navigation"; this.lblNavigation.UseUnderline = true; this.expNavigation.LabelWidget = this.lblNavigation; this.vbox2.Add(this.expNavigation); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expNavigation])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expImageSettings = new global::Gtk.Expander(null); this.expImageSettings.Sensitive = false; this.expImageSettings.CanFocus = true; this.expImageSettings.Name = "expImageSettings"; // Container child expImageSettings.Gtk.Container+ContainerChild this.ctlImageSettings = new global::xCom.CamManager.CamImageSettings(); this.ctlImageSettings.Events = ((global::Gdk.EventMask)(256)); this.ctlImageSettings.Name = "ctlImageSettings"; this.expImageSettings.Add(this.ctlImageSettings); this.lblImageSettings = new global::Gtk.Label(); this.lblImageSettings.Name = "lblImageSettings"; this.lblImageSettings.LabelProp = "Image Settings"; this.lblImageSettings.UseUnderline = true; this.expImageSettings.LabelWidget = this.lblImageSettings; this.vbox2.Add(this.expImageSettings); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expImageSettings])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expVideoSettings = new global::Gtk.Expander(null); this.expVideoSettings.Sensitive = false; this.expVideoSettings.CanFocus = true; this.expVideoSettings.Name = "expVideoSettings"; // Container child expVideoSettings.Gtk.Container+ContainerChild this.ctlVideoSettings = new global::xCom.CamManager.CamVideoSettings(); this.ctlVideoSettings.Events = ((global::Gdk.EventMask)(256)); this.ctlVideoSettings.Name = "ctlVideoSettings"; this.expVideoSettings.Add(this.ctlVideoSettings); this.lblVideoSettings = new global::Gtk.Label(); this.lblVideoSettings.Name = "lblVideoSettings"; this.lblVideoSettings.LabelProp = "Video Settings"; this.lblVideoSettings.UseUnderline = true; this.expVideoSettings.LabelWidget = this.lblVideoSettings; this.vbox2.Add(this.expVideoSettings); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expVideoSettings])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.expInfo = new global::Gtk.Expander(null); this.expInfo.Sensitive = false; this.expInfo.CanFocus = true; this.expInfo.Name = "expInfo"; // Container child expInfo.Gtk.Container+ContainerChild this.ctlInfo = new global::xCom.CamManager.CamInfo(); this.ctlInfo.Events = ((global::Gdk.EventMask)(256)); this.ctlInfo.Name = "ctlInfo"; this.expInfo.Add(this.ctlInfo); this.lblInfo = new global::Gtk.Label(); this.lblInfo.Name = "lblInfo"; this.lblInfo.LabelProp = "Info"; this.lblInfo.UseUnderline = true; this.expInfo.LabelWidget = this.lblInfo; this.vbox2.Add(this.expInfo); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.expInfo])); w12.Position = 4; w12.Expand = false; w12.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w13.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.Add(this.vbox1); if((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 266; this.DefaultHeight = 631; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); this.SettingsAction.Activated += new global::System.EventHandler(this.OnSettingsActionActivated); this.ShowVideoAction.Activated += new global::System.EventHandler(this.OnShowVideoActionActivated); this.ctlConnection.ConnectionEstablished += new global::System.EventHandler<xCom.CamManager.ConnectionEventArgs>(this.OnCtlConnectionConnectionEstablished); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewAction = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("_New"), global::Mono.Unix.Catalog.GetString("Creates new pipe"), "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New"); w1.Add(this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("_Open"), global::Mono.Unix.Catalog.GetString("Opens existing pipe"), "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.OpenAction, "<Control>o"); this.SaveAction = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("_Save"), global::Mono.Unix.Catalog.GetString("Saves pipe"), "gtk-floppy"); this.SaveAction.Sensitive = false; this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save"); w1.Add(this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), global::Mono.Unix.Catalog.GetString("Saves pipe as new file"), "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As"); w1.Add(this.SaveAsAction, "<Control>q"); this.ImportAction = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("_Import"), global::Mono.Unix.Catalog.GetString("Imports PCL formatted pipe from the clipboard"), "gtk-go-down"); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import"); w1.Add(this.ImportAction, null); this.ExportAction = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("_Export"), global::Mono.Unix.Catalog.GetString("Exports PCL formatted pipe to the clipboard"), "gtk-go-up"); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export"); w1.Add(this.ExportAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("E_xit"), global::Mono.Unix.Catalog.GetString("Quits application"), "gtk-quit"); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("E_xit"); w1.Add(this.ExitAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit"); w1.Add(this.EditAction, null); this.CutAction = new global::Gtk.Action("CutAction", global::Mono.Unix.Catalog.GetString("Cu_t"), null, "gtk-cut"); this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t"); w1.Add(this.CutAction, "<Control>x"); this.CopyAction = new global::Gtk.Action("CopyAction", global::Mono.Unix.Catalog.GetString("_Copy"), null, "gtk-copy"); this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy"); w1.Add(this.CopyAction, "<Control>c"); this.PasteAction = new global::Gtk.Action("PasteAction", global::Mono.Unix.Catalog.GetString("_Paste"), null, "gtk-paste"); this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste"); w1.Add(this.PasteAction, "<Control>v"); this.DeleteAction = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("_Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Delete"); w1.Add(this.DeleteAction, null); this.SelectAllAction = new global::Gtk.Action("SelectAllAction", global::Mono.Unix.Catalog.GetString("Select _All"), null, "gtk-select-all"); this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select _All"); w1.Add(this.SelectAllAction, "<Control>a"); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Prefere_nces"), null, "gtk-preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Prefere_nces"); w1.Add(this.PreferencesAction, null); this.PipeAction = new global::Gtk.Action("PipeAction", global::Mono.Unix.Catalog.GetString("_Pipe"), null, null); this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Pipe"); w1.Add(this.PipeAction, null); this.RunAction = new global::Gtk.Action("RunAction", global::Mono.Unix.Catalog.GetString("_Run"), global::Mono.Unix.Catalog.GetString("Runs entire pipe"), "gtk-media-play"); this.RunAction.Sensitive = false; this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Run"); w1.Add(this.RunAction, "<Control>r"); this.RunToLineAction = new global::Gtk.Action("RunToLineAction", global::Mono.Unix.Catalog.GetString("Run _To Line"), global::Mono.Unix.Catalog.GetString("Runs pipe to current line only"), "gtk-media-record"); this.RunToLineAction.Sensitive = false; this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Run _To Line"); w1.Add(this.RunToLineAction, "<Control>t"); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.UserGuideAction = new global::Gtk.Action("UserGuideAction", global::Mono.Unix.Catalog.GetString("_User Guide"), null, "gtk-help"); this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_User Guide"); w1.Add(this.UserGuideAction, "F1"); this.SupportForumAction = new global::Gtk.Action("SupportForumAction", global::Mono.Unix.Catalog.GetString("Support _Forum"), null, null); this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Support _Forum"); w1.Add(this.SupportForumAction, null); this.VisitOurHomepageAction = new global::Gtk.Action("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString("Visit Our Homepage"), null, "gtk-home"); this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visit Our Homepage"); w1.Add(this.VisitOurHomepageAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.QuickStartTutorialAction = new global::Gtk.Action("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString("Display quick start tutorial"), null); this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quick Start Tutorial"); w1.Add(this.QuickStartTutorialAction, null); this.FontAction = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("_Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Font"); w1.Add(this.FontAction, null); this.AppendStrAction = new global::Gtk.Action("AppendStrAction", global::Mono.Unix.Catalog.GetString("AppendStr"), null, "gtk-add"); this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("AppendStr"); w1.Add(this.AppendStrAction, null); this.BottomLinesAction = new global::Gtk.Action("BottomLinesAction", global::Mono.Unix.Catalog.GetString("BottomLines"), null, "gtk-goto-bottom"); this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("BottomLines"); w1.Add(this.BottomLinesAction, null); this.CallAction = new global::Gtk.Action("CallAction", global::Mono.Unix.Catalog.GetString("Call"), null, null); this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Call"); w1.Add(this.CallAction, null); this.CountCharsAction = new global::Gtk.Action("CountCharsAction", global::Mono.Unix.Catalog.GetString("CountChars"), null, null); this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountChars"); w1.Add(this.CountCharsAction, null); this.CountLinesAction = new global::Gtk.Action("CountLinesAction", global::Mono.Unix.Catalog.GetString("CountLines"), null, null); this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CountLines"); w1.Add(this.CountLinesAction, null); this.DelBlankLinesAction = new global::Gtk.Action("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString("DelBlankLines"), null, null); this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelBlankLines"); w1.Add(this.DelBlankLinesAction, null); this.DelCharsAction = new global::Gtk.Action("DelCharsAction", global::Mono.Unix.Catalog.GetString("DelChars"), null, null); this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DelChars"); w1.Add(this.DelCharsAction, null); this.ExclLinesAction = new global::Gtk.Action("ExclLinesAction", global::Mono.Unix.Catalog.GetString("ExclLines"), null, null); this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("ExclLines"); w1.Add(this.ExclLinesAction, null); this.InclLinesAction = new global::Gtk.Action("InclLinesAction", global::Mono.Unix.Catalog.GetString("InclLines"), null, null); this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InclLines"); w1.Add(this.InclLinesAction, null); this.InsLineNoAction = new global::Gtk.Action("InsLineNoAction", global::Mono.Unix.Catalog.GetString("InsLineNo"), null, null); this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsLineNo"); w1.Add(this.InsLineNoAction, null); this.InsStrAction = new global::Gtk.Action("InsStrAction", global::Mono.Unix.Catalog.GetString("InsStr"), null, null); this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("InsStr"); w1.Add(this.InsStrAction, null); this.WrapTextAction = new global::Gtk.ToggleAction("WrapTextAction", global::Mono.Unix.Catalog.GetString("_Wrap Text"), null, null); this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Wrap Text"); w1.Add(this.WrapTextAction, null); this.InsertCursorColAction = new global::Gtk.Action("InsertCursorColAction", global::Mono.Unix.Catalog.GetString("Insert Cursor Col"), null, "gtk-add"); this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Insert Cursor Col"); w1.Add(this.InsertCursorColAction, null); this.DemosAction = new global::Gtk.Action("DemosAction", global::Mono.Unix.Catalog.GetString("_Demos"), null, null); this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Demos"); w1.Add(this.DemosAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("PipeWrench"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "stock_standard-filter", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><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.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 178; // Container child hpaned1.Gtk.Paned+PanedChild this.CommandsFrame = new global::Gtk.Frame(); this.CommandsFrame.Name = "CommandsFrame"; this.CommandsFrame.BorderWidth = ((uint)(3)); // Container child CommandsFrame.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(6)); this.GtkAlignment.TopPadding = ((uint)(6)); this.GtkAlignment.RightPadding = ((uint)(6)); this.GtkAlignment.BottomPadding = ((uint)(6)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport(); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.UIManager.AddUiFromString("<ui><toolbar name='CommandsToolbar'/></ui>"); this.CommandsToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/CommandsToolbar"))); this.CommandsToolbar.Name = "CommandsToolbar"; this.CommandsToolbar.Orientation = ((global::Gtk.Orientation)(1)); this.CommandsToolbar.ShowArrow = false; this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.CommandsToolbar.IconSize = ((global::Gtk.IconSize)(2)); w4.Add(this.CommandsToolbar); this.scrolledwindow1.Add(w4); this.GtkAlignment.Add(this.scrolledwindow1); this.CommandsFrame.Add(this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Commands</b>"); this.GtkLabel6.UseMarkup = true; this.CommandsFrame.LabelWidget = this.GtkLabel6; this.hpaned1.Add(this.CommandsFrame); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 156; // Container child vpaned1.Gtk.Paned+PanedChild this.PipeFrame = new global::Gtk.Frame(); this.PipeFrame.Name = "PipeFrame"; this.PipeFrame.BorderWidth = ((uint)(3)); // Container child PipeFrame.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(6)); this.GtkAlignment2.TopPadding = ((uint)(6)); this.GtkAlignment2.RightPadding = ((uint)(6)); this.GtkAlignment2.BottomPadding = ((uint)(6)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.PipeTextView = new global::Gtk.TextView(); this.PipeTextView.TooltipMarkup = "Enter pipe commands here"; this.PipeTextView.CanFocus = true; this.PipeTextView.Name = "PipeTextView"; this.PipeTextView.AcceptsTab = false; this.PipeTextView.RightMargin = 3; this.GtkScrolledWindow.Add(this.PipeTextView); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w11.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Arguments"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ArgsEntry = new global::Gtk.Entry(); this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here"; this.ArgsEntry.CanFocus = true; this.ArgsEntry.Name = "ArgsEntry"; this.ArgsEntry.IsEditable = true; this.ArgsEntry.InvisibleChar = '●'; this.hbox1.Add(this.ArgsEntry); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry])); w13.Position = 1; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.GtkAlignment2.Add(this.vbox3); this.PipeFrame.Add(this.GtkAlignment2); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Pipe</b>"); this.GtkLabel10.UseMarkup = true; this.PipeFrame.LabelWidget = this.GtkLabel10; this.vpaned1.Add(this.PipeFrame); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame])); w17.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.TextFrame = new global::Gtk.Frame(); this.TextFrame.Name = "TextFrame"; this.TextFrame.BorderWidth = ((uint)(3)); // Container child TextFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(6)); this.GtkAlignment1.TopPadding = ((uint)(6)); this.GtkAlignment1.RightPadding = ((uint)(6)); this.GtkAlignment1.BottomPadding = ((uint)(6)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.TextNotebook = new global::Gtk.Notebook(); this.TextNotebook.CanFocus = true; this.TextNotebook.Name = "TextNotebook"; this.TextNotebook.CurrentPage = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.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.InputTextView = new global::Gtk.TextView(); this.InputTextView.Buffer.Text = "replace this text\nwith the text you\nwant to edit."; this.InputTextView.TooltipMarkup = "Copy the text to process here"; this.InputTextView.CanFocus = true; this.InputTextView.Name = "InputTextView"; this.InputTextView.AcceptsTab = false; this.InputTextView.RightMargin = 3; this.GtkScrolledWindow1.Add(this.InputTextView); this.vbox2.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); w19.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("File"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileEntry = new global::Gtk.Entry(); this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file"; this.InputFileEntry.CanFocus = true; this.InputFileEntry.Name = "InputFileEntry"; this.InputFileEntry.IsEditable = false; this.InputFileEntry.InvisibleChar = '●'; this.hbox2.Add(this.InputFileEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry])); w21.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.InputFileBrowseButton = new global::Gtk.Button(); this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file"; this.InputFileBrowseButton.CanFocus = true; this.InputFileBrowseButton.Name = "InputFileBrowseButton"; this.InputFileBrowseButton.UseUnderline = true; this.InputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString("..."); this.hbox2.Add(this.InputFileBrowseButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileClearButton = new global::Gtk.Button(); this.InputFileClearButton.TooltipMarkup = "Clear input text file"; this.InputFileClearButton.CanFocus = true; this.InputFileClearButton.Name = "InputFileClearButton"; this.InputFileClearButton.UseUnderline = true; this.InputFileClearButton.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.hbox2.Add(this.InputFileClearButton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.TextNotebook.Add(this.vbox2); // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.OutputTextView = new global::Gtk.TextView(); this.OutputTextView.TooltipMarkup = "Edited text is output here"; this.OutputTextView.CanFocus = true; this.OutputTextView.Name = "OutputTextView"; this.OutputTextView.AcceptsTab = false; this.OutputTextView.RightMargin = 3; this.GtkScrolledWindow2.Add(this.OutputTextView); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w27.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("File"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileEntry = new global::Gtk.Entry(); this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file"; this.OutputFileEntry.CanFocus = true; this.OutputFileEntry.Name = "OutputFileEntry"; this.OutputFileEntry.IsEditable = false; this.OutputFileEntry.InvisibleChar = '●'; this.hbox3.Add(this.OutputFileEntry); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry])); w29.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileBrowseButton = new global::Gtk.Button(); this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file"; this.OutputFileBrowseButton.CanFocus = true; this.OutputFileBrowseButton.Name = "OutputFileBrowseButton"; this.OutputFileBrowseButton.UseUnderline = true; this.OutputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString("..."); this.hbox3.Add(this.OutputFileBrowseButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileClearButton = new global::Gtk.Button(); this.OutputFileClearButton.TooltipMarkup = "Clear output text file"; this.OutputFileClearButton.CanFocus = true; this.OutputFileClearButton.Name = "OutputFileClearButton"; this.OutputFileClearButton.UseUnderline = true; this.OutputFileClearButton.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.hbox3.Add(this.OutputFileClearButton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.vbox4.Add(this.hbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.TextNotebook.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4])); w33.Position = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ErrorsTextView = new global::Gtk.TextView(); this.ErrorsTextView.TooltipMarkup = "Errors are reported here"; this.ErrorsTextView.CanFocus = true; this.ErrorsTextView.Name = "ErrorsTextView"; this.ErrorsTextView.Editable = false; this.ErrorsTextView.AcceptsTab = false; this.ErrorsTextView.RightMargin = 3; this.GtkScrolledWindow3.Add(this.ErrorsTextView); this.TextNotebook.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3])); w35.Position = 2; this.GtkAlignment1.Add(this.TextNotebook); this.TextFrame.Add(this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Text</b>"); this.GtkLabel14.UseMarkup = true; this.TextFrame.LabelWidget = this.GtkLabel14; this.vpaned1.Add(this.TextFrame); this.hpaned1.Add(this.vpaned1); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w40.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.TheStatusBar = new global::Gtk.Statusbar(); this.TheStatusBar.Name = "TheStatusBar"; this.TheStatusBar.Spacing = 6; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarCursorPosLabel = new global::Gtk.Label(); this.StatusBarCursorPosLabel.Name = "StatusBarCursorPosLabel"; this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString("(0, 0)"); this.TheStatusBar.Add(this.StatusBarCursorPosLabel); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel])); w41.Position = 0; w41.Expand = false; w41.Fill = false; w41.Padding = ((uint)(4)); // Container child TheStatusBar.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.TheStatusBar.Add(this.vseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarTextLabel = new global::Gtk.Label(); this.StatusBarTextLabel.Name = "StatusBarTextLabel"; this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString(" "); this.TheStatusBar.Add(this.StatusBarTextLabel); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel])); w43.Position = 2; w43.Expand = false; w43.Fill = false; w43.Padding = ((uint)(4)); this.vbox1.Add(this.TheStatusBar); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar])); w44.Position = 3; w44.Expand = false; w44.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 488; this.DefaultHeight = 458; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler(this.NewAction_OnActivated); this.OpenAction.Activated += new global::System.EventHandler(this.OpenAction_OnActivated); this.SaveAction.Activated += new global::System.EventHandler(this.SaveAction_OnActivated); this.SaveAsAction.Activated += new global::System.EventHandler(this.SaveAsAction_OnActivated); this.ImportAction.Activated += new global::System.EventHandler(this.ImportAction_OnActivated); this.ExportAction.Activated += new global::System.EventHandler(this.ExportAction_OnActivated); this.ExitAction.Activated += new global::System.EventHandler(this.OnExit); this.CutAction.Activated += new global::System.EventHandler(this.Cut_OnActivated); this.CopyAction.Activated += new global::System.EventHandler(this.Copy_OnActivated); this.PasteAction.Activated += new global::System.EventHandler(this.Paste_OnActivated); this.DeleteAction.Activated += new global::System.EventHandler(this.Delete_OnActivated); this.SelectAllAction.Activated += new global::System.EventHandler(this.SelectAll_OnActivated); this.PreferencesAction.Activated += new global::System.EventHandler(this.Preferences_OnActivated); this.RunAction.Activated += new global::System.EventHandler(this.RunAction_OnActivated); this.RunToLineAction.Activated += new global::System.EventHandler(this.RunToLineAction_OnActivated); this.UserGuideAction.Activated += new global::System.EventHandler(this.UserGuide_OnActivated); this.AboutAction.Activated += new global::System.EventHandler(this.About_OnActivated); this.InsertCursorColAction.Activated += new global::System.EventHandler(this.InsertCursorCol_OnActivated); this.DemosAction.Activated += new global::System.EventHandler(this.Demos_OnActivated); this.PipeTextView.MoveCursor += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor); this.PipeTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent); this.PipeTextView.Focused += new global::Gtk.FocusedHandler(this.TextView_OnFocused); this.PipeTextView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.PipeTextView_OnKeyReleaseEvent); this.InputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent); this.InputTextView.MoveCursor += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor); this.InputTextView.Focused += new global::Gtk.FocusedHandler(this.TextView_OnFocused); this.InputFileEntry.Changed += new global::System.EventHandler(this.InputFileEntry_OnChanged); this.InputFileBrowseButton.Clicked += new global::System.EventHandler(this.InputFileBrowseButton_OnClicked); this.InputFileClearButton.Clicked += new global::System.EventHandler(this.InputFileClearButton_Clicked); this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.TextView_OnButtonReleaseEvent); this.OutputTextView.MoveCursor += new global::Gtk.MoveCursorHandler(this.TextView_OnMoveCursor); this.OutputTextView.Focused += new global::Gtk.FocusedHandler(this.TextView_OnFocused); this.OutputFileEntry.Changed += new global::System.EventHandler(this.OutputFileEntry_OnChanged); this.OutputFileBrowseButton.Clicked += new global::System.EventHandler(this.OutputFileBrowseButton_OnClicked); this.OutputFileClearButton.Clicked += new global::System.EventHandler(this.OutputFileClearButton_Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget fyiReporting.RdlGtkViewer.ReportViewer Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh"); this.refreshAction.IsImportant = true; w2.Add(this.refreshAction, null); this.PdfAction = new global::Gtk.Action("PdfAction", global::Mono.Unix.Catalog.GetString("_Pdf"), null, "PdfIcon"); this.PdfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Pdf"); w2.Add(this.PdfAction, null); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("_Print"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Print"); w2.Add(this.printAction, null); this.ZoomOutAction = new global::Gtk.Action("ZoomOutAction", null, null, "gtk-zoom-out"); this.ZoomOutAction.IsImportant = true; w2.Add(this.ZoomOutAction, null); this.ZoomInAction = new global::Gtk.Action("ZoomInAction", null, null, "gtk-zoom-in"); this.ZoomInAction.IsImportant = true; w2.Add(this.ZoomInAction, null); this.errorsAction = new global::Gtk.ToggleAction("errorsAction", null, null, "gtk-dialog-warning"); this.errorsAction.DrawAsRadio = true; this.errorsAction.IsImportant = true; this.errorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Errors"); w2.Add(this.errorsAction, null); this.UIManager.InsertActionGroup(w2, 0); this.WidthRequest = 0; this.HeightRequest = 0; this.Name = "fyiReporting.RdlGtkViewer.ReportViewer"; // Container child fyiReporting.RdlGtkViewer.ReportViewer.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hboxHeader = new global::Gtk.HBox(); this.hboxHeader.Name = "hboxHeader"; this.hboxHeader.Spacing = 6; // Container child hboxHeader.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='printAction' action='printAction'/><toolitem name='PdfAction' action='PdfAction'/><separator/><toolitem name='ZoomInAction' action='ZoomInAction'/><toolitem name='ZoomOutAction' action='ZoomOutAction'/><toolitem name='refreshAction' action='refreshAction'/><separator/><toolitem name='errorsAction' action='errorsAction'/></toolbar></ui>"); this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); this.toolbar.Name = "toolbar"; this.toolbar.ShowArrow = false; this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.hboxHeader.Add(this.toolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxHeader [this.toolbar])); w3.Position = 0; this.vbox.Add(this.hboxHeader); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hboxHeader])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox = new global::Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.vboxParameters = new global::Gtk.VBox(); this.vboxParameters.Name = "vboxParameters"; this.vboxParameters.Spacing = 6; this.hbox.Add(this.vboxParameters); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox [this.vboxParameters])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox.Gtk.Box+BoxChild this.hpanedReport = new global::Gtk.HPaned(); this.hpanedReport.CanFocus = true; this.hpanedReport.Name = "hpanedReport"; this.hpanedReport.Position = 455; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowPages = new global::Gtk.ScrolledWindow(); this.scrolledwindowPages.CanFocus = true; this.scrolledwindowPages.Name = "scrolledwindowPages"; this.scrolledwindowPages.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowPages.Gtk.Container+ContainerChild global::Gtk.Viewport w6 = new global::Gtk.Viewport(); w6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vboxPages = new global::Gtk.VBox(); this.vboxPages.Name = "vboxPages"; this.vboxPages.Spacing = 6; w6.Add(this.vboxPages); this.scrolledwindowPages.Add(w6); this.hpanedReport.Add(this.scrolledwindowPages); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowPages])); w9.Resize = false; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowErrors = new global::Gtk.ScrolledWindow(); this.scrolledwindowErrors.CanFocus = true; this.scrolledwindowErrors.Name = "scrolledwindowErrors"; this.scrolledwindowErrors.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowErrors.Gtk.Container+ContainerChild this.textviewErrors = new global::Gtk.TextView(); this.textviewErrors.WidthRequest = 200; this.textviewErrors.CanFocus = true; this.textviewErrors.Name = "textviewErrors"; this.scrolledwindowErrors.Add(this.textviewErrors); this.hpanedReport.Add(this.scrolledwindowErrors); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowErrors])); w11.Resize = false; w11.Shrink = false; this.hbox.Add(this.hpanedReport); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox [this.hpanedReport])); w12.Position = 1; this.vbox.Add(this.hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox])); w13.Position = 1; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.vboxParameters.Hide(); this.textviewErrors.Hide(); this.Hide(); this.refreshAction.Activated += new global::System.EventHandler(this.OnRefreshActionActivated); this.PdfAction.Activated += new global::System.EventHandler(this.OnPdfActionActivated); this.printAction.Activated += new global::System.EventHandler(this.OnPrintActionActivated); this.ZoomOutAction.Activated += new global::System.EventHandler(this.OnZoomOutActionActivated); this.ZoomInAction.Activated += new global::System.EventHandler(this.OnZoomInActionActivated); this.hpanedReport.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHpanedReportSizeAllocated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quitAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.ViewAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Save XML"), null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save XML"); w1.Add (this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction ("iconsAction", global::Mono.Unix.Catalog.GetString ("Icons"), null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Icons"); w1.Add (this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action ("exportAsAction", global::Mono.Unix.Catalog.GetString ("_Export As"), null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export As"); w1.Add (this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action ("exportAsRRAction", global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"), null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"); w1.Add (this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action ("plotExternalAction", global::Mono.Unix.Catalog.GetString ("_Plot External (gnuplot)"), null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot"); w1.Add (this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action ("checksumWindowAction", global::Mono.Unix.Catalog.GetString ("Checksum Window"), null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Checksum Window"); w1.Add (this.checksumWindowAction, null); this.statisticsWindowAction = new global::Gtk.Action ("statisticsWindowAction", global::Mono.Unix.Catalog.GetString ("Statistics Window"), null, null); this.statisticsWindowAction.Sensitive = false; this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Statistics Window"); w1.Add (this.statisticsWindowAction, null); this.PlotAction = new global::Gtk.Action ("PlotAction", global::Mono.Unix.Catalog.GetString ("_Plot"), null, null); this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot"); w1.Add (this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action ("createSVGFileAction", global::Mono.Unix.Catalog.GetString ("Create SVG File"), null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create SVG File"); w1.Add (this.createSVGFileAction, null); this.visualizationAction = new global::Gtk.Action ("visualizationAction", global::Mono.Unix.Catalog.GetString ("Visualization"), null, "gtk-refresh"); this.visualizationAction.Sensitive = false; this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualization"); w1.Add (this.visualizationAction, "<Control>space"); this.DataAction = new global::Gtk.Action ("DataAction", global::Mono.Unix.Catalog.GetString ("_Data"), null, null); this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Data"); w1.Add (this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action ("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString ("Export Table as CSV"), null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Table as CSV"); w1.Add (this.exportTableAsCSVAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ScoobyRom"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child 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='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></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.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned (); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 200; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView (); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add (this.treeview2D); this.vpaned2D.Add (this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w4.Resize = false; w4.Shrink = false; this.notebook1.Add (this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("2D Tables"); this.notebook1.SetTabLabel (this.vpaned2D, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned (); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 200; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow (); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView (); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add (this.treeview3D); this.vpaned3D.Add (this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w7.Resize = false; w7.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow (); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add (this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w8.Resize = false; w8.Shrink = false; this.notebook1.Add (this.vpaned3D); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w9.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("3D Tables"); this.notebook1.SetTabLabel (this.vpaned3D, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add (this.progressbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w11.Position = 2; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler (this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler (this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler (this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler (this.OnROMChecksumsActionActivated); this.statisticsWindowAction.Activated += new global::System.EventHandler (this.OnStatisticsWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler (this.OnCreateSVGFileActionActivated); this.visualizationAction.Activated += new global::System.EventHandler (this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler (this.OnExportTableAsCSVActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget frz.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.AnsichtAction = new global::Gtk.Action("AnsichtAction", "Ansicht", null, null); this.AnsichtAction.ShortLabel = "Ansicht"; w1.Add(this.AnsichtAction, null); this.DateiAction = new global::Gtk.Action("DateiAction", "Datei", null, null); this.DateiAction.ShortLabel = "Datei"; w1.Add(this.DateiAction, null); this.HilfeAction = new global::Gtk.Action("HilfeAction", "Hilfe", null, null); this.HilfeAction.ShortLabel = "Hilfe"; w1.Add(this.HilfeAction, null); this.WortlisteFfnenAction = new global::Gtk.Action("WortlisteFfnenAction", "Wortliste öffnen", null, null); this.WortlisteFfnenAction.ShortLabel = "Wortliste öffnen"; w1.Add(this.WortlisteFfnenAction, null); this.ErgebnisInDateiSpeichernAction = new global::Gtk.Action("ErgebnisInDateiSpeichernAction", "Ergebnis in Datei speichern", null, null); this.ErgebnisInDateiSpeichernAction.ShortLabel = "Ergebnis in Datei speichern"; w1.Add(this.ErgebnisInDateiSpeichernAction, null); this.SchlieenAction = new global::Gtk.Action("SchlieenAction", "Schließen", null, null); this.SchlieenAction.ShortLabel = "Schließen"; w1.Add(this.SchlieenAction, null); this.NormalansichtAction = new global::Gtk.Action("NormalansichtAction", "Normalansicht", null, null); this.NormalansichtAction.ShortLabel = "Normalanischt"; w1.Add(this.NormalansichtAction, null); this.DokumentationAction = new global::Gtk.Action("DokumentationAction", "Dokumentation", null, null); this.DokumentationAction.ShortLabel = "Dokumentation"; w1.Add(this.DokumentationAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", "About", null, null); this.AboutAction.ShortLabel = "About"; w1.Add(this.AboutAction, null); this.ExtrasAction = new global::Gtk.Action("ExtrasAction", "Extras", null, null); this.ExtrasAction.ShortLabel = "Extras"; w1.Add(this.ExtrasAction, null); this.openAction = new global::Gtk.Action("openAction", null, "Testliste öffnen", "gtk-open"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, "Ausgabe speichern", "gtk-save"); w1.Add(this.saveAction, null); this.LeerenAction = new global::Gtk.Action("LeerenAction", "Leeren", null, null); this.LeerenAction.ShortLabel = "Leeren"; w1.Add(this.LeerenAction, null); this.deleteAction = new global::Gtk.Action("deleteAction", "_Löschen", "Ausgabefenster leeren", "gtk-delete"); this.deleteAction.ShortLabel = "_Löschen"; w1.Add(this.deleteAction, null); this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear"); w1.Add(this.clearAction, null); this.expandAction = new global::Gtk.ToggleAction("expandAction", null, "Alle Details anzeigen", "gtk-add"); w1.Add(this.expandAction, null); this.BearbeitenAction = new global::Gtk.Action("BearbeitenAction", "Bearbeiten", null, null); this.BearbeitenAction.ShortLabel = "Bearbeiten"; w1.Add(this.BearbeitenAction, null); this.TextdateienNeuEinlesenAction = new global::Gtk.Action("TextdateienNeuEinlesenAction", "Textdateien neu einlesen", null, null); this.TextdateienNeuEinlesenAction.ShortLabel = "Textdateien neu einlesen"; w1.Add(this.TextdateienNeuEinlesenAction, null); this.diacriticsToggleAction = new global::Gtk.ToggleAction("diacriticsToggleAction", null, "Eingabe mit/ohne Diakritika", "gtk-strikethrough"); this.diacriticsToggleAction.Active = true; w1.Add(this.diacriticsToggleAction, null); this.ModusAction = new global::Gtk.Action("ModusAction", "Modus", null, null); this.ModusAction.ShortLabel = "Modus"; w1.Add(this.ModusAction, null); this.LautentwicklungAction = new global::Gtk.RadioAction("LautentwicklungAction", "Lautentwicklung", null, null, 0); this.LautentwicklungAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.LautentwicklungAction.ShortLabel = "Lautentwicklungen"; w1.Add(this.LautentwicklungAction, null); this.TranskriptionDerZielspracheAction = new global::Gtk.RadioAction("TranskriptionDerZielspracheAction", "Transkription der Zielsprache", null, null, 0); this.TranskriptionDerZielspracheAction.Group = this.LautentwicklungAction.Group; this.TranskriptionDerZielspracheAction.ShortLabel = "Transkription in der Zielsprache"; w1.Add(this.TranskriptionDerZielspracheAction, null); this.WortformerkennungDerQuellspracheAction = new global::Gtk.RadioAction("WortformerkennungDerQuellspracheAction", "Wortformerkennung der Quellsprache", null, null, 0); this.WortformerkennungDerQuellspracheAction.Group = this.LautentwicklungAction.Group; this.WortformerkennungDerQuellspracheAction.ShortLabel = "Wortformerkennung der Quellsprache"; w1.Add(this.WortformerkennungDerQuellspracheAction, null); this.WortformerkennungDerZielspracheAction = new global::Gtk.RadioAction("WortformerkennungDerZielspracheAction", "Wortformerkennung der Zielsprache", null, null, 0); this.WortformerkennungDerZielspracheAction.Group = this.LautentwicklungAction.Group; this.WortformerkennungDerZielspracheAction.ShortLabel = "Wortformerkennung der Zielsprache"; w1.Add(this.WortformerkennungDerZielspracheAction, null); this.Action = new global::Gtk.RadioAction("Action", null, null, null, 0); this.Action.Group = this.WortformerkennungDerZielspracheAction.Group; w1.Add(this.Action, null); this.TranskriptionDerQuellspracheAction = new global::Gtk.RadioAction("TranskriptionDerQuellspracheAction", "Transkription der Quellsprache", null, null, 0); this.TranskriptionDerQuellspracheAction.Group = this.WortformerkennungDerZielspracheAction.Group; this.TranskriptionDerQuellspracheAction.ShortLabel = "Transkription der Quellsprache"; w1.Add(this.TranskriptionDerQuellspracheAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "frz.MainWindow"; this.Title = "CEW"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child frz.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='DateiAction' action='DateiAction'><menuitem name='WortlisteFfnenAction' action='WortlisteFfnenAction'/><menuitem name='ErgebnisInDateiSpeichernAction' action='ErgebnisInDateiSpeichernAction'/><menuitem name='SchlieenAction' action='SchlieenAction'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='TextdateienNeuEinlesenAction' action='TextdateienNeuEinlesenAction'/></menu><menu name='AnsichtAction' action='AnsichtAction'><menuitem name='LeerenAction' action='LeerenAction'/></menu><menu name='HilfeAction' action='HilfeAction'><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; w2.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 4; // Container child hbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='expandAction' action='expandAction'/><toolitem name='diacriticsToggleAction' action='diacriticsToggleAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.hbox2.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.toolbar1])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.modusLabel = new global::Gtk.Label(); this.modusLabel.Name = "modusLabel"; this.modusLabel.LabelProp = "Modus:"; this.hbox2.Add(this.modusLabel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.modusLabel])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboboxModus = global::Gtk.ComboBoxEntry.NewText(); this.comboboxModus.AppendText("Lautentwicklung"); this.comboboxModus.AppendText("Transkription der Quellsprache"); this.comboboxModus.AppendText("Transkription der Zielsprache"); this.comboboxModus.AppendText("Wortformerkennung der Quellsprache"); this.comboboxModus.AppendText("Wortformerkennung der Zielsprache"); this.comboboxModus.TooltipMarkup = "Modus der Analyse"; this.comboboxModus.WidthRequest = 255; this.comboboxModus.Name = "comboboxModus"; this.comboboxModus.Active = 0; this.hbox2.Add(this.comboboxModus); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxModus])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.hbox2.Add(this.entry1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entry1])); w6.Position = 3; w6.Expand = false; // Container child hbox2.Gtk.Box+BoxChild this.Start = new global::Gtk.Button(); this.Start.TooltipMarkup = "Analyse starten"; this.Start.CanFocus = true; this.Start.Name = "Start"; this.Start.UseUnderline = true; this.Start.Label = "Start"; this.hbox2.Add(this.Start); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.Start])); w7.Position = 4; w7.Expand = false; w7.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; w8.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w10.Position = 3; w10.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w11.Position = 4; w11.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); w12.Position = 5; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.WidthRequest = 250; this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.calcResultOutputLine1_1 = new global::Gtk.Label(); this.calcResultOutputLine1_1.WidthRequest = 0; this.calcResultOutputLine1_1.Name = "calcResultOutputLine1_1"; this.vbox2.Add(this.calcResultOutputLine1_1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calcResultOutputLine1_1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.calcResultOutputLine2 = new global::Gtk.Label(); this.calcResultOutputLine2.Name = "calcResultOutputLine2"; this.vbox2.Add(this.calcResultOutputLine2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.calcResultOutputLine2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox5.Add(this.vbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(10)); // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.WidthRequest = 250; this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calcResultOutputLine3 = new global::Gtk.Label(); this.calcResultOutputLine3.WidthRequest = 400; this.calcResultOutputLine3.Name = "calcResultOutputLine3"; this.vbox3.Add(this.calcResultOutputLine3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.calcResultOutputLine3])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.calcResultOutputLine4 = new global::Gtk.Label(); this.calcResultOutputLine4.Name = "calcResultOutputLine4"; this.vbox3.Add(this.calcResultOutputLine4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.calcResultOutputLine4])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.hbox5.Add(this.vbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox3])); w18.Position = 1; w18.Expand = false; w18.Fill = false; w18.Padding = ((uint)(10)); // Container child hbox5.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.WidthRequest = 250; this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.calcResultOutputLine1_2 = new global::Gtk.Label(); this.calcResultOutputLine1_2.Name = "calcResultOutputLine1_2"; this.vbox4.Add(this.calcResultOutputLine1_2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.calcResultOutputLine1_2])); w19.Position = 0; w19.Expand = false; w19.Fill = false; this.hbox5.Add(this.vbox4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox4])); w20.Position = 2; w20.Expand = false; w20.Fill = false; w20.Padding = ((uint)(10)); this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w21.Position = 6; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(5)); this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 822; this.DefaultHeight = 459; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.WortlisteFfnenAction.Activated += new global::System.EventHandler(this.OnOpen); this.ErgebnisInDateiSpeichernAction.Activated += new global::System.EventHandler(this.OnSave); this.SchlieenAction.Activated += new global::System.EventHandler(this.OnExit); this.AboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.openAction.Activated += new global::System.EventHandler(this.OnOpen); this.saveAction.Activated += new global::System.EventHandler(this.OnSave); this.LeerenAction.Activated += new global::System.EventHandler(this.OnClear); this.deleteAction.Activated += new global::System.EventHandler(this.OnClear); this.clearAction.Activated += new global::System.EventHandler(this.OnClear); this.expandAction.Toggled += new global::System.EventHandler(this.OnExpand); this.TextdateienNeuEinlesenAction.Activated += new global::System.EventHandler(this.OnRereadFiles); this.diacriticsToggleAction.Toggled += new global::System.EventHandler(this.OnDiacritics); this.LautentwicklungAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction); this.TranskriptionDerZielspracheAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction); this.WortformerkennungDerQuellspracheAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction); this.WortformerkennungDerZielspracheAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction); this.TranskriptionDerQuellspracheAction.Changed += new global::Gtk.ChangedHandler(this.OnModusAction); this.comboboxModus.Changed += new global::System.EventHandler(this.OnModusAction); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget PackageViewerWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Select Transistor Package Directory"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Transistor Data Directory"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Export All Textures For Editing"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export All Files For Editing"); w1.Add(this.saveAction, null); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Convert Directory To Package"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Convert Files To Package"); w1.Add(this.convertAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.subtexturesAction = new global::Gtk.ToggleAction("subtexturesAction", global::Mono.Unix.Catalog.GetString("Subtextures"), null, null); this.subtexturesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Subtextures"); w1.Add(this.subtexturesAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "PackageViewerWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Psiga Package Viewer"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child PackageViewerWindow.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='menubar'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='convertAction' action='convertAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='subtexturesAction' action='subtexturesAction'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar"))); this.menubar.Name = "menubar"; this.vbox1.Add(this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.packagewidget1 = new global::Psiga.PackageWidget(); this.packagewidget1.Events = ((global::Gdk.EventMask)(256)); this.packagewidget1.Name = "packagewidget1"; this.vbox1.Add(this.packagewidget1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.packagewidget1])); w3.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar = new global::Gtk.Statusbar(); this.statusbar.Name = "statusbar"; this.statusbar.Spacing = 6; // Container child statusbar.Gtk.Box+BoxChild this.progressbar = new global::Gtk.ProgressBar(); this.progressbar.Name = "progressbar"; this.statusbar.Add(this.progressbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.statusbar [this.progressbar])); w4.Position = 1; this.vbox1.Add(this.statusbar); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1550; this.DefaultHeight = 718; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.OpenURLAction = new global::Gtk.Action("OpenURLAction", global::Mono.Unix.Catalog.GetString("_Open URL..."), null, null); this.OpenURLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open URL ..."); w1.Add(this.OpenURLAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("_Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Exit"); w1.Add(this.ExitAction, null); this.MediaPlayerAction = new global::Gtk.Action("MediaPlayerAction", global::Mono.Unix.Catalog.GetString("_Media Player"), null, null); this.MediaPlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Media Player"); w1.Add(this.MediaPlayerAction, null); this.AlwaysOnTopAction = new global::Gtk.ToggleAction("AlwaysOnTopAction", global::Mono.Unix.Catalog.GetString("Always on Top"), null, null); this.AlwaysOnTopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Always on Top"); w1.Add(this.AlwaysOnTopAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About..."), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About..."); w1.Add(this.AboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LiveStreamer"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-network", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenURLAction' action='OpenURLAction'/><menuitem name='ExitAction' action='ExitAction'/></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.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanDefault = true; this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 273; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.streamList = new global::Gtk.TreeView(); this.streamList.CanFocus = true; this.streamList.Name = "streamList"; this.streamList.Reorderable = true; this.streamList.SearchColumn = 0; this.GtkScrolledWindow.Add(this.streamList); this.hbox4.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.GtkScrolledWindow])); w4.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbuttonbox2 = new global::Gtk.VButtonBox(); this.vbuttonbox2.Name = "vbuttonbox2"; this.vbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label(); w9.LabelProp = global::Mono.Unix.Catalog.GetString("_Add"); w9.UseUnderline = true; w6.Add(w9); w5.Add(w6); this.button2.Add(w5); this.vbuttonbox2.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button2])); w13.Expand = false; w13.Fill = false; // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; // Container child button4.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label(); w18.LabelProp = global::Mono.Unix.Catalog.GetString("_Remove"); w18.UseUnderline = true; w15.Add(w18); w14.Add(w15); this.button4.Add(w14); this.vbuttonbox2.Add(this.button4); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox4.Add(this.vbuttonbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbuttonbox2])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hpaned1.Add(this.hbox4); global::Gtk.Paned.PanedChild w24 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hbox4])); w24.Resize = false; w24.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.fixed11 = new global::Gtk.Fixed(); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; // Container child fixed11.Gtk.Fixed+FixedChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); this.GtkAlignment3.BorderWidth = ((uint)(3)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.table4 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.addPlayerButton = new global::Gtk.Button(); this.addPlayerButton.CanFocus = true; this.addPlayerButton.Name = "addPlayerButton"; this.addPlayerButton.UseUnderline = true; // Container child addPlayerButton.Gtk.Container+ContainerChild global::Gtk.Alignment w25 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w26 = new global::Gtk.HBox(); w26.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); w26.Add(w27); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w29 = new global::Gtk.Label(); w26.Add(w29); w25.Add(w26); this.addPlayerButton.Add(w25); this.table4.Add(this.addPlayerButton); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table4 [this.addPlayerButton])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Media Player"); this.table4.Add(this.label2); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Quality"); this.table4.Add(this.label3); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.mediaPlayerCombo = global::Gtk.ComboBox.NewText(); this.mediaPlayerCombo.AppendText(global::Mono.Unix.Catalog.GetString("vlc")); this.mediaPlayerCombo.AppendText(global::Mono.Unix.Catalog.GetString("mplayer")); this.mediaPlayerCombo.Name = "mediaPlayerCombo"; this.mediaPlayerCombo.Active = 0; this.table4.Add(this.mediaPlayerCombo); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4 [this.mediaPlayerCombo])); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.qualityCombo = global::Gtk.ComboBox.NewText(); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("best")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("1080p+")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("1080p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("720p+")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("720p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("480p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("360p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("240p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("worst")); this.qualityCombo.Name = "qualityCombo"; this.qualityCombo.Active = 0; this.table4.Add(this.qualityCombo); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4 [this.qualityCombo])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment3.Add(this.table4); this.frame3.Add(this.GtkAlignment3); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.WidthRequest = 200; this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.Xalign = 0F; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Options"); this.GtkLabel6.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel6; this.fixed11.Add(this.frame3); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.frame3])); w40.X = 13; w40.Y = 4; this.hpaned1.Add(this.fixed11); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w42.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.stdOutStatus = new global::Gtk.Statusbar(); this.stdOutStatus.Name = "stdOutStatus"; this.stdOutStatus.Spacing = 6; this.stdOutStatus.HasResizeGrip = false; // Container child stdOutStatus.Gtk.Box+BoxChild this.watchButton = new global::Gtk.Button(); this.watchButton.CanFocus = true; this.watchButton.Name = "watchButton"; this.watchButton.UseUnderline = true; this.watchButton.Label = global::Mono.Unix.Catalog.GetString("Watch"); this.stdOutStatus.Add(this.watchButton); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.stdOutStatus [this.watchButton])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox2.Add(this.stdOutStatus); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.stdOutStatus])); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 510; this.DefaultHeight = 203; this.hpaned1.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.OpenURLAction.Activated += new global::System.EventHandler(this.OpenURL); this.ExitAction.Activated += new global::System.EventHandler(this.OnQuit); this.AboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.button2.Clicked += new global::System.EventHandler(this.AddStream); this.button4.Clicked += new global::System.EventHandler(this.RemoveStream); this.addPlayerButton.Clicked += new global::System.EventHandler(this.EditPlayers); this.watchButton.Clicked += new global::System.EventHandler(this.WatchSelectedStream); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.ConfigAction = new global::Gtk.Action("ConfigAction", global::Mono.Unix.Catalog.GetString("Config"), null, null); this.ConfigAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Config"); w1.Add(this.ConfigAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.FileAction1 = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction1, null); this.ConfigAction1 = new global::Gtk.Action("ConfigAction1", global::Mono.Unix.Catalog.GetString("Config"), null, null); this.ConfigAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Config"); w1.Add(this.ConfigAction1, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction1, null); this.InstallPatchAction = new global::Gtk.Action("InstallPatchAction", global::Mono.Unix.Catalog.GetString("Install Patch"), null, null); this.InstallPatchAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Install Patch"); w1.Add(this.InstallPatchAction, null); this.RemovePatchAction = new global::Gtk.Action("RemovePatchAction", global::Mono.Unix.Catalog.GetString("Remove Patch"), null, null); this.RemovePatchAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Remove Patch"); w1.Add(this.RemovePatchAction, null); this.DownloadLatestPatcherAction = new global::Gtk.Action("DownloadLatestPatcherAction", global::Mono.Unix.Catalog.GetString("Download Latest Patcher"), null, null); this.DownloadLatestPatcherAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Download Latest Patcher"); w1.Add(this.DownloadLatestPatcherAction, null); this.LookForTTMMUpdateAction = new global::Gtk.Action("LookForTTMMUpdateAction", global::Mono.Unix.Catalog.GetString("Look for TTMM Update"), null, null); this.LookForTTMMUpdateAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Look for TTMM Update"); w1.Add(this.LookForTTMMUpdateAction, null); this.DownloadAllModUpdatesAction = new global::Gtk.Action("DownloadAllModUpdatesAction", global::Mono.Unix.Catalog.GetString("Download All Mod Updates"), null, null); this.DownloadAllModUpdatesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Download All Mod Updates"); w1.Add(this.DownloadAllModUpdatesAction, null); this.ShowLogAction = new global::Gtk.ToggleAction("ShowLogAction", global::Mono.Unix.Catalog.GetString("Show Log"), null, null); this.ShowLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show Log"); w1.Add(this.ShowLogAction, null); this.SkipStartAction = new global::Gtk.ToggleAction("SkipStartAction", global::Mono.Unix.Catalog.GetString("Skip Start"), null, null); this.SkipStartAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Skip Start"); w1.Add(this.SkipStartAction, null); this.SetGithubTokenAction = new global::Gtk.Action("SetGithubTokenAction", global::Mono.Unix.Catalog.GetString("Set Github Token"), null, null); this.SetGithubTokenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Github Token"); w1.Add(this.SetGithubTokenAction, null); this.TTMMGithubPageAction = new global::Gtk.Action("TTMMGithubPageAction", global::Mono.Unix.Catalog.GetString("TTMM Github Page"), null, null); this.TTMMGithubPageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TTMM Github Page"); w1.Add(this.TTMMGithubPageAction, null); this.TTMMForumPageAction = new global::Gtk.Action("TTMMForumPageAction", global::Mono.Unix.Catalog.GetString("TTMM Forum Page"), null, null); this.TTMMForumPageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TTMM Forum Page"); w1.Add(this.TTMMForumPageAction, null); this.TTMMWikiPageAction = new global::Gtk.Action("TTMMWikiPageAction", global::Mono.Unix.Catalog.GetString("TTMM Wiki Page"), null, null); this.TTMMWikiPageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TTMM Wiki Page"); w1.Add(this.TTMMWikiPageAction, null); this.GithubReleasesAction = new global::Gtk.Action("GithubReleasesAction", global::Mono.Unix.Catalog.GetString("Github Releases"), null, null); this.GithubReleasesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Github Releases"); w1.Add(this.GithubReleasesAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("TerraTech Mod Manager"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("TerraTechModManagerGTK.Big TTMM Logo.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 3; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction1' action='FileAction1'><menuitem name='InstallPatchAction' action='InstallPatchAction'/><menuitem name='RemovePatchAction' action='RemovePatchAction'/><menuitem name='DownloadLatestPatcherAction' action='DownloadLatestPatcherAction'/><menuitem name='LookForTTMMUpdateAction' action='LookForTTMMUpdateAction'/><menuitem name='DownloadAllModUpdatesAction' action='DownloadAllModUpdatesAction'/></menu><menu name='ConfigAction1' action='ConfigAction1'><menuitem name='SkipStartAction' action='SkipStartAction'/><menuitem name='SetGithubTokenAction' action='SetGithubTokenAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='TTMMGithubPageAction' action='TTMMGithubPageAction'/><menuitem name='TTMMForumPageAction' action='TTMMForumPageAction'/><menuitem name='TTMMWikiPageAction' action='TTMMWikiPageAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.hbox4.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.menubar1])); w2.Position = 0; w2.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.labelCurrentTask = new global::Gtk.Label(); this.labelCurrentTask.Name = "labelCurrentTask"; this.labelCurrentTask.Xalign = 1F; this.labelCurrentTask.LabelProp = global::Mono.Unix.Catalog.GetString("Idle"); this.hbox4.Add(this.labelCurrentTask); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.labelCurrentTask])); w3.Position = 1; w3.Padding = ((uint)(5)); this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; this.hbox2.BorderWidth = ((uint)(5)); // Container child hbox2.Gtk.Box+BoxChild this.labelFind = new global::Gtk.Label(); this.labelFind.Name = "labelFind"; this.labelFind.LabelProp = global::Mono.Unix.Catalog.GetString("Find"); this.hbox2.Add(this.labelFind); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelFind])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entryModSearch = new global::Gtk.Entry(); this.entryModSearch.CanFocus = true; this.entryModSearch.Name = "entryModSearch"; this.entryModSearch.IsEditable = true; this.entryModSearch.InvisibleChar = '•'; this.hbox2.Add(this.entryModSearch); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryModSearch])); w6.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonSearchMods = new global::Gtk.Button(); this.buttonSearchMods.CanFocus = true; this.buttonSearchMods.Name = "buttonSearchMods"; this.buttonSearchMods.UseUnderline = true; this.buttonSearchMods.Label = global::Mono.Unix.Catalog.GetString("Continue"); this.hbox2.Add(this.buttonSearchMods); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonSearchMods])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.TabPagerMods = new global::Gtk.Notebook(); this.TabPagerMods.CanFocus = true; this.TabPagerMods.Name = "TabPagerMods"; this.TabPagerMods.CurrentPage = 0; // Container child TabPagerMods.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.treeviewLocalMods = new global::Gtk.TreeView(); this.treeviewLocalMods.CanFocus = true; this.treeviewLocalMods.Name = "treeviewLocalMods"; this.treeviewLocalMods.SearchColumn = 1; this.GtkScrolledWindow1.Add(this.treeviewLocalMods); this.TabPagerMods.Add(this.GtkScrolledWindow1); // Notebook tab this.tabLabelLocalMods = new global::Gtk.Label(); this.tabLabelLocalMods.Name = "tabLabelLocalMods"; this.tabLabelLocalMods.LabelProp = global::Mono.Unix.Catalog.GetString("Installed Mods"); this.TabPagerMods.SetTabLabel(this.GtkScrolledWindow1, this.tabLabelLocalMods); this.tabLabelLocalMods.ShowAll(); // Container child TabPagerMods.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.treeviewGithubMods = new global::Gtk.TreeView(); this.treeviewGithubMods.CanFocus = true; this.treeviewGithubMods.Name = "treeviewGithubMods"; this.treeviewGithubMods.SearchColumn = 1; this.GtkScrolledWindow.Add(this.treeviewGithubMods); this.TabPagerMods.Add(this.GtkScrolledWindow); global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.TabPagerMods[this.GtkScrolledWindow])); w12.Position = 1; // Notebook tab this.tabLabelGithubMods = new global::Gtk.Label(); this.tabLabelGithubMods.Name = "tabLabelGithubMods"; this.tabLabelGithubMods.LabelProp = global::Mono.Unix.Catalog.GetString("Github Mods"); this.TabPagerMods.SetTabLabel(this.GtkScrolledWindow, this.tabLabelGithubMods); this.tabLabelGithubMods.ShowAll(); this.vbox1.Add(this.TabPagerMods); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.TabPagerMods])); w13.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.ModInfoVBox = new global::Gtk.VBox(); this.ModInfoVBox.Name = "ModInfoVBox"; this.ModInfoVBox.Spacing = 6; // Container child ModInfoVBox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.labelModTitle = new global::Gtk.Label(); this.labelModTitle.Name = "labelModTitle"; this.labelModTitle.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Name</b>"); this.labelModTitle.UseMarkup = true; this.vbox3.Add(this.labelModTitle); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.labelModTitle])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.labelModDesc = new global::Gtk.Label(); this.labelModDesc.Name = "labelModDesc"; this.labelModDesc.Xalign = 0F; this.labelModDesc.LabelProp = global::Mono.Unix.Catalog.GetString("An inline description of the selected mod"); this.labelModDesc.Wrap = true; this.hbox1.Add(this.labelModDesc); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelModDesc])); w15.Position = 0; w15.Padding = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.labelModLink = new global::Gtk.Label(); this.labelModLink.CanFocus = true; this.labelModLink.Name = "labelModLink"; this.labelModLink.Xalign = 1F; this.labelModLink.LabelProp = global::Mono.Unix.Catalog.GetString("Link"); this.labelModLink.UseUnderline = true; this.labelModLink.Selectable = true; this.hbox1.Add(this.labelModLink); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.labelModLink])); w16.Position = 1; w16.Expand = false; w16.Fill = false; w16.Padding = ((uint)(5)); this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.ModInfoVBox.Add(this.vbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.ModInfoVBox[this.vbox3])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child ModInfoVBox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; this.hbox3.BorderWidth = ((uint)(5)); // Container child hbox3.Gtk.Box+BoxChild this.comboboxModState = global::Gtk.ComboBox.NewText(); this.comboboxModState.AppendText(global::Mono.Unix.Catalog.GetString("Enabled")); this.comboboxModState.AppendText(global::Mono.Unix.Catalog.GetString("Inactive")); this.comboboxModState.AppendText(global::Mono.Unix.Catalog.GetString("Disabled")); this.comboboxModState.Name = "comboboxModState"; this.comboboxModState.Active = 2; this.hbox3.Add(this.comboboxModState); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.comboboxModState])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonModDownload = new global::Gtk.Button(); this.buttonModDownload.CanFocus = true; this.buttonModDownload.Name = "buttonModDownload"; this.buttonModDownload.UseUnderline = true; this.buttonModDownload.Label = global::Mono.Unix.Catalog.GetString("Download Mod"); this.hbox3.Add(this.buttonModDownload); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonModDownload])); w20.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.buttonModInfo = new global::Gtk.Button(); this.buttonModInfo.CanFocus = true; this.buttonModInfo.Name = "buttonModInfo"; this.buttonModInfo.UseUnderline = true; this.buttonModInfo.Label = global::Mono.Unix.Catalog.GetString("Description"); this.hbox3.Add(this.buttonModInfo); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonModInfo])); w21.Position = 2; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.buttonModRemove = new global::Gtk.Button(); this.buttonModRemove.CanFocus = true; this.buttonModRemove.Name = "buttonModRemove"; this.buttonModRemove.UseUnderline = true; this.buttonModRemove.Label = global::Mono.Unix.Catalog.GetString("Delete Mod"); this.hbox3.Add(this.buttonModRemove); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.buttonModRemove])); w22.Position = 3; w22.Expand = false; w22.Fill = false; this.ModInfoVBox.Add(this.hbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.ModInfoVBox[this.hbox3])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.ModInfoVBox); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ModInfoVBox])); w24.Position = 3; w24.Expand = false; w24.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 822; this.DefaultHeight = 431; this.buttonSearchMods.Hide(); this.ModInfoVBox.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.InstallPatchAction.Activated += new global::System.EventHandler(this.UserInstallPatch); this.RemovePatchAction.Activated += new global::System.EventHandler(this.UserRemovePatch); this.DownloadLatestPatcherAction.Activated += new global::System.EventHandler(this.UserUpdatePatch); this.LookForTTMMUpdateAction.Activated += new global::System.EventHandler(this.UserUpdateTTMM); this.DownloadAllModUpdatesAction.Activated += new global::System.EventHandler(this.TryDownloadAllModUpdates); this.SkipStartAction.Toggled += new global::System.EventHandler(this.ChangeSkipStart); this.SetGithubTokenAction.Activated += new global::System.EventHandler(this.SetGithubToken_Clicked); this.TTMMGithubPageAction.Activated += new global::System.EventHandler(this.OpenGithubPage); this.TTMMForumPageAction.Activated += new global::System.EventHandler(this.OpenForumPage); this.TTMMWikiPageAction.Activated += new global::System.EventHandler(this.OpenWikiPage); this.entryModSearch.Activated += new global::System.EventHandler(this.EntryModSearchActivated); this.entryModSearch.Changed += new global::System.EventHandler(this.EntryModSearchActivated); this.buttonSearchMods.Clicked += new global::System.EventHandler(this.ButtonSearchModsClicked); this.TabPagerMods.SwitchPage += new global::Gtk.SwitchPageHandler(this.TabChanged); this.comboboxModState.Changed += new global::System.EventHandler(this.SetModState); this.buttonModDownload.Clicked += new global::System.EventHandler(this.GetModFromCloud); this.buttonModInfo.Clicked += new global::System.EventHandler(this.ModDescPreviewer); this.buttonModRemove.Clicked += new global::System.EventHandler(this.DeleteLocalMod); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Chimera.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.mnFile = new global::Gtk.Action ("mnFile", global::Mono.Unix.Catalog.GetString ("_Datei"), null, null); this.mnFile.ShortLabel = global::Mono.Unix.Catalog.GetString ("Datei"); w1.Add (this.mnFile, null); this.ModusAction = new global::Gtk.Action ("ModusAction", global::Mono.Unix.Catalog.GetString ("_Modus"), null, null); this.ModusAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Modus"); w1.Add (this.ModusAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction, null); this.mnFileNew = new global::Gtk.Action ("mnFileNew", global::Mono.Unix.Catalog.GetString ("_Neu"), null, "gtk-new"); this.mnFileNew.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu"); w1.Add (this.mnFileNew, null); this.mnFileOpen = new global::Gtk.Action ("mnFileOpen", global::Mono.Unix.Catalog.GetString ("Ö_ffnen"), null, null); this.mnFileOpen.ShortLabel = global::Mono.Unix.Catalog.GetString ("Öffnen"); w1.Add (this.mnFileOpen, "<Primary>o"); this.mnFileSave = new global::Gtk.Action ("mnFileSave", global::Mono.Unix.Catalog.GetString ("_Speichern"), null, "gtk-save"); this.mnFileSave.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern"); w1.Add (this.mnFileSave, null); this.mnFilePlot = new global::Gtk.Action ("mnFilePlot", global::Mono.Unix.Catalog.GetString ("_Plot"), null, "gtk-print"); this.mnFilePlot.ShortLabel = global::Mono.Unix.Catalog.GetString ("Plot"); w1.Add (this.mnFilePlot, "<Primary>p"); this.mnFileQuit = new global::Gtk.Action ("mnFileQuit", global::Mono.Unix.Catalog.GetString ("_Beenden"), null, null); this.mnFileQuit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden"); w1.Add (this.mnFileQuit, "<Primary>q"); this.mnModePresentation = new global::Gtk.RadioAction ("mnModePresentation", global::Mono.Unix.Catalog.GetString ("_Darstellung"), null, null, 0); this.mnModePresentation.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.mnModePresentation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Presentation"); w1.Add (this.mnModePresentation, "<Primary>1"); this.mnModeModification = new global::Gtk.RadioAction ("mnModeModification", global::Mono.Unix.Catalog.GetString ("_Bearbeiten"), null, null, 1); this.mnModeModification.Group = this.mnModePresentation.Group; this.mnModeModification.ShortLabel = global::Mono.Unix.Catalog.GetString ("Modification"); w1.Add (this.mnModeModification, "<Primary>2"); this.mnModeInvestigation = new global::Gtk.RadioAction ("mnModeInvestigation", global::Mono.Unix.Catalog.GetString ("_Untersuchung"), null, null, 2); this.mnModeInvestigation.Group = this.mnModeModification.Group; this.mnModeInvestigation.Sensitive = false; this.mnModeInvestigation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Investigation"); w1.Add (this.mnModeInvestigation, "<Primary>3"); this.AWPAction = new global::Gtk.Action ("AWPAction", global::Mono.Unix.Catalog.GetString ("_AWP"), null, null); this.AWPAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AWP"); w1.Add (this.AWPAction, null); this.mnAwpRandom = new global::Gtk.Action ("mnAwpRandom", global::Mono.Unix.Catalog.GetString ("_Zufall"), null, null); this.mnAwpRandom.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zufall"); w1.Add (this.mnAwpRandom, null); this.mnAwpTwoSteps = new global::Gtk.Action ("mnAwpTwoSteps", global::Mono.Unix.Catalog.GetString ("Zwei _Stufen"), null, null); this.mnAwpTwoSteps.ShortLabel = global::Mono.Unix.Catalog.GetString ("2 Stufen"); w1.Add (this.mnAwpTwoSteps, null); this.mnAwpCurrent = new global::Gtk.Action ("mnAwpCurrent", global::Mono.Unix.Catalog.GetString ("_Aktuell"), null, null); this.mnAwpCurrent.ShortLabel = global::Mono.Unix.Catalog.GetString ("Aktuell"); w1.Add (this.mnAwpCurrent, null); this.mnExtras = new global::Gtk.Action ("mnExtras", global::Mono.Unix.Catalog.GetString ("_Extras"), null, null); this.mnExtras.ShortLabel = global::Mono.Unix.Catalog.GetString ("Aktion"); w1.Add (this.mnExtras, null); this.mnExtrasPlayPause = new global::Gtk.ToggleAction ("mnExtrasPlayPause", global::Mono.Unix.Catalog.GetString ("_Abspielen"), null, null); this.mnExtrasPlayPause.ShortLabel = global::Mono.Unix.Catalog.GetString ("Abspielen"); w1.Add (this.mnExtrasPlayPause, "F5"); this.mnExtrasClear = new global::Gtk.Action ("mnExtrasClear", global::Mono.Unix.Catalog.GetString ("Phasenportait _löschen"), null, null); this.mnExtrasClear.ShortLabel = global::Mono.Unix.Catalog.GetString ("Phasenportait löschen"); w1.Add (this.mnExtrasClear, "F9"); this.mnHelp = new global::Gtk.Action ("mnHelp", global::Mono.Unix.Catalog.GetString ("_Hilfe"), null, null); this.mnHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe"); w1.Add (this.mnHelp, null); this.mnHelpHelp = new global::Gtk.Action ("mnHelpHelp", global::Mono.Unix.Catalog.GetString ("_Hilfe"), null, null); this.mnHelpHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe"); w1.Add (this.mnHelpHelp, "F1"); this.mnHelpAbout = new global::Gtk.Action ("mnHelpAbout", global::Mono.Unix.Catalog.GetString ("Ü_ber..."), null, null); this.mnHelpAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über..."); w1.Add (this.mnHelpAbout, null); this.mnExtrasOption = new global::Gtk.Action ("mnExtrasOption", global::Mono.Unix.Catalog.GetString ("_Optionen"), null, "gtk-preferences"); this.mnExtrasOption.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Optionen"); w1.Add (this.mnExtrasOption, null); this.ZeitpunktAction = new global::Gtk.RadioAction ("ZeitpunktAction", global::Mono.Unix.Catalog.GetString ("Zeitpunkt"), null, null, 0); this.ZeitpunktAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.ZeitpunktAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zeitpunkt"); w1.Add (this.ZeitpunktAction, null); this.HistorieAction = new global::Gtk.RadioAction ("HistorieAction", global::Mono.Unix.Catalog.GetString ("Historie"), null, null, 1); this.HistorieAction.Group = this.ZeitpunktAction.Group; this.HistorieAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Historie"); w1.Add (this.HistorieAction, null); this.SchwerpunktAction = new global::Gtk.RadioAction ("SchwerpunktAction", global::Mono.Unix.Catalog.GetString ("Schwerpunkt"), null, null, 2); this.SchwerpunktAction.Group = this.HistorieAction.Group; this.SchwerpunktAction.Sensitive = false; this.SchwerpunktAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Schwerpunkt"); w1.Add (this.SchwerpunktAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Chimera.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Chimera"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Chimera.cc.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Chimera.MainWindow.Gtk.Container+ContainerChild this.layoutBox = new global::Gtk.VBox (); this.layoutBox.Name = "layoutBox"; this.layoutBox.Spacing = 6; // Container child layoutBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubarTop'><menu name='mnFile' action='mnFile'><menuitem name='mnFileNew' action='mnFileNew'/><menuitem name='mnFileOpen' action='mnFileOpen'/><menuitem name='mnFileSave' action='mnFileSave'/><menuitem name='mnFilePlot' action='mnFilePlot'/><menuitem name='mnFileQuit' action='mnFileQuit'/></menu><menu name='ModusAction' action='ModusAction'><menuitem name='mnModePresentation' action='mnModePresentation'/><menuitem name='mnModeModification' action='mnModeModification'/><menuitem name='mnModeInvestigation' action='mnModeInvestigation'/></menu><menu name='AWPAction' action='AWPAction'><menuitem name='mnAwpRandom' action='mnAwpRandom'/><menuitem name='mnAwpTwoSteps' action='mnAwpTwoSteps'/><menuitem name='mnAwpCurrent' action='mnAwpCurrent'/></menu><menu name='mnExtras' action='mnExtras'><menuitem name='mnExtrasPlayPause' action='mnExtrasPlayPause'/><menuitem name='mnExtrasClear' action='mnExtrasClear'/><menuitem name='mnExtrasOption' action='mnExtrasOption'/></menu><menu name='mnHelp' action='mnHelp'><menuitem name='mnHelpHelp' action='mnHelpHelp'/><menuitem name='mnHelpAbout' action='mnHelpAbout'/></menu></menubar></ui>"); this.menubarTop = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarTop"))); this.menubarTop.Name = "menubarTop"; this.layoutBox.Add (this.menubarTop); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.menubarTop])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child layoutBox.Gtk.Box+BoxChild this.contentColumns = new global::Gtk.HBox (); this.contentColumns.Name = "contentColumns"; this.contentColumns.Spacing = 6; // Container child contentColumns.Gtk.Box+BoxChild this.rightLayout = new global::Gtk.VBox (); this.rightLayout.Name = "rightLayout"; this.rightLayout.Spacing = 6; // Container child rightLayout.Gtk.Box+BoxChild this.boxPhase = new global::Gtk.HBox (); this.boxPhase.Name = "boxPhase"; this.boxPhase.Spacing = 6; // Container child boxPhase.Gtk.Box+BoxChild this.lblVertical = new global::Gtk.Label (); this.lblVertical.Name = "lblVertical"; this.boxPhase.Add (this.lblVertical); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.boxPhase [this.lblVertical])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.rightLayout.Add (this.boxPhase); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.boxPhase])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child rightLayout.Gtk.Box+BoxChild this.lblHorizontal = new global::Gtk.Label (); this.lblHorizontal.Name = "lblHorizontal"; this.rightLayout.Add (this.lblHorizontal); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.lblHorizontal])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child rightLayout.Gtk.Box+BoxChild this.PropertiesLayout = new global::Gtk.Table (((uint)(7)), ((uint)(2)), false); this.PropertiesLayout.Name = "PropertiesLayout"; this.PropertiesLayout.RowSpacing = ((uint)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.btnPlayPause = new global::Gtk.Button (); this.btnPlayPause.CanFocus = true; this.btnPlayPause.Name = "btnPlayPause"; // Container child btnPlayPause.Gtk.Container+ContainerChild this.drawPlayPause = new global::Gtk.DrawingArea (); this.drawPlayPause.WidthRequest = 16; this.drawPlayPause.HeightRequest = 16; this.drawPlayPause.Name = "drawPlayPause"; this.btnPlayPause.Add (this.drawPlayPause); this.btnPlayPause.Label = null; this.PropertiesLayout.Add (this.btnPlayPause); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.btnPlayPause])); w7.TopAttach = ((uint)(6)); w7.BottomAttach = ((uint)(7)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.hboxN = new global::Gtk.HBox (); this.hboxN.Name = "hboxN"; this.hboxN.Spacing = 6; // Container child hboxN.Gtk.Box+BoxChild this.numN = new global::Gtk.SpinButton (0, 1000, 1); this.numN.CanFocus = true; this.numN.Name = "numN"; this.numN.Adjustment.PageIncrement = 10; this.numN.ClimbRate = 1; this.numN.Numeric = true; this.numN.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.hboxN.Add (this.numN); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxN [this.numN])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.PropertiesLayout.Add (this.hboxN); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.hboxN])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.hboxP = new global::Gtk.HBox (); this.hboxP.Name = "hboxP"; this.hboxP.Spacing = 6; // Container child hboxP.Gtk.Box+BoxChild this.numP = new global::Gtk.SpinButton (0, 1000, 1); this.numP.CanFocus = true; this.numP.Name = "numP"; this.numP.Adjustment.PageIncrement = 10; this.numP.ClimbRate = 1; this.numP.Numeric = true; this.numP.UpdatePolicy = ((global::Gtk.SpinButtonUpdatePolicy)(1)); this.hboxP.Add (this.numP); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hboxP [this.numP])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.PropertiesLayout.Add (this.hboxP); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.hboxP])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblBeta = new global::Gtk.Label (); this.lblBeta.Name = "lblBeta"; this.lblBeta.LabelProp = global::Mono.Unix.Catalog.GetString ("β:"); this.lblBeta.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblBeta); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblBeta])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblK = new global::Gtk.Label (); this.lblK.Name = "lblK"; this.lblK.LabelProp = global::Mono.Unix.Catalog.GetString ("K:"); this.lblK.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblK); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblK])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblLambda = new global::Gtk.Label (); this.lblLambda.Name = "lblLambda"; this.lblLambda.LabelProp = global::Mono.Unix.Catalog.GetString ("λ:"); this.lblLambda.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblLambda); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblLambda])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblN = new global::Gtk.Label (); this.lblN.Name = "lblN"; this.lblN.LabelProp = global::Mono.Unix.Catalog.GetString ("N:"); this.lblN.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblN); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblN])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblOmega = new global::Gtk.Label (); this.lblOmega.Name = "lblOmega"; this.lblOmega.LabelProp = global::Mono.Unix.Catalog.GetString ("ω:"); this.lblOmega.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblOmega); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblOmega])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.lblP = new global::Gtk.Label (); this.lblP.Name = "lblP"; this.lblP.LabelProp = global::Mono.Unix.Catalog.GetString ("P:"); this.lblP.Justify = ((global::Gtk.Justification)(1)); this.PropertiesLayout.Add (this.lblP); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.lblP])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.slideBeta = new global::Gtk.HScale (null); this.slideBeta.CanFocus = true; this.slideBeta.Name = "slideBeta"; this.slideBeta.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.slideBeta.Adjustment.Upper = 6.28; this.slideBeta.Adjustment.PageIncrement = 0.1; this.slideBeta.Adjustment.StepIncrement = 0.01; this.slideBeta.DrawValue = true; this.slideBeta.Digits = 2; this.slideBeta.ValuePos = ((global::Gtk.PositionType)(0)); this.PropertiesLayout.Add (this.slideBeta); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideBeta])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.slideK = new global::Gtk.HScale (null); this.slideK.CanFocus = true; this.slideK.Name = "slideK"; this.slideK.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.slideK.Adjustment.Upper = 99; this.slideK.Adjustment.PageIncrement = 1; this.slideK.Adjustment.StepIncrement = 0.1; this.slideK.DrawValue = true; this.slideK.Digits = 0; this.slideK.ValuePos = ((global::Gtk.PositionType)(0)); this.PropertiesLayout.Add (this.slideK); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideK])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.slideLambda = new global::Gtk.HScale (null); this.slideLambda.CanFocus = true; this.slideLambda.Name = "slideLambda"; this.slideLambda.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.slideLambda.Adjustment.Upper = 99; this.slideLambda.Adjustment.PageIncrement = 1; this.slideLambda.Adjustment.StepIncrement = 0.1; this.slideLambda.DrawValue = true; this.slideLambda.Digits = 0; this.slideLambda.ValuePos = ((global::Gtk.PositionType)(0)); this.PropertiesLayout.Add (this.slideLambda); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideLambda])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.slideOmega = new global::Gtk.HScale (null); this.slideOmega.CanFocus = true; this.slideOmega.Name = "slideOmega"; this.slideOmega.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.slideOmega.Adjustment.Upper = 10; this.slideOmega.Adjustment.PageIncrement = 1; this.slideOmega.Adjustment.StepIncrement = 0.1; this.slideOmega.DrawValue = true; this.slideOmega.Digits = 0; this.slideOmega.ValuePos = ((global::Gtk.PositionType)(0)); this.PropertiesLayout.Add (this.slideOmega); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideOmega])); w21.TopAttach = ((uint)(3)); w21.BottomAttach = ((uint)(4)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child PropertiesLayout.Gtk.Table+TableChild this.slideTime = new global::Gtk.HScale (null); this.slideTime.CanFocus = true; this.slideTime.Name = "slideTime"; this.slideTime.Adjustment.Upper = 100; this.slideTime.Adjustment.PageIncrement = 10; this.slideTime.Adjustment.StepIncrement = 1; this.slideTime.DrawValue = true; this.slideTime.Digits = 2; this.slideTime.ValuePos = ((global::Gtk.PositionType)(1)); this.PropertiesLayout.Add (this.slideTime); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.PropertiesLayout [this.slideTime])); w22.TopAttach = ((uint)(6)); w22.BottomAttach = ((uint)(7)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.rightLayout.Add (this.PropertiesLayout); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.rightLayout [this.PropertiesLayout])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.contentColumns.Add (this.rightLayout); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.contentColumns [this.rightLayout])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.layoutBox.Add (this.contentColumns); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.contentColumns])); w25.Position = 1; // Container child layoutBox.Gtk.Box+BoxChild this.statusMain = new global::Gtk.Statusbar (); this.statusMain.Name = "statusMain"; this.statusMain.Spacing = 6; // Container child statusMain.Gtk.Box+BoxChild this.lblStatus = new global::Gtk.Label (); this.lblStatus.Name = "lblStatus"; this.lblStatus.Selectable = true; this.statusMain.Add (this.lblStatus); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.statusMain [this.lblStatus])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child statusMain.Gtk.Box+BoxChild this.progressStatus = new global::Gtk.ProgressBar (); this.progressStatus.Name = "progressStatus"; this.statusMain.Add (this.progressStatus); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.statusMain [this.progressStatus])); w27.Position = 2; this.layoutBox.Add (this.statusMain); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.layoutBox [this.statusMain])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.Add (this.layoutBox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 558; this.DefaultHeight = 309; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated); this.mnFileNew.Activated += new global::System.EventHandler (this.OnMnFileNewActivated); this.mnFileOpen.Activated += new global::System.EventHandler (this.OnMnFileOpenActivated); this.mnFileSave.Activated += new global::System.EventHandler (this.OnMnFileSaveActivated); this.mnFilePlot.Activated += new global::System.EventHandler (this.OnMnFilePlotActivated); this.mnFileQuit.Activated += new global::System.EventHandler (this.OnMnFileCloseActivated); this.mnModePresentation.Changed += new global::Gtk.ChangedHandler (this.OnPresentationActionChanged); this.mnModeModification.Changed += new global::Gtk.ChangedHandler (this.OnMnModeModificationChanged); this.mnModeInvestigation.Changed += new global::Gtk.ChangedHandler (this.OnInvestigationActionChanged); this.mnAwpRandom.Activated += new global::System.EventHandler (this.OnMnAwpRandomActivated); this.mnAwpTwoSteps.Activated += new global::System.EventHandler (this.OnMnAwp2StepsActivated); this.mnAwpCurrent.Activated += new global::System.EventHandler (this.OnMnAwpCurrentActivated); this.mnExtrasPlayPause.Activated += new global::System.EventHandler (this.OnMnExtrasPlayActivated); this.mnExtrasClear.Activated += new global::System.EventHandler (this.OnMnExtrasClearPhaseActivated); this.mnHelpAbout.Activated += new global::System.EventHandler (this.OnMnHelpAboutActivated); this.mnExtrasOption.Activated += new global::System.EventHandler (this.OnMnExtrasOptionActivated); this.ZeitpunktAction.Changed += new global::Gtk.ChangedHandler (this.OnZeitpunktActionChanged); this.HistorieAction.Changed += new global::Gtk.ChangedHandler (this.OnHistorieActionChanged); this.slideTime.ValueChanged += new global::System.EventHandler (this.OnSlideTimeValueChanged); this.slideOmega.ValueChanged += new global::System.EventHandler (this.OnSlideOmegaValueChanged); this.slideLambda.ValueChanged += new global::System.EventHandler (this.OnSlideLambdaValueChanged); this.slideK.ValueChanged += new global::System.EventHandler (this.OnSlideKValueChanged); this.slideBeta.ValueChanged += new global::System.EventHandler (this.OnSlideBetaValueChanged); this.numP.ValueChanged += new global::System.EventHandler (this.OnNumPValueChanged); this.numN.ValueChanged += new global::System.EventHandler (this.OnNumNValueChanged); this.btnPlayPause.Clicked += new global::System.EventHandler (this.OnBtnPlayPauseClicked); this.drawPlayPause.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawPlayPauseExposeEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget FontTool.FontStyleWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ( "FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null ); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.SaveAction = new global::Gtk.Action ( "SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, null ); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, null); this.CloseAction = new global::Gtk.Action ( "CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null ); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseAction, null); this.SettingsAction = new global::Gtk.Action ( "SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null ); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.SettingsAction, null); this.FontAction = new global::Gtk.Action ( "FontAction", global::Mono.Unix.Catalog.GetString("Font"), null, null ); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font"); w1.Add (this.FontAction, null); this.WindowStyleAction = new global::Gtk.Action ( "WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null ); this.WindowStyleAction.Sensitive = false; this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Window style"); this.WindowStyleAction.Visible = false; w1.Add (this.WindowStyleAction, null); this.HelpAction = new global::Gtk.Action ( "HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null ); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ( "AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null ); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.CustomStyleAction = new global::Gtk.RadioAction ( "CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE2"), null, null, 0 ); this.CustomStyleAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.CustomStyleAction.Sensitive = false; this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DGLE2"); this.CustomStyleAction.Visible = false; w1.Add (this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction ( "PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0 ); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Platform"); w1.Add (this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction ( "DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE2"), null, null, 0 ); this.DecoratedCustomStyleAction.Group = this.CustomStyleAction.Group; this.DecoratedCustomStyleAction.Sensitive = false; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Decorated DGLE2"); this.DecoratedCustomStyleAction.Visible = false; w1.Add (this.DecoratedCustomStyleAction, null); this.OnlyEnglishAction = new global::Gtk.ToggleAction ( "OnlyEnglishAction", global::Mono.Unix.Catalog.GetString("Only English"), null, null ); this.OnlyEnglishAction.Active = true; this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only English"); w1.Add (this.OnlyEnglishAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 500; this.HeightRequest = 500; this.CanDefault = true; this.Name = "FontTool.FontStyleWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("FontStyleWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; // Container child FontTool.FontStyleWindow.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='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='FontAction' action='FontAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></menu></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.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeFont = new global::Gtk.TreeView (); this.treeFont.CanFocus = true; this.treeFont.Name = "treeFont"; this.GtkScrolledWindow.Add (this.treeFont); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w4.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.lPreview = new global::Gtk.Label (); this.lPreview.Name = "lPreview"; this.lPreview.Xalign = 0F; this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview"); this.vbox6.Add (this.lPreview); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.lPreview])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.preview = new global::Gtk.DrawingArea (); this.preview.HeightRequest = 90; this.preview.Name = "preview"; this.vbox6.Add (this.preview); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.preview])); w6.Position = 1; // Container child vbox6.Gtk.Box+BoxChild this.ePreviewSample = new global::Gtk.Entry (); this.ePreviewSample.CanFocus = true; this.ePreviewSample.Name = "ePreviewSample"; this.ePreviewSample.Text = global::Mono.Unix.Catalog.GetString ("DGLE2 is here!"); this.ePreviewSample.IsEditable = true; this.ePreviewSample.InvisibleChar = '●'; this.vbox6.Add (this.ePreviewSample); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.ePreviewSample])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vbox2.Add (this.vbox6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox6])); w8.Position = 1; w8.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(12)); this.table1.ColumnSpacing = ((uint)(12)); // Container child table1.Gtk.Table+TableChild this.cbBold = new global::Gtk.CheckButton (); this.cbBold.CanFocus = true; this.cbBold.Name = "cbBold"; this.cbBold.Label = global::Mono.Unix.Catalog.GetString ("Bold"); this.cbBold.DrawIndicator = true; this.cbBold.UseUnderline = true; this.table1.Add (this.cbBold); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbBold])); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cbItalic = new global::Gtk.CheckButton (); this.cbItalic.CanFocus = true; this.cbItalic.Name = "cbItalic"; this.cbItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic"); this.cbItalic.DrawIndicator = true; this.cbItalic.UseUnderline = true; this.table1.Add (this.cbItalic); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbItalic])); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cbStrikeout = new global::Gtk.CheckButton (); this.cbStrikeout.CanFocus = true; this.cbStrikeout.Name = "cbStrikeout"; this.cbStrikeout.Label = global::Mono.Unix.Catalog.GetString ("Strikeout"); this.cbStrikeout.DrawIndicator = true; this.cbStrikeout.UseUnderline = true; this.table1.Add (this.cbStrikeout); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbStrikeout])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cbUnderline = new global::Gtk.CheckButton (); this.cbUnderline.CanFocus = true; this.cbUnderline.Name = "cbUnderline"; this.cbUnderline.Label = global::Mono.Unix.Catalog.GetString ("Underline"); this.cbUnderline.DrawIndicator = true; this.cbUnderline.UseUnderline = true; this.table1.Add (this.cbUnderline); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnderline])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lSize = new global::Gtk.Label (); this.lSize.Name = "lSize"; this.lSize.Xalign = 0F; this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Size"); this.table1.Add (this.lSize); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.lSize])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lStretch = new global::Gtk.Label (); this.lStretch.Name = "lStretch"; this.lStretch.Xalign = 0F; this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString ("Stretch"); this.table1.Add (this.lStretch); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.lStretch])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.sbSize = new global::Gtk.SpinButton (4, 72, 1); this.sbSize.WidthRequest = 80; this.sbSize.CanFocus = true; this.sbSize.Name = "sbSize"; this.sbSize.Adjustment.PageIncrement = 10; this.sbSize.ClimbRate = 1; this.sbSize.Numeric = true; this.sbSize.Value = 12; this.table1.Add (this.sbSize); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.sbSize])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.sbStretch = new global::Gtk.SpinButton (0, 72, 1); this.sbStretch.WidthRequest = 80; this.sbStretch.CanFocus = true; this.sbStretch.Name = "sbStretch"; this.sbStretch.Adjustment.PageIncrement = 10; this.sbStretch.ClimbRate = 1; this.sbStretch.Numeric = true; this.table1.Add (this.sbStretch); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.sbStretch])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w17.Position = 2; w17.Expand = false; w17.Fill = false; w17.Padding = ((uint)(6)); this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w18.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 500; this.DefaultHeight = 500; this.HasDefault = true; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget 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.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.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.saveAction = new global::Gtk.Action ("saveAction", "_Save XML", null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = "_Save XML"; w1.Add (this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction ("iconsAction", "Icons", null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = "Icons"; w1.Add (this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action ("exportAsAction", "_Export As", null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = "_Export As"; w1.Add (this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action ("exportAsRRAction", "_RomRaider Def XML", null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = "RomRaider Def XML"; w1.Add (this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action ("plotExternalAction", "_Plot External (gnuplot)", null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = "_Plot"; w1.Add (this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action ("checksumWindowAction", "Checksum Window", null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = "Checksum Window"; w1.Add (this.checksumWindowAction, null); this.propertiesWindowAction = new global::Gtk.Action ("propertiesWindowAction", "Properties Window", null, "gtk-properties"); this.propertiesWindowAction.Sensitive = false; this.propertiesWindowAction.ShortLabel = "Properties Window"; w1.Add (this.propertiesWindowAction, "<Alt><Mod2>Return"); this.PlotAction = new global::Gtk.Action ("PlotAction", "_Plot", null, null); this.PlotAction.ShortLabel = "_Plot"; w1.Add (this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action ("createSVGFileAction", "Create SVG File", null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = "Create SVG File"; w1.Add (this.createSVGFileAction, null); this.visualisationAction = new global::Gtk.Action ("visualisationAction", "_Visualisation", null, "gtk-refresh"); this.visualisationAction.Sensitive = false; this.visualisationAction.ShortLabel = "Visualization"; w1.Add (this.visualisationAction, "<Control>space"); this.DataAction = new global::Gtk.Action ("DataAction", "_Data", null, null); this.DataAction.ShortLabel = "_Data"; w1.Add (this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action ("exportTableAsCSVAction", "Export Table as CSV", null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = "Export Table as CSV"; w1.Add (this.exportTableAsCSVAction, null); this.zoomInAction = new global::Gtk.Action ("zoomInAction", "Increase Icon Size", null, "gtk-zoom-in"); this.zoomInAction.Sensitive = false; this.zoomInAction.ShortLabel = "Increase Icon Size"; w1.Add (this.zoomInAction, "<Primary><Mod2>KP_Add"); this.zoomOutAction = new global::Gtk.Action ("zoomOutAction", "Decrease Icon Size", null, "gtk-zoom-out"); this.zoomOutAction.Sensitive = false; this.zoomOutAction.ShortLabel = "Decrease Icon Size"; w1.Add (this.zoomOutAction, "<Primary><Mod2>KP_Subtract"); this.zoomNormalAction = new global::Gtk.Action ("zoomNormalAction", "Normal Icon Size", null, "gtk-zoom-100"); this.zoomNormalAction.Sensitive = false; this.zoomNormalAction.ShortLabel = "Normal Icon Size"; w1.Add (this.zoomNormalAction, "<Primary><Mod2>0"); this.EditAction = new global::Gtk.Action ("EditAction", "_Edit", null, null); this.EditAction.ShortLabel = "_Edit"; w1.Add (this.EditAction, null); this.copyAction = new global::Gtk.Action ("copyAction", "Copy Table", "i.e. for paste into spreadsheet application or RomRaider", "gtk-copy"); this.copyAction.Sensitive = false; this.copyAction.ShortLabel = "Copy Table"; w1.Add (this.copyAction, "<Alt><Mod2>c"); this.navigationBarAction = new global::Gtk.ToggleAction ("navigationBarAction", "_Navigation Bar", null, null); this.navigationBarAction.Active = true; this.navigationBarAction.ShortLabel = "_Navigation Bar"; w1.Add (this.navigationBarAction, null); this.selectAllAction = new global::Gtk.Action ("selectAllAction", "Select _All", null, "gtk-select-all"); this.selectAllAction.Sensitive = false; this.selectAllAction.ShortLabel = "Select _All"; w1.Add (this.selectAllAction, "<Primary><Mod2>a"); this.selectNoneAction = new global::Gtk.Action ("selectNoneAction", "Select _None", null, "gtk-clear"); this.selectNoneAction.Sensitive = false; this.selectNoneAction.ShortLabel = "Select _None"; w1.Add (this.selectNoneAction, "<Primary><Mod2>n"); this.exportAsXDFAction = new global::Gtk.Action ("exportAsXDFAction", "_TunerPro XDF", null, "gtk-save-as"); this.exportAsXDFAction.Sensitive = false; this.exportAsXDFAction.ShortLabel = "_TunerPro XDF"; w1.Add (this.exportAsXDFAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "ScoobyRom"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/><menuitem name='exportAsXDFAction' action='exportAsXDFAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='copyAction' action='copyAction'/><separator/><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='selectNoneAction' action='selectNoneAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualisationAction' action='visualisationAction'/><separator/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='zoomInAction' action='zoomInAction'/><menuitem name='zoomOutAction' action='zoomOutAction'/><menuitem name='zoomNormalAction' action='zoomNormalAction'/><separator/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='propertiesWindowAction' action='propertiesWindowAction'/><separator/><menuitem name='navigationBarAction' action='navigationBarAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></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.navScrolledWindow = new global::Gtk.ScrolledWindow (); this.navScrolledWindow.HeightRequest = 40; this.navScrolledWindow.Name = "navScrolledWindow"; this.navScrolledWindow.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); // Container child navScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport (); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.navbarwidget = new global::GtkWidgets.NavBarWidget (); this.navbarwidget.CanFocus = true; this.navbarwidget.Name = "navbarwidget"; this.navbarwidget.FirstPos = 0; this.navbarwidget.LastPos = -1; this.navbarwidget.CurrentPos = 0; w3.Add (this.navbarwidget); this.navScrolledWindow.Add (w3); this.vbox1.Add (this.navScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.navScrolledWindow])); w6.Position = 1; w6.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned (); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 235; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView (); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add (this.treeview2D); this.vpaned2D.Add (this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w8.Resize = false; w8.Shrink = false; // Container child vpaned2D.Gtk.Paned+PanedChild this.hpaned2D = new global::Gtk.HPaned (); this.hpaned2D.CanFocus = true; this.hpaned2D.Name = "hpaned2D"; this.hpaned2D.Position = 180; // Container child hpaned2D.Gtk.Paned+PanedChild this.scrolledwindowTable2D = new global::Gtk.ScrolledWindow (); this.scrolledwindowTable2D.CanFocus = true; this.scrolledwindowTable2D.Name = "scrolledwindowTable2D"; this.scrolledwindowTable2D.ShadowType = ((global::Gtk.ShadowType)(1)); this.hpaned2D.Add (this.scrolledwindowTable2D); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned2D [this.scrolledwindowTable2D])); w9.Resize = false; this.vpaned2D.Add (this.hpaned2D); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.hpaned2D])); w10.Resize = false; w10.Shrink = false; this.notebook1.Add (this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "2D Tables"; this.notebook1.SetTabLabel (this.vpaned2D, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned (); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 213; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow (); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView (); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add (this.treeview3D); this.vpaned3D.Add (this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w13.Resize = false; w13.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow (); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add (this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w14 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w14.Resize = false; w14.Shrink = false; this.notebook1.Add (this.vpaned3D); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w15.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = "3D Tables"; this.notebook1.SetTabLabel (this.vpaned3D, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w16.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add (this.progressbar1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w17.Position = 2; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler (this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler (this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler (this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler (this.OnROMChecksumsActionActivated); this.propertiesWindowAction.Activated += new global::System.EventHandler (this.OnPropertiesWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler (this.OnCreateSVGFileActionActivated); this.visualisationAction.Activated += new global::System.EventHandler (this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler (this.OnExportTableAsCSVActionActivated); this.zoomInAction.Activated += new global::System.EventHandler (this.OnIncreaseIconSizeActionActivated); this.zoomOutAction.Activated += new global::System.EventHandler (this.OnDecreaseIconSizeActionActivated); this.zoomNormalAction.Activated += new global::System.EventHandler (this.OnZoomNormalActionActivated); this.copyAction.Activated += new global::System.EventHandler (this.OnCopyTableAction); this.navigationBarAction.Activated += new global::System.EventHandler (this.OnNavigationBarActionActivated); this.selectAllAction.Activated += new global::System.EventHandler (this.OnSelectAllActionActivated); this.selectNoneAction.Activated += new global::System.EventHandler (this.OnSelectNoneActionActivated); this.exportAsXDFAction.Activated += new global::System.EventHandler (this.OnExportAsXDFActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Mono.CSharp.Gui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, null); this.AttachToProcessAction = new global::Gtk.Action ("AttachToProcessAction", global::Mono.Unix.Catalog.GetString ("Attach to Process"), null, null); this.AttachToProcessAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Attach to Process"); w1.Add (this.AttachToProcessAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.gtkpane = new global::Gtk.ToggleAction ("gtkpane", global::Mono.Unix.Catalog.GetString ("Gtk Pane"), null, null); this.gtkpane.ShortLabel = global::Mono.Unix.Catalog.GetString ("Gtk Pane"); w1.Add (this.gtkpane, null); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools"); w1.Add (this.ToolsAction, null); this.DescribeTypeAction = new global::Gtk.Action ("DescribeTypeAction", global::Mono.Unix.Catalog.GetString ("Describe Type"), null, null); this.DescribeTypeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Describe Type"); w1.Add (this.DescribeTypeAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Mono.CSharp.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child Mono.CSharp.Gui.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='AttachToProcessAction' action='AttachToProcessAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='gtkpane' action='gtkpane'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='DescribeTypeAction' action='DescribeTypeAction'/></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.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 472; // Container child hpaned.Gtk.Paned+PanedChild this.paned_container = new global::Gtk.EventBox (); this.paned_container.Name = "paned_container"; this.hpaned.Add (this.paned_container); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.paned_container])); w3.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0.1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Set the contents of this pane by adding Gtk.Widgets children to the <b>PaneContainer</b> property. The PaneContainer is a Gtk.EventBox. \n\nTry it like this:\n\nLoadPackage (\"gtk-sharp-2.0\");\nvar l = new Label (\"Hello world\");\nPaneContainer.Add (l);\nl.ShowAll ();"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.expander1.Add (this.label4); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>PaneContent</b>"); this.GtkLabel4.UseMarkup = true; this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.eventbox = new global::Gtk.EventBox (); this.eventbox.Name = "eventbox"; this.vbox2.Add (this.eventbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.eventbox])); w6.Position = 1; this.hpaned.Add (this.vbox2); this.notebook1.Add (this.hpaned); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebook1.SetTabLabel (this.hpaned, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.standalone_container = new global::Gtk.EventBox (); this.standalone_container.Name = "standalone_container"; // Container child standalone_container.Gtk.Container+ContainerChild this.shellnotebook = new global::Gtk.Notebook (); this.shellnotebook.CanFocus = true; this.shellnotebook.Name = "shellnotebook"; this.shellnotebook.CurrentPage = 0; this.shellnotebook.ShowTabs = false; this.shellnotebook.Scrollable = true; // Container child shellnotebook.Gtk.Notebook+NotebookChild this.sw = new global::Gtk.ScrolledWindow (); this.sw.CanFocus = true; this.sw.Name = "sw"; this.sw.ShadowType = ((global::Gtk.ShadowType)(1)); this.shellnotebook.Add (this.sw); // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("C#"); this.shellnotebook.SetTabLabel (this.sw, this.label3); this.label3.ShowAll (); this.standalone_container.Add (this.shellnotebook); this.notebook1.Add (this.standalone_container); global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.standalone_container])); w11.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("page2"); this.notebook1.SetTabLabel (this.standalone_container, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w12.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.AttachToProcessAction.Activated += new global::System.EventHandler (this.OnAttachToProcessActionActivated); this.DescribeTypeAction.Activated += new global::System.EventHandler (this.OnDescribeTypeActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget DSLImplementation.TopWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tools"); w1.Add (this.ToolsAction, null); this.menu_insertSubpiece = new global::Gtk.RadioAction ("menu_insertSubpiece", global::Mono.Unix.Catalog.GetString ("Insert subpiece"), global::Mono.Unix.Catalog.GetString ("Insert subpiece"), "gtk-select-color", 0); this.menu_insertSubpiece.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.menu_insertSubpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert subpiece"); w1.Add (this.menu_insertSubpiece, null); this.menu_insert_linkpiece = new global::Gtk.RadioAction ("menu_insert_linkpiece", global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), "gtk-convert", 0); this.menu_insert_linkpiece.Group = this.menu_insertSubpiece.Group; this.menu_insert_linkpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert linkpiece"); w1.Add (this.menu_insert_linkpiece, null); this.menu_edit_information = new global::Gtk.RadioAction ("menu_edit_information", global::Mono.Unix.Catalog.GetString ("Edit information"), global::Mono.Unix.Catalog.GetString ("Edit information"), "gtk-index", 0); this.menu_edit_information.Group = this.menu_insertSubpiece.Group; this.menu_edit_information.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit information"); w1.Add (this.menu_edit_information, null); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("--"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("--"); w1.Add (this.Action, null); this.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("Execute query"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute query"); w1.Add (this.propertiesAction, null); this.tool_insertSubpiece = new global::Gtk.RadioAction ("tool_insertSubpiece", global::Mono.Unix.Catalog.GetString ("Insert subpiece"), global::Mono.Unix.Catalog.GetString ("Insert subpiece"), "gtk-select-color", 0); this.tool_insertSubpiece.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.tool_insertSubpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert subpiece"); w1.Add (this.tool_insertSubpiece, null); this.tool_insert_linkpiece = new global::Gtk.RadioAction ("tool_insert_linkpiece", global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), global::Mono.Unix.Catalog.GetString ("Insert linkpiece"), "gtk-convert", 0); this.tool_insert_linkpiece.Group = this.tool_insertSubpiece.Group; this.tool_insert_linkpiece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert linkpiece"); w1.Add (this.tool_insert_linkpiece, null); this.tool_edit_information = new global::Gtk.RadioAction ("tool_edit_information", global::Mono.Unix.Catalog.GetString ("Edit information"), global::Mono.Unix.Catalog.GetString ("Edit information"), "gtk-index", 0); this.tool_edit_information.Group = this.tool_insert_linkpiece.Group; this.tool_edit_information.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit information"); w1.Add (this.tool_edit_information, null); this.tool_execute_query = new global::Gtk.Action ("tool_execute_query", global::Mono.Unix.Catalog.GetString ("Execute Query"), global::Mono.Unix.Catalog.GetString ("Execute Query"), "gtk-execute"); this.tool_execute_query.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute Query"); w1.Add (this.tool_execute_query, null); this.missingImageAction = new global::Gtk.Action ("missingImageAction", global::Mono.Unix.Catalog.GetString ("Save as pdf"), global::Mono.Unix.Catalog.GetString ("Save as pdf"), "gtk-missing-image"); this.missingImageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save as pdf"); w1.Add (this.missingImageAction, null); this.menu_autorun = new global::Gtk.ToggleAction ("menu_autorun", global::Mono.Unix.Catalog.GetString ("Execute complete queries"), global::Mono.Unix.Catalog.GetString ("Execute complete queries"), "gtk-refresh"); this.menu_autorun.Active = true; this.menu_autorun.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute complete queries"); w1.Add (this.menu_autorun, null); this.tool_autorun = new global::Gtk.ToggleAction ("tool_autorun", global::Mono.Unix.Catalog.GetString ("Execute complete queries"), global::Mono.Unix.Catalog.GetString ("Execute complete queries"), "gtk-refresh"); this.tool_autorun.Active = true; this.tool_autorun.ShortLabel = global::Mono.Unix.Catalog.GetString ("Execute complete queries"); w1.Add (this.tool_autorun, null); this.menu_delete_piece = new global::Gtk.RadioAction ("menu_delete_piece", global::Mono.Unix.Catalog.GetString ("Remove piece"), null, "gtk-delete", 0); this.menu_delete_piece.Group = this.menu_edit_information.Group; this.menu_delete_piece.ShortLabel = global::Mono.Unix.Catalog.GetString ("Remove piece"); w1.Add (this.menu_delete_piece, null); this.tool_delete_piece = new global::Gtk.RadioAction ("tool_delete_piece", null, null, "gtk-delete", 0); this.tool_delete_piece.Group = this.tool_insert_linkpiece.Group; w1.Add (this.tool_delete_piece, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 800; this.HeightRequest = 600; this.Name = "DSLImplementation.TopWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Comparative Programming Languages - Domain Specific Language Assignment"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child DSLImplementation.TopWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ToolsAction' action='ToolsAction'><menuitem name='menu_insertSubpiece' action='menu_insertSubpiece'/><menuitem name='menu_insert_linkpiece' action='menu_insert_linkpiece'/><menuitem name='menu_edit_information' action='menu_edit_information'/><menuitem name='menu_delete_piece' action='menu_delete_piece'/><separator/><menuitem name='propertiesAction' action='propertiesAction'/></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.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='tool_insertSubpiece' action='tool_insertSubpiece'/><toolitem name='tool_insert_linkpiece' action='tool_insert_linkpiece'/><toolitem name='tool_edit_information' action='tool_edit_information'/><toolitem name='tool_delete_piece' action='tool_delete_piece'/><separator/><toolitem name='tool_execute_query' action='tool_execute_query'/><toolitem name='missingImageAction' action='missingImageAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 800; this.DefaultHeight = 600; this.Show (); this.menu_insertSubpiece.Activated += new global::System.EventHandler (this.menu_tool_changed); this.menu_insert_linkpiece.Activated += new global::System.EventHandler (this.menu_tool_changed); this.menu_edit_information.Activated += new global::System.EventHandler (this.menu_tool_changed); this.tool_insertSubpiece.Activated += new global::System.EventHandler (this.tool_selected); this.tool_insert_linkpiece.Activated += new global::System.EventHandler (this.tool_selected); this.tool_edit_information.Activated += new global::System.EventHandler (this.tool_selected); this.tool_execute_query.Activated += new global::System.EventHandler (this.tool_query_exec); this.missingImageAction.Activated += new global::System.EventHandler (this.tool_saveaspdf); this.menu_autorun.Activated += new global::System.EventHandler (this.menu_autorun_changed); this.tool_autorun.Activated += new global::System.EventHandler (this.tool_autorun_changed); this.menu_delete_piece.Activated += new global::System.EventHandler (this.menu_tool_changed); this.tool_delete_piece.Activated += new global::System.EventHandler (this.tool_selected); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.FileAction, null); this.LoadAction = new global::Gtk.Action ("LoadAction", global::Mono.Unix.Catalog.GetString ("Load"), null, null); this.LoadAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load"); w1.Add (this.LoadAction, null); this.CreateAction = new global::Gtk.Action ("CreateAction", global::Mono.Unix.Catalog.GetString ("Create"), null, null); this.CreateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create"); w1.Add (this.CreateAction, null); this.ChangeHeightAction = new global::Gtk.Action ("ChangeHeightAction", global::Mono.Unix.Catalog.GetString ("Change Height"), null, null); this.ChangeHeightAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Change Height"); w1.Add (this.ChangeHeightAction, null); this.CatanBaseAction = new global::Gtk.Action ("CatanBaseAction", global::Mono.Unix.Catalog.GetString ("Catan Base"), null, null); this.CatanBaseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Catan Base"); w1.Add (this.CatanBaseAction, null); this.ExplorersNPirates1Action = new global::Gtk.Action ("ExplorersNPirates1Action", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 1"), null, null); this.ExplorersNPirates1Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 1"); w1.Add (this.ExplorersNPirates1Action, null); this.ExplorersNPirates2Action = new global::Gtk.Action ("ExplorersNPirates2Action", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 2"), null, null); this.ExplorersNPirates2Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 2"); w1.Add (this.ExplorersNPirates2Action, null); this.ExplorersNPirates3Action = new global::Gtk.Action ("ExplorersNPirates3Action", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 3"), null, null); this.ExplorersNPirates3Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 3"); w1.Add (this.ExplorersNPirates3Action, null); this.ExplorersNPirates4Action = new global::Gtk.Action ("ExplorersNPirates4Action", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 4"), null, null); this.ExplorersNPirates4Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 4"); w1.Add (this.ExplorersNPirates4Action, null); this.ExplorersNPirates5Action = new global::Gtk.Action ("ExplorersNPirates5Action", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 5"), null, null); this.ExplorersNPirates5Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates 5"); w1.Add (this.ExplorersNPirates5Action, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("From File"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("From File"); w1.Add (this.openAction, null); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("Completely Blank"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Completely Blank"); w1.Add (this.newAction, null); this.BlankWaterAction = new global::Gtk.Action ("BlankWaterAction", global::Mono.Unix.Catalog.GetString ("Blank Water"), null, null); this.BlankWaterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Blank Water"); w1.Add (this.BlankWaterAction, null); this.BaseAction = new global::Gtk.Action ("BaseAction", global::Mono.Unix.Catalog.GetString ("*Base*"), null, null); this.BaseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("*Base*"); w1.Add (this.BaseAction, null); this.SeafarerSAction = new global::Gtk.ToggleAction ("SeafarerSAction", global::Mono.Unix.Catalog.GetString ("Seafarer\'s"), null, null); this.SeafarerSAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Seafarer\'s"); w1.Add (this.SeafarerSAction, null); this.ExplorersNPiratesAction = new global::Gtk.ToggleAction ("ExplorersNPiratesAction", global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates"), null, null); this.ExplorersNPiratesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Explorers \'n Pirates"); w1.Add (this.ExplorersNPiratesAction, null); this.InfinityAction = new global::Gtk.ToggleAction ("InfinityAction", global::Mono.Unix.Catalog.GetString ("Infinity"), null, null); this.InfinityAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Infinity"); w1.Add (this.InfinityAction, null); this.fiveAction = new global::Gtk.ToggleAction ("fiveAction", global::Mono.Unix.Catalog.GetString ("five"), null, null); this.fiveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Five"); w1.Add (this.fiveAction, null); this.sixAction = new global::Gtk.ToggleAction ("sixAction", global::Mono.Unix.Catalog.GetString ("six"), null, null); this.sixAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Six"); w1.Add (this.sixAction, null); this.sevenAction = new global::Gtk.ToggleAction ("sevenAction", global::Mono.Unix.Catalog.GetString ("seven"), null, null); this.sevenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Seven"); w1.Add (this.sevenAction, null); this.eightAction = new global::Gtk.ToggleAction ("eightAction", global::Mono.Unix.Catalog.GetString ("eight"), null, null); this.eightAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Eight"); w1.Add (this.eightAction, null); this.floppyAction = new global::Gtk.Action ("floppyAction", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-floppy"); this.floppyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.floppyAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Settlers of Catan"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 804; this.DefaultHeight = 486; // Container child 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='menubar3'><menu name='FileAction' action='FileAction'><menuitem name='floppyAction' action='floppyAction'/></menu><menu name='LoadAction' action='LoadAction'><menuitem name='CatanBaseAction' action='CatanBaseAction'/><separator/><menuitem name='ExplorersNPirates1Action' action='ExplorersNPirates1Action'/><menuitem name='ExplorersNPirates2Action' action='ExplorersNPirates2Action'/><menuitem name='ExplorersNPirates3Action' action='ExplorersNPirates3Action'/><menuitem name='ExplorersNPirates4Action' action='ExplorersNPirates4Action'/><menuitem name='ExplorersNPirates5Action' action='ExplorersNPirates5Action'/><separator/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='newAction' action='newAction'/><menuitem name='BlankWaterAction' action='BlankWaterAction'/></menu><menu name='CreateAction' action='CreateAction'><menuitem name='BaseAction' action='BaseAction'/><separator/><menuitem name='SeafarerSAction' action='SeafarerSAction'/><menuitem name='ExplorersNPiratesAction' action='ExplorersNPiratesAction'/><menuitem name='InfinityAction' action='InfinityAction'/></menu><menu name='ChangeHeightAction' action='ChangeHeightAction'><menuitem name='fiveAction' action='fiveAction'/><menuitem name='sixAction' action='sixAction'/><menuitem name='sevenAction' action='sevenAction'/><menuitem name='eightAction' action='eightAction'/></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox1.Add (this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.drawingarea1 = new global::Gtk.DrawingArea (); this.drawingarea1.Name = "drawingarea1"; this.vbox1.Add (this.drawingarea1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.drawingarea1])); w3.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.fiveAction.Changed += new global::Gtk.ChangedHandler (this.OnFiveActionChanged); this.sixAction.Changed += new global::Gtk.ChangedHandler (this.OnSixActionChanged); this.sevenAction.Changed += new global::Gtk.ChangedHandler (this.OnSevenActionChanged); this.eightAction.Changed += new global::Gtk.ChangedHandler (this.OnEightActionChanged); this.floppyAction.Activated += new global::System.EventHandler (this.OnFloppyActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget 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.HelpAction = new global::Gtk.Action ("HelpAction", "Help", null, null); this.HelpAction.ShortLabel = "Help"; w1.Add (this.HelpAction, null); this.cdromAction = new global::Gtk.Action ("cdromAction", "Burn...", null, "gtk-cdrom"); this.cdromAction.ShortLabel = "Burn..."; w1.Add (this.cdromAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add (this.ExitAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", "About...", null, null); this.AboutAction.ShortLabel = "About..."; w1.Add (this.AboutAction, null); this.BurnAction = new global::Gtk.Action ("BurnAction", "Burn...", null, null); this.BurnAction.Sensitive = false; this.BurnAction.ShortLabel = "Burn..."; w1.Add (this.BurnAction, null); this.propertiesAction = new global::Gtk.Action ("propertiesAction", "Preferences...", null, "gtk-properties"); this.propertiesAction.ShortLabel = "Preferences..."; w1.Add (this.propertiesAction, null); this.PreferencesAction = new global::Gtk.ToggleAction ("PreferencesAction", "Preferences...", null, null); this.PreferencesAction.ShortLabel = "Preferences..."; w1.Add (this.PreferencesAction, null); this.PreferencesAction1 = new global::Gtk.Action ("PreferencesAction1", "Preferences...", null, null); this.PreferencesAction1.ShortLabel = "Preferences..."; w1.Add (this.PreferencesAction1, null); this.ExitAction1 = new global::Gtk.Action ("ExitAction1", "Exit", null, null); this.ExitAction1.ShortLabel = "Exit"; w1.Add (this.ExitAction1, null); this.FileAction1 = new global::Gtk.Action ("FileAction1", "File", null, null); this.FileAction1.ShortLabel = "File"; w1.Add (this.FileAction1, null); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", "Help", null, null); this.HelpAction1.ShortLabel = "Help"; w1.Add (this.HelpAction1, null); this.cdromAction1 = new global::Gtk.Action ("cdromAction1", "Burn...", null, "gtk-cdrom"); this.cdromAction1.Sensitive = false; this.cdromAction1.ShortLabel = "Burn..."; w1.Add (this.cdromAction1, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", "Preferences...", null, "gtk-preferences"); this.preferencesAction.ShortLabel = "Preferences..."; w1.Add (this.preferencesAction, null); this.stopAction = new global::Gtk.Action ("stopAction", "Exit", null, "gtk-stop"); this.stopAction.ShortLabel = "Exit"; w1.Add (this.stopAction, null); this.AboutAction1 = new global::Gtk.Action ("AboutAction1", "About...", null, null); this.AboutAction1.ShortLabel = "About..."; w1.Add (this.AboutAction1, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "LinXbox360isoBurner"; this.Icon = global::Gdk.Pixbuf.LoadFromResource ("LinXbox360isoBurner.icon.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox (); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar'><menu name='FileAction1' action='FileAction1'><menuitem name='cdromAction1' action='cdromAction1'/><menuitem name='preferencesAction' action='preferencesAction'/><menuitem name='stopAction' action='stopAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='AboutAction1' action='AboutAction1'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar"))); this.menubar.Name = "menubar"; this.vbox.Add (this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = ".dvd file:"; this.hbox6.Add (this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(15)); this.hbox1.Add (this.hbox6); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox6])); w4.Position = 0; this.vbox.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.entry = new global::Gtk.Entry (); this.entry.CanFocus = true; this.entry.Name = "entry"; this.entry.IsEditable = true; this.entry.InvisibleChar = '●'; this.hbox2.Add (this.entry); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry])); w6.Position = 0; w6.Expand = false; w6.Padding = ((uint)(15)); // Container child hbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox2.Add (this.fixed2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fixed2])); w7.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.filechooserbutton = new global::Gtk.FileChooserButton ("Выберите файл", ((global::Gtk.FileChooserAction)(0))); this.filechooserbutton.Name = "filechooserbutton"; this.hbox2.Add (this.filechooserbutton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.filechooserbutton])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 2; w8.Expand = false; w8.Padding = ((uint)(15)); this.vbox.Add (this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox2])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = "DVD-RW drive:"; this.hbox7.Add (this.label5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label5])); w10.Position = 0; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(15)); this.vbox.Add (this.hbox7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox7])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.entry_dvd = new global::Gtk.Entry (); this.entry_dvd.CanFocus = true; this.entry_dvd.Name = "entry_dvd"; this.entry_dvd.Text = "/dev/"; this.entry_dvd.IsEditable = true; this.entry_dvd.InvisibleChar = '●'; this.hbox3.Add (this.entry_dvd); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entry_dvd])); w12.Position = 0; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(15)); // Container child hbox3.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox3.Add (this.fixed3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed3])); w13.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.hbuttonbox3 = new global::Gtk.HButtonBox (); this.hbuttonbox3.Name = "hbuttonbox3"; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.button9 = new global::Gtk.Button (); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; this.button9.Label = "Autodetect"; this.hbuttonbox3.Add (this.button9); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.button9])); w14.Expand = false; w14.Fill = false; this.hbox3.Add (this.hbuttonbox3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbuttonbox3])); w15.Position = 2; this.vbox.Add (this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox3])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; // Container child fixed4.Gtk.Fixed+FixedChild this.checkbutton_dryrun = new global::Gtk.CheckButton (); this.checkbutton_dryrun.CanFocus = true; this.checkbutton_dryrun.Name = "checkbutton_dryrun"; this.checkbutton_dryrun.Label = "dry-run"; this.checkbutton_dryrun.DrawIndicator = true; this.checkbutton_dryrun.UseUnderline = true; this.fixed4.Add (this.checkbutton_dryrun); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed4 [this.checkbutton_dryrun])); w17.X = 15; w17.Y = 3; this.vbox.Add (this.fixed4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox [this.fixed4])); w18.Position = 5; // Container child vbox.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "Burning speed:"; this.hbox5.Add (this.label3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; w19.Padding = ((uint)(15)); // Container child hbox5.Gtk.Box+BoxChild this.combobox_speed = global::Gtk.ComboBox.NewText (); this.combobox_speed.AppendText ("No media"); this.combobox_speed.Sensitive = false; this.combobox_speed.Name = "combobox_speed"; this.combobox_speed.Active = 0; this.hbox5.Add (this.combobox_speed); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.combobox_speed])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 1; w20.Expand = false; w20.Fill = false; w20.Padding = ((uint)(49)); this.vbox.Add (this.hbox5); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox5])); w21.Position = 6; w21.Expand = false; w21.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbuttonbox = new global::Gtk.HButtonBox (); this.hbuttonbox.Name = "hbuttonbox"; this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.button_ok = new global::Gtk.Button (); this.button_ok.Sensitive = false; this.button_ok.CanFocus = true; this.button_ok.Name = "button_ok"; this.button_ok.UseUnderline = true; this.button_ok.Label = "Burn"; this.hbuttonbox.Add (this.button_ok); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox [this.button_ok])); w22.Expand = false; w22.Fill = false; w22.Padding = ((uint)(15)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.button_exit = new global::Gtk.Button (); this.button_exit.CanFocus = true; this.button_exit.Name = "button_exit"; this.button_exit.UseUnderline = true; this.button_exit.Label = "Exit"; this.hbuttonbox.Add (this.button_exit); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox [this.button_exit])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.vbox.Add (this.hbuttonbox); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbuttonbox])); w24.Position = 8; w24.Expand = false; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 396; this.DefaultHeight = 328; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler (this.OnButtonExitClicked); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.BurnAction.Activated += new global::System.EventHandler (this.OnButtonOkClicked); this.propertiesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.PreferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.cdromAction1.Activated += new global::System.EventHandler (this.OnButtonOkClicked); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.stopAction.Activated += new global::System.EventHandler (this.OnButtonExitClicked); this.AboutAction1.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.entry.Changed += new global::System.EventHandler (this.OnEntryChanged); this.filechooserbutton.SelectionChanged += new global::System.EventHandler (this.OnFilechooserbuttonSelectionChanged); this.button9.Clicked += new global::System.EventHandler (this.OnButtonAutodvdrwClicked); this.checkbutton_dryrun.Clicked += new global::System.EventHandler (this.OnCheckbuttonDryrunPressed); this.button_ok.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); this.button_exit.Clicked += new global::System.EventHandler (this.OnButtonExitClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FilterAction = new global::Gtk.Action("FilterAction", global::Mono.Unix.Catalog.GetString("Filter"), null, null); this.FilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Filter"); w1.Add(this.FilterAction, null); this.LanguageAction = new global::Gtk.Action("LanguageAction", global::Mono.Unix.Catalog.GetString("Language"), null, null); this.LanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Language"); w1.Add(this.LanguageAction, null); this.UserAction = new global::Gtk.Action("UserAction", global::Mono.Unix.Catalog.GetString("User"), null, null); this.UserAction.ShortLabel = global::Mono.Unix.Catalog.GetString("User"); w1.Add(this.UserAction, null); this.SaveRatingsAsAction = new global::Gtk.Action("SaveRatingsAsAction", global::Mono.Unix.Catalog.GetString("Save Ratings As ..."), null, null); this.SaveRatingsAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Ratings As ..."); w1.Add(this.SaveRatingsAsAction, null); this.SaveRatingsAnonymouslyAction = new global::Gtk.Action("SaveRatingsAnonymouslyAction", global::Mono.Unix.Catalog.GetString("Save Ratings Anonymously"), null, null); this.SaveRatingsAnonymouslyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Ratings Anonymously"); w1.Add(this.SaveRatingsAnonymouslyAction, null); this.DiscardRatingsAction = new global::Gtk.Action("DiscardRatingsAction", global::Mono.Unix.Catalog.GetString("Discard Ratings"), null, null); this.DiscardRatingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Discard Ratings"); w1.Add(this.DiscardRatingsAction, null); this.OnlyShow200MostPopularMoviesAction = new global::Gtk.ToggleAction("OnlyShow200MostPopularMoviesAction", global::Mono.Unix.Catalog.GetString("Only Show 200 Most Popular Movies "), null, null); this.OnlyShow200MostPopularMoviesAction.Active = true; this.OnlyShow200MostPopularMoviesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Only Show 200 Most Popular Movies "); w1.Add(this.OnlyShow200MostPopularMoviesAction, null); this.ByGenreAction = new global::Gtk.Action("ByGenreAction", global::Mono.Unix.Catalog.GetString("By Genre ..."), null, null); this.ByGenreAction.ShortLabel = global::Mono.Unix.Catalog.GetString("By Genre ..."); w1.Add(this.ByGenreAction, null); this.ActionAction = new global::Gtk.ToggleAction("ActionAction", global::Mono.Unix.Catalog.GetString("Action"), null, null); this.ActionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Action"); w1.Add(this.ActionAction, null); this.TODORestByProgramAction = new global::Gtk.Action("TODORestByProgramAction", global::Mono.Unix.Catalog.GetString("TODO: rest by program ..."), null, null); this.TODORestByProgramAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TODO: rest by program ..."); w1.Add(this.TODORestByProgramAction, null); this.EnglishAction = new global::Gtk.RadioAction("EnglishAction", global::Mono.Unix.Catalog.GetString("English"), null, null, 0); this.EnglishAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.EnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString("English"); w1.Add(this.EnglishAction, null); this.DeutschAction = new global::Gtk.RadioAction("DeutschAction", global::Mono.Unix.Catalog.GetString("Deutsch"), null, null, 0); this.DeutschAction.Group = this.EnglishAction.Group; this.DeutschAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Deutsch"); w1.Add(this.DeutschAction, null); this.LoadUserAction = new global::Gtk.Action("LoadUserAction", global::Mono.Unix.Catalog.GetString("Load User"), null, null); this.LoadUserAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load User"); w1.Add(this.LoadUserAction, null); this.AndrAction = new global::Gtk.Action("AndrAction", global::Mono.Unix.Catalog.GetString("André"), null, null); this.AndrAction.ShortLabel = global::Mono.Unix.Catalog.GetString("André"); w1.Add(this.AndrAction, null); this.ArtusAction = new global::Gtk.Action("ArtusAction", global::Mono.Unix.Catalog.GetString("Artus"), null, null); this.ArtusAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Artus"); w1.Add(this.ArtusAction, null); this.ChristophAction = new global::Gtk.Action("ChristophAction", global::Mono.Unix.Catalog.GetString("Christoph"), null, null); this.ChristophAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Christoph"); w1.Add(this.ChristophAction, null); this.LucasAction = new global::Gtk.Action("LucasAction", global::Mono.Unix.Catalog.GetString("Lucas"), null, null); this.LucasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Lucas"); w1.Add(this.LucasAction, null); this.KrisztianAction = new global::Gtk.Action("KrisztianAction", global::Mono.Unix.Catalog.GetString("Krisztian"), null, null); this.KrisztianAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Krisztian"); w1.Add(this.KrisztianAction, null); this.NgheAction = new global::Gtk.Action("NgheAction", global::Mono.Unix.Catalog.GetString("Nghe"), null, null); this.NgheAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nghe"); w1.Add(this.NgheAction, null); this.OsmanAction = new global::Gtk.Action("OsmanAction", global::Mono.Unix.Catalog.GetString("Osman"), null, null); this.OsmanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Osman"); w1.Add(this.OsmanAction, null); this.RasoulAction = new global::Gtk.Action("RasoulAction", global::Mono.Unix.Catalog.GetString("Rasoul"), null, null); this.RasoulAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rasoul"); w1.Add(this.RasoulAction, null); this.SabrinaAction = new global::Gtk.Action("SabrinaAction", global::Mono.Unix.Catalog.GetString("Sabrina"), null, null); this.SabrinaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sabrina"); w1.Add(this.SabrinaAction, null); this.TomasAction = new global::Gtk.Action("TomasAction", global::Mono.Unix.Catalog.GetString("Tomas"), null, null); this.TomasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tomas"); w1.Add(this.TomasAction, null); this.ZenoAction = new global::Gtk.Action("ZenoAction", global::Mono.Unix.Catalog.GetString("Zeno"), null, null); this.ZenoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Zeno"); w1.Add(this.ZenoAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MyMediaLite Movie Demo"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "stock_animation", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='FilterAction' action='FilterAction'><menuitem name='OnlyShow200MostPopularMoviesAction' action='OnlyShow200MostPopularMoviesAction'/></menu><menu name='LanguageAction' action='LanguageAction'><menuitem name='EnglishAction' action='EnglishAction'/><menuitem name='DeutschAction' action='DeutschAction'/></menu><menu name='UserAction' action='UserAction'><menuitem name='SaveRatingsAnonymouslyAction' action='SaveRatingsAnonymouslyAction'/><menuitem name='DiscardRatingsAction' action='DiscardRatingsAction'/></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.filter_entry = new global::Gtk.Entry(); this.filter_entry.TooltipMarkup = "Enter string to filter the movie list"; this.filter_entry.CanFocus = true; this.filter_entry.Name = "filter_entry"; this.filter_entry.IsEditable = true; this.filter_entry.InvisibleChar = '●'; this.vbox1.Add(this.filter_entry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.filter_entry])); w3.Position = 1; w3.Expand = false; w3.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.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.TooltipMarkup = "Click in column 'Rating' to enter ratings"; this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.scrolledwindow2.Add(this.treeview1); this.hbox1.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow2])); w5.Position = 0; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w6.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 635; this.DefaultHeight = 580; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.SaveRatingsAsAction.Activated += new global::System.EventHandler(this.OnSaveRatingsAsActionActivated); this.SaveRatingsAnonymouslyAction.Activated += new global::System.EventHandler(this.OnSaveRatingsAnonymouslyActionActivated); this.DiscardRatingsAction.Activated += new global::System.EventHandler(this.OnDiscardRatingsActionActivated); this.OnlyShow200MostPopularMoviesAction.Toggled += new global::System.EventHandler(this.OnOnlyShow200MostPopularMoviesActionToggled); this.EnglishAction.Activated += new global::System.EventHandler(this.OnEnglishActionActivated); this.DeutschAction.Activated += new global::System.EventHandler(this.OnDeutschActionActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Cairo.R7.Anim.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.pauseAction = new global::Gtk.ToggleAction ("pauseAction", null, null, "gtk-media-pause"); this.pauseAction.IsImportant = true; w1.Add (this.pauseAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Cairo.R7.Anim.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Cairo.R7.Anim"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Cairo.R7.Anim.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='pauseAction' action='pauseAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.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.drawingarea1 = new global::Gtk.DrawingArea (); this.drawingarea1.Name = "drawingarea1"; this.hbox1.Add (this.drawingarea1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.drawingarea1])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.drawingarea3 = new global::Gtk.DrawingArea (); this.drawingarea3.Name = "drawingarea3"; this.vbox2.Add (this.drawingarea3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.drawingarea3])); w4.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.drawingarea2 = new global::Gtk.DrawingArea (); this.drawingarea2.Name = "drawingarea2"; this.vbox2.Add (this.drawingarea2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.drawingarea2])); w5.Position = 1; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w6.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w7.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 388; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.pauseAction.Toggled += new global::System.EventHandler (this.OnPauseActionToggled); this.drawingarea1.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingarea1ExposeEvent); this.drawingarea3.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingarea1ExposeEvent); this.drawingarea2.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingarea1ExposeEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BangSharp.Client.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.ServerAction = new global::Gtk.Action ("ServerAction", global::Mono.Unix.Catalog.GetString ("Se_rver"), null, null); this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Se_rver"); w1.Add (this.ServerAction, null); this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("_Connect to Server..."), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Connect to Server..."); w1.Add (this.connectAction, null); this.disconnectAction = new global::Gtk.Action ("disconnectAction", global::Mono.Unix.Catalog.GetString ("_Disconnect from Server"), null, "gtk-disconnect"); this.disconnectAction.Sensitive = false; this.disconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Disconnect from Server"); w1.Add (this.disconnectAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit Application"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quitAction, null); this.OptionsAction = new global::Gtk.Action ("OptionsAction", global::Mono.Unix.Catalog.GetString ("_Options"), null, null); this.OptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Options"); w1.Add (this.OptionsAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("_Preferences"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Preferences"); w1.Add (this.preferencesAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.helpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, null); this.WindowAction = new global::Gtk.Action ("WindowAction", global::Mono.Unix.Catalog.GetString ("_Window"), null, null); this.WindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Window"); w1.Add (this.WindowAction, null); this.serverWindowAction = new global::Gtk.ToggleAction ("serverWindowAction", global::Mono.Unix.Catalog.GetString ("Server Window"), null, null); this.serverWindowAction.Sensitive = false; this.serverWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Server Window"); w1.Add (this.serverWindowAction, null); this.sessionWindowAction = new global::Gtk.ToggleAction ("sessionWindowAction", global::Mono.Unix.Catalog.GetString ("Session Window"), null, null); this.sessionWindowAction.Sensitive = false; this.sessionWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Session Window"); w1.Add (this.sessionWindowAction, null); this.SessionAction = new global::Gtk.Action ("SessionAction", global::Mono.Unix.Catalog.GetString ("Se_ssion"), null, null); this.SessionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Se_ssion"); w1.Add (this.SessionAction, null); this.sessionDisconnectAction = new global::Gtk.Action ("sessionDisconnectAction", global::Mono.Unix.Catalog.GetString ("_Disconnect"), null, "gtk-disconnect"); this.sessionDisconnectAction.Sensitive = false; this.sessionDisconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Disconnect"); w1.Add (this.sessionDisconnectAction, null); this.StartGameAction = new global::Gtk.Action ("StartGameAction", global::Mono.Unix.Catalog.GetString ("Start _Game"), null, null); this.StartGameAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start _Game"); w1.Add (this.StartGameAction, null); this.endSessionAction = new global::Gtk.Action ("endSessionAction", global::Mono.Unix.Catalog.GetString ("_End Session"), null, null); this.endSessionAction.Sensitive = false; this.endSessionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_End Session"); w1.Add (this.endSessionAction, null); this.startGameAction = new global::Gtk.Action ("startGameAction", global::Mono.Unix.Catalog.GetString ("Start _Game"), null, null); this.startGameAction.Sensitive = false; this.startGameAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start _Game"); w1.Add (this.startGameAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "BangSharp.Client.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Bang# Client"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child BangSharp.Client.MainWindow.Gtk.Container+ContainerChild this.vbox12 = new global::Gtk.VBox (); this.vbox12.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='ServerAction' action='ServerAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='disconnectAction' action='disconnectAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='SessionAction' action='SessionAction'><menuitem name='startGameAction' action='startGameAction'/><menuitem name='sessionDisconnectAction' action='sessionDisconnectAction'/><menuitem name='endSessionAction' action='endSessionAction'/></menu><menu name='OptionsAction' action='OptionsAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='WindowAction' action='WindowAction'><menuitem name='serverWindowAction' action='serverWindowAction'/><menuitem name='sessionWindowAction' action='sessionWindowAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox12.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.gameBoardWidget = new global::BangSharp.Client.GameBoard.GameBoardWidget (); this.gameBoardWidget.Name = "gameBoardWidget"; this.vbox12.Add (this.gameBoardWidget); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.gameBoardWidget])); w3.Position = 1; this.Add (this.vbox12); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.FocusInEvent += new global::Gtk.FocusInEventHandler (this.OnFocusInEvent); this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.disconnectAction.Activated += new global::System.EventHandler (this.OnDisconnectActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.serverWindowAction.Toggled += new global::System.EventHandler (this.OnServerWindowActionToggled); this.sessionWindowAction.Toggled += new global::System.EventHandler (this.OnSessionWindowActionToggled); this.sessionDisconnectAction.Activated += new global::System.EventHandler (this.OnSessionDisconnectActionActivated); this.endSessionAction.Activated += new global::System.EventHandler (this.OnEndSessionActionActivated); this.startGameAction.Activated += new global::System.EventHandler (this.OnStartGameActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.LoadDataAction = new global::Gtk.Action("LoadDataAction", global::Mono.Unix.Catalog.GetString("Load Data"), null, null); this.LoadDataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Data"); w1.Add(this.LoadDataAction, null); this.LoadNirsAction = new global::Gtk.Action("LoadNirsAction", global::Mono.Unix.Catalog.GetString("Load *.nirs"), null, null); this.LoadNirsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load *.nirs"); w1.Add(this.LoadNirsAction, null); this.LoadSnirfAction = new global::Gtk.Action("LoadSnirfAction", global::Mono.Unix.Catalog.GetString("Load *.snirf"), null, null); this.LoadSnirfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load *.snirf"); w1.Add(this.LoadSnirfAction, null); this.LoadNIRxAction = new global::Gtk.Action("LoadNIRxAction", global::Mono.Unix.Catalog.GetString("Load NIRx"), null, null); this.LoadNIRxAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load NIRx"); w1.Add(this.LoadNIRxAction, null); this.SaveDataAction = new global::Gtk.Action("SaveDataAction", global::Mono.Unix.Catalog.GetString("Save Data"), null, null); this.SaveDataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save Data"); w1.Add(this.SaveDataAction, null); this.SaveNirsAction = new global::Gtk.Action("SaveNirsAction", global::Mono.Unix.Catalog.GetString("Save *.nirs"), null, null); this.SaveNirsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save *.nirs"); w1.Add(this.SaveNirsAction, null); this.SaveSnirfAction = new global::Gtk.Action("SaveSnirfAction", global::Mono.Unix.Catalog.GetString("Save *.snirf"), null, null); this.SaveSnirfAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save *.snirf"); w1.Add(this.SaveSnirfAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.TwoDimensionalAction = new global::Gtk.ToggleAction("TwoDimensionalAction", global::Mono.Unix.Catalog.GetString("Two-Dimensional"), null, null); this.TwoDimensionalAction.Active = true; this.TwoDimensionalAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Two-Dimensional"); w1.Add(this.TwoDimensionalAction, null); this.TenTwentyViewAction = new global::Gtk.ToggleAction("TenTwentyViewAction", global::Mono.Unix.Catalog.GetString("Ten-Twenty View"), null, null); this.TenTwentyViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ten-Twenty View"); w1.Add(this.TenTwentyViewAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menu name='LoadDataAction' action='LoadDataAction'><menuitem name='LoadNirsAction' action='LoadNirsAction'/><menuitem name='LoadSnirfAction' action='LoadSnirfAction'/><menuitem name='LoadNIRxAction' action='LoadNIRxAction'/></menu><menu name='SaveDataAction' action='SaveDataAction'><menuitem name='SaveNirsAction' action='SaveNirsAction'/><menuitem name='SaveSnirfAction' action='SaveSnirfAction'/></menu><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='TwoDimensionalAction' action='TwoDimensionalAction'/><menuitem name='TenTwentyViewAction' action='TenTwentyViewAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox3.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu><menu><menuitem/><menuitem/><menuitem/></menu><menu><menuitem/><menuitem/></menu><menuitem/></menu><menu><menuitem/><menuitem/></menu><menu><menu><menuitem/><menuitem/><menuitem/></menu><menu><menuitem/><menuitem/></menu><menuitem/></menu><menu><menuitem/><menuitem/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox3.Add(this.menubar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar1])); w3.Position = 1; w3.Expand = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.drawingarea_main = new global::Gtk.DrawingArea(); this.drawingarea_main.WidthRequest = 197; this.drawingarea_main.Name = "drawingarea_main"; this.hbox1.Add(this.drawingarea_main); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.drawingarea_main])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.hbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.drawingareaSDG = new global::Gtk.DrawingArea(); this.drawingareaSDG.WidthRequest = 225; this.drawingareaSDG.Name = "drawingareaSDG"; this.vbox1.Add(this.drawingareaSDG); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.drawingareaSDG])); w6.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox1.Add(this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.Name = "combobox1"; this.vbox1.Add(this.combobox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.combobox1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.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.textFileInfo = new global::Gtk.TextView(); this.textFileInfo.CanFocus = true; this.textFileInfo.Name = "textFileInfo"; this.GtkScrolledWindow.Add(this.textFileInfo); this.notebook1.Add(this.GtkScrolledWindow); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("File Info"); this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label1); this.label1.ShowAll(); // Container child notebook1.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.textEventInfo = new global::Gtk.TextView(); this.textEventInfo.CanFocus = true; this.textEventInfo.Name = "textEventInfo"; this.GtkScrolledWindow1.Add(this.textEventInfo); this.notebook1.Add(this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow1])); w12.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Events"); this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label3); this.label3.ShowAll(); // Notebook tab global::Gtk.Label w13 = new global::Gtk.Label(); w13.Visible = true; this.notebook1.Add(w13); this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("MetaData"); this.notebook1.SetTabLabel(w13, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w14.Position = 3; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w16.Position = 2; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 589; this.DefaultHeight = 498; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.combobox1.Changed += new global::System.EventHandler(this.ChangeData); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget tacticalProxy this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("&File"); w1.Add (this.FileAction, null); this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Start Listening"), global::Mono.Unix.Catalog.GetString ("Start Listening"), "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start Listening"); w1.Add (this.connectAction, null); this.disconnectAction = new global::Gtk.Action ("disconnectAction", global::Mono.Unix.Catalog.GetString ("Stop Listening"), null, "gtk-disconnect"); this.disconnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop Listening"); w1.Add (this.disconnectAction, null); this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", global::Mono.Unix.Catalog.GetString ("Start Capture"), null, "gtk-media-play"); this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Start Capture"); w1.Add (this.mediaPlayAction1, null); this.stopAction = new global::Gtk.Action ("stopAction", global::Mono.Unix.Catalog.GetString ("Stop Capture"), null, "gtk-stop"); this.stopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop Capture"); w1.Add (this.stopAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("&Edit"); w1.Add (this.EditAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Preferences"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences"); w1.Add (this.preferencesAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.findAction = new global::Gtk.Action ("findAction", global::Mono.Unix.Catalog.GetString ("Create Filter"), null, "gtk-find"); this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create Filter"); w1.Add (this.findAction, null); this.mediaPlayAction2 = new global::Gtk.ToggleAction ("mediaPlayAction2", global::Mono.Unix.Catalog.GetString ("Toggle Listening"), global::Mono.Unix.Catalog.GetString ("Toggle Listening"), "gtk-media-play"); this.mediaPlayAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Toggle Listening"); w1.Add (this.mediaPlayAction2, null); this.mediaRecordAction = new global::Gtk.ToggleAction ("mediaRecordAction", global::Mono.Unix.Catalog.GetString ("Toggle Capture"), global::Mono.Unix.Catalog.GetString ("Toggle Capture"), "gtk-media-record"); this.mediaRecordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Toggle Capture"); w1.Add (this.mediaRecordAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "tacticalProxy"; this.Title = global::Mono.Unix.Catalog.GetString ("tProxy"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("meticulus.controls.gtk.images.tacticalProxy.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child tacticalProxy.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='disconnectAction' action='disconnectAction'/><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menuitem name='stopAction' action='stopAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='findAction' action='findAction'/></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.toolbar3 = new global::meticulus.controls.gtk.toolbar (); this.toolbar3.HeightRequest = 50; this.toolbar3.Events = ((global::Gdk.EventMask)(256)); this.toolbar3.Name = "toolbar3"; this.toolbar3.small = false; this.vbox1.Add (this.toolbar3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar3])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.proxy_transaction_nodeview1 = new global::meticulus.controls.gtk.proxy_transaction_nodeview (); this.proxy_transaction_nodeview1.Events = ((global::Gdk.EventMask)(256)); this.proxy_transaction_nodeview1.Name = "proxy_transaction_nodeview1"; this.proxy_transaction_nodeview1.scroll_lock = false; this.proxy_transaction_nodeview1.capture = false; this.vbox1.Add (this.proxy_transaction_nodeview1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.proxy_transaction_nodeview1])); w4.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.disconnectAction.Activated += new global::System.EventHandler (this.OnDisconnectActionActivated); this.mediaPlayAction1.Activated += new global::System.EventHandler (this.OnMediaPlayAction1Activated); this.stopAction.Activated += new global::System.EventHandler (this.OnStopActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPropertiesActionActivated); this.findAction.Activated += new global::System.EventHandler (this.OnFindActionActivated); this.mediaPlayAction2.Activated += new global::System.EventHandler (this.OnMediaPlayAction2Activated); this.mediaRecordAction.Activated += new global::System.EventHandler (this.OnMediaRecordActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.mediaPreviousAction = new global::Gtk.Action("mediaPreviousAction", null, null, "gtk-media-previous"); w1.Add(this.mediaPreviousAction, null); this.mediaStopAction = new global::Gtk.Action("mediaStopAction", null, null, "gtk-media-stop"); w1.Add(this.mediaStopAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", null, null, "gtk-media-play"); w1.Add(this.mediaPlayAction, null); this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new"); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, null); this.floppyAction = new global::Gtk.Action("floppyAction", null, null, "gtk-floppy"); w1.Add(this.floppyAction, null); this.revertToSavedAction = new global::Gtk.Action("revertToSavedAction", null, null, "gtk-revert-to-saved"); w1.Add(this.revertToSavedAction, null); this.connectSerialAction = new global::Gtk.Action("connectSerialAction", null, null, "gtk-disconnect"); w1.Add(this.connectSerialAction, null); this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add"); w1.Add(this.addAction, null); this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove"); w1.Add(this.removeAction, null); this.refreshAction = new global::Gtk.ToggleAction("refreshAction", null, null, "gtk-refresh"); w1.Add(this.refreshAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("RobotInterface"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.VPanel1 = new global::Gtk.VBox(); this.VPanel1.Name = "VPanel1"; this.VPanel1.Spacing = 6; // Container child VPanel1.Gtk.Box+BoxChild this.MenuBar = new global::Gtk.HBox(); this.MenuBar.Name = "MenuBar"; this.MenuBar.Spacing = 6; // Container child MenuBar.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='MenuTools'><toolitem name='newAction' action='newAction'/><separator/><toolitem name='openAction' action='openAction'/><separator/><toolitem name='floppyAction' action='floppyAction'/><toolitem name='revertToSavedAction' action='revertToSavedAction'/><separator/><toolitem name='connectSerialAction' action='connectSerialAction'/></toolbar></ui>"); this.MenuTools = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/MenuTools"))); this.MenuTools.Name = "MenuTools"; this.MenuTools.ShowArrow = false; this.MenuTools.IconSize = ((global::Gtk.IconSize)(2)); this.MenuBar.Add(this.MenuTools); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.MenuBar[this.MenuTools])); w2.Position = 0; w2.Expand = false; // Container child MenuBar.Gtk.Box+BoxChild this.SerialPortDropdown = global::Gtk.ComboBox.NewText(); this.SerialPortDropdown.Name = "SerialPortDropdown"; this.MenuBar.Add(this.SerialPortDropdown); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.MenuBar[this.SerialPortDropdown])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child MenuBar.Gtk.Box+BoxChild this.BaudRateDropdown = global::Gtk.ComboBox.NewText(); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("110")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("300")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("600")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("1200")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("2400")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("4800")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("9600")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("14400")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("19200")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("38400")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("57600")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("115200")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("128000")); this.BaudRateDropdown.AppendText(global::Mono.Unix.Catalog.GetString("256000")); this.BaudRateDropdown.Name = "BaudRateDropdown"; this.BaudRateDropdown.Active = 11; this.MenuBar.Add(this.BaudRateDropdown); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.MenuBar[this.BaudRateDropdown])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child MenuBar.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.MenuBar.Add(this.fixed1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.MenuBar[this.fixed1])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 3; // Container child MenuBar.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='MediaControls'><toolitem name='mediaPreviousAction' action='mediaPreviousAction'/><toolitem name='mediaStopAction' action='mediaStopAction'/><toolitem name='mediaPlayAction' action='mediaPlayAction'/><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>"); this.MediaControls = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/MediaControls"))); this.MediaControls.Name = "MediaControls"; this.MediaControls.ShowArrow = false; this.MediaControls.IconSize = ((global::Gtk.IconSize)(2)); this.MenuBar.Add(this.MediaControls); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.MenuBar[this.MediaControls])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 4; w6.Expand = false; this.VPanel1.Add(this.MenuBar); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.VPanel1[this.MenuBar])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child VPanel1.Gtk.Box+BoxChild this.HPanel1 = new global::Gtk.HPaned(); this.HPanel1.CanFocus = true; this.HPanel1.Name = "HPanel1"; this.HPanel1.Position = 935; // Container child HPanel1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 406; // Container child vpaned1.Gtk.Paned+PanedChild this.FramesPanel = new global::Gtk.VBox(); this.FramesPanel.Name = "FramesPanel"; this.FramesPanel.Spacing = 6; // Container child FramesPanel.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Frames"); this.hbox8.Add(this.label16); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label16])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox8.Add(this.fixed2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.fixed2])); w9.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'FrameToolbar\'><toolitem name=\'addAction\' action=\'addAction\'/><" + "toolitem name=\'removeAction\' action=\'removeAction\'/></toolbar></ui>"); this.FrameToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/FrameToolbar"))); this.FrameToolbar.Name = "FrameToolbar"; this.FrameToolbar.ShowArrow = false; this.FrameToolbar.IconSize = ((global::Gtk.IconSize)(2)); this.hbox8.Add(this.FrameToolbar); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.FrameToolbar])); w10.Position = 2; w10.Expand = false; this.FramesPanel.Add(this.hbox8); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.FramesPanel[this.hbox8])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child FramesPanel.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.FrameTreeView = new global::Gtk.TreeView(); this.FrameTreeView.CanFocus = true; this.FrameTreeView.Name = "FrameTreeView"; this.GtkScrolledWindow.Add(this.FrameTreeView); this.FramesPanel.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.FramesPanel[this.GtkScrolledWindow])); w13.Position = 1; this.vpaned1.Add(this.FramesPanel); global::Gtk.Paned.PanedChild w14 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.FramesPanel])); w14.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.TerminalPanel = new global::Gtk.VBox(); this.TerminalPanel.Name = "TerminalPanel"; this.TerminalPanel.Spacing = 6; // Container child TerminalPanel.Gtk.Box+BoxChild this.TerminalHeader = new global::Gtk.HBox(); this.TerminalHeader.Name = "TerminalHeader"; this.TerminalHeader.Spacing = 6; // Container child TerminalHeader.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Terminal"); this.TerminalHeader.Add(this.label1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.TerminalHeader[this.label1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.TerminalPanel.Add(this.TerminalHeader); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.TerminalPanel[this.TerminalHeader])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child TerminalPanel.Gtk.Box+BoxChild this.TerminalScrollWindow = new global::Gtk.ScrolledWindow(); this.TerminalScrollWindow.Name = "TerminalScrollWindow"; this.TerminalScrollWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child TerminalScrollWindow.Gtk.Container+ContainerChild this.SerialTerminal = new global::Gtk.TextView(); this.SerialTerminal.CanFocus = true; this.SerialTerminal.Name = "SerialTerminal"; this.SerialTerminal.Editable = false; this.SerialTerminal.CursorVisible = false; this.TerminalScrollWindow.Add(this.SerialTerminal); this.TerminalPanel.Add(this.TerminalScrollWindow); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.TerminalPanel[this.TerminalScrollWindow])); w18.Position = 1; this.vpaned1.Add(this.TerminalPanel); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.TerminalPanel])); w19.Resize = false; w19.Shrink = false; this.HPanel1.Add(this.vpaned1); global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.HPanel1[this.vpaned1])); w20.Resize = false; // Container child HPanel1.Gtk.Paned+PanedChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Frame Properties"); this.hbox7.Add(this.label15); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label15])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox7.Add(this.hbox7); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox7])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w23 = new global::Gtk.Viewport(); w23.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.FramePropertiesPanel = new global::Gtk.VBox(); this.FramePropertiesPanel.Name = "FramePropertiesPanel"; this.FramePropertiesPanel.Spacing = 6; // Container child FramePropertiesPanel.Gtk.Box+BoxChild this.PropertyContainer1 = new global::Gtk.VBox(); this.PropertyContainer1.Name = "PropertyContainer1"; this.PropertyContainer1.Spacing = 6; // Container child PropertyContainer1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.PropertyContainer1.Add(this.hseparator1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.PropertyContainer1[this.hseparator1])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child PropertyContainer1.Gtk.Box+BoxChild this.PropertyContent1 = new global::Gtk.VBox(); this.PropertyContent1.Name = "PropertyContent1"; this.PropertyContent1.Spacing = 6; // Container child PropertyContent1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); this.hbox5.Add(this.label13); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label13])); w25.Position = 0; w25.Expand = false; w25.Fill = false; this.PropertyContent1.Add(this.hbox5); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.PropertyContent1[this.hbox5])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child PropertyContent1.Gtk.Box+BoxChild this.FrameNameEntry = new global::Gtk.Entry(); this.FrameNameEntry.CanFocus = true; this.FrameNameEntry.Name = "FrameNameEntry"; this.FrameNameEntry.IsEditable = true; this.FrameNameEntry.InvisibleChar = '•'; this.PropertyContent1.Add(this.FrameNameEntry); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.PropertyContent1[this.FrameNameEntry])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child PropertyContent1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Time (Milliseconds)"); this.hbox6.Add(this.label14); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.label14])); w28.Position = 0; w28.Expand = false; w28.Fill = false; this.PropertyContent1.Add(this.hbox6); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.PropertyContent1[this.hbox6])); w29.Position = 2; w29.Expand = false; w29.Fill = false; // Container child PropertyContent1.Gtk.Box+BoxChild this.FrameTimeEntry = new global::Gtk.Entry(); this.FrameTimeEntry.CanFocus = true; this.FrameTimeEntry.Name = "FrameTimeEntry"; this.FrameTimeEntry.Text = global::Mono.Unix.Catalog.GetString("0"); this.FrameTimeEntry.IsEditable = true; this.FrameTimeEntry.InvisibleChar = '•'; this.PropertyContent1.Add(this.FrameTimeEntry); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.PropertyContent1[this.FrameTimeEntry])); w30.Position = 3; w30.Expand = false; w30.Fill = false; this.PropertyContainer1.Add(this.PropertyContent1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.PropertyContainer1[this.PropertyContent1])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.FramePropertiesPanel.Add(this.PropertyContainer1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.FramePropertiesPanel[this.PropertyContainer1])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child FramePropertiesPanel.Gtk.Box+BoxChild this.PropertyContainer = new global::Gtk.VBox(); this.PropertyContainer.Name = "PropertyContainer"; this.PropertyContainer.Spacing = 6; // Container child PropertyContainer.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.PropertyContainer.Add(this.hseparator2); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.PropertyContainer[this.hseparator2])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child PropertyContainer.Gtk.Box+BoxChild this.PropertyHeader = new global::Gtk.HBox(); this.PropertyHeader.Name = "PropertyHeader"; this.PropertyHeader.Spacing = 6; // Container child PropertyHeader.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Actuators"); this.PropertyHeader.Add(this.label4); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.PropertyHeader[this.label4])); w34.Position = 0; w34.Expand = false; w34.Fill = false; this.PropertyContainer.Add(this.PropertyHeader); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.PropertyContainer[this.PropertyHeader])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child PropertyContainer.Gtk.Box+BoxChild this.PropertyContent = new global::Gtk.VBox(); this.PropertyContent.Name = "PropertyContent"; this.PropertyContent.Spacing = 6; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale = new global::Gtk.HScale(null); this.FrameActuatorScale.CanFocus = true; this.FrameActuatorScale.Name = "FrameActuatorScale"; this.FrameActuatorScale.Adjustment.Upper = 180D; this.FrameActuatorScale.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale.DrawValue = true; this.FrameActuatorScale.Digits = 2; this.FrameActuatorScale.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale1 = new global::Gtk.HScale(null); this.FrameActuatorScale1.CanFocus = true; this.FrameActuatorScale1.Name = "FrameActuatorScale1"; this.FrameActuatorScale1.Adjustment.Upper = 180D; this.FrameActuatorScale1.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale1.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale1.DrawValue = true; this.FrameActuatorScale1.Digits = 2; this.FrameActuatorScale1.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale1])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale2 = new global::Gtk.HScale(null); this.FrameActuatorScale2.CanFocus = true; this.FrameActuatorScale2.Name = "FrameActuatorScale2"; this.FrameActuatorScale2.Adjustment.Upper = 180D; this.FrameActuatorScale2.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale2.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale2.DrawValue = true; this.FrameActuatorScale2.Digits = 2; this.FrameActuatorScale2.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale2])); w38.Position = 2; w38.Expand = false; w38.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale3 = new global::Gtk.HScale(null); this.FrameActuatorScale3.CanFocus = true; this.FrameActuatorScale3.Name = "FrameActuatorScale3"; this.FrameActuatorScale3.Adjustment.Upper = 180D; this.FrameActuatorScale3.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale3.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale3.DrawValue = true; this.FrameActuatorScale3.Digits = 2; this.FrameActuatorScale3.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale3])); w39.Position = 3; w39.Expand = false; w39.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale4 = new global::Gtk.HScale(null); this.FrameActuatorScale4.CanFocus = true; this.FrameActuatorScale4.Name = "FrameActuatorScale4"; this.FrameActuatorScale4.Adjustment.Upper = 180D; this.FrameActuatorScale4.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale4.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale4.DrawValue = true; this.FrameActuatorScale4.Digits = 2; this.FrameActuatorScale4.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale4); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale4])); w40.Position = 4; w40.Expand = false; w40.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale5 = new global::Gtk.HScale(null); this.FrameActuatorScale5.CanFocus = true; this.FrameActuatorScale5.Name = "FrameActuatorScale5"; this.FrameActuatorScale5.Adjustment.Upper = 180D; this.FrameActuatorScale5.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale5.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale5.DrawValue = true; this.FrameActuatorScale5.Digits = 2; this.FrameActuatorScale5.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale5); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale5])); w41.Position = 5; w41.Expand = false; w41.Fill = false; // Container child PropertyContent.Gtk.Box+BoxChild this.FrameActuatorScale6 = new global::Gtk.HScale(null); this.FrameActuatorScale6.CanFocus = true; this.FrameActuatorScale6.Name = "FrameActuatorScale6"; this.FrameActuatorScale6.Adjustment.Upper = 180D; this.FrameActuatorScale6.Adjustment.PageIncrement = 0.5D; this.FrameActuatorScale6.Adjustment.StepIncrement = 0.05D; this.FrameActuatorScale6.DrawValue = true; this.FrameActuatorScale6.Digits = 2; this.FrameActuatorScale6.ValuePos = ((global::Gtk.PositionType)(2)); this.PropertyContent.Add(this.FrameActuatorScale6); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.PropertyContent[this.FrameActuatorScale6])); w42.Position = 6; w42.Expand = false; w42.Fill = false; this.PropertyContainer.Add(this.PropertyContent); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.PropertyContainer[this.PropertyContent])); w43.Position = 2; w43.Expand = false; w43.Fill = false; this.FramePropertiesPanel.Add(this.PropertyContainer); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.FramePropertiesPanel[this.PropertyContainer])); w44.Position = 1; w44.Expand = false; w44.Fill = false; w23.Add(this.FramePropertiesPanel); this.scrolledwindow1.Add(w23); this.vbox7.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.scrolledwindow1])); w47.Position = 1; this.HPanel1.Add(this.vbox7); global::Gtk.Paned.PanedChild w48 = ((global::Gtk.Paned.PanedChild)(this.HPanel1[this.vbox7])); w48.Resize = false; w48.Shrink = false; this.VPanel1.Add(this.HPanel1); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.VPanel1[this.HPanel1])); w49.Position = 1; this.Add(this.VPanel1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1209; this.DefaultHeight = 648; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.mediaPreviousAction.Activated += new global::System.EventHandler(this.OnResetTimelineActivated); this.mediaStopAction.Activated += new global::System.EventHandler(this.OnStopTimelineActivated); this.mediaPlayAction.Activated += new global::System.EventHandler(this.OnPlayTimelineActivated); this.connectSerialAction.Activated += new global::System.EventHandler(this.OnConnectSerialActivated); this.addAction.Activated += new global::System.EventHandler(this.OnAddFrameActivated); this.removeAction.Activated += new global::System.EventHandler(this.OnRemoveFrameActivated); this.refreshAction.Toggled += new global::System.EventHandler(this.OnRepeatTimelineToggled); this.FrameTreeView.RowActivated += new global::Gtk.RowActivatedHandler(this.OnFrameTreeViewRowActivated); this.FrameNameEntry.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnFramePropertyKeyRelease); this.FrameTimeEntry.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnFramePropertyKeyRelease); this.FrameActuatorScale.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale1.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale2.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale3.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale4.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale5.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); this.FrameActuatorScale6.ValueChanged += new global::System.EventHandler(this.OnFrameActuatorScaleChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Smuxi.Frontend.Gnome.MenuWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.f_SmuxiAction = new global::Gtk.Action("f_SmuxiAction", global::Mono.Unix.Catalog.GetString("_Smuxi"), null, null); this.f_SmuxiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Smuxi"); w2.Add(this.f_SmuxiAction, null); this.ServerAction = new global::Gtk.Action("ServerAction", global::Mono.Unix.Catalog.GetString("_Server"), null, null); this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Server"); w2.Add(this.ServerAction, null); this.ChatAction = new global::Gtk.Action("ChatAction", global::Mono.Unix.Catalog.GetString("_Chat"), null, null); this.ChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Chat"); w2.Add(this.ChatAction, null); this.EngineAction = new global::Gtk.Action("EngineAction", global::Mono.Unix.Catalog.GetString("_Engine"), null, null); this.EngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Engine"); w2.Add(this.EngineAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w2.Add(this.ViewAction, null); this.f_HelpAction = new global::Gtk.Action("f_HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.f_HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w2.Add(this.f_HelpAction, null); this.f_ConnectToolAction = new global::Gtk.Action("f_ConnectToolAction", global::Mono.Unix.Catalog.GetString("Connect"), null, "gtk-network"); this.f_ConnectToolAction.IsImportant = true; this.f_ConnectToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Connect"); w2.Add(this.f_ConnectToolAction, null); this.f_OpenLogToolAction = new global::Gtk.Action("f_OpenLogToolAction", global::Mono.Unix.Catalog.GetString("Open Log"), null, "gtk-open"); this.f_OpenLogToolAction.IsImportant = true; this.f_OpenLogToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Log"); w2.Add(this.f_OpenLogToolAction, null); this.f_FullscreenToolAction = new global::Gtk.Action("f_FullscreenToolAction", null, null, "gtk-fullscreen"); this.f_FullscreenToolAction.IsImportant = true; w2.Add(this.f_FullscreenToolAction, null); this.f_PreferencesToolAction = new global::Gtk.Action("f_PreferencesToolAction", null, null, "gtk-preferences"); this.f_PreferencesToolAction.IsImportant = true; w2.Add(this.f_PreferencesToolAction, null); this.f_PreferencesAction = new global::Gtk.Action("f_PreferencesAction", global::Mono.Unix.Catalog.GetString("_Preferences"), null, "gtk-preferences"); this.f_PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences"); w2.Add(this.f_PreferencesAction, null); this.f_QuitAction = new global::Gtk.Action("f_QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, null); this.f_QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w2.Add(this.f_QuitAction, "<Control>q"); this.f_ConnectAction = new global::Gtk.Action("f_ConnectAction", global::Mono.Unix.Catalog.GetString("_Connect"), null, "gtk-network"); this.f_ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Connect"); w2.Add(this.f_ConnectAction, null); this.f_AddServerAction = new global::Gtk.Action("f_AddServerAction", global::Mono.Unix.Catalog.GetString("_Add"), null, "gtk-add"); this.f_AddServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add"); w2.Add(this.f_AddServerAction, null); this.f_ManageServerAction = new global::Gtk.Action("f_ManageServerAction", global::Mono.Unix.Catalog.GetString("_Manage"), null, "gtk-edit"); this.f_ManageServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Manage"); w2.Add(this.f_ManageServerAction, null); this.f_JoinChatAction = new global::Gtk.Action("f_JoinChatAction", global::Mono.Unix.Catalog.GetString("_Open / Join Chat"), null, null); this.f_JoinChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open / Join Chat"); w2.Add(this.f_JoinChatAction, "<Control>l"); this.f_FindGroupChatAction = new global::Gtk.Action("f_FindGroupChatAction", global::Mono.Unix.Catalog.GetString("_Find Group Chat"), null, null); this.f_FindGroupChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Find Group Chat"); w2.Add(this.f_FindGroupChatAction, null); this.f_ClearAllActivityAction = new global::Gtk.Action("f_ClearAllActivityAction", global::Mono.Unix.Catalog.GetString("C_lear All Activity"), null, "gtk-clear"); this.f_ClearAllActivityAction.ShortLabel = global::Mono.Unix.Catalog.GetString("C_lear All Activity"); w2.Add(this.f_ClearAllActivityAction, null); this.f_NextChatAction = new global::Gtk.Action("f_NextChatAction", global::Mono.Unix.Catalog.GetString("_Next Chat"), null, "gtk-go-forward"); this.f_NextChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Next Chat"); w2.Add(this.f_NextChatAction, "<Control>Page_Down"); this.f_PreviousChatAction = new global::Gtk.Action("f_PreviousChatAction", global::Mono.Unix.Catalog.GetString("_Previous Chat"), null, "gtk-go-back"); this.f_PreviousChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Previous Chat"); w2.Add(this.f_PreviousChatAction, "<Control>Page_Up"); this.f_CloseChatAction = new global::Gtk.Action("f_CloseChatAction", global::Mono.Unix.Catalog.GetString("_Close"), null, null); this.f_CloseChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close"); w2.Add(this.f_CloseChatAction, "<Control>w"); this.f_UseLocalEngineAction = new global::Gtk.Action("f_UseLocalEngineAction", global::Mono.Unix.Catalog.GetString("_Use Local Engine"), null, null); this.f_UseLocalEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Use Local Engine"); w2.Add(this.f_UseLocalEngineAction, null); this.f_AddRemoteEngineAction = new global::Gtk.Action("f_AddRemoteEngineAction", global::Mono.Unix.Catalog.GetString("_Add Remote Engine"), null, null); this.f_AddRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Add Remote Engine"); w2.Add(this.f_AddRemoteEngineAction, null); this.f_SwitchRemoteEngineAction = new global::Gtk.Action("f_SwitchRemoteEngineAction", global::Mono.Unix.Catalog.GetString("Switch Remote Engine"), null, null); this.f_SwitchRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Switch Remote Engine"); w2.Add(this.f_SwitchRemoteEngineAction, null); this.f_CaretModeAction = new global::Gtk.ToggleAction("f_CaretModeAction", global::Mono.Unix.Catalog.GetString("_Caret Mode"), null, null); this.f_CaretModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Caret Mode"); w2.Add(this.f_CaretModeAction, "F7"); this.f_BrowseModeAction = new global::Gtk.ToggleAction("f_BrowseModeAction", global::Mono.Unix.Catalog.GetString("_Browse Mode"), null, null); this.f_BrowseModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Browse Mode"); w2.Add(this.f_BrowseModeAction, "F8"); this.f_ShowMenubarAction = new global::Gtk.ToggleAction("f_ShowMenubarAction", global::Mono.Unix.Catalog.GetString("Show _Menubar"), null, null); this.f_ShowMenubarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Menubar"); w2.Add(this.f_ShowMenubarAction, null); this.f_ShowStatusbarAction = new global::Gtk.ToggleAction("f_ShowStatusbarAction", global::Mono.Unix.Catalog.GetString("Show _Statusbar"), null, null); this.f_ShowStatusbarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Statusbar"); w2.Add(this.f_ShowStatusbarAction, null); this.f_FullscreenAction = new global::Gtk.Action("f_FullscreenAction", global::Mono.Unix.Catalog.GetString("_Fullscreen"), null, "gtk-fullscreen"); this.f_FullscreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Fullscreen"); w2.Add(this.f_FullscreenAction, "F11"); this.f_AboutAction = new global::Gtk.Action("f_AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.f_AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w2.Add(this.f_AboutAction, null); this.f_OpenLogAction = new global::Gtk.Action("f_OpenLogAction", global::Mono.Unix.Catalog.GetString("Open Log"), null, null); this.f_OpenLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Log"); w2.Add(this.f_OpenLogAction, null); this.f_FindGroupChatToolAction = new global::Gtk.Action("f_FindGroupChatToolAction", global::Mono.Unix.Catalog.GetString("Find Group Chat"), null, null); this.f_FindGroupChatToolAction.IsImportant = true; this.f_FindGroupChatToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Find Group Chat"); w2.Add(this.f_FindGroupChatToolAction, null); this.f_WebsiteAction = new global::Gtk.Action("f_WebsiteAction", global::Mono.Unix.Catalog.GetString("_Website"), null, null); this.f_WebsiteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Website"); w2.Add(this.f_WebsiteAction, null); this.f_ShowToolbarAction = new global::Gtk.ToggleAction("f_ShowToolbarAction", global::Mono.Unix.Catalog.GetString("Show _Toolbar"), null, null); this.f_ShowToolbarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Toolbar"); w2.Add(this.f_ShowToolbarAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "Smuxi.Frontend.Gnome.MenuWidget"; // Container child Smuxi.Frontend.Gnome.MenuWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='f_MenuBar'><menu name='f_SmuxiAction' action='f_SmuxiAction'><menuitem name='f_PreferencesAction' action='f_PreferencesAction'/><menuitem name='f_QuitAction' action='f_QuitAction'/></menu><menu name='ServerAction' action='ServerAction'><menuitem name='f_ConnectAction' action='f_ConnectAction'/><separator/><menuitem name='f_AddServerAction' action='f_AddServerAction'/><menuitem name='f_ManageServerAction' action='f_ManageServerAction'/></menu><menu name='ChatAction' action='ChatAction'><menuitem name='f_JoinChatAction' action='f_JoinChatAction'/><menuitem name='f_FindGroupChatAction' action='f_FindGroupChatAction'/><menuitem name='f_ClearAllActivityAction' action='f_ClearAllActivityAction'/><separator/><menuitem name='f_NextChatAction' action='f_NextChatAction'/><menuitem name='f_PreviousChatAction' action='f_PreviousChatAction'/><separator/><menuitem name='f_OpenLogAction' action='f_OpenLogAction'/><menuitem name='f_CloseChatAction' action='f_CloseChatAction'/></menu><menu name='EngineAction' action='EngineAction'><menuitem name='f_UseLocalEngineAction' action='f_UseLocalEngineAction'/><separator/><menuitem name='f_AddRemoteEngineAction' action='f_AddRemoteEngineAction'/><menuitem name='f_SwitchRemoteEngineAction' action='f_SwitchRemoteEngineAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='f_CaretModeAction' action='f_CaretModeAction'/><menuitem name='f_BrowseModeAction' action='f_BrowseModeAction'/><menuitem name='f_ShowMenubarAction' action='f_ShowMenubarAction'/><menuitem name='f_ShowToolbarAction' action='f_ShowToolbarAction'/><menuitem name='f_ShowStatusbarAction' action='f_ShowStatusbarAction'/><menuitem name='f_FullscreenAction' action='f_FullscreenAction'/></menu><menu name='f_HelpAction' action='f_HelpAction'><menuitem name='f_WebsiteAction' action='f_WebsiteAction'/><menuitem name='f_AboutAction' action='f_AboutAction'/></menu></menubar></ui>"); this.f_MenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/f_MenuBar"))); this.f_MenuBar.Name = "f_MenuBar"; this.vbox2.Add(this.f_MenuBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.f_MenuBar])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='f_MenuToolbar'><toolitem name='f_ConnectToolAction' action='f_ConnectToolAction'/><toolitem name='f_FindGroupChatToolAction' action='f_FindGroupChatToolAction'/><toolitem name='f_OpenLogToolAction' action='f_OpenLogToolAction'/><toolitem name='f_FullscreenToolAction' action='f_FullscreenToolAction'/><toolitem name='f_PreferencesToolAction' action='f_PreferencesToolAction'/></toolbar></ui>"); this.f_MenuToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/f_MenuToolbar"))); this.f_MenuToolbar.Name = "f_MenuToolbar"; this.f_MenuToolbar.ShowArrow = false; this.f_MenuToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.f_MenuToolbar.IconSize = ((global::Gtk.IconSize)(3)); this.hbox1.Add(this.f_MenuToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_MenuToolbar])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='f_JoinToolbar'/></ui>"); this.f_JoinToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/f_JoinToolbar"))); this.f_JoinToolbar.Name = "f_JoinToolbar"; this.f_JoinToolbar.ShowArrow = false; this.hbox1.Add(this.f_JoinToolbar); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinToolbar])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.f_ConnectToolAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); this.f_OpenLogToolAction.Activated += new global::System.EventHandler(this.OnOpenLogActionActivated); this.f_FullscreenToolAction.Activated += new global::System.EventHandler(this.OnFullscreenActionActivated); this.f_PreferencesToolAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.f_PreferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.f_QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.f_ConnectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); this.f_AddServerAction.Activated += new global::System.EventHandler(this.OnAddServerActionActivated); this.f_ManageServerAction.Activated += new global::System.EventHandler(this.OnManageServerActionActivated); this.f_JoinChatAction.Activated += new global::System.EventHandler(this.OnJoinChatActionActivated); this.f_FindGroupChatAction.Activated += new global::System.EventHandler(this.OnFindGroupChatActionActivated); this.f_ClearAllActivityAction.Activated += new global::System.EventHandler(this.OnClearAllActivityActionActivated); this.f_NextChatAction.Activated += new global::System.EventHandler(this.OnNextChatActionActivated); this.f_PreviousChatAction.Activated += new global::System.EventHandler(this.OnPreviousChatActionActivated); this.f_CloseChatAction.Activated += new global::System.EventHandler(this.OnCloseChatActionActivated); this.f_UseLocalEngineAction.Activated += new global::System.EventHandler(this.OnUseLocalEngineActionActivated); this.f_AddRemoteEngineAction.Activated += new global::System.EventHandler(this.OnAddRemoteEngineActionActivated); this.f_SwitchRemoteEngineAction.Activated += new global::System.EventHandler(this.OnSwitchRemoteEngineActionActivated); this.f_CaretModeAction.Toggled += new global::System.EventHandler(this.OnCaretModeActionToggled); this.f_BrowseModeAction.Toggled += new global::System.EventHandler(this.OnBrowseModeActionToggled); this.f_ShowMenubarAction.Toggled += new global::System.EventHandler(this.OnShowMenubarActionToggled); this.f_ShowStatusbarAction.Toggled += new global::System.EventHandler(this.OnShowStatusbarActionToggled); this.f_FullscreenAction.Activated += new global::System.EventHandler(this.OnFullscreenActionActivated); this.f_AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.f_OpenLogAction.Activated += new global::System.EventHandler(this.OnOpenLogActionActivated); this.f_FindGroupChatToolAction.Activated += new global::System.EventHandler(this.OnFindGroupChatActionActivated); this.f_WebsiteAction.Activated += new global::System.EventHandler(this.OnWebsiteActionActivated); this.f_ShowToolbarAction.Toggled += new global::System.EventHandler(this.OnShowToolbarActionToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget 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.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.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.saveAction = new global::Gtk.Action("saveAction", "_Save XML", null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = "_Save XML"; w1.Add(this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction("iconsAction", "Icons", null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = "Icons"; w1.Add(this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action("exportAsAction", "_Export As", null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = "_Export As"; w1.Add(this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action("exportAsRRAction", "_RomRaider Def XML", null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = "RomRaider Def XML"; w1.Add(this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action("plotExternalAction", "_Plot External (gnuplot)", null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = "_Plot"; w1.Add(this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action("checksumWindowAction", "Checksum Window", null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = "Checksum Window"; w1.Add(this.checksumWindowAction, null); this.propertiesWindowAction = new global::Gtk.Action("propertiesWindowAction", "Properties Window", null, "gtk-properties"); this.propertiesWindowAction.Sensitive = false; this.propertiesWindowAction.ShortLabel = "Properties Window"; w1.Add(this.propertiesWindowAction, "<Alt><Mod2>Return"); this.PlotAction = new global::Gtk.Action("PlotAction", "_Plot", null, null); this.PlotAction.ShortLabel = "_Plot"; w1.Add(this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action("createSVGFileAction", "Create SVG File", null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = "Create SVG File"; w1.Add(this.createSVGFileAction, null); this.visualisationAction = new global::Gtk.Action("visualisationAction", "_Visualisation", null, "gtk-refresh"); this.visualisationAction.Sensitive = false; this.visualisationAction.ShortLabel = "Visualization"; w1.Add(this.visualisationAction, "<Control>space"); this.DataAction = new global::Gtk.Action("DataAction", "_Data", null, null); this.DataAction.ShortLabel = "_Data"; w1.Add(this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action("exportTableAsCSVAction", "Export Table as CSV", null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = "Export Table as CSV"; w1.Add(this.exportTableAsCSVAction, null); this.zoomInAction = new global::Gtk.Action("zoomInAction", "Increase Icon Size", null, "gtk-zoom-in"); this.zoomInAction.Sensitive = false; this.zoomInAction.ShortLabel = "Increase Icon Size"; w1.Add(this.zoomInAction, "<Primary><Mod2>KP_Add"); this.zoomOutAction = new global::Gtk.Action("zoomOutAction", "Decrease Icon Size", null, "gtk-zoom-out"); this.zoomOutAction.Sensitive = false; this.zoomOutAction.ShortLabel = "Decrease Icon Size"; w1.Add(this.zoomOutAction, "<Primary><Mod2>KP_Subtract"); this.zoomNormalAction = new global::Gtk.Action("zoomNormalAction", "Normal Icon Size", null, "gtk-zoom-100"); this.zoomNormalAction.Sensitive = false; this.zoomNormalAction.ShortLabel = "Normal Icon Size"; w1.Add(this.zoomNormalAction, "<Primary><Mod2>0"); this.EditAction = new global::Gtk.Action("EditAction", "_Edit", null, null); this.EditAction.ShortLabel = "_Edit"; w1.Add(this.EditAction, null); this.copyAction = new global::Gtk.Action("copyAction", "Copy Table", "i.e. for paste into spreadsheet application or RomRaider", "gtk-copy"); this.copyAction.Sensitive = false; this.copyAction.ShortLabel = "Copy Table"; w1.Add(this.copyAction, "<Alt><Mod2>c"); this.navigationBarAction = new global::Gtk.ToggleAction("navigationBarAction", "_Navigation Bar", null, null); this.navigationBarAction.Active = true; this.navigationBarAction.ShortLabel = "_Navigation Bar"; w1.Add(this.navigationBarAction, null); this.selectAllAction = new global::Gtk.Action("selectAllAction", "Select _All", null, "gtk-select-all"); this.selectAllAction.Sensitive = false; this.selectAllAction.ShortLabel = "Select _All"; w1.Add(this.selectAllAction, "<Primary><Mod2>a"); this.selectNoneAction = new global::Gtk.Action("selectNoneAction", "Select _None", null, "gtk-clear"); this.selectNoneAction.Sensitive = false; this.selectNoneAction.ShortLabel = "Select _None"; w1.Add(this.selectNoneAction, "<Primary><Mod2>n"); this.exportAsXDFAction = new global::Gtk.Action("exportAsXDFAction", "_TunerPro XDF", null, "gtk-save-as"); this.exportAsXDFAction.Sensitive = false; this.exportAsXDFAction.ShortLabel = "_TunerPro XDF"; w1.Add(this.exportAsXDFAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "ScoobyRom"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/><menuitem name='exportAsXDFAction' action='exportAsXDFAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='copyAction' action='copyAction'/><separator/><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='selectNoneAction' action='selectNoneAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualisationAction' action='visualisationAction'/><separator/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='zoomInAction' action='zoomInAction'/><menuitem name='zoomOutAction' action='zoomOutAction'/><menuitem name='zoomNormalAction' action='zoomNormalAction'/><separator/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='propertiesWindowAction' action='propertiesWindowAction'/><separator/><menuitem name='navigationBarAction' action='navigationBarAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></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.navScrolledWindow = new global::Gtk.ScrolledWindow(); this.navScrolledWindow.HeightRequest = 40; this.navScrolledWindow.Name = "navScrolledWindow"; this.navScrolledWindow.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); // Container child navScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.navbarwidget = new global::GtkWidgets.NavBarWidget(); this.navbarwidget.CanFocus = true; this.navbarwidget.Name = "navbarwidget"; this.navbarwidget.FirstPos = 0; this.navbarwidget.LastPos = -1; this.navbarwidget.CurrentPos = 0; w3.Add(this.navbarwidget); this.navScrolledWindow.Add(w3); this.vbox1.Add(this.navScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.navScrolledWindow])); w6.Position = 1; w6.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned(); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 235; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView(); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add(this.treeview2D); this.vpaned2D.Add(this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w8.Resize = false; w8.Shrink = false; // Container child vpaned2D.Gtk.Paned+PanedChild this.hpaned2D = new global::Gtk.HPaned(); this.hpaned2D.CanFocus = true; this.hpaned2D.Name = "hpaned2D"; this.hpaned2D.Position = 180; // Container child hpaned2D.Gtk.Paned+PanedChild this.scrolledwindowTable2D = new global::Gtk.ScrolledWindow(); this.scrolledwindowTable2D.CanFocus = true; this.scrolledwindowTable2D.Name = "scrolledwindowTable2D"; this.scrolledwindowTable2D.ShadowType = ((global::Gtk.ShadowType)(1)); this.hpaned2D.Add(this.scrolledwindowTable2D); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned2D [this.scrolledwindowTable2D])); w9.Resize = false; this.vpaned2D.Add(this.hpaned2D); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.hpaned2D])); w10.Resize = false; w10.Shrink = false; this.notebook1.Add(this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "2D Tables"; this.notebook1.SetTabLabel(this.vpaned2D, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned(); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 213; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow(); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView(); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add(this.treeview3D); this.vpaned3D.Add(this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w13.Resize = false; w13.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow(); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add(this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w14 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w14.Resize = false; w14.Shrink = false; this.notebook1.Add(this.vpaned3D); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w15.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "3D Tables"; this.notebook1.SetTabLabel(this.vpaned3D, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w16.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add(this.progressbar1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w17.Position = 2; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler(this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler(this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler(this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler(this.OnROMChecksumsActionActivated); this.propertiesWindowAction.Activated += new global::System.EventHandler(this.OnPropertiesWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler(this.OnCreateSVGFileActionActivated); this.visualisationAction.Activated += new global::System.EventHandler(this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler(this.OnExportTableAsCSVActionActivated); this.zoomInAction.Activated += new global::System.EventHandler(this.OnIncreaseIconSizeActionActivated); this.zoomOutAction.Activated += new global::System.EventHandler(this.OnDecreaseIconSizeActionActivated); this.zoomNormalAction.Activated += new global::System.EventHandler(this.OnZoomNormalActionActivated); this.copyAction.Activated += new global::System.EventHandler(this.OnCopyTableAction); this.navigationBarAction.Activated += new global::System.EventHandler(this.OnNavigationBarActionActivated); this.selectAllAction.Activated += new global::System.EventHandler(this.OnSelectAllActionActivated); this.selectNoneAction.Activated += new global::System.EventHandler(this.OnSelectNoneActionActivated); this.exportAsXDFAction.Activated += new global::System.EventHandler(this.OnExportAsXDFActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler(this.OnNotebook1SwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.openAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.aboutAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save XML"), null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save XML"); w1.Add(this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction("iconsAction", global::Mono.Unix.Catalog.GetString("Icons"), null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Icons"); w1.Add(this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action("exportAsAction", global::Mono.Unix.Catalog.GetString("_Export As"), null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export As"); w1.Add(this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action("exportAsRRAction", global::Mono.Unix.Catalog.GetString("RomRaider Def XML"), null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RomRaider Def XML"); w1.Add(this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action("plotExternalAction", global::Mono.Unix.Catalog.GetString("_Plot External (gnuplot)"), null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot"); w1.Add(this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action("checksumWindowAction", global::Mono.Unix.Catalog.GetString("Checksum Window"), null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Checksum Window"); w1.Add(this.checksumWindowAction, null); this.statisticsWindowAction = new global::Gtk.Action("statisticsWindowAction", global::Mono.Unix.Catalog.GetString("Statistics Window"), null, null); this.statisticsWindowAction.Sensitive = false; this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Statistics Window"); w1.Add(this.statisticsWindowAction, null); this.PlotAction = new global::Gtk.Action("PlotAction", global::Mono.Unix.Catalog.GetString("_Plot"), null, null); this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot"); w1.Add(this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action("createSVGFileAction", global::Mono.Unix.Catalog.GetString("Create SVG File"), null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create SVG File"); w1.Add(this.createSVGFileAction, null); this.visualizationAction = new global::Gtk.Action("visualizationAction", global::Mono.Unix.Catalog.GetString("Visualization"), null, "gtk-refresh"); this.visualizationAction.Sensitive = false; this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visualization"); w1.Add(this.visualizationAction, "<Control>space"); this.DataAction = new global::Gtk.Action("DataAction", global::Mono.Unix.Catalog.GetString("_Data"), null, null); this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Data"); w1.Add(this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString("Export Table as CSV"), null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Table as CSV"); w1.Add(this.exportTableAsCSVAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("ScoobyRom"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child 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='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned(); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 200; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView(); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add(this.treeview2D); this.vpaned2D.Add(this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w4.Resize = false; w4.Shrink = false; this.notebook1.Add(this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("2D Tables"); this.notebook1.SetTabLabel(this.vpaned2D, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned(); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 200; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow(); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView(); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add(this.treeview3D); this.vpaned3D.Add(this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w7.Resize = false; w7.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow(); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add(this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w8.Resize = false; w8.Shrink = false; this.notebook1.Add(this.vpaned3D); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w9.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("3D Tables"); this.notebook1.SetTabLabel(this.vpaned3D, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add(this.progressbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w11.Position = 2; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler(this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler(this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler(this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler(this.OnROMChecksumsActionActivated); this.statisticsWindowAction.Activated += new global::System.EventHandler(this.OnStatisticsWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler(this.OnCreateSVGFileActionActivated); this.visualizationAction.Activated += new global::System.EventHandler(this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler(this.OnExportTableAsCSVActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler(this.OnNotebook1SwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget JanelaPrincipal this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.CalculadoraAction = new global::Gtk.Action ( "CalculadoraAction", global::Mono.Unix.Catalog.GetString("Calculadora"), null, null ); this.CalculadoraAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Calculadora"); w1.Add (this.CalculadoraAction, null); this.AjudaAction = new global::Gtk.Action ( "AjudaAction", global::Mono.Unix.Catalog.GetString("Ajuda"), null, null ); this.AjudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ajuda"); w1.Add (this.AjudaAction, null); this.aboutAction = new global::Gtk.Action ( "aboutAction", global::Mono.Unix.Catalog.GetString("Sobre o bCalc"), null, "gtk-about" ); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sobre"); w1.Add (this.aboutAction, null); this.quitAction = new global::Gtk.Action ( "quitAction", global::Mono.Unix.Catalog.GetString("Sai_r do bCalc"), null, "gtk-quit" ); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sai_r"); w1.Add (this.quitAction, null); this.MostrarFunesEstatsticasAction = new global::Gtk.ToggleAction ( "MostrarFunesEstatsticasAction", global::Mono.Unix.Catalog.GetString("Mostrar funções estatísticas"), null, null ); this.MostrarFunesEstatsticasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Mostrar funções estatísticas"); w1.Add (this.MostrarFunesEstatsticasAction, "<Primary>e"); this.MostrarFunesAvanadasAction = new global::Gtk.ToggleAction ( "MostrarFunesAvanadasAction", global::Mono.Unix.Catalog.GetString("Mostrar funções avançadas"), null, null ); this.MostrarFunesAvanadasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Mostrar funções avançadas"); w1.Add (this.MostrarFunesAvanadasAction, "<Primary>a"); this.NotaoAngularAction = new global::Gtk.Action ( "NotaoAngularAction", global::Mono.Unix.Catalog.GetString("Notação angular"), null, null ); this.NotaoAngularAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Notação angular"); w1.Add (this.NotaoAngularAction, null); this.GrausAction = new global::Gtk.RadioAction ( "GrausAction", global::Mono.Unix.Catalog.GetString("Graus"), null, null, 0 ); this.GrausAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.GrausAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Graus"); w1.Add (this.GrausAction, "<Primary>g"); this.RadianosAction = new global::Gtk.RadioAction ( "RadianosAction", global::Mono.Unix.Catalog.GetString("Radianos"), null, null, 0 ); this.RadianosAction.Group = this.GrausAction.Group; this.RadianosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Radianos"); w1.Add (this.RadianosAction, "<Primary>r"); this.deleteAction = new global::Gtk.Action ( "deleteAction", global::Mono.Unix.Catalog.GetString("Limpar memória estatística"), null, "gtk-delete" ); this.deleteAction.Sensitive = false; this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Limpar memória estatística"); w1.Add (this.deleteAction, "<Primary><Alt>e"); this.deleteAction1 = new global::Gtk.Action ( "deleteAction1", global::Mono.Unix.Catalog.GetString("Limpar memória comum"), null, "gtk-delete" ); this.deleteAction1.Sensitive = false; this.deleteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Limpar memória comum"); w1.Add (this.deleteAction1, "<Primary><Alt>c"); this.MemriaAction = new global::Gtk.Action ( "MemriaAction", global::Mono.Unix.Catalog.GetString("Memória"), null, null ); this.MemriaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Memória"); w1.Add (this.MemriaAction, null); this.aaaAction = new global::Gtk.Action ( "aaaAction", global::Mono.Unix.Catalog.GetString("aaa"), null, null ); this.aaaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("aaa"); w1.Add (this.aaaAction, null); this.VisualizarStat = new global::Gtk.Action ( "VisualizarStat", global::Mono.Unix.Catalog.GetString("Visualizar valores estatísticos"), null, null ); this.VisualizarStat.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar conteúdo da memória estatística"); w1.Add (this.VisualizarStat, "<Alt>e"); this.VisualizarMemriaComumAction = new global::Gtk.Action ( "VisualizarMemriaComumAction", global::Mono.Unix.Catalog.GetString("Visualizar memória comum"), null, "calc" ); this.VisualizarMemriaComumAction.Sensitive = false; this.VisualizarMemriaComumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar memória comum"); w1.Add (this.VisualizarMemriaComumAction, null); this.VisualizarComumAction = new global::Gtk.Action ( "VisualizarComumAction", global::Mono.Unix.Catalog.GetString("Visualizar memória comum"), null, null ); this.VisualizarComumAction.Sensitive = false; this.VisualizarComumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualizar memória comum"); w1.Add (this.VisualizarComumAction, "<Alt>c"); this.verValores = new global::Gtk.Action ( "verValores", global::Mono.Unix.Catalog.GetString("Exibir contas feitas até agora"), null, null ); this.verValores.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exibir contas feitas até agora"); w1.Add (this.verValores, "<Alt>h"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "JanelaPrincipal"; this.Title = global::Mono.Unix.Catalog.GetString ("bCalc"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child JanelaPrincipal.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='barraMenu'><menu name='CalculadoraAction' action='CalculadoraAction'><menu name='NotaoAngularAction' action='NotaoAngularAction'><menuitem name='GrausAction' action='GrausAction'/><menuitem name='RadianosAction' action='RadianosAction'/></menu><separator/><menuitem name='deleteAction' action='deleteAction'/><menuitem name='deleteAction1' action='deleteAction1'/><separator/><menuitem name='VisualizarStat' action='VisualizarStat'/><menuitem name='VisualizarComumAction' action='VisualizarComumAction'/><menuitem name='verValores' action='verValores'/><separator/><menuitem name='MostrarFunesEstatsticasAction' action='MostrarFunesEstatsticasAction'/><menuitem name='MostrarFunesAvanadasAction' action='MostrarFunesAvanadasAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='AjudaAction' action='AjudaAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.barraMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/barraMenu"))); this.barraMenu.Name = "barraMenu"; this.vbox1.Add (this.barraMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.barraMenu])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(12)); // Container child vbox6.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelLetra = new global::Gtk.Label (); this.labelLetra.Name = "labelLetra"; this.hbox2.Add (this.labelLetra); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelLetra])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.Visor = new global::Gtk.TextView (); this.Visor.Buffer.Text = "0"; this.Visor.HeightRequest = 20; this.Visor.CanFocus = true; this.Visor.Name = "Visor"; this.Visor.Editable = false; this.Visor.CursorVisible = false; this.Visor.Justification = ((global::Gtk.Justification)(1)); this.scrolledwindow1.Add (this.Visor); this.hbox2.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.scrolledwindow1])); w5.Position = 1; this.vbox6.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox2])); w6.Position = 0; w6.Expand = false; w6.Fill = false; this.vbox1.Add (this.vbox6); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox6])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 8; this.hbox3.BorderWidth = ((uint)(10)); // Container child hbox3.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.botaoCE = new global::Gtk.Button (); this.botaoCE.WidthRequest = 50; this.botaoCE.HeightRequest = 40; this.botaoCE.CanFocus = true; this.botaoCE.Name = "botaoCE"; this.botaoCE.UseUnderline = true; this.botaoCE.Label = global::Mono.Unix.Catalog.GetString ("CE"); this.vbox2.Add (this.botaoCE); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoCE])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botaoQuadrado = new global::Gtk.Button (); this.botaoQuadrado.WidthRequest = 50; this.botaoQuadrado.HeightRequest = 40; this.botaoQuadrado.CanFocus = true; this.botaoQuadrado.Name = "botaoQuadrado"; this.botaoQuadrado.UseUnderline = true; this.botaoQuadrado.Label = global::Mono.Unix.Catalog.GetString ("x²"); this.vbox2.Add (this.botaoQuadrado); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoQuadrado])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botaoMeMais = new global::Gtk.Button (); this.botaoMeMais.WidthRequest = 50; this.botaoMeMais.HeightRequest = 40; this.botaoMeMais.CanFocus = true; this.botaoMeMais.Name = "botaoMeMais"; this.botaoMeMais.UseUnderline = true; this.botaoMeMais.Label = global::Mono.Unix.Catalog.GetString ("M+"); this.vbox2.Add (this.botaoMeMais); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botaoMeMais])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botao7 = new global::Gtk.Button (); this.botao7.WidthRequest = 50; this.botao7.HeightRequest = 40; this.botao7.CanFocus = true; this.botao7.Name = "botao7"; this.botao7.UseUnderline = true; this.botao7.Label = global::Mono.Unix.Catalog.GetString ("7"); this.vbox2.Add (this.botao7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao7])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botao4 = new global::Gtk.Button (); this.botao4.WidthRequest = 50; this.botao4.HeightRequest = 40; this.botao4.CanFocus = true; this.botao4.Name = "botao4"; this.botao4.UseUnderline = true; this.botao4.Label = global::Mono.Unix.Catalog.GetString ("4"); this.vbox2.Add (this.botao4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao4])); w12.Position = 4; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botao1 = new global::Gtk.Button (); this.botao1.WidthRequest = 50; this.botao1.HeightRequest = 40; this.botao1.CanFocus = true; this.botao1.Name = "botao1"; this.botao1.UseUnderline = true; this.botao1.Label = global::Mono.Unix.Catalog.GetString ("1"); this.vbox2.Add (this.botao1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao1])); w13.Position = 5; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.botao = new global::Gtk.Button (); this.botao.WidthRequest = 50; this.botao.HeightRequest = 40; this.botao.CanFocus = true; this.botao.Name = "botao"; this.botao.UseUnderline = true; this.botao.Label = global::Mono.Unix.Catalog.GetString ("0"); this.vbox2.Add (this.botao); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.botao])); w14.Position = 6; w14.Expand = false; w14.Fill = false; this.hbox3.Add (this.vbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.botaoC = new global::Gtk.Button (); this.botaoC.WidthRequest = 50; this.botaoC.HeightRequest = 40; this.botaoC.CanFocus = true; this.botaoC.Name = "botaoC"; this.botaoC.UseUnderline = true; this.botaoC.Label = global::Mono.Unix.Catalog.GetString ("C"); this.vbox3.Add (this.botaoC); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoC])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botaoExp = new global::Gtk.Button (); this.botaoExp.WidthRequest = 50; this.botaoExp.HeightRequest = 40; this.botaoExp.CanFocus = true; this.botaoExp.Name = "botaoExp"; this.botaoExp.UseUnderline = true; this.botaoExp.Label = global::Mono.Unix.Catalog.GetString ("x^y"); this.vbox3.Add (this.botaoExp); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoExp])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botaoMeMenos = new global::Gtk.Button (); this.botaoMeMenos.WidthRequest = 50; this.botaoMeMenos.HeightRequest = 40; this.botaoMeMenos.CanFocus = true; this.botaoMeMenos.Name = "botaoMeMenos"; this.botaoMeMenos.UseUnderline = true; this.botaoMeMenos.Label = global::Mono.Unix.Catalog.GetString ("M-"); this.vbox3.Add (this.botaoMeMenos); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoMeMenos])); w18.Position = 2; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botao8 = new global::Gtk.Button (); this.botao8.WidthRequest = 50; this.botao8.HeightRequest = 40; this.botao8.CanFocus = true; this.botao8.Name = "botao8"; this.botao8.UseUnderline = true; this.botao8.Label = global::Mono.Unix.Catalog.GetString ("8"); this.vbox3.Add (this.botao8); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao8])); w19.Position = 3; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botao5 = new global::Gtk.Button (); this.botao5.WidthRequest = 50; this.botao5.HeightRequest = 40; this.botao5.CanFocus = true; this.botao5.Name = "botao5"; this.botao5.UseUnderline = true; this.botao5.Label = global::Mono.Unix.Catalog.GetString ("5"); this.vbox3.Add (this.botao5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao5])); w20.Position = 4; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botao2 = new global::Gtk.Button (); this.botao2.WidthRequest = 50; this.botao2.HeightRequest = 40; this.botao2.CanFocus = true; this.botao2.Name = "botao2"; this.botao2.UseUnderline = true; this.botao2.Label = global::Mono.Unix.Catalog.GetString ("2"); this.vbox3.Add (this.botao2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botao2])); w21.Position = 5; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.botaoVirgula = new global::Gtk.Button (); this.botaoVirgula.WidthRequest = 50; this.botaoVirgula.HeightRequest = 40; this.botaoVirgula.CanFocus = true; this.botaoVirgula.Name = "botaoVirgula"; this.botaoVirgula.UseUnderline = true; this.botaoVirgula.Label = global::Mono.Unix.Catalog.GetString (","); this.vbox3.Add (this.botaoVirgula); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.botaoVirgula])); w22.Position = 6; w22.Expand = false; w22.Fill = false; this.hbox3.Add (this.vbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.botaoSqrt = new global::Gtk.Button (); this.botaoSqrt.WidthRequest = 50; this.botaoSqrt.HeightRequest = 40; this.botaoSqrt.CanFocus = true; this.botaoSqrt.Name = "botaoSqrt"; this.botaoSqrt.UseUnderline = true; this.botaoSqrt.Label = global::Mono.Unix.Catalog.GetString ("√x"); this.vbox4.Add (this.botaoSqrt); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoSqrt])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botaoRad = new global::Gtk.Button (); this.botaoRad.WidthRequest = 50; this.botaoRad.HeightRequest = 40; this.botaoRad.CanFocus = true; this.botaoRad.Name = "botaoRad"; this.botaoRad.UseUnderline = true; this.botaoRad.Label = global::Mono.Unix.Catalog.GetString ("x√y"); this.vbox4.Add (this.botaoRad); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoRad])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botaoMCR = new global::Gtk.Button (); this.botaoMCR.WidthRequest = 50; this.botaoMCR.HeightRequest = 40; this.botaoMCR.CanFocus = true; this.botaoMCR.Name = "botaoMCR"; this.botaoMCR.UseUnderline = true; this.botaoMCR.Label = global::Mono.Unix.Catalog.GetString ("MCR"); this.vbox4.Add (this.botaoMCR); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoMCR])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botao9 = new global::Gtk.Button (); this.botao9.WidthRequest = 50; this.botao9.HeightRequest = 40; this.botao9.CanFocus = true; this.botao9.Name = "botao9"; this.botao9.UseUnderline = true; this.botao9.Label = global::Mono.Unix.Catalog.GetString ("9"); this.vbox4.Add (this.botao9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao9])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botao6 = new global::Gtk.Button (); this.botao6.WidthRequest = 50; this.botao6.HeightRequest = 40; this.botao6.CanFocus = true; this.botao6.Name = "botao6"; this.botao6.UseUnderline = true; this.botao6.Label = global::Mono.Unix.Catalog.GetString ("6"); this.vbox4.Add (this.botao6); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao6])); w28.Position = 4; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botao3 = new global::Gtk.Button (); this.botao3.WidthRequest = 50; this.botao3.HeightRequest = 40; this.botao3.CanFocus = true; this.botao3.Name = "botao3"; this.botao3.UseUnderline = true; this.botao3.Label = global::Mono.Unix.Catalog.GetString ("3"); this.vbox4.Add (this.botao3); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botao3])); w29.Position = 5; w29.Expand = false; w29.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.botaoIgual = new global::Gtk.Button (); this.botaoIgual.WidthRequest = 50; this.botaoIgual.HeightRequest = 40; this.botaoIgual.CanFocus = true; this.botaoIgual.Name = "botaoIgual"; this.botaoIgual.UseUnderline = true; this.botaoIgual.Label = global::Mono.Unix.Catalog.GetString ("="); this.vbox4.Add (this.botaoIgual); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.botaoIgual])); w30.Position = 6; w30.Expand = false; w30.Fill = false; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w31.Position = 2; w31.Expand = false; w31.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.botaoMaisOuMenos = new global::Gtk.Button (); this.botaoMaisOuMenos.WidthRequest = 50; this.botaoMaisOuMenos.HeightRequest = 40; this.botaoMaisOuMenos.CanFocus = true; this.botaoMaisOuMenos.Name = "botaoMaisOuMenos"; this.botaoMaisOuMenos.UseUnderline = true; this.botaoMaisOuMenos.Label = global::Mono.Unix.Catalog.GetString ("±"); this.vbox5.Add (this.botaoMaisOuMenos); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMaisOuMenos])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.botaoPorCento = new global::Gtk.Button (); this.botaoPorCento.WidthRequest = 50; this.botaoPorCento.HeightRequest = 40; this.botaoPorCento.CanFocus = true; this.botaoPorCento.Name = "botaoPorCento"; this.botaoPorCento.UseUnderline = true; this.botaoPorCento.Label = global::Mono.Unix.Catalog.GetString ("%"); this.vbox5.Add (this.botaoPorCento); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoPorCento])); w33.Position = 1; w33.Expand = false; w33.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.botaoDividir = new global::Gtk.Button (); this.botaoDividir.WidthRequest = 50; this.botaoDividir.HeightRequest = 40; this.botaoDividir.CanFocus = true; this.botaoDividir.Name = "botaoDividir"; this.botaoDividir.UseUnderline = true; this.botaoDividir.Label = global::Mono.Unix.Catalog.GetString ("÷"); this.vbox5.Add (this.botaoDividir); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoDividir])); w34.Position = 2; w34.Expand = false; w34.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.botaoVezes = new global::Gtk.Button (); this.botaoVezes.WidthRequest = 50; this.botaoVezes.HeightRequest = 40; this.botaoVezes.CanFocus = true; this.botaoVezes.Name = "botaoVezes"; this.botaoVezes.UseUnderline = true; this.botaoVezes.Label = global::Mono.Unix.Catalog.GetString ("×"); this.vbox5.Add (this.botaoVezes); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoVezes])); w35.Position = 3; w35.Expand = false; w35.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.botaoMenos = new global::Gtk.Button (); this.botaoMenos.WidthRequest = 50; this.botaoMenos.HeightRequest = 40; this.botaoMenos.CanFocus = true; this.botaoMenos.Name = "botaoMenos"; this.botaoMenos.UseUnderline = true; this.botaoMenos.Label = global::Mono.Unix.Catalog.GetString ("-"); this.vbox5.Add (this.botaoMenos); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMenos])); w36.Position = 4; w36.Expand = false; w36.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.botaoMais = new global::Gtk.Button (); this.botaoMais.WidthRequest = 50; this.botaoMais.HeightRequest = 86; this.botaoMais.CanFocus = true; this.botaoMais.Name = "botaoMais"; this.botaoMais.UseUnderline = true; this.botaoMais.Label = global::Mono.Unix.Catalog.GetString ("+"); this.vbox5.Add (this.botaoMais); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.botaoMais])); w37.Position = 5; w37.Expand = false; w37.Fill = false; this.hbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox5])); w38.Position = 3; w38.Expand = false; w38.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.boxAvancadas = new global::Gtk.VBox (); this.boxAvancadas.Name = "boxAvancadas"; this.boxAvancadas.Spacing = 6; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoFatorial = new global::Gtk.Button (); this.botaoFatorial.WidthRequest = 50; this.botaoFatorial.HeightRequest = 40; this.botaoFatorial.CanFocus = true; this.botaoFatorial.Name = "botaoFatorial"; this.botaoFatorial.UseUnderline = true; this.botaoFatorial.Label = global::Mono.Unix.Catalog.GetString ("n!"); this.boxAvancadas.Add (this.botaoFatorial); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoFatorial])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoLog = new global::Gtk.Button (); this.botaoLog.WidthRequest = 50; this.botaoLog.HeightRequest = 40; this.botaoLog.CanFocus = true; this.botaoLog.Name = "botaoLog"; this.botaoLog.UseUnderline = true; this.botaoLog.Label = global::Mono.Unix.Catalog.GetString ("log"); this.boxAvancadas.Add (this.botaoLog); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoLog])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoLn = new global::Gtk.Button (); this.botaoLn.WidthRequest = 50; this.botaoLn.HeightRequest = 40; this.botaoLn.CanFocus = true; this.botaoLn.Name = "botaoLn"; this.botaoLn.UseUnderline = true; this.botaoLn.Label = global::Mono.Unix.Catalog.GetString ("ln"); this.boxAvancadas.Add (this.botaoLn); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoLn])); w41.Position = 2; w41.Expand = false; w41.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoSeno = new global::Gtk.Button (); this.botaoSeno.WidthRequest = 50; this.botaoSeno.HeightRequest = 40; this.botaoSeno.CanFocus = true; this.botaoSeno.Name = "botaoSeno"; this.botaoSeno.UseUnderline = true; this.botaoSeno.Label = global::Mono.Unix.Catalog.GetString ("sin"); this.boxAvancadas.Add (this.botaoSeno); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoSeno])); w42.Position = 3; w42.Expand = false; w42.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoCosseno = new global::Gtk.Button (); this.botaoCosseno.WidthRequest = 50; this.botaoCosseno.HeightRequest = 40; this.botaoCosseno.CanFocus = true; this.botaoCosseno.Name = "botaoCosseno"; this.botaoCosseno.UseUnderline = true; this.botaoCosseno.Label = global::Mono.Unix.Catalog.GetString ("cos"); this.boxAvancadas.Add (this.botaoCosseno); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoCosseno])); w43.Position = 4; w43.Expand = false; w43.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoTangente = new global::Gtk.Button (); this.botaoTangente.WidthRequest = 50; this.botaoTangente.HeightRequest = 40; this.botaoTangente.CanFocus = true; this.botaoTangente.Name = "botaoTangente"; this.botaoTangente.UseUnderline = true; this.botaoTangente.Label = global::Mono.Unix.Catalog.GetString ("tan"); this.boxAvancadas.Add (this.botaoTangente); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoTangente])); w44.Position = 5; w44.Expand = false; w44.Fill = false; // Container child boxAvancadas.Gtk.Box+BoxChild this.botaoPi = new global::Gtk.Button (); this.botaoPi.WidthRequest = 50; this.botaoPi.HeightRequest = 40; this.botaoPi.CanFocus = true; this.botaoPi.Name = "botaoPi"; this.botaoPi.UseUnderline = true; this.botaoPi.Label = global::Mono.Unix.Catalog.GetString ("pi"); this.boxAvancadas.Add (this.botaoPi); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.boxAvancadas [this.botaoPi])); w45.Position = 6; w45.Expand = false; w45.Fill = false; this.hbox3.Add (this.boxAvancadas); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.boxAvancadas])); w46.Position = 4; w46.Expand = false; w46.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.boxStat = new global::Gtk.VBox (); this.boxStat.Name = "boxStat"; this.boxStat.Spacing = 6; // Container child boxStat.Gtk.Box+BoxChild this.botaoDT = new global::Gtk.Button (); this.botaoDT.WidthRequest = 50; this.botaoDT.HeightRequest = 40; this.botaoDT.CanFocus = true; this.botaoDT.Name = "botaoDT"; this.botaoDT.UseUnderline = true; this.botaoDT.Label = global::Mono.Unix.Catalog.GetString ("DT"); this.boxStat.Add (this.botaoDT); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoDT])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaoMedia = new global::Gtk.Button (); this.botaoMedia.WidthRequest = 50; this.botaoMedia.HeightRequest = 40; this.botaoMedia.CanFocus = true; this.botaoMedia.Name = "botaoMedia"; this.botaoMedia.UseUnderline = true; this.botaoMedia.Label = global::Mono.Unix.Catalog.GetString ("Md"); this.boxStat.Add (this.botaoMedia); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoMedia])); w48.Position = 1; w48.Expand = false; w48.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaoMediana = new global::Gtk.Button (); this.botaoMediana.WidthRequest = 50; this.botaoMediana.HeightRequest = 40; this.botaoMediana.CanFocus = true; this.botaoMediana.Name = "botaoMediana"; this.botaoMediana.UseUnderline = true; this.botaoMediana.Label = global::Mono.Unix.Catalog.GetString ("Me"); this.boxStat.Add (this.botaoMediana); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoMediana])); w49.Position = 2; w49.Expand = false; w49.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaoModa = new global::Gtk.Button (); this.botaoModa.WidthRequest = 50; this.botaoModa.HeightRequest = 40; this.botaoModa.CanFocus = true; this.botaoModa.Name = "botaoModa"; this.botaoModa.UseUnderline = true; this.botaoModa.Label = global::Mono.Unix.Catalog.GetString ("Mo"); this.boxStat.Add (this.botaoModa); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoModa])); w50.Position = 3; w50.Expand = false; w50.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaoVariancia = new global::Gtk.Button (); this.botaoVariancia.WidthRequest = 50; this.botaoVariancia.HeightRequest = 40; this.botaoVariancia.CanFocus = true; this.botaoVariancia.Name = "botaoVariancia"; this.botaoVariancia.UseUnderline = true; this.botaoVariancia.Label = global::Mono.Unix.Catalog.GetString ("σ²"); this.boxStat.Add (this.botaoVariancia); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoVariancia])); w51.Position = 4; w51.Expand = false; w51.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaoDesvPad = new global::Gtk.Button (); this.botaoDesvPad.WidthRequest = 50; this.botaoDesvPad.HeightRequest = 40; this.botaoDesvPad.CanFocus = true; this.botaoDesvPad.Name = "botaoDesvPad"; this.botaoDesvPad.UseUnderline = true; this.botaoDesvPad.Label = global::Mono.Unix.Catalog.GetString ("σ"); this.boxStat.Add (this.botaoDesvPad); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaoDesvPad])); w52.Position = 5; w52.Expand = false; w52.Fill = false; // Container child boxStat.Gtk.Box+BoxChild this.botaonOuSomatorio = new global::Gtk.Button (); this.botaonOuSomatorio.WidthRequest = 50; this.botaonOuSomatorio.HeightRequest = 40; this.botaonOuSomatorio.CanFocus = true; this.botaonOuSomatorio.Name = "botaonOuSomatorio"; this.botaonOuSomatorio.UseUnderline = true; this.botaonOuSomatorio.Label = global::Mono.Unix.Catalog.GetString ("n"); this.boxStat.Add (this.botaonOuSomatorio); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.boxStat [this.botaonOuSomatorio])); w53.Position = 6; w53.Expand = false; w53.Fill = false; this.hbox3.Add (this.boxStat); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.boxStat])); w54.Position = 5; w54.Expand = false; w54.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w55.Position = 2; w55.Expand = false; w55.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.barraStatus = new global::Gtk.Statusbar (); this.barraStatus.Events = ((global::Gdk.EventMask)(16)); this.barraStatus.Name = "barraStatus"; this.barraStatus.Spacing = 6; this.barraStatus.HasResizeGrip = false; this.vbox1.Add (this.barraStatus); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.barraStatus])); w56.Position = 3; w56.Expand = false; w56.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 431; this.DefaultHeight = 490; this.labelLetra.Hide (); this.boxAvancadas.Hide (); this.boxStat.Hide (); this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.aboutAction.Activated += new global::System.EventHandler (this.MostraSobre); this.quitAction.Activated += new global::System.EventHandler (this.Sair); this.MostrarFunesEstatsticasAction.Toggled += new global::System.EventHandler (this.AtivarStat); this.MostrarFunesAvanadasAction.Toggled += new global::System.EventHandler (this.AtivarAvancadas); this.deleteAction.Activated += new global::System.EventHandler (this.ChamaPerguntaLimparStat); this.deleteAction1.Activated += new global::System.EventHandler (this.MCR); this.VisualizarStat.Activated += new global::System.EventHandler (this.MostraLista); this.VisualizarComumAction.Activated += new global::System.EventHandler (this.verMemoriaComum); this.verValores.Activated += new global::System.EventHandler (this.ExibirContas); this.botaoCE.Clicked += new global::System.EventHandler (this.LimpaCalc); this.botaoCE.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoCE.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoQuadrado.Clicked += new global::System.EventHandler (this.Quadrado); this.botaoQuadrado.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoQuadrado.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMeMais.Clicked += new global::System.EventHandler (this.MemoriaMais); this.botaoMeMais.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMeMais.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao7.Clicked += new global::System.EventHandler (this.Tecla7); this.botao7.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao7.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao4.Clicked += new global::System.EventHandler (this.Tecla4); this.botao4.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao4.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao1.Clicked += new global::System.EventHandler (this.Tecla1); this.botao1.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao1.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao.Clicked += new global::System.EventHandler (this.Tecla0); this.botao.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoC.Clicked += new global::System.EventHandler (this.C); this.botaoC.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoC.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoExp.Clicked += new global::System.EventHandler (this.Exponenciacao); this.botaoExp.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoExp.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMeMenos.Clicked += new global::System.EventHandler (this.MemoriaMenos); this.botaoMeMenos.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMeMenos.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao8.Clicked += new global::System.EventHandler (this.Tecla8); this.botao8.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao8.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao5.Clicked += new global::System.EventHandler (this.Tecla5); this.botao5.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao5.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao2.Clicked += new global::System.EventHandler (this.Tecla2); this.botao2.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao2.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoVirgula.Clicked += new global::System.EventHandler (this.TeclaPonto); this.botaoVirgula.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoVirgula.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoSqrt.Clicked += new global::System.EventHandler (this.RaizQuadrada); this.botaoSqrt.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoSqrt.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoRad.Clicked += new global::System.EventHandler (this.Radiciacao); this.botaoRad.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoRad.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMCR.Clicked += new global::System.EventHandler (this.MCR); this.botaoMCR.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMCR.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao9.Clicked += new global::System.EventHandler (this.Tecla9); this.botao9.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao9.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao6.Clicked += new global::System.EventHandler (this.Tecla6); this.botao6.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao6.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botao3.Clicked += new global::System.EventHandler (this.Tecla3); this.botao3.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botao3.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoIgual.Clicked += new global::System.EventHandler (this.MostraResultado); this.botaoIgual.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoIgual.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMaisOuMenos.Clicked += new global::System.EventHandler (this.MaisOuMenos); this.botaoMaisOuMenos.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMaisOuMenos.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoPorCento.Clicked += new global::System.EventHandler (this.Porcentagem); this.botaoPorCento.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoPorCento.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoDividir.Clicked += new global::System.EventHandler (this.Divisao); this.botaoDividir.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoDividir.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoVezes.Clicked += new global::System.EventHandler (this.Multiplicacao); this.botaoVezes.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoVezes.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMenos.Clicked += new global::System.EventHandler (this.Subtracao); this.botaoMenos.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMenos.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMais.Clicked += new global::System.EventHandler (this.Soma); this.botaoMais.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMais.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoFatorial.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoFatorial.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoFatorial.Clicked += new global::System.EventHandler (this.Fatorial); this.botaoLog.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoLog.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoLog.Clicked += new global::System.EventHandler (this.Log10); this.botaoLn.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoLn.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoLn.Clicked += new global::System.EventHandler (this.Ln); this.botaoSeno.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoSeno.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoSeno.Clicked += new global::System.EventHandler (this.Seno); this.botaoCosseno.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoCosseno.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoCosseno.Clicked += new global::System.EventHandler (this.Cosseno); this.botaoTangente.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoTangente.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoTangente.Clicked += new global::System.EventHandler (this.Tangente); this.botaoPi.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoPi.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoPi.Clicked += new global::System.EventHandler (this.MostraPi); this.botaoDT.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoDT.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoDT.Clicked += new global::System.EventHandler (this.GuardaDados); this.botaoMedia.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMedia.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMedia.Clicked += new global::System.EventHandler (this.Media); this.botaoMediana.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoMediana.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoMediana.Clicked += new global::System.EventHandler (this.Mediana); this.botaoModa.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoModa.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoModa.Clicked += new global::System.EventHandler (this.Modo); this.botaoVariancia.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoVariancia.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoVariancia.Clicked += new global::System.EventHandler (this.Varp); this.botaoDesvPad.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaoDesvPad.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaoDesvPad.Clicked += new global::System.EventHandler (this.Desvpad); this.botaonOuSomatorio.Entered += new global::System.EventHandler (this.PonteiroPassou); this.botaonOuSomatorio.Left += new global::System.EventHandler (this.PonteiroSaiu); this.botaonOuSomatorio.Clicked += new global::System.EventHandler (this.nOuSomatorio); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("_New"), global::Mono.Unix.Catalog.GetString ("Creates new pipe"), "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New"); w1.Add (this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), global::Mono.Unix.Catalog.GetString ("Opens existing pipe"), "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.OpenAction, "<Control>o"); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), global::Mono.Unix.Catalog.GetString ("Saves pipe"), "gtk-floppy"); this.SaveAction.Sensitive = false; this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save"); w1.Add (this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save _As"), global::Mono.Unix.Catalog.GetString ("Saves pipe as new file"), "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save _As"); w1.Add (this.SaveAsAction, "<Control>q"); this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("_Import"), global::Mono.Unix.Catalog.GetString ("Imports PCL formatted pipe from the clipboard"), "gtk-go-down"); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import"); w1.Add (this.ImportAction, null); this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("_Export"), global::Mono.Unix.Catalog.GetString ("Exports PCL formatted pipe to the clipboard"), "gtk-go-up"); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export"); w1.Add (this.ExportAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("E_xit"), global::Mono.Unix.Catalog.GetString ("Quits application"), "gtk-quit"); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("E_xit"); w1.Add (this.ExitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit"); w1.Add (this.EditAction, null); this.CutAction = new global::Gtk.Action ("CutAction", global::Mono.Unix.Catalog.GetString ("Cu_t"), null, "gtk-cut"); this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t"); w1.Add (this.CutAction, "<Control>x"); this.CopyAction = new global::Gtk.Action ("CopyAction", global::Mono.Unix.Catalog.GetString ("_Copy"), null, "gtk-copy"); this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy"); w1.Add (this.CopyAction, "<Control>c"); this.PasteAction = new global::Gtk.Action ("PasteAction", global::Mono.Unix.Catalog.GetString ("_Paste"), null, "gtk-paste"); this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste"); w1.Add (this.PasteAction, "<Control>v"); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("_Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Delete"); w1.Add (this.DeleteAction, null); this.SelectAllAction = new global::Gtk.Action ("SelectAllAction", global::Mono.Unix.Catalog.GetString ("Select _All"), null, "gtk-select-all"); this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select _All"); w1.Add (this.SelectAllAction, "<Control>a"); this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Prefere_nces"), null, "gtk-preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Prefere_nces"); w1.Add (this.PreferencesAction, null); this.PipeAction = new global::Gtk.Action ("PipeAction", global::Mono.Unix.Catalog.GetString ("_Pipe"), null, null); this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Pipe"); w1.Add (this.PipeAction, null); this.RunAction = new global::Gtk.Action ("RunAction", global::Mono.Unix.Catalog.GetString ("_Run"), global::Mono.Unix.Catalog.GetString ("Runs entire pipe"), "gtk-media-play"); this.RunAction.Sensitive = false; this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Run"); w1.Add (this.RunAction, "<Control>r"); this.RunToLineAction = new global::Gtk.Action ("RunToLineAction", global::Mono.Unix.Catalog.GetString ("Run _To Line"), global::Mono.Unix.Catalog.GetString ("Runs pipe to current line only"), "gtk-media-record"); this.RunToLineAction.Sensitive = false; this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run _To Line"); w1.Add (this.RunToLineAction, "<Control>t"); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.UserGuideAction = new global::Gtk.Action ("UserGuideAction", global::Mono.Unix.Catalog.GetString ("_User Guide"), null, "gtk-help"); this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_User Guide"); w1.Add (this.UserGuideAction, "F1"); this.SupportForumAction = new global::Gtk.Action ("SupportForumAction", global::Mono.Unix.Catalog.GetString ("Support _Forum"), null, null); this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support _Forum"); w1.Add (this.SupportForumAction, null); this.VisitOurHomepageAction = new global::Gtk.Action ("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"), null, "gtk-home"); this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"); w1.Add (this.VisitOurHomepageAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.QuickStartTutorialAction = new global::Gtk.Action ("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString ("Display quick start tutorial"), null); this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"); w1.Add (this.QuickStartTutorialAction, null); this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("_Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Font"); w1.Add (this.FontAction, null); this.AppendStrAction = new global::Gtk.Action ("AppendStrAction", global::Mono.Unix.Catalog.GetString ("AppendStr"), null, "gtk-add"); this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AppendStr"); w1.Add (this.AppendStrAction, null); this.BottomLinesAction = new global::Gtk.Action ("BottomLinesAction", global::Mono.Unix.Catalog.GetString ("BottomLines"), null, "gtk-goto-bottom"); this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("BottomLines"); w1.Add (this.BottomLinesAction, null); this.CallAction = new global::Gtk.Action ("CallAction", global::Mono.Unix.Catalog.GetString ("Call"), null, null); this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Call"); w1.Add (this.CallAction, null); this.CountCharsAction = new global::Gtk.Action ("CountCharsAction", global::Mono.Unix.Catalog.GetString ("CountChars"), null, null); this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountChars"); w1.Add (this.CountCharsAction, null); this.CountLinesAction = new global::Gtk.Action ("CountLinesAction", global::Mono.Unix.Catalog.GetString ("CountLines"), null, null); this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountLines"); w1.Add (this.CountLinesAction, null); this.DelBlankLinesAction = new global::Gtk.Action ("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString ("DelBlankLines"), null, null); this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelBlankLines"); w1.Add (this.DelBlankLinesAction, null); this.DelCharsAction = new global::Gtk.Action ("DelCharsAction", global::Mono.Unix.Catalog.GetString ("DelChars"), null, null); this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelChars"); w1.Add (this.DelCharsAction, null); this.ExclLinesAction = new global::Gtk.Action ("ExclLinesAction", global::Mono.Unix.Catalog.GetString ("ExclLines"), null, null); this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ExclLines"); w1.Add (this.ExclLinesAction, null); this.InclLinesAction = new global::Gtk.Action ("InclLinesAction", global::Mono.Unix.Catalog.GetString ("InclLines"), null, null); this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InclLines"); w1.Add (this.InclLinesAction, null); this.InsLineNoAction = new global::Gtk.Action ("InsLineNoAction", global::Mono.Unix.Catalog.GetString ("InsLineNo"), null, null); this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsLineNo"); w1.Add (this.InsLineNoAction, null); this.InsStrAction = new global::Gtk.Action ("InsStrAction", global::Mono.Unix.Catalog.GetString ("InsStr"), null, null); this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsStr"); w1.Add (this.InsStrAction, null); this.WrapTextAction = new global::Gtk.ToggleAction ("WrapTextAction", global::Mono.Unix.Catalog.GetString ("_Wrap Text"), null, null); this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Wrap Text"); w1.Add (this.WrapTextAction, null); this.InsertCursorColAction = new global::Gtk.Action ("InsertCursorColAction", global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"), null, "gtk-add"); this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"); w1.Add (this.InsertCursorColAction, null); this.DemosAction = new global::Gtk.Action ("DemosAction", global::Mono.Unix.Catalog.GetString ("_Demos"), null, null); this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Demos"); w1.Add (this.DemosAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("PipeWrench"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_standard-filter", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><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.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 178; // Container child hpaned1.Gtk.Paned+PanedChild this.CommandsFrame = new global::Gtk.Frame (); this.CommandsFrame.Name = "CommandsFrame"; this.CommandsFrame.BorderWidth = ((uint)(3)); // Container child CommandsFrame.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(6)); this.GtkAlignment.TopPadding = ((uint)(6)); this.GtkAlignment.RightPadding = ((uint)(6)); this.GtkAlignment.BottomPadding = ((uint)(6)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport (); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.UIManager.AddUiFromString ("<ui><toolbar name='CommandsToolbar'/></ui>"); this.CommandsToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/CommandsToolbar"))); this.CommandsToolbar.Name = "CommandsToolbar"; this.CommandsToolbar.Orientation = ((global::Gtk.Orientation)(1)); this.CommandsToolbar.ShowArrow = false; this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.CommandsToolbar.IconSize = ((global::Gtk.IconSize)(2)); w4.Add (this.CommandsToolbar); this.scrolledwindow1.Add (w4); this.GtkAlignment.Add (this.scrolledwindow1); this.CommandsFrame.Add (this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Commands</b>"); this.GtkLabel6.UseMarkup = true; this.CommandsFrame.LabelWidget = this.GtkLabel6; this.hpaned1.Add (this.CommandsFrame); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 156; // Container child vpaned1.Gtk.Paned+PanedChild this.PipeFrame = new global::Gtk.Frame (); this.PipeFrame.Name = "PipeFrame"; this.PipeFrame.BorderWidth = ((uint)(3)); // Container child PipeFrame.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(6)); this.GtkAlignment2.TopPadding = ((uint)(6)); this.GtkAlignment2.RightPadding = ((uint)(6)); this.GtkAlignment2.BottomPadding = ((uint)(6)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.PipeTextView = new global::Gtk.TextView (); this.PipeTextView.TooltipMarkup = "Enter pipe commands here"; this.PipeTextView.CanFocus = true; this.PipeTextView.Name = "PipeTextView"; this.PipeTextView.AcceptsTab = false; this.PipeTextView.RightMargin = 3; this.GtkScrolledWindow.Add (this.PipeTextView); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w11.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Arguments"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ArgsEntry = new global::Gtk.Entry (); this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here"; this.ArgsEntry.CanFocus = true; this.ArgsEntry.Name = "ArgsEntry"; this.ArgsEntry.IsEditable = true; this.ArgsEntry.InvisibleChar = '●'; this.hbox1.Add (this.ArgsEntry); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry])); w13.Position = 1; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.GtkAlignment2.Add (this.vbox3); this.PipeFrame.Add (this.GtkAlignment2); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Pipe</b>"); this.GtkLabel10.UseMarkup = true; this.PipeFrame.LabelWidget = this.GtkLabel10; this.vpaned1.Add (this.PipeFrame); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame])); w17.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.TextFrame = new global::Gtk.Frame (); this.TextFrame.Name = "TextFrame"; this.TextFrame.BorderWidth = ((uint)(3)); // Container child TextFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(6)); this.GtkAlignment1.TopPadding = ((uint)(6)); this.GtkAlignment1.RightPadding = ((uint)(6)); this.GtkAlignment1.BottomPadding = ((uint)(6)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.TextNotebook = new global::Gtk.Notebook (); this.TextNotebook.CanFocus = true; this.TextNotebook.Name = "TextNotebook"; this.TextNotebook.CurrentPage = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.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.InputTextView = new global::Gtk.TextView (); this.InputTextView.Buffer.Text = "replace this text\nwith the text you\nwant to edit."; this.InputTextView.TooltipMarkup = "Copy the text to process here"; this.InputTextView.CanFocus = true; this.InputTextView.Name = "InputTextView"; this.InputTextView.AcceptsTab = false; this.InputTextView.RightMargin = 3; this.GtkScrolledWindow1.Add (this.InputTextView); this.vbox2.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); w19.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileEntry = new global::Gtk.Entry (); this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file"; this.InputFileEntry.CanFocus = true; this.InputFileEntry.Name = "InputFileEntry"; this.InputFileEntry.IsEditable = false; this.InputFileEntry.InvisibleChar = '●'; this.hbox2.Add (this.InputFileEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry])); w21.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.InputFileBrowseButton = new global::Gtk.Button (); this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file"; this.InputFileBrowseButton.CanFocus = true; this.InputFileBrowseButton.Name = "InputFileBrowseButton"; this.InputFileBrowseButton.UseUnderline = true; this.InputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox2.Add (this.InputFileBrowseButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileClearButton = new global::Gtk.Button (); this.InputFileClearButton.TooltipMarkup = "Clear input text file"; this.InputFileClearButton.CanFocus = true; this.InputFileClearButton.Name = "InputFileClearButton"; this.InputFileClearButton.UseUnderline = true; this.InputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox2.Add (this.InputFileClearButton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.TextNotebook.Add (this.vbox2); // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.OutputTextView = new global::Gtk.TextView (); this.OutputTextView.TooltipMarkup = "Edited text is output here"; this.OutputTextView.CanFocus = true; this.OutputTextView.Name = "OutputTextView"; this.OutputTextView.AcceptsTab = false; this.OutputTextView.RightMargin = 3; this.GtkScrolledWindow2.Add (this.OutputTextView); this.vbox4.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w27.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox3.Add (this.label3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileEntry = new global::Gtk.Entry (); this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file"; this.OutputFileEntry.CanFocus = true; this.OutputFileEntry.Name = "OutputFileEntry"; this.OutputFileEntry.IsEditable = false; this.OutputFileEntry.InvisibleChar = '●'; this.hbox3.Add (this.OutputFileEntry); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry])); w29.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileBrowseButton = new global::Gtk.Button (); this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file"; this.OutputFileBrowseButton.CanFocus = true; this.OutputFileBrowseButton.Name = "OutputFileBrowseButton"; this.OutputFileBrowseButton.UseUnderline = true; this.OutputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox3.Add (this.OutputFileBrowseButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileClearButton = new global::Gtk.Button (); this.OutputFileClearButton.TooltipMarkup = "Clear output text file"; this.OutputFileClearButton.CanFocus = true; this.OutputFileClearButton.Name = "OutputFileClearButton"; this.OutputFileClearButton.UseUnderline = true; this.OutputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox3.Add (this.OutputFileClearButton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.vbox4.Add (this.hbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.TextNotebook.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4])); w33.Position = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ErrorsTextView = new global::Gtk.TextView (); this.ErrorsTextView.TooltipMarkup = "Errors are reported here"; this.ErrorsTextView.CanFocus = true; this.ErrorsTextView.Name = "ErrorsTextView"; this.ErrorsTextView.Editable = false; this.ErrorsTextView.AcceptsTab = false; this.ErrorsTextView.RightMargin = 3; this.GtkScrolledWindow3.Add (this.ErrorsTextView); this.TextNotebook.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3])); w35.Position = 2; this.GtkAlignment1.Add (this.TextNotebook); this.TextFrame.Add (this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label (); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Text</b>"); this.GtkLabel14.UseMarkup = true; this.TextFrame.LabelWidget = this.GtkLabel14; this.vpaned1.Add (this.TextFrame); this.hpaned1.Add (this.vpaned1); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w40.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.TheStatusBar = new global::Gtk.Statusbar (); this.TheStatusBar.Name = "TheStatusBar"; this.TheStatusBar.Spacing = 6; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarCursorPosLabel = new global::Gtk.Label (); this.StatusBarCursorPosLabel.Name = "StatusBarCursorPosLabel"; this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("(0, 0)"); this.TheStatusBar.Add (this.StatusBarCursorPosLabel); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel])); w41.Position = 0; w41.Expand = false; w41.Fill = false; w41.Padding = ((uint)(4)); // Container child TheStatusBar.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.TheStatusBar.Add (this.vseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarTextLabel = new global::Gtk.Label (); this.StatusBarTextLabel.Name = "StatusBarTextLabel"; this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString (" "); this.TheStatusBar.Add (this.StatusBarTextLabel); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel])); w43.Position = 2; w43.Expand = false; w43.Fill = false; w43.Padding = ((uint)(4)); this.vbox1.Add (this.TheStatusBar); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar])); w44.Position = 3; w44.Expand = false; w44.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 488; this.DefaultHeight = 458; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler (this.NewAction_OnActivated); this.OpenAction.Activated += new global::System.EventHandler (this.OpenAction_OnActivated); this.SaveAction.Activated += new global::System.EventHandler (this.SaveAction_OnActivated); this.SaveAsAction.Activated += new global::System.EventHandler (this.SaveAsAction_OnActivated); this.ImportAction.Activated += new global::System.EventHandler (this.ImportAction_OnActivated); this.ExportAction.Activated += new global::System.EventHandler (this.ExportAction_OnActivated); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); this.CutAction.Activated += new global::System.EventHandler (this.Cut_OnActivated); this.CopyAction.Activated += new global::System.EventHandler (this.Copy_OnActivated); this.PasteAction.Activated += new global::System.EventHandler (this.Paste_OnActivated); this.DeleteAction.Activated += new global::System.EventHandler (this.Delete_OnActivated); this.SelectAllAction.Activated += new global::System.EventHandler (this.SelectAll_OnActivated); this.PreferencesAction.Activated += new global::System.EventHandler (this.Preferences_OnActivated); this.RunAction.Activated += new global::System.EventHandler (this.RunAction_OnActivated); this.RunToLineAction.Activated += new global::System.EventHandler (this.RunToLineAction_OnActivated); this.UserGuideAction.Activated += new global::System.EventHandler (this.UserGuide_OnActivated); this.AboutAction.Activated += new global::System.EventHandler (this.About_OnActivated); this.InsertCursorColAction.Activated += new global::System.EventHandler (this.InsertCursorCol_OnActivated); this.DemosAction.Activated += new global::System.EventHandler (this.Demos_OnActivated); this.PipeTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.PipeTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.PipeTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.PipeTextView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.PipeTextView_OnKeyReleaseEvent); this.InputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.InputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.InputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.InputFileEntry.Changed += new global::System.EventHandler (this.InputFileEntry_OnChanged); this.InputFileBrowseButton.Clicked += new global::System.EventHandler (this.InputFileBrowseButton_OnClicked); this.InputFileClearButton.Clicked += new global::System.EventHandler (this.InputFileClearButton_Clicked); this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.OutputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.OutputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.OutputFileEntry.Changed += new global::System.EventHandler (this.OutputFileEntry_OnChanged); this.OutputFileBrowseButton.Clicked += new global::System.EventHandler (this.OutputFileBrowseButton_OnClicked); this.OutputFileClearButton.Clicked += new global::System.EventHandler (this.OutputFileClearButton_Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenAction, null); this.SaveAsAction = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save As"), null, null); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save As"); w1.Add(this.SaveAsAction, null); this.ExitAction = new global::Gtk.ToggleAction("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.ActionsAction = new global::Gtk.Action("ActionsAction", global::Mono.Unix.Catalog.GetString("Actions"), null, null); this.ActionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Actions"); w1.Add(this.ActionsAction, null); this.StartAction = new global::Gtk.Action("StartAction", global::Mono.Unix.Catalog.GetString("Start"), null, null); this.StartAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Start"); w1.Add(this.StartAction, null); this.StopAction = new global::Gtk.ToggleAction("StopAction", global::Mono.Unix.Catalog.GetString("Stop"), null, null); this.StopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Stop"); w1.Add(this.StopAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='SaveAsAction' action='SaveAsAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ActionsAction' action='ActionsAction'><menuitem name='StartAction' action='StartAction'/><menuitem name='StopAction' action='StopAction'/></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; // Container child vbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w3.X = 316; w3.Y = 122; this.vbox1.Add(this.fixed1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.fixed1])); w4.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.ExitAction.Toggled += new global::System.EventHandler(this.exit); this.button1.Clicked += new global::System.EventHandler(this.clickedToButton); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget FontTool.FontStyleWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.SaveAction = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.SaveAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.FontAction = new global::Gtk.Action("FontAction", global::Mono.Unix.Catalog.GetString("Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Font"); w1.Add(this.FontAction, null); this.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.Sensitive = false; this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Window style"); this.WindowStyleAction.Visible = false; w1.Add(this.WindowStyleAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE2"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.Sensitive = false; this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE2"); this.CustomStyleAction.Visible = false; w1.Add(this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction("PlatformStyleAction", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE2"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.CustomStyleAction.Group; this.DecoratedCustomStyleAction.Sensitive = false; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE2"); this.DecoratedCustomStyleAction.Visible = false; w1.Add(this.DecoratedCustomStyleAction, null); this.OnlyEnglishAction = new global::Gtk.ToggleAction("OnlyEnglishAction", global::Mono.Unix.Catalog.GetString("Only English"), null, null); this.OnlyEnglishAction.Active = true; this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Only English"); w1.Add(this.OnlyEnglishAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 536; this.HeightRequest = 536; this.CanDefault = true; this.Name = "FontTool.FontStyleWindow"; this.Title = global::Mono.Unix.Catalog.GetString("FontTool"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.Decorated = false; // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></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.notebookFont = new global::Gtk.Notebook(); this.notebookFont.CanFocus = true; this.notebookFont.Name = "notebookFont"; this.notebookFont.CurrentPage = 0; this.notebookFont.ShowTabs = false; // Container child notebookFont.Gtk.Notebook+NotebookChild this.vboxFontSettings = new global::Gtk.VBox(); this.vboxFontSettings.Name = "vboxFontSettings"; this.vboxFontSettings.Spacing = 6; this.vboxFontSettings.BorderWidth = ((uint)(6)); // Container child vboxFontSettings.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeFont = new global::Gtk.TreeView(); this.treeFont.CanFocus = true; this.treeFont.Name = "treeFont"; this.GtkScrolledWindow.Add(this.treeFont); this.vboxFontSettings.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.GtkScrolledWindow])); w4.Position = 0; // Container child vboxFontSettings.Gtk.Box+BoxChild this.vboxSamplePreview = new global::Gtk.VBox(); this.vboxSamplePreview.Name = "vboxSamplePreview"; this.vboxSamplePreview.Spacing = 6; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.lPreview = new global::Gtk.Label(); this.lPreview.Name = "lPreview"; this.lPreview.Xalign = 0F; this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString("Preview"); this.vboxSamplePreview.Add(this.lPreview); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.lPreview])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.preview = new global::Gtk.DrawingArea(); this.preview.HeightRequest = 90; this.preview.Name = "preview"; this.vboxSamplePreview.Add(this.preview); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.preview])); w6.Position = 1; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.ePreviewSample = new global::Gtk.Entry(); this.ePreviewSample.CanFocus = true; this.ePreviewSample.Name = "ePreviewSample"; this.ePreviewSample.Text = global::Mono.Unix.Catalog.GetString("DGLE2 is here!"); this.ePreviewSample.IsEditable = true; this.ePreviewSample.InvisibleChar = '●'; this.vboxSamplePreview.Add(this.ePreviewSample); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.ePreviewSample])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vboxFontSettings.Add(this.vboxSamplePreview); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.vboxSamplePreview])); w8.Position = 1; w8.Expand = false; // Container child vboxFontSettings.Gtk.Box+BoxChild this.hboxSettings = new global::Gtk.HBox(); this.hboxSettings.Name = "hboxSettings"; this.hboxSettings.Spacing = 6; // Container child hboxSettings.Gtk.Box+BoxChild this.tableSettings = new global::Gtk.Table(((uint)(2)), ((uint)(4)), true); this.tableSettings.Name = "tableSettings"; this.tableSettings.RowSpacing = ((uint)(12)); this.tableSettings.ColumnSpacing = ((uint)(12)); // Container child tableSettings.Gtk.Table+TableChild this.cbBold = new global::Gtk.CheckButton(); this.cbBold.CanFocus = true; this.cbBold.Name = "cbBold"; this.cbBold.Label = global::Mono.Unix.Catalog.GetString("Bold"); this.cbBold.DrawIndicator = true; this.cbBold.UseUnderline = true; this.tableSettings.Add(this.cbBold); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbBold])); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbItalic = new global::Gtk.CheckButton(); this.cbItalic.CanFocus = true; this.cbItalic.Name = "cbItalic"; this.cbItalic.Label = global::Mono.Unix.Catalog.GetString("Italic"); this.cbItalic.DrawIndicator = true; this.cbItalic.UseUnderline = true; this.tableSettings.Add(this.cbItalic); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbItalic])); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbStrikeout = new global::Gtk.CheckButton(); this.cbStrikeout.CanFocus = true; this.cbStrikeout.Name = "cbStrikeout"; this.cbStrikeout.Label = global::Mono.Unix.Catalog.GetString("Strikeout"); this.cbStrikeout.DrawIndicator = true; this.cbStrikeout.UseUnderline = true; this.tableSettings.Add(this.cbStrikeout); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbStrikeout])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbUnderline = new global::Gtk.CheckButton(); this.cbUnderline.CanFocus = true; this.cbUnderline.Name = "cbUnderline"; this.cbUnderline.Label = global::Mono.Unix.Catalog.GetString("Underline"); this.cbUnderline.DrawIndicator = true; this.cbUnderline.UseUnderline = true; this.tableSettings.Add(this.cbUnderline); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbUnderline])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.lSize = new global::Gtk.Label(); this.lSize.Name = "lSize"; this.lSize.Xalign = 0F; this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString("Size"); this.tableSettings.Add(this.lSize); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lSize])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.lStretch = new global::Gtk.Label(); this.lStretch.Name = "lStretch"; this.lStretch.Xalign = 0F; this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString("Stretch"); this.tableSettings.Add(this.lStretch); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lStretch])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.sbSize = new global::Gtk.SpinButton(4D, 72D, 1D); this.sbSize.WidthRequest = 80; this.sbSize.CanFocus = true; this.sbSize.Name = "sbSize"; this.sbSize.Adjustment.PageIncrement = 10D; this.sbSize.ClimbRate = 1D; this.sbSize.Numeric = true; this.sbSize.Value = 12D; this.tableSettings.Add(this.sbSize); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbSize])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.sbStretch = new global::Gtk.SpinButton(0D, 72D, 1D); this.sbStretch.WidthRequest = 80; this.sbStretch.CanFocus = true; this.sbStretch.Name = "sbStretch"; this.sbStretch.Adjustment.PageIncrement = 10D; this.sbStretch.ClimbRate = 1D; this.sbStretch.Numeric = true; this.tableSettings.Add(this.sbStretch); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbStretch])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxSettings.Add(this.tableSettings); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.tableSettings])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxSettings.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.btnNextPreview = new global::Gtk.Button(); this.btnNextPreview.CanFocus = true; this.btnNextPreview.Name = "btnNextPreview"; this.btnNextPreview.UseUnderline = true; // Container child btnNextPreview.Gtk.Container+ContainerChild global::Gtk.Alignment w18 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w19 = new global::Gtk.HBox(); w19.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu); w19.Add(w20); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w22 = new global::Gtk.Label(); w22.LabelProp = global::Mono.Unix.Catalog.GetString("Preview"); w22.UseUnderline = true; w19.Add(w22); w18.Add(w19); this.btnNextPreview.Add(w18); this.vbox2.Add(this.btnNextPreview); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnNextPreview])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.hboxSettings.Add(this.vbox2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.vbox2])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vboxFontSettings.Add(this.hboxSettings); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.hboxSettings])); w28.Position = 2; w28.Expand = false; w28.Fill = false; w28.Padding = ((uint)(6)); this.notebookFont.Add(this.vboxFontSettings); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Settings"); this.notebookFont.SetTabLabel(this.vboxFontSettings, this.label1); this.label1.ShowAll(); // Container child notebookFont.Gtk.Notebook+NotebookChild this.vboxBuildPreview = new global::Gtk.VBox(); this.vboxBuildPreview.Name = "vboxBuildPreview"; this.vboxBuildPreview.Spacing = 6; this.vboxBuildPreview.BorderWidth = ((uint)(6)); // Container child vboxBuildPreview.Gtk.Box+BoxChild this.scrolledwindowPreview = new global::Gtk.ScrolledWindow(); this.scrolledwindowPreview.CanFocus = true; this.scrolledwindowPreview.Name = "scrolledwindowPreview"; this.scrolledwindowPreview.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowPreview.Gtk.Container+ContainerChild global::Gtk.Viewport w30 = new global::Gtk.Viewport(); w30.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.fontPreviewImage = new global::FontTool.FontPreviewWidget(); this.fontPreviewImage.Name = "fontPreviewImage"; w30.Add(this.fontPreviewImage); this.scrolledwindowPreview.Add(w30); this.vboxBuildPreview.Add(this.scrolledwindowPreview); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.scrolledwindowPreview])); w33.Position = 0; // Container child vboxBuildPreview.Gtk.Box+BoxChild this.hboxPreview = new global::Gtk.HBox(); this.hboxPreview.Name = "hboxPreview"; this.hboxPreview.Spacing = 6; // Container child hboxPreview.Gtk.Box+BoxChild this.lImageSize = new global::Gtk.Label(); this.lImageSize.Name = "lImageSize"; this.lImageSize.LabelProp = global::Mono.Unix.Catalog.GetString("Image 0 X 0"); this.hboxPreview.Add(this.lImageSize); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lImageSize])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child hboxPreview.Gtk.Box+BoxChild this.lFileSize = new global::Gtk.Label(); this.lFileSize.Name = "lFileSize"; this.lFileSize.LabelProp = global::Mono.Unix.Catalog.GetString("0 KB"); this.hboxPreview.Add(this.lFileSize); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lFileSize])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hboxPreview.Gtk.Box+BoxChild this.btnPrevSettings = new global::Gtk.Button(); this.btnPrevSettings.CanFocus = true; this.btnPrevSettings.Name = "btnPrevSettings"; this.btnPrevSettings.UseUnderline = true; // Container child btnPrevSettings.Gtk.Container+ContainerChild global::Gtk.Alignment w36 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w37 = new global::Gtk.HBox(); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w38 = new global::Gtk.Image(); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu); w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w40 = new global::Gtk.Label(); w40.LabelProp = global::Mono.Unix.Catalog.GetString("Settings"); w40.UseUnderline = true; w37.Add(w40); w36.Add(w37); this.btnPrevSettings.Add(w36); this.hboxPreview.Add(this.btnPrevSettings); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.btnPrevSettings])); w44.PackType = ((global::Gtk.PackType)(1)); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.vboxBuildPreview.Add(this.hboxPreview); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.hboxPreview])); w45.Position = 1; w45.Expand = false; w45.Fill = false; w45.Padding = ((uint)(6)); this.notebookFont.Add(this.vboxBuildPreview); global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookFont [this.vboxBuildPreview])); w46.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Preview"); this.notebookFont.SetTabLabel(this.vboxBuildPreview, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebookFont); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookFont])); w47.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 536; this.DefaultHeight = 536; this.HasDefault = true; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mic.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FichiersAction = new global::Gtk.Action("FichiersAction", global::Mono.Unix.Catalog.GetString("Fichiers"), null, null); this.FichiersAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fichiers"); w1.Add(this.FichiersAction, null); this.FichierAction = new global::Gtk.Action("FichierAction", global::Mono.Unix.Catalog.GetString("Fichier"), null, null); this.FichierAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fichier"); w1.Add(this.FichierAction, null); this.AideAction = new global::Gtk.Action("AideAction", global::Mono.Unix.Catalog.GetString("Aide"), null, null); this.AideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Aide"); w1.Add(this.AideAction, null); this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add"); w1.Add(this.addAction, null); this.editAction = new global::Gtk.Action("editAction", null, null, "gtk-edit"); this.editAction.Sensitive = false; w1.Add(this.editAction, null); this.helpAction = new global::Gtk.ToggleAction("helpAction", null, null, "gtk-help"); w1.Add(this.helpAction, null); this.newAction = new global::Gtk.RadioAction("newAction", null, null, "gtk-new", 0); this.newAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Mic.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Mic"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-record", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Mic.MainWindow.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; this.vboxMain.BorderWidth = ((uint)(20)); // Container child vboxMain.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("En attente de la connexion d\'un microphone..."); this.vboxMain.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewImported = new global::Gtk.TreeView(); this.treeviewImported.CanFocus = true; this.treeviewImported.Name = "treeviewImported"; this.GtkScrolledWindow.Add(this.treeviewImported); this.vboxMain.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxMain[this.GtkScrolledWindow])); w4.Position = 1; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 632; this.DefaultHeight = 321; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, "<Alt>f"); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("_Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.OpenAction, "<Primary>o"); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, "<Primary>q"); this.SaveAction = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save"); w1.Add(this.SaveAction, "<Primary>s"); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Alt>f"); this.AnimationsAction = new global::Gtk.ToggleAction("AnimationsAction", global::Mono.Unix.Catalog.GetString("_Animations"), null, null); this.AnimationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Animations"); w1.Add(this.AnimationsAction, "<Primary>a"); this.RedrawMinimapsAction = new global::Gtk.Action("RedrawMinimapsAction", global::Mono.Unix.Catalog.GetString("Redraw Minimaps"), null, null); this.RedrawMinimapsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redraw Minimaps"); w1.Add(this.RedrawMinimapsAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit"); w1.Add(this.EditAction, "<Alt>e"); this.WarpsAction = new global::Gtk.Action("WarpsAction", global::Mono.Unix.Catalog.GetString("_Warps"), null, null); this.WarpsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Warps"); w1.Add(this.WarpsAction, "<Primary>w"); this.PluginsAction = new global::Gtk.Action("PluginsAction", global::Mono.Unix.Catalog.GetString("Plugins"), null, null); this.PluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Plugins"); w1.Add(this.PluginsAction, null); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Lynna Lab"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='SaveAction' action='SaveAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='WarpsAction' action='WarpsAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='AnimationsAction' action='AnimationsAction'/></menu><menu name='PluginsAction' action='PluginsAction'/></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.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'openAction\' action=\'openAction\'/><to" + "olitem name=\'saveAction\' action=\'saveAction\'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Room"); this.table4.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4[this.label3])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.roomSpinButton = new global::LynnaLab.SpinButtonHexadecimal(); this.roomSpinButton.CanFocus = true; this.roomSpinButton.Name = "roomSpinButton"; this.roomSpinButton.Adjustment.Upper = 1535D; this.roomSpinButton.Adjustment.PageIncrement = 16D; this.roomSpinButton.Digits = ((uint)(3)); this.table4.Add(this.roomSpinButton); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4[this.roomSpinButton])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table4])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.areaEditorButton = new global::Gtk.Button(); this.areaEditorButton.CanFocus = true; this.areaEditorButton.Name = "areaEditorButton"; this.areaEditorButton.UseUnderline = true; this.areaEditorButton.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.table3.Add(this.areaEditorButton); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.areaEditorButton])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.areaSpinButton = new global::LynnaLab.SpinButtonHexadecimal(); this.areaSpinButton.CanFocus = true; this.areaSpinButton.Name = "areaSpinButton"; this.areaSpinButton.Adjustment.Upper = 255D; this.areaSpinButton.Adjustment.PageIncrement = 16D; this.areaSpinButton.Digits = ((uint)(2)); this.table3.Add(this.areaSpinButton); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.areaSpinButton])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Music"); this.table3.Add(this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.label4])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Area"); this.table3.Add(this.label8); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3[this.label8])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.musicComboBox = new global::LynnaLab.ComboBoxFromConstants(); this.musicComboBox.Events = ((global::Gdk.EventMask)(256)); this.musicComboBox.Name = "musicComboBox"; this.musicComboBox.Active = 0; this.musicComboBox.ActiveValue = 0; this.table3.Add(this.musicComboBox); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3[this.musicComboBox])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table3); this.frame1.Add(this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Room Properties"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.vbox5.Add(this.frame1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.WidthRequest = 390; this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.viewObjectsCheckBox = new global::Gtk.CheckButton(); this.viewObjectsCheckBox.CanFocus = true; this.viewObjectsCheckBox.Name = "viewObjectsCheckBox"; this.viewObjectsCheckBox.Label = global::Mono.Unix.Catalog.GetString("View Objects"); this.viewObjectsCheckBox.DrawIndicator = true; this.viewObjectsCheckBox.UseUnderline = true; this.viewObjectsCheckBox.FocusOnClick = false; this.vbox6.Add(this.viewObjectsCheckBox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.viewObjectsCheckBox])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.objectgroupeditor1 = new global::LynnaLab.ObjectGroupEditor(); this.objectgroupeditor1.Events = ((global::Gdk.EventMask)(256)); this.objectgroupeditor1.Name = "objectgroupeditor1"; this.objectgroupeditor1.SelectedIndex = 0; this.vbox6.Add(this.objectgroupeditor1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.objectgroupeditor1])); w16.Position = 1; this.GtkAlignment1.Add(this.vbox6); this.frame2.Add(this.GtkAlignment1); this.GtkLabel10 = new global::Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("Objects"); this.GtkLabel10.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel10; this.vbox5.Add(this.frame2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame2])); w19.PackType = ((global::Gtk.PackType)(1)); w19.Position = 2; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox5])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.areaviewer1 = new global::LynnaLab.AreaViewer(); this.areaviewer1.WidthRequest = 256; this.areaviewer1.HeightRequest = 256; this.areaviewer1.Name = "areaviewer1"; this.vbox3.Add(this.areaviewer1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.areaviewer1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.roomeditor1 = new global::LynnaLab.RoomEditor(); this.roomeditor1.WidthRequest = 272; this.roomeditor1.HeightRequest = 272; this.roomeditor1.Name = "roomeditor1"; this.roomeditor1.ViewObjects = false; this.vbox3.Add(this.roomeditor1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.roomeditor1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.hbox1])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("World Index"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.label7])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.worldSpinButton = new global::Gtk.SpinButton(0D, 100D, 1D); this.worldSpinButton.CanFocus = true; this.worldSpinButton.Name = "worldSpinButton"; this.table2.Add(this.worldSpinButton); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.worldSpinButton])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table2])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.darkenDungeonRoomsCheckbox = new global::Gtk.CheckButton(); this.darkenDungeonRoomsCheckbox.CanFocus = true; this.darkenDungeonRoomsCheckbox.Name = "darkenDungeonRoomsCheckbox"; this.darkenDungeonRoomsCheckbox.Label = global::Mono.Unix.Catalog.GetString("Darken used dungeon rooms"); this.darkenDungeonRoomsCheckbox.Active = true; this.darkenDungeonRoomsCheckbox.DrawIndicator = true; this.darkenDungeonRoomsCheckbox.UseUnderline = true; this.vbox4.Add(this.darkenDungeonRoomsCheckbox); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.darkenDungeonRoomsCheckbox])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.worldMinimap = new global::LynnaLab.HighlightingMinimap(); this.worldMinimap.WidthRequest = 300; this.worldMinimap.HeightRequest = 210; this.worldMinimap.Name = "worldMinimap"; this.worldMinimap.Floor = 0; this.vbox4.Add(this.worldMinimap); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.worldMinimap])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.notebook2.Add(this.vbox4); // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Worlds"); this.notebook2.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dungeonSpinButton = new global::Gtk.SpinButton(0D, 100D, 1D); this.dungeonSpinButton.CanFocus = true; this.dungeonSpinButton.Name = "dungeonSpinButton"; this.table1.Add(this.dungeonSpinButton); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.dungeonSpinButton])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.floorSpinButton = new global::Gtk.SpinButton(0D, 100D, 1D); this.floorSpinButton.CanFocus = true; this.floorSpinButton.Name = "floorSpinButton"; this.table1.Add(this.floorSpinButton); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.floorSpinButton])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Floor"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeon Index"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox7.Add(this.table1); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.table1])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.dungeonMinimap = new global::LynnaLab.Minimap(); this.dungeonMinimap.WidthRequest = 240; this.dungeonMinimap.HeightRequest = 176; this.dungeonMinimap.Name = "dungeonMinimap"; this.dungeonMinimap.Floor = 0; this.vbox7.Add(this.dungeonMinimap); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.dungeonMinimap])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.notebook2.Add(this.vbox7); global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2[this.vbox7])); w37.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeons"); this.notebook2.SetTabLabel(this.vbox7, this.label9); this.label9.ShowAll(); this.hbox3.Add(this.notebook2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook2])); w38.Position = 1; w38.Expand = false; w38.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w39.Position = 2; w39.Expand = false; w39.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w40.PackType = ((global::Gtk.PackType)(1)); w40.Position = 3; w40.Expand = false; w40.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1030; this.DefaultHeight = 640; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.SaveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.AnimationsAction.Activated += new global::System.EventHandler(this.OnAnimationsActionActivated); this.WarpsAction.Activated += new global::System.EventHandler(this.OnWarpsActionActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.roomSpinButton.ValueChanged += new global::System.EventHandler(this.OnRoomSpinButtonValueChanged); this.musicComboBox.Changed += new global::System.EventHandler(this.OnMusicComboBoxChanged); this.areaSpinButton.ValueChanged += new global::System.EventHandler(this.OnAreaSpinButtonValueChanged); this.areaEditorButton.Clicked += new global::System.EventHandler(this.OnAreaEditorButtonClicked); this.viewObjectsCheckBox.Toggled += new global::System.EventHandler(this.OnViewObjectsCheckBoxToggled); this.notebook2.SwitchPage += new global::Gtk.SwitchPageHandler(this.OnNotebook2SwitchPage); this.worldSpinButton.ValueChanged += new global::System.EventHandler(this.OnWorldSpinButtonValueChanged); this.darkenDungeonRoomsCheckbox.Toggled += new global::System.EventHandler(this.OnDarkenDungeonRoomsCheckboxToggled); this.floorSpinButton.ValueChanged += new global::System.EventHandler(this.OnFloorSpinButtonValueChanged); this.dungeonSpinButton.ValueChanged += new global::System.EventHandler(this.OnDungeonSpinButtonValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewPojectAction = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project"); w1.Add(this.NewPojectAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project"); w1.Add(this.openAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project"); w1.Add(this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager"); w1.Add(this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager"); w1.Add(this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen"); w1.Add(this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist"); w1.Add(this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode"); w1.Add(this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode"); w1.Add(this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project"); w1.Add(this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add(this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager"); w1.Add(this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets"); w1.Add(this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool"); w1.Add(this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project"); w1.Add(this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TaggingViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode"); w1.Add(this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TaggingViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view"); w1.Add(this.GameUnitsViewAction, null); this.ExportProjectAction = new global::Gtk.Action("ExportProjectAction", global::Mono.Unix.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action("ExportProjectAction1", global::Mono.Unix.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction1, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export to project file"); w1.Add(this.ExportToProjectFileAction, null); this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Shortcuts"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Shortcuts"); w1.Add(this.dialogInfoAction, null); this.ImportFromFileAction = new global::Gtk.Action("ImportFromFileAction", global::Mono.Unix.Catalog.GetString("Import from file"), null, null); this.ImportFromFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import from file"); w1.Add(this.ImportFromFileAction, null); this.TagSubcategoriesAction = new global::Gtk.ToggleAction("TagSubcategoriesAction", global::Mono.Unix.Catalog.GetString("Tag subcategories"), null, null); this.TagSubcategoriesAction.Active = true; this.TagSubcategoriesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tag subcategories"); w1.Add(this.TagSubcategoriesAction, null); this.VideoConverterToolAction = new global::Gtk.Action("VideoConverterToolAction", global::Mono.Unix.Catalog.GetString("Video Converter Tool"), null, null); this.VideoConverterToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Video Converter Tool"); w1.Add(this.VideoConverterToolAction, null); this.DatabasesManagerAction = new global::Gtk.Action("DatabasesManagerAction", global::Mono.Unix.Catalog.GetString("Databases Manager"), null, null); this.DatabasesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Databases Manager"); w1.Add(this.DatabasesManagerAction, null); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("Preferences"), null, null); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.PreferencesAction, null); this.ShowProjectStatsAction = new global::Gtk.Action("ShowProjectStatsAction", global::Mono.Unix.Catalog.GetString("Show project stats"), null, null); this.ShowProjectStatsAction.Sensitive = false; this.ShowProjectStatsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show project stats"); w1.Add(this.ShowProjectStatsAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.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.menubox = new global::Gtk.VBox(); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menu name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='DatabasesManagerAction' action='DatabasesManagerAction'/><separator/><menuitem name='ShowProjectStatsAction' action='ShowProjectStatsAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu><separator/><menuitem name='VideoConverterToolAction' action='VideoConverterToolAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TagSubcategoriesAction' action='TagSubcategoriesAction'/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='dialogInfoAction' action='dialogInfoAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 243; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.playsSelection = new global::LongoMatch.Gui.Component.PlaysSelectionWidget(); this.playsSelection.Events = ((global::Gdk.EventMask)(256)); this.playsSelection.Name = "playsSelection"; this.leftbox.Add(this.playsSelection); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.playsSelection])); w4.Position = 0; this.hpaned.Add(this.leftbox); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w5.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 952; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox(); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox(); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox(); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add(this.drawingtoolbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.playercapturer = new global::LongoMatch.Gui.PlayerCapturerBin(); this.playercapturer.Events = ((global::Gdk.EventMask)(256)); this.playercapturer.Name = "playercapturer"; this.playercapturer.Detached = false; this.playercapturer.ExpandLogo = false; this.playercapturer.Rate = 0F; this.videowidgetsbox.Add(this.playercapturer); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.playercapturer])); w7.Position = 1; this.downbox.Add(this.videowidgetsbox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w8.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget(); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add(this.buttonswidget); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w9.Position = 1; w9.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger(); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add(this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w10.Position = 2; w10.Expand = false; this.hpaned1.Add(this.downbox); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w11.Resize = false; w11.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.righthbox = new global::Gtk.HBox(); this.righthbox.WidthRequest = 100; this.righthbox.Name = "righthbox"; this.righthbox.Spacing = 6; // Container child righthbox.Gtk.Box+BoxChild this.tagsvbox = new global::Gtk.VBox(); this.tagsvbox.WidthRequest = 100; this.tagsvbox.Name = "tagsvbox"; this.tagsvbox.Spacing = 6; // Container child tagsvbox.Gtk.Box+BoxChild this.postagger = new global::LongoMatch.Gui.Component.PlaysCoordinatesTagger(); this.postagger.Events = ((global::Gdk.EventMask)(256)); this.postagger.Name = "postagger"; this.tagsvbox.Add(this.postagger); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.postagger])); w12.Position = 0; // Container child tagsvbox.Gtk.Box+BoxChild this.notesframe = new global::Gtk.Frame(); this.notesframe.Name = "notesframe"; this.notesframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child notesframe.Gtk.Container+ContainerChild this.GtkAlignment22 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment22.Name = "GtkAlignment22"; this.GtkAlignment22.LeftPadding = ((uint)(12)); // Container child GtkAlignment22.Gtk.Container+ContainerChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget(); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.GtkAlignment22.Add(this.notes); this.notesframe.Add(this.GtkAlignment22); this.GtkLabel31 = new global::Gtk.Label(); this.GtkLabel31.Name = "GtkLabel31"; this.GtkLabel31.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Notes</b>"); this.GtkLabel31.UseMarkup = true; this.notesframe.LabelWidget = this.GtkLabel31; this.tagsvbox.Add(this.notesframe); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.tagsvbox [this.notesframe])); w15.Position = 1; this.righthbox.Add(this.tagsvbox); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.tagsvbox])); w16.Position = 0; // Container child righthbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget(); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.righthbox.Add(this.playlist); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.righthbox [this.playlist])); w17.Position = 1; this.hpaned1.Add(this.righthbox); global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.righthbox])); w18.Resize = false; w18.Shrink = false; this.hpaned.Add(this.hpaned1); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w19.Shrink = false; this.vbox1.Add(this.hpaned); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w20.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar(); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add(this.renderingstatebar1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1503; this.DefaultHeight = 686; this.leftbox.Hide(); this.drawingtoolbox1.Hide(); this.buttonswidget.Hide(); this.tagsvbox.Hide(); this.playlist.Hide(); this.righthbox.Hide(); this.renderingstatebar1.Hide(); this.Show(); this.NewPojectAction.Activated += new global::System.EventHandler(this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler(this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler(this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler(this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.dialogInfoAction.Activated += new global::System.EventHandler(this.OnDialogInfoActionActivated); this.TagSubcategoriesAction.Toggled += new global::System.EventHandler(this.OnTagSubcategoriesActionToggled); this.VideoConverterToolAction.Activated += new global::System.EventHandler(this.OnVideoConverterToolActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget HFSGuardaDiretorio.gui.FrmPrincipal this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.AbaAction = new global::Gtk.Action("AbaAction", global::Mono.Unix.Catalog.GetString("Aba"), null, null); this.AbaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Aba"); w1.Add(this.AbaAction, null); this.DiretorioAction = new global::Gtk.Action("DiretorioAction", global::Mono.Unix.Catalog.GetString("Diretório"), null, null); this.DiretorioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Diretório"); w1.Add(this.DiretorioAction, null); this.VisaoAction = new global::Gtk.Action("VisaoAction", global::Mono.Unix.Catalog.GetString("Visão"), null, null); this.VisaoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visão"); w1.Add(this.VisaoAction, null); this.SobreAction = new global::Gtk.Action("SobreAction", global::Mono.Unix.Catalog.GetString("Sobre"), null, null); this.SobreAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sobre"); w1.Add(this.SobreAction, null); this.IncluirNovaAbaAction = new global::Gtk.Action("IncluirNovaAbaAction", global::Mono.Unix.Catalog.GetString("Incluir Nova Aba"), null, null); this.IncluirNovaAbaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Incluir Nova Aba"); w1.Add(this.IncluirNovaAbaAction, null); this.AlterarNomeDaAbaAtivaAction = new global::Gtk.Action("AlterarNomeDaAbaAtivaAction", global::Mono.Unix.Catalog.GetString("Alterar Nome da Aba Ativa"), null, null); this.AlterarNomeDaAbaAtivaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Alterar Nome da Aba Ativa"); w1.Add(this.AlterarNomeDaAbaAtivaAction, null); this.ExcluirAbaAtivaAction = new global::Gtk.Action("ExcluirAbaAtivaAction", global::Mono.Unix.Catalog.GetString("Excluir Aba Ativa"), null, null); this.ExcluirAbaAtivaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Excluir Aba Ativa"); w1.Add(this.ExcluirAbaAtivaAction, null); this.ImportarDiretorioAction = new global::Gtk.Action("ImportarDiretorioAction", global::Mono.Unix.Catalog.GetString("Importar Diretório"), null, null); this.ImportarDiretorioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar Diretório"); w1.Add(this.ImportarDiretorioAction, null); this.ImportarSubDiretoriosAction = new global::Gtk.Action("ImportarSubDiretoriosAction", global::Mono.Unix.Catalog.GetString("Importar SubDiretórios"), null, null); this.ImportarSubDiretoriosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar SubDiretórios"); w1.Add(this.ImportarSubDiretoriosAction, null); this.CompararDiretoriosAction = new global::Gtk.Action("CompararDiretoriosAction", global::Mono.Unix.Catalog.GetString("Comparar Diretórios"), null, null); this.CompararDiretoriosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Comparar Diretórios"); w1.Add(this.CompararDiretoriosAction, null); this.CadastrarExtensaoDeArquivoAction = new global::Gtk.Action("CadastrarExtensaoDeArquivoAction", global::Mono.Unix.Catalog.GetString("Cadastrar Extensão de Arquivo"), null, null); this.CadastrarExtensaoDeArquivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cadastrar Extensão de Arquivo"); w1.Add(this.CadastrarExtensaoDeArquivoAction, null); this.Action = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("-"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("-"); w1.Add(this.Action, null); this.ExpandirDiretoriosAction = new global::Gtk.Action("ExpandirDiretoriosAction", global::Mono.Unix.Catalog.GetString("Expandir Diretórios"), null, null); this.ExpandirDiretoriosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Expandir Diretórios"); w1.Add(this.ExpandirDiretoriosAction, null); this.ColapsarDiretoriosAction = new global::Gtk.Action("ColapsarDiretoriosAction", global::Mono.Unix.Catalog.GetString("Colapsar Diretórios"), null, null); this.ColapsarDiretoriosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Colapsar Diretórios"); w1.Add(this.ColapsarDiretoriosAction, null); this.ExportarDiretoriosDaAbaAtivaAction = new global::Gtk.Action("ExportarDiretoriosDaAbaAtivaAction", global::Mono.Unix.Catalog.GetString("Exportar Diretórios da Aba Ativa"), null, null); this.ExportarDiretoriosDaAbaAtivaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar Diretórios da Aba Ativa"); w1.Add(this.ExportarDiretoriosDaAbaAtivaAction, null); this.ImportarDiretoriosViaXMLAction = new global::Gtk.Action("ImportarDiretoriosViaXMLAction", global::Mono.Unix.Catalog.GetString("Importar Diretórios via XML"), null, null); this.ImportarDiretoriosViaXMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar Diretórios via XML"); w1.Add(this.ImportarDiretoriosViaXMLAction, null); this.GravarLogDaImportacaoAction = new global::Gtk.ToggleAction("GravarLogDaImportacaoAction", global::Mono.Unix.Catalog.GetString("Gravar Log da Importação"), null, null); this.GravarLogDaImportacaoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gravar Log da Importação"); w1.Add(this.GravarLogDaImportacaoAction, null); this.TXTAction = new global::Gtk.Action("TXTAction", global::Mono.Unix.Catalog.GetString("TXT"), null, null); this.TXTAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TXT"); w1.Add(this.TXTAction, null); this.TXTAction1 = new global::Gtk.Action("TXTAction1", global::Mono.Unix.Catalog.GetString("TXT"), null, null); this.TXTAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("TXT"); w1.Add(this.TXTAction1, null); this.CSVAction = new global::Gtk.Action("CSVAction", global::Mono.Unix.Catalog.GetString("CSV"), null, null); this.CSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CSV"); w1.Add(this.CSVAction, null); this.HTMLAction = new global::Gtk.Action("HTMLAction", global::Mono.Unix.Catalog.GetString("HTML"), null, null); this.HTMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("HTML"); w1.Add(this.HTMLAction, null); this.XMLAction = new global::Gtk.Action("XMLAction", global::Mono.Unix.Catalog.GetString("XML"), null, null); this.XMLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("XML"); w1.Add(this.XMLAction, null); this.SQLAction = new global::Gtk.Action("SQLAction", global::Mono.Unix.Catalog.GetString("SQL"), null, null); this.SQLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("SQL"); w1.Add(this.SQLAction, null); this.MostrarOcultarArvoreDirAbaAtivaAction = new global::Gtk.Action("MostrarOcultarArvoreDirAbaAtivaAction", global::Mono.Unix.Catalog.GetString("Mostrar/Ocultar árvore de diretórios da Aba Ativa"), null, null); this.MostrarOcultarArvoreDirAbaAtivaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Mostrar/Ocultar árvore de diretórios da Aba Ativa"); w1.Add(this.MostrarOcultarArvoreDirAbaAtivaAction, null); this.MostrarOcultarListaItensPesquisadosAction = new global::Gtk.Action("MostrarOcultarListaItensPesquisadosAction", global::Mono.Unix.Catalog.GetString("Mostrar/Ocultar lista de itens pesquisados"), null, null); this.MostrarOcultarListaItensPesquisadosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Mostrar/Ocultar lista de itens pesquisados"); w1.Add(this.MostrarOcultarListaItensPesquisadosAction, null); this.SobreOCatalogadorAction = new global::Gtk.Action("SobreOCatalogadorAction", global::Mono.Unix.Catalog.GetString("Sobre o Catalogador"), null, null); this.SobreOCatalogadorAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sobre o Catalogador"); w1.Add(this.SobreOCatalogadorAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 900; this.HeightRequest = 500; this.Name = "HFSGuardaDiretorio.gui.FrmPrincipal"; this.Title = global::Mono.Unix.Catalog.GetString("HFSGuardaDiretorio 2.0 - Catalogador de Diretórios"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 900; this.DefaultHeight = 500; // Container child HFSGuardaDiretorio.gui.FrmPrincipal.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=\'barraMenu\'><menu name=\'AbaAction\' action=\'AbaAction\'><menuitem" + " name=\'IncluirNovaAbaAction\' action=\'IncluirNovaAbaAction\'/><menuitem name=\'Alte" + "rarNomeDaAbaAtivaAction\' action=\'AlterarNomeDaAbaAtivaAction\'/><menuitem name=\'E" + "xcluirAbaAtivaAction\' action=\'ExcluirAbaAtivaAction\'/></menu><menu name=\'Diretor" + "ioAction\' action=\'DiretorioAction\'><menuitem name=\'ImportarDiretorioAction\' acti" + "on=\'ImportarDiretorioAction\'/><menuitem name=\'ImportarSubDiretoriosAction\' actio" + "n=\'ImportarSubDiretoriosAction\'/><menuitem name=\'CompararDiretoriosAction\' actio" + "n=\'CompararDiretoriosAction\'/><menuitem name=\'CadastrarExtensaoDeArquivoAction\' " + "action=\'CadastrarExtensaoDeArquivoAction\'/><separator/><menuitem name=\'ExpandirD" + "iretoriosAction\' action=\'ExpandirDiretoriosAction\'/><menuitem name=\'ColapsarDire" + "toriosAction\' action=\'ColapsarDiretoriosAction\'/><menu name=\'ExportarDiretoriosD" + "aAbaAtivaAction\' action=\'ExportarDiretoriosDaAbaAtivaAction\'><menuitem name=\'TXT" + "Action1\' action=\'TXTAction1\'/><menuitem name=\'CSVAction\' action=\'CSVAction\'/><me" + "nuitem name=\'HTMLAction\' action=\'HTMLAction\'/><menuitem name=\'XMLAction\' action=" + "\'XMLAction\'/><menuitem name=\'SQLAction\' action=\'SQLAction\'/></menu><menuitem nam" + "e=\'ImportarDiretoriosViaXMLAction\' action=\'ImportarDiretoriosViaXMLAction\'/><men" + "uitem name=\'GravarLogDaImportacaoAction\' action=\'GravarLogDaImportacaoAction\'/><" + "/menu><menu name=\'VisaoAction\' action=\'VisaoAction\'><menuitem name=\'MostrarOcult" + "arArvoreDirAbaAtivaAction\' action=\'MostrarOcultarArvoreDirAbaAtivaAction\'/><menu" + "item name=\'MostrarOcultarListaItensPesquisadosAction\' action=\'MostrarOcultarList" + "aItensPesquisadosAction\'/></menu><menu name=\'SobreAction\' action=\'SobreAction\'><" + "menuitem name=\'SobreOCatalogadorAction\' action=\'SobreOCatalogadorAction\'/></menu" + "></menubar></ui>"); this.barraMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/barraMenu"))); this.barraMenu.Name = "barraMenu"; this.vbox1.Add(this.barraMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.barraMenu])); w2.Position = 0; w2.Expand = false; w2.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.btnImportarDiretorio = new global::Gtk.Button(); this.btnImportarDiretorio.CanFocus = true; this.btnImportarDiretorio.Name = "btnImportarDiretorio"; this.btnImportarDiretorio.UseUnderline = true; this.btnImportarDiretorio.Label = global::Mono.Unix.Catalog.GetString("Importar Diretório"); this.hbox1.Add(this.btnImportarDiretorio); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnImportarDiretorio])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.pb = new global::Gtk.ProgressBar(); this.pb.Name = "pb"; this.hbox1.Add(this.pb); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.pb])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.edtPesquisa = new global::Gtk.Entry(); this.edtPesquisa.CanFocus = true; this.edtPesquisa.Name = "edtPesquisa"; this.edtPesquisa.IsEditable = true; this.edtPesquisa.MaxLength = 255; this.edtPesquisa.InvisibleChar = '●'; this.hbox1.Add(this.edtPesquisa); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.edtPesquisa])); w5.Position = 2; // Container child hbox1.Gtk.Box+BoxChild this.btnPesquisa = new global::Gtk.Button(); this.btnPesquisa.CanFocus = true; this.btnPesquisa.Name = "btnPesquisa"; this.btnPesquisa.UseUnderline = true; this.btnPesquisa.Label = global::Mono.Unix.Catalog.GetString("Pesquisar"); this.hbox1.Add(this.btnPesquisa); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnPesquisa])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.spPesquisa = new global::Gtk.VPaned(); this.spPesquisa.CanFocus = true; this.spPesquisa.Name = "spPesquisa"; this.spPesquisa.Position = 1; // Container child spPesquisa.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.Scrollable = true; // Container child notebook1.Gtk.Notebook+NotebookChild this.sp = new global::Gtk.HPaned(); this.sp.CanFocus = true; this.sp.Name = "sp"; this.sp.Position = 1; // Container child sp.Gtk.Paned+PanedChild this.scrollArvore = new global::Gtk.ScrolledWindow(); this.scrollArvore.Name = "scrollArvore"; this.scrollArvore.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollArvore.Gtk.Container+ContainerChild this.arvoreFixa = new global::Gtk.TreeView(); this.arvoreFixa.CanFocus = true; this.arvoreFixa.Name = "arvoreFixa"; this.scrollArvore.Add(this.arvoreFixa); this.sp.Add(this.scrollArvore); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.sp [this.scrollArvore])); w9.Resize = false; // Container child sp.Gtk.Paned+PanedChild this.scrollTabelaFixa = new global::Gtk.ScrolledWindow(); this.scrollTabelaFixa.Name = "scrollTabelaFixa"; this.scrollTabelaFixa.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollTabelaFixa.Gtk.Container+ContainerChild this.tabelaFixa = new global::Gtk.NodeView(); this.tabelaFixa.CanFocus = true; this.tabelaFixa.Name = "tabelaFixa"; this.scrollTabelaFixa.Add(this.tabelaFixa); this.sp.Add(this.scrollTabelaFixa); this.notebook1.Add(this.sp); // Notebook tab this.labAbaFixa = new global::Gtk.Label(); this.labAbaFixa.Name = "labAbaFixa"; this.labAbaFixa.LabelProp = global::Mono.Unix.Catalog.GetString("DISCO1"); this.notebook1.SetTabLabel(this.sp, this.labAbaFixa); this.labAbaFixa.ShowAll(); this.spPesquisa.Add(this.notebook1); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.spPesquisa [this.notebook1])); w13.Resize = false; // Container child spPesquisa.Gtk.Paned+PanedChild this.scrollPesquisa = new global::Gtk.ScrolledWindow(); this.scrollPesquisa.Name = "scrollPesquisa"; this.scrollPesquisa.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrollPesquisa.Gtk.Container+ContainerChild this.tabelaPesquisa = new global::Gtk.NodeView(); this.tabelaPesquisa.CanFocus = true; this.tabelaPesquisa.Name = "tabelaPesquisa"; this.scrollPesquisa.Add(this.tabelaPesquisa); this.spPesquisa.Add(this.scrollPesquisa); this.vbox1.Add(this.spPesquisa); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.spPesquisa])); w16.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.barraStatus1 = new global::Gtk.Statusbar(); this.barraStatus1.Name = "barraStatus1"; this.barraStatus1.Spacing = 6; this.barraStatus1.HasResizeGrip = false; this.hbox2.Add(this.barraStatus1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.barraStatus1])); w17.Position = 0; w17.Expand = false; // Container child hbox2.Gtk.Box+BoxChild this.barraStatus2 = new global::Gtk.Statusbar(); this.barraStatus2.Name = "barraStatus2"; this.barraStatus2.Spacing = 6; this.hbox2.Add(this.barraStatus2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.barraStatus2])); w18.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.IncluirNovaAbaAction.Activated += new global::System.EventHandler(this.OnIncluirNovaAbaActionActivated); this.AlterarNomeDaAbaAtivaAction.Activated += new global::System.EventHandler(this.OnAlterarNomeDaAbaAtivaActionActivated); this.ExcluirAbaAtivaAction.Activated += new global::System.EventHandler(this.OnExcluirAbaAtivaActionActivated); this.ImportarDiretorioAction.Activated += new global::System.EventHandler(this.OnImportarDiretorioActionActivated); this.ImportarSubDiretoriosAction.Activated += new global::System.EventHandler(this.OnImportarSubDiretoriosActionActivated); this.CompararDiretoriosAction.Activated += new global::System.EventHandler(this.OnCompararDiretoriosActionActivated); this.CadastrarExtensaoDeArquivoAction.Activated += new global::System.EventHandler(this.OnCadastrarExtensaoDeArquivoActionActivated); this.ExpandirDiretoriosAction.Activated += new global::System.EventHandler(this.OnExpandirDiretoriosActionActivated); this.ColapsarDiretoriosAction.Activated += new global::System.EventHandler(this.OnColapsarDiretoriosActionActivated); this.ImportarDiretoriosViaXMLAction.Activated += new global::System.EventHandler(this.OnImportarDiretoriosViaXMLActionActivated); this.TXTAction1.Activated += new global::System.EventHandler(this.OnTXTAction1Activated); this.CSVAction.Activated += new global::System.EventHandler(this.OnCSVActionActivated); this.HTMLAction.Activated += new global::System.EventHandler(this.OnHTMLActionActivated); this.XMLAction.Activated += new global::System.EventHandler(this.OnXMLActionActivated); this.SQLAction.Activated += new global::System.EventHandler(this.OnSQLActionActivated); this.MostrarOcultarArvoreDirAbaAtivaAction.Activated += new global::System.EventHandler(this.OnMostrarOcultarArvoreDirAbaAtivaActionActivated); this.MostrarOcultarListaItensPesquisadosAction.Activated += new global::System.EventHandler(this.OnMostrarOcultarListaItensPesquisadosActionActivated); this.SobreOCatalogadorAction.Activated += new global::System.EventHandler(this.OnSobreOCatalogadorActionActivated); this.btnImportarDiretorio.Clicked += new global::System.EventHandler(this.OnBtnImportarDiretorioClicked); this.btnPesquisa.Clicked += new global::System.EventHandler(this.OnBtnPesquisaClicked); this.arvoreFixa.RowExpanded += new global::Gtk.RowExpandedHandler(this.OnArvoreFixaRowExpanded); this.arvoreFixa.RowCollapsed += new global::Gtk.RowCollapsedHandler(this.OnArvoreFixaRowCollapsed); this.arvoreFixa.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnArvoreFixaButtonReleaseEvent); this.tabelaFixa.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTabelaFixaRowActivated); this.tabelaFixa.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnTabelaFixaButtonReleaseEvent); this.tabelaPesquisa.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnTabelaPesquisaButtonReleaseEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.newAction = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("New Song"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Song"); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Song"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Song"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save"); w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Save _As"), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save _As"); w1.Add(this.saveAsAction, null); this.printPreviewAction = new global::Gtk.Action("printPreviewAction", global::Mono.Unix.Catalog.GetString("Print Preview"), null, "gtk-print-preview"); this.printPreviewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Print Preview"); w1.Add(this.printPreviewAction, null); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Print"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Print"); w1.Add(this.printAction, null); this.propertiesAction = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("Settings"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.propertiesAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.openAction1 = new global::Gtk.Action("openAction1", null, null, "gtk-open"); w1.Add(this.openAction1, null); this.saveAction1 = new global::Gtk.Action("saveAction1", null, null, "gtk-save"); w1.Add(this.saveAction1, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.SongInformationAction = new global::Gtk.ToggleAction("SongInformationAction", global::Mono.Unix.Catalog.GetString("Song Information"), null, null); this.SongInformationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Song Information"); w1.Add(this.SongInformationAction, null); this.TagChordBarAction = new global::Gtk.ToggleAction("TagChordBarAction", global::Mono.Unix.Catalog.GetString("Tag/Chord Bar"), null, null); this.TagChordBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tag/Chord Bar"); w1.Add(this.TagChordBarAction, "<Primary><Mod2>t"); this.undoAction = new global::Gtk.Action("undoAction", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.undoAction, "<Primary><Mod2>z"); this.redoAction = new global::Gtk.Action("redoAction", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.redoAction, "<Primary><Mod2>y"); this.copyAction = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copy"), null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy"); w1.Add(this.copyAction, "<Primary><Mod2>c"); this.cutAction = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cut"), null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cut"); w1.Add(this.cutAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("Paste"), null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Paste"); w1.Add(this.pasteAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Chord Sheet Generator"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("CSGen.chordsheetgen.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.mainPanel = new global::Gtk.VBox(); this.mainPanel.Name = "mainPanel"; // Container child mainPanel.Gtk.Box+BoxChild this.hbox17 = new global::Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 5; // Container child hbox17.Gtk.Box+BoxChild 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='mainMenu'><menu name='FileAction' action='FileAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='printPreviewAction' action='printPreviewAction'/><menuitem name='printAction' action='printAction'/><separator/><menuitem name='propertiesAction' action='propertiesAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='undoAction' action='undoAction'/><menuitem name='redoAction' action='redoAction'/><separator/><menuitem name='cutAction' action='cutAction'/><menuitem name='copyAction' action='copyAction'/><menuitem name='pasteAction' action='pasteAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='SongInformationAction' action='SongInformationAction'/><menuitem name='TagChordBarAction' action='TagChordBarAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>"); this.mainMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/mainMenu"))); this.mainMenu.Name = "mainMenu"; this.vbox1.Add(this.mainMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.mainMenu])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.mainDivider = new global::Gtk.HPaned(); this.mainDivider.CanFocus = true; this.mainDivider.Name = "mainDivider"; this.mainDivider.Position = 607; this.mainDivider.BorderWidth = ((uint)(5)); // Container child mainDivider.Gtk.Paned+PanedChild this.editorPanel = new global::Gtk.VBox(); this.editorPanel.Name = "editorPanel"; this.editorPanel.Spacing = 3; // Container child editorPanel.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.panelToolbar = new global::Gtk.HBox(); this.panelToolbar.Name = "panelToolbar"; this.panelToolbar.Spacing = 2; this.panelToolbar.BorderWidth = ((uint)(1)); // Container child panelToolbar.Gtk.Box+BoxChild this.btnShowInfo = new global::Gtk.ToggleButton(); this.btnShowInfo.TooltipMarkup = "Show Song Information"; this.btnShowInfo.CanFocus = true; this.btnShowInfo.Name = "btnShowInfo"; this.btnShowInfo.UseUnderline = true; this.btnShowInfo.Active = true; global::Gtk.Image w3 = new global::Gtk.Image(); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Menu); this.btnShowInfo.Image = w3; this.panelToolbar.Add(this.btnShowInfo); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnShowInfo])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.panelToolbar.Add(this.vseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.vseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnOpen = new global::Gtk.Button(); this.btnOpen.TooltipMarkup = "Open new song file."; this.btnOpen.CanFocus = true; this.btnOpen.Name = "btnOpen"; this.btnOpen.UseUnderline = true; global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-open", global::Gtk.IconSize.Menu); this.btnOpen.Image = w6; this.panelToolbar.Add(this.btnOpen); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnOpen])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnSave = new global::Gtk.Button(); this.btnSave.TooltipMarkup = "Save song file"; this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.btnSave.Image = w8; this.panelToolbar.Add(this.btnSave); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnSave])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnPrintPreview = new global::Gtk.Button(); this.btnPrintPreview.TooltipMarkup = "Print Preview"; this.btnPrintPreview.CanFocus = true; this.btnPrintPreview.Name = "btnPrintPreview"; this.btnPrintPreview.UseUnderline = true; global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print-preview", global::Gtk.IconSize.Menu); this.btnPrintPreview.Image = w10; this.panelToolbar.Add(this.btnPrintPreview); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnPrintPreview])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnPrint = new global::Gtk.Button(); this.btnPrint.TooltipMarkup = "Print"; this.btnPrint.CanFocus = true; this.btnPrint.Name = "btnPrint"; this.btnPrint.UseUnderline = true; global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-print", global::Gtk.IconSize.Menu); this.btnPrint.Image = w12; this.panelToolbar.Add(this.btnPrint); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnPrint])); w13.Position = 5; w13.Expand = false; w13.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.panelToolbar.Add(this.vseparator2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.vseparator2])); w14.Position = 6; w14.Expand = false; w14.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnUndo = new global::Gtk.Button(); this.btnUndo.TooltipMarkup = "Undo action"; this.btnUndo.CanFocus = true; this.btnUndo.Name = "btnUndo"; this.btnUndo.UseUnderline = true; global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-undo", global::Gtk.IconSize.Menu); this.btnUndo.Image = w15; this.panelToolbar.Add(this.btnUndo); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnUndo])); w16.Position = 7; w16.Expand = false; w16.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnRedo = new global::Gtk.Button(); this.btnRedo.TooltipMarkup = "Redo action"; this.btnRedo.CanFocus = true; this.btnRedo.Name = "btnRedo"; this.btnRedo.UseUnderline = true; global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-redo", global::Gtk.IconSize.Menu); this.btnRedo.Image = w17; this.panelToolbar.Add(this.btnRedo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnRedo])); w18.Position = 8; w18.Expand = false; w18.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.vseparator4 = new global::Gtk.VSeparator(); this.vseparator4.Name = "vseparator4"; this.panelToolbar.Add(this.vseparator4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.vseparator4])); w19.Position = 9; w19.Expand = false; w19.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnCut = new global::Gtk.Button(); this.btnCut.TooltipMarkup = "Cut selection"; this.btnCut.CanFocus = true; this.btnCut.Name = "btnCut"; this.btnCut.UseUnderline = true; global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cut", global::Gtk.IconSize.Menu); this.btnCut.Image = w20; this.panelToolbar.Add(this.btnCut); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnCut])); w21.Position = 10; w21.Expand = false; w21.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnCopy = new global::Gtk.Button(); this.btnCopy.TooltipMarkup = "Copy selection"; this.btnCopy.CanFocus = true; this.btnCopy.Name = "btnCopy"; this.btnCopy.UseUnderline = true; global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); this.btnCopy.Image = w22; this.panelToolbar.Add(this.btnCopy); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnCopy])); w23.Position = 11; w23.Expand = false; w23.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnPaste = new global::Gtk.Button(); this.btnPaste.TooltipMarkup = "Paste"; this.btnPaste.CanFocus = true; this.btnPaste.Name = "btnPaste"; this.btnPaste.UseUnderline = true; global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-paste", global::Gtk.IconSize.Menu); this.btnPaste.Image = w24; this.panelToolbar.Add(this.btnPaste); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnPaste])); w25.Position = 12; w25.Expand = false; w25.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.vseparator5 = new global::Gtk.VSeparator(); this.vseparator5.Name = "vseparator5"; this.panelToolbar.Add(this.vseparator5); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.vseparator5])); w26.Position = 13; w26.Expand = false; w26.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Transpose"); this.panelToolbar.Add(this.label9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.label9])); w27.Position = 14; w27.Expand = false; w27.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnTransposeDown = new global::Gtk.Button(); this.btnTransposeDown.TooltipMarkup = "Transpose song or selection down a half step."; this.btnTransposeDown.CanFocus = true; this.btnTransposeDown.Name = "btnTransposeDown"; this.btnTransposeDown.UseUnderline = true; global::Gtk.Image w28 = new global::Gtk.Image(); w28.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu); this.btnTransposeDown.Image = w28; this.panelToolbar.Add(this.btnTransposeDown); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnTransposeDown])); w29.Position = 15; w29.Expand = false; w29.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.btnTransposeUp = new global::Gtk.Button(); this.btnTransposeUp.TooltipMarkup = "Transpose song or selection up a half step."; this.btnTransposeUp.CanFocus = true; this.btnTransposeUp.Name = "btnTransposeUp"; this.btnTransposeUp.UseUnderline = true; global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-up", global::Gtk.IconSize.Menu); this.btnTransposeUp.Image = w30; this.panelToolbar.Add(this.btnTransposeUp); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.btnTransposeUp])); w31.Position = 16; w31.Expand = false; w31.Fill = false; // Container child panelToolbar.Gtk.Box+BoxChild this.chkUseSharps = new global::Gtk.CheckButton(); this.chkUseSharps.CanFocus = true; this.chkUseSharps.Name = "chkUseSharps"; this.chkUseSharps.Label = global::Mono.Unix.Catalog.GetString("Use sharps"); this.chkUseSharps.DrawIndicator = true; this.chkUseSharps.UseUnderline = true; this.panelToolbar.Add(this.chkUseSharps); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.panelToolbar[this.chkUseSharps])); w32.Position = 17; this.hbox19.Add(this.panelToolbar); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.panelToolbar])); w33.Position = 0; // Container child hbox19.Gtk.Box+BoxChild this.btnShowTagBar = new global::Gtk.ToggleButton(); this.btnShowTagBar.CanFocus = true; this.btnShowTagBar.Name = "btnShowTagBar"; this.btnShowTagBar.UseUnderline = true; global::Gtk.Image w34 = new global::Gtk.Image(); w34.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-about", global::Gtk.IconSize.Menu); this.btnShowTagBar.Image = w34; this.hbox19.Add(this.btnShowTagBar); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.btnShowTagBar])); w35.Position = 1; w35.Expand = false; w35.Fill = false; this.editorPanel.Add(this.hbox19); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.editorPanel[this.hbox19])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child editorPanel.Gtk.Box+BoxChild this.hbox18 = new global::Gtk.HBox(); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 6; // Container child hbox18.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.panelSongInfo = new global::Gtk.VBox(); this.panelSongInfo.Name = "panelSongInfo"; this.panelSongInfo.Spacing = 2; // Container child panelSongInfo.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.WidthRequest = 70; this.label3.Name = "label3"; this.label3.Xpad = 2; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Title:"); this.hbox2.Add(this.label3); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3])); w37.Position = 0; w37.Expand = false; w37.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.txtTitle = new global::Gtk.Entry(); this.txtTitle.CanFocus = true; this.txtTitle.Name = "txtTitle"; this.txtTitle.IsEditable = true; this.txtTitle.InvisibleChar = '•'; this.hbox2.Add(this.txtTitle); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.txtTitle])); w38.Position = 1; this.panelSongInfo.Add(this.hbox2); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.panelSongInfo[this.hbox2])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child panelSongInfo.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 70; this.label4.Name = "label4"; this.label4.Xpad = 2; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Artist:"); this.hbox1.Add(this.label4); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label4])); w40.Position = 0; w40.Expand = false; w40.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.txtArtist = new global::Gtk.Entry(); this.txtArtist.CanFocus = true; this.txtArtist.Name = "txtArtist"; this.txtArtist.IsEditable = true; this.txtArtist.InvisibleChar = '•'; this.hbox1.Add(this.txtArtist); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtArtist])); w41.Position = 1; this.panelSongInfo.Add(this.hbox1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.panelSongInfo[this.hbox1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child panelSongInfo.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 70; this.label5.Name = "label5"; this.label5.Xpad = 2; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Copyright:"); this.hbox3.Add(this.label5); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label5])); w43.Position = 0; w43.Expand = false; w43.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.txtCopyright = new global::Gtk.Entry(); this.txtCopyright.CanFocus = true; this.txtCopyright.Name = "txtCopyright"; this.txtCopyright.IsEditable = true; this.txtCopyright.InvisibleChar = '•'; this.hbox3.Add(this.txtCopyright); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtCopyright])); w44.Position = 1; this.panelSongInfo.Add(this.hbox3); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.panelSongInfo[this.hbox3])); w45.Position = 2; w45.Expand = false; w45.Fill = false; // Container child panelSongInfo.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xpad = 2; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("CCLI:"); this.hbox4.Add(this.label8); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label8])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.txtCCLI = new global::Gtk.Entry(); this.txtCCLI.CanFocus = true; this.txtCCLI.Name = "txtCCLI"; this.txtCCLI.IsEditable = true; this.txtCCLI.InvisibleChar = '•'; this.hbox4.Add(this.txtCCLI); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtCCLI])); w47.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Key:"); this.hbox4.Add(this.label6); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label6])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.txtKey = new global::Gtk.Entry(); this.txtKey.CanFocus = true; this.txtKey.Name = "txtKey"; this.txtKey.IsEditable = true; this.txtKey.InvisibleChar = '•'; this.hbox4.Add(this.txtKey); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtKey])); w49.Position = 3; // Container child hbox4.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Capo:"); this.hbox4.Add(this.label7); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label7])); w50.Position = 4; w50.Expand = false; w50.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.txtCapo = new global::Gtk.Entry(); this.txtCapo.CanFocus = true; this.txtCapo.Name = "txtCapo"; this.txtCapo.IsEditable = true; this.txtCapo.InvisibleChar = '•'; this.hbox4.Add(this.txtCapo); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.txtCapo])); w51.Position = 5; this.panelSongInfo.Add(this.hbox4); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.panelSongInfo[this.hbox4])); w52.Position = 3; w52.Expand = false; w52.Fill = false; this.vbox3.Add(this.panelSongInfo); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.panelSongInfo])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtEditor = new global::Gtk.TextView(); this.txtEditor.CanFocus = true; this.txtEditor.Name = "txtEditor"; this.txtEditor.LeftMargin = 10; this.txtEditor.RightMargin = 10; this.GtkScrolledWindow.Add(this.txtEditor); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w55.Position = 1; this.hbox18.Add(this.vbox3); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.vbox3])); w56.Position = 0; // Container child hbox18.Gtk.Box+BoxChild this.panelTagBar = new global::Gtk.VBox(); this.panelTagBar.Name = "panelTagBar"; // Container child panelTagBar.Gtk.Box+BoxChild this.panelTagHeader = new global::Gtk.Label(); this.panelTagHeader.HeightRequest = 30; this.panelTagHeader.Name = "panelTagHeader"; this.panelTagBar.Add(this.panelTagHeader); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.panelTagBar[this.panelTagHeader])); w57.Position = 0; w57.Expand = false; w57.Fill = false; // Container child panelTagBar.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Homogeneous = true; this.hbox6.BorderWidth = ((uint)(1)); // Container child hbox6.Gtk.Box+BoxChild this.btnTagBarOption = new global::Gtk.ToggleButton(); this.btnTagBarOption.CanFocus = true; this.btnTagBarOption.Name = "btnTagBarOption"; this.btnTagBarOption.UseUnderline = true; this.btnTagBarOption.Active = true; this.btnTagBarOption.Label = global::Mono.Unix.Catalog.GetString("Tags"); global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-paste", global::Gtk.IconSize.Menu); this.btnTagBarOption.Image = w58; this.hbox6.Add(this.btnTagBarOption); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnTagBarOption])); w59.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.btnChordBarOption = new global::Gtk.ToggleButton(); this.btnChordBarOption.CanFocus = true; this.btnChordBarOption.Name = "btnChordBarOption"; this.btnChordBarOption.UseUnderline = true; this.btnChordBarOption.Label = global::Mono.Unix.Catalog.GetString("Chords"); global::Gtk.Image w60 = new global::Gtk.Image(); w60.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-paste", global::Gtk.IconSize.Menu); this.btnChordBarOption.Image = w60; this.hbox6.Add(this.btnChordBarOption); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnChordBarOption])); w61.Position = 1; this.panelTagBar.Add(this.hbox6); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.panelTagBar[this.hbox6])); w62.Position = 1; w62.Expand = false; w62.Fill = false; // Container child panelTagBar.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.panelTagBar.Add(this.hseparator1); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.panelTagBar[this.hseparator1])); w63.Position = 2; w63.Expand = false; w63.Fill = false; this.hbox18.Add(this.panelTagBar); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox18[this.panelTagBar])); w64.Position = 1; w64.Expand = false; w64.Fill = false; w64.Padding = ((uint)(6)); this.editorPanel.Add(this.hbox18); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.editorPanel[this.hbox18])); w65.Position = 1; this.mainDivider.Add(this.editorPanel); global::Gtk.Paned.PanedChild w66 = ((global::Gtk.Paned.PanedChild)(this.mainDivider[this.editorPanel])); w66.Resize = false; // Container child mainDivider.Gtk.Paned+PanedChild this.previewPane = new global::Gtk.Notebook(); this.previewPane.CanFocus = true; this.previewPane.Name = "previewPane"; this.previewPane.CurrentPage = 1; // Container child previewPane.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 global::Gtk.Viewport w67 = new global::Gtk.Viewport(); w67.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; w67.Add(this.drawingArea); this.GtkScrolledWindow1.Add(w67); this.previewPane.Add(this.GtkScrolledWindow1); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Print View"); this.previewPane.SetTabLabel(this.GtkScrolledWindow1, this.label1); this.label1.ShowAll(); // Container child previewPane.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.txtTextView = new global::Gtk.TextView(); this.txtTextView.CanFocus = true; this.txtTextView.Name = "txtTextView"; this.GtkScrolledWindow2.Add(this.txtTextView); this.previewPane.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w72 = ((global::Gtk.Notebook.NotebookChild)(this.previewPane[this.GtkScrolledWindow2])); w72.Position = 1; // Notebook tab this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Text View"); this.previewPane.SetTabLabel(this.GtkScrolledWindow2, this.label11); this.label11.ShowAll(); this.mainDivider.Add(this.previewPane); this.vbox1.Add(this.mainDivider); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.mainDivider])); w74.Position = 1; this.hbox17.Add(this.vbox1); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox17[this.vbox1])); w75.Position = 0; this.mainPanel.Add(this.hbox17); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.mainPanel[this.hbox17])); w76.Position = 0; this.Add(this.mainPanel); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1157; this.DefaultHeight = 721; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.on_NewSongActivated); this.openAction.Activated += new global::System.EventHandler(this.on_OpenSongFile); this.saveAction.Activated += new global::System.EventHandler(this.on_SaveSongFile); this.saveAsAction.Activated += new global::System.EventHandler(this.on_SaveSongFileAs); this.printPreviewAction.Activated += new global::System.EventHandler(this.on_printPreviewAction_Activated); this.printAction.Activated += new global::System.EventHandler(this.on_printAction_Activated); this.propertiesAction.Activated += new global::System.EventHandler(this.on_settingsAction_Activated); this.ExitAction.Activated += new global::System.EventHandler(this.on_Exit); this.TagChordBarAction.Toggled += new global::System.EventHandler(this.on_TagChordBarAction_Toggle); this.undoAction.Activated += new global::System.EventHandler(this.on_undoAction_Click); this.redoAction.Activated += new global::System.EventHandler(this.on_redoAction_Click); this.copyAction.Activated += new global::System.EventHandler(this.on_copyAction_Activated); this.cutAction.Activated += new global::System.EventHandler(this.on_cutAction_Activated); this.pasteAction.Activated += new global::System.EventHandler(this.on_pasteAction_Activated); this.btnShowInfo.Clicked += new global::System.EventHandler(this.on_btnSongInfo_Toggled); this.btnOpen.Clicked += new global::System.EventHandler(this.on_btnOpen_Clicked); this.btnSave.Clicked += new global::System.EventHandler(this.on_btnSave_Clicked); this.btnPrintPreview.Clicked += new global::System.EventHandler(this.on_btnPrintPreview_Clicked); this.btnPrint.Clicked += new global::System.EventHandler(this.on_btnPrint_Clicked); this.btnUndo.Clicked += new global::System.EventHandler(this.on_btnUndoAction_Clicked); this.btnRedo.Clicked += new global::System.EventHandler(this.on_btnRedo_Clicked); this.btnCut.Clicked += new global::System.EventHandler(this.on_btnCut_Click); this.btnCopy.Clicked += new global::System.EventHandler(this.on_btnCopy_Click); this.btnPaste.Clicked += new global::System.EventHandler(this.on_btnPaste_Click); this.btnTransposeDown.Clicked += new global::System.EventHandler(this.on_btnTransposeDown_clicked); this.btnTransposeUp.Clicked += new global::System.EventHandler(this.on_btnTransposeUp_clicked); this.chkUseSharps.Clicked += new global::System.EventHandler(this.onChkUseSharps); this.txtTitle.Changed += new global::System.EventHandler(this.on_txtTitle_Changed); this.txtArtist.Changed += new global::System.EventHandler(this.on_txtArtist_Changed); this.txtCopyright.Changed += new global::System.EventHandler(this.on_txtCopyright_Changed); this.txtCCLI.Changed += new global::System.EventHandler(this.on_txtCCLI_Changed); this.txtKey.Changed += new global::System.EventHandler(this.on_txtKey_Changed); this.txtCapo.Changed += new global::System.EventHandler(this.on_txtCapo_Changed); this.txtEditor.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.on_txtEditor_KeyPress); this.btnTagBarOption.Clicked += new global::System.EventHandler(this.on_btnTagBarOption_Clicked); this.btnChordBarOption.Clicked += new global::System.EventHandler(this.on_btnChordBarOption_Clicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget fyiReporting.RdlGtkViewer.ReportViewer Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); this.refreshAction.IsImportant = true; w2.Add (this.refreshAction, null); this.PdfAction = new global::Gtk.Action ("PdfAction", global::Mono.Unix.Catalog.GetString ("_Pdf"), null, "PdfIcon"); this.PdfAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Pdf"); w2.Add (this.PdfAction, null); this.printAction = new global::Gtk.Action ("printAction", global::Mono.Unix.Catalog.GetString ("_Print"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Print"); w2.Add (this.printAction, null); this.ZoomOutAction = new global::Gtk.Action ("ZoomOutAction", null, null, "gtk-zoom-out"); this.ZoomOutAction.IsImportant = true; w2.Add (this.ZoomOutAction, null); this.ZoomInAction = new global::Gtk.Action ("ZoomInAction", null, null, "gtk-zoom-in"); this.ZoomInAction.IsImportant = true; w2.Add (this.ZoomInAction, null); this.errorsAction = new global::Gtk.ToggleAction ("errorsAction", null, null, "gtk-dialog-warning"); this.errorsAction.DrawAsRadio = true; this.errorsAction.IsImportant = true; this.errorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show _Errors"); this.errorsAction.VisibleHorizontal = false; w2.Add (this.errorsAction, null); this.UIManager.InsertActionGroup (w2, 0); this.WidthRequest = 0; this.HeightRequest = 0; this.Name = "fyiReporting.RdlGtkViewer.ReportViewer"; // Container child fyiReporting.RdlGtkViewer.ReportViewer.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox (); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hboxHeader = new global::Gtk.HBox (); this.hboxHeader.Name = "hboxHeader"; this.hboxHeader.Spacing = 6; // Container child hboxHeader.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar'><toolitem name='printAction' action='printAction'/><toolitem name='PdfAction' action='PdfAction'/><separator/><toolitem name='ZoomInAction' action='ZoomInAction'/><toolitem name='ZoomOutAction' action='ZoomOutAction'/><toolitem name='refreshAction' action='refreshAction'/><separator/><toolitem name='errorsAction' action='errorsAction'/></toolbar></ui>"); this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar"))); this.toolbar.Name = "toolbar"; this.toolbar.ShowArrow = false; this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.hboxHeader.Add (this.toolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxHeader [this.toolbar])); w3.Position = 0; this.vbox.Add (this.hboxHeader); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hboxHeader])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox = new global::Gtk.HBox (); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.vboxParameters = new global::Gtk.VBox (); this.vboxParameters.Name = "vboxParameters"; this.vboxParameters.Spacing = 6; this.hbox.Add (this.vboxParameters); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox [this.vboxParameters])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox.Gtk.Box+BoxChild this.hpanedReport = new global::Gtk.HPaned (); this.hpanedReport.CanFocus = true; this.hpanedReport.Name = "hpanedReport"; this.hpanedReport.Position = 364; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowPages = new global::Gtk.ScrolledWindow (); this.scrolledwindowPages.CanFocus = true; this.scrolledwindowPages.Name = "scrolledwindowPages"; this.scrolledwindowPages.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowPages.Gtk.Container+ContainerChild global::Gtk.Viewport w6 = new global::Gtk.Viewport (); w6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vboxPages = new global::Gtk.VBox (); this.vboxPages.Name = "vboxPages"; this.vboxPages.Spacing = 6; w6.Add (this.vboxPages); this.scrolledwindowPages.Add (w6); this.hpanedReport.Add (this.scrolledwindowPages); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowPages])); w9.Resize = false; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowErrors = new global::Gtk.ScrolledWindow (); this.scrolledwindowErrors.CanFocus = true; this.scrolledwindowErrors.Name = "scrolledwindowErrors"; this.scrolledwindowErrors.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowErrors.Gtk.Container+ContainerChild this.textviewErrors = new global::Gtk.TextView (); this.textviewErrors.WidthRequest = 200; this.textviewErrors.CanFocus = true; this.textviewErrors.Name = "textviewErrors"; this.textviewErrors.Editable = false; this.textviewErrors.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrolledwindowErrors.Add (this.textviewErrors); this.hpanedReport.Add (this.scrolledwindowErrors); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowErrors])); w11.Resize = false; w11.Shrink = false; this.hbox.Add (this.hpanedReport); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox [this.hpanedReport])); w12.Position = 1; this.vbox.Add (this.hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox])); w13.Position = 1; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.vboxParameters.Hide (); this.textviewErrors.Hide (); this.Hide (); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated); this.PdfAction.Activated += new global::System.EventHandler (this.OnPdfActionActivated); this.printAction.Activated += new global::System.EventHandler (this.OnPrintActionActivated); this.ZoomOutAction.Activated += new global::System.EventHandler (this.OnZoomOutActionActivated); this.ZoomInAction.Activated += new global::System.EventHandler (this.OnZoomInActionActivated); this.hpanedReport.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnHpanedReportSizeAllocated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Nuevo.Window this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.EscenarioAction = new global::Gtk.Action("EscenarioAction", global::Mono.Unix.Catalog.GetString("Escenario"), null, null); this.EscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario"); w1.Add(this.EscenarioAction, null); this.NuevoEscenarioAction = new global::Gtk.Action("NuevoEscenarioAction", global::Mono.Unix.Catalog.GetString("Nuevo escenario"), null, null); this.NuevoEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo escenario"); w1.Add(this.NuevoEscenarioAction, null); this.SimulacinAction = new global::Gtk.Action("SimulacinAction", global::Mono.Unix.Catalog.GetString("Simulación"), null, null); this.SimulacinAction.Sensitive = false; this.SimulacinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Simulación"); w1.Add(this.SimulacinAction, null); this.NuevaSimulacinAction = new global::Gtk.Action("NuevaSimulacinAction", global::Mono.Unix.Catalog.GetString("Nueva simulación"), null, null); this.NuevaSimulacinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nueva simulación"); w1.Add(this.NuevaSimulacinAction, null); this.ConfiguracinAction = new global::Gtk.Action("ConfiguracinAction", global::Mono.Unix.Catalog.GetString("Configuración"), null, null); this.ConfiguracinAction.Sensitive = false; this.ConfiguracinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Configuración"); w1.Add(this.ConfiguracinAction, null); this.PropiedadesAction = new global::Gtk.Action("PropiedadesAction", global::Mono.Unix.Catalog.GetString("Propiedades"), null, null); this.PropiedadesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Propiedades"); w1.Add(this.PropiedadesAction, null); this.ParmetrosAction = new global::Gtk.Action("ParmetrosAction", global::Mono.Unix.Catalog.GetString("Parámetros"), null, null); this.ParmetrosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Parámetros"); w1.Add(this.ParmetrosAction, null); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", global::Mono.Unix.Catalog.GetString("Pausa"), null, "gtk-media-pause"); this.mediaPauseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pausa"); w1.Add(this.mediaPauseAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("Play"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Play"); w1.Add(this.mediaPlayAction, null); this.zoomInButton = new global::Gtk.Action("zoomInButton", null, null, "gtk-zoom-in"); w1.Add(this.zoomInButton, null); this.zoomOutButton = new global::Gtk.Action("zoomOutButton", null, null, "gtk-zoom-out"); w1.Add(this.zoomOutButton, null); this.undoAction = new global::Gtk.Action("undoAction", global::Mono.Unix.Catalog.GetString("Restaurar parámetros"), null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Restaurar parámetros"); w1.Add(this.undoAction, null); this.contornoButton = new global::Gtk.ToggleAction("contornoButton", global::Mono.Unix.Catalog.GetString("Contorno boids"), null, "gtk-no"); this.contornoButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Contorno boids"); w1.Add(this.contornoButton, null); this.circuloButton = new global::Gtk.RadioAction("circuloButton", global::Mono.Unix.Catalog.GetString("Circulo"), null, "gtk-cdrom", 0); this.circuloButton.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.circuloButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Circulo"); w1.Add(this.circuloButton, null); this.rectanguloButton = new global::Gtk.RadioAction("rectanguloButton", global::Mono.Unix.Catalog.GetString("Rectángulo"), null, "gtk-indent", 0); this.rectanguloButton.Group = this.circuloButton.Group; this.rectanguloButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Rectángulo"); w1.Add(this.rectanguloButton, null); this.lineaButton = new global::Gtk.RadioAction("lineaButton", global::Mono.Unix.Catalog.GetString("Línea"), null, "gtk-color-picker", 0); this.lineaButton.Group = this.circuloButton.Group; this.lineaButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Línea"); w1.Add(this.lineaButton, null); this.GuardarEscenarioAction = new global::Gtk.Action("GuardarEscenarioAction", global::Mono.Unix.Catalog.GetString("Guardar escenario"), null, null); this.GuardarEscenarioAction.Sensitive = false; this.GuardarEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar escenario"); w1.Add(this.GuardarEscenarioAction, null); this.CargarEscenarioAction = new global::Gtk.Action("CargarEscenarioAction", global::Mono.Unix.Catalog.GetString("Cargar escenario"), null, null); this.CargarEscenarioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cargar escenario"); w1.Add(this.CargarEscenarioAction, null); this.EscenarioEnBlancoAction = new global::Gtk.Action("EscenarioEnBlancoAction", global::Mono.Unix.Catalog.GetString("Escenario en blanco"), null, null); this.EscenarioEnBlancoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario en blanco"); w1.Add(this.EscenarioEnBlancoAction, null); this.EscenarioDesdeArchivoAction = new global::Gtk.Action("EscenarioDesdeArchivoAction", global::Mono.Unix.Catalog.GetString("Escenario desde archivo"), null, null); this.EscenarioDesdeArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Escenario desde archivo"); w1.Add(this.EscenarioDesdeArchivoAction, null); this.calorButton = new global::Gtk.ToggleAction("calorButton", global::Mono.Unix.Catalog.GetString("Mapa de calor"), null, "gtk-select-color"); this.calorButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Mapa de calor"); w1.Add(this.calorButton, null); this.EstadsticaAction = new global::Gtk.Action("EstadsticaAction", global::Mono.Unix.Catalog.GetString("Estadística"), null, null); this.EstadsticaAction.Sensitive = false; this.EstadsticaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Estadistica"); w1.Add(this.EstadsticaAction, null); this.MtricasAction = new global::Gtk.Action("MtricasAction", global::Mono.Unix.Catalog.GetString("Métricas"), null, null); this.MtricasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Métricas"); w1.Add(this.MtricasAction, null); this.grillaButton = new global::Gtk.ToggleAction("grillaButton", global::Mono.Unix.Catalog.GetString("Grillado"), null, "gtk-leave-fullscreen"); this.grillaButton.ShortLabel = global::Mono.Unix.Catalog.GetString("Grillado"); w1.Add(this.grillaButton, null); this.puntoInicioAction = new global::Gtk.RadioAction("puntoInicioAction", global::Mono.Unix.Catalog.GetString("Punto de inicio"), null, "gtk-home", 0); this.puntoInicioAction.Group = this.circuloButton.Group; this.puntoInicioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Punto de inicio"); w1.Add(this.puntoInicioAction, null); this.puntoObjetivoAction = new global::Gtk.RadioAction("puntoObjetivoAction", global::Mono.Unix.Catalog.GetString("Punto objetivo"), null, "gtk-jump-to", 0); this.puntoObjetivoAction.Group = this.circuloButton.Group; this.puntoObjetivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Punto objetivo"); w1.Add(this.puntoObjetivoAction, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.trayectoriasAction = new global::Gtk.ToggleAction("trayectoriasAction", global::Mono.Unix.Catalog.GetString("Trayectorias"), null, "gtk-redo"); this.trayectoriasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Trayectorias"); w1.Add(this.trayectoriasAction, null); this.GrficaAction = new global::Gtk.Action("GrficaAction", global::Mono.Unix.Catalog.GetString("Gráfica"), null, null); this.GrficaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gráfica"); w1.Add(this.GrficaAction, null); this.IniciarOgre3DAction = new global::Gtk.Action("IniciarOgre3DAction", global::Mono.Unix.Catalog.GetString("Iniciar Ogre3D"), null, null); this.IniciarOgre3DAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Iniciar Ogre3D"); w1.Add(this.IniciarOgre3DAction, null); this.ExportarAVTKAction = new global::Gtk.Action("ExportarAVTKAction", global::Mono.Unix.Catalog.GetString("Exportar a VTK"), null, null); this.ExportarAVTKAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar a VTK"); w1.Add(this.ExportarAVTKAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Nuevo.Window"; this.Title = global::Mono.Unix.Catalog.GetString("Window"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Nuevo.Window.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='EscenarioAction' action='EscenarioAction'><menuitem name='NuevoEscenarioAction' action='NuevoEscenarioAction'/><menu name='CargarEscenarioAction' action='CargarEscenarioAction'><menuitem name='EscenarioEnBlancoAction' action='EscenarioEnBlancoAction'/><menuitem name='EscenarioDesdeArchivoAction' action='EscenarioDesdeArchivoAction'/></menu><separator/><menuitem name='GuardarEscenarioAction' action='GuardarEscenarioAction'/></menu><menu name='SimulacinAction' action='SimulacinAction'><menuitem name='NuevaSimulacinAction' action='NuevaSimulacinAction'/></menu><menu name='ConfiguracinAction' action='ConfiguracinAction'><menuitem name='PropiedadesAction' action='PropiedadesAction'/><menuitem name='ParmetrosAction' action='ParmetrosAction'/><menuitem name='IniciarOgre3DAction' action='IniciarOgre3DAction'/></menu><menu name='EstadsticaAction' action='EstadsticaAction'><menuitem name='MtricasAction' action='MtricasAction'/><menuitem name='GrficaAction' action='GrficaAction'/><menuitem name='ExportarAVTKAction' action='ExportarAVTKAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='mediaPlayAction' action='mediaPlayAction'/><separator/><toolitem name='zoomInButton' action='zoomInButton'/><toolitem name='zoomOutButton' action='zoomOutButton'/><separator/><toolitem name='undoAction' action='undoAction'/><separator/><toolitem name='contornoButton' action='contornoButton'/><toolitem name='grillaButton' action='grillaButton'/><separator/><toolitem name='calorButton' action='calorButton'/><toolitem name='trayectoriasAction' action='trayectoriasAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Sensitive = false; this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.hbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar2'><toolitem name='circuloButton' action='circuloButton'/><toolitem name='rectanguloButton' action='rectanguloButton'/><toolitem name='lineaButton' action='lineaButton'/><separator/><toolitem name='puntoInicioAction' action='puntoInicioAction'/><toolitem name='puntoObjetivoAction' action='puntoObjetivoAction'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2"))); this.toolbar2.Sensitive = false; this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.hbox1.Add(this.toolbar2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar2])); w4.Position = 1; w4.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelNivel = new global::Gtk.Label(); this.labelNivel.Sensitive = false; this.labelNivel.Name = "labelNivel"; this.labelNivel.LabelProp = global::Mono.Unix.Catalog.GetString("Nivel del objetivo"); this.hbox2.Add(this.labelNivel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelNivel])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.spinbuttonNivel = new global::Gtk.SpinButton(1D, 1D, 1D); this.spinbuttonNivel.Sensitive = false; this.spinbuttonNivel.CanFocus = true; this.spinbuttonNivel.Name = "spinbuttonNivel"; this.spinbuttonNivel.Adjustment.PageIncrement = 10D; this.spinbuttonNivel.ClimbRate = 1D; this.spinbuttonNivel.Numeric = true; this.spinbuttonNivel.Value = 1D; this.hbox2.Add(this.spinbuttonNivel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spinbuttonNivel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.labelIntermitencia = new global::Gtk.Label(); this.labelIntermitencia.Sensitive = false; this.labelIntermitencia.Name = "labelIntermitencia"; this.labelIntermitencia.LabelProp = global::Mono.Unix.Catalog.GetString("Intermitencia"); this.hbox3.Add(this.labelIntermitencia); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.labelIntermitencia])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.spinbuttonIntermitencia = new global::Gtk.SpinButton(0D, 500D, 1D); this.spinbuttonIntermitencia.Sensitive = false; this.spinbuttonIntermitencia.CanFocus = true; this.spinbuttonIntermitencia.Name = "spinbuttonIntermitencia"; this.spinbuttonIntermitencia.Adjustment.PageIncrement = 10D; this.spinbuttonIntermitencia.ClimbRate = 1D; this.spinbuttonIntermitencia.Numeric = true; this.hbox3.Add(this.spinbuttonIntermitencia); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.spinbuttonIntermitencia])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.hbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox2.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); w13.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelRender = new global::Gtk.Label(); this.labelRender.Name = "labelRender"; this.hbox4.Add(this.labelRender); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelRender])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelAlgorithm = new global::Gtk.Label(); this.labelAlgorithm.Name = "labelAlgorithm"; this.hbox4.Add(this.labelAlgorithm); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelAlgorithm])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.labelIteraciones = new global::Gtk.Label(); this.labelIteraciones.Name = "labelIteraciones"; this.labelIteraciones.Xalign = 0F; this.hbox4.Add(this.labelIteraciones); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.labelIteraciones])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w17.Position = 3; w17.Expand = false; w17.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1475; this.DefaultHeight = 300; this.Show(); this.NuevoEscenarioAction.Activated += new global::System.EventHandler(this.OnNuevoEscenarioActionActivated); this.NuevaSimulacinAction.Activated += new global::System.EventHandler(this.OnNuevaSimulacinActionActivated); this.PropiedadesAction.Activated += new global::System.EventHandler(this.OnPropiedadesActionActivated); this.ParmetrosAction.Activated += new global::System.EventHandler(this.OnParmetrosActionActivated); this.mediaPauseAction.Activated += new global::System.EventHandler(this.OnPausaButtonActivated); this.mediaPlayAction.Activated += new global::System.EventHandler(this.OnPlayButtonActivated); this.zoomInButton.Activated += new global::System.EventHandler(this.OnZoomInButtonActivated); this.zoomOutButton.Activated += new global::System.EventHandler(this.OnZoomOutButtonActivated); this.undoAction.Activated += new global::System.EventHandler(this.OnResetButtonActivated); this.GuardarEscenarioAction.Activated += new global::System.EventHandler(this.OnGuardarEscenarioActionActivated); this.EscenarioEnBlancoAction.Activated += new global::System.EventHandler(this.OnEscenarioEnBlancoActionActivated); this.EscenarioDesdeArchivoAction.Activated += new global::System.EventHandler(this.OnEscenarioDesdeArchivoActionActivated); this.MtricasAction.Activated += new global::System.EventHandler(this.OnMtricasActionActivated); this.GrficaAction.Activated += new global::System.EventHandler(this.OnGrficaActionActivated); this.IniciarOgre3DAction.Activated += new global::System.EventHandler(this.OnIniciarOgre3DActionActivated); this.ExportarAVTKAction.Activated += new global::System.EventHandler(this.OnExportarAVTKActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget FontTool.FontStyleWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, null); this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseAction, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.SettingsAction, null); this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font"); w1.Add (this.FontAction, null); this.WindowStyleAction = new global::Gtk.Action ("WindowStyleAction", global::Mono.Unix.Catalog.GetString ("Window style"), null, null); this.WindowStyleAction.Sensitive = false; this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Window style"); this.WindowStyleAction.Visible = false; w1.Add (this.WindowStyleAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.CustomStyleAction = new global::Gtk.RadioAction ("CustomStyleAction", global::Mono.Unix.Catalog.GetString ("DGLE2"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.CustomStyleAction.Sensitive = false; this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DGLE2"); this.CustomStyleAction.Visible = false; w1.Add (this.CustomStyleAction, null); this.PlatformStyleAction = new global::Gtk.RadioAction ("PlatformStyleAction", global::Mono.Unix.Catalog.GetString ("Platform"), null, null, 0); this.PlatformStyleAction.Group = this.CustomStyleAction.Group; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Platform"); w1.Add (this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction ("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString ("Decorated DGLE2"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.Sensitive = false; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Decorated DGLE2"); this.DecoratedCustomStyleAction.Visible = false; w1.Add (this.DecoratedCustomStyleAction, null); this.OnlyEnglishAction = new global::Gtk.ToggleAction ("OnlyEnglishAction", global::Mono.Unix.Catalog.GetString ("Only English"), null, null); this.OnlyEnglishAction.Active = true; this.OnlyEnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only English"); w1.Add (this.OnlyEnglishAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 536; this.HeightRequest = 536; this.CanDefault = true; this.Name = "FontTool.FontStyleWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("FontTool"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.Decorated = false; // Container child FontTool.FontStyleWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='OnlyEnglishAction' action='OnlyEnglishAction'/></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.notebookFont = new global::Gtk.Notebook (); this.notebookFont.CanFocus = true; this.notebookFont.Name = "notebookFont"; this.notebookFont.CurrentPage = 0; this.notebookFont.ShowTabs = false; // Container child notebookFont.Gtk.Notebook+NotebookChild this.vboxFontSettings = new global::Gtk.VBox (); this.vboxFontSettings.Name = "vboxFontSettings"; this.vboxFontSettings.Spacing = 6; this.vboxFontSettings.BorderWidth = ((uint)(6)); // Container child vboxFontSettings.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeFont = new global::Gtk.TreeView (); this.treeFont.CanFocus = true; this.treeFont.Name = "treeFont"; this.GtkScrolledWindow.Add (this.treeFont); this.vboxFontSettings.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.GtkScrolledWindow])); w4.Position = 0; // Container child vboxFontSettings.Gtk.Box+BoxChild this.vboxSamplePreview = new global::Gtk.VBox (); this.vboxSamplePreview.Name = "vboxSamplePreview"; this.vboxSamplePreview.Spacing = 6; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.lPreview = new global::Gtk.Label (); this.lPreview.Name = "lPreview"; this.lPreview.Xalign = 0F; this.lPreview.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview"); this.vboxSamplePreview.Add (this.lPreview); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.lPreview])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.preview = new global::Gtk.DrawingArea (); this.preview.HeightRequest = 90; this.preview.Name = "preview"; this.vboxSamplePreview.Add (this.preview); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.preview])); w6.Position = 1; // Container child vboxSamplePreview.Gtk.Box+BoxChild this.ePreviewSample = new global::Gtk.Entry (); this.ePreviewSample.CanFocus = true; this.ePreviewSample.Name = "ePreviewSample"; this.ePreviewSample.Text = global::Mono.Unix.Catalog.GetString ("DGLE2 is here!"); this.ePreviewSample.IsEditable = true; this.ePreviewSample.InvisibleChar = '●'; this.vboxSamplePreview.Add (this.ePreviewSample); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxSamplePreview [this.ePreviewSample])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vboxFontSettings.Add (this.vboxSamplePreview); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.vboxSamplePreview])); w8.Position = 1; w8.Expand = false; // Container child vboxFontSettings.Gtk.Box+BoxChild this.hboxSettings = new global::Gtk.HBox (); this.hboxSettings.Name = "hboxSettings"; this.hboxSettings.Spacing = 6; // Container child hboxSettings.Gtk.Box+BoxChild this.tableSettings = new global::Gtk.Table (((uint)(2)), ((uint)(4)), true); this.tableSettings.Name = "tableSettings"; this.tableSettings.RowSpacing = ((uint)(12)); this.tableSettings.ColumnSpacing = ((uint)(12)); // Container child tableSettings.Gtk.Table+TableChild this.cbBold = new global::Gtk.CheckButton (); this.cbBold.CanFocus = true; this.cbBold.Name = "cbBold"; this.cbBold.Label = global::Mono.Unix.Catalog.GetString ("Bold"); this.cbBold.DrawIndicator = true; this.cbBold.UseUnderline = true; this.tableSettings.Add (this.cbBold); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbBold])); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbItalic = new global::Gtk.CheckButton (); this.cbItalic.CanFocus = true; this.cbItalic.Name = "cbItalic"; this.cbItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic"); this.cbItalic.DrawIndicator = true; this.cbItalic.UseUnderline = true; this.tableSettings.Add (this.cbItalic); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbItalic])); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbStrikeout = new global::Gtk.CheckButton (); this.cbStrikeout.CanFocus = true; this.cbStrikeout.Name = "cbStrikeout"; this.cbStrikeout.Label = global::Mono.Unix.Catalog.GetString ("Strikeout"); this.cbStrikeout.DrawIndicator = true; this.cbStrikeout.UseUnderline = true; this.tableSettings.Add (this.cbStrikeout); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbStrikeout])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.cbUnderline = new global::Gtk.CheckButton (); this.cbUnderline.CanFocus = true; this.cbUnderline.Name = "cbUnderline"; this.cbUnderline.Label = global::Mono.Unix.Catalog.GetString ("Underline"); this.cbUnderline.DrawIndicator = true; this.cbUnderline.UseUnderline = true; this.tableSettings.Add (this.cbUnderline); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.cbUnderline])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.lSize = new global::Gtk.Label (); this.lSize.Name = "lSize"; this.lSize.Xalign = 0F; this.lSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Size"); this.tableSettings.Add (this.lSize); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lSize])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.lStretch = new global::Gtk.Label (); this.lStretch.Name = "lStretch"; this.lStretch.Xalign = 0F; this.lStretch.LabelProp = global::Mono.Unix.Catalog.GetString ("Stretch"); this.tableSettings.Add (this.lStretch); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.lStretch])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.sbSize = new global::Gtk.SpinButton (4D, 72D, 1D); this.sbSize.WidthRequest = 80; this.sbSize.CanFocus = true; this.sbSize.Name = "sbSize"; this.sbSize.Adjustment.PageIncrement = 10D; this.sbSize.ClimbRate = 1D; this.sbSize.Numeric = true; this.sbSize.Value = 12D; this.tableSettings.Add (this.sbSize); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbSize])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tableSettings.Gtk.Table+TableChild this.sbStretch = new global::Gtk.SpinButton (0D, 72D, 1D); this.sbStretch.WidthRequest = 80; this.sbStretch.CanFocus = true; this.sbStretch.Name = "sbStretch"; this.sbStretch.Adjustment.PageIncrement = 10D; this.sbStretch.ClimbRate = 1D; this.sbStretch.Numeric = true; this.tableSettings.Add (this.sbStretch); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tableSettings [this.sbStretch])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hboxSettings.Add (this.tableSettings); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.tableSettings])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hboxSettings.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.btnNextPreview = new global::Gtk.Button (); this.btnNextPreview.CanFocus = true; this.btnNextPreview.Name = "btnNextPreview"; this.btnNextPreview.UseUnderline = true; // Container child btnNextPreview.Gtk.Container+ContainerChild global::Gtk.Alignment w18 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w19 = new global::Gtk.HBox (); w19.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w20 = new global::Gtk.Image (); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu); w19.Add (w20); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w22 = new global::Gtk.Label (); w22.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview"); w22.UseUnderline = true; w19.Add (w22); w18.Add (w19); this.btnNextPreview.Add (w18); this.vbox2.Add (this.btnNextPreview); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnNextPreview])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; this.hboxSettings.Add (this.vbox2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSettings [this.vbox2])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vboxFontSettings.Add (this.hboxSettings); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vboxFontSettings [this.hboxSettings])); w28.Position = 2; w28.Expand = false; w28.Fill = false; w28.Padding = ((uint)(6)); this.notebookFont.Add (this.vboxFontSettings); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings"); this.notebookFont.SetTabLabel (this.vboxFontSettings, this.label1); this.label1.ShowAll (); // Container child notebookFont.Gtk.Notebook+NotebookChild this.vboxBuildPreview = new global::Gtk.VBox (); this.vboxBuildPreview.Name = "vboxBuildPreview"; this.vboxBuildPreview.Spacing = 6; this.vboxBuildPreview.BorderWidth = ((uint)(6)); // Container child vboxBuildPreview.Gtk.Box+BoxChild this.scrolledwindowPreview = new global::Gtk.ScrolledWindow (); this.scrolledwindowPreview.CanFocus = true; this.scrolledwindowPreview.Name = "scrolledwindowPreview"; this.scrolledwindowPreview.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowPreview.Gtk.Container+ContainerChild global::Gtk.Viewport w30 = new global::Gtk.Viewport (); w30.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.fontPreviewImage = new global::FontTool.FontPreviewWidget (); this.fontPreviewImage.Name = "fontPreviewImage"; w30.Add (this.fontPreviewImage); this.scrolledwindowPreview.Add (w30); this.vboxBuildPreview.Add (this.scrolledwindowPreview); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.scrolledwindowPreview])); w33.Position = 0; // Container child vboxBuildPreview.Gtk.Box+BoxChild this.hboxPreview = new global::Gtk.HBox (); this.hboxPreview.Name = "hboxPreview"; this.hboxPreview.Spacing = 6; // Container child hboxPreview.Gtk.Box+BoxChild this.lImageSize = new global::Gtk.Label (); this.lImageSize.Name = "lImageSize"; this.lImageSize.LabelProp = global::Mono.Unix.Catalog.GetString ("Image 0 X 0"); this.hboxPreview.Add (this.lImageSize); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lImageSize])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child hboxPreview.Gtk.Box+BoxChild this.lFileSize = new global::Gtk.Label (); this.lFileSize.Name = "lFileSize"; this.lFileSize.LabelProp = global::Mono.Unix.Catalog.GetString ("0 KB"); this.hboxPreview.Add (this.lFileSize); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.lFileSize])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hboxPreview.Gtk.Box+BoxChild this.btnPrevSettings = new global::Gtk.Button (); this.btnPrevSettings.CanFocus = true; this.btnPrevSettings.Name = "btnPrevSettings"; this.btnPrevSettings.UseUnderline = true; // Container child btnPrevSettings.Gtk.Container+ContainerChild global::Gtk.Alignment w36 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w37 = new global::Gtk.HBox (); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w38 = new global::Gtk.Image (); w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu); w37.Add (w38); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w40 = new global::Gtk.Label (); w40.LabelProp = global::Mono.Unix.Catalog.GetString ("Settings"); w40.UseUnderline = true; w37.Add (w40); w36.Add (w37); this.btnPrevSettings.Add (w36); this.hboxPreview.Add (this.btnPrevSettings); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hboxPreview [this.btnPrevSettings])); w44.PackType = ((global::Gtk.PackType)(1)); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.vboxBuildPreview.Add (this.hboxPreview); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vboxBuildPreview [this.hboxPreview])); w45.Position = 1; w45.Expand = false; w45.Fill = false; w45.Padding = ((uint)(6)); this.notebookFont.Add (this.vboxBuildPreview); global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookFont [this.vboxBuildPreview])); w46.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview"); this.notebookFont.SetTabLabel (this.vboxBuildPreview, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebookFont); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebookFont])); w47.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 536; this.DefaultHeight = 536; this.HasDefault = true; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open"); w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as"); w1.Add (this.saveAsAction, null); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction, null); this.InsertAction = new global::Gtk.Action ("InsertAction", global::Mono.Unix.Catalog.GetString ("Insert"), null, null); this.InsertAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert"); w1.Add (this.InsertAction, null); this.PanelAction = new global::Gtk.Action ("PanelAction", global::Mono.Unix.Catalog.GetString ("Panel"), null, null); this.PanelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel"); w1.Add (this.PanelAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New"), null, null); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New"); w1.Add (this.NewAction, null); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.OpenAction, null); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As"), null, null); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As"); w1.Add (this.SaveAsAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, null); this.ReplaceAction = new global::Gtk.Action ("ReplaceAction", global::Mono.Unix.Catalog.GetString ("Replace"), null, null); this.ReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Replace"); w1.Add (this.ReplaceAction, null); this.CommandGuideAction = new global::Gtk.Action ("CommandGuideAction", global::Mono.Unix.Catalog.GetString ("Command Guide"), null, null); this.CommandGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Command Guide"); w1.Add (this.CommandGuideAction, null); this.NewWindowAction = new global::Gtk.Action ("NewWindowAction", global::Mono.Unix.Catalog.GetString ("New Window"), null, null); this.NewWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Window"); w1.Add (this.NewWindowAction, null); this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Font"); w1.Add (this.FontAction, null); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction, null); this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction1, null); this.propertiesAction = new global::Gtk.Action ("propertiesAction", null, null, "gtk-properties"); w1.Add (this.propertiesAction, null); this.goUpAction = new global::Gtk.Action ("goUpAction", null, null, "gtk-go-up"); w1.Add (this.goUpAction, null); this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); w1.Add (this.mediaPauseAction, null); this.goDownAction = new global::Gtk.Action ("goDownAction", null, null, "gtk-go-down"); w1.Add (this.goDownAction, null); this.mediaPlayAction2 = new global::Gtk.Action ("mediaPlayAction2", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction2, null); this.propertiesAction1 = new global::Gtk.Action ("propertiesAction1", null, null, "gtk-properties"); w1.Add (this.propertiesAction1, null); this.goUpAction1 = new global::Gtk.Action ("goUpAction1", null, null, "gtk-go-up"); w1.Add (this.goUpAction1, null); this.mediaPauseAction1 = new global::Gtk.Action ("mediaPauseAction1", null, null, "gtk-media-pause"); w1.Add (this.mediaPauseAction1, null); this.goDownAction1 = new global::Gtk.Action ("goDownAction1", null, null, "gtk-go-down"); w1.Add (this.goDownAction1, null); this.newAction1 = new global::Gtk.Action ("newAction1", null, global::Mono.Unix.Catalog.GetString ("Make new file"), "gtk-new"); w1.Add (this.newAction1, null); this.openAction1 = new global::Gtk.Action ("openAction1", null, global::Mono.Unix.Catalog.GetString ("Open file"), "gtk-open"); w1.Add (this.openAction1, null); this.saveAction1 = new global::Gtk.Action ("saveAction1", null, global::Mono.Unix.Catalog.GetString ("Save"), "gtk-save"); w1.Add (this.saveAction1, null); this.saveAsAction1 = new global::Gtk.Action ("saveAsAction1", null, global::Mono.Unix.Catalog.GetString ("Save as"), "gtk-save-as"); w1.Add (this.saveAsAction1, null); this.goDownAction2 = new global::Gtk.Action ("goDownAction2", null, global::Mono.Unix.Catalog.GetString ("Make Panel 2 like Panel 1"), "gtk-go-down"); w1.Add (this.goDownAction2, null); this.goUpAction2 = new global::Gtk.Action ("goUpAction2", null, global::Mono.Unix.Catalog.GetString ("Make Panel 1 like Panel 2"), "gtk-go-up"); w1.Add (this.goUpAction2, null); this.networkAction = new global::Gtk.Action ("networkAction", null, global::Mono.Unix.Catalog.GetString ("Change Panel's contents"), "gtk-network"); w1.Add (this.networkAction, null); this.findAction = new global::Gtk.Action ("findAction", null, global::Mono.Unix.Catalog.GetString ("Find a text"), "gtk-find"); w1.Add (this.findAction, null); this.findAndReplaceAction = new global::Gtk.Action ("findAndReplaceAction", null, global::Mono.Unix.Catalog.GetString ("Replace a text"), "gtk-find-and-replace"); w1.Add (this.findAndReplaceAction, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.Panel1Action = new global::Gtk.Action ("Panel1Action", global::Mono.Unix.Catalog.GetString ("Panel 1"), null, null); this.Panel1Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 1"); w1.Add (this.Panel1Action, null); this.Panel2Action = new global::Gtk.Action ("Panel2Action", global::Mono.Unix.Catalog.GetString ("Panel 2"), null, null); this.Panel2Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 2"); w1.Add (this.Panel2Action, null); this.OnlineWikiAction = new global::Gtk.Action ("OnlineWikiAction", global::Mono.Unix.Catalog.GetString ("Online Wiki"), null, null); this.OnlineWikiAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Online Wiki"); w1.Add (this.OnlineWikiAction, null); this.BugReporterAction = new global::Gtk.Action ("BugReporterAction", global::Mono.Unix.Catalog.GetString ("Bug Reporter"), null, null); this.BugReporterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Bug Reporter"); w1.Add (this.BugReporterAction, null); this.CommandHistoryAction = new global::Gtk.Action ("CommandHistoryAction", global::Mono.Unix.Catalog.GetString ("Command History"), null, null); this.CommandHistoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Command History"); w1.Add (this.CommandHistoryAction, null); this.mediaPlayAction3 = new global::Gtk.Action ("mediaPlayAction3", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction3, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.ExitAction, null); this.ExportToNexearFileAction = new global::Gtk.Action ("ExportToNexearFileAction", global::Mono.Unix.Catalog.GetString ("Export to .nexear file"), null, null); this.ExportToNexearFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to .nexear file"); w1.Add (this.ExportToNexearFileAction, null); this.ImportFromNexearFileAction = new global::Gtk.Action ("ImportFromNexearFileAction", global::Mono.Unix.Catalog.GetString ("Import from .nexear file"), null, null); this.ImportFromNexearFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Import from .nexear file"); w1.Add (this.ImportFromNexearFileAction, null); this.convertAction = new global::Gtk.Action ("convertAction", null, global::Mono.Unix.Catalog.GetString ("Open .nexear maker"), "gtk-convert"); w1.Add (this.convertAction, null); this.openAction2 = new global::Gtk.Action ("openAction2", null, global::Mono.Unix.Catalog.GetString ("Open .nexear Importer"), "gtk-open"); w1.Add (this.openAction2, null); this.ClearAction = new global::Gtk.Action ("ClearAction", global::Mono.Unix.Catalog.GetString ("Clear"), null, null); this.ClearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear"); w1.Add (this.ClearAction, null); this.ChangeContentAction = new global::Gtk.Action ("ChangeContentAction", global::Mono.Unix.Catalog.GetString ("Change content"), null, null); this.ChangeContentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Change content"); w1.Add (this.ChangeContentAction, null); this.PanelToPanelAction = new global::Gtk.Action ("PanelToPanelAction", global::Mono.Unix.Catalog.GetString ("Panel to Panel"), null, null); this.PanelToPanelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel to Panel"); w1.Add (this.PanelToPanelAction, null); this.Panel1Action1 = new global::Gtk.Action ("Panel1Action1", global::Mono.Unix.Catalog.GetString ("Panel 1"), null, null); this.Panel1Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 1"); w1.Add (this.Panel1Action1, null); this.Panel2Action1 = new global::Gtk.Action ("Panel2Action1", global::Mono.Unix.Catalog.GetString ("Panel 2"), null, null); this.Panel2Action1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel 2"); w1.Add (this.Panel2Action1, null); this.FromPanel1To2Action = new global::Gtk.Action ("FromPanel1To2Action", global::Mono.Unix.Catalog.GetString ("From Panel 1 to 2"), null, null); this.FromPanel1To2Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("From Panel 1 to 2"); w1.Add (this.FromPanel1To2Action, null); this.FromPanel2To1Action = new global::Gtk.Action ("FromPanel2To1Action", global::Mono.Unix.Catalog.GetString ("From Panel 2 to 1"), null, null); this.FromPanel2To1Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("From Panel 2 to 1"); w1.Add (this.FromPanel2To1Action, null); this.ManualAction = new global::Gtk.Action ("ManualAction", global::Mono.Unix.Catalog.GetString ("Manual"), null, null); this.ManualAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Manual"); w1.Add (this.ManualAction, null); this.logsAction = new global::Gtk.Action ("logsAction", global::Mono.Unix.Catalog.GetString ("logs"), null, null); this.logsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("logs"); w1.Add (this.logsAction, null); this.HideCommandBarAction = new global::Gtk.Action ("HideCommandBarAction", global::Mono.Unix.Catalog.GetString ("Hide Command Bar"), null, null); this.HideCommandBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide Command Bar"); w1.Add (this.HideCommandBarAction, null); this.mediaStopAction = new global::Gtk.RadioAction ("mediaStopAction", null, null, "gtk-media-stop", 0); this.mediaStopAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); w1.Add (this.mediaStopAction, null); this.mediaPlayAction4 = new global::Gtk.Action ("mediaPlayAction4", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction4, null); this.FindAction = new global::Gtk.Action ("FindAction", global::Mono.Unix.Catalog.GetString ("Find"), null, null); this.FindAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Find"); w1.Add (this.FindAction, null); this.PanelReadmodAction = new global::Gtk.Action ("PanelReadmodAction", global::Mono.Unix.Catalog.GetString ("Panel Readmod"), null, null); this.PanelReadmodAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Panel Readmod"); w1.Add (this.PanelReadmodAction, null); this.p1read = new global::Gtk.Action ("p1read", global::Mono.Unix.Catalog.GetString ("Readmod panel1"), null, null); this.p1read.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod panel1"); w1.Add (this.p1read, null); this.p2read = new global::Gtk.Action ("p2read", global::Mono.Unix.Catalog.GetString ("Readmod panel2"), null, null); this.p2read.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod panel2"); w1.Add (this.p2read, null); this.ReadmodAction = new global::Gtk.Action ("ReadmodAction", global::Mono.Unix.Catalog.GetString ("Readmod"), null, null); this.ReadmodAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Readmod"); w1.Add (this.ReadmodAction, null); this.dndAction = new global::Gtk.RadioAction ("dndAction", null, null, "gtk-dnd", 0); this.dndAction.Group = this.mediaStopAction.Group; w1.Add (this.dndAction, null); this.dndAction1 = new global::Gtk.Action ("dndAction1", null, null, "gtk-dnd"); w1.Add (this.dndAction1, null); this.readmodt = new global::Gtk.ToggleAction ("readmodt", null, null, "gtk-dnd"); w1.Add (this.readmodt, null); this.editmoderadio = new global::Gtk.RadioAction ("editmoderadio", null, null, "gtk-edit", 0); this.editmoderadio.Group = new global::GLib.SList (global::System.IntPtr.Zero); w1.Add (this.editmoderadio, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString (" Nexear"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vs = new global::Gtk.Label (); this.vs.Name = "vs"; this.vs.LabelProp = global::Mono.Unix.Catalog.GetString (" "); this.hbox2.Add (this.vs); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vs])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vHelpCommand = new global::Gtk.VBox (); this.vHelpCommand.Name = "vHelpCommand"; this.vHelpCommand.Spacing = 6; // Container child vHelpCommand.Gtk.Box+BoxChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.vHelpCommand.Add (this.label18); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.label18])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vHelpCommand.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 3; // Container child hbox11.Gtk.Box+BoxChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Command Line User Manual"); this.hbox11.Add (this.label17); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label17])); w4.Position = 0; w4.Expand = false; w4.Fill = false; this.vHelpCommand.Add (this.hbox11); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.hbox11])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vHelpCommand.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vHelpCommand.Add (this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.hseparator1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vHelpCommand.Gtk.Box+BoxChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow (); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; // Container child scrolledwindow4.Gtk.Container+ContainerChild global::Gtk.Viewport w7 = new global::Gtk.Viewport (); w7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Yalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString (" [ ⌂ help]: To open this Help windows\n \t> [ ⌂ help -e] to close it,\n\n [ ⌂ 1c]: To clear panel 1\n\n [ ⌂ 2c]: To clear panel 2\n\n [ ⌂ p1]: To make panel1 full screen\n\n [ ⌂ p2]: To make panel2 full screen\n\n [ ⌂ ps]: To make screens half size\n\n [ ⌂ e1 {text}]: To write {text} in panel1\n\n [ ⌂ e2 {text}]: To write {text} in panel2\n\n [ ⌂ wma]: To maximaize the screen\n\n [ ⌂ e] or [ ⌂ exit]: to exit from \n Nexear\n\n [ ⌂ replace {text}]: to make {text} \n what you want to replace\n\t>[ ⌂ replace -e] to close it\n\n [ ⌂ m21]: To make panel1's text like\n panel2\n\n [ ⌂ m21]: To make panel2's text like\n panel1\n\n [ ⌂ m21]: To make panel1's text like\n panel2\n\n [ ⌂ mm]: To change panels content\n\n [ ⌂ history]: To view your command\n history\n\n\t>[ ⌂ history -e]: to close it\n\t>[ ⌂ history -c]: to clear your\n\t commanding history\n\n [ ⌂ rn1 {text}]: To change panel1 file's\n name to {text}\n\n [ ⌂ rn2 {text}]: To change panel2 file's\n name to {text}\n\n [ ⌂ open1 {file}]: to open {file} into\n panel1\n \n [ ⌂ open2 {file}]: to open {file} into\n panel2\n"); this.vbox2.Add (this.label11); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label11])); w8.Position = 0; w8.Expand = false; w8.Fill = false; w7.Add (this.vbox2); this.scrolledwindow4.Add (w7); this.vHelpCommand.Add (this.scrolledwindow4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.scrolledwindow4])); w11.Position = 3; // Container child vHelpCommand.Gtk.Box+BoxChild this.OnHelpCommClose = new global::Gtk.Button (); this.OnHelpCommClose.CanFocus = true; this.OnHelpCommClose.Name = "OnHelpCommClose"; this.OnHelpCommClose.UseUnderline = true; this.OnHelpCommClose.Label = global::Mono.Unix.Catalog.GetString (" Close "); this.vHelpCommand.Add (this.OnHelpCommClose); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vHelpCommand [this.OnHelpCommClose])); w12.Position = 4; w12.Expand = false; w12.Fill = false; this.hbox2.Add (this.vHelpCommand); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vHelpCommand])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.verror = new global::Gtk.VBox (); this.verror.Name = "verror"; this.verror.Spacing = 6; // Container child verror.Gtk.Box+BoxChild this.label27 = new global::Gtk.Label (); this.label27.Name = "label27"; this.label27.Xalign = 0F; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Error"); this.verror.Add (this.label27); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.verror [this.label27])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child verror.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.verror.Add (this.hseparator2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.verror [this.hseparator2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child verror.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString (" Error No:"); this.verror.Add (this.label12); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.verror [this.label12])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child verror.Gtk.Box+BoxChild this.errornu = new global::Gtk.Label (); this.errornu.Name = "errornu"; this.errornu.Xalign = 0F; this.verror.Add (this.errornu); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.verror [this.errornu])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child verror.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString (" Error:"); this.verror.Add (this.label14); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.verror [this.label14])); w18.Position = 4; w18.Expand = false; w18.Fill = false; // Container child verror.Gtk.Box+BoxChild this.errorex = new global::Gtk.Label (); this.errorex.Name = "errorex"; this.errorex.Xalign = 0F; this.verror.Add (this.errorex); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.verror [this.errorex])); w19.Position = 5; w19.Expand = false; w19.Fill = false; // Container child verror.Gtk.Box+BoxChild this.OpenBR = new global::Gtk.Button (); this.OpenBR.CanFocus = true; this.OpenBR.Name = "OpenBR"; this.OpenBR.UseUnderline = true; // Container child OpenBR.Gtk.Container+ContainerChild global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w21 = new global::Gtk.HBox (); w21.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w22 = new global::Gtk.Image (); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_internet", global::Gtk.IconSize.Menu); w21.Add (w22); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w24 = new global::Gtk.Label (); w24.LabelProp = global::Mono.Unix.Catalog.GetString ("Report it"); w24.UseUnderline = true; w21.Add (w24); w20.Add (w21); this.OpenBR.Add (w20); this.verror.Add (this.OpenBR); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.verror [this.OpenBR])); w28.Position = 6; w28.Expand = false; w28.Fill = false; // Container child verror.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w30 = new global::Gtk.HBox (); w30.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w31 = new global::Gtk.Image (); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-question", global::Gtk.IconSize.Menu); w30.Add (w31); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w33 = new global::Gtk.Label (); w33.LabelProp = global::Mono.Unix.Catalog.GetString ("Read our help"); w33.UseUnderline = true; w30.Add (w33); w29.Add (w30); this.button2.Add (w29); this.verror.Add (this.button2); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.verror [this.button2])); w37.Position = 7; w37.Expand = false; w37.Fill = false; // Container child verror.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; this.verror.Add (this.hbox6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.verror [this.hbox6])); w38.Position = 8; // Container child verror.Gtk.Box+BoxChild this.OnCloseError12 = new global::Gtk.Button (); this.OnCloseError12.CanFocus = true; this.OnCloseError12.Name = "OnCloseError12"; this.OnCloseError12.UseUnderline = true; this.OnCloseError12.Label = global::Mono.Unix.Catalog.GetString ("Close"); this.verror.Add (this.OnCloseError12); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.verror [this.OnCloseError12])); w39.Position = 9; w39.Expand = false; w39.Fill = false; this.hbox2.Add (this.verror); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.verror])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vsettings = new global::Gtk.VBox (); this.vsettings.Name = "vsettings"; this.vsettings.Spacing = 6; // Container child vsettings.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Settings\n ―—–―――――――—–――――—―"); this.vsettings.Add (this.label8); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.label8])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child vsettings.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Font:"); this.hbox7.Add (this.label10); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label10])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fontbutton2 = new global::Gtk.FontButton (); this.fontbutton2.CanFocus = true; this.fontbutton2.Name = "fontbutton2"; this.hbox7.Add (this.fontbutton2); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.fontbutton2])); w43.Position = 1; this.vsettings.Add (this.hbox7); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox7])); w44.Position = 1; w44.Expand = false; w44.Fill = false; // Container child vsettings.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Your name:"); this.hbox8.Add (this.label13); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label13])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.entry5 = new global::Gtk.Entry (); this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '•'; this.hbox8.Add (this.entry5); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.entry5])); w46.Position = 1; this.vsettings.Add (this.hbox8); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox8])); w47.Position = 2; w47.Expand = false; w47.Fill = false; // Container child vsettings.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("label7"); this.hbox9.Add (this.label15); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label15])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.entry6 = new global::Gtk.Entry (); this.entry6.CanFocus = true; this.entry6.Name = "entry6"; this.entry6.IsEditable = true; this.entry6.InvisibleChar = '•'; this.hbox9.Add (this.entry6); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.entry6])); w49.Position = 1; this.vsettings.Add (this.hbox9); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.hbox9])); w50.Position = 3; w50.Expand = false; w50.Fill = false; // Container child vsettings.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button (); this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.vsettings.Add (this.button5); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vsettings [this.button5])); w51.Position = 5; w51.Expand = false; w51.Fill = false; this.hbox2.Add (this.vsettings); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vsettings])); w52.Position = 3; w52.Expand = false; w52.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vkary = new global::Gtk.VBox (); this.vkary.Name = "vkary"; this.vkary.Spacing = 6; // Container child vkary.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow (); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; // Container child scrolledwindow3.Gtk.Container+ContainerChild global::Gtk.Viewport w53 = new global::Gtk.Viewport (); w53.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.Yalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Pouya Kary\n ―—–――――――――――――――\n Hi! this is Pouya Kary, main writer of\n this tiny text editor!\n\n You may used [⌂ kary] or [⌂ pouya]\n to find this page!\n\n However! this is my page in Nexear\n I'm a GNU, Free Software, LEGO fan\n and a Hacker , BaseKiteer, LEGO Pro\n Pianist and CEO of a tiny foundation\n called \"Pouya Animation\" as a non-\n profit workspace for everyone who\n love software!\n\n I'm also a part of GNU Project, (I'm\n main maintainer of GNU Gleem) &\n a translator in Sugar on a Strick &\n head of devs in Pouya Animation\n\n If you want to contact me this is my \n contact:\n Email:\n [email protected] or [email protected]\n Website:\n www.thepa.mx/~kary\n\n Regards!"); w53.Add (this.label9); this.scrolledwindow3.Add (w53); this.vkary.Add (this.scrolledwindow3); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vkary [this.scrolledwindow3])); w56.Position = 0; // Container child vkary.Gtk.Box+BoxChild this.KaryClose = new global::Gtk.Button (); this.KaryClose.CanFocus = true; this.KaryClose.Name = "KaryClose"; this.KaryClose.UseUnderline = true; this.KaryClose.Label = global::Mono.Unix.Catalog.GetString (" Close "); this.vkary.Add (this.KaryClose); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vkary [this.KaryClose])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.hbox2.Add (this.vkary); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vkary])); w58.Position = 4; w58.Expand = false; w58.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vreplace = new global::Gtk.VBox (); this.vreplace.Name = "vreplace"; this.vreplace.Spacing = 4; // Container child vreplace.Gtk.Box+BoxChild this.label28 = new global::Gtk.Label (); this.label28.Name = "label28"; this.label28.Xalign = 0F; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Replace"); this.vreplace.Add (this.label28); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label28])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; this.vreplace.Add (this.hseparator3); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hseparator3])); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString (" replace:"); this.vreplace.Add (this.label6); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label6])); w61.Position = 2; w61.Expand = false; w61.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox (); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.ReplaceName = new global::Gtk.Entry (); this.ReplaceName.CanFocus = true; this.ReplaceName.Name = "ReplaceName"; this.ReplaceName.IsEditable = true; this.ReplaceName.InvisibleChar = '•'; this.hbox14.Add (this.ReplaceName); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.ReplaceName])); w62.Position = 0; // Container child hbox14.Gtk.Box+BoxChild this.button11 = new global::Gtk.Button (); this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseUnderline = true; this.button11.Label = global::Mono.Unix.Catalog.GetString ("↵"); this.hbox14.Add (this.button11); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.button11])); w63.Position = 1; w63.Expand = false; w63.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.button13 = new global::Gtk.Button (); this.button13.CanFocus = true; this.button13.Name = "button13"; this.button13.UseUnderline = true; this.button13.Label = global::Mono.Unix.Catalog.GetString ("✖"); this.hbox14.Add (this.button13); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.button13])); w64.Position = 2; w64.Expand = false; w64.Fill = false; this.vreplace.Add (this.hbox14); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox14])); w65.Position = 3; w65.Expand = false; w65.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString (" with:"); this.vreplace.Add (this.label7); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label7])); w66.Position = 4; w66.Expand = false; w66.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox (); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.ReplaceWith = new global::Gtk.Entry (); this.ReplaceWith.CanFocus = true; this.ReplaceWith.Name = "ReplaceWith"; this.ReplaceWith.IsEditable = true; this.ReplaceWith.InvisibleChar = '•'; this.hbox15.Add (this.ReplaceWith); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.ReplaceWith])); w67.Position = 0; // Container child hbox15.Gtk.Box+BoxChild this.button15 = new global::Gtk.Button (); this.button15.CanFocus = true; this.button15.Name = "button15"; this.button15.UseUnderline = true; this.button15.Label = global::Mono.Unix.Catalog.GetString ("↵"); this.hbox15.Add (this.button15); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.button15])); w68.Position = 1; w68.Expand = false; w68.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.button14 = new global::Gtk.Button (); this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseUnderline = true; this.button14.Label = global::Mono.Unix.Catalog.GetString ("✖"); this.hbox15.Add (this.button14); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.button14])); w69.Position = 2; w69.Expand = false; w69.Fill = false; this.vreplace.Add (this.hbox15); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox15])); w70.Position = 5; w70.Expand = false; w70.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.label8976 = new global::Gtk.Label (); this.label8976.Name = "label8976"; this.label8976.Xalign = 0F; this.label8976.LabelProp = global::Mono.Unix.Catalog.GetString (" Replace into panel:"); this.vreplace.Add (this.label8976); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.label8976])); w71.Position = 6; w71.Expand = false; w71.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.ReplacePanelNo = global::Gtk.ComboBox.NewText (); this.ReplacePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1")); this.ReplacePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2")); this.ReplacePanelNo.Name = "ReplacePanelNo"; this.ReplacePanelNo.Active = 0; this.vreplace.Add (this.ReplacePanelNo); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplacePanelNo])); w72.Position = 7; w72.Expand = false; w72.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.ReplaceGo = new global::Gtk.Button (); this.ReplaceGo.CanFocus = true; this.ReplaceGo.Name = "ReplaceGo"; this.ReplaceGo.UseUnderline = true; // Container child ReplaceGo.Gtk.Container+ContainerChild global::Gtk.Alignment w73 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w74 = new global::Gtk.HBox (); w74.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w75 = new global::Gtk.Image (); w75.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_repeat", global::Gtk.IconSize.Menu); w74.Add (w75); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w77 = new global::Gtk.Label (); w77.LabelProp = global::Mono.Unix.Catalog.GetString ("Replace!"); w77.UseUnderline = true; w74.Add (w77); w73.Add (w74); this.ReplaceGo.Add (w73); this.vreplace.Add (this.ReplaceGo); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplaceGo])); w81.Position = 8; w81.Expand = false; w81.Fill = false; // Container child vreplace.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox (); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; this.vreplace.Add (this.hbox12); global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.hbox12])); w82.Position = 9; // Container child vreplace.Gtk.Box+BoxChild this.ReplaceCancel = new global::Gtk.Button (); this.ReplaceCancel.CanFocus = true; this.ReplaceCancel.Name = "ReplaceCancel"; this.ReplaceCancel.UseUnderline = true; this.ReplaceCancel.Label = global::Mono.Unix.Catalog.GetString ("Cancel"); this.vreplace.Add (this.ReplaceCancel); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.vreplace [this.ReplaceCancel])); w83.Position = 10; w83.Expand = false; w83.Fill = false; this.hbox2.Add (this.vreplace); global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vreplace])); w84.Position = 5; w84.Expand = false; w84.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vsave = new global::Gtk.VBox (); this.vsave.Name = "vsave"; this.vsave.Spacing = 4; // Container child vsave.Gtk.Box+BoxChild this.label29 = new global::Gtk.Label (); this.label29.Name = "label29"; this.label29.Xalign = 0F; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Save File"); this.vsave.Add (this.label29); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label29])); w85.Position = 0; w85.Expand = false; w85.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator (); this.hseparator4.Name = "hseparator4"; this.vsave.Add (this.hseparator4); global::Gtk.Box.BoxChild w86 = ((global::Gtk.Box.BoxChild)(this.vsave [this.hseparator4])); w86.Position = 1; w86.Expand = false; w86.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString (" Your file's name:"); this.vsave.Add (this.label4); global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label4])); w87.Position = 2; w87.Expand = false; w87.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.SaveFileName = new global::Gtk.Entry (); this.SaveFileName.CanFocus = true; this.SaveFileName.Name = "SaveFileName"; this.SaveFileName.IsEditable = true; this.SaveFileName.InvisibleChar = '•'; this.vsave.Add (this.SaveFileName); global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SaveFileName])); w88.Position = 3; w88.Expand = false; w88.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.Xalign = 0F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString (" Select where you want to save"); this.vsave.Add (this.label19); global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label19])); w89.Position = 4; w89.Expand = false; w89.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.wheretosave = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(2))); this.wheretosave.Name = "wheretosave"; this.vsave.Add (this.wheretosave); global::Gtk.Box.BoxChild w90 = ((global::Gtk.Box.BoxChild)(this.vsave [this.wheretosave])); w90.Position = 5; w90.Expand = false; w90.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString (" Your file's panel:"); this.vsave.Add (this.label5); global::Gtk.Box.BoxChild w91 = ((global::Gtk.Box.BoxChild)(this.vsave [this.label5])); w91.Position = 6; w91.Expand = false; w91.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.SavePanelNo = global::Gtk.ComboBox.NewText (); this.SavePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1")); this.SavePanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2")); this.SavePanelNo.TooltipMarkup = "Use this button to select with panel's content have to save in your file"; this.SavePanelNo.Name = "SavePanelNo"; this.SavePanelNo.Active = 0; this.vsave.Add (this.SavePanelNo); global::Gtk.Box.BoxChild w92 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SavePanelNo])); w92.Position = 7; w92.Expand = false; w92.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.SaveButton = new global::Gtk.Button (); this.SaveButton.CanFocus = true; this.SaveButton.Name = "SaveButton"; this.SaveButton.UseUnderline = true; // Container child SaveButton.Gtk.Container+ContainerChild global::Gtk.Alignment w93 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w94 = new global::Gtk.HBox (); w94.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w95 = new global::Gtk.Image (); w95.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu); w94.Add (w95); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w97 = new global::Gtk.Label (); w97.LabelProp = global::Mono.Unix.Catalog.GetString ("Save!"); w97.UseUnderline = true; w94.Add (w97); w93.Add (w94); this.SaveButton.Add (w93); this.vsave.Add (this.SaveButton); global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.vsave [this.SaveButton])); w101.Position = 8; w101.Expand = false; w101.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button (); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString (" Cancel "); this.vsave.Add (this.button3); global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.vsave [this.button3])); w102.PackType = ((global::Gtk.PackType)(1)); w102.Position = 9; w102.Expand = false; w102.Fill = false; // Container child vsave.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.vsave.Add (this.hbox5); global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vsave [this.hbox5])); w103.PackType = ((global::Gtk.PackType)(1)); w103.Position = 10; // Container child vsave.Gtk.Box+BoxChild this.oexists = new global::Gtk.Frame (); this.oexists.Name = "oexists"; this.oexists.ShadowType = ((global::Gtk.ShadowType)(4)); this.oexists.LabelXalign = 0.5F; // Container child oexists.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("This file is really exists"); this.vbox1.Add (this.label3); global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label3])); w104.Position = 0; w104.Expand = false; w104.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Replace it"); this.vbox1.Add (this.button1); global::Gtk.Box.BoxChild w105 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1])); w105.Position = 1; w105.Expand = false; w105.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.button6 = new global::Gtk.Button (); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = global::Mono.Unix.Catalog.GetString ("No cancel it!"); this.vbox1.Add (this.button6); global::Gtk.Box.BoxChild w106 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button6])); w106.Position = 2; w106.Expand = false; w106.Fill = false; this.GtkAlignment6.Add (this.vbox1); this.oexists.Add (this.GtkAlignment6); this.GtkLabel26 = new global::Gtk.Label (); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("Opps!"); this.GtkLabel26.UseMarkup = true; this.oexists.LabelWidget = this.GtkLabel26; this.vsave.Add (this.oexists); global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vsave [this.oexists])); w109.PackType = ((global::Gtk.PackType)(1)); w109.Position = 11; w109.Expand = false; w109.Fill = false; this.hbox2.Add (this.vsave); global::Gtk.Box.BoxChild w110 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vsave])); w110.Position = 6; w110.Expand = false; w110.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vopen = new global::Gtk.VBox (); this.vopen.Name = "vopen"; this.vopen.Spacing = 3; // Container child vopen.Gtk.Box+BoxChild this.label30 = new global::Gtk.Label (); this.label30.Name = "label30"; this.label30.Xalign = 0F; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Open File"); this.vopen.Add (this.label30); global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.vopen [this.label30])); w111.Position = 0; w111.Expand = false; w111.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator (); this.hseparator5.Name = "hseparator5"; this.vopen.Add (this.hseparator5); global::Gtk.Box.BoxChild w112 = ((global::Gtk.Box.BoxChild)(this.vopen [this.hseparator5])); w112.Position = 1; w112.Expand = false; w112.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString (" Select your file"); this.vbox3.Add (this.label1); global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w113.Position = 0; w113.Expand = false; w113.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.openwhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.openwhere.TooltipMarkup = "Use this button to select your file"; this.openwhere.Name = "openwhere"; this.vbox3.Add (this.openwhere); global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.openwhere])); w114.Position = 1; w114.Expand = false; w114.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString (" Open Into:"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w115.Position = 2; w115.Expand = false; w115.Fill = false; this.vopen.Add (this.vbox3); global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.vopen [this.vbox3])); w116.Position = 2; w116.Expand = false; w116.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.OpenPanelNo = global::Gtk.ComboBox.NewText (); this.OpenPanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 1")); this.OpenPanelNo.AppendText (global::Mono.Unix.Catalog.GetString ("Panel 2")); this.OpenPanelNo.TooltipMarkup = "Select what Panel you want to use to open your file into"; this.OpenPanelNo.Name = "OpenPanelNo"; this.OpenPanelNo.Active = 0; this.vopen.Add (this.OpenPanelNo); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.vopen [this.OpenPanelNo])); w117.Position = 3; w117.Expand = false; w117.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.OpenButton = new global::Gtk.Button (); this.OpenButton.CanFocus = true; this.OpenButton.Name = "OpenButton"; this.OpenButton.UseUnderline = true; // Container child OpenButton.Gtk.Container+ContainerChild global::Gtk.Alignment w118 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w119 = new global::Gtk.HBox (); w119.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w120 = new global::Gtk.Image (); w120.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu); w119.Add (w120); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w122 = new global::Gtk.Label (); w122.LabelProp = global::Mono.Unix.Catalog.GetString ("Open!"); w122.UseUnderline = true; w119.Add (w122); w118.Add (w119); this.OpenButton.Add (w118); this.vopen.Add (this.OpenButton); global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.vopen [this.OpenButton])); w126.Position = 4; w126.Expand = false; w126.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.odsave = new global::Gtk.Frame (); this.odsave.Name = "odsave"; this.odsave.LabelXalign = 0.5F; // Container child odsave.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.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("You didn't saved the content\nof this panel are you sure you\nwant to open a new file?"); this.vbox4.Add (this.label20); global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label20])); w127.Position = 0; w127.Expand = false; w127.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.button7 = new global::Gtk.Button (); this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseUnderline = true; this.button7.Label = global::Mono.Unix.Catalog.GetString ("Open The New File"); this.vbox4.Add (this.button7); global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.button7])); w128.Position = 1; w128.Expand = false; w128.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.button8 = new global::Gtk.Button (); this.button8.CanFocus = true; this.button8.Name = "button8"; this.button8.UseUnderline = true; this.button8.Label = global::Mono.Unix.Catalog.GetString ("Save that text"); this.vbox4.Add (this.button8); global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.button8])); w129.Position = 2; w129.Expand = false; w129.Fill = false; this.GtkAlignment7.Add (this.vbox4); this.odsave.Add (this.GtkAlignment7); this.GtkLabel29 = new global::Gtk.Label (); this.GtkLabel29.Name = "GtkLabel29"; this.GtkLabel29.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!"); this.GtkLabel29.UseMarkup = true; this.odsave.LabelWidget = this.GtkLabel29; this.vopen.Add (this.odsave); global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.vopen [this.odsave])); w132.Position = 5; w132.Expand = false; w132.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.odotnexear = new global::Gtk.Frame (); this.odotnexear.Name = "odotnexear"; this.odotnexear.LabelXalign = 0.5F; // Container child odotnexear.Gtk.Container+ContainerChild this.GtkAlignment12 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment12.Name = "GtkAlignment12"; this.GtkAlignment12.LeftPadding = ((uint)(12)); // Container child GtkAlignment12.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label25 = new global::Gtk.Label (); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString ("This is a \".nexear\" file do you \nwant to open it with \" .nexear\" \nimporter?"); this.vbox6.Add (this.label25); global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label25])); w133.Position = 0; w133.Expand = false; w133.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.button21 = new global::Gtk.Button (); this.button21.CanFocus = true; this.button21.Name = "button21"; this.button21.UseUnderline = true; this.button21.Label = global::Mono.Unix.Catalog.GetString ("Open it with Importer"); this.vbox6.Add (this.button21); global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.button21])); w134.Position = 1; w134.Expand = false; w134.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.button22 = new global::Gtk.Button (); this.button22.CanFocus = true; this.button22.Name = "button22"; this.button22.UseUnderline = true; this.button22.Label = global::Mono.Unix.Catalog.GetString ("Continue with normal opener"); this.vbox6.Add (this.button22); global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.button22])); w135.Position = 2; w135.Expand = false; w135.Fill = false; this.GtkAlignment12.Add (this.vbox6); this.odotnexear.Add (this.GtkAlignment12); this.GtkLabel46 = new global::Gtk.Label (); this.GtkLabel46.Name = "GtkLabel46"; this.GtkLabel46.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!"); this.GtkLabel46.UseMarkup = true; this.odotnexear.LabelWidget = this.GtkLabel46; this.vopen.Add (this.odotnexear); global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.vopen [this.odotnexear])); w138.Position = 6; w138.Expand = false; w138.Fill = false; // Container child vopen.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; this.vopen.Add (this.hbox4); global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vopen [this.hbox4])); w139.Position = 7; // Container child vopen.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button (); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString (" Cancel "); this.vopen.Add (this.button4); global::Gtk.Box.BoxChild w140 = ((global::Gtk.Box.BoxChild)(this.vopen [this.button4])); w140.PackType = ((global::Gtk.PackType)(1)); w140.Position = 8; w140.Expand = false; w140.Fill = false; this.hbox2.Add (this.vopen); global::Gtk.Box.BoxChild w141 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vopen])); w141.Position = 7; w141.Expand = false; w141.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vhistory = new global::Gtk.VBox (); this.vhistory.Name = "vhistory"; this.vhistory.Spacing = 6; // Container child vhistory.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Command History"); this.vhistory.Add (this.label16); global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.label16])); w142.Position = 0; w142.Expand = false; w142.Fill = false; // Container child vhistory.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator (); this.hseparator6.Name = "hseparator6"; this.vhistory.Add (this.hseparator6); global::Gtk.Box.BoxChild w143 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.hseparator6])); w143.Position = 1; w143.Expand = false; w143.Fill = false; // Container child vhistory.Gtk.Box+BoxChild this.scrolledwindow5 = new global::Gtk.ScrolledWindow (); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; // Container child scrolledwindow5.Gtk.Container+ContainerChild global::Gtk.Viewport w144 = new global::Gtk.Viewport (); w144.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.lhistory = new global::Gtk.Label (); this.lhistory.Name = "lhistory"; this.lhistory.Xalign = 0F; this.lhistory.Yalign = 0F; w144.Add (this.lhistory); this.scrolledwindow5.Add (w144); this.vhistory.Add (this.scrolledwindow5); global::Gtk.Box.BoxChild w147 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.scrolledwindow5])); w147.Position = 2; // Container child vhistory.Gtk.Box+BoxChild this.OnHistoryCloseB = new global::Gtk.Button (); this.OnHistoryCloseB.CanFocus = true; this.OnHistoryCloseB.Name = "OnHistoryCloseB"; this.OnHistoryCloseB.UseUnderline = true; this.OnHistoryCloseB.Label = global::Mono.Unix.Catalog.GetString (" Close "); this.vhistory.Add (this.OnHistoryCloseB); global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.vhistory [this.OnHistoryCloseB])); w148.Position = 3; w148.Expand = false; w148.Fill = false; this.hbox2.Add (this.vhistory); global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vhistory])); w149.Position = 8; w149.Expand = false; w149.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vNexMaker = new global::Gtk.VBox (); this.vNexMaker.Name = "vNexMaker"; this.vNexMaker.Spacing = 6; // Container child vNexMaker.Gtk.Box+BoxChild this.label31 = new global::Gtk.Label (); this.label31.Name = "label31"; this.label31.Xalign = 0F; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Nexear Maker"); this.vNexMaker.Add (this.label31); global::Gtk.Box.BoxChild w150 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label31])); w150.Position = 0; w150.Expand = false; w150.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.hseparator7 = new global::Gtk.HSeparator (); this.hseparator7.Name = "hseparator7"; this.vNexMaker.Add (this.hseparator7); global::Gtk.Box.BoxChild w151 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.hseparator7])); w151.Position = 1; w151.Expand = false; w151.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.label22 = new global::Gtk.Label (); this.label22.Name = "label22"; this.label22.Xalign = 0F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString (" Writer a name for your file:"); this.vNexMaker.Add (this.label22); global::Gtk.Box.BoxChild w152 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label22])); w152.Position = 2; w152.Expand = false; w152.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.SaveNexearName = new global::Gtk.Entry (); this.SaveNexearName.CanFocus = true; this.SaveNexearName.Name = "SaveNexearName"; this.SaveNexearName.IsEditable = true; this.SaveNexearName.InvisibleChar = '•'; this.vNexMaker.Add (this.SaveNexearName); global::Gtk.Box.BoxChild w153 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.SaveNexearName])); w153.Position = 3; w153.Expand = false; w153.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 0F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString (" Select where you want to save\n your file"); this.vNexMaker.Add (this.label23); global::Gtk.Box.BoxChild w154 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.label23])); w154.Position = 4; w154.Expand = false; w154.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.SaveNexearWhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(2))); this.SaveNexearWhere.Name = "SaveNexearWhere"; this.vNexMaker.Add (this.SaveNexearWhere); global::Gtk.Box.BoxChild w155 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.SaveNexearWhere])); w155.Position = 5; w155.Expand = false; w155.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.button17 = new global::Gtk.Button (); this.button17.CanFocus = true; this.button17.Name = "button17"; this.button17.UseUnderline = true; // Container child button17.Gtk.Container+ContainerChild global::Gtk.Alignment w156 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w157 = new global::Gtk.HBox (); w157.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w158 = new global::Gtk.Image (); w158.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-convert", global::Gtk.IconSize.Menu); w157.Add (w158); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w160 = new global::Gtk.Label (); w160.LabelProp = global::Mono.Unix.Catalog.GetString ("Make the file"); w160.UseUnderline = true; w157.Add (w160); w156.Add (w157); this.button17.Add (w156); this.vNexMaker.Add (this.button17); global::Gtk.Box.BoxChild w164 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.button17])); w164.Position = 6; w164.Expand = false; w164.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.onexearexists = new global::Gtk.Frame (); this.onexearexists.Name = "onexearexists"; this.onexearexists.LabelXalign = 0.5F; // Container child onexearexists.Gtk.Container+ContainerChild this.GtkAlignment13 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment13.Name = "GtkAlignment13"; this.GtkAlignment13.LeftPadding = ((uint)(12)); // Container child GtkAlignment13.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.label26 = new global::Gtk.Label (); this.label26.Name = "label26"; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString ("The file exists"); this.vbox7.Add (this.label26); global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.label26])); w165.Position = 0; w165.Expand = false; w165.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.button23 = new global::Gtk.Button (); this.button23.CanFocus = true; this.button23.Name = "button23"; this.button23.UseUnderline = true; this.button23.Label = global::Mono.Unix.Catalog.GetString ("Replace It"); this.vbox7.Add (this.button23); global::Gtk.Box.BoxChild w166 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.button23])); w166.Position = 1; w166.Expand = false; w166.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.button24 = new global::Gtk.Button (); this.button24.CanFocus = true; this.button24.Name = "button24"; this.button24.UseUnderline = true; this.button24.Label = global::Mono.Unix.Catalog.GetString ("No Cancel It!"); this.vbox7.Add (this.button24); global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.button24])); w167.Position = 2; w167.Expand = false; w167.Fill = false; this.GtkAlignment13.Add (this.vbox7); this.onexearexists.Add (this.GtkAlignment13); this.GtkLabel49 = new global::Gtk.Label (); this.GtkLabel49.Name = "GtkLabel49"; this.GtkLabel49.LabelProp = global::Mono.Unix.Catalog.GetString ("Oops!"); this.GtkLabel49.UseMarkup = true; this.onexearexists.LabelWidget = this.GtkLabel49; this.vNexMaker.Add (this.onexearexists); global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.onexearexists])); w170.Position = 7; w170.Expand = false; w170.Fill = false; // Container child vNexMaker.Gtk.Box+BoxChild this.hbox17 = new global::Gtk.HBox (); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; this.vNexMaker.Add (this.hbox17); global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.hbox17])); w171.Position = 8; // Container child vNexMaker.Gtk.Box+BoxChild this.button18 = new global::Gtk.Button (); this.button18.CanFocus = true; this.button18.Name = "button18"; this.button18.UseUnderline = true; this.button18.Label = global::Mono.Unix.Catalog.GetString (" Cancel "); this.vNexMaker.Add (this.button18); global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.vNexMaker [this.button18])); w172.Position = 9; w172.Expand = false; w172.Fill = false; this.hbox2.Add (this.vNexMaker); global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vNexMaker])); w173.Position = 9; w173.Expand = false; w173.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vNexImporter = new global::Gtk.VBox (); this.vNexImporter.Name = "vNexImporter"; this.vNexImporter.Spacing = 6; // Container child vNexImporter.Gtk.Box+BoxChild this.label32 = new global::Gtk.Label (); this.label32.Name = "label32"; this.label32.Xalign = 0F; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString ("\n Nexear Importer"); this.vNexImporter.Add (this.label32); global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.label32])); w174.Position = 0; w174.Expand = false; w174.Fill = false; // Container child vNexImporter.Gtk.Box+BoxChild this.hseparator8 = new global::Gtk.HSeparator (); this.hseparator8.Name = "hseparator8"; this.vNexImporter.Add (this.hseparator8); global::Gtk.Box.BoxChild w175 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.hseparator8])); w175.Position = 1; w175.Expand = false; w175.Fill = false; // Container child vNexImporter.Gtk.Box+BoxChild this.label24 = new global::Gtk.Label (); this.label24.Name = "label24"; this.label24.Xalign = 0F; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString (" Select the file you want to open"); this.vNexImporter.Add (this.label24); global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.label24])); w176.Position = 2; w176.Expand = false; w176.Fill = false; // Container child vNexImporter.Gtk.Box+BoxChild this.OpenNexearWhere = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.OpenNexearWhere.Name = "OpenNexearWhere"; this.vNexImporter.Add (this.OpenNexearWhere); global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.OpenNexearWhere])); w177.Position = 3; w177.Expand = false; w177.Fill = false; // Container child vNexImporter.Gtk.Box+BoxChild this.button19 = new global::Gtk.Button (); this.button19.CanFocus = true; this.button19.Name = "button19"; this.button19.UseUnderline = true; // Container child button19.Gtk.Container+ContainerChild global::Gtk.Alignment w178 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w179 = new global::Gtk.HBox (); w179.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w180 = new global::Gtk.Image (); w180.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_folder", global::Gtk.IconSize.Menu); w179.Add (w180); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w182 = new global::Gtk.Label (); w182.LabelProp = global::Mono.Unix.Catalog.GetString ("Import the file"); w182.UseUnderline = true; w179.Add (w182); w178.Add (w179); this.button19.Add (w178); this.vNexImporter.Add (this.button19); global::Gtk.Box.BoxChild w186 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.button19])); w186.Position = 4; w186.Expand = false; w186.Fill = false; // Container child vNexImporter.Gtk.Box+BoxChild this.hbox18 = new global::Gtk.HBox (); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 6; this.vNexImporter.Add (this.hbox18); global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.hbox18])); w187.Position = 5; // Container child vNexImporter.Gtk.Box+BoxChild this.button20 = new global::Gtk.Button (); this.button20.CanFocus = true; this.button20.Name = "button20"; this.button20.UseUnderline = true; this.button20.Label = global::Mono.Unix.Catalog.GetString (" Cancel "); this.vNexImporter.Add (this.button20); global::Gtk.Box.BoxChild w188 = ((global::Gtk.Box.BoxChild)(this.vNexImporter [this.button20])); w188.Position = 6; w188.Expand = false; w188.Fill = false; this.hbox2.Add (this.vNexImporter); global::Gtk.Box.BoxChild w189 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vNexImporter])); w189.Position = 10; w189.Expand = false; w189.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vhome = new global::Gtk.VBox (); this.vhome.Name = "vhome"; // Container child vhome.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menu name='NewAction' action='NewAction'><menuitem name='Panel1Action' action='Panel1Action'/><menuitem name='Panel2Action' action='Panel2Action'/></menu><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='SaveAction' action='SaveAction'/><separator/><menuitem name='ExportToNexearFileAction' action='ExportToNexearFileAction'/><menuitem name='ImportFromNexearFileAction' action='ImportFromNexearFileAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='ReplaceAction' action='ReplaceAction'/><menuitem name='FindAction' action='FindAction'/></menu><menu name='PanelAction' action='PanelAction'><menu name='ClearAction' action='ClearAction'><menuitem name='Panel1Action1' action='Panel1Action1'/><menuitem name='Panel2Action1' action='Panel2Action1'/></menu><menuitem name='ChangeContentAction' action='ChangeContentAction'/><menu name='PanelToPanelAction' action='PanelToPanelAction'><menuitem name='FromPanel1To2Action' action='FromPanel1To2Action'/><menuitem name='FromPanel2To1Action' action='FromPanel2To1Action'/></menu><menu name='PanelReadmodAction' action='PanelReadmodAction'><menuitem name='p1read' action='p1read'/><menuitem name='p2read' action='p2read'/></menu></menu><menu name='ViewAction' action='ViewAction'><menuitem name='CommandHistoryAction' action='CommandHistoryAction'/><menuitem name='HideCommandBarAction' action='HideCommandBarAction'/><menuitem name='ReadmodAction' action='ReadmodAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><separator/><menuitem name='ManualAction' action='ManualAction'/><menuitem name='CommandGuideAction' action='CommandGuideAction'/><menuitem name='OnlineWikiAction' action='OnlineWikiAction'/><separator/><menuitem name='BugReporterAction' action='BugReporterAction'/><menuitem name='logsAction' action='logsAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vhome.Add (this.menubar1); global::Gtk.Box.BoxChild w190 = ((global::Gtk.Box.BoxChild)(this.vhome [this.menubar1])); w190.Position = 0; w190.Expand = false; w190.Fill = false; // Container child vhome.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar5'><toolitem name='openAction2' action='openAction2'/><toolitem name='convertAction' action='convertAction'/><separator/><toolitem name='newAction1' action='newAction1'/><toolitem name='openAction1' action='openAction1'/><toolitem name='saveAction1' action='saveAction1'/><toolitem name='saveAsAction1' action='saveAsAction1'/><separator/><toolitem name='goDownAction2' action='goDownAction2'/><toolitem name='networkAction' action='networkAction'/><toolitem name='goUpAction2' action='goUpAction2'/><separator/><toolitem name='readmodt' action='readmodt'/><separator/><toolitem name='findAction' action='findAction'/><toolitem name='findAndReplaceAction' action='findAndReplaceAction'/><separator/><toolitem/></toolbar></ui>"); this.toolbar5 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar5"))); this.toolbar5.Name = "toolbar5"; this.toolbar5.ShowArrow = false; this.toolbar5.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar5.IconSize = ((global::Gtk.IconSize)(2)); this.hbox10.Add (this.toolbar5); global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.toolbar5])); w191.Position = 0; this.vhome.Add (this.hbox10); global::Gtk.Box.BoxChild w192 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hbox10])); w192.Position = 1; w192.Expand = false; w192.Fill = false; // Container child vhome.Gtk.Box+BoxChild this.hs = new global::Gtk.HSeparator (); this.hs.Name = "hs"; this.vhome.Add (this.hs); global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hs])); w193.Position = 2; w193.Expand = false; w193.Fill = false; // Container child vhome.Gtk.Box+BoxChild this.hexit = new global::Gtk.HBox (); this.hexit.Name = "hexit"; this.hexit.Spacing = 6; // Container child hexit.Gtk.Box+BoxChild this.image113 = new global::Gtk.Image (); this.image113.Name = "image113"; this.image113.Xpad = 4; this.image113.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.hexit.Add (this.image113); global::Gtk.Box.BoxChild w194 = ((global::Gtk.Box.BoxChild)(this.hexit [this.image113])); w194.Position = 0; w194.Expand = false; w194.Fill = false; // Container child hexit.Gtk.Box+BoxChild this.label21 = new global::Gtk.Label (); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Are you sure you want to exit?"); this.hexit.Add (this.label21); global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.hexit [this.label21])); w195.Position = 1; w195.Expand = false; w195.Fill = false; // Container child hexit.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.hexit.Add (this.vbox5); global::Gtk.Box.BoxChild w196 = ((global::Gtk.Box.BoxChild)(this.hexit [this.vbox5])); w196.Position = 2; // Container child hexit.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button (); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseUnderline = true; // Container child button10.Gtk.Container+ContainerChild global::Gtk.Alignment w197 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w198 = new global::Gtk.HBox (); w198.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w199 = new global::Gtk.Image (); w199.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w198.Add (w199); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w201 = new global::Gtk.Label (); w201.LabelProp = global::Mono.Unix.Catalog.GetString ("No!"); w201.UseUnderline = true; w198.Add (w201); w197.Add (w198); this.button10.Add (w197); this.hexit.Add (this.button10); global::Gtk.Box.BoxChild w205 = ((global::Gtk.Box.BoxChild)(this.hexit [this.button10])); w205.Position = 3; w205.Expand = false; w205.Fill = false; // Container child hexit.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button (); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; // Container child button9.Gtk.Container+ContainerChild global::Gtk.Alignment w206 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w207 = new global::Gtk.HBox (); w207.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w208 = new global::Gtk.Image (); w208.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w207.Add (w208); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w210 = new global::Gtk.Label (); w210.LabelProp = global::Mono.Unix.Catalog.GetString ("Yes!"); w210.UseUnderline = true; w207.Add (w210); w206.Add (w207); this.button9.Add (w206); this.hexit.Add (this.button9); global::Gtk.Box.BoxChild w214 = ((global::Gtk.Box.BoxChild)(this.hexit [this.button9])); w214.Position = 4; w214.Expand = false; w214.Fill = false; this.vhome.Add (this.hexit); global::Gtk.Box.BoxChild w215 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hexit])); w215.Position = 3; w215.Expand = false; w215.Fill = false; // Container child vhome.Gtk.Box+BoxChild this.herrorbox = new global::Gtk.HBox (); this.herrorbox.Name = "herrorbox"; this.herrorbox.Spacing = 6; // Container child herrorbox.Gtk.Box+BoxChild this.image101 = new global::Gtk.Image (); this.image101.Name = "image101"; this.image101.Xpad = 4; this.image101.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.herrorbox.Add (this.image101); global::Gtk.Box.BoxChild w216 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.image101])); w216.Position = 0; w216.Expand = false; w216.Fill = false; // Container child herrorbox.Gtk.Box+BoxChild this.errormname = new global::Gtk.Label (); this.errormname.Name = "errormname"; this.herrorbox.Add (this.errormname); global::Gtk.Box.BoxChild w217 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.errormname])); w217.Position = 1; w217.Expand = false; w217.Fill = false; // Container child herrorbox.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; this.herrorbox.Add (this.vbox8); global::Gtk.Box.BoxChild w218 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.vbox8])); w218.Position = 2; // Container child herrorbox.Gtk.Box+BoxChild this.button25 = new global::Gtk.Button (); this.button25.CanFocus = true; this.button25.Name = "button25"; this.button25.UseUnderline = true; // Container child button25.Gtk.Container+ContainerChild global::Gtk.Alignment w219 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w220 = new global::Gtk.HBox (); w220.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w221 = new global::Gtk.Image (); w221.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w220.Add (w221); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w223 = new global::Gtk.Label (); w223.LabelProp = global::Mono.Unix.Catalog.GetString ("Close"); w223.UseUnderline = true; w220.Add (w223); w219.Add (w220); this.button25.Add (w219); this.herrorbox.Add (this.button25); global::Gtk.Box.BoxChild w227 = ((global::Gtk.Box.BoxChild)(this.herrorbox [this.button25])); w227.Position = 3; w227.Expand = false; w227.Fill = false; this.vhome.Add (this.herrorbox); global::Gtk.Box.BoxChild w228 = ((global::Gtk.Box.BoxChild)(this.vhome [this.herrorbox])); w228.Position = 4; w228.Expand = false; w228.Fill = false; // Container child vhome.Gtk.Box+BoxChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 202; // Container child vpaned2.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.panel1 = new global::Gtk.TextView (); this.panel1.CanFocus = true; this.panel1.Name = "panel1"; this.GtkScrolledWindow.Add (this.panel1); this.vpaned2.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w230 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.GtkScrolledWindow])); w230.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.panel2 = new global::Gtk.TextView (); this.panel2.CanFocus = true; this.panel2.Name = "panel2"; this.GtkScrolledWindow1.Add (this.panel2); this.vpaned2.Add (this.GtkScrolledWindow1); this.vhome.Add (this.vpaned2); global::Gtk.Box.BoxChild w233 = ((global::Gtk.Box.BoxChild)(this.vhome [this.vpaned2])); w233.Position = 5; // Container child vhome.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.Command = new global::Gtk.Entry (); this.Command.TooltipMarkup = "This is Command Line Frame you can use it to use Nexear with Command"; this.Command.Name = "Command"; this.Command.IsEditable = true; this.Command.InvisibleChar = '•'; this.hbox3.Add (this.Command); global::Gtk.Box.BoxChild w234 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.Command])); w234.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.CommandClear = new global::Gtk.Button (); this.CommandClear.TooltipMarkup = "Clear commnad button"; this.CommandClear.CanFocus = true; this.CommandClear.Name = "CommandClear"; this.CommandClear.UseUnderline = true; // Container child CommandClear.Gtk.Container+ContainerChild global::Gtk.Alignment w235 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w236 = new global::Gtk.HBox (); w236.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w237 = new global::Gtk.Image (); w237.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); w236.Add (w237); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w239 = new global::Gtk.Label (); w236.Add (w239); w235.Add (w236); this.CommandClear.Add (w235); this.hbox3.Add (this.CommandClear); global::Gtk.Box.BoxChild w243 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CommandClear])); w243.Position = 1; w243.Expand = false; w243.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.CommandPlay = new global::Gtk.Button (); this.CommandPlay.TooltipMarkup = "Run Commnad"; this.CommandPlay.CanFocus = true; this.CommandPlay.Name = "CommandPlay"; this.CommandPlay.UseUnderline = true; this.CommandPlay.Label = global::Mono.Unix.Catalog.GetString ("Run"); this.hbox3.Add (this.CommandPlay); global::Gtk.Box.BoxChild w244 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.CommandPlay])); w244.PackType = ((global::Gtk.PackType)(1)); w244.Position = 2; w244.Expand = false; w244.Fill = false; this.vhome.Add (this.hbox3); global::Gtk.Box.BoxChild w245 = ((global::Gtk.Box.BoxChild)(this.vhome [this.hbox3])); w245.Position = 6; w245.Expand = false; w245.Fill = false; this.hbox2.Add (this.vhome); global::Gtk.Box.BoxChild w246 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vhome])); w246.Position = 11; this.hbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w247 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2])); w247.Position = 0; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 3095; this.DefaultHeight = 582; this.vs.Hide (); this.vHelpCommand.Hide (); this.verror.Hide (); this.vsettings.Hide (); this.vkary.Hide (); this.vreplace.Hide (); this.oexists.Hide (); this.vsave.Hide (); this.odsave.Hide (); this.odotnexear.Hide (); this.vopen.Hide (); this.vhistory.Hide (); this.onexearexists.Hide (); this.vNexMaker.Hide (); this.vNexImporter.Hide (); this.hs.Hide (); this.hexit.Hide (); this.herrorbox.Hide (); this.Show (); 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.OnOpenShow); this.SaveAsAction.Activated += new global::System.EventHandler (this.OnSaveShow); this.ReplaceAction.Activated += new global::System.EventHandler (this.OnReplaceShow); this.CommandGuideAction.Activated += new global::System.EventHandler (this.OnCommHelpShow); this.NewWindowAction.Activated += new global::System.EventHandler (this.OnNewWindow); this.mediaPlayAction2.Activated += new global::System.EventHandler (this.OnComkmSH); this.propertiesAction1.Activated += new global::System.EventHandler (this.OnSettingShow); this.goUpAction1.Activated += new global::System.EventHandler (this.OnPUP); this.mediaPauseAction1.Activated += new global::System.EventHandler (this.OnPS); this.goDownAction1.Activated += new global::System.EventHandler (this.OnPDOWB); this.newAction1.Activated += new global::System.EventHandler (this.OnP1N); this.openAction1.Activated += new global::System.EventHandler (this.OnOpenShow); this.saveAsAction1.Activated += new global::System.EventHandler (this.OnSaveShow); this.goDownAction2.Activated += new global::System.EventHandler (this.OnM12); this.goUpAction2.Activated += new global::System.EventHandler (this.OnM21); this.networkAction.Activated += new global::System.EventHandler (this.OnMM); this.findAndReplaceAction.Activated += new global::System.EventHandler (this.OnReplaceShow); this.Panel1Action.Activated += new global::System.EventHandler (this.OnP1N); this.Panel2Action.Activated += new global::System.EventHandler (this.OnP2N); this.OnlineWikiAction.Activated += new global::System.EventHandler (this.OnWiki); this.BugReporterAction.Activated += new global::System.EventHandler (this.OnReport); this.CommandHistoryAction.Activated += new global::System.EventHandler (this.OnHistoryShow); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); this.ExportToNexearFileAction.Activated += new global::System.EventHandler (this.OnNMShoe); this.ImportFromNexearFileAction.Activated += new global::System.EventHandler (this.OnNexIMShow); this.convertAction.Activated += new global::System.EventHandler (this.OnNMShoe); this.openAction2.Activated += new global::System.EventHandler (this.OnNexIMShow); this.ChangeContentAction.Activated += new global::System.EventHandler (this.OnMM); this.HideCommandBarAction.Activated += new global::System.EventHandler (this.OnComkmSH); this.p1read.Activated += new global::System.EventHandler (this.OnReadmod1); this.p2read.Activated += new global::System.EventHandler (this.OnReadmod2); this.ReadmodAction.Activated += new global::System.EventHandler (this.OnFullReadMode); this.readmodt.Activated += new global::System.EventHandler (this.OnFullReadMode); this.OnHelpCommClose.Clicked += new global::System.EventHandler (this.OnVClose); this.OpenBR.Clicked += new global::System.EventHandler (this.OnReport); this.button2.Clicked += new global::System.EventHandler (this.OnWiki); this.OnCloseError12.Clicked += new global::System.EventHandler (this.OnVClose); this.button5.Clicked += new global::System.EventHandler (this.OnVClose); this.KaryClose.Clicked += new global::System.EventHandler (this.OnVClose); this.button11.Clicked += new global::System.EventHandler (this.OnReplaceIncertEnter); this.button13.Clicked += new global::System.EventHandler (this.OnReplaceClear); this.button15.Entered += new global::System.EventHandler (this.OnReplaceWithIncertEnter); this.button14.Clicked += new global::System.EventHandler (this.OnReplaceWithNameClear); this.ReplaceGo.Clicked += new global::System.EventHandler (this.OnReplace); this.ReplaceCancel.Clicked += new global::System.EventHandler (this.OnVClose); this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveAs); this.button1.Clicked += new global::System.EventHandler (this.OnSaveReplace); this.button6.Clicked += new global::System.EventHandler (this.OnSaveNeverMind); this.button3.Clicked += new global::System.EventHandler (this.OnVClose); this.OpenButton.Clicked += new global::System.EventHandler (this.OnOpen); this.button7.Clicked += new global::System.EventHandler (this.OnOpenAnyway); this.button8.Clicked += new global::System.EventHandler (this.OnSaveShow); this.button21.Clicked += new global::System.EventHandler (this.OnOpenWithImporter); this.button22.Clicked += new global::System.EventHandler (this.OnNormalOpen); this.button4.Clicked += new global::System.EventHandler (this.OnVClose); this.OnHistoryCloseB.Clicked += new global::System.EventHandler (this.OnVClose); this.button17.Clicked += new global::System.EventHandler (this.OnMakeNex); this.button23.Clicked += new global::System.EventHandler (this.OnReplaceMaker); this.button24.Clicked += new global::System.EventHandler (this.OnNoCancelMaker); this.button18.Clicked += new global::System.EventHandler (this.OnVClose); this.button19.Clicked += new global::System.EventHandler (this.OnNexImport); this.button20.Clicked += new global::System.EventHandler (this.OnVClose); this.button10.Clicked += new global::System.EventHandler (this.OnExitNo); this.button9.Clicked += new global::System.EventHandler (this.OnExitSure); this.button25.Clicked += new global::System.EventHandler (this.OnHerrorClose); this.Command.EditingDone += new global::System.EventHandler (this.OnRun); this.Command.Activated += new global::System.EventHandler (this.OnRun); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("_New"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New"); w1.Add (this.newAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w1.Add (this.editAction, null); this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete"); w1.Add (this.deleteAction, null); this.saveAction = new global::Gtk.RadioAction ("saveAction", null, null, "gtk-save", 0); this.saveAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); w1.Add (this.saveAction, null); this.copyAction = new global::Gtk.Action ("copyAction", null, null, "gtk-copy"); w1.Add (this.copyAction, null); this.activeAction = new global::Gtk.ToggleAction ("activeAction", global::Mono.Unix.Catalog.GetString ("_Active"), null, "gtk-yes"); this.activeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Active"); w1.Add (this.activeAction, null); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.quitAction, null); this.BlinkStickAction = new global::Gtk.Action ("BlinkStickAction", global::Mono.Unix.Catalog.GetString ("BlinkStick"), null, null); this.BlinkStickAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Device"); w1.Add (this.BlinkStickAction, null); this.TestAction = new global::Gtk.Action ("TestAction", global::Mono.Unix.Catalog.GetString ("Test..."), null, null); this.TestAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Test..."); w1.Add (this.TestAction, null); this.ManageAction = new global::Gtk.Action ("ManageAction", global::Mono.Unix.Catalog.GetString ("Manage..."), null, null); this.ManageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Manage..."); w1.Add (this.ManageAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.SupportAction = new global::Gtk.Action ("SupportAction", global::Mono.Unix.Catalog.GetString ("Support"), null, null); this.SupportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support"); w1.Add (this.SupportAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.HideAction = new global::Gtk.Action ("HideAction", global::Mono.Unix.Catalog.GetString ("Hide"), null, null); this.HideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide"); w1.Add (this.HideAction, null); this.ReportABugAction = new global::Gtk.Action ("ReportABugAction", global::Mono.Unix.Catalog.GetString ("Report a Bug"), null, null); this.ReportABugAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Report a Bug"); w1.Add (this.ReportABugAction, null); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("-"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("-"); w1.Add (this.Action, null); this.OpenLogAction = new global::Gtk.Action ("OpenLogAction", global::Mono.Unix.Catalog.GetString ("Open Log"), null, null); this.OpenLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Log"); w1.Add (this.OpenLogAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("BlinkStick"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='HideAction' action='HideAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='BlinkStickAction' action='BlinkStickAction'><menuitem name='TestAction' action='TestAction'/><menuitem name='ManageAction' action='ManageAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='SupportAction' action='SupportAction'/><menuitem name='ReportABugAction' action='ReportABugAction'/><menuitem name='OpenLogAction' action='OpenLogAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox2.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='editAction' action='editAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='activeAction' action='activeAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.vbox3.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewEvents = new global::Gtk.TreeView (); this.treeviewEvents.CanFocus = true; this.treeviewEvents.Name = "treeviewEvents"; this.GtkScrolledWindow.Add (this.treeviewEvents); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w5.Position = 1; this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3])); w6.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox2.Add (this.statusbar1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 776; this.DefaultHeight = 624; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated); this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); this.copyAction.Activated += new global::System.EventHandler (this.OnCopyActionActivated); this.activeAction.Toggled += new global::System.EventHandler (this.OnActiveActionToggled); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.TestAction.Activated += new global::System.EventHandler (this.OnTestActionActivated); this.ManageAction.Activated += new global::System.EventHandler (this.OnManageActionActivated); this.SupportAction.Activated += new global::System.EventHandler (this.OnSupportActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.HideAction.Activated += new global::System.EventHandler (this.OnHideActionActivated); this.ReportABugAction.Activated += new global::System.EventHandler (this.OnReportABugActionActivated); this.OpenLogAction.Activated += new global::System.EventHandler (this.OnOpenLogActionActivated); this.treeviewEvents.CursorChanged += new global::System.EventHandler (this.OnTreeviewEventsCursorChanged); this.treeviewEvents.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewEventsRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoGame.Tools.Pipeline.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.NewAction = new global::Gtk.Action("NewAction", global::Mono.Unix.Catalog.GetString("New..."), null, "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New..."); w1.Add(this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open..."), null, "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open..."); w1.Add(this.OpenAction, "<Control>o"); this.OpenRecentAction = new global::Gtk.Action("OpenRecentAction", global::Mono.Unix.Catalog.GetString("Open Recent"), null, null); this.OpenRecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Recent"); w1.Add(this.OpenRecentAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, "gtk-close"); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.ImportAction = new global::Gtk.Action("ImportAction", global::Mono.Unix.Catalog.GetString("Import..."), null, null); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Import..."); w1.Add(this.ImportAction, null); this.SaveAction = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, "gtk-save"); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action("SaveAsAction", global::Mono.Unix.Catalog.GetString("Save As..."), null, "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save As..."); w1.Add(this.SaveAsAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.ExitAction.HideIfEmpty = false; this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.UndoAction = new global::Gtk.Action("UndoAction", global::Mono.Unix.Catalog.GetString("Undo"), null, "gtk-undo"); this.UndoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.UndoAction, "<Control>z"); this.RedoAction = new global::Gtk.Action("RedoAction", global::Mono.Unix.Catalog.GetString("Redo"), null, "gtk-redo"); this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.RedoAction, "<Control>y"); RenameAction = new Action("RenameAction", global::Mono.Unix.Catalog.GetString("Rename"), null, null); RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rename"); w1.Add(RenameAction, null); this.DeleteAction = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete"); w1.Add(this.DeleteAction, null); this.BuildAction = new global::Gtk.Action("BuildAction", global::Mono.Unix.Catalog.GetString("Build"), null, null); this.BuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Build"); w1.Add(this.BuildAction, null); this.BuildAction1 = new global::Gtk.Action("BuildAction1", global::Mono.Unix.Catalog.GetString("Build"), null, "gtk-execute"); this.BuildAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Build"); w1.Add(this.BuildAction1, "<Mod2>F6"); this.RebuildAction = new global::Gtk.Action("RebuildAction", global::Mono.Unix.Catalog.GetString("Rebuild"), null, "gtk-execute"); this.RebuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rebuild"); w1.Add(this.RebuildAction, null); this.CleanAction = new global::Gtk.Action("CleanAction", global::Mono.Unix.Catalog.GetString("Clean"), null, null); this.CleanAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clean"); w1.Add(this.CleanAction, null); this.DebugModeAction = new global::Gtk.ToggleAction("DebugModeAction", global::Mono.Unix.Catalog.GetString("Debug Mode"), null, null); this.DebugModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Debug Mode"); w1.Add(this.DebugModeAction, null); this.FilterOutputAction = new global::Gtk.ToggleAction("FilterOutputAction", global::Mono.Unix.Catalog.GetString("Filter Output"), null, null); this.FilterOutputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Filter Output"); this.FilterOutputAction.Active = true; w1.Add(this.FilterOutputAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.ViewHelpAction = new global::Gtk.Action("ViewHelpAction", global::Mono.Unix.Catalog.GetString("View Help"), null, "gtk-help"); this.ViewHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Help"); w1.Add(this.ViewHelpAction, "<Mod2>F1"); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.CancelBuildAction = new global::Gtk.Action("CancelBuildAction", global::Mono.Unix.Catalog.GetString("Cancel Build"), null, "gtk-stop"); this.CancelBuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cancel Build"); w1.Add(this.CancelBuildAction, null); this.AddAction = new global::Gtk.Action("AddAction", global::Mono.Unix.Catalog.GetString("Add"), null, null); this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add"); w1.Add(this.AddAction, null); this.NewItemAction = new global::Gtk.Action("NewItemAction", global::Mono.Unix.Catalog.GetString("New Item..."), null, "gtk-file"); this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Item..."); w1.Add(this.NewItemAction, null); this.NewFolderAction = new global::Gtk.Action("NewFolderAction", global::Mono.Unix.Catalog.GetString("New Folder..."), null, "gtk-directory"); this.NewFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Folder..."); w1.Add(this.NewFolderAction, null); this.ExistingItemAction = new global::Gtk.Action("ExistingItemAction", global::Mono.Unix.Catalog.GetString("Existing Item..."), null, null); this.ExistingItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Item..."); w1.Add(this.ExistingItemAction, null); this.ExistingFolderAction = new global::Gtk.Action("ExistingFolderAction", global::Mono.Unix.Catalog.GetString("Existing Folder..."), null, null); this.ExistingFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Folder..."); w1.Add(this.ExistingFolderAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MonoGame.Tools.Pipeline.MainWindow"; this.Icon = global::Gdk.Pixbuf.LoadFromResource("MonoGame.Tools.Pipeline.App.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MonoGame.Tools.Pipeline.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='OpenRecentAction' action='OpenRecentAction'/><menuitem name='CloseAction' action='CloseAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><separator/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UndoAction' action='UndoAction'/><menuitem name='RedoAction' action='RedoAction'/><separator/><menu name='AddAction' action='AddAction'><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='NewFolderAction' action='NewFolderAction'/><separator/><menuitem name='ExistingItemAction' action='ExistingItemAction'/><menuitem name='ExistingFolderAction' action='ExistingFolderAction'/></menu><separator/><menuitem name='RenameAction' action='RenameAction'/><menuitem name='DeleteAction' action='DeleteAction'/></menu><menu name='BuildAction' action='BuildAction'><menuitem name='BuildAction1' action='BuildAction1'/><menuitem name='RebuildAction' action='RebuildAction'/><menuitem name='CleanAction' action='CleanAction'/><menuitem name='CancelBuildAction' action='CancelBuildAction'/><separator name='sep1'/><menuitem name='DebugModeAction' action='DebugModeAction'/><menuitem name='FilterOutputAction' action='FilterOutputAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='ViewHelpAction' action='ViewHelpAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); toolBar1 = new Toolbar(); toolNew = new ToolButton(new Image(null, "Toolbar.New.png"), "New"); toolNew.TooltipText = toolNew.Label; toolBar1.Add(toolNew); toolOpen = new ToolButton(new Image(null, "Toolbar.Open.png"), "Open"); toolOpen.TooltipText = toolOpen.Label; toolBar1.Add(toolOpen); toolSave = new ToolButton(new Image(null, "Toolbar.Save.png"), "Save"); toolSave.TooltipText = toolSave.Label; toolBar1.Add(toolSave); toolBar1.Add(new SeparatorToolItem()); toolNewItem = new ToolButton(new Image(null, "Toolbar.NewItem.png"), "Add New Item"); toolNewItem.TooltipText = toolNewItem.Label; toolBar1.Add(toolNewItem); toolAddItem = new ToolButton(new Image(null, "Toolbar.ExistingItem.png"), "Add Existing Item"); toolAddItem.TooltipText = toolAddItem.Label; toolBar1.Add(toolAddItem); toolNewFolder = new ToolButton(new Image(null, "Toolbar.NewFolder.png"), "Add New Folder"); toolNewFolder.TooltipText = toolNewFolder.Label; toolBar1.Add(toolNewFolder); toolAddFolder = new ToolButton(new Image(null, "Toolbar.ExistingFolder.png"), "Add Existing Folder"); toolAddFolder.TooltipText = toolAddFolder.Label; toolBar1.Add(toolAddFolder); toolBar1.Add(new SeparatorToolItem()); toolBuild = new ToolButton(new Image(null, "Toolbar.Build.png"), "Build"); toolBuild.TooltipText = toolBuild.Label; toolBar1.Add(toolBuild); toolRebuild = new ToolButton(new Image(null, "Toolbar.Rebuild.png"), "Rebuild"); toolRebuild.TooltipText = toolRebuild.Label; toolBar1.Add(toolRebuild); toolClean = new ToolButton(new Image(null, "Toolbar.Clean.png"), "Clean"); toolClean.TooltipText = toolClean.Label; toolBar1.Add(toolClean); toolBar1.Add(new SeparatorToolItem()); toolFilterOutput = new ToggleToolButton(); toolFilterOutput.Label = toolFilterOutput.TooltipText = "Filter Output"; toolFilterOutput.IconWidget = new Image(null, "Toolbar.FilterOutput.png"); toolBar1.Add(toolFilterOutput); if (!Global.UseHeaderBar) { this.vbox2.PackStart(toolBar1, false, true, 0); } global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 179; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 247; // Container child vpaned2.Gtk.Paned+PanedChild this.projectview1 = new global::MonoGame.Tools.Pipeline.ProjectView(); this.projectview1.Events = ((global::Gdk.EventMask)(256)); this.projectview1.Name = "projectview1"; this.vpaned2.Add(this.projectview1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.projectview1])); w3.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.propertiesview1 = new global::MonoGame.Tools.Pipeline.PropertiesView(); this.propertiesview1.Events = ((global::Gdk.EventMask)(256)); this.propertiesview1.Name = "propertiesview1"; this.vpaned2.Add(this.propertiesview1); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.propertiesview1])); w4.Resize = false; this.hpaned1.Add(this.vpaned2); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vpaned2])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild buildOutput1 = new BuildOutput(); this.hpaned1.Add(this.buildOutput1); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w8.Position = 2; this.Add(this.vbox2); treeview1 = new TreeView(); #if GTK3 if (Global.UseHeaderBar) { Builder builder = new Builder(null, "MonoGame.Tools.Pipeline.Gtk.MainWindow.HeaderBar.glade", null); hbar = new HeaderBar(builder.GetObject("headerbar").Handle); builder.Autoconnect(this); hbar.AttachToWindow(this); hbar.ShowCloseButton = true; hbar.Show(); foreach (var o in menubar1.Children) { menubar1.Remove(o); menu2.Insert(o, 4); } new_button.Clicked += OnNewActionActivated; save_button.Clicked += OnSaveActionActivated; build_button.Clicked += OnBuildAction1Activated; rebuild_button.Clicked += OnRebuildActionActivated; cancel_button.Clicked += OnCancelBuildActionActivated; filteroutput_button.ButtonReleaseEvent += ToggleFilterOutput; filteroutput_button.Sensitive = true; vbox2.Remove(menubar1); open_menubutton = new MenuButton(open_button.Handle); var popover = new Popover(open_menubutton); var vbox = new VBox(); vbox.WidthRequest = 350; vbox.HeightRequest = 300; Gtk3Wrapper.gtk_tree_view_set_activate_on_single_click(treeview1.Handle, true); treeview1.HeadersVisible = false; treeview1.EnableGridLines = TreeViewGridLines.Horizontal; treeview1.HoverSelection = true; treeview1.RowActivated += delegate(object o, RowActivatedArgs args) { popover.Hide(); TreeIter iter; if (!recentListStore.GetIter(out iter, args.Path)) { return; } OpenProject(recentListStore.GetValue(iter, 1).ToString()); }; ScrolledWindow scroll1 = new ScrolledWindow(); scroll1.WidthRequest = 350; scroll1.HeightRequest = 300; scroll1.Add(treeview1); vbox.PackStart(scroll1, true, true, 0); var openButton = new Button("Open Other..."); openButton.Clicked += delegate(object sender, System.EventArgs e) { popover.Hide(); OnOpenActionActivated(sender, e); }; vbox.PackStart(openButton, false, true, 0); vbox.ShowAll(); popover.Add(vbox); open_menubutton.Popup = popover; } #endif this.Title = basetitle; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 751; this.DefaultHeight = 557; #if GTK3 Gdk.Geometry geom = new Gdk.Geometry(); geom.MinWidth = 400; geom.MinHeight = 300; this.SetGeometryHints(this, geom, Gdk.WindowHints.MinSize); #endif this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler(this.OnNewActionActivated); this.toolNew.Clicked += OnNewActionActivated; this.OpenAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.toolOpen.Clicked += OnOpenActionActivated; this.CloseAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.ImportAction.Activated += new global::System.EventHandler(this.OnImportActionActivated); this.SaveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.toolSave.Clicked += OnSaveActionActivated; this.SaveAsAction.Activated += new global::System.EventHandler(this.OnSaveAsActionActivated); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); this.UndoAction.Activated += new global::System.EventHandler(this.OnUndoActionActivated); this.RedoAction.Activated += new global::System.EventHandler(this.OnRedoActionActivated); RenameAction.Activated += this.OnRenameActionActivated; this.DeleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated); this.BuildAction1.Activated += new global::System.EventHandler(this.OnBuildAction1Activated); toolBuild.Clicked += OnBuildAction1Activated; this.RebuildAction.Activated += new global::System.EventHandler(this.OnRebuildActionActivated); toolRebuild.Clicked += OnRebuildActionActivated; this.CleanAction.Activated += new global::System.EventHandler(this.OnCleanActionActivated); toolClean.Clicked += OnCleanActionActivated; this.ViewHelpAction.Activated += new global::System.EventHandler(this.OnViewHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.NewItemAction.Activated += new global::System.EventHandler(this.OnNewItemActionActivated); this.toolNewItem.Clicked += OnNewItemActionActivated; this.NewFolderAction.Activated += new global::System.EventHandler(this.OnNewFolderActionActivated); this.toolNewFolder.Clicked += OnNewFolderActionActivated; this.ExistingItemAction.Activated += new global::System.EventHandler(this.OnAddItemActionActivated); this.toolAddItem.Clicked += OnAddItemActionActivated; this.ExistingFolderAction.Activated += new global::System.EventHandler(this.OnAddFolderActionActivated); this.toolAddFolder.Clicked += OnAddFolderActionActivated; this.DebugModeAction.Activated += new global::System.EventHandler(this.OnDebugModeActionActivated); this.FilterOutputAction.Activated += OnFilterOutputActionActivated; this.toolFilterOutput.ButtonReleaseEvent += ToggleFilterOutput; this.CancelBuildAction.Activated += new global::System.EventHandler(this.OnCancelBuildActionActivated); this.SizeAllocated += MainWindow_SizeAllocated; }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget DBusExplorer.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.SelectBus = new global::Gtk.Action ("SelectBus", global::Mono.Unix.Catalog.GetString ("_Select Bus"), null, null); this.SelectBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select Bus"); w1.Add (this.SelectBus, "<Control><Mod2>s"); this.SessionBus = new global::Gtk.RadioAction ("SessionBus", global::Mono.Unix.Catalog.GetString ("S_ession Bus"), null, null, 0); this.SessionBus.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.SessionBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("Session Bus"); w1.Add (this.SessionBus, null); this.SystemBus = new global::Gtk.RadioAction ("SystemBus", global::Mono.Unix.Catalog.GetString ("S_ystem Bus"), null, null, 0); this.SystemBus.Group = this.SessionBus.Group; this.SystemBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("System Bus"); w1.Add (this.SystemBus, null); this.quit = new global::Gtk.Action ("quit", global::Mono.Unix.Catalog.GetString ("_Quitter"), null, "gtk-quit"); this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quitter"); w1.Add (this.quit, null); this.quit1 = new global::Gtk.Action ("quit1", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quit1, null); this.Help = new global::Gtk.Action ("Help", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.Help, null); this.about = new global::Gtk.Action ("about", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.about.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.about, null); this.View = new global::Gtk.Action ("View", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.View.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.View, null); this.CustomBus = new global::Gtk.Action ("CustomBus", global::Mono.Unix.Catalog.GetString ("C_ustom Bus..."), null, null); this.CustomBus.ShortLabel = global::Mono.Unix.Catalog.GetString ("C_ustom Bus..."); w1.Add (this.CustomBus, null); this.Tools = new global::Gtk.Action ("Tools", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null); this.Tools.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools"); w1.Add (this.Tools, null); this.Languages = new global::Gtk.Action ("Languages", global::Mono.Unix.Catalog.GetString ("Languages"), null, null); this.Languages.ShortLabel = global::Mono.Unix.Catalog.GetString ("Languages"); w1.Add (this.Languages, null); this.C = new global::Gtk.ToggleAction ("C", global::Mono.Unix.Catalog.GetString ("C#"), null, null); this.C.ShortLabel = global::Mono.Unix.Catalog.GetString ("C#"); w1.Add (this.C, null); this.NewTabAction = new global::Gtk.Action ("NewTabAction", global::Mono.Unix.Catalog.GetString ("New _tab"), null, null); this.NewTabAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New _tab"); w1.Add (this.NewTabAction, "<Control><Mod2>t"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "DBusExplorer.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("D-Bus Explorer"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DBusExplorer.data.dbus-explorer.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultHeight = 600; // Container child DBusExplorer.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='NewTabAction' action='NewTabAction'/><menu name='SelectBus' action='SelectBus'><menuitem name='SessionBus' action='SessionBus'/><menuitem name='SystemBus' action='SystemBus'/><menuitem name='CustomBus' action='CustomBus'/></menu><menuitem name='quit1' action='quit1'/></menu><menu name='Help' action='Help'><menuitem name='about' action='about'/></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.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Bus name : "); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.busCbCont = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.busCbCont.Name = "busCbCont"; // Container child busCbCont.Gtk.Container+ContainerChild this.busCb = global::Gtk.ComboBox.NewText (); this.busCb.Name = "busCb"; this.busCbCont.Add (this.busCb); this.hbox1.Add (this.busCbCont); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.busCbCont])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.alignment4 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(62)); this.alignment4.RightPadding = ((uint)(208)); // Container child alignment4.Gtk.Container+ContainerChild this.spinnerBox = new global::Gtk.HBox (); this.spinnerBox.Name = "spinnerBox"; this.spinnerBox.Spacing = 6; // Container child spinnerBox.Gtk.Box+BoxChild this.spinnerAlign = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.spinnerAlign.Name = "spinnerAlign"; this.spinnerBox.Add (this.spinnerAlign); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.spinnerAlign])); w6.Position = 0; // Container child spinnerBox.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.alignment6.Name = "alignment6"; // Container child alignment6.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Parsing ..."); this.alignment6.Add (this.label4); this.spinnerBox.Add (this.alignment6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.alignment6])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.alignment4.Add (this.spinnerBox); this.hbox1.Add (this.alignment4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.alignment4])); w10.Position = 2; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(1)); // Container child vbox1.Gtk.Box+BoxChild this.buses_Nb = new global::Gtk.Notebook (); this.buses_Nb.CanFocus = true; this.buses_Nb.Name = "buses_Nb"; this.buses_Nb.CurrentPage = 0; this.buses_Nb.BorderWidth = ((uint)(3)); // Notebook tab global::Gtk.Label w12 = new global::Gtk.Label (); w12.Visible = true; this.buses_Nb.Add (w12); this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("(No Title)"); this.buses_Nb.SetTabLabel (w12, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.buses_Nb); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buses_Nb])); w13.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w14.Position = 3; w14.Expand = false; w14.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 798; this.Show (); this.SessionBus.Activated += new global::System.EventHandler (this.OnSessionBusActivated); this.SystemBus.Activated += new global::System.EventHandler (this.OnSystemBusActivated); this.quit.Activated += new global::System.EventHandler (this.OnDeleteEvent); this.quit1.Activated += new global::System.EventHandler (this.OnDeleteEvent); this.about.Activated += new global::System.EventHandler (this.OnAboutActivated); this.CustomBus.Activated += new global::System.EventHandler (this.OnCustomBusActivated); this.NewTabAction.Activated += new global::System.EventHandler (this.OnNewTabActionActivated); this.buses_Nb.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnBusesNbSwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ARLES.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.newAction = new global::Gtk.ToggleAction("newAction", null, null, "gtk-new"); w1.Add(this.newAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "ARLES.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ARLES.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='menubar2'/></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox1.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.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.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Arduino Port"); this.hbox1.Add(this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.PortsComboBox = global::Gtk.ComboBox.NewText(); this.PortsComboBox.Name = "PortsComboBox"; this.hbox1.Add(this.PortsComboBox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.PortsComboBox])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Rescan"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Expression"); this.hbox4.Add(this.label5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.ExpressionEntry = new global::Gtk.Entry(); this.ExpressionEntry.CanFocus = true; this.ExpressionEntry.Name = "ExpressionEntry"; this.ExpressionEntry.IsEditable = true; this.ExpressionEntry.InvisibleChar = '●'; this.hbox4.Add(this.ExpressionEntry); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ExpressionEntry])); w8.Position = 1; this.vbox5.Add(this.hbox4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox4])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Upload"); this.hbox3.Add(this.button3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button3])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Save"); this.hbox3.Add(this.button4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button4])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.vbox5.Add(this.hbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.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.logs = new global::Gtk.TextView(); this.logs.CanFocus = true; this.logs.Name = "logs"; this.logs.Editable = false; this.GtkScrolledWindow.Add(this.logs); this.notebook2.Add(this.GtkScrolledWindow); // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Logs"); this.notebook2.SetTabLabel(this.GtkScrolledWindow, this.label6); this.label6.ShowAll(); this.vbox5.Add(this.notebook2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.notebook2])); w15.Position = 2; this.notebook1.Add(this.vbox5); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Upload"); this.notebook1.SetTabLabel(this.vbox5, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.WidthRequest = 200; this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 0"); this.hbox2.Add(this.label7); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label7])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.PinCombo = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo.Name = "PinCombo"; this.hbox2.Add(this.PinCombo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.PinCombo])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.WidthRequest = 200; this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 1"); this.hbox5.Add(this.label8); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label8])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.PinCombo1 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo1.Name = "PinCombo1"; this.hbox5.Add(this.PinCombo1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.PinCombo1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbox3.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.WidthRequest = 200; this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 2"); this.hbox6.Add(this.label9); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label9])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.PinCombo2 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo2.Name = "PinCombo2"; this.hbox6.Add(this.PinCombo2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.PinCombo2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox3.Add(this.hbox6); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.WidthRequest = 200; this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 3"); this.hbox7.Add(this.label10); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label10])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.PinCombo3 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo3.Name = "PinCombo3"; this.hbox7.Add(this.PinCombo3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.PinCombo3])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.hbox7); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w28.Position = 3; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.WidthRequest = 200; this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 4"); this.hbox8.Add(this.label11); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.label11])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.PinCombo4 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo4.Name = "PinCombo4"; this.hbox8.Add(this.PinCombo4); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.PinCombo4])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox8])); w31.Position = 4; w31.Expand = false; w31.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.WidthRequest = 200; this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 5"); this.hbox9.Add(this.label12); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label12])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.PinCombo5 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo5.Name = "PinCombo5"; this.hbox9.Add(this.PinCombo5); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.PinCombo5])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.vbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox9])); w34.Position = 5; w34.Expand = false; w34.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.WidthRequest = 200; this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 6"); this.hbox10.Add(this.label13); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label13])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.PinCombo6 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo6.Name = "PinCombo6"; this.hbox10.Add(this.PinCombo6); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.PinCombo6])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.vbox3.Add(this.hbox10); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox10])); w37.Position = 6; w37.Expand = false; w37.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label(); this.label14.WidthRequest = 200; this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 7"); this.hbox11.Add(this.label14); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label14])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.PinCombo7 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo7.Name = "PinCombo7"; this.hbox11.Add(this.PinCombo7); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.PinCombo7])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.vbox3.Add(this.hbox11); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox11])); w40.Position = 7; w40.Expand = false; w40.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.WidthRequest = 200; this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 8"); this.hbox12.Add(this.label15); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label15])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.PinCombo8 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo8.Name = "PinCombo8"; this.hbox12.Add(this.PinCombo8); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.PinCombo8])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.vbox3.Add(this.hbox12); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox12])); w43.Position = 8; w43.Expand = false; w43.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox(); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label(); this.label16.WidthRequest = 200; this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 9"); this.hbox13.Add(this.label16); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label16])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.PinCombo9 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo9.Name = "PinCombo9"; this.hbox13.Add(this.PinCombo9); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.PinCombo9])); w45.Position = 1; w45.Expand = false; w45.Fill = false; this.vbox3.Add(this.hbox13); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox13])); w46.Position = 9; w46.Expand = false; w46.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox(); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.label17 = new global::Gtk.Label(); this.label17.WidthRequest = 200; this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 10"); this.hbox14.Add(this.label17); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label17])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.PinCombo10 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo10.Name = "PinCombo10"; this.hbox14.Add(this.PinCombo10); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.PinCombo10])); w48.Position = 1; w48.Expand = false; w48.Fill = false; this.vbox3.Add(this.hbox14); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox14])); w49.Position = 10; w49.Expand = false; w49.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox(); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.label18 = new global::Gtk.Label(); this.label18.WidthRequest = 200; this.label18.Name = "label18"; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 11"); this.hbox15.Add(this.label18); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label18])); w50.Position = 0; w50.Expand = false; w50.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.PinCombo11 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo11.Name = "PinCombo11"; this.hbox15.Add(this.PinCombo11); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.PinCombo11])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vbox3.Add(this.hbox15); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox15])); w52.Position = 11; w52.Expand = false; w52.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox16 = new global::Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.WidthRequest = 200; this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Pin 12"); this.hbox16.Add(this.label19); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.label19])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.PinCombo12 = global::Gtk.ComboBoxEntry.NewText(); this.PinCombo12.Name = "PinCombo12"; this.hbox16.Add(this.PinCombo12); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.PinCombo12])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.vbox3.Add(this.hbox16); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox16])); w55.Position = 12; w55.Expand = false; w55.Fill = false; this.notebook1.Add(this.vbox3); global::Gtk.Notebook.NotebookChild w56 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox3])); w56.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Mapping"); this.notebook1.SetTabLabel(this.vbox3, this.label2); this.label2.ShowAll(); // Notebook tab global::Gtk.Label w57 = new global::Gtk.Label(); w57.Visible = true; this.notebook1.Add(w57); this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Advanced"); this.notebook1.SetTabLabel(w57, this.label3); this.label3.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1])); w58.Position = 0; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w59.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add(this.progressbar1); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w60.Position = 2; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w61.Position = 3; w61.Expand = false; w61.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 627; this.DefaultHeight = 608; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.rescan); this.button3.Clicked += new global::System.EventHandler(this.upload); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DBusExplorer.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.SelectBus = new global::Gtk.Action("SelectBus", global::Mono.Unix.Catalog.GetString("_Select Bus"), null, null); this.SelectBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Bus"); w1.Add(this.SelectBus, "<Control><Mod2>s"); this.SessionBus = new global::Gtk.RadioAction("SessionBus", global::Mono.Unix.Catalog.GetString("S_ession Bus"), null, null, 0); this.SessionBus.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.SessionBus.ShortLabel = global::Mono.Unix.Catalog.GetString("Session Bus"); w1.Add(this.SessionBus, null); this.SystemBus = new global::Gtk.RadioAction("SystemBus", global::Mono.Unix.Catalog.GetString("S_ystem Bus"), null, null, 0); this.SystemBus.Group = this.SessionBus.Group; this.SystemBus.ShortLabel = global::Mono.Unix.Catalog.GetString("System Bus"); w1.Add(this.SystemBus, null); this.quit = new global::Gtk.Action("quit", global::Mono.Unix.Catalog.GetString("_Quitter"), null, "gtk-quit"); this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quitter"); w1.Add(this.quit, null); this.quit1 = new global::Gtk.Action("quit1", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quit1, null); this.Help = new global::Gtk.Action("Help", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.Help, null); this.about = new global::Gtk.Action("about", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.about.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.about, null); this.View = new global::Gtk.Action("View", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.View.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.View, null); this.CustomBus = new global::Gtk.Action("CustomBus", global::Mono.Unix.Catalog.GetString("C_ustom Bus..."), null, null); this.CustomBus.ShortLabel = global::Mono.Unix.Catalog.GetString("C_ustom Bus..."); w1.Add(this.CustomBus, null); this.Tools = new global::Gtk.Action("Tools", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.Tools.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.Tools, null); this.Languages = new global::Gtk.Action("Languages", global::Mono.Unix.Catalog.GetString("Languages"), null, null); this.Languages.ShortLabel = global::Mono.Unix.Catalog.GetString("Languages"); w1.Add(this.Languages, null); this.C = new global::Gtk.ToggleAction("C", global::Mono.Unix.Catalog.GetString("C#"), null, null); this.C.ShortLabel = global::Mono.Unix.Catalog.GetString("C#"); w1.Add(this.C, null); this.NewTabAction = new global::Gtk.Action("NewTabAction", global::Mono.Unix.Catalog.GetString("New _tab"), null, null); this.NewTabAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New _tab"); w1.Add(this.NewTabAction, "<Control><Mod2>t"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "DBusExplorer.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("D-Bus Explorer"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("DBusExplorer.data.dbus-explorer.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultHeight = 600; // Container child DBusExplorer.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='NewTabAction' action='NewTabAction'/><menu name='SelectBus' action='SelectBus'><menuitem name='SessionBus' action='SessionBus'/><menuitem name='SystemBus' action='SystemBus'/><menuitem name='CustomBus' action='CustomBus'/></menu><menuitem name='quit1' action='quit1'/></menu><menu name='Help' action='Help'><menuitem name='about' action='about'/></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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Bus name : "); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.busCbCont = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.busCbCont.Name = "busCbCont"; // Container child busCbCont.Gtk.Container+ContainerChild this.busCb = global::Gtk.ComboBox.NewText(); this.busCb.Name = "busCb"; this.busCbCont.Add(this.busCb); this.hbox1.Add(this.busCbCont); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.busCbCont])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.alignment4 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(62)); this.alignment4.RightPadding = ((uint)(208)); // Container child alignment4.Gtk.Container+ContainerChild this.spinnerBox = new global::Gtk.HBox(); this.spinnerBox.Name = "spinnerBox"; this.spinnerBox.Spacing = 6; // Container child spinnerBox.Gtk.Box+BoxChild this.spinnerAlign = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.spinnerAlign.Name = "spinnerAlign"; this.spinnerBox.Add(this.spinnerAlign); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.spinnerAlign])); w6.Position = 0; // Container child spinnerBox.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment(0.5f, 0.5f, 1f, 1f); this.alignment6.Name = "alignment6"; // Container child alignment6.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Parsing ..."); this.alignment6.Add(this.label4); this.spinnerBox.Add(this.alignment6); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.spinnerBox[this.alignment6])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.alignment4.Add(this.spinnerBox); this.hbox1.Add(this.alignment4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.alignment4])); w10.Position = 2; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(1)); // Container child vbox1.Gtk.Box+BoxChild this.buses_Nb = new global::Gtk.Notebook(); this.buses_Nb.CanFocus = true; this.buses_Nb.Name = "buses_Nb"; this.buses_Nb.CurrentPage = 0; this.buses_Nb.BorderWidth = ((uint)(3)); // Notebook tab global::Gtk.Label w12 = new global::Gtk.Label(); w12.Visible = true; this.buses_Nb.Add(w12); this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("(No Title)"); this.buses_Nb.SetTabLabel(w12, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.buses_Nb); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buses_Nb])); w13.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w14.Position = 3; w14.Expand = false; w14.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 798; this.Show(); this.SessionBus.Activated += new global::System.EventHandler(this.OnSessionBusActivated); this.SystemBus.Activated += new global::System.EventHandler(this.OnSystemBusActivated); this.quit.Activated += new global::System.EventHandler(this.OnDeleteEvent); this.quit1.Activated += new global::System.EventHandler(this.OnDeleteEvent); this.about.Activated += new global::System.EventHandler(this.OnAboutActivated); this.CustomBus.Activated += new global::System.EventHandler(this.OnCustomBusActivated); this.NewTabAction.Activated += new global::System.EventHandler(this.OnNewTabActionActivated); this.buses_Nb.SwitchPage += new global::Gtk.SwitchPageHandler(this.OnBusesNbSwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.OpenURLAction = new global::Gtk.Action ("OpenURLAction", global::Mono.Unix.Catalog.GetString ("_Open URL..."), null, null); this.OpenURLAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open URL ..."); w1.Add (this.OpenURLAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("_Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Exit"); w1.Add (this.ExitAction, null); this.MediaPlayerAction = new global::Gtk.Action ("MediaPlayerAction", global::Mono.Unix.Catalog.GetString ("_Media Player"), null, null); this.MediaPlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Media Player"); w1.Add (this.MediaPlayerAction, null); this.AlwaysOnTopAction = new global::Gtk.ToggleAction ("AlwaysOnTopAction", global::Mono.Unix.Catalog.GetString ("Always on Top"), null, null); this.AlwaysOnTopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Always on Top"); w1.Add (this.AlwaysOnTopAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("_About..."), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About..."); w1.Add (this.AboutAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("LiveStreamer"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-network", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenURLAction' action='OpenURLAction'/><menuitem name='ExitAction' action='ExitAction'/></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.vbox2.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanDefault = true; this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 273; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.streamList = new global::Gtk.TreeView (); this.streamList.CanFocus = true; this.streamList.Name = "streamList"; this.streamList.Reorderable = true; this.streamList.SearchColumn = 0; this.GtkScrolledWindow.Add (this.streamList); this.hbox4.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.GtkScrolledWindow])); w4.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbuttonbox2 = new global::Gtk.VButtonBox (); this.vbuttonbox2.Name = "vbuttonbox2"; this.vbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox (); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); w6.Add (w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label (); w9.LabelProp = global::Mono.Unix.Catalog.GetString ("_Add"); w9.UseUnderline = true; w6.Add (w9); w5.Add (w6); this.button2.Add (w5); this.vbuttonbox2.Add (this.button2); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button2])); w13.Expand = false; w13.Fill = false; // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button4 = new global::Gtk.Button (); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; // Container child button4.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox (); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image (); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); w15.Add (w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label (); w18.LabelProp = global::Mono.Unix.Catalog.GetString ("_Remove"); w18.UseUnderline = true; w15.Add (w18); w14.Add (w15); this.button4.Add (w14); this.vbuttonbox2.Add (this.button4); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox4.Add (this.vbuttonbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbuttonbox2])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hpaned1.Add (this.hbox4); global::Gtk.Paned.PanedChild w24 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hbox4])); w24.Resize = false; w24.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.fixed11 = new global::Gtk.Fixed (); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; // Container child fixed11.Gtk.Fixed+FixedChild this.frame3 = new global::Gtk.Frame (); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); this.GtkAlignment3.BorderWidth = ((uint)(3)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.table4 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.addPlayerButton = new global::Gtk.Button (); this.addPlayerButton.CanFocus = true; this.addPlayerButton.Name = "addPlayerButton"; this.addPlayerButton.UseUnderline = true; // Container child addPlayerButton.Gtk.Container+ContainerChild global::Gtk.Alignment w25 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w26 = new global::Gtk.HBox (); w26.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w27 = new global::Gtk.Image (); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); w26.Add (w27); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w29 = new global::Gtk.Label (); w26.Add (w29); w25.Add (w26); this.addPlayerButton.Add (w25); this.table4.Add (this.addPlayerButton); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table4 [this.addPlayerButton])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Media Player"); this.table4.Add (this.label2); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Quality"); this.table4.Add (this.label3); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.mediaPlayerCombo = global::Gtk.ComboBox.NewText (); this.mediaPlayerCombo.AppendText (global::Mono.Unix.Catalog.GetString ("vlc")); this.mediaPlayerCombo.AppendText (global::Mono.Unix.Catalog.GetString ("mplayer")); this.mediaPlayerCombo.Name = "mediaPlayerCombo"; this.mediaPlayerCombo.Active = 0; this.table4.Add (this.mediaPlayerCombo); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4 [this.mediaPlayerCombo])); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.qualityCombo = global::Gtk.ComboBox.NewText (); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("best")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("1080p+")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("1080p")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("720p+")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("720p")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("480p")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("360p")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("240p")); this.qualityCombo.AppendText (global::Mono.Unix.Catalog.GetString ("worst")); this.qualityCombo.Name = "qualityCombo"; this.qualityCombo.Active = 0; this.table4.Add (this.qualityCombo); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4 [this.qualityCombo])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment3.Add (this.table4); this.frame3.Add (this.GtkAlignment3); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.WidthRequest = 200; this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.Xalign = 0F; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("Options"); this.GtkLabel6.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel6; this.fixed11.Add (this.frame3); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.frame3])); w40.X = 13; w40.Y = 4; this.hpaned1.Add (this.fixed11); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w42.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.stdOutStatus = new global::Gtk.Statusbar (); this.stdOutStatus.Name = "stdOutStatus"; this.stdOutStatus.Spacing = 6; this.stdOutStatus.HasResizeGrip = false; // Container child stdOutStatus.Gtk.Box+BoxChild this.watchButton = new global::Gtk.Button (); this.watchButton.CanFocus = true; this.watchButton.Name = "watchButton"; this.watchButton.UseUnderline = true; this.watchButton.Label = global::Mono.Unix.Catalog.GetString ("Watch"); this.stdOutStatus.Add (this.watchButton); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.stdOutStatus [this.watchButton])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox2.Add (this.stdOutStatus); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.stdOutStatus])); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 510; this.DefaultHeight = 203; this.hpaned1.HasDefault = true; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenURLAction.Activated += new global::System.EventHandler (this.OpenURL); this.ExitAction.Activated += new global::System.EventHandler (this.OnQuit); this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.button2.Clicked += new global::System.EventHandler (this.AddStream); this.button4.Clicked += new global::System.EventHandler (this.RemoveStream); this.addPlayerButton.Clicked += new global::System.EventHandler (this.EditPlayers); this.watchButton.Clicked += new global::System.EventHandler (this.WatchSelectedStream); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.CODEAction = new global::Gtk.Action("CODEAction", global::Mono.Unix.Catalog.GetString("CODE"), null, null); this.CODEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CODE"); w1.Add(this.CODEAction, null); this.AddFileAction = new global::Gtk.Action("AddFileAction", global::Mono.Unix.Catalog.GetString("Add File"), null, null); this.AddFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add File"); w1.Add(this.AddFileAction, null); this.CODEAction1 = new global::Gtk.Action("CODEAction1", global::Mono.Unix.Catalog.GetString("CODE"), null, null); this.CODEAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("CODE"); w1.Add(this.CODEAction1, null); this.AddFileAction1 = new global::Gtk.Action("AddFileAction1", global::Mono.Unix.Catalog.GetString("Add File"), null, null); this.AddFileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Add File"); w1.Add(this.AddFileAction1, null); this.CONSOLEAction = new global::Gtk.Action("CONSOLEAction", global::Mono.Unix.Catalog.GetString("CONSOLE"), null, null); this.CONSOLEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CONSOLE"); w1.Add(this.CONSOLEAction, null); this.AutoHideAction = new global::Gtk.ToggleAction("AutoHideAction", global::Mono.Unix.Catalog.GetString("AutoHide"), null, null); this.AutoHideAction.Active = true; this.AutoHideAction.ShortLabel = global::Mono.Unix.Catalog.GetString("AutoHide"); w1.Add(this.AutoHideAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Team Seven Interpreter"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-spell-check", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='CODEAction1' action='CODEAction1'><menuitem name='AddFileAction1' action='AddFileAction1'/></menu><menu name='CONSOLEAction' action='CONSOLEAction'><menuitem name='AutoHideAction' action='AutoHideAction'/><separator/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.UpperWindow = new global::Gtk.HBox(); this.UpperWindow.Name = "UpperWindow"; this.UpperWindow.Spacing = 6; // Container child UpperWindow.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.TextEditor = new global::Gtk.TextView(); this.TextEditor.CanFocus = true; this.TextEditor.Name = "TextEditor"; this.TextEditor.PixelsAboveLines = 5; this.TextEditor.LeftMargin = 10; this.TextEditor.RightMargin = 10; this.GtkScrolledWindow.Add(this.TextEditor); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w4.Position = 0; this.UpperWindow.Add(this.vbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.UpperWindow [this.vbox3])); w5.Position = 0; // Container child UpperWindow.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.entry3 = new global::Gtk.Entry(); this.entry3.WidthRequest = 10; this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.Text = global::Mono.Unix.Catalog.GetString("LEXEMES"); this.entry3.IsEditable = false; this.entry3.InvisibleChar = '•'; this.vbox4.Add(this.entry3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.entry3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.LexTree = new global::Gtk.TreeView(); this.LexTree.CanFocus = true; this.LexTree.Name = "LexTree"; this.GtkScrolledWindow2.Add(this.LexTree); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w8.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.entry4 = new global::Gtk.Entry(); this.entry4.WidthRequest = 10; this.entry4.Name = "entry4"; this.entry4.Text = global::Mono.Unix.Catalog.GetString("SYMBOL TABLE"); this.entry4.IsEditable = false; this.entry4.InvisibleChar = '•'; this.vbox4.Add(this.entry4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.entry4])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child vbox4.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.SymbTree = new global::Gtk.TreeView(); this.SymbTree.CanFocus = true; this.SymbTree.Name = "SymbTree"; this.GtkScrolledWindow1.Add(this.SymbTree); this.vbox4.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w11.Position = 3; this.UpperWindow.Add(this.vbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.UpperWindow [this.vbox4])); w12.Position = 1; this.vbox2.Add(this.UpperWindow); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.UpperWindow])); w13.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.ExecuteBtn = new global::Gtk.Button(); this.ExecuteBtn.CanFocus = true; this.ExecuteBtn.Name = "ExecuteBtn"; this.ExecuteBtn.UseUnderline = true; this.ExecuteBtn.Label = "EXECUTE"; this.vbox2.Add(this.ExecuteBtn); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ExecuteBtn])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ConsoleLabel = new global::Gtk.Label(); this.ConsoleLabel.Name = "ConsoleLabel"; this.ConsoleLabel.Xpad = 10; this.ConsoleLabel.Xalign = 0F; this.ConsoleLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Console"); this.hbox2.Add(this.ConsoleLabel); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ConsoleLabel])); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w16.Position = 3; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.ConsoleWindow = new global::Gtk.HBox(); this.ConsoleWindow.Name = "ConsoleWindow"; this.ConsoleWindow.Spacing = 6; // Container child ConsoleWindow.Gtk.Box+BoxChild this.Window2 = new global::Gtk.ScrolledWindow(); this.Window2.Name = "Window2"; this.Window2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child Window2.Gtk.Container+ContainerChild this.Console = new global::Gtk.TextView(); this.Console.Name = "Console"; this.Console.Editable = false; this.Console.CursorVisible = false; this.Console.AcceptsTab = false; this.Console.PixelsAboveLines = 5; this.Console.PixelsBelowLines = 5; this.Console.LeftMargin = 15; this.Console.RightMargin = 15; this.Window2.Add(this.Console); this.ConsoleWindow.Add(this.Window2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.ConsoleWindow [this.Window2])); w18.Position = 0; this.vbox2.Add(this.ConsoleWindow); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ConsoleWindow])); w19.Position = 4; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 734; this.DefaultHeight = 485; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AddFileAction.Activated += new global::System.EventHandler(this.OnAddFileActionActivated); this.AddFileAction1.Activated += new global::System.EventHandler(this.OnAddFileActionActivated); this.AutoHideAction.Toggled += new global::System.EventHandler(this.OnAutoHideActionToggled); this.ExecuteBtn.Clicked += new global::System.EventHandler(this.OnExecuteBtnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Smuxi.Frontend.Gnome.MenuWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.f_SmuxiAction = new global::Gtk.Action ("f_SmuxiAction", global::Mono.Unix.Catalog.GetString ("_Smuxi"), null, null); this.f_SmuxiAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Smuxi"); w2.Add (this.f_SmuxiAction, null); this.ServerAction = new global::Gtk.Action ("ServerAction", global::Mono.Unix.Catalog.GetString ("_Server"), null, null); this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Server"); w2.Add (this.ServerAction, null); this.ChatAction = new global::Gtk.Action ("ChatAction", global::Mono.Unix.Catalog.GetString ("_Chat"), null, null); this.ChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Chat"); w2.Add (this.ChatAction, null); this.EngineAction = new global::Gtk.Action ("EngineAction", global::Mono.Unix.Catalog.GetString ("_Engine"), null, null); this.EngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Engine"); w2.Add (this.EngineAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w2.Add (this.ViewAction, null); this.f_HelpAction = new global::Gtk.Action ("f_HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.f_HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w2.Add (this.f_HelpAction, null); this.f_ConnectToolAction = new global::Gtk.Action ("f_ConnectToolAction", global::Mono.Unix.Catalog.GetString ("Connect"), null, "gtk-network"); this.f_ConnectToolAction.IsImportant = true; this.f_ConnectToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Connect"); w2.Add (this.f_ConnectToolAction, null); this.f_OpenLogToolAction = new global::Gtk.Action ("f_OpenLogToolAction", global::Mono.Unix.Catalog.GetString ("Open Log"), null, "gtk-open"); this.f_OpenLogToolAction.IsImportant = true; this.f_OpenLogToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Log"); w2.Add (this.f_OpenLogToolAction, null); this.f_FullscreenToolAction = new global::Gtk.Action ("f_FullscreenToolAction", null, null, "gtk-fullscreen"); this.f_FullscreenToolAction.IsImportant = true; w2.Add (this.f_FullscreenToolAction, null); this.f_PreferencesToolAction = new global::Gtk.Action ("f_PreferencesToolAction", null, null, "gtk-preferences"); this.f_PreferencesToolAction.IsImportant = true; w2.Add (this.f_PreferencesToolAction, null); this.f_PreferencesAction = new global::Gtk.Action ("f_PreferencesAction", global::Mono.Unix.Catalog.GetString ("_Preferences"), null, "gtk-preferences"); this.f_PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Preferences"); w2.Add (this.f_PreferencesAction, null); this.f_QuitAction = new global::Gtk.Action ("f_QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.f_QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w2.Add (this.f_QuitAction, null); this.f_ConnectAction = new global::Gtk.Action ("f_ConnectAction", global::Mono.Unix.Catalog.GetString ("_Connect"), null, "gtk-network"); this.f_ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Connect"); w2.Add (this.f_ConnectAction, null); this.f_AddServerAction = new global::Gtk.Action ("f_AddServerAction", global::Mono.Unix.Catalog.GetString ("_Add"), null, "gtk-add"); this.f_AddServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Add"); w2.Add (this.f_AddServerAction, null); this.f_ManageServerAction = new global::Gtk.Action ("f_ManageServerAction", global::Mono.Unix.Catalog.GetString ("_Manage"), null, "gtk-edit"); this.f_ManageServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Manage"); w2.Add (this.f_ManageServerAction, null); this.f_JoinChatAction = new global::Gtk.Action ("f_JoinChatAction", global::Mono.Unix.Catalog.GetString ("_Open / Join Chat"), null, null); this.f_JoinChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open / Join Chat"); w2.Add (this.f_JoinChatAction, "<Control>l"); this.f_FindGroupChatAction = new global::Gtk.Action ("f_FindGroupChatAction", global::Mono.Unix.Catalog.GetString ("_Find Group Chat"), null, null); this.f_FindGroupChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Find Group Chat"); w2.Add (this.f_FindGroupChatAction, null); this.f_ClearAllActivityAction = new global::Gtk.Action ("f_ClearAllActivityAction", global::Mono.Unix.Catalog.GetString ("C_lear All Activity"), null, "gtk-clear"); this.f_ClearAllActivityAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("C_lear All Activity"); w2.Add (this.f_ClearAllActivityAction, null); this.f_NextChatAction = new global::Gtk.Action ("f_NextChatAction", global::Mono.Unix.Catalog.GetString ("_Next Chat"), null, "gtk-go-forward"); this.f_NextChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Next Chat"); w2.Add (this.f_NextChatAction, "<Control>Page_Down"); this.f_PreviousChatAction = new global::Gtk.Action ("f_PreviousChatAction", global::Mono.Unix.Catalog.GetString ("_Previous Chat"), null, "gtk-go-back"); this.f_PreviousChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Previous Chat"); w2.Add (this.f_PreviousChatAction, "<Control>Page_Up"); this.f_CloseChatAction = new global::Gtk.Action ("f_CloseChatAction", global::Mono.Unix.Catalog.GetString ("_Close"), null, "gtk-close"); this.f_CloseChatAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Close"); w2.Add (this.f_CloseChatAction, null); this.f_UseLocalEngineAction = new global::Gtk.Action ("f_UseLocalEngineAction", global::Mono.Unix.Catalog.GetString ("_Use Local Engine"), null, null); this.f_UseLocalEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Use Local Engine"); w2.Add (this.f_UseLocalEngineAction, null); this.f_AddRemoteEngineAction = new global::Gtk.Action ("f_AddRemoteEngineAction", global::Mono.Unix.Catalog.GetString ("_Add Remote Engine"), null, null); this.f_AddRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Add Remote Engine"); w2.Add (this.f_AddRemoteEngineAction, null); this.f_SwitchRemoteEngineAction = new global::Gtk.Action ("f_SwitchRemoteEngineAction", global::Mono.Unix.Catalog.GetString ("Switch Remote Engine"), null, null); this.f_SwitchRemoteEngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Switch Remote Engine"); w2.Add (this.f_SwitchRemoteEngineAction, null); this.f_CaretModeAction = new global::Gtk.ToggleAction ("f_CaretModeAction", global::Mono.Unix.Catalog.GetString ("_Caret Mode"), null, null); this.f_CaretModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Caret Mode"); w2.Add (this.f_CaretModeAction, "F7"); this.f_BrowseModeAction = new global::Gtk.ToggleAction ("f_BrowseModeAction", global::Mono.Unix.Catalog.GetString ("_Browse Mode"), null, null); this.f_BrowseModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Browse Mode"); w2.Add (this.f_BrowseModeAction, "F8"); this.f_ShowMenubarAction = new global::Gtk.ToggleAction ("f_ShowMenubarAction", global::Mono.Unix.Catalog.GetString ("Show _Menubar"), null, null); this.f_ShowMenubarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show _Menubar"); w2.Add (this.f_ShowMenubarAction, null); this.f_ShowStatusbarAction = new global::Gtk.ToggleAction ("f_ShowStatusbarAction", global::Mono.Unix.Catalog.GetString ("Show _Statusbar"), null, null); this.f_ShowStatusbarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show _Statusbar"); w2.Add (this.f_ShowStatusbarAction, null); this.f_ShowJoinBarAction = new global::Gtk.ToggleAction ("f_ShowJoinBarAction", global::Mono.Unix.Catalog.GetString ("Show _Join Bar"), null, null); this.f_ShowJoinBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show _Join Bar"); w2.Add (this.f_ShowJoinBarAction, null); this.f_FullscreenAction = new global::Gtk.Action ("f_FullscreenAction", global::Mono.Unix.Catalog.GetString ("_Fullscreen"), null, "gtk-fullscreen"); this.f_FullscreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Fullscreen"); w2.Add (this.f_FullscreenAction, "F11"); this.f_AboutAction = new global::Gtk.Action ("f_AboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.f_AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w2.Add (this.f_AboutAction, null); this.f_OpenLogAction = new global::Gtk.Action ("f_OpenLogAction", global::Mono.Unix.Catalog.GetString ("Open Log"), null, null); this.f_OpenLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Log"); w2.Add (this.f_OpenLogAction, null); this.f_FindGroupChatToolAction = new global::Gtk.Action ("f_FindGroupChatToolAction", global::Mono.Unix.Catalog.GetString ("Find Group Chat"), null, null); this.f_FindGroupChatToolAction.IsImportant = true; this.f_FindGroupChatToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Find Group Chat"); w2.Add (this.f_FindGroupChatToolAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "Smuxi.Frontend.Gnome.MenuWidget"; // Container child Smuxi.Frontend.Gnome.MenuWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='f_MenuBar'><menu name='f_SmuxiAction' action='f_SmuxiAction'><menuitem name='f_PreferencesAction' action='f_PreferencesAction'/><menuitem name='f_QuitAction' action='f_QuitAction'/></menu><menu name='ServerAction' action='ServerAction'><menuitem name='f_ConnectAction' action='f_ConnectAction'/><separator/><menuitem name='f_AddServerAction' action='f_AddServerAction'/><menuitem name='f_ManageServerAction' action='f_ManageServerAction'/></menu><menu name='ChatAction' action='ChatAction'><menuitem name='f_JoinChatAction' action='f_JoinChatAction'/><menuitem name='f_FindGroupChatAction' action='f_FindGroupChatAction'/><menuitem name='f_ClearAllActivityAction' action='f_ClearAllActivityAction'/><separator/><menuitem name='f_NextChatAction' action='f_NextChatAction'/><menuitem name='f_PreviousChatAction' action='f_PreviousChatAction'/><separator/><menuitem name='f_OpenLogAction' action='f_OpenLogAction'/><menuitem name='f_CloseChatAction' action='f_CloseChatAction'/></menu><menu name='EngineAction' action='EngineAction'><menuitem name='f_UseLocalEngineAction' action='f_UseLocalEngineAction'/><separator/><menuitem name='f_AddRemoteEngineAction' action='f_AddRemoteEngineAction'/><menuitem name='f_SwitchRemoteEngineAction' action='f_SwitchRemoteEngineAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='f_CaretModeAction' action='f_CaretModeAction'/><menuitem name='f_BrowseModeAction' action='f_BrowseModeAction'/><menuitem name='f_ShowMenubarAction' action='f_ShowMenubarAction'/><menuitem name='f_ShowStatusbarAction' action='f_ShowStatusbarAction'/><menuitem name='f_ShowJoinBarAction' action='f_ShowJoinBarAction'/><menuitem name='f_FullscreenAction' action='f_FullscreenAction'/></menu><menu name='f_HelpAction' action='f_HelpAction'><menuitem name='f_AboutAction' action='f_AboutAction'/></menu></menubar></ui>"); this.f_MenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/f_MenuBar"))); this.f_MenuBar.Name = "f_MenuBar"; this.vbox2.Add (this.f_MenuBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.f_MenuBar])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='f_MenuToolbar'><toolitem name='f_ConnectToolAction' action='f_ConnectToolAction'/><toolitem name='f_FindGroupChatToolAction' action='f_FindGroupChatToolAction'/><toolitem name='f_OpenLogToolAction' action='f_OpenLogToolAction'/><toolitem name='f_FullscreenToolAction' action='f_FullscreenToolAction'/><toolitem name='f_PreferencesToolAction' action='f_PreferencesToolAction'/></toolbar></ui>"); this.f_MenuToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/f_MenuToolbar"))); this.f_MenuToolbar.Name = "f_MenuToolbar"; this.f_MenuToolbar.ShowArrow = false; this.f_MenuToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.f_MenuToolbar.IconSize = ((global::Gtk.IconSize)(3)); this.hbox1.Add (this.f_MenuToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_MenuToolbar])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='f_JoinToolbar'/></ui>"); this.f_JoinToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/f_JoinToolbar"))); this.f_JoinToolbar.Name = "f_JoinToolbar"; this.f_JoinToolbar.ShowArrow = false; this.hbox1.Add (this.f_JoinToolbar); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinToolbar])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 1; w5.Expand = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.f_ConnectToolAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.f_OpenLogToolAction.Activated += new global::System.EventHandler (this.OnOpenLogActionActivated); this.f_FullscreenToolAction.Activated += new global::System.EventHandler (this.OnFullscreenActionActivated); this.f_PreferencesToolAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.f_PreferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.f_QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.f_ConnectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.f_AddServerAction.Activated += new global::System.EventHandler (this.OnAddServerActionActivated); this.f_ManageServerAction.Activated += new global::System.EventHandler (this.OnManageServerActionActivated); this.f_JoinChatAction.Activated += new global::System.EventHandler (this.OnJoinChatActionActivated); this.f_FindGroupChatAction.Activated += new global::System.EventHandler (this.OnFindGroupChatActionActivated); this.f_ClearAllActivityAction.Activated += new global::System.EventHandler (this.OnClearAllActivityActionActivated); this.f_NextChatAction.Activated += new global::System.EventHandler (this.OnNextChatActionActivated); this.f_PreviousChatAction.Activated += new global::System.EventHandler (this.OnPreviousChatActionActivated); this.f_CloseChatAction.Activated += new global::System.EventHandler (this.OnCloseChatActionActivated); this.f_UseLocalEngineAction.Activated += new global::System.EventHandler (this.OnUseLocalEngineActionActivated); this.f_AddRemoteEngineAction.Activated += new global::System.EventHandler (this.OnAddRemoteEngineActionActivated); this.f_SwitchRemoteEngineAction.Activated += new global::System.EventHandler (this.OnSwitchRemoteEngineActionActivated); this.f_CaretModeAction.Toggled += new global::System.EventHandler (this.OnCaretModeActionToggled); this.f_BrowseModeAction.Toggled += new global::System.EventHandler (this.OnBrowseModeActionToggled); this.f_ShowMenubarAction.Toggled += new global::System.EventHandler (this.OnShowMenubarActionToggled); this.f_ShowStatusbarAction.Toggled += new global::System.EventHandler (this.OnShowStatusbarActionToggled); this.f_ShowJoinBarAction.Toggled += new global::System.EventHandler (this.OnShowJoinBarActionToggled); this.f_FullscreenAction.Activated += new global::System.EventHandler (this.OnFullscreenActionActivated); this.f_AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.f_OpenLogAction.Activated += new global::System.EventHandler (this.OnOpenLogActionActivated); this.f_FindGroupChatToolAction.Activated += new global::System.EventHandler (this.OnFindGroupChatActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.CSharp.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.AttachToProcessAction = new global::Gtk.Action("AttachToProcessAction", global::Mono.Unix.Catalog.GetString("Attach to Process"), null, null); this.AttachToProcessAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Attach to Process"); w1.Add(this.AttachToProcessAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.gtkpane = new global::Gtk.ToggleAction("gtkpane", global::Mono.Unix.Catalog.GetString("Gtk Pane"), null, null); this.gtkpane.ShortLabel = global::Mono.Unix.Catalog.GetString("Gtk Pane"); w1.Add(this.gtkpane, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.DescribeTypeAction = new global::Gtk.Action("DescribeTypeAction", global::Mono.Unix.Catalog.GetString("Describe Type"), null, null); this.DescribeTypeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Describe Type"); w1.Add(this.DescribeTypeAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Mono.CSharp.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 600; this.DefaultHeight = 500; // Container child Mono.CSharp.Gui.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='AttachToProcessAction' action='AttachToProcessAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='gtkpane' action='gtkpane'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='DescribeTypeAction' action='DescribeTypeAction'/></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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 472; // Container child hpaned.Gtk.Paned+PanedChild this.paned_container = new global::Gtk.EventBox(); this.paned_container.Name = "paned_container"; this.hpaned.Add(this.paned_container); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.paned_container])); w3.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0.1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Set the contents of this pane by adding Gtk.Widgets children to the <b>PaneContainer</b> property. The PaneContainer is a Gtk.EventBox. \n\nTry it like this:\n\nLoadPackage (\"gtk-sharp-2.0\");\nvar l = new Label (\"Hello world\");\nPaneContainer.Add (l);\nl.ShowAll ();"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.expander1.Add(this.label4); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>PaneContent</b>"); this.GtkLabel4.UseMarkup = true; this.GtkLabel4.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel4; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.eventbox = new global::Gtk.EventBox(); this.eventbox.Name = "eventbox"; this.vbox2.Add(this.eventbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.eventbox])); w6.Position = 1; this.hpaned.Add(this.vbox2); this.notebook1.Add(this.hpaned); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebook1.SetTabLabel(this.hpaned, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.standalone_container = new global::Gtk.EventBox(); this.standalone_container.Name = "standalone_container"; // Container child standalone_container.Gtk.Container+ContainerChild this.shellnotebook = new global::Gtk.Notebook(); this.shellnotebook.CanFocus = true; this.shellnotebook.Name = "shellnotebook"; this.shellnotebook.CurrentPage = 0; this.shellnotebook.ShowTabs = false; this.shellnotebook.Scrollable = true; // Container child shellnotebook.Gtk.Notebook+NotebookChild this.sw = new global::Gtk.ScrolledWindow(); this.sw.CanFocus = true; this.sw.Name = "sw"; this.sw.ShadowType = ((global::Gtk.ShadowType)(1)); this.shellnotebook.Add(this.sw); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("C#"); this.shellnotebook.SetTabLabel(this.sw, this.label3); this.label3.ShowAll(); this.standalone_container.Add(this.shellnotebook); this.notebook1.Add(this.standalone_container); global::Gtk.Notebook.NotebookChild w11 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.standalone_container])); w11.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebook1.SetTabLabel(this.standalone_container, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w12.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.AttachToProcessAction.Activated += new global::System.EventHandler(this.OnAttachToProcessActionActivated); this.DescribeTypeAction.Activated += new global::System.EventHandler(this.OnDescribeTypeActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewPojectAction = new global::Gtk.Action("NewPojectAction", global::Mono.Unix.Catalog.GetString("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_New Project"); w1.Add(this.NewPojectAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open Project"); w1.Add(this.openAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action("CloseProjectAction", global::Mono.Unix.Catalog.GetString("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Close Project"); w1.Add(this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database Manager"); w1.Add(this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Templates Manager"); w1.Add(this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction("FullScreenAction", global::Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Full Screen"); w1.Add(this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction("PlaylistAction", global::Mono.Unix.Catalog.GetString("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Playlist"); w1.Add(this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction("TaggingViewAction", global::Mono.Unix.Catalog.GetString("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture Mode"); w1.Add(this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction("TimelineViewAction", global::Mono.Unix.Catalog.GetString("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Analyze Mode"); w1.Add(this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action("SaveProjectAction", global::Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save Project"); w1.Add(this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add(this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Templates Manager"); w1.Add(this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hide All Widgets"); w1.Add(this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction("DrawingToolAction", global::Mono.Unix.Catalog.GetString("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drawing Tool"); w1.Add(this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action("ImportProjectAction", global::Mono.Unix.Catalog.GetString("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import Project"); w1.Add(this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Free Capture Mode"); w1.Add(this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TimelineViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game units view"); w1.Add(this.GameUnitsViewAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.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.menubox = new global::Gtk.VBox(); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='ExportProjectToCSVFileAction' action='ExportProjectToCSVFileAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 161; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 3; this.notebook1.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook1.Gtk.Notebook+NotebookChild this.playsList = new global::LongoMatch.Gui.Component.PlaysListTreeWidget(); this.playsList.Events = ((global::Gdk.EventMask)(256)); this.playsList.Name = "playsList"; this.notebook1.Add(this.playsList); // Notebook tab this.playslabel = new global::Gtk.Label(); this.playslabel.Name = "playslabel"; this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Plays"); this.notebook1.SetTabLabel(this.playsList, this.playslabel); this.playslabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.localPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget(); this.localPlayersList.Events = ((global::Gdk.EventMask)(256)); this.localPlayersList.Name = "localPlayersList"; this.notebook1.Add(this.localPlayersList); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList])); w5.Position = 1; // Notebook tab this.localteamlabel = new global::Gtk.Label(); this.localteamlabel.Name = "localteamlabel"; this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Local Team"); this.notebook1.SetTabLabel(this.localPlayersList, this.localteamlabel); this.localteamlabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.visitorPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget(); this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256)); this.visitorPlayersList.Name = "visitorPlayersList"; this.notebook1.Add(this.visitorPlayersList); global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList])); w6.Position = 2; // Notebook tab this.visitorteamlabel = new global::Gtk.Label(); this.visitorteamlabel.Name = "visitorteamlabel"; this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Visitor Team"); this.notebook1.SetTabLabel(this.visitorPlayersList, this.visitorteamlabel); this.visitorteamlabel.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.tagsList = new global::LongoMatch.Gui.Component.TagsTreeWidget(); this.tagsList.Sensitive = false; this.tagsList.Events = ((global::Gdk.EventMask)(256)); this.tagsList.Name = "tagsList"; this.notebook1.Add(this.tagsList); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList])); w7.Position = 3; // Notebook tab this.tagslabel = new global::Gtk.Label(); this.tagslabel.Name = "tagslabel"; this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tags"); this.notebook1.SetTabLabel(this.tagsList, this.tagslabel); this.tagslabel.ShowAll(); this.leftbox.Add(this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1])); w8.Position = 0; this.hpaned.Add(this.leftbox); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w9.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 834; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox(); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox(); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox(); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add(this.drawingtoolbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.player = new global::LongoMatch.Gui.PlayerBin(); this.player.Events = ((global::Gdk.EventMask)(256)); this.player.Name = "player"; this.player.Rate = 1F; this.player.ExpandLogo = true; this.videowidgetsbox.Add(this.player); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player])); w11.Position = 1; // Container child videowidgetsbox.Gtk.Box+BoxChild this.capturer = new global::LongoMatch.Gui.CapturerBin(); this.capturer.Events = ((global::Gdk.EventMask)(256)); this.capturer.Name = "capturer"; this.videowidgetsbox.Add(this.capturer); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer])); w12.Position = 2; this.downbox.Add(this.videowidgetsbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w13.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget(); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add(this.buttonswidget); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w14.Position = 1; w14.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger(); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add(this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w15.Position = 2; w15.Expand = false; this.hpaned1.Add(this.downbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w16.Resize = false; w16.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.rightvbox = new global::Gtk.VBox(); this.rightvbox.WidthRequest = 100; this.rightvbox.Name = "rightvbox"; this.rightvbox.Spacing = 6; // Container child rightvbox.Gtk.Box+BoxChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget(); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.rightvbox.Add(this.notes); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes])); w17.Position = 0; // Container child rightvbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget(); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.rightvbox.Add(this.playlist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist])); w18.Position = 1; this.hpaned1.Add(this.rightvbox); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox])); w19.Resize = false; w19.Shrink = false; this.hpaned.Add(this.hpaned1); global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w20.Resize = false; w20.Shrink = false; this.vbox1.Add(this.hpaned); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w21.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar(); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add(this.renderingstatebar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1224; this.DefaultHeight = 681; this.leftbox.Hide(); this.drawingtoolbox1.Hide(); this.buttonswidget.Hide(); this.notes.Hide(); this.playlist.Hide(); this.rightvbox.Hide(); this.renderingstatebar1.Hide(); this.Show(); this.NewPojectAction.Activated += new global::System.EventHandler(this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler(this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler(this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler(this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler(this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler(this.OnViewToggled); this.playsList.TimeNodeSelected += new global::LongoMatch.Handlers.PlaySelectedHandler(this.OnTimeNodeSelected); this.player.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnPlayerbin1Error); this.player.SegmentClosedEvent += new global::LongoMatch.Video.Common.SegmentClosedHandler(this.OnSegmentClosedEvent); this.capturer.Error += new global::LongoMatch.Video.Common.ErrorHandler(this.OnCapturerBinError); }
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 MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, "<Alt>f"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.OpenAction, "<Primary>o"); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, "<Primary>q"); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save"); w1.Add (this.SaveAction, "<Primary>s"); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.ViewAction, "<Alt>f"); this.AnimationsAction = new global::Gtk.ToggleAction ("AnimationsAction", global::Mono.Unix.Catalog.GetString ("_Animations"), null, null); this.AnimationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Animations"); w1.Add (this.AnimationsAction, "<Primary>a"); this.RedrawMinimapsAction = new global::Gtk.Action ("RedrawMinimapsAction", global::Mono.Unix.Catalog.GetString ("Redraw Minimaps"), null, null); this.RedrawMinimapsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redraw Minimaps"); w1.Add (this.RedrawMinimapsAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit"); w1.Add (this.EditAction, "<Alt>e"); this.WarpsAction = new global::Gtk.Action ("WarpsAction", global::Mono.Unix.Catalog.GetString ("_Warps"), null, null); this.WarpsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Warps"); w1.Add (this.WarpsAction, "<Primary>w"); this.PluginsAction = new global::Gtk.Action ("PluginsAction", global::Mono.Unix.Catalog.GetString ("Plugins"), null, null); this.PluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Plugins"); w1.Add (this.PluginsAction, null); this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open"); w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Lynna Lab"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='SaveAction' action='SaveAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='WarpsAction' action='WarpsAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='AnimationsAction' action='AnimationsAction'/></menu><menu name='PluginsAction' action='PluginsAction'/></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.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.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.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Room"); this.table4.Add (this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.roomSpinButton = new global::LynnaLab.SpinButtonHexadecimal (); this.roomSpinButton.CanFocus = true; this.roomSpinButton.Name = "roomSpinButton"; this.roomSpinButton.Adjustment.Upper = 1535; this.roomSpinButton.Adjustment.PageIncrement = 10; this.roomSpinButton.Adjustment.StepIncrement = 1; this.roomSpinButton.ClimbRate = 1; this.roomSpinButton.Digits = ((uint)(3)); this.roomSpinButton.Numeric = true; this.table4.Add (this.roomSpinButton); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.roomSpinButton])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add (this.table4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table4])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.areaEditorButton = new global::Gtk.Button (); this.areaEditorButton.CanFocus = true; this.areaEditorButton.Name = "areaEditorButton"; this.areaEditorButton.UseUnderline = true; this.areaEditorButton.Label = global::Mono.Unix.Catalog.GetString ("Edit"); this.table3.Add (this.areaEditorButton); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaEditorButton])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.areaSpinButton = new global::LynnaLab.SpinButtonHexadecimal (); this.areaSpinButton.CanFocus = true; this.areaSpinButton.Name = "areaSpinButton"; this.areaSpinButton.Adjustment.Upper = 255; this.areaSpinButton.Adjustment.PageIncrement = 10; this.areaSpinButton.Adjustment.StepIncrement = 1; this.areaSpinButton.ClimbRate = 1; this.areaSpinButton.Digits = ((uint)(2)); this.areaSpinButton.Numeric = true; this.table3.Add (this.areaSpinButton); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaSpinButton])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Music"); this.table3.Add (this.label4); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Area"); this.table3.Add (this.label8); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.label8])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.musicComboBox = new global::LynnaLab.ComboBoxFromConstants (); this.musicComboBox.Events = ((global::Gdk.EventMask)(256)); this.musicComboBox.Name = "musicComboBox"; this.musicComboBox.Active = 0; this.musicComboBox.ActiveValue = 0; this.table3.Add (this.musicComboBox); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.musicComboBox])); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add (this.table3); this.frame1.Add (this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("Room Properties"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.vbox5.Add (this.frame1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.viewObjectsCheckBox = new global::Gtk.CheckButton (); this.viewObjectsCheckBox.CanFocus = true; this.viewObjectsCheckBox.Name = "viewObjectsCheckBox"; this.viewObjectsCheckBox.Label = global::Mono.Unix.Catalog.GetString ("View Objects"); this.viewObjectsCheckBox.DrawIndicator = true; this.viewObjectsCheckBox.UseUnderline = true; this.viewObjectsCheckBox.FocusOnClick = false; this.vbox6.Add (this.viewObjectsCheckBox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.viewObjectsCheckBox])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.objectgroupeditor1 = new global::LynnaLab.ObjectGroupEditor (); this.objectgroupeditor1.Events = ((global::Gdk.EventMask)(256)); this.objectgroupeditor1.Name = "objectgroupeditor1"; this.objectgroupeditor1.SelectedIndex = 0; this.vbox6.Add (this.objectgroupeditor1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.objectgroupeditor1])); w16.Position = 1; this.GtkAlignment1.Add (this.vbox6); this.frame2.Add (this.GtkAlignment1); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("Objects"); this.GtkLabel10.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel10; this.vbox5.Add (this.frame2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame2])); w19.PackType = ((global::Gtk.PackType)(1)); w19.Position = 2; this.hbox1.Add (this.vbox5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.areaviewer1 = new global::LynnaLab.AreaViewer (); this.areaviewer1.WidthRequest = 256; this.areaviewer1.HeightRequest = 256; this.areaviewer1.Name = "areaviewer1"; this.vbox3.Add (this.areaviewer1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.areaviewer1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.roomeditor1 = new global::LynnaLab.RoomEditor (); this.roomeditor1.WidthRequest = 240; this.roomeditor1.HeightRequest = 224; this.roomeditor1.Name = "roomeditor1"; this.roomeditor1.ViewObjects = false; this.vbox3.Add (this.roomeditor1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.roomeditor1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox1])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("World Index"); this.table2.Add (this.label7); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.worldSpinButton = new global::Gtk.SpinButton (0, 100, 1); this.worldSpinButton.CanFocus = true; this.worldSpinButton.Name = "worldSpinButton"; this.worldSpinButton.Adjustment.PageIncrement = 10; this.worldSpinButton.ClimbRate = 1; this.worldSpinButton.Numeric = true; this.table2.Add (this.worldSpinButton); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.worldSpinButton])); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.table2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table2])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.darkenDungeonRoomsCheckbox = new global::Gtk.CheckButton (); this.darkenDungeonRoomsCheckbox.CanFocus = true; this.darkenDungeonRoomsCheckbox.Name = "darkenDungeonRoomsCheckbox"; this.darkenDungeonRoomsCheckbox.Label = global::Mono.Unix.Catalog.GetString ("Darken used dungeon rooms"); this.darkenDungeonRoomsCheckbox.Active = true; this.darkenDungeonRoomsCheckbox.DrawIndicator = true; this.darkenDungeonRoomsCheckbox.UseUnderline = true; this.vbox4.Add (this.darkenDungeonRoomsCheckbox); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.darkenDungeonRoomsCheckbox])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.worldMinimap = new global::LynnaLab.HighlightingMinimap (); this.worldMinimap.Name = "worldMinimap"; this.worldMinimap.Floor = 0; this.vbox4.Add (this.worldMinimap); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.worldMinimap])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.notebook2.Add (this.vbox4); // Notebook tab this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Worlds"); this.notebook2.SetTabLabel (this.vbox4, this.label5); this.label5.ShowAll (); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.dungeonSpinButton = new global::Gtk.SpinButton (0, 100, 1); this.dungeonSpinButton.CanFocus = true; this.dungeonSpinButton.Name = "dungeonSpinButton"; this.dungeonSpinButton.Adjustment.PageIncrement = 10; this.dungeonSpinButton.ClimbRate = 1; this.dungeonSpinButton.Numeric = true; this.table1.Add (this.dungeonSpinButton); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.dungeonSpinButton])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.floorSpinButton = new global::Gtk.SpinButton (0, 100, 1); this.floorSpinButton.CanFocus = true; this.floorSpinButton.Name = "floorSpinButton"; this.floorSpinButton.Adjustment.PageIncrement = 10; this.floorSpinButton.ClimbRate = 1; this.floorSpinButton.Numeric = true; this.table1.Add (this.floorSpinButton); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.floorSpinButton])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Floor"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Dungeon Index"); this.table1.Add (this.label6); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox7.Add (this.table1); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.table1])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.dungeonMinimap = new global::LynnaLab.Minimap (); this.dungeonMinimap.WidthRequest = 240; this.dungeonMinimap.HeightRequest = 176; this.dungeonMinimap.Name = "dungeonMinimap"; this.dungeonMinimap.Floor = 0; this.vbox7.Add (this.dungeonMinimap); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.dungeonMinimap])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.notebook2.Add (this.vbox7); global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox7])); w37.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Dungeons"); this.notebook2.SetTabLabel (this.vbox7, this.label9); this.label9.ShowAll (); this.hbox3.Add (this.notebook2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.notebook2])); w38.Position = 1; w38.Expand = false; w38.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0F, 1F, 0.53F); this.alignment2.Name = "alignment2"; this.hbox3.Add (this.alignment2); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment2])); w39.Position = 2; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w40.Position = 2; w40.Expand = false; w40.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w41.PackType = ((global::Gtk.PackType)(1)); w41.Position = 3; w41.Expand = false; w41.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 974; this.DefaultHeight = 627; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.SaveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.AnimationsAction.Activated += new global::System.EventHandler (this.OnAnimationsActionActivated); this.WarpsAction.Activated += new global::System.EventHandler (this.OnWarpsActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.roomSpinButton.ValueChanged += new global::System.EventHandler (this.OnRoomSpinButtonValueChanged); this.musicComboBox.Changed += new global::System.EventHandler (this.OnMusicComboBoxChanged); this.areaSpinButton.ValueChanged += new global::System.EventHandler (this.OnAreaSpinButtonValueChanged); this.areaEditorButton.Clicked += new global::System.EventHandler (this.OnAreaEditorButtonClicked); this.viewObjectsCheckBox.Toggled += new global::System.EventHandler (this.OnViewObjectsCheckBoxToggled); this.notebook2.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook2SwitchPage); this.worldSpinButton.ValueChanged += new global::System.EventHandler (this.OnWorldSpinButtonValueChanged); this.darkenDungeonRoomsCheckbox.Toggled += new global::System.EventHandler (this.OnDarkenDungeonRoomsCheckboxToggled); this.floorSpinButton.ValueChanged += new global::System.EventHandler (this.OnFloorSpinButtonValueChanged); this.dungeonSpinButton.ValueChanged += new global::System.EventHandler (this.OnDungeonSpinButtonValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.ToggleAction ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction, null); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("_"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("_"); w1.Add (this.Action, null); this.quitAction1 = new global::Gtk.Action ("quitAction1", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction1, null); this.refreshAction = new global::Gtk.Action ("refreshAction", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh"); this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh"); w1.Add (this.refreshAction, null); this.refreshAction1 = new global::Gtk.Action ("refreshAction1", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh"); this.refreshAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh"); w1.Add (this.refreshAction1, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save a copy..."), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save a copy..."); w1.Add (this.saveAsAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.RowWiseAction = new global::Gtk.RadioAction ("RowWiseAction", global::Mono.Unix.Catalog.GetString ("Row-wise"), null, null, 0); this.RowWiseAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.RowWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Row-wise"); w1.Add (this.RowWiseAction, null); this.ColWiseAction = new global::Gtk.RadioAction ("ColWiseAction", global::Mono.Unix.Catalog.GetString ("Col-wise"), null, null, 0); this.ColWiseAction.Group = this.RowWiseAction.Group; this.ColWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Col-wise"); w1.Add (this.ColWiseAction, null); this.RowwiseAction = new global::Gtk.ToggleAction ("RowwiseAction", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseAction, null); this.RowwiseSelector = new global::Gtk.ToggleAction ("RowwiseSelector", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseSelector.Active = true; this.RowwiseSelector.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseSelector, null); this.RowwiseAction1 = new global::Gtk.ToggleAction ("RowwiseAction1", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseAction1, null); this.ViewAction1 = new global::Gtk.Action ("ViewAction1", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction1, null); this.ColumnWiseAction = new global::Gtk.ToggleAction ("ColumnWiseAction", global::Mono.Unix.Catalog.GetString ("Column wise"), null, null); this.ColumnWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RowWise"); w1.Add (this.ColumnWiseAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='refreshAction1' action='refreshAction1'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='ViewAction1' action='ViewAction1'><menuitem name='ColumnWiseAction' action='ColumnWiseAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox2.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator (); this.vseparator2.Name = "vseparator2"; this.hbox1.Add (this.vseparator2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.WidthRequest = 460; this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.spinbutton = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton.Sensitive = false; this.spinbutton.CanFocus = true; this.spinbutton.Name = "spinbutton"; this.spinbutton.Adjustment.PageIncrement = 10; this.spinbutton.ClimbRate = 1; this.spinbutton.Numeric = true; this.vbox3.Add (this.spinbutton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.spinbutton])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.filechooserwidget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget.Name = "filechooserwidget"; this.vbox3.Add (this.filechooserwidget); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.filechooserwidget])); w5.Position = 1; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 109; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 56; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned3 = new global::Gtk.HPaned (); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 418; // Container child hpaned3.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 386; // Container child vpaned2.Gtk.Paned+PanedChild this.matrixImage = new global::Gtk.Image (); this.matrixImage.Name = "matrixImage"; this.matrixImage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-missing-image", global::Gtk.IconSize.Menu); this.vpaned2.Add (this.matrixImage); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.matrixImage])); w7.Resize = false; this.hpaned3.Add (this.vpaned2); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned3 [this.vpaned2])); w8.Resize = false; this.vpaned1.Add (this.hpaned3); this.hpaned1.Add (this.vpaned1); this.hbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1])); w11.Position = 1; this.hbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2])); w12.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w13.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1072; this.DefaultHeight = 551; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction1.Activated += new global::System.EventHandler (this.act); this.ColWiseAction.Toggled += new global::System.EventHandler (this.OnColWise); this.RowwiseAction.Toggled += new global::System.EventHandler (this.OnRowWise); this.RowwiseSelector.Toggled += new global::System.EventHandler (this.RowwiseChanged); this.RowwiseAction1.Toggled += new global::System.EventHandler (this.t); this.RowwiseAction1.Activated += new global::System.EventHandler (this.a); this.RowwiseAction1.Changed += new global::Gtk.ChangedHandler (this.c); this.ColumnWiseAction.Toggled += new global::System.EventHandler (this.ModeToggled); this.spinbutton.Changed += new global::System.EventHandler (this.SpinChanged); this.filechooserwidget.FileActivated += new global::System.EventHandler (this.fileSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MonoReports.Gui.Widgets.MonoreportsDesignerControl Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w2.Add (this.FileAction, null); this.FileAction1 = new global::Gtk.Action ("FileAction1", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w2.Add (this.FileAction1, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w2.Add (this.quitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w2.Add (this.HelpAction, null); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w2.Add (this.HelpAction1, null); this.executeAction = new global::Gtk.Action ("executeAction", null, null, "gtk-execute"); w2.Add (this.executeAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w2.Add (this.aboutAction, null); this.zoomFitAction = new global::Gtk.Action ("zoomFitAction", null, null, "gtk-zoom-fit"); w2.Add (this.zoomFitAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Otwórz"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Otwórz"); w2.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Zapisz"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Zapisz"); w2.Add (this.saveAction, null); this.executeAction1 = new global::Gtk.Action ("executeAction1", null, null, "gtk-execute"); w2.Add (this.executeAction1, null); this.dialogErrorAction = new global::Gtk.Action ("dialogErrorAction", null, null, "gtk-dialog-error"); w2.Add (this.dialogErrorAction, null); this.editAction = new global::Gtk.ToggleAction ("editAction", null, null, "gtk-edit"); w2.Add (this.editAction, null); this.sortAscendingAction = new global::Gtk.Action ("sortAscendingAction", null, null, "gtk-sort-ascending"); w2.Add (this.sortAscendingAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w2.Add (this.EditAction, null); this.ReportSettingsAction = new global::Gtk.Action ("ReportSettingsAction", global::Mono.Unix.Catalog.GetString ("Report Settings"), null, null); this.ReportSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Report Settings"); w2.Add (this.ReportSettingsAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoReports.Gui.Widgets.MonoreportsDesignerControl"; // Container child MonoReports.Gui.Widgets.MonoreportsDesignerControl.Gtk.Container+ContainerChild this.mainVbox = new global::Gtk.VBox (); this.mainVbox.Name = "mainVbox"; this.mainVbox.Spacing = -1; // Container child mainVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='mainMenubar'><menu name='FileAction1' action='FileAction1'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='ReportSettingsAction' action='ReportSettingsAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.mainMenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/mainMenubar"))); this.mainMenubar.Name = "mainMenubar"; this.mainVbox.Add (this.mainMenubar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainMenubar])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child mainVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name=\'mainToolbar\'/></ui>"); this.mainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/mainToolbar"))); this.mainToolbar.Name = "mainToolbar"; this.mainToolbar.ShowArrow = false; this.mainToolbar.IconSize = ((global::Gtk.IconSize)(1)); this.mainVbox.Add (this.mainToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainToolbar])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child mainVbox.Gtk.Box+BoxChild this.contentHbox = new global::Gtk.HBox (); this.contentHbox.Name = "contentHbox"; this.contentHbox.Spacing = 6; // Container child contentHbox.Gtk.Box+BoxChild this.mainHPaned = new global::Gtk.HPaned (); this.mainHPaned.CanFocus = true; this.mainHPaned.Name = "mainHPaned"; this.mainHPaned.Position = 721; // Container child mainHPaned.Gtk.Paned+PanedChild this.maindesignview1 = new global::MonoReports.Gui.Widgets.MainDesignView (); this.maindesignview1.Events = ((global::Gdk.EventMask)(256)); this.maindesignview1.Name = "maindesignview1"; this.mainHPaned.Add (this.maindesignview1); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.maindesignview1])); w5.Resize = false; // Container child mainHPaned.Gtk.Paned+PanedChild this.rightVPaned = new global::Gtk.VPaned (); this.rightVPaned.CanFocus = true; this.rightVPaned.Name = "rightVPaned"; this.rightVPaned.Position = 291; // Container child rightVPaned.Gtk.Paned+PanedChild this.reportExplorer = new global::MonoReports.Gui.Widgets.ReportExplorer (); this.reportExplorer.Name = "reportExplorer"; this.rightVPaned.Add (this.reportExplorer); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.rightVPaned [this.reportExplorer])); w6.Resize = false; // Container child rightVPaned.Gtk.Paned+PanedChild this.mainPropertygrid = new global::PropertyGrid.PropertyGrid (); this.mainPropertygrid.Name = "mainPropertygrid"; this.mainPropertygrid.ShowToolbar = false; this.mainPropertygrid.ShowHelp = false; this.rightVPaned.Add (this.mainPropertygrid); this.mainHPaned.Add (this.rightVPaned); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.rightVPaned])); w8.Resize = false; this.contentHbox.Add (this.mainHPaned); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.contentHbox [this.mainHPaned])); w9.Position = 0; this.mainVbox.Add (this.contentHbox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.contentHbox])); w10.Position = 2; // Container child mainVbox.Gtk.Box+BoxChild this.bottomStatusbar = new global::Gtk.Statusbar (); this.bottomStatusbar.Name = "bottomStatusbar"; this.bottomStatusbar.Spacing = 6; // Container child bottomStatusbar.Gtk.Box+BoxChild this.StatusBarLabel = new global::Gtk.Label (); this.StatusBarLabel.Name = "StatusBarLabel"; this.bottomStatusbar.Add (this.StatusBarLabel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.bottomStatusbar [this.StatusBarLabel])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.mainVbox.Add (this.bottomStatusbar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.bottomStatusbar])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add (this.mainVbox); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated); this.ReportSettingsAction.Activated += new global::System.EventHandler (this.OnReportSettingsActionActivated); this.mainPropertygrid.Changed += new global::System.EventHandler (this.OnMainPropertygridChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("Файл"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Файл"); w1.Add (this.Action, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("В_ыход"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("В_ыход"); w1.Add (this.quitAction, null); this.Action14 = new global::Gtk.Action ("Action14", global::Mono.Unix.Catalog.GetString ("Справочники"), null, null); this.Action14.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справочники"); w1.Add (this.Action14, null); this.Action16 = new global::Gtk.Action ("Action16", global::Mono.Unix.Catalog.GetString ("Справка"), null, null); this.Action16.ShortLabel = global::Mono.Unix.Catalog.GetString ("Справка"); w1.Add (this.Action16, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_О программе"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_О программе"); w1.Add (this.aboutAction, null); this.Action9 = new global::Gtk.Action ("Action9", global::Mono.Unix.Catalog.GetString ("Номенклатура"), null, null); this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString ("Номенклатура"); w1.Add (this.Action9, null); this.Action11 = new global::Gtk.Action ("Action11", global::Mono.Unix.Catalog.GetString ("Каркасы"), null, null); this.Action11.ShortLabel = global::Mono.Unix.Catalog.GetString ("Виды оснований"); w1.Add (this.Action11, null); this.Action10 = new global::Gtk.Action ("Action10", global::Mono.Unix.Catalog.GetString ("Выставки"), null, null); this.Action10.ShortLabel = global::Mono.Unix.Catalog.GetString ("Типы компонентов"); w1.Add (this.Action10, null); this.Action12 = new global::Gtk.Action ("Action12", global::Mono.Unix.Catalog.GetString ("Отделка кубов"), null, null); this.Action12.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отделка кубов"); w1.Add (this.Action12, null); this.Action13 = new global::Gtk.Action ("Action13", global::Mono.Unix.Catalog.GetString ("Отделка фасадов"), null, null); this.Action13.ShortLabel = global::Mono.Unix.Catalog.GetString ("Отделка фасадов"); w1.Add (this.Action13, null); this.dialogAuthenticationAction = new global::Gtk.ToggleAction ("dialogAuthenticationAction", global::Mono.Unix.Catalog.GetString ("Административный режим"), null, "gtk-dialog-authentication"); this.dialogAuthenticationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Административный режим"); w1.Add (this.dialogAuthenticationAction, null); this.ActionPassword = new global::Gtk.Action ("ActionPassword", global::Mono.Unix.Catalog.GetString ("Изменить пароль"), null, "gtk-dialog-authentication"); this.ActionPassword.ShortLabel = global::Mono.Unix.Catalog.GetString ("Изменить пароль"); w1.Add (this.ActionPassword, null); this.Action15 = new global::Gtk.Action ("Action15", global::Mono.Unix.Catalog.GetString ("Кубы"), null, null); this.Action15.ShortLabel = global::Mono.Unix.Catalog.GetString ("Кубы"); w1.Add (this.Action15, null); this.ActionSite = new global::Gtk.Action ("ActionSite", global::Mono.Unix.Catalog.GetString ("Посетить сайт"), null, null); this.ActionSite.ShortLabel = global::Mono.Unix.Catalog.GetString ("Посетить сайт"); w1.Add (this.ActionSite, null); this.ActionHistory = new global::Gtk.Action ("ActionHistory", global::Mono.Unix.Catalog.GetString ("История версий"), null, null); this.ActionHistory.ShortLabel = global::Mono.Unix.Catalog.GetString ("История версий"); w1.Add (this.ActionHistory, null); this.goUpAction = new global::Gtk.Action ("goUpAction", global::Mono.Unix.Catalog.GetString ("Проверить обновление..."), null, "gtk-go-up"); this.goUpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Проверить обновление..."); w1.Add (this.goUpAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("QS: Конфигуратор шкафа"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("CupboardDesigner.icons.logo.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='Action' action='Action'><menuitem name='dialogAuthenticationAction' action='dialogAuthenticationAction'/><menuitem name='ActionPassword' action='ActionPassword'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='Action14' action='Action14'><menuitem name='Action9' action='Action9'/><menuitem name='Action15' action='Action15'/><menuitem name='Action11' action='Action11'/><separator/><menuitem name='Action10' action='Action10'/><separator/><menuitem name='Action12' action='Action12'/><menuitem name='Action13' action='Action13'/></menu><menu name='Action16' action='Action16'><menuitem name='ActionSite' action='ActionSite'/><menuitem name='ActionHistory' action='ActionHistory'/><menuitem name='goUpAction' action='goUpAction'/><separator/><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.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:"); this.hbox5.Add (this.label6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry (); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox5.Add (this.entrySearch); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.entrySearch])); w4.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.buttonClearSearch = new global::Gtk.Button (); this.buttonClearSearch.CanFocus = true; this.buttonClearSearch.Name = "buttonClearSearch"; this.buttonClearSearch.UseUnderline = true; global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClearSearch.Image = w5; this.hbox5.Add (this.buttonClearSearch); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.buttonClearSearch])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add (this.hbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox5])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewOrders = new global::Gtk.TreeView (); this.treeviewOrders.CanFocus = true; this.treeviewOrders.Name = "treeviewOrders"; this.GtkScrolledWindow.Add (this.treeviewOrders); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w9.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.buttonAdd = new global::Gtk.Button (); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = global::Mono.Unix.Catalog.GetString ("Новый заказ"); global::Gtk.Image w10 = new global::Gtk.Image (); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); this.buttonAdd.Image = w10; this.hbox4.Add (this.buttonAdd); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonAdd])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.Sensitive = false; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Изменить"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w12; this.hbox4.Add (this.buttonEdit); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonEdit])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonCopy = new global::Gtk.Button (); this.buttonCopy.Sensitive = false; this.buttonCopy.CanFocus = true; this.buttonCopy.Name = "buttonCopy"; this.buttonCopy.UseUnderline = true; this.buttonCopy.Label = global::Mono.Unix.Catalog.GetString ("Копировать"); global::Gtk.Image w14 = new global::Gtk.Image (); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); this.buttonCopy.Image = w14; this.hbox4.Add (this.buttonCopy); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCopy])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.buttonDel = new global::Gtk.Button (); this.buttonDel.Sensitive = false; this.buttonDel.CanFocus = true; this.buttonDel.Name = "buttonDel"; this.buttonDel.UseUnderline = true; this.buttonDel.Label = global::Mono.Unix.Catalog.GetString ("Удалить"); global::Gtk.Image w16 = new global::Gtk.Image (); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); this.buttonDel.Image = w16; this.hbox4.Add (this.buttonDel); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonDel])); w17.Position = 3; w17.Expand = false; w17.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString ("label4"); this.statusbar1.Add (this.labelStatus); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.labelStatus])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w20.Position = 4; w20.Expand = false; w20.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 725; this.DefaultHeight = 465; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.Action9.Activated += new global::System.EventHandler (this.OnAction9Activated); this.Action11.Activated += new global::System.EventHandler (this.OnAction4Activated); this.Action10.Activated += new global::System.EventHandler (this.OnAction5Activated); this.Action12.Activated += new global::System.EventHandler (this.OnAction8Activated); this.Action13.Activated += new global::System.EventHandler (this.OnAction7Activated); this.dialogAuthenticationAction.Toggled += new global::System.EventHandler (this.OnDialogAuthenticationActionToggled); this.ActionPassword.Activated += new global::System.EventHandler (this.OnActionPasswordActivated); this.Action15.Activated += new global::System.EventHandler (this.OnAction15Activated); this.ActionSite.Activated += new global::System.EventHandler (this.OnActionSiteActivated); this.ActionHistory.Activated += new global::System.EventHandler (this.OnActionHistoryActivated); this.goUpAction.Activated += new global::System.EventHandler (this.OnActionUpdateActivated); this.entrySearch.Changed += new global::System.EventHandler (this.OnEntrySearchChanged); this.buttonClearSearch.Clicked += new global::System.EventHandler (this.OnButtonClearSearchClicked); this.treeviewOrders.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewOrdersRowActivated); this.buttonAdd.Clicked += new global::System.EventHandler (this.OnButtonAddClicked); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonCopy.Clicked += new global::System.EventHandler (this.OnButtonCopyClicked); this.buttonDel.Clicked += new global::System.EventHandler (this.OnButtonDelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewPojectAction = new global::Gtk.Action ("NewPojectAction", global::Mono.Unix.Catalog.GetString ("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New Project"); w1.Add (this.NewPojectAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open Project"); w1.Add (this.openAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action ("CloseProjectAction", global::Mono.Unix.Catalog.GetString ("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Close Project"); w1.Add (this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::Mono.Unix.Catalog.GetString ("_Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Tools"); w1.Add (this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action ("ProjectsManagerAction", global::Mono.Unix.Catalog.GetString ("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Database Manager"); w1.Add (this.ProjectsManagerAction, null); this.CategoriesTemplatesManagerAction = new global::Gtk.Action ("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Categories Templates Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Templates Manager"); w1.Add (this.CategoriesTemplatesManagerAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction ("FullScreenAction", global::Mono.Unix.Catalog.GetString ("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Full Screen"); w1.Add (this.FullScreenAction, "<Control><Alt>f"); this.PlaylistAction = new global::Gtk.ToggleAction ("PlaylistAction", global::Mono.Unix.Catalog.GetString ("Playlist"), null, null); this.PlaylistAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playlist"); w1.Add (this.PlaylistAction, "<Control>p"); this.TaggingViewAction = new global::Gtk.RadioAction ("TaggingViewAction", global::Mono.Unix.Catalog.GetString ("Tagging view"), null, null, 0); this.TaggingViewAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.TaggingViewAction.Sensitive = false; this.TaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Capture Mode"); w1.Add (this.TaggingViewAction, "<Control>c"); this.TimelineViewAction = new global::Gtk.RadioAction ("TimelineViewAction", global::Mono.Unix.Catalog.GetString ("Timeline view"), null, null, 0); this.TimelineViewAction.Group = this.TaggingViewAction.Group; this.TimelineViewAction.Sensitive = false; this.TimelineViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Analyze Mode"); w1.Add (this.TimelineViewAction, "<Control>a"); this.SaveProjectAction = new global::Gtk.Action ("SaveProjectAction", global::Mono.Unix.Catalog.GetString ("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save Project"); w1.Add (this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action ("ExportProjectToCSVFileAction", global::Mono.Unix.Catalog.GetString ("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add (this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action ("TeamsTemplatesManagerAction", global::Mono.Unix.Catalog.GetString ("Teams Templates Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Teams Templates Manager"); w1.Add (this.TeamsTemplatesManagerAction, null); this.HideAllWidgetsAction = new global::Gtk.ToggleAction ("HideAllWidgetsAction", global::Mono.Unix.Catalog.GetString ("Hide All Widgets"), null, null); this.HideAllWidgetsAction.Sensitive = false; this.HideAllWidgetsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hide All Widgets"); w1.Add (this.HideAllWidgetsAction, null); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::Mono.Unix.Catalog.GetString ("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction1, null); this.DrawingToolAction = new global::Gtk.ToggleAction ("DrawingToolAction", global::Mono.Unix.Catalog.GetString ("_Drawing Tool"), null, null); this.DrawingToolAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Drawing Tool"); w1.Add (this.DrawingToolAction, "<Control>d"); this.ImportProjectAction = new global::Gtk.Action ("ImportProjectAction", global::Mono.Unix.Catalog.GetString ("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import Project"); w1.Add (this.ImportProjectAction, "<Control>i"); this.ManualTaggingViewAction = new global::Gtk.RadioAction ("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString ("Manual tagging view"), null, null, 0); this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group; this.ManualTaggingViewAction.Sensitive = false; this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Free Capture Mode"); w1.Add (this.ManualTaggingViewAction, "<Control>f"); this.GameUnitsViewAction = new global::Gtk.RadioAction ("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString ("Game units view"), null, null, 0); this.GameUnitsViewAction.Group = this.TimelineViewAction.Group; this.GameUnitsViewAction.Sensitive = false; this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Game units view"); w1.Add (this.GameUnitsViewAction, null); this.ExportProjectAction = new global::Gtk.Action ("ExportProjectAction", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action ("ExportProjectAction1", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction1, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action ("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString ("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to project file"); w1.Add (this.ExportToProjectFileAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("LongoMatch"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.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.menubox = new global::Gtk.VBox (); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 161; // Container child hpaned.Gtk.Paned+PanedChild this.leftbox = new global::Gtk.VBox (); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 3; this.notebook1.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook1.Gtk.Notebook+NotebookChild this.playsList = new global::LongoMatch.Gui.Component.PlaysListTreeWidget (); this.playsList.Events = ((global::Gdk.EventMask)(256)); this.playsList.Name = "playsList"; this.notebook1.Add (this.playsList); // Notebook tab this.playslabel = new global::Gtk.Label (); this.playslabel.Name = "playslabel"; this.playslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Plays"); this.notebook1.SetTabLabel (this.playsList, this.playslabel); this.playslabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.localPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget (); this.localPlayersList.Events = ((global::Gdk.EventMask)(256)); this.localPlayersList.Name = "localPlayersList"; this.notebook1.Add (this.localPlayersList); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.localPlayersList])); w5.Position = 1; // Notebook tab this.localteamlabel = new global::Gtk.Label (); this.localteamlabel.Name = "localteamlabel"; this.localteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Local Team"); this.notebook1.SetTabLabel (this.localPlayersList, this.localteamlabel); this.localteamlabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.visitorPlayersList = new global::LongoMatch.Gui.Component.PlayersListTreeWidget (); this.visitorPlayersList.Events = ((global::Gdk.EventMask)(256)); this.visitorPlayersList.Name = "visitorPlayersList"; this.notebook1.Add (this.visitorPlayersList); global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.visitorPlayersList])); w6.Position = 2; // Notebook tab this.visitorteamlabel = new global::Gtk.Label (); this.visitorteamlabel.Name = "visitorteamlabel"; this.visitorteamlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Visitor Team"); this.notebook1.SetTabLabel (this.visitorPlayersList, this.visitorteamlabel); this.visitorteamlabel.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.tagsList = new global::LongoMatch.Gui.Component.TagsTreeWidget (); this.tagsList.Sensitive = false; this.tagsList.Events = ((global::Gdk.EventMask)(256)); this.tagsList.Name = "tagsList"; this.notebook1.Add (this.tagsList); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.tagsList])); w7.Position = 3; // Notebook tab this.tagslabel = new global::Gtk.Label (); this.tagslabel.Name = "tagslabel"; this.tagslabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Tags"); this.notebook1.SetTabLabel (this.tagsList, this.tagslabel); this.tagslabel.ShowAll (); this.leftbox.Add (this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.notebook1])); w8.Position = 0; this.hpaned.Add (this.leftbox); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.leftbox])); w9.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 952; // Container child hpaned1.Gtk.Paned+PanedChild this.downbox = new global::Gtk.VBox (); this.downbox.Name = "downbox"; this.downbox.Spacing = 6; // Container child downbox.Gtk.Box+BoxChild this.videowidgetsbox = new global::Gtk.HBox (); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.drawingtoolbox1 = new global::LongoMatch.Gui.Component.DrawingToolBox (); this.drawingtoolbox1.Events = ((global::Gdk.EventMask)(256)); this.drawingtoolbox1.Name = "drawingtoolbox1"; this.videowidgetsbox.Add (this.drawingtoolbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.drawingtoolbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child videowidgetsbox.Gtk.Box+BoxChild this.player = new global::LongoMatch.Gui.PlayerBin (); this.player.Events = ((global::Gdk.EventMask)(256)); this.player.Name = "player"; this.player.Rate = 1F; this.player.ExpandLogo = true; this.videowidgetsbox.Add (this.player); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.player])); w11.Position = 1; // Container child videowidgetsbox.Gtk.Box+BoxChild this.capturer = new global::LongoMatch.Gui.CapturerBin (); this.capturer.Events = ((global::Gdk.EventMask)(256)); this.capturer.Name = "capturer"; this.videowidgetsbox.Add (this.capturer); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.capturer])); w12.Position = 2; this.downbox.Add (this.videowidgetsbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.downbox [this.videowidgetsbox])); w13.Position = 0; // Container child downbox.Gtk.Box+BoxChild this.buttonswidget = new global::LongoMatch.Gui.Component.ButtonsWidget (); this.buttonswidget.Events = ((global::Gdk.EventMask)(256)); this.buttonswidget.Name = "buttonswidget"; this.downbox.Add (this.buttonswidget); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.downbox [this.buttonswidget])); w14.Position = 1; w14.Expand = false; // Container child downbox.Gtk.Box+BoxChild this.gameunitstaggerwidget1 = new global::LongoMatch.Gui.Component.GameUnitsTagger (); this.gameunitstaggerwidget1.Events = ((global::Gdk.EventMask)(256)); this.gameunitstaggerwidget1.Name = "gameunitstaggerwidget1"; this.downbox.Add (this.gameunitstaggerwidget1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.downbox [this.gameunitstaggerwidget1])); w15.Position = 2; w15.Expand = false; this.hpaned1.Add (this.downbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.downbox])); w16.Resize = false; w16.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.rightvbox = new global::Gtk.VBox (); this.rightvbox.WidthRequest = 100; this.rightvbox.Name = "rightvbox"; this.rightvbox.Spacing = 6; // Container child rightvbox.Gtk.Box+BoxChild this.notes = new global::LongoMatch.Gui.Component.NotesWidget (); this.notes.Events = ((global::Gdk.EventMask)(256)); this.notes.Name = "notes"; this.rightvbox.Add (this.notes); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.notes])); w17.Position = 0; // Container child rightvbox.Gtk.Box+BoxChild this.playlist = new global::LongoMatch.Gui.Component.PlayListWidget (); this.playlist.WidthRequest = 100; this.playlist.Events = ((global::Gdk.EventMask)(256)); this.playlist.Name = "playlist"; this.rightvbox.Add (this.playlist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.rightvbox [this.playlist])); w18.Position = 1; this.hpaned1.Add (this.rightvbox); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.rightvbox])); w19.Resize = false; w19.Shrink = false; this.hpaned.Add (this.hpaned1); global::Gtk.Paned.PanedChild w20 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.hpaned1])); w20.Resize = false; w20.Shrink = false; this.vbox1.Add (this.hpaned); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w21.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.renderingstatebar1 = new global::LongoMatch.Gui.Component.RenderingStateBar (); this.renderingstatebar1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebar1.Name = "renderingstatebar1"; this.renderingstatebar1.Fraction = 0; this.statusbar1.Add (this.renderingstatebar1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.renderingstatebar1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1342; this.DefaultHeight = 686; this.leftbox.Hide (); this.drawingtoolbox1.Hide (); this.buttonswidget.Hide (); this.notes.Hide (); this.playlist.Hide (); this.rightvbox.Hide (); this.renderingstatebar1.Hide (); this.Show (); this.NewPojectAction.Activated += new global::System.EventHandler (this.OnNewActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActivated); this.FullScreenAction.Toggled += new global::System.EventHandler (this.OnFullScreenActionToggled); this.PlaylistAction.Toggled += new global::System.EventHandler (this.OnPlaylistActionToggled); this.TaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.TimelineViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.HideAllWidgetsAction.Toggled += new global::System.EventHandler (this.OnHideAllWidgetsActionToggled); this.HelpAction1.Activated += new global::System.EventHandler (this.OnHelpAction1Activated); this.DrawingToolAction.Toggled += new global::System.EventHandler (this.OnDrawingToolActionToggled); this.ManualTaggingViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.GameUnitsViewAction.Toggled += new global::System.EventHandler (this.OnViewToggled); this.playsList.TimeNodeSelected += new global::LongoMatch.Handlers.PlaySelectedHandler (this.OnTimeNodeSelected); this.player.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnPlayerbin1Error); this.player.SegmentClosedEvent += new global::LongoMatch.Handlers.SegmentClosedHandler (this.OnSegmentClosedEvent); this.capturer.Error += new global::LongoMatch.Handlers.ErrorHandler (this.OnCapturerBinError); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::VAS.Core.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::VAS.Core.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.NewPojectAction = new global::Gtk.Action("NewPojectAction", global::VAS.Core.Catalog.GetString("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::VAS.Core.Catalog.GetString("_New Project"); w1.Add(this.NewPojectAction, null); this.OpenProjectAction = new global::Gtk.Action("OpenProjectAction", global::VAS.Core.Catalog.GetString("_Open Project"), null, "gtk-open"); this.OpenProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Open Project"); w1.Add(this.OpenProjectAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::VAS.Core.Catalog.GetString("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Quit"); w1.Add(this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action("CloseProjectAction", global::VAS.Core.Catalog.GetString("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Close Project"); w1.Add(this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::VAS.Core.Catalog.GetString("_Tools"), null, null); this.ToolsAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Tools"); w1.Add(this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action("ProjectsManagerAction", global::VAS.Core.Catalog.GetString("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString("Database Manager"); w1.Add(this.ProjectsManagerAction, "<Primary>m"); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::VAS.Core.Catalog.GetString("Analysis Dashboards Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString("Dashboards Manager"); w1.Add(this.CategoriesTemplatesManagerAction, "<Primary>d"); this.ViewAction = new global::Gtk.Action("ViewAction", global::VAS.Core.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::VAS.Core.Catalog.GetString("_View"); w1.Add(this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction("FullScreenAction", global::VAS.Core.Catalog.GetString("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::VAS.Core.Catalog.GetString("Full Screen"); w1.Add(this.FullScreenAction, "<Primary>f"); this.SaveProjectAction = new global::Gtk.Action("SaveProjectAction", global::VAS.Core.Catalog.GetString("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Save Project"); w1.Add(this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::VAS.Core.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::VAS.Core.Catalog.GetString("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::VAS.Core.Catalog.GetString("_About"); w1.Add(this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action("ExportProjectToCSVFileAction", global::VAS.Core.Catalog.GetString("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::VAS.Core.Catalog.GetString("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add(this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action("TeamsTemplatesManagerAction", global::VAS.Core.Catalog.GetString("Teams Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString("Teams Manager"); w1.Add(this.TeamsTemplatesManagerAction, "<Primary>t"); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::VAS.Core.Catalog.GetString("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::VAS.Core.Catalog.GetString("_Help"); w1.Add(this.HelpAction1, null); this.ImportProjectAction = new global::Gtk.Action("ImportProjectAction", global::VAS.Core.Catalog.GetString("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString("_Import Project"); w1.Add(this.ImportProjectAction, "<Primary>i"); this.ExportProjectAction = new global::Gtk.Action("ExportProjectAction", global::VAS.Core.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action("ExportProjectAction1", global::VAS.Core.Catalog.GetString("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::VAS.Core.Catalog.GetString("Export Project"); w1.Add(this.ExportProjectAction1, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action("ExportToProjectFileAction", global::VAS.Core.Catalog.GetString("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::VAS.Core.Catalog.GetString("Export to project file"); w1.Add(this.ExportToProjectFileAction, null); this.ImportFromFileAction = new global::Gtk.Action("ImportFromFileAction", global::VAS.Core.Catalog.GetString("Import from file"), null, null); this.ImportFromFileAction.ShortLabel = global::VAS.Core.Catalog.GetString("Import from file"); w1.Add(this.ImportFromFileAction, null); this.VideoConverterToolAction = new global::Gtk.Action("VideoConverterToolAction", global::VAS.Core.Catalog.GetString("Video Converter Tool"), null, null); this.VideoConverterToolAction.ShortLabel = global::VAS.Core.Catalog.GetString("Video Converter Tool"); w1.Add(this.VideoConverterToolAction, null); this.DatabasesManagerAction = new global::Gtk.Action("DatabasesManagerAction", global::VAS.Core.Catalog.GetString("Databases Manager"), null, null); this.DatabasesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString("Databases Manager"); w1.Add(this.DatabasesManagerAction, "<Primary>b"); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::VAS.Core.Catalog.GetString("Preferences"), null, null); this.PreferencesAction.ShortLabel = global::VAS.Core.Catalog.GetString("Preferences"); w1.Add(this.PreferencesAction, "<Primary>p"); this.ShowProjectStatsAction = new global::Gtk.Action("ShowProjectStatsAction", global::VAS.Core.Catalog.GetString("Show project stats"), null, null); this.ShowProjectStatsAction.Sensitive = false; this.ShowProjectStatsAction.ShortLabel = global::VAS.Core.Catalog.GetString("Show project stats"); w1.Add(this.ShowProjectStatsAction, "<Primary>h"); this.MigrationToolAction = new global::Gtk.Action("MigrationToolAction", global::VAS.Core.Catalog.GetString("Migration Tool"), null, null); this.MigrationToolAction.ShortLabel = global::VAS.Core.Catalog.GetString("Migration Tool"); w1.Add(this.MigrationToolAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::VAS.Core.Catalog.GetString("LongoMatch"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.menubox = new global::Gtk.VBox(); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='OpenProjectAction' action='OpenProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='DatabasesManagerAction' action='DatabasesManagerAction'/><separator/><separator/><menuitem name='VideoConverterToolAction' action='VideoConverterToolAction'/><menuitem name='MigrationToolAction' action='MigrationToolAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><separator/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.centralbox = new global::Gtk.HBox(); this.centralbox.Name = "centralbox"; this.centralbox.Spacing = 6; this.vbox1.Add(this.centralbox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.centralbox])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.renderingstatebarview1 = new global::VAS.UI.Component.RenderingStateBarView(); this.renderingstatebarview1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebarview1.Name = "renderingstatebarview1"; this.vbox1.Add(this.renderingstatebarview1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.renderingstatebarview1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 938; this.DefaultHeight = 604; this.renderingstatebarview1.Hide(); this.Show(); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.VideoConverterToolAction.Activated += new global::System.EventHandler(this.OnVideoConverterToolActionActivated); this.MigrationToolAction.Activated += new global::System.EventHandler(this.OnMigrationToolActionActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoGame.Tools.Pipeline.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New..."), null, "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New..."); w1.Add (this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open..."), null, "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open..."); w1.Add (this.OpenAction, "<Control>o"); this.OpenRecentAction = new global::Gtk.Action ("OpenRecentAction", global::Mono.Unix.Catalog.GetString ("Open Recent"), null, null); this.OpenRecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Recent"); w1.Add (this.OpenRecentAction, null); this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("Close"), null, "gtk-close"); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseAction, null); this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("Import..."), null, null); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Import..."); w1.Add (this.ImportAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-save"); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As..."), null, "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As..."); w1.Add (this.SaveAsAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); this.ExitAction.HideIfEmpty = false; this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.ExitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction, null); this.UndoAction = new global::Gtk.Action ("UndoAction", global::Mono.Unix.Catalog.GetString ("Undo"), null, "gtk-undo"); this.UndoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); w1.Add (this.UndoAction, "<Control>z"); this.RedoAction = new global::Gtk.Action ("RedoAction", global::Mono.Unix.Catalog.GetString ("Redo"), null, "gtk-redo"); this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); w1.Add (this.RedoAction, "<Control>y"); RenameAction = new Action ("RenameAction", global::Mono.Unix.Catalog.GetString ("Rename"), null, null); RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rename"); w1.Add (RenameAction, null); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete"); w1.Add (this.DeleteAction, null); this.BuildAction = new global::Gtk.Action ("BuildAction", global::Mono.Unix.Catalog.GetString ("Build"), null, null); this.BuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Build"); w1.Add (this.BuildAction, null); this.BuildAction1 = new global::Gtk.Action ("BuildAction1", global::Mono.Unix.Catalog.GetString ("Build"), null, "gtk-execute"); this.BuildAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Build"); w1.Add (this.BuildAction1, "<Mod2>F6"); this.RebuildAction = new global::Gtk.Action ("RebuildAction", global::Mono.Unix.Catalog.GetString ("Rebuild"), null, "gtk-execute"); this.RebuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rebuild"); w1.Add (this.RebuildAction, null); this.CleanAction = new global::Gtk.Action ("CleanAction", global::Mono.Unix.Catalog.GetString ("Clean"), null, null); this.CleanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clean"); w1.Add (this.CleanAction, null); this.DebugModeAction = new global::Gtk.ToggleAction ("DebugModeAction", global::Mono.Unix.Catalog.GetString ("Debug Mode"), null, null); this.DebugModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Debug Mode"); w1.Add (this.DebugModeAction, null); this.FilterOutputAction = new global::Gtk.ToggleAction ("FilterOutputAction", global::Mono.Unix.Catalog.GetString ("Filter Output"), null, null); this.FilterOutputAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Filter Output"); this.FilterOutputAction.Active = true; w1.Add (this.FilterOutputAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.ViewHelpAction = new global::Gtk.Action ("ViewHelpAction", global::Mono.Unix.Catalog.GetString ("View Help"), null, "gtk-help"); this.ViewHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View Help"); w1.Add (this.ViewHelpAction, "<Mod2>F1"); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.CancelBuildAction = new global::Gtk.Action ("CancelBuildAction", global::Mono.Unix.Catalog.GetString ("Cancel Build"), null, "gtk-stop"); this.CancelBuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cancel Build"); w1.Add (this.CancelBuildAction, null); this.AddAction = new global::Gtk.Action ("AddAction", global::Mono.Unix.Catalog.GetString ("Add"), null, null); this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add"); w1.Add (this.AddAction, null); this.NewItemAction = new global::Gtk.Action ("NewItemAction", global::Mono.Unix.Catalog.GetString ("New Item..."), null, "gtk-file"); this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Item..."); w1.Add (this.NewItemAction, null); this.NewFolderAction = new global::Gtk.Action ("NewFolderAction", global::Mono.Unix.Catalog.GetString ("New Folder..."), null, "gtk-directory"); this.NewFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Folder..."); w1.Add (this.NewFolderAction, null); this.ExistingItemAction = new global::Gtk.Action ("ExistingItemAction", global::Mono.Unix.Catalog.GetString ("Existing Item..."), null, null); this.ExistingItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Existing Item..."); w1.Add (this.ExistingItemAction, null); this.ExistingFolderAction = new global::Gtk.Action ("ExistingFolderAction", global::Mono.Unix.Catalog.GetString ("Existing Folder..."), null, null); this.ExistingFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Existing Folder..."); w1.Add (this.ExistingFolderAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MonoGame.Tools.Pipeline.MainWindow"; this.Icon = global::Gdk.Pixbuf.LoadFromResource ("MonoGame.Tools.Pipeline.App.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MonoGame.Tools.Pipeline.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='OpenRecentAction' action='OpenRecentAction'/><menuitem name='CloseAction' action='CloseAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><separator/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UndoAction' action='UndoAction'/><menuitem name='RedoAction' action='RedoAction'/><separator/><menu name='AddAction' action='AddAction'><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='NewFolderAction' action='NewFolderAction'/><separator/><menuitem name='ExistingItemAction' action='ExistingItemAction'/><menuitem name='ExistingFolderAction' action='ExistingFolderAction'/></menu><separator/><menuitem name='RenameAction' action='RenameAction'/><menuitem name='DeleteAction' action='DeleteAction'/></menu><menu name='BuildAction' action='BuildAction'><menuitem name='BuildAction1' action='BuildAction1'/><menuitem name='RebuildAction' action='RebuildAction'/><menuitem name='CleanAction' action='CleanAction'/><menuitem name='CancelBuildAction' action='CancelBuildAction'/><separator name='sep1'/><menuitem name='DebugModeAction' action='DebugModeAction'/><menuitem name='FilterOutputAction' action='FilterOutputAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='ViewHelpAction' action='ViewHelpAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add (this.menubar1); toolBar1 = new Toolbar(); toolNew = new ToolButton(new Image(null, "Toolbar.New.png"), "New"); toolNew.TooltipText = toolNew.Label; toolBar1.Add(toolNew); toolOpen = new ToolButton(new Image(null, "Toolbar.Open.png"), "Open"); toolOpen.TooltipText = toolOpen.Label; toolBar1.Add(toolOpen); toolSave = new ToolButton(new Image(null, "Toolbar.Save.png"), "Save"); toolSave.TooltipText = toolSave.Label; toolBar1.Add(toolSave); toolBar1.Add(new SeparatorToolItem()); toolNewItem = new ToolButton(new Image(null, "Toolbar.NewItem.png"), "Add New Item"); toolNewItem.TooltipText = toolNewItem.Label; toolBar1.Add(toolNewItem); toolAddItem = new ToolButton(new Image(null, "Toolbar.ExistingItem.png"), "Add Existing Item"); toolAddItem.TooltipText = toolAddItem.Label; toolBar1.Add(toolAddItem); toolNewFolder = new ToolButton(new Image(null, "Toolbar.NewFolder.png"), "Add New Folder"); toolNewFolder.TooltipText = toolNewFolder.Label; toolBar1.Add(toolNewFolder); toolAddFolder = new ToolButton(new Image(null, "Toolbar.ExistingFolder.png"), "Add Existing Folder"); toolAddFolder.TooltipText = toolAddFolder.Label; toolBar1.Add(toolAddFolder); toolBar1.Add(new SeparatorToolItem()); toolBuild = new ToolButton(new Image(null, "Toolbar.Build.png"), "Build"); toolBuild.TooltipText = toolBuild.Label; toolBar1.Add(toolBuild); toolRebuild = new ToolButton(new Image(null, "Toolbar.Rebuild.png"), "Rebuild"); toolRebuild.TooltipText = toolRebuild.Label; toolBar1.Add(toolRebuild); toolClean = new ToolButton(new Image(null, "Toolbar.Clean.png"), "Clean"); toolClean.TooltipText = toolClean.Label; toolBar1.Add(toolClean); toolBar1.Add(new SeparatorToolItem()); toolFilterOutput = new ToggleToolButton(); toolFilterOutput.Label = toolFilterOutput.TooltipText = "Filter Output"; toolFilterOutput.IconWidget = new Image(null, "Toolbar.FilterOutput.png"); toolBar1.Add(toolFilterOutput); if (!Global.UseHeaderBar) this.vbox2.PackStart(toolBar1, false, true, 0); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 179; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 247; // Container child vpaned2.Gtk.Paned+PanedChild this.projectview1 = new global::MonoGame.Tools.Pipeline.ProjectView (); this.projectview1.Events = ((global::Gdk.EventMask)(256)); this.projectview1.Name = "projectview1"; this.vpaned2.Add (this.projectview1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.projectview1])); w3.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.propertiesview1 = new global::MonoGame.Tools.Pipeline.PropertiesView (); this.propertiesview1.Events = ((global::Gdk.EventMask)(256)); this.propertiesview1.Name = "propertiesview1"; this.vpaned2.Add (this.propertiesview1); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.propertiesview1])); w4.Resize = false; this.hpaned1.Add (this.vpaned2); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vpaned2])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild buildOutput1 = new BuildOutput(); this.hpaned1.Add (this.buildOutput1); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w8.Position = 2; this.Add (this.vbox2); treeview1 = new TreeView(); #if GTK3 if(Global.UseHeaderBar) { Builder builder = new Builder(null, "MonoGame.Tools.Pipeline.Gtk.MainWindow.HeaderBar.glade", null); hbar = new HeaderBar(builder.GetObject("headerbar").Handle); builder.Autoconnect(this); hbar.AttachToWindow(this); hbar.ShowCloseButton = true; hbar.Show(); foreach(var o in menubar1.Children) { menubar1.Remove(o); menu2.Insert(o, 4); } new_button.Clicked += OnNewActionActivated; save_button.Clicked += OnSaveActionActivated; build_button.Clicked += OnBuildAction1Activated; rebuild_button.Clicked += OnRebuildActionActivated; cancel_button.Clicked += OnCancelBuildActionActivated; filteroutput_button.ButtonReleaseEvent += ToggleFilterOutput; filteroutput_button.Sensitive = true; vbox2.Remove (menubar1); open_menubutton = new MenuButton(open_button.Handle); var popover = new Popover(open_menubutton); var vbox = new VBox(); vbox.WidthRequest = 350; vbox.HeightRequest = 300; Gtk3Wrapper.gtk_tree_view_set_activate_on_single_click(treeview1.Handle, true); treeview1.HeadersVisible = false; treeview1.EnableGridLines = TreeViewGridLines.Horizontal; treeview1.HoverSelection = true; treeview1.RowActivated += delegate(object o, RowActivatedArgs args) { popover.Hide(); TreeIter iter; if(!recentListStore.GetIter(out iter, args.Path)) return; OpenProject(recentListStore.GetValue(iter, 1).ToString()); }; ScrolledWindow scroll1 = new ScrolledWindow(); scroll1.WidthRequest = 350; scroll1.HeightRequest = 300; scroll1.Add(treeview1); vbox.PackStart(scroll1, true, true, 0); var openButton = new Button("Open Other..."); openButton.Clicked += delegate(object sender, System.EventArgs e) { popover.Hide(); OnOpenActionActivated(sender, e); }; vbox.PackStart(openButton, false, true, 0); vbox.ShowAll(); popover.Add(vbox); open_menubutton.Popup = popover; } #endif this.Title = basetitle; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 751; this.DefaultHeight = 557; #if GTK3 Gdk.Geometry geom = new Gdk.Geometry(); geom.MinWidth = 400; geom.MinHeight = 300; this.SetGeometryHints(this, geom, Gdk.WindowHints.MinSize); #endif this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.toolNew.Clicked += OnNewActionActivated; this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.toolOpen.Clicked += OnOpenActionActivated; this.CloseAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.ImportAction.Activated += new global::System.EventHandler (this.OnImportActionActivated); this.SaveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.toolSave.Clicked += OnSaveActionActivated; this.SaveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.ExitAction.Activated += new global::System.EventHandler (this.OnExitActionActivated); this.UndoAction.Activated += new global::System.EventHandler (this.OnUndoActionActivated); this.RedoAction.Activated += new global::System.EventHandler (this.OnRedoActionActivated); RenameAction.Activated += this.OnRenameActionActivated; this.DeleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); this.BuildAction1.Activated += new global::System.EventHandler (this.OnBuildAction1Activated); toolBuild.Clicked += OnBuildAction1Activated; this.RebuildAction.Activated += new global::System.EventHandler (this.OnRebuildActionActivated); toolRebuild.Clicked += OnRebuildActionActivated; this.CleanAction.Activated += new global::System.EventHandler (this.OnCleanActionActivated); toolClean.Clicked += OnCleanActionActivated; this.ViewHelpAction.Activated += new global::System.EventHandler (this.OnViewHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.NewItemAction.Activated += new global::System.EventHandler (this.OnNewItemActionActivated); this.toolNewItem.Clicked += OnNewItemActionActivated; this.NewFolderAction.Activated += new global::System.EventHandler (this.OnNewFolderActionActivated); this.toolNewFolder.Clicked += OnNewFolderActionActivated; this.ExistingItemAction.Activated += new global::System.EventHandler (this.OnAddItemActionActivated); this.toolAddItem.Clicked += OnAddItemActionActivated; this.ExistingFolderAction.Activated += new global::System.EventHandler (this.OnAddFolderActionActivated); this.toolAddFolder.Clicked += OnAddFolderActionActivated; this.DebugModeAction.Activated += new global::System.EventHandler (this.OnDebugModeActionActivated); this.FilterOutputAction.Activated += OnFilterOutputActionActivated; this.toolFilterOutput.ButtonReleaseEvent += ToggleFilterOutput; this.CancelBuildAction.Activated += new global::System.EventHandler (this.OnCancelBuildActionActivated); this.SizeAllocated += MainWindow_SizeAllocated; }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.ArchivoAction = new global::Gtk.Action("ArchivoAction", global::Mono.Unix.Catalog.GetString("Archivo"), null, null); this.ArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Archivo"); w1.Add(this.ArchivoAction, null); this.NuevoDocumento = new global::Gtk.Action("NuevoDocumento", global::Mono.Unix.Catalog.GetString("Nuevo"), null, "gtk-new"); this.NuevoDocumento.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo"); w1.Add(this.NuevoDocumento, "<Primary>n"); this.Abrir = new global::Gtk.Action("Abrir", global::Mono.Unix.Catalog.GetString("Abrir"), null, "gtk-open"); this.Abrir.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir"); w1.Add(this.Abrir, null); this.Guardar = new global::Gtk.Action("Guardar", global::Mono.Unix.Catalog.GetString("Guardar"), null, "gtk-save"); this.Guardar.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar"); w1.Add(this.Guardar, null); this.GuardarComo = new global::Gtk.Action("GuardarComo", global::Mono.Unix.Catalog.GetString("Guardar Como"), null, "gtk-save-as"); this.GuardarComo.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar Como"); w1.Add(this.GuardarComo, null); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Exportar a PDF"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar"); w1.Add(this.printAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.quitAction, null); this.EditarAction = new global::Gtk.Action("EditarAction", global::Mono.Unix.Catalog.GetString("Editar"), null, null); this.EditarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar"); w1.Add(this.EditarAction, null); this.copyAction = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copiar"), null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copiar"); w1.Add(this.copyAction, null); this.cutAction = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cortar"), null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cortar"); w1.Add(this.cutAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("Pegar"), null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pegar"); w1.Add(this.pasteAction, null); this.VerAction = new global::Gtk.Action("VerAction", global::Mono.Unix.Catalog.GetString("Ver"), null, null); this.VerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ver"); w1.Add(this.VerAction, null); this.OcultarHerramientas = new global::Gtk.ToggleAction("OcultarHerramientas", global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"), null, null); this.OcultarHerramientas.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"); w1.Add(this.OcultarHerramientas, null); this.OcultarExplorador = new global::Gtk.ToggleAction("OcultarExplorador", global::Mono.Unix.Catalog.GetString("Ocultar Explorador"), null, null); this.OcultarExplorador.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Explorador"); w1.Add(this.OcultarExplorador, null); this.HNuevo = new global::Gtk.Action("HNuevo", global::Mono.Unix.Catalog.GetString("HNuevo"), global::Mono.Unix.Catalog.GetString("Nuevo"), "gtk-new"); this.HNuevo.ShortLabel = global::Mono.Unix.Catalog.GetString("HNuevo"); w1.Add(this.HNuevo, null); this.HAbrir = new global::Gtk.Action("HAbrir", null, global::Mono.Unix.Catalog.GetString("Abrir"), "gtk-open"); w1.Add(this.HAbrir, null); this.HGuardar = new global::Gtk.Action("HGuardar", null, global::Mono.Unix.Catalog.GetString("Guardar"), "gtk-save"); w1.Add(this.HGuardar, null); this.HCopiar = new global::Gtk.Action("HCopiar", null, global::Mono.Unix.Catalog.GetString("Copiar"), "gtk-copy"); w1.Add(this.HCopiar, null); this.HCortar = new global::Gtk.Action("HCortar", null, global::Mono.Unix.Catalog.GetString("Cortar"), "gtk-cut"); w1.Add(this.HCortar, null); this.HPegar = new global::Gtk.Action("HPegar", null, global::Mono.Unix.Catalog.GetString("Pegar"), "gtk-paste"); w1.Add(this.HPegar, null); this.BuscarAction = new global::Gtk.Action("BuscarAction", global::Mono.Unix.Catalog.GetString("Buscar"), null, null); this.BuscarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar"); w1.Add(this.BuscarAction, null); this.findAction = new global::Gtk.Action("findAction", global::Mono.Unix.Catalog.GetString("Buscar..."), null, "gtk-find"); this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar..."); w1.Add(this.findAction, null); this.AyudaAction = new global::Gtk.Action("AyudaAction", global::Mono.Unix.Catalog.GetString("Ayuda"), null, null); this.AyudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ayuda"); w1.Add(this.AyudaAction, null); this.SeleccionAction = new global::Gtk.Action("SeleccionAction", global::Mono.Unix.Catalog.GetString("Seleccion"), null, null); this.SeleccionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccion"); w1.Add(this.SeleccionAction, null); this.SeleccionarTodoAction = new global::Gtk.Action("SeleccionarTodoAction", global::Mono.Unix.Catalog.GetString("Seleccionar Todo"), null, null); this.SeleccionarTodoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccionar Todo"); w1.Add(this.SeleccionarTodoAction, null); this.AcercaDeCodeSEAction = new global::Gtk.Action("AcercaDeCodeSEAction", global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"), null, null); this.AcercaDeCodeSEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"); w1.Add(this.AcercaDeCodeSEAction, null); this.Compilar = new global::Gtk.Action("Compilar", null, global::Mono.Unix.Catalog.GetString("Compilar"), "gtk-go-up"); w1.Add(this.Compilar, null); this.OcultarConsola = new global::Gtk.ToggleAction("OcultarConsola", global::Mono.Unix.Catalog.GetString("Ocultar Consola"), null, null); this.OcultarConsola.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Consola"); w1.Add(this.OcultarConsola, null); this.HerramientasAction = new global::Gtk.Action("HerramientasAction", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null); this.HerramientasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas"); w1.Add(this.HerramientasAction, null); this.FuenteAction = new global::Gtk.Action("FuenteAction", global::Mono.Unix.Catalog.GetString("Fuente"), null, null); this.FuenteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fuente"); w1.Add(this.FuenteAction, null); this.dndMultipleAction = new global::Gtk.Action("dndMultipleAction", global::Mono.Unix.Catalog.GetString("Recientes"), null, "gtk-dnd-multiple"); this.dndMultipleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recientes"); w1.Add(this.dndMultipleAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "CodeSyntaxEditor"; this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.Caja = new global::Gtk.VBox(); this.Caja.Name = "Caja"; this.Caja.Spacing = 6; // Container child Caja.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='BarraMenu'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='NuevoDocumento' action='NuevoDocumento'/><menuitem name='Abrir' action='Abrir'/><menuitem name='Guardar' action='Guardar'/><menuitem name='GuardarComo' action='GuardarComo'/><menuitem name='printAction' action='printAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditarAction' action='EditarAction'><menuitem name='copyAction' action='copyAction'/><menuitem name='cutAction' action='cutAction'/><menuitem name='pasteAction' action='pasteAction'/></menu><menu name='SeleccionAction' action='SeleccionAction'><menuitem name='SeleccionarTodoAction' action='SeleccionarTodoAction'/></menu><menu name='BuscarAction' action='BuscarAction'><menuitem name='findAction' action='findAction'/></menu><menu name='VerAction' action='VerAction'><menuitem name='OcultarHerramientas' action='OcultarHerramientas'/><menuitem name='OcultarExplorador' action='OcultarExplorador'/><menuitem name='OcultarConsola' action='OcultarConsola'/></menu><menu name='HerramientasAction' action='HerramientasAction'><menuitem name='FuenteAction' action='FuenteAction'/></menu><menu name='AyudaAction' action='AyudaAction'><menuitem name='AcercaDeCodeSEAction' action='AcercaDeCodeSEAction'/></menu></menubar></ui>"); this.BarraMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/BarraMenu"))); this.BarraMenu.Name = "BarraMenu"; this.Caja.Add(this.BarraMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.Caja[this.BarraMenu])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child Caja.Gtk.Box+BoxChild this.Caja1 = new global::Gtk.HBox(); this.Caja1.Name = "Caja1"; this.Caja1.Spacing = 6; // Container child Caja1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='Herramientas'><toolitem name='HNuevo' action='HNuevo'/><toolitem name='HAbrir' action='HAbrir'/><toolitem name='HGuardar' action='HGuardar'/><toolitem name='HCopiar' action='HCopiar'/><toolitem name='HCortar' action='HCortar'/><toolitem name='HPegar' action='HPegar'/><toolitem name='Compilar' action='Compilar'/></toolbar></ui>"); this.Herramientas = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/Herramientas"))); this.Herramientas.Name = "Herramientas"; this.Herramientas.Orientation = ((global::Gtk.Orientation)(1)); this.Herramientas.ShowArrow = false; this.Herramientas.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.Herramientas.IconSize = ((global::Gtk.IconSize)(1)); this.Caja1.Add(this.Herramientas); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Herramientas])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child Caja1.Gtk.Box+BoxChild this.Caja2 = new global::Gtk.HPaned(); this.Caja2.CanFocus = true; this.Caja2.Name = "Caja2"; this.Caja2.Position = 568; // Container child Caja2.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 269; // Container child vpaned1.Gtk.Paned+PanedChild this.ScrollPagina = new global::Gtk.ScrolledWindow(); this.ScrollPagina.CanFocus = true; this.ScrollPagina.Name = "ScrollPagina"; this.ScrollPagina.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrollPagina.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport(); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.Pagina = new global::Gtk.Notebook(); this.Pagina.CanFocus = true; this.Pagina.Name = "Pagina"; this.Pagina.CurrentPage = -1; w4.Add(this.Pagina); this.ScrollPagina.Add(w4); this.vpaned1.Add(this.ScrollPagina); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollPagina])); w7.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.ScrollConsola = new global::Gtk.ScrolledWindow(); this.ScrollConsola.Name = "ScrollConsola"; this.ScrollConsola.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrollConsola.Gtk.Container+ContainerChild this.Consola = new global::Gtk.TextView(); this.Consola.CanDefault = true; this.Consola.CanFocus = true; this.Consola.Name = "Consola"; this.ScrollConsola.Add(this.Consola); this.vpaned1.Add(this.ScrollConsola); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollConsola])); w9.Resize = false; w9.Shrink = false; this.vbox3.Add(this.vpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vpaned1])); w10.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.Barra_de_Busqueda = new global::Gtk.Statusbar(); this.Barra_de_Busqueda.Name = "Barra_de_Busqueda"; this.Barra_de_Busqueda.Spacing = 6; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.Estado_de_Archivo = new global::Gtk.Label(); this.Estado_de_Archivo.Name = "Estado_de_Archivo"; this.Estado_de_Archivo.Justify = ((global::Gtk.Justification)(2)); this.Barra_de_Busqueda.Add(this.Estado_de_Archivo); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Estado_de_Archivo])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.Entrada = new global::Gtk.Entry(); this.Entrada.CanFocus = true; this.Entrada.Name = "Entrada"; this.Entrada.IsEditable = true; this.Entrada.InvisibleChar = '•'; this.Barra_de_Busqueda.Add(this.Entrada); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Entrada])); w12.Position = 2; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.BtnBus = new global::Gtk.Button(); this.BtnBus.CanFocus = true; this.BtnBus.Name = "BtnBus"; this.BtnBus.UseUnderline = true; this.BtnBus.Label = global::Mono.Unix.Catalog.GetString("Buscar"); this.Barra_de_Busqueda.Add(this.BtnBus); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.BtnBus])); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.vbox3.Add(this.Barra_de_Busqueda); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.Barra_de_Busqueda])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.Caja2.Add(this.vbox3); global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.vbox3])); w15.Resize = false; // Container child Caja2.Gtk.Paned+PanedChild this.ScrollExplorador = new global::Gtk.ScrolledWindow(); this.ScrollExplorador.CanFocus = true; this.ScrollExplorador.Name = "ScrollExplorador"; this.ScrollExplorador.ShadowType = ((global::Gtk.ShadowType)(1)); this.ScrollExplorador.WindowPlacement = ((global::Gtk.CornerType)(2)); // Container child ScrollExplorador.Gtk.Container+ContainerChild global::Gtk.Viewport w16 = new global::Gtk.Viewport(); w16.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.Explorador = new global::Gtk.Notebook(); this.Explorador.CanFocus = true; this.Explorador.Name = "Explorador"; this.Explorador.CurrentPage = 0; // Container child Explorador.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.Directorios = global::Gtk.ComboBox.NewText(); this.Directorios.Name = "Directorios"; this.vbox1.Add(this.Directorios); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.Directorios])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Archivos = new global::Gtk.TreeView(); this.Archivos.CanFocus = true; this.Archivos.Name = "Archivos"; this.GtkScrolledWindow.Add(this.Archivos); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w19.Position = 1; this.Explorador.Add(this.vbox1); // Notebook tab this.LPortapapeles = new global::Gtk.Label(); this.LPortapapeles.Name = "LPortapapeles"; this.LPortapapeles.LabelProp = global::Mono.Unix.Catalog.GetString("Explorador"); this.Explorador.SetTabLabel(this.vbox1, this.LPortapapeles); this.LPortapapeles.ShowAll(); w16.Add(this.Explorador); this.ScrollExplorador.Add(w16); this.Caja2.Add(this.ScrollExplorador); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.ScrollExplorador])); w23.Resize = false; w23.Shrink = false; this.Caja1.Add(this.Caja2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Caja2])); w24.Position = 1; this.Caja.Add(this.Caja1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Caja1])); w25.Position = 1; // Container child Caja.Gtk.Box+BoxChild this.Estado = new global::Gtk.Statusbar(); this.Estado.Name = "Estado"; this.Estado.Homogeneous = true; this.Estado.Spacing = 6; // Container child Estado.Gtk.Box+BoxChild this.Caracteres = new global::Gtk.Label(); this.Caracteres.Name = "Caracteres"; this.Caracteres.LabelProp = global::Mono.Unix.Catalog.GetString("Caracteres: 0"); this.Estado.Add(this.Caracteres); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Caracteres])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child Estado.Gtk.Box+BoxChild this.Lineas = new global::Gtk.Label(); this.Lineas.Name = "Lineas"; this.Lineas.LabelProp = global::Mono.Unix.Catalog.GetString("Lineas: 0"); this.Estado.Add(this.Lineas); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Lineas])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.Caja.Add(this.Estado); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Estado])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.Add(this.Caja); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 779; this.DefaultHeight = 448; this.Barra_de_Busqueda.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.NuevoDocumento.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.Abrir.Activated += new global::System.EventHandler(this.OnAbrirActivated); this.Guardar.Activated += new global::System.EventHandler(this.OnGuardarActivated); this.GuardarComo.Activated += new global::System.EventHandler(this.OnGuardarComoActivated); this.printAction.Activated += new global::System.EventHandler(this.OnExportarPDFActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnSalirActivated); this.copyAction.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.OcultarHerramientas.Activated += new global::System.EventHandler(this.OnOcultarHerramientasToggled); this.OcultarExplorador.Activated += new global::System.EventHandler(this.OnOcultarExploradorToggled); this.HNuevo.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.HAbrir.Activated += new global::System.EventHandler(this.OnAbrirActivated); this.HGuardar.Activated += new global::System.EventHandler(this.OnGuardarActivated); this.HCopiar.Activated += new global::System.EventHandler(this.OnHCopiarActivated); this.HCortar.Activated += new global::System.EventHandler(this.OnHCortarActivated); this.HPegar.Activated += new global::System.EventHandler(this.OnHPegarActivated); this.findAction.Activated += new global::System.EventHandler(this.OnFindActionActivated); this.SeleccionarTodoAction.Activated += new global::System.EventHandler(this.OnSeleccionarTodoActionActivated); this.AcercaDeCodeSEAction.Activated += new global::System.EventHandler(this.OnAcercaDeCodeSEActionActivated); this.Compilar.Activated += new global::System.EventHandler(this.OnCompilarActivated); this.OcultarConsola.Toggled += new global::System.EventHandler(this.OnOcultarConsolaToggled); this.FuenteAction.Activated += new global::System.EventHandler(this.OnFuenteActionActivated); this.BtnBus.Clicked += new global::System.EventHandler(this.OnBtnBusActivated); this.Directorios.Changed += new global::System.EventHandler(this.OnDirectoriosChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoReports.Gui.Widgets.MonoreportsDesignerControl Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w2.Add(this.FileAction, null); this.FileAction1 = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w2.Add(this.FileAction1, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w2.Add(this.quitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w2.Add(this.HelpAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w2.Add(this.HelpAction1, null); this.executeAction = new global::Gtk.Action("executeAction", null, null, "gtk-execute"); w2.Add(this.executeAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w2.Add(this.aboutAction, null); this.zoomFitAction = new global::Gtk.Action("zoomFitAction", null, null, "gtk-zoom-fit"); w2.Add(this.zoomFitAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Otwórz"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Otwórz"); w2.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Zapisz"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Zapisz"); w2.Add(this.saveAction, null); this.executeAction1 = new global::Gtk.Action("executeAction1", null, null, "gtk-execute"); w2.Add(this.executeAction1, null); this.dialogErrorAction = new global::Gtk.Action("dialogErrorAction", null, null, "gtk-dialog-error"); w2.Add(this.dialogErrorAction, null); this.editAction = new global::Gtk.ToggleAction("editAction", null, null, "gtk-edit"); w2.Add(this.editAction, null); this.sortAscendingAction = new global::Gtk.Action("sortAscendingAction", null, null, "gtk-sort-ascending"); w2.Add(this.sortAscendingAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w2.Add(this.EditAction, null); this.ReportSettingsAction = new global::Gtk.Action("ReportSettingsAction", global::Mono.Unix.Catalog.GetString("Report Settings"), null, null); this.ReportSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Report Settings"); w2.Add(this.ReportSettingsAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MonoReports.Gui.Widgets.MonoreportsDesignerControl"; // Container child MonoReports.Gui.Widgets.MonoreportsDesignerControl.Gtk.Container+ContainerChild this.mainVbox = new global::Gtk.VBox(); this.mainVbox.Name = "mainVbox"; this.mainVbox.Spacing = -1; // Container child mainVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='mainMenubar'><menu name='FileAction1' action='FileAction1'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='ReportSettingsAction' action='ReportSettingsAction'/></menu><menu name='HelpAction1' action='HelpAction1'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.mainMenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/mainMenubar"))); this.mainMenubar.Name = "mainMenubar"; this.mainVbox.Add(this.mainMenubar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainMenubar])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child mainVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'mainToolbar\'/></ui>"); this.mainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/mainToolbar"))); this.mainToolbar.Name = "mainToolbar"; this.mainToolbar.ShowArrow = false; this.mainToolbar.IconSize = ((global::Gtk.IconSize)(1)); this.mainVbox.Add(this.mainToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.mainToolbar])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child mainVbox.Gtk.Box+BoxChild this.contentHbox = new global::Gtk.HBox(); this.contentHbox.Name = "contentHbox"; this.contentHbox.Spacing = 6; // Container child contentHbox.Gtk.Box+BoxChild this.mainHPaned = new global::Gtk.HPaned(); this.mainHPaned.CanFocus = true; this.mainHPaned.Name = "mainHPaned"; this.mainHPaned.Position = 721; // Container child mainHPaned.Gtk.Paned+PanedChild this.maindesignview1 = new global::MonoReports.Gui.Widgets.MainDesignView(); this.maindesignview1.Events = ((global::Gdk.EventMask)(256)); this.maindesignview1.Name = "maindesignview1"; this.mainHPaned.Add(this.maindesignview1); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.maindesignview1])); w5.Resize = false; // Container child mainHPaned.Gtk.Paned+PanedChild this.rightVPaned = new global::Gtk.VPaned(); this.rightVPaned.CanFocus = true; this.rightVPaned.Name = "rightVPaned"; this.rightVPaned.Position = 291; // Container child rightVPaned.Gtk.Paned+PanedChild this.reportExplorer = new global::MonoReports.Gui.Widgets.ReportExplorer(); this.reportExplorer.Name = "reportExplorer"; this.rightVPaned.Add(this.reportExplorer); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.rightVPaned [this.reportExplorer])); w6.Resize = false; // Container child rightVPaned.Gtk.Paned+PanedChild this.mainPropertygrid = new global::PropertyGrid.PropertyGrid(); this.mainPropertygrid.Name = "mainPropertygrid"; this.mainPropertygrid.ShowToolbar = false; this.mainPropertygrid.ShowHelp = false; this.rightVPaned.Add(this.mainPropertygrid); this.mainHPaned.Add(this.rightVPaned); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.mainHPaned [this.rightVPaned])); w8.Resize = false; this.contentHbox.Add(this.mainHPaned); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.contentHbox [this.mainHPaned])); w9.Position = 0; this.mainVbox.Add(this.contentHbox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.contentHbox])); w10.Position = 2; // Container child mainVbox.Gtk.Box+BoxChild this.bottomStatusbar = new global::Gtk.Statusbar(); this.bottomStatusbar.Name = "bottomStatusbar"; this.bottomStatusbar.Spacing = 6; // Container child bottomStatusbar.Gtk.Box+BoxChild this.StatusBarLabel = new global::Gtk.Label(); this.StatusBarLabel.Name = "StatusBarLabel"; this.bottomStatusbar.Add(this.StatusBarLabel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.bottomStatusbar [this.StatusBarLabel])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.mainVbox.Add(this.bottomStatusbar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.bottomStatusbar])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add(this.mainVbox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Hide(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.editAction.Activated += new global::System.EventHandler(this.OnEditActionActivated); this.ReportSettingsAction.Activated += new global::System.EventHandler(this.OnReportSettingsActionActivated); this.mainPropertygrid.Changed += new global::System.EventHandler(this.OnMainPropertygridChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FilterAction = new global::Gtk.Action ("FilterAction", global::Mono.Unix.Catalog.GetString ("Filter"), null, null); this.FilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Filter"); w1.Add (this.FilterAction, null); this.LanguageAction = new global::Gtk.Action ("LanguageAction", global::Mono.Unix.Catalog.GetString ("Language"), null, null); this.LanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language"); w1.Add (this.LanguageAction, null); this.UserAction = new global::Gtk.Action ("UserAction", global::Mono.Unix.Catalog.GetString ("User"), null, null); this.UserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("User"); w1.Add (this.UserAction, null); this.SaveRatingsAsAction = new global::Gtk.Action ("SaveRatingsAsAction", global::Mono.Unix.Catalog.GetString ("Save Ratings As ..."), null, null); this.SaveRatingsAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Ratings As ..."); w1.Add (this.SaveRatingsAsAction, null); this.SaveRatingsAnonymouslyAction = new global::Gtk.Action ("SaveRatingsAnonymouslyAction", global::Mono.Unix.Catalog.GetString ("Save Ratings Anonymously"), null, null); this.SaveRatingsAnonymouslyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Ratings Anonymously"); w1.Add (this.SaveRatingsAnonymouslyAction, null); this.DiscardRatingsAction = new global::Gtk.Action ("DiscardRatingsAction", global::Mono.Unix.Catalog.GetString ("Discard Ratings"), null, null); this.DiscardRatingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Discard Ratings"); w1.Add (this.DiscardRatingsAction, null); this.OnlyShow200MostPopularMoviesAction = new global::Gtk.ToggleAction ("OnlyShow200MostPopularMoviesAction", global::Mono.Unix.Catalog.GetString ("Only Show 200 Most Popular Movies "), null, null); this.OnlyShow200MostPopularMoviesAction.Active = true; this.OnlyShow200MostPopularMoviesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Only Show 200 Most Popular Movies "); w1.Add (this.OnlyShow200MostPopularMoviesAction, null); this.ByGenreAction = new global::Gtk.Action ("ByGenreAction", global::Mono.Unix.Catalog.GetString ("By Genre ..."), null, null); this.ByGenreAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("By Genre ..."); w1.Add (this.ByGenreAction, null); this.ActionAction = new global::Gtk.ToggleAction ("ActionAction", global::Mono.Unix.Catalog.GetString ("Action"), null, null); this.ActionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Action"); w1.Add (this.ActionAction, null); this.TODORestByProgramAction = new global::Gtk.Action ("TODORestByProgramAction", global::Mono.Unix.Catalog.GetString ("TODO: rest by program ..."), null, null); this.TODORestByProgramAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("TODO: rest by program ..."); w1.Add (this.TODORestByProgramAction, null); this.EnglishAction = new global::Gtk.RadioAction ("EnglishAction", global::Mono.Unix.Catalog.GetString ("English"), null, null, 0); this.EnglishAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.EnglishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("English"); w1.Add (this.EnglishAction, null); this.DeutschAction = new global::Gtk.RadioAction ("DeutschAction", global::Mono.Unix.Catalog.GetString ("Deutsch"), null, null, 0); this.DeutschAction.Group = this.EnglishAction.Group; this.DeutschAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Deutsch"); w1.Add (this.DeutschAction, null); this.LoadUserAction = new global::Gtk.Action ("LoadUserAction", global::Mono.Unix.Catalog.GetString ("Load User"), null, null); this.LoadUserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load User"); w1.Add (this.LoadUserAction, null); this.AndrAction = new global::Gtk.Action ("AndrAction", global::Mono.Unix.Catalog.GetString ("André"), null, null); this.AndrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("André"); w1.Add (this.AndrAction, null); this.ArtusAction = new global::Gtk.Action ("ArtusAction", global::Mono.Unix.Catalog.GetString ("Artus"), null, null); this.ArtusAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Artus"); w1.Add (this.ArtusAction, null); this.ChristophAction = new global::Gtk.Action ("ChristophAction", global::Mono.Unix.Catalog.GetString ("Christoph"), null, null); this.ChristophAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Christoph"); w1.Add (this.ChristophAction, null); this.LucasAction = new global::Gtk.Action ("LucasAction", global::Mono.Unix.Catalog.GetString ("Lucas"), null, null); this.LucasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Lucas"); w1.Add (this.LucasAction, null); this.KrisztianAction = new global::Gtk.Action ("KrisztianAction", global::Mono.Unix.Catalog.GetString ("Krisztian"), null, null); this.KrisztianAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Krisztian"); w1.Add (this.KrisztianAction, null); this.NgheAction = new global::Gtk.Action ("NgheAction", global::Mono.Unix.Catalog.GetString ("Nghe"), null, null); this.NgheAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nghe"); w1.Add (this.NgheAction, null); this.OsmanAction = new global::Gtk.Action ("OsmanAction", global::Mono.Unix.Catalog.GetString ("Osman"), null, null); this.OsmanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Osman"); w1.Add (this.OsmanAction, null); this.RasoulAction = new global::Gtk.Action ("RasoulAction", global::Mono.Unix.Catalog.GetString ("Rasoul"), null, null); this.RasoulAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rasoul"); w1.Add (this.RasoulAction, null); this.SabrinaAction = new global::Gtk.Action ("SabrinaAction", global::Mono.Unix.Catalog.GetString ("Sabrina"), null, null); this.SabrinaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sabrina"); w1.Add (this.SabrinaAction, null); this.TomasAction = new global::Gtk.Action ("TomasAction", global::Mono.Unix.Catalog.GetString ("Tomas"), null, null); this.TomasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tomas"); w1.Add (this.TomasAction, null); this.ZenoAction = new global::Gtk.Action ("ZenoAction", global::Mono.Unix.Catalog.GetString ("Zeno"), null, null); this.ZenoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Zeno"); w1.Add (this.ZenoAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MyMediaLite Movie Demo"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_animation", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='FilterAction' action='FilterAction'><menuitem name='OnlyShow200MostPopularMoviesAction' action='OnlyShow200MostPopularMoviesAction'/></menu><menu name='LanguageAction' action='LanguageAction'><menuitem name='EnglishAction' action='EnglishAction'/><menuitem name='DeutschAction' action='DeutschAction'/></menu><menu name='UserAction' action='UserAction'><menuitem name='SaveRatingsAnonymouslyAction' action='SaveRatingsAnonymouslyAction'/><menuitem name='DiscardRatingsAction' action='DiscardRatingsAction'/></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.filter_entry = new global::Gtk.Entry (); this.filter_entry.TooltipMarkup = "Enter string to filter the movie list"; this.filter_entry.CanFocus = true; this.filter_entry.Name = "filter_entry"; this.filter_entry.IsEditable = true; this.filter_entry.InvisibleChar = '●'; this.vbox1.Add (this.filter_entry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.filter_entry])); w3.Position = 1; w3.Expand = false; w3.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.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.TooltipMarkup = "Click in column 'Rating' to enter ratings"; this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.scrolledwindow2.Add (this.treeview1); this.hbox1.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow2])); w5.Position = 0; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w6.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 635; this.DefaultHeight = 580; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.SaveRatingsAsAction.Activated += new global::System.EventHandler (this.OnSaveRatingsAsActionActivated); this.SaveRatingsAnonymouslyAction.Activated += new global::System.EventHandler (this.OnSaveRatingsAnonymouslyActionActivated); this.DiscardRatingsAction.Activated += new global::System.EventHandler (this.OnDiscardRatingsActionActivated); this.OnlyShow200MostPopularMoviesAction.Toggled += new global::System.EventHandler (this.OnOnlyShow200MostPopularMoviesActionToggled); this.EnglishAction.Activated += new global::System.EventHandler (this.OnEnglishActionActivated); this.DeutschAction.Activated += new global::System.EventHandler (this.OnDeutschActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::VAS.Core.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewPojectAction = new global::Gtk.Action ("NewPojectAction", global::VAS.Core.Catalog.GetString ("_New Project"), null, "gtk-new"); this.NewPojectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_New Project"); w1.Add (this.NewPojectAction, null); this.OpenProjectAction = new global::Gtk.Action ("OpenProjectAction", global::VAS.Core.Catalog.GetString ("_Open Project"), null, "gtk-open"); this.OpenProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Open Project"); w1.Add (this.OpenProjectAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::VAS.Core.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.QuitAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Quit"); w1.Add (this.QuitAction, null); this.CloseProjectAction = new global::Gtk.Action ("CloseProjectAction", global::VAS.Core.Catalog.GetString ("_Close Project"), null, "gtk-close"); this.CloseProjectAction.Sensitive = false; this.CloseProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Close Project"); w1.Add (this.CloseProjectAction, null); this.ToolsAction = new global::Gtk.Action ("ToolsAction", global::VAS.Core.Catalog.GetString ("_Tools"), null, null); this.ToolsAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Tools"); w1.Add (this.ToolsAction, null); this.ProjectsManagerAction = new global::Gtk.Action ("ProjectsManagerAction", global::VAS.Core.Catalog.GetString ("Projects Manager"), null, null); this.ProjectsManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Database Manager"); w1.Add (this.ProjectsManagerAction, "<Primary>m"); this.CategoriesTemplatesManagerAction = new global::Gtk.Action ("CategoriesTemplatesManagerAction", global::VAS.Core.Catalog.GetString ("Analysis Dashboards Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Dashboards Manager"); w1.Add (this.CategoriesTemplatesManagerAction, "<Primary>d"); this.ViewAction = new global::Gtk.Action ("ViewAction", global::VAS.Core.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_View"); w1.Add (this.ViewAction, "<Control>t"); this.FullScreenAction = new global::Gtk.ToggleAction ("FullScreenAction", global::VAS.Core.Catalog.GetString ("Full Screen"), null, "gtk-fullscreen"); this.FullScreenAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Full Screen"); w1.Add (this.FullScreenAction, "<Primary>f"); this.SaveProjectAction = new global::Gtk.Action ("SaveProjectAction", global::VAS.Core.Catalog.GetString ("_Save Project"), null, "gtk-save"); this.SaveProjectAction.Sensitive = false; this.SaveProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Save Project"); w1.Add (this.SaveProjectAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::VAS.Core.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::VAS.Core.Catalog.GetString ("_About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_About"); w1.Add (this.AboutAction, null); this.ExportProjectToCSVFileAction = new global::Gtk.Action ("ExportProjectToCSVFileAction", global::VAS.Core.Catalog.GetString ("Export Project To CSV File"), null, null); this.ExportProjectToCSVFileAction.Sensitive = false; this.ExportProjectToCSVFileAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Export Project To CSV File"); this.ExportProjectToCSVFileAction.Visible = false; w1.Add (this.ExportProjectToCSVFileAction, null); this.TeamsTemplatesManagerAction = new global::Gtk.Action ("TeamsTemplatesManagerAction", global::VAS.Core.Catalog.GetString ("Teams Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Teams Manager"); w1.Add (this.TeamsTemplatesManagerAction, "<Primary>t"); this.HelpAction1 = new global::Gtk.Action ("HelpAction1", global::VAS.Core.Catalog.GetString ("_Help"), null, "gtk-help"); this.HelpAction1.ShortLabel = global::VAS.Core.Catalog.GetString ("_Help"); w1.Add (this.HelpAction1, null); this.ImportProjectAction = new global::Gtk.Action ("ImportProjectAction", global::VAS.Core.Catalog.GetString ("_Import Project"), null, "stock-import"); this.ImportProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("_Import Project"); w1.Add (this.ImportProjectAction, "<Primary>i"); this.ExportProjectAction = new global::Gtk.Action ("ExportProjectAction", global::VAS.Core.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction, null); this.ExportProjectAction1 = new global::Gtk.Action ("ExportProjectAction1", global::VAS.Core.Catalog.GetString ("Export Project"), null, null); this.ExportProjectAction1.Sensitive = false; this.ExportProjectAction1.ShortLabel = global::VAS.Core.Catalog.GetString ("Export Project"); w1.Add (this.ExportProjectAction1, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.ExportToProjectFileAction = new global::Gtk.Action ("ExportToProjectFileAction", global::VAS.Core.Catalog.GetString ("Export to project file"), null, null); this.ExportToProjectFileAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Export to project file"); w1.Add (this.ExportToProjectFileAction, null); this.ImportFromFileAction = new global::Gtk.Action ("ImportFromFileAction", global::VAS.Core.Catalog.GetString ("Import from file"), null, null); this.ImportFromFileAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Import from file"); w1.Add (this.ImportFromFileAction, null); this.VideoConverterToolAction = new global::Gtk.Action ("VideoConverterToolAction", global::VAS.Core.Catalog.GetString ("Video Converter Tool"), null, null); this.VideoConverterToolAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Video Converter Tool"); w1.Add (this.VideoConverterToolAction, null); this.DatabasesManagerAction = new global::Gtk.Action ("DatabasesManagerAction", global::VAS.Core.Catalog.GetString ("Databases Manager"), null, null); this.DatabasesManagerAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Databases Manager"); w1.Add (this.DatabasesManagerAction, "<Primary>b"); this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::VAS.Core.Catalog.GetString ("Preferences"), null, null); this.PreferencesAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Preferences"); w1.Add (this.PreferencesAction, "<Primary>p"); this.ShowProjectStatsAction = new global::Gtk.Action ("ShowProjectStatsAction", global::VAS.Core.Catalog.GetString ("Show project stats"), null, null); this.ShowProjectStatsAction.Sensitive = false; this.ShowProjectStatsAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Show project stats"); w1.Add (this.ShowProjectStatsAction, "<Primary>h"); this.MigrationToolAction = new global::Gtk.Action ("MigrationToolAction", global::VAS.Core.Catalog.GetString ("Migration Tool"), null, null); this.MigrationToolAction.ShortLabel = global::VAS.Core.Catalog.GetString ("Migration Tool"); w1.Add (this.MigrationToolAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LongoMatch.Gui.MainWindow"; this.Title = global::VAS.Core.Catalog.GetString ("LongoMatch"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child LongoMatch.Gui.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.menubox = new global::Gtk.VBox (); this.menubox.Name = "menubox"; this.menubox.Spacing = 6; // Container child menubox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='OpenProjectAction' action='OpenProjectAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='DatabasesManagerAction' action='DatabasesManagerAction'/><separator/><menuitem name='ShowProjectStatsAction' action='ShowProjectStatsAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'/><separator/><menuitem name='VideoConverterToolAction' action='VideoConverterToolAction'/><menuitem name='MigrationToolAction' action='MigrationToolAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><separator/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.menubox.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.menubox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.menubox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.centralbox = new global::Gtk.HBox (); this.centralbox.Name = "centralbox"; this.centralbox.Spacing = 6; this.vbox1.Add (this.centralbox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.centralbox])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.renderingstatebarview1 = new global::VAS.UI.Component.RenderingStateBarView (); this.renderingstatebarview1.Events = ((global::Gdk.EventMask)(256)); this.renderingstatebarview1.Name = "renderingstatebarview1"; this.vbox1.Add (this.renderingstatebarview1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.renderingstatebarview1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 938; this.DefaultHeight = 604; this.Show (); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.HelpAction1.Activated += new global::System.EventHandler (this.OnHelpAction1Activated); this.VideoConverterToolAction.Activated += new global::System.EventHandler (this.OnVideoConverterToolActionActivated); this.MigrationToolAction.Activated += new global::System.EventHandler (this.OnMigrationToolActionActivated); }