protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BeaJay.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.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.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.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "BeaJay.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Medico Main Window"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child BeaJay.MainWindow.Gtk.Container+ContainerChild this.baseVerticalSplit = new global::Gtk.VBox (); this.baseVerticalSplit.Name = "baseVerticalSplit"; this.baseVerticalSplit.Spacing = 6; // Container child baseVerticalSplit.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='AboutAction' action='AboutAction'/><menuitem name='ExitAction' action='ExitAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.baseVerticalSplit.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.baseVerticalSplit [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child baseVerticalSplit.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.debugSerialise = new global::Gtk.TextView (); this.debugSerialise.CanFocus = true; this.debugSerialise.Name = "debugSerialise"; this.GtkScrolledWindow.Add (this.debugSerialise); this.baseVerticalSplit.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.baseVerticalSplit [this.GtkScrolledWindow])); w4.Position = 1; this.Add (this.baseVerticalSplit); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 465; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpen); this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); }
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.FiguresAction = new global::Gtk.Action ("FiguresAction", global::Mono.Unix.Catalog.GetString ("Figures"), null, null); this.FiguresAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Figures"); w1.Add (this.FiguresAction, null); this.AddClassFigureAction = new global::Gtk.Action ("AddClassFigureAction", global::Mono.Unix.Catalog.GetString ("Add Class Figure"), null, null); this.AddClassFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Class Figure"); w1.Add (this.AddClassFigureAction, null); this.AddStackFigureAction = new global::Gtk.Action ("AddStackFigureAction", global::Mono.Unix.Catalog.GetString ("Add StackFigure"), null, null); this.AddStackFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add StackFigure"); w1.Add (this.AddStackFigureAction, null); this.AddMemberGroupAction = new global::Gtk.Action ("AddMemberGroupAction", global::Mono.Unix.Catalog.GetString ("Add MemberGroup"), null, null); this.AddMemberGroupAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add MemberGroup"); w1.Add (this.AddMemberGroupAction, null); this.AddSimpleTextFigureAction = new global::Gtk.Action ("AddSimpleTextFigureAction", global::Mono.Unix.Catalog.GetString ("Add SimpleTextFigure"), null, null); this.AddSimpleTextFigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add SimpleTextFigure"); w1.Add (this.AddSimpleTextFigureAction, 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='FiguresAction' action='FiguresAction'><menuitem name='AddClassFigureAction' action='AddClassFigureAction'/><menuitem name='AddStackFigureAction' action='AddStackFigureAction'/><menuitem name='AddMemberGroupAction' action='AddMemberGroupAction'/><menuitem name='AddSimpleTextFigureAction' action='AddSimpleTextFigureAction'/></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.mhdcanvas = new global::MonoHotDraw.SteticComponent (); this.mhdcanvas.Events = ((global::Gdk.EventMask)(256)); this.mhdcanvas.Name = "mhdcanvas"; this.vbox1.Add (this.mhdcanvas); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.mhdcanvas])); w3.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.AddClassFigureAction.Activated += new global::System.EventHandler (this.OnAddClassFigureActionActivated); this.AddStackFigureAction.Activated += new global::System.EventHandler (this.OnAddStackFigureActionActivated); this.AddMemberGroupAction.Activated += new global::System.EventHandler (this.OnAddMemberGroupActionActivated); this.AddSimpleTextFigureAction.Activated += new global::System.EventHandler (this.OnAddSimpleTextFigureActionActivated); }
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.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.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.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\'><menuite" + "m name=\'OpenAction\' action=\'OpenAction\'/><menuitem name=\'AboutAction\' action=\'Ab" + "outAction\'/><menuitem name=\'ExitAction\' action=\'ExitAction\'/></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.displayImage = new global::Gtk.Image (); this.displayImage.Name = "displayImage"; this.vbox2.Add (this.displayImage); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.displayImage])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpen); this.AboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Cheque.GTK.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.AddAction = new global::Gtk.Action ("AddAction", global::Mono.Unix.Catalog.GetString ("Adicionar"), null, null); this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Adicionar"); w1.Add (this.AddAction, null); this.CheckAction = new global::Gtk.Action ("CheckAction", global::Mono.Unix.Catalog.GetString ("Cheque"), null, null); this.CheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cheque"); w1.Add (this.CheckAction, null); this.CustomerAction = new global::Gtk.Action ("CustomerAction", global::Mono.Unix.Catalog.GetString ("Cliente"), null, null); this.CustomerAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cliente"); w1.Add (this.CustomerAction, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.ReportsAction = new global::Gtk.Action ("ReportsAction", global::Mono.Unix.Catalog.GetString ("Relatórios"), null, null); this.ReportsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Relatórios"); w1.Add (this.ReportsAction, null); this.ChecksAction = new global::Gtk.Action ("ChecksAction", global::Mono.Unix.Catalog.GetString ("Cheques"), null, null); this.ChecksAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cheques"); w1.Add (this.ChecksAction, null); this.ModifyAction = new global::Gtk.Action ("ModifyAction", global::Mono.Unix.Catalog.GetString ("Alterar"), null, null); this.ModifyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Alterar"); w1.Add (this.ModifyAction, null); this.PasswordAction = new global::Gtk.Action ("PasswordAction", global::Mono.Unix.Catalog.GetString ("Senha"), null, null); this.PasswordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Senha"); w1.Add (this.PasswordAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Cheque.GTK.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Cheques"); this.DefaultWidth = 1024; this.DefaultHeight = 768; // Container child Cheque.GTK.MainWindow.Gtk.Container+ContainerChild this.containerVbox = new global::Gtk.VBox (); this.containerVbox.Name = "containerVbox"; this.containerVbox.Spacing = 6; // Container child containerVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar'><menu name='AddAction' action='AddAction'><menuitem name='CheckAction' action='CheckAction'/><menuitem name='CustomerAction' action='CustomerAction'/></menu><menu name='ReportsAction' action='ReportsAction'><menuitem name='ChecksAction' action='ChecksAction'/></menu><menu name='ModifyAction' action='ModifyAction'><menuitem name='PasswordAction' action='PasswordAction'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar"))); this.menubar.Name = "menubar"; this.containerVbox.Add (this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.containerVbox [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.Add (this.containerVbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.CheckAction.Activated += new global::System.EventHandler (this.OnCheckActionActivated); this.CustomerAction.Activated += new global::System.EventHandler (this.OnCustomerActionActivated); this.ChecksAction.Activated += new global::System.EventHandler (this.OnChecksActionActivated); this.PasswordAction.Activated += new global::System.EventHandler (this.OnPasswordActionActivated); }
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.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.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.table1.Add (this.menubar1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.menubar1])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.reportviewer1 = new global::fyiReporting.RdlGtkViewer.ReportViewer (); this.reportviewer1.WidthRequest = 0; this.reportviewer1.HeightRequest = 0; this.reportviewer1.Events = ((global::Gdk.EventMask)(256)); this.reportviewer1.Name = "reportviewer1"; this.reportviewer1.ShowErrors = false; this.reportviewer1.ShowParameters = false; this.table1.Add (this.reportviewer1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.reportviewer1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 487; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnFileOpen_Activated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget NicoMonoViewer.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FAction = new global::Gtk.Action ("FAction", global::Mono.Unix.Catalog.GetString ("ファイル(_F)"), null, null); this.FAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ファイル(_F)"); w1.Add (this.FAction, null); this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("閉じる(_C)"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("閉じる(_C)"); w1.Add (this.closeAction, null); this.OAction = new global::Gtk.Action ("OAction", global::Mono.Unix.Catalog.GetString ("設定(_O)"), null, null); this.OAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("設定(_O)"); w1.Add (this.OAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "NicoMonoViewer.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child NicoMonoViewer.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='FAction' action='FAction'><menuitem name='closeAction' action='closeAction'/></menu><menu name='OAction' action='OAction'/></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.nicorepowidget = new global::NicoMonoViewer.NicorepoWidget (); this.nicorepowidget.Events = ((global::Gdk.EventMask)(256)); this.nicorepowidget.Name = "nicorepowidget"; this.vbox.Add (this.nicorepowidget); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.nicorepowidget])); w3.Position = 1; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 509; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); }
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.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='menuMain'/></ui>"); this.menuMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menuMain"))); this.menuMain.Name = "menuMain"; this.vbox1.Add (this.menuMain); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menuMain])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='tbMain'/></ui>"); this.tbMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tbMain"))); this.tbMain.Name = "tbMain"; this.tbMain.ShowArrow = false; this.vbox1.Add (this.tbMain); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.tbMain])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.nbMain = new global::Gtk.Notebook (); this.nbMain.CanFocus = true; this.nbMain.Name = "nbMain"; this.nbMain.CurrentPage = -1; this.vbox1.Add (this.nbMain); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.nbMain])); w4.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1257; this.DefaultHeight = 805; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget guiTesting.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.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.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.exitAction1 = new global::Gtk.Action ("exitAction1", global::Mono.Unix.Catalog.GetString ("exit"), null, null); this.exitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("exit"); w1.Add (this.exitAction1, null); this.cutAction = new global::Gtk.Action ("cutAction", global::Mono.Unix.Catalog.GetString ("open"), null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("open"); w1.Add (this.cutAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "guiTesting.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child guiTesting.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'><menu name='fileAction' action='fileAction'><menuitem name='exitAction1' action='exitAction1'/><menuitem name='cutAction' action='cutAction'/></menu></menubar></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; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.exitAction1.Activated += new global::System.EventHandler (this.exit); this.cutAction.Activated += new global::System.EventHandler (this.@new); }
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 ("ふぁいる "); w1.Add (this.FileAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("かいとか"); w1.Add (this.ExitAction, 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='ExitAction' action='ExitAction'/></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.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.BorderWidth = ((uint)(24)); this.button1.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.vbox1.Add (this.button1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1])); w3.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 495; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
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.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.NouvelleDBGBNAction = new global::Gtk.Action ("NouvelleDBGBNAction", global::Mono.Unix.Catalog.GetString ("Nouvelle DB GBN"), null, null); this.NouvelleDBGBNAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nouvelle DB GBN"); w1.Add (this.NouvelleDBGBNAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("W40Kreator - DBEditor"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar2\'><menu name=\'FichierAction\' action=\'FichierAction\'><m" + "enuitem name=\'NouvelleDBGBNAction\' action=\'NouvelleDBGBNAction\'/></menu></menuba" + "r></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.fixed1.Add (this.menubar2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.menubar2])); w2.X = 14; w2.Y = 9; this.alignment1.Add (this.fixed1); this.Add (this.alignment1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 424; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NouvelleDBGBNAction.Activated += new global::System.EventHandler (this.NewCoreDB); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow 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.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.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.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.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); 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.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.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='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></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.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.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.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.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 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 = 483; this.DefaultHeight = 497; 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", 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.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.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, 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.HowToUseAction = new global::Gtk.Action("HowToUseAction", global::Mono.Unix.Catalog.GetString("How to use"), null, null); this.HowToUseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("How to use"); w1.Add(this.HowToUseAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("BizMachineGUI"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.HeightRequest = 10; this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 22; // Container child vpaned1.Gtk.Paned+PanedChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HowToUseAction' action='HowToUseAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vpaned1.Add(this.menubar1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.menubar1])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 31; // Container child vpaned2.Gtk.Paned+PanedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.vpaned2.Add(this.label1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.label1])); w3.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.image4 = new global::Gtk.Image(); this.image4.Name = "image4"; this.vpaned2.Add(this.image4); this.vpaned1.Add(this.vpaned2); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler(this.OpenFile); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.HowToUseAction.Activated += new global::System.EventHandler(this.OnHowToUseActionActivated); }
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.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.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='menubar2'><menu name='testAction' action='testAction'/></menubar></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.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.from_lang = global::Gtk.ComboBoxEntry.NewText (); this.from_lang.AppendText (global::Mono.Unix.Catalog.GetString ("English")); this.from_lang.AppendText (global::Mono.Unix.Catalog.GetString ("Russian")); this.from_lang.Name = "from_lang"; this.vbox2.Add (this.from_lang); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.from_lang])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // 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.fromTextInput = new global::Gtk.TextView (); this.fromTextInput.CanDefault = true; this.fromTextInput.CanFocus = true; this.fromTextInput.Name = "fromTextInput"; this.GtkScrolledWindow.Add (this.fromTextInput); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w5.Position = 1; this.hbox2.Add (this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w6.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.auto_translate_checkbox = new global::Gtk.CheckButton (); this.auto_translate_checkbox.CanFocus = true; this.auto_translate_checkbox.Name = "auto_translate_checkbox"; this.auto_translate_checkbox.Label = global::Mono.Unix.Catalog.GetString ("TranslateAuto"); this.auto_translate_checkbox.DrawIndicator = true; this.auto_translate_checkbox.UseUnderline = true; this.vbox3.Add (this.auto_translate_checkbox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.auto_translate_checkbox])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.change_languages_button = new global::Gtk.Button (); this.change_languages_button.CanFocus = true; this.change_languages_button.Name = "change_languages_button"; this.change_languages_button.UseUnderline = true; this.change_languages_button.Label = global::Mono.Unix.Catalog.GetString ("ChangeLanguage"); this.vbox3.Add (this.change_languages_button); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.change_languages_button])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.translate_button = new global::Gtk.Button (); this.translate_button.CanFocus = true; this.translate_button.Name = "translate_button"; this.translate_button.UseUnderline = true; this.translate_button.Label = global::Mono.Unix.Catalog.GetString ("Translate"); this.vbox3.Add (this.translate_button); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.translate_button])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.to_lang = global::Gtk.ComboBoxEntry.NewText (); this.to_lang.AppendText (global::Mono.Unix.Catalog.GetString ("English")); this.to_lang.AppendText (global::Mono.Unix.Catalog.GetString ("Russian")); this.to_lang.Name = "to_lang"; this.vbox4.Add (this.to_lang); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.to_lang])); w11.Position = 0; w11.Expand = false; w11.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.toTextInput = new global::Gtk.TextView (); this.toTextInput.CanFocus = true; this.toTextInput.Name = "toTextInput"; this.GtkScrolledWindow1.Add (this.toTextInput); this.vbox4.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w13.Position = 1; this.hbox2.Add (this.vbox4); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); w14.Position = 2; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w15.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 w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 644; this.DefaultHeight = 428; this.fromTextInput.HasDefault = true; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.translate_button.Clicked += new global::System.EventHandler (this.OnTranslateButtonClicked); }
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.OpenResourceDescriptionAction = new global::Gtk.Action ("OpenResourceDescriptionAction", global::Mono.Unix.Catalog.GetString ("Open Resource Description..."), null, null); this.OpenResourceDescriptionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Resource Description..."); w1.Add (this.OpenResourceDescriptionAction, null); this.SaveResourceDescriptionAction = new global::Gtk.Action ("SaveResourceDescriptionAction", global::Mono.Unix.Catalog.GetString ("Save Resource Description..."), null, null); this.SaveResourceDescriptionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Resource Description..."); w1.Add (this.SaveResourceDescriptionAction, null); this.PublishAction = new global::Gtk.Action ("PublishAction", global::Mono.Unix.Catalog.GetString ("Publish"), null, null); this.PublishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Publish"); w1.Add (this.PublishAction, null); this.PublishCurrentDocumentAction = new global::Gtk.Action ("PublishCurrentDocumentAction", global::Mono.Unix.Catalog.GetString ("Publish Current Document"), null, null); this.PublishCurrentDocumentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Publish Current Document"); w1.Add (this.PublishCurrentDocumentAction, null); this.PublishFromFolderAction = new global::Gtk.Action ("PublishFromFolderAction", global::Mono.Unix.Catalog.GetString ("Publish From Folder..."), null, null); this.PublishFromFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Publish From Folder..."); w1.Add (this.PublishFromFolderAction, 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.PublishFromCSVAction = new global::Gtk.Action ("PublishFromCSVAction", global::Mono.Unix.Catalog.GetString ("Publish From CSV..."), null, null); this.PublishFromCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Publish From CSV"); w1.Add (this.PublishFromCSVAction, null); this.HistoryAction = new global::Gtk.Action ("HistoryAction", global::Mono.Unix.Catalog.GetString ("History"), null, null); this.HistoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("History"); w1.Add (this.HistoryAction, null); this.ViewPublishHistoryAction = new global::Gtk.Action ("ViewPublishHistoryAction", global::Mono.Unix.Catalog.GetString ("View Publish History"), null, null); this.ViewPublishHistoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View Publish History"); w1.Add (this.ViewPublishHistoryAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Learning Registry Publishing Tool"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.MainVerticalPane = new global::Gtk.VBox (); this.MainVerticalPane.Name = "MainVerticalPane"; this.MainVerticalPane.Spacing = 6; this.MainVerticalPane.BorderWidth = ((uint)(6)); // Container child MainVerticalPane.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='MainMenu'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenResourceDescriptionAction' action='OpenResourceDescriptionAction'/><menuitem name='SaveResourceDescriptionAction' action='SaveResourceDescriptionAction'/></menu><menu name='PublishAction' action='PublishAction'><menuitem name='PublishCurrentDocumentAction' action='PublishCurrentDocumentAction'/><menuitem name='PublishFromCSVAction' action='PublishFromCSVAction'/></menu><menu name='HistoryAction' action='HistoryAction'><menuitem name='ViewPublishHistoryAction' action='ViewPublishHistoryAction'/></menu></menubar></ui>"); this.MainMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/MainMenu"))); this.MainMenu.Name = "MainMenu"; this.MainVerticalPane.Add (this.MainMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.MainVerticalPane [this.MainMenu])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child MainVerticalPane.Gtk.Box+BoxChild this.RootNotebook = new global::Gtk.Notebook (); this.RootNotebook.CanFocus = true; this.RootNotebook.Name = "RootNotebook"; this.RootNotebook.CurrentPage = 0; // Container child RootNotebook.Gtk.Notebook+NotebookChild this.ResourceDescriptionContainer = new global::Gtk.HBox (); this.ResourceDescriptionContainer.Name = "ResourceDescriptionContainer"; this.ResourceDescriptionContainer.Spacing = 6; this.ResourceDescriptionContainer.BorderWidth = ((uint)(9)); // Container child ResourceDescriptionContainer.Gtk.Box+BoxChild this.ResourceDescriptionColumn1 = new global::Gtk.VBox (); this.ResourceDescriptionColumn1.Name = "ResourceDescriptionColumn1"; this.ResourceDescriptionColumn1.Spacing = 6; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.lbl_ResourceDataType = new global::Gtk.Label (); this.lbl_ResourceDataType.Name = "lbl_ResourceDataType"; this.lbl_ResourceDataType.Xalign = 0F; this.lbl_ResourceDataType.LabelProp = global::Mono.Unix.Catalog.GetString ("*Resource Data Type:"); this.ResourceDescriptionColumn1.Add (this.lbl_ResourceDataType); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.lbl_ResourceDataType])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.ResourceDataTypeComboBox = global::Gtk.ComboBox.NewText (); this.ResourceDataTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Metadata")); this.ResourceDataTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Paradata")); this.ResourceDataTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Resource")); this.ResourceDataTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Assertion")); this.ResourceDataTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Other")); this.ResourceDataTypeComboBox.Name = "ResourceDataTypeComboBox"; this.ResourceDataTypeComboBox.Active = 0; this.ResourceDescriptionColumn1.Add (this.ResourceDataTypeComboBox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.ResourceDataTypeComboBox])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.lbl_ResourceLocator = new global::Gtk.Label (); this.lbl_ResourceLocator.Name = "lbl_ResourceLocator"; this.lbl_ResourceLocator.Xalign = 0F; this.lbl_ResourceLocator.LabelProp = global::Mono.Unix.Catalog.GetString ("*Resource Locator:"); this.ResourceDescriptionColumn1.Add (this.lbl_ResourceLocator); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.lbl_ResourceLocator])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.ResourceLocatorTextBox = new global::Gtk.Entry (); this.ResourceLocatorTextBox.CanFocus = true; this.ResourceLocatorTextBox.Name = "ResourceLocatorTextBox"; this.ResourceLocatorTextBox.IsEditable = true; this.ResourceLocatorTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn1.Add (this.ResourceLocatorTextBox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.ResourceLocatorTextBox])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.lbl_PayloadPlacement = new global::Gtk.Label (); this.lbl_PayloadPlacement.Name = "lbl_PayloadPlacement"; this.lbl_PayloadPlacement.Xalign = 0F; this.lbl_PayloadPlacement.LabelProp = global::Mono.Unix.Catalog.GetString ("*Payload Placement:"); this.ResourceDescriptionColumn1.Add (this.lbl_PayloadPlacement); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.lbl_PayloadPlacement])); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.PayloadPlacementComboBox = global::Gtk.ComboBox.NewText (); this.PayloadPlacementComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Inline")); this.PayloadPlacementComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Linked")); this.PayloadPlacementComboBox.AppendText (""); this.PayloadPlacementComboBox.Name = "PayloadPlacementComboBox"; this.PayloadPlacementComboBox.Active = 0; this.ResourceDescriptionColumn1.Add (this.PayloadPlacementComboBox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.PayloadPlacementComboBox])); w8.Position = 5; w8.Expand = false; w8.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.PayloadChooseContainer = new global::Gtk.VBox (); this.PayloadChooseContainer.Name = "PayloadChooseContainer"; this.PayloadChooseContainer.Spacing = 6; // Container child PayloadChooseContainer.Gtk.Box+BoxChild this.PayloadFileContainer = new global::Gtk.VBox (); this.PayloadFileContainer.Name = "PayloadFileContainer"; this.PayloadFileContainer.Spacing = 6; // Container child PayloadFileContainer.Gtk.Box+BoxChild this.lbl_PayloadFile = new global::Gtk.Label (); this.lbl_PayloadFile.Name = "lbl_PayloadFile"; this.lbl_PayloadFile.Xalign = 0F; this.lbl_PayloadFile.LabelProp = global::Mono.Unix.Catalog.GetString ("*Payload File:"); this.PayloadFileContainer.Add (this.lbl_PayloadFile); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.PayloadFileContainer [this.lbl_PayloadFile])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child PayloadFileContainer.Gtk.Box+BoxChild this.PayloadFileChooser = new global::Gtk.FileChooserButton (global::Mono.Unix.Catalog.GetString ("Select A File"), ((global::Gtk.FileChooserAction)(0))); this.PayloadFileChooser.Name = "PayloadFileChooser"; this.PayloadFileContainer.Add (this.PayloadFileChooser); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.PayloadFileContainer [this.PayloadFileChooser])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.PayloadChooseContainer.Add (this.PayloadFileContainer); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.PayloadChooseContainer [this.PayloadFileContainer])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child PayloadChooseContainer.Gtk.Box+BoxChild this.PayloadLocatorContainer = new global::Gtk.VBox (); this.PayloadLocatorContainer.Name = "PayloadLocatorContainer"; this.PayloadLocatorContainer.Spacing = 6; // Container child PayloadLocatorContainer.Gtk.Box+BoxChild this.lbl_PayloadLocator = new global::Gtk.Label (); this.lbl_PayloadLocator.Name = "lbl_PayloadLocator"; this.lbl_PayloadLocator.Xalign = 0F; this.lbl_PayloadLocator.LabelProp = global::Mono.Unix.Catalog.GetString ("*Payload Locator:"); this.PayloadLocatorContainer.Add (this.lbl_PayloadLocator); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.PayloadLocatorContainer [this.lbl_PayloadLocator])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child PayloadLocatorContainer.Gtk.Box+BoxChild this.PayloadLocatorTextBox = new global::Gtk.Entry (); this.PayloadLocatorTextBox.CanFocus = true; this.PayloadLocatorTextBox.Name = "PayloadLocatorTextBox"; this.PayloadLocatorTextBox.IsEditable = true; this.PayloadLocatorTextBox.InvisibleChar = '●'; this.PayloadLocatorContainer.Add (this.PayloadLocatorTextBox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.PayloadLocatorContainer [this.PayloadLocatorTextBox])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.PayloadChooseContainer.Add (this.PayloadLocatorContainer); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.PayloadChooseContainer [this.PayloadLocatorContainer])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child PayloadChooseContainer.Gtk.Box+BoxChild this.PayloadEditorButtonBox = new global::Gtk.HButtonBox (); this.PayloadEditorButtonBox.Name = "PayloadEditorButtonBox"; // Container child PayloadEditorButtonBox.Gtk.ButtonBox+ButtonBoxChild this.EditPayloadButton = new global::Gtk.Button (); this.EditPayloadButton.CanFocus = true; this.EditPayloadButton.Name = "EditPayloadButton"; this.EditPayloadButton.UseUnderline = true; this.EditPayloadButton.Label = global::Mono.Unix.Catalog.GetString ("Edit Data"); this.PayloadEditorButtonBox.Add (this.EditPayloadButton); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.PayloadEditorButtonBox [this.EditPayloadButton])); w15.Expand = false; w15.Fill = false; // Container child PayloadEditorButtonBox.Gtk.ButtonBox+ButtonBoxChild this.ChoosePayloadFileButton = new global::Gtk.Button (); this.ChoosePayloadFileButton.CanFocus = true; this.ChoosePayloadFileButton.Name = "ChoosePayloadFileButton"; this.ChoosePayloadFileButton.UseUnderline = true; this.ChoosePayloadFileButton.Label = global::Mono.Unix.Catalog.GetString ("Choose File..."); this.PayloadEditorButtonBox.Add (this.ChoosePayloadFileButton); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.PayloadEditorButtonBox [this.ChoosePayloadFileButton])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.PayloadChooseContainer.Add (this.PayloadEditorButtonBox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.PayloadChooseContainer [this.PayloadEditorButtonBox])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.ResourceDescriptionColumn1.Add (this.PayloadChooseContainer); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.PayloadChooseContainer])); w18.Position = 6; w18.Expand = false; w18.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.lbl_PayloadSchema = new global::Gtk.Label (); this.lbl_PayloadSchema.Name = "lbl_PayloadSchema"; this.lbl_PayloadSchema.Xalign = 0F; this.lbl_PayloadSchema.LabelProp = global::Mono.Unix.Catalog.GetString ("*Payload Schema:"); this.ResourceDescriptionColumn1.Add (this.lbl_PayloadSchema); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.lbl_PayloadSchema])); w19.Position = 7; w19.Expand = false; w19.Fill = false; // Container child ResourceDescriptionColumn1.Gtk.Box+BoxChild this.PayloadSchemaTextBox = new global::Gtk.Entry (); this.PayloadSchemaTextBox.CanFocus = true; this.PayloadSchemaTextBox.Name = "PayloadSchemaTextBox"; this.PayloadSchemaTextBox.IsEditable = true; this.PayloadSchemaTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn1.Add (this.PayloadSchemaTextBox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn1 [this.PayloadSchemaTextBox])); w20.Position = 8; w20.Expand = false; w20.Fill = false; this.ResourceDescriptionContainer.Add (this.ResourceDescriptionColumn1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionContainer [this.ResourceDescriptionColumn1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; w21.Padding = ((uint)(10)); // Container child ResourceDescriptionContainer.Gtk.Box+BoxChild this.ResourceDescriptionColumn2 = new global::Gtk.VBox (); this.ResourceDescriptionColumn2.Name = "ResourceDescriptionColumn2"; this.ResourceDescriptionColumn2.Spacing = 6; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.lbl_SchemaLocator = new global::Gtk.Label (); this.lbl_SchemaLocator.Name = "lbl_SchemaLocator"; this.lbl_SchemaLocator.Xalign = 0F; this.lbl_SchemaLocator.LabelProp = global::Mono.Unix.Catalog.GetString ("Schema Locator:"); this.ResourceDescriptionColumn2.Add (this.lbl_SchemaLocator); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.lbl_SchemaLocator])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.PayloadSchemaLocatorTextBox = new global::Gtk.Entry (); this.PayloadSchemaLocatorTextBox.CanFocus = true; this.PayloadSchemaLocatorTextBox.Name = "PayloadSchemaLocatorTextBox"; this.PayloadSchemaLocatorTextBox.IsEditable = true; this.PayloadSchemaLocatorTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn2.Add (this.PayloadSchemaLocatorTextBox); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.PayloadSchemaLocatorTextBox])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.lbl_SchemaFormat = new global::Gtk.Label (); this.lbl_SchemaFormat.Name = "lbl_SchemaFormat"; this.lbl_SchemaFormat.Xalign = 0F; this.lbl_SchemaFormat.LabelProp = global::Mono.Unix.Catalog.GetString ("Schema MIME Type:"); this.ResourceDescriptionColumn2.Add (this.lbl_SchemaFormat); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.lbl_SchemaFormat])); w24.Position = 2; w24.Expand = false; w24.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.SchemaFormatTextBox = new global::Gtk.Entry (); this.SchemaFormatTextBox.CanFocus = true; this.SchemaFormatTextBox.Name = "SchemaFormatTextBox"; this.SchemaFormatTextBox.IsEditable = true; this.SchemaFormatTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn2.Add (this.SchemaFormatTextBox); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.SchemaFormatTextBox])); w25.Position = 3; w25.Expand = false; w25.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.lbl_Keywords = new global::Gtk.Label (); this.lbl_Keywords.Name = "lbl_Keywords"; this.lbl_Keywords.Xalign = 0F; this.lbl_Keywords.LabelProp = global::Mono.Unix.Catalog.GetString ("Keywords (separated by commas):"); this.ResourceDescriptionColumn2.Add (this.lbl_Keywords); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.lbl_Keywords])); w26.Position = 4; w26.Expand = false; w26.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.KeywordsTextBox = new global::Gtk.Entry (); this.KeywordsTextBox.CanFocus = true; this.KeywordsTextBox.Name = "KeywordsTextBox"; this.KeywordsTextBox.IsEditable = true; this.KeywordsTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn2.Add (this.KeywordsTextBox); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.KeywordsTextBox])); w27.Position = 5; w27.Expand = false; w27.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.lbl_TimeToLive = new global::Gtk.Label (); this.lbl_TimeToLive.Name = "lbl_TimeToLive"; this.lbl_TimeToLive.Xalign = 0F; this.lbl_TimeToLive.LabelProp = global::Mono.Unix.Catalog.GetString ("Time To Live:"); this.ResourceDescriptionColumn2.Add (this.lbl_TimeToLive); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.lbl_TimeToLive])); w28.Position = 6; w28.Expand = false; w28.Fill = false; // Container child ResourceDescriptionColumn2.Gtk.Box+BoxChild this.TTLFieldContainer = new global::Gtk.HBox (); this.TTLFieldContainer.Name = "TTLFieldContainer"; this.TTLFieldContainer.Spacing = 6; // Container child TTLFieldContainer.Gtk.Box+BoxChild this.TimeToLiveTextBox = new global::Gtk.Entry (); this.TimeToLiveTextBox.CanFocus = true; this.TimeToLiveTextBox.Name = "TimeToLiveTextBox"; this.TimeToLiveTextBox.IsEditable = true; this.TimeToLiveTextBox.WidthChars = 10; this.TimeToLiveTextBox.InvisibleChar = '●'; this.TTLFieldContainer.Add (this.TimeToLiveTextBox); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.TTLFieldContainer [this.TimeToLiveTextBox])); w29.Position = 0; // Container child TTLFieldContainer.Gtk.Box+BoxChild this.lbl_Days = new global::Gtk.Label (); this.lbl_Days.Name = "lbl_Days"; this.lbl_Days.LabelProp = global::Mono.Unix.Catalog.GetString ("days"); this.TTLFieldContainer.Add (this.lbl_Days); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.TTLFieldContainer [this.lbl_Days])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.ResourceDescriptionColumn2.Add (this.TTLFieldContainer); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn2 [this.TTLFieldContainer])); w31.Position = 7; w31.Expand = false; w31.Fill = false; this.ResourceDescriptionContainer.Add (this.ResourceDescriptionColumn2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionContainer [this.ResourceDescriptionColumn2])); w32.Position = 1; w32.Expand = false; w32.Fill = false; w32.Padding = ((uint)(5)); // Container child ResourceDescriptionContainer.Gtk.Box+BoxChild this.ResourceDescriptionColumn3 = new global::Gtk.VBox (); this.ResourceDescriptionColumn3.Name = "ResourceDescriptionColumn3"; this.ResourceDescriptionColumn3.Spacing = 6; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.lbl_SubmitterType = new global::Gtk.Label (); this.lbl_SubmitterType.Name = "lbl_SubmitterType"; this.lbl_SubmitterType.Xalign = 0F; this.lbl_SubmitterType.LabelProp = global::Mono.Unix.Catalog.GetString ("*Submitter Type:"); this.ResourceDescriptionColumn3.Add (this.lbl_SubmitterType); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.lbl_SubmitterType])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.SubmitterTypeComboBox = global::Gtk.ComboBox.NewText (); this.SubmitterTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Anonymous")); this.SubmitterTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("User")); this.SubmitterTypeComboBox.AppendText (global::Mono.Unix.Catalog.GetString ("Agent")); this.SubmitterTypeComboBox.Name = "SubmitterTypeComboBox"; this.SubmitterTypeComboBox.Active = 0; this.ResourceDescriptionColumn3.Add (this.SubmitterTypeComboBox); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.SubmitterTypeComboBox])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.SubmitterNameContainer = new global::Gtk.VBox (); this.SubmitterNameContainer.Name = "SubmitterNameContainer"; this.SubmitterNameContainer.Spacing = 6; // Container child SubmitterNameContainer.Gtk.Box+BoxChild this.lbl_SubmitterName = new global::Gtk.Label (); this.lbl_SubmitterName.Name = "lbl_SubmitterName"; this.lbl_SubmitterName.Xalign = 0F; this.lbl_SubmitterName.LabelProp = global::Mono.Unix.Catalog.GetString ("*Submitter Name:"); this.SubmitterNameContainer.Add (this.lbl_SubmitterName); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.SubmitterNameContainer [this.lbl_SubmitterName])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child SubmitterNameContainer.Gtk.Box+BoxChild this.SubmitterNameTextBox = new global::Gtk.Entry (); this.SubmitterNameTextBox.CanFocus = true; this.SubmitterNameTextBox.Name = "SubmitterNameTextBox"; this.SubmitterNameTextBox.IsEditable = true; this.SubmitterNameTextBox.InvisibleChar = '●'; this.SubmitterNameContainer.Add (this.SubmitterNameTextBox); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.SubmitterNameContainer [this.SubmitterNameTextBox])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.ResourceDescriptionColumn3.Add (this.SubmitterNameContainer); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.SubmitterNameContainer])); w37.Position = 2; w37.Expand = false; w37.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.lbl_Curator = new global::Gtk.Label (); this.lbl_Curator.Name = "lbl_Curator"; this.lbl_Curator.Xalign = 0F; this.lbl_Curator.LabelProp = global::Mono.Unix.Catalog.GetString ("Curator:"); this.ResourceDescriptionColumn3.Add (this.lbl_Curator); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.lbl_Curator])); w38.Position = 3; w38.Expand = false; w38.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.CuratorTextBox = new global::Gtk.Entry (); this.CuratorTextBox.CanFocus = true; this.CuratorTextBox.Name = "CuratorTextBox"; this.CuratorTextBox.IsEditable = true; this.CuratorTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn3.Add (this.CuratorTextBox); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.CuratorTextBox])); w39.Position = 4; w39.Expand = false; w39.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.lbl_Owner = new global::Gtk.Label (); this.lbl_Owner.Name = "lbl_Owner"; this.lbl_Owner.Xalign = 0F; this.lbl_Owner.LabelProp = global::Mono.Unix.Catalog.GetString ("Owner:"); this.ResourceDescriptionColumn3.Add (this.lbl_Owner); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.lbl_Owner])); w40.Position = 5; w40.Expand = false; w40.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.OwnerTextBox = new global::Gtk.Entry (); this.OwnerTextBox.CanFocus = true; this.OwnerTextBox.Name = "OwnerTextBox"; this.OwnerTextBox.IsEditable = true; this.OwnerTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn3.Add (this.OwnerTextBox); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.OwnerTextBox])); w41.Position = 6; w41.Expand = false; w41.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.lbl_Signer = new global::Gtk.Label (); this.lbl_Signer.Name = "lbl_Signer"; this.lbl_Signer.Xalign = 0F; this.lbl_Signer.LabelProp = global::Mono.Unix.Catalog.GetString ("Signer:"); this.ResourceDescriptionColumn3.Add (this.lbl_Signer); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.lbl_Signer])); w42.Position = 7; w42.Expand = false; w42.Fill = false; // Container child ResourceDescriptionColumn3.Gtk.Box+BoxChild this.SignerTextBox = new global::Gtk.Entry (); this.SignerTextBox.CanFocus = true; this.SignerTextBox.Name = "SignerTextBox"; this.SignerTextBox.IsEditable = true; this.SignerTextBox.InvisibleChar = '●'; this.ResourceDescriptionColumn3.Add (this.SignerTextBox); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionColumn3 [this.SignerTextBox])); w43.Position = 8; w43.Expand = false; w43.Fill = false; this.ResourceDescriptionContainer.Add (this.ResourceDescriptionColumn3); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.ResourceDescriptionContainer [this.ResourceDescriptionColumn3])); w44.Position = 2; w44.Expand = false; w44.Fill = false; w44.Padding = ((uint)(10)); this.RootNotebook.Add (this.ResourceDescriptionContainer); // Notebook tab this.lbl_nb_ResourceDescription = new global::Gtk.Label (); this.lbl_nb_ResourceDescription.Name = "lbl_nb_ResourceDescription"; this.lbl_nb_ResourceDescription.LabelProp = global::Mono.Unix.Catalog.GetString ("Resource Description"); this.RootNotebook.SetTabLabel (this.ResourceDescriptionContainer, this.lbl_nb_ResourceDescription); this.lbl_nb_ResourceDescription.ShowAll (); // Container child RootNotebook.Gtk.Notebook+NotebookChild this.TermsOfServiceContainer = new global::Gtk.VBox (); this.TermsOfServiceContainer.Name = "TermsOfServiceContainer"; this.TermsOfServiceContainer.Spacing = 6; this.TermsOfServiceContainer.BorderWidth = ((uint)(9)); // Container child TermsOfServiceContainer.Gtk.Box+BoxChild this.lbl_TermsOfServiceUrl = new global::Gtk.Label (); this.lbl_TermsOfServiceUrl.Name = "lbl_TermsOfServiceUrl"; this.lbl_TermsOfServiceUrl.Xalign = 0F; this.lbl_TermsOfServiceUrl.LabelProp = global::Mono.Unix.Catalog.GetString ("Terms of Service Url:"); this.TermsOfServiceContainer.Add (this.lbl_TermsOfServiceUrl); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.TermsOfServiceContainer [this.lbl_TermsOfServiceUrl])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child TermsOfServiceContainer.Gtk.Box+BoxChild this.TermsOfServiceTextBox = new global::Gtk.Entry (); this.TermsOfServiceTextBox.CanFocus = true; this.TermsOfServiceTextBox.Name = "TermsOfServiceTextBox"; this.TermsOfServiceTextBox.IsEditable = true; this.TermsOfServiceTextBox.InvisibleChar = '●'; this.TermsOfServiceContainer.Add (this.TermsOfServiceTextBox); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.TermsOfServiceContainer [this.TermsOfServiceTextBox])); w47.Position = 1; w47.Expand = false; w47.Fill = false; // Container child TermsOfServiceContainer.Gtk.Box+BoxChild this.lbl_AttributionStatement = new global::Gtk.Label (); this.lbl_AttributionStatement.Name = "lbl_AttributionStatement"; this.lbl_AttributionStatement.Xalign = 0F; this.lbl_AttributionStatement.LabelProp = global::Mono.Unix.Catalog.GetString ("Attribution Statement:"); this.TermsOfServiceContainer.Add (this.lbl_AttributionStatement); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.TermsOfServiceContainer [this.lbl_AttributionStatement])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child TermsOfServiceContainer.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.AttributionStatementTextView = new global::Gtk.TextView (); this.AttributionStatementTextView.CanFocus = true; this.AttributionStatementTextView.Name = "AttributionStatementTextView"; this.GtkScrolledWindow.Add (this.AttributionStatementTextView); this.TermsOfServiceContainer.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.TermsOfServiceContainer [this.GtkScrolledWindow])); w50.Position = 3; this.RootNotebook.Add (this.TermsOfServiceContainer); global::Gtk.Notebook.NotebookChild w51 = ((global::Gtk.Notebook.NotebookChild)(this.RootNotebook [this.TermsOfServiceContainer])); w51.Position = 1; // Notebook tab this.lbl_nb_TermsOfService = new global::Gtk.Label (); this.lbl_nb_TermsOfService.Name = "lbl_nb_TermsOfService"; this.lbl_nb_TermsOfService.LabelProp = global::Mono.Unix.Catalog.GetString ("Terms Of Service"); this.RootNotebook.SetTabLabel (this.TermsOfServiceContainer, this.lbl_nb_TermsOfService); this.lbl_nb_TermsOfService.ShowAll (); // Container child RootNotebook.Gtk.Notebook+NotebookChild this.SignatureInformationWidget = new global::SignatureInformationWidget (); this.SignatureInformationWidget.Events = ((global::Gdk.EventMask)(256)); this.SignatureInformationWidget.Name = "SignatureInformationWidget"; this.RootNotebook.Add (this.SignatureInformationWidget); global::Gtk.Notebook.NotebookChild w52 = ((global::Gtk.Notebook.NotebookChild)(this.RootNotebook [this.SignatureInformationWidget])); w52.Position = 2; // Notebook tab this.lbl_nb_SignatureInformation = new global::Gtk.Label (); this.lbl_nb_SignatureInformation.Name = "lbl_nb_SignatureInformation"; this.lbl_nb_SignatureInformation.LabelProp = global::Mono.Unix.Catalog.GetString ("Signature Information"); this.RootNotebook.SetTabLabel (this.SignatureInformationWidget, this.lbl_nb_SignatureInformation); this.lbl_nb_SignatureInformation.ShowAll (); // Container child RootNotebook.Gtk.Notebook+NotebookChild this.NodeInformationContainer = new global::Gtk.HBox (); this.NodeInformationContainer.Name = "NodeInformationContainer"; this.NodeInformationContainer.Spacing = 6; this.NodeInformationContainer.BorderWidth = ((uint)(9)); // Container child NodeInformationContainer.Gtk.Box+BoxChild this.NodeInfo = new global::NodeInfoWidget (); this.NodeInfo.Events = ((global::Gdk.EventMask)(256)); this.NodeInfo.Name = "NodeInfo"; this.NodeInformationContainer.Add (this.NodeInfo); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.NodeInformationContainer [this.NodeInfo])); w53.Position = 0; w53.Expand = false; w53.Fill = false; this.RootNotebook.Add (this.NodeInformationContainer); global::Gtk.Notebook.NotebookChild w54 = ((global::Gtk.Notebook.NotebookChild)(this.RootNotebook [this.NodeInformationContainer])); w54.Position = 3; // Notebook tab this.lbl_nb_NodeInformation = new global::Gtk.Label (); this.lbl_nb_NodeInformation.Name = "lbl_nb_NodeInformation"; this.lbl_nb_NodeInformation.LabelProp = global::Mono.Unix.Catalog.GetString ("Node Information"); this.RootNotebook.SetTabLabel (this.NodeInformationContainer, this.lbl_nb_NodeInformation); this.lbl_nb_NodeInformation.ShowAll (); this.MainVerticalPane.Add (this.RootNotebook); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.MainVerticalPane [this.RootNotebook])); w55.Position = 1; w55.Expand = false; w55.Padding = ((uint)(10)); // Container child MainVerticalPane.Gtk.Box+BoxChild this.RequiredFieldNotificationContainer = new global::Gtk.HBox (); this.RequiredFieldNotificationContainer.Name = "RequiredFieldNotificationContainer"; this.RequiredFieldNotificationContainer.Spacing = 6; // Container child RequiredFieldNotificationContainer.Gtk.Box+BoxChild this.lbl_requiredFieldsNotifier = new global::Gtk.Label (); this.lbl_requiredFieldsNotifier.Name = "lbl_requiredFieldsNotifier"; this.lbl_requiredFieldsNotifier.Xalign = 1F; this.lbl_requiredFieldsNotifier.LabelProp = global::Mono.Unix.Catalog.GetString ("Note: * indicates a required field"); this.lbl_requiredFieldsNotifier.Justify = ((global::Gtk.Justification)(1)); this.RequiredFieldNotificationContainer.Add (this.lbl_requiredFieldsNotifier); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.RequiredFieldNotificationContainer [this.lbl_requiredFieldsNotifier])); w56.Position = 2; w56.Padding = ((uint)(5)); this.MainVerticalPane.Add (this.RequiredFieldNotificationContainer); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.MainVerticalPane [this.RequiredFieldNotificationContainer])); w57.Position = 2; w57.Expand = false; w57.Fill = false; // Container child MainVerticalPane.Gtk.Box+BoxChild this.lbl_ConsoleOutput = new global::Gtk.Label (); this.lbl_ConsoleOutput.Name = "lbl_ConsoleOutput"; this.lbl_ConsoleOutput.Xalign = 0F; this.lbl_ConsoleOutput.LabelProp = global::Mono.Unix.Catalog.GetString ("Console Output:"); this.lbl_ConsoleOutput.UseMarkup = true; this.MainVerticalPane.Add (this.lbl_ConsoleOutput); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.MainVerticalPane [this.lbl_ConsoleOutput])); w58.Position = 3; w58.Expand = false; w58.Fill = false; // Container child MainVerticalPane.Gtk.Box+BoxChild this.ConsoleContainer = new global::Gtk.ScrolledWindow (); this.ConsoleContainer.Name = "ConsoleContainer"; this.ConsoleContainer.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ConsoleContainer.Gtk.Container+ContainerChild this.ConsoleWindow = new global::Gtk.TextView (); this.ConsoleWindow.CanFocus = true; this.ConsoleWindow.Name = "ConsoleWindow"; this.ConsoleWindow.Editable = false; this.ConsoleWindow.CursorVisible = false; this.ConsoleWindow.WrapMode = ((global::Gtk.WrapMode)(1)); this.ConsoleContainer.Add (this.ConsoleWindow); this.MainVerticalPane.Add (this.ConsoleContainer); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.MainVerticalPane [this.ConsoleContainer])); w60.Position = 4; this.Add (this.MainVerticalPane); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 639; this.DefaultHeight = 619; this.PayloadLocatorContainer.Hide (); this.PayloadEditorButtonBox.Hide (); this.SubmitterNameContainer.Hide (); this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenResourceDescriptionAction.Activated += new global::System.EventHandler (this.LoadResourceDescriptionDocument); this.SaveResourceDescriptionAction.Activated += new global::System.EventHandler (this.SaveResourceDescriptionDocument); this.PublishCurrentDocumentAction.Activated += new global::System.EventHandler (this.PublishDocument); this.NewAction.Activated += new global::System.EventHandler (this.ResetFields); this.PublishFromCSVAction.Activated += new global::System.EventHandler (this.OnPublishFromCSVActionActivated); this.ViewPublishHistoryAction.Activated += new global::System.EventHandler (this.CreateHistoryWindow); this.PayloadPlacementComboBox.Changed += new global::System.EventHandler (this.UpdatePayloadChooseContainer); this.PayloadFileChooser.SelectionChanged += new global::System.EventHandler (this.OnPayloadFileChooserSelectionChanged); this.EditPayloadButton.Clicked += new global::System.EventHandler (this.CreateEditPayloadPopup); this.ChoosePayloadFileButton.Clicked += new global::System.EventHandler (this.ChooseNewPayloadFile); this.SubmitterTypeComboBox.Changed += new global::System.EventHandler (this.UpdateSubmitterNameVisibility); }
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.TestsAction = new global::Gtk.Action ("TestsAction", global::Mono.Unix.Catalog.GetString ("Tests"), null, null); this.TestsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tests"); w1.Add (this.TestsAction, null); this.RunAllAction = new global::Gtk.Action ("RunAllAction", global::Mono.Unix.Catalog.GetString ("Run All"), null, null); this.RunAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run All"); w1.Add (this.RunAllAction, null); this.BLHAAction = new global::Gtk.Action ("BLHAAction", global::Mono.Unix.Catalog.GetString ("BLHA"), null, null); this.BLHAAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("BLHA"); w1.Add (this.BLHAAction, 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=\'menubar\'><menu name=\'FileAction\' action=\'FileAction\'/><menu na" + "me=\'TestsAction\' action=\'TestsAction\'><menuitem name=\'RunAllAction\' action=\'RunA" + "llAction\'/></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.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // 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.summaryView = new global::Gtk.TextView (); this.summaryView.CanFocus = true; this.summaryView.Name = "summaryView"; this.summaryView.Editable = false; this.GtkAlignment.Add (this.summaryView); this.frame1.Add (this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Summary</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vbox1.Add (this.frame1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w5.Position = 1; w5.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.detailsView = new global::Gtk.TextView (); this.detailsView.CanFocus = true; this.detailsView.Name = "detailsView"; this.detailsView.Editable = false; this.GtkScrolledWindow.Add (this.detailsView); this.GtkAlignment1.Add (this.GtkScrolledWindow); this.frame2.Add (this.GtkAlignment1); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Details</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vbox1.Add (this.frame2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2])); w9.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 792; this.DefaultHeight = 366; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.RunAllAction.Activated += new global::System.EventHandler (this.RunAllTests); this.BLHAAction.Activated += new global::System.EventHandler (this.TESTACTION); }
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.MenuAction = new global::Gtk.Action ("MenuAction", global::Mono.Unix.Catalog.GetString ("Menu"), null, null); this.MenuAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Menu"); w1.Add (this.MenuAction, null); this.yeayAction = new global::Gtk.Action ("yeayAction", global::Mono.Unix.Catalog.GetString ("yeay"), null, null); this.yeayAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("yeay"); w1.Add (this.yeayAction, null); this.MenuAction1 = new global::Gtk.Action ("MenuAction1", global::Mono.Unix.Catalog.GetString ("Menu"), null, null); this.MenuAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Menu"); w1.Add (this.MenuAction1, null); this.YeayAction = new global::Gtk.Action ("YeayAction", global::Mono.Unix.Catalog.GetString ("Yeay"), null, null); this.YeayAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Yeay"); w1.Add (this.YeayAction, 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.NotForYouAction = new global::Gtk.Action ("NotForYouAction", global::Mono.Unix.Catalog.GetString ("Not For You"), null, null); this.NotForYouAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Not For You"); w1.Add (this.NotForYouAction, null); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Menu"); 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.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.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.EditAction1 = new global::Gtk.Action ("EditAction1", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction1, null); this.HelpAction2 = new global::Gtk.Action ("HelpAction2", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction2, null); this.OpenFileAction = new global::Gtk.Action ("OpenFileAction", global::Mono.Unix.Catalog.GetString ("Open File"), null, null); this.OpenFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.OpenFileAction, 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 as..."); w1.Add (this.SaveAction, 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 ("Exit"); w1.Add (this.SaveAsAction, 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.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.AboutAction1 = new global::Gtk.Action ("AboutAction1", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction1, null); this.RunAction = new global::Gtk.Action ("RunAction", global::Mono.Unix.Catalog.GetString ("Run"), null, null); this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run"); w1.Add (this.RunAction, null); this.RunProgramAction = new global::Gtk.Action ("RunProgramAction", global::Mono.Unix.Catalog.GetString ("Run program"), null, null); this.RunProgramAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run program"); w1.Add (this.RunProgramAction, null); this.RunProgramF5Action = new global::Gtk.Action ("RunProgramF5Action", global::Mono.Unix.Catalog.GetString ("Run Program (F5)"), null, null); this.RunProgramF5Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run Program"); w1.Add (this.RunProgramF5Action, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 800; this.HeightRequest = 600; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ANG GANDA NI MAAM KAT LOLTERPRETER KEK"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.mainBox = new global::Gtk.VBox (); this.mainBox.Name = "mainBox"; this.mainBox.Spacing = 6; // Container child mainBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar'><menu name='FileAction' action='FileAction'><menuitem name='OpenFileAction' action='OpenFileAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='RunAction' action='RunAction'><menuitem name='RunProgramF5Action' action='RunProgramF5Action'/></menu><menu name='HelpAction2' action='HelpAction2'><menuitem name='AboutAction1' action='AboutAction1'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar"))); this.menubar.Name = "menubar"; this.mainBox.Add (this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child mainBox.Gtk.Box+BoxChild this.contents = new global::Gtk.HBox (); this.contents.Name = "contents"; this.contents.Spacing = 6; // Container child contents.Gtk.Box+BoxChild this.sourceAndConsole = new global::Gtk.VBox (); this.sourceAndConsole.Name = "sourceAndConsole"; this.sourceAndConsole.Spacing = 6; // Container child sourceAndConsole.Gtk.Box+BoxChild this.sourcePages = new global::Gtk.Notebook (); this.sourcePages.WidthRequest = 500; this.sourcePages.HeightRequest = 200; this.sourcePages.CanFocus = true; this.sourcePages.Name = "sourcePages"; this.sourcePages.CurrentPage = 0; // Container child sourcePages.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.sourceText = new global::Gtk.TextView (); this.sourceText.CanFocus = true; this.sourceText.Name = "sourceText"; this.GtkScrolledWindow.Add (this.sourceText); this.sourcePages.Add (this.GtkScrolledWindow); // Notebook tab this.pageLabel = new global::Gtk.Label (); this.pageLabel.Name = "pageLabel"; this.pageLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("source.lol"); this.sourcePages.SetTabLabel (this.GtkScrolledWindow, this.pageLabel); this.pageLabel.ShowAll (); this.sourceAndConsole.Add (this.sourcePages); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.sourceAndConsole [this.sourcePages])); w5.Position = 0; // Container child sourceAndConsole.Gtk.Box+BoxChild this.console = new global::Gtk.VBox (); this.console.WidthRequest = 500; this.console.Name = "console"; this.console.Spacing = 6; // Container child console.Gtk.Box+BoxChild this.consoleLabel = new global::Gtk.Label (); this.consoleLabel.Name = "consoleLabel"; this.consoleLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Console"); this.console.Add (this.consoleLabel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.console [this.consoleLabel])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child console.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.HeightRequest = 116; this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.outputField = new global::Gtk.TextView (); this.outputField.Name = "outputField"; this.outputField.Editable = false; this.outputField.CursorVisible = false; this.GtkScrolledWindow3.Add (this.outputField); this.console.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.console [this.GtkScrolledWindow3])); w8.Position = 1; // Container child console.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.HeightRequest = 30; this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.lineField = new global::Gtk.TextView (); this.lineField.CanFocus = true; this.lineField.Name = "lineField"; this.lineField.Editable = false; this.GtkScrolledWindow4.Add (this.lineField); this.console.Add (this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.console [this.GtkScrolledWindow4])); w10.Position = 2; w10.Expand = false; this.sourceAndConsole.Add (this.console); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.sourceAndConsole [this.console])); w11.Position = 1; this.contents.Add (this.sourceAndConsole); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.contents [this.sourceAndConsole])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child contents.Gtk.Box+BoxChild this.tokensAndSymbolTable = new global::Gtk.VBox (); this.tokensAndSymbolTable.Name = "tokensAndSymbolTable"; this.tokensAndSymbolTable.Spacing = 6; // Container child tokensAndSymbolTable.Gtk.Box+BoxChild this.tokensLabel = new global::Gtk.Label (); this.tokensLabel.Name = "tokensLabel"; this.tokensLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Tokens"); this.tokensAndSymbolTable.Add (this.tokensLabel); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.tokensAndSymbolTable [this.tokensLabel])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child tokensAndSymbolTable.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.WidthRequest = 300; this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.symbolTableTreeView = new global::Gtk.TreeView (); this.symbolTableTreeView.CanFocus = true; this.symbolTableTreeView.Name = "symbolTableTreeView"; this.GtkScrolledWindow2.Add (this.symbolTableTreeView); this.tokensAndSymbolTable.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.tokensAndSymbolTable [this.GtkScrolledWindow2])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 1; // Container child tokensAndSymbolTable.Gtk.Box+BoxChild this.symbolTableLabel = new global::Gtk.Label (); this.symbolTableLabel.Name = "symbolTableLabel"; this.symbolTableLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Symbol Table"); this.tokensAndSymbolTable.Add (this.symbolTableLabel); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.tokensAndSymbolTable [this.symbolTableLabel])); w16.PackType = ((global::Gtk.PackType)(1)); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child tokensAndSymbolTable.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.WidthRequest = 300; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.tokensTreeView = new global::Gtk.TreeView (); this.tokensTreeView.CanFocus = true; this.tokensTreeView.Name = "tokensTreeView"; this.GtkScrolledWindow1.Add (this.tokensTreeView); this.tokensAndSymbolTable.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.tokensAndSymbolTable [this.GtkScrolledWindow1])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 3; this.contents.Add (this.tokensAndSymbolTable); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.contents [this.tokensAndSymbolTable])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.mainBox.Add (this.contents); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.mainBox [this.contents])); w20.Position = 1; this.Add (this.mainBox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 819; this.DefaultHeight = 633; this.Show (); this.OpenFileAction.Activated += new global::System.EventHandler (this.openFile); this.SaveAction.Activated += new global::System.EventHandler (this.save); this.SaveAsAction.Activated += new global::System.EventHandler (this.saveAs); this.ExitAction.Activated += new global::System.EventHandler (this.CloseOnClick); this.AboutAction1.Activated += new global::System.EventHandler (this.aboutUs); this.RunProgramF5Action.Activated += new global::System.EventHandler (this.runProgramClick); }
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.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.executeAction = new global::Gtk.Action ("executeAction", global::Mono.Unix.Catalog.GetString ("_Execute"), null, "gtk-execute"); this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Execute"); w1.Add (this.executeAction, null); this.findAction = new global::Gtk.Action ("findAction", null, null, "gtk-find"); w1.Add (this.findAction, 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='quitAction' action='quitAction'/></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.UIManager.AddUiFromString ("<ui><toolbar name='toolbar2'><toolitem name='findAction' action='findAction'/><toolitem name='executeAction' action='executeAction'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.vbox2.Add (this.toolbar2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2])); w3.Position = 1; w3.Expand = false; w3.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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView (); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow.Add (this.treeview2); this.hbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); w5.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Notebook tab global::Gtk.Label w6 = new global::Gtk.Label (); w6.Visible = true; this.notebook1.Add (w6); this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebook1.SetTabLabel (w6, this.label1); this.label1.ShowAll (); this.hbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook1])); w7.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w8.Position = 2; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 838; this.DefaultHeight = 683; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.findAction.Activated += new global::System.EventHandler (this.OnFindActionActivated); }
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.AnimusIRCAction = new global::Gtk.Action("AnimusIRCAction", global::Mono.Unix.Catalog.GetString("Animus IRC"), null, null); this.AnimusIRCAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Animus IRC"); w1.Add(this.AnimusIRCAction, 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"); w1.Add(this.ServerAction, 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.vbox_container_main = new global::Gtk.VBox(); this.vbox_container_main.Name = "vbox_container_main"; this.vbox_container_main.Spacing = 6; // Container child vbox_container_main.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menu_main\'><menu name=\'AnimusIRCAction\' action=\'AnimusIRCActio" + "n\'/><menu name=\'ServerAction\' action=\'ServerAction\'/></menubar></ui>"); this.menu_main = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menu_main"))); this.menu_main.Name = "menu_main"; this.vbox_container_main.Add(this.menu_main); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox_container_main [this.menu_main])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox_container_main.Gtk.Box+BoxChild this.hbox_main = new global::Gtk.HBox(); this.hbox_main.Name = "hbox_main"; this.hbox_main.Spacing = 6; // Container child hbox_main.Gtk.Box+BoxChild this.scrolled_channels = new global::Gtk.ScrolledWindow(); this.scrolled_channels.WidthRequest = 150; this.scrolled_channels.Name = "scrolled_channels"; this.scrolled_channels.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolled_channels.Gtk.Container+ContainerChild this.treeview_servers = new global::Gtk.TreeView(); this.treeview_servers.CanFocus = true; this.treeview_servers.Name = "treeview_servers"; this.scrolled_channels.Add(this.treeview_servers); this.hbox_main.Add(this.scrolled_channels); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox_main [this.scrolled_channels])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox_main.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.lbl_topic = new global::Gtk.Label(); this.lbl_topic.Name = "lbl_topic"; this.lbl_topic.LabelProp = global::Mono.Unix.Catalog.GetString("{{ topic }}"); this.vbox2.Add(this.lbl_topic); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lbl_topic])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // 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.txt_chat = new global::Gtk.TextView(); this.txt_chat.CanFocus = true; this.txt_chat.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.txt_chat.Name = "txt_chat"; this.txt_chat.Editable = false; this.txt_chat.Overwrite = true; this.GtkScrolledWindow1.Add(this.txt_chat); this.vbox2.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); w8.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.entry_chat = new global::Gtk.Entry(); this.entry_chat.CanFocus = true; this.entry_chat.Name = "entry_chat"; this.entry_chat.IsEditable = true; this.entry_chat.InvisibleChar = '●'; this.vbox2.Add(this.entry_chat); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.entry_chat])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.hbox_main.Add(this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox_main [this.vbox2])); w10.Position = 1; // Container child hbox_main.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 150; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview_users = new global::Gtk.TreeView(); this.treeview_users.CanFocus = true; this.treeview_users.Name = "treeview_users"; this.GtkScrolledWindow.Add(this.treeview_users); this.hbox_main.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox_main [this.GtkScrolledWindow])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.vbox_container_main.Add(this.hbox_main); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox_container_main [this.hbox_main])); w13.Position = 1; this.Add(this.vbox_container_main); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 799; this.DefaultHeight = 510; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.entry_chat.Activated += new global::System.EventHandler(this.OnEntryChatActivated); }
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.OpenFileAction = new global::Gtk.Action("OpenFileAction", global::Mono.Unix.Catalog.GetString("Open File"), null, null); this.OpenFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("CODE"); w1.Add(this.OpenFileAction, 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.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=\'menubar1\'><menu name=\'OpenFileAction\' action=\'OpenFileAction\'>" + "<menuitem name=\'AddFileAction\' action=\'AddFileAction\'/></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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.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.WidthRequest = 30; this.TextEditor.CanFocus = true; this.TextEditor.Name = "TextEditor"; this.GtkScrolledWindow.Add(this.TextEditor); this.hbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.GtkScrolledWindow])); w4.Position = 0; // 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.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.Text = global::Mono.Unix.Catalog.GetString("LEXEMES"); this.entry2.IsEditable = true; this.entry2.InvisibleChar = '•'; this.vbox3.Add(this.entry2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.entry2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.LexTree = new global::Gtk.TreeView(); this.LexTree.CanFocus = true; this.LexTree.Name = "LexTree"; this.GtkScrolledWindow4.Add(this.LexTree); this.vbox3.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow4])); w7.Position = 1; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w8.Position = 1; // 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.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("SYMBOL TABLE"); this.entry3.IsEditable = true; this.entry3.InvisibleChar = '•'; this.vbox4.Add(this.entry3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.entry3])); w9.Position = 0; w9.Expand = false; w9.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.SymbolTable = new global::Gtk.TreeView(); this.SymbolTable.CanFocus = true; this.SymbolTable.Name = "SymbolTable"; this.GtkScrolledWindow2.Add(this.SymbolTable); this.vbox4.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w11.Position = 1; this.hbox3.Add(this.vbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w12.Position = 2; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); 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 = global::Mono.Unix.Catalog.GetString("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.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.vbox2.Add(this.ConsoleLabel); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ConsoleLabel])); w15.Position = 3; w15.Expand = false; w15.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.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.Console = new global::Gtk.TextView(); this.Console.CanFocus = true; this.Console.Name = "Console"; this.Console.Editable = false; this.GtkScrolledWindow1.Add(this.Console); this.hbox2.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow1])); w17.Position = 0; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w18.Position = 4; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1077; this.DefaultHeight = 733; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AddFileAction.Activated += new global::System.EventHandler(this.OnAddFileActionActivated); this.ExecuteBtn.Clicked += new global::System.EventHandler(this.OnExecuteBtnClicked); }
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"), null, null); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("new"); w1.Add(this.newAction, 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.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.VBoxMain = new global::Gtk.VBox(); this.VBoxMain.Name = "VBoxMain"; this.VBoxMain.Spacing = 6; // Container child VBoxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='newAction' action='newAction'/><menuitem name='loadAction' action='loadAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.VBoxMain.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.VBoxMain [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child VBoxMain.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.TileVBox = new global::Gtk.VBox(); this.TileVBox.Name = "TileVBox"; this.TileVBox.Spacing = 6; // Container child TileVBox.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.LoadTilesetButton = new global::Gtk.Button(); this.LoadTilesetButton.CanFocus = true; this.LoadTilesetButton.Name = "LoadTilesetButton"; this.LoadTilesetButton.UseUnderline = true; this.LoadTilesetButton.Label = global::Mono.Unix.Catalog.GetString("load"); this.table2.Add(this.LoadTilesetButton); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.LoadTilesetButton])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.TileVBox.Add(this.table2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.TileVBox [this.table2])); w4.Position = 0; // Container child TileVBox.Gtk.Box+BoxChild this.TileWindow = new global::Gtk.ScrolledWindow(); this.TileWindow.CanFocus = true; this.TileWindow.Name = "TileWindow"; this.TileWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.TileVBox.Add(this.TileWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.TileVBox [this.TileWindow])); w5.Position = 1; this.hbox1.Add(this.TileVBox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.TileVBox])); w6.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.hbox1.Add(this.vbox6); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox6])); w7.Position = 2; this.VBoxMain.Add(this.hbox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.VBoxMain [this.hbox1])); w8.Position = 1; // Container child VBoxMain.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.VBoxMain.Add(this.statusbar2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.VBoxMain [this.statusbar2])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.Add(this.VBoxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 973; this.DefaultHeight = 656; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.LoadTilesetButton.Clicked += new global::System.EventHandler(this.OnLoadTilesetButtonClicked); }
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.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.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.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 650; this.HeightRequest = 530; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; // 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 n" + "ame=\'EditAction\' action=\'EditAction\'/><menu name=\'HelpAction\' action=\'HelpAction" + "\'/></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.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.image = new global::Gtk.Image (); this.image.WidthRequest = 0; this.image.Name = "image"; this.image.Pixbuf = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./kitten.png")); this.hbox5.Add (this.image); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.image])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Sidimsp"); this.hbox5.Add (this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox3.Add (this.hseparator2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator2])); w6.Position = 2; w6.Expand = false; w6.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.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Processor Log"); this.vbox9.Add (this.label4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.label4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox9.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.console = new global::Gtk.TextView (); this.console.WidthRequest = 300; this.console.CanFocus = true; this.console.Name = "console"; this.GtkScrolledWindow.Add (this.console); this.vbox9.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.GtkScrolledWindow])); w9.Position = 1; this.hbox6.Add (this.vbox9); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vbox9])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox6.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 w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.coreLabel = new global::Gtk.Label (); this.coreLabel.Name = "coreLabel"; this.coreLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("# of Cores"); this.vbox10.Add (this.coreLabel); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.coreLabel])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.numCores = global::Gtk.ComboBox.NewText (); this.numCores.Name = "numCores"; this.vbox10.Add (this.numCores); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.numCores])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.processesLabel = new global::Gtk.Label (); this.processesLabel.Name = "processesLabel"; this.processesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("# of Processes"); this.vbox10.Add (this.processesLabel); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.processesLabel])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.numProcesses = new global::Gtk.Entry (); this.numProcesses.CanFocus = true; this.numProcesses.Name = "numProcesses"; this.numProcesses.IsEditable = true; this.numProcesses.InvisibleChar = '•'; this.vbox10.Add (this.numProcesses); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.numProcesses])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox10.Add (this.hseparator1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hseparator1])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.mlfqLabel = new global::Gtk.Label (); this.mlfqLabel.Name = "mlfqLabel"; this.mlfqLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Multi-Level Feedback Queue Setup"); this.vbox10.Add (this.mlfqLabel); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.mlfqLabel])); w17.Position = 5; w17.Expand = false; w17.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.table8 = new global::Gtk.Table (((uint)(8)), ((uint)(3)), false); this.table8.Name = "table8"; this.table8.RowSpacing = ((uint)(6)); this.table8.ColumnSpacing = ((uint)(6)); // Container child table8.Gtk.Table+TableChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Queue 2 Type"); this.table8.Add (this.label10); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table8 [this.label10])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Quantum"); this.table8.Add (this.label11); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table8 [this.label11])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Queue 3 Type"); this.table8.Add (this.label12); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table8 [this.label12])); w20.TopAttach = ((uint)(4)); w20.BottomAttach = ((uint)(5)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Quantum"); this.table8.Add (this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table8 [this.label13])); w21.TopAttach = ((uint)(4)); w21.BottomAttach = ((uint)(5)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Queue 4 Type"); this.table8.Add (this.label14); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table8 [this.label14])); w22.TopAttach = ((uint)(6)); w22.BottomAttach = ((uint)(7)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Quantum"); this.table8.Add (this.label15); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table8 [this.label15])); w23.TopAttach = ((uint)(6)); w23.BottomAttach = ((uint)(7)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("RR"); this.table8.Add (this.label16); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table8 [this.label16])); w24.LeftAttach = ((uint)(2)); w24.RightAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("RR"); this.table8.Add (this.label17); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table8 [this.label17])); w25.TopAttach = ((uint)(2)); w25.BottomAttach = ((uint)(3)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label18 = new global::Gtk.Label (); this.label18.Name = "label18"; this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("RR"); this.table8.Add (this.label18); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table8 [this.label18])); w26.TopAttach = ((uint)(4)); w26.BottomAttach = ((uint)(5)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("RR"); this.table8.Add (this.label19); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table8 [this.label19])); w27.TopAttach = ((uint)(6)); w27.BottomAttach = ((uint)(7)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.Quantum = new global::Gtk.Label (); this.Quantum.Name = "Quantum"; this.Quantum.LabelProp = global::Mono.Unix.Catalog.GetString ("Quantum"); this.table8.Add (this.Quantum); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table8 [this.Quantum])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.quantum1 = new global::Gtk.Entry (); this.quantum1.WidthRequest = 5; this.quantum1.CanFocus = true; this.quantum1.Name = "quantum1"; this.quantum1.IsEditable = true; this.quantum1.InvisibleChar = '•'; this.table8.Add (this.quantum1); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table8 [this.quantum1])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.quantum2 = new global::Gtk.Entry (); this.quantum2.WidthRequest = 5; this.quantum2.CanFocus = true; this.quantum2.Name = "quantum2"; this.quantum2.IsEditable = true; this.quantum2.InvisibleChar = '•'; this.table8.Add (this.quantum2); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table8 [this.quantum2])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.quantum3 = new global::Gtk.Entry (); this.quantum3.WidthRequest = 5; this.quantum3.CanFocus = true; this.quantum3.Name = "quantum3"; this.quantum3.IsEditable = true; this.quantum3.InvisibleChar = '•'; this.table8.Add (this.quantum3); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table8 [this.quantum3])); w31.TopAttach = ((uint)(5)); w31.BottomAttach = ((uint)(6)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.quantum4 = new global::Gtk.Entry (); this.quantum4.WidthRequest = 5; this.quantum4.CanFocus = true; this.quantum4.Name = "quantum4"; this.quantum4.IsEditable = true; this.quantum4.InvisibleChar = '•'; this.table8.Add (this.quantum4); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table8 [this.quantum4])); w32.TopAttach = ((uint)(7)); w32.BottomAttach = ((uint)(8)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.queue1Type = global::Gtk.ComboBox.NewText (); this.queue1Type.WidthRequest = 210; this.queue1Type.Name = "queue1Type"; this.table8.Add (this.queue1Type); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table8 [this.queue1Type])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.queue2Type = global::Gtk.ComboBox.NewText (); this.queue2Type.Name = "queue2Type"; this.table8.Add (this.queue2Type); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table8 [this.queue2Type])); w34.TopAttach = ((uint)(3)); w34.BottomAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.queue3Type = global::Gtk.ComboBox.NewText (); this.queue3Type.Name = "queue3Type"; this.table8.Add (this.queue3Type); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table8 [this.queue3Type])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.queue4Type = global::Gtk.ComboBox.NewText (); this.queue4Type.Name = "queue4Type"; this.table8.Add (this.queue4Type); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table8 [this.queue4Type])); w36.TopAttach = ((uint)(7)); w36.BottomAttach = ((uint)(8)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.queueTypeLabel = new global::Gtk.Label (); this.queueTypeLabel.Name = "queueTypeLabel"; this.queueTypeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Queue 1 Type"); this.table8.Add (this.queueTypeLabel); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table8 [this.queueTypeLabel])); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.rrQuantum1 = new global::Gtk.Entry (); this.rrQuantum1.WidthRequest = 55; this.rrQuantum1.CanFocus = true; this.rrQuantum1.Name = "rrQuantum1"; this.rrQuantum1.IsEditable = true; this.rrQuantum1.InvisibleChar = '•'; this.table8.Add (this.rrQuantum1); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table8 [this.rrQuantum1])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(2)); w38.RightAttach = ((uint)(3)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.rrQuantum2 = new global::Gtk.Entry (); this.rrQuantum2.WidthRequest = 5; this.rrQuantum2.CanFocus = true; this.rrQuantum2.Name = "rrQuantum2"; this.rrQuantum2.IsEditable = true; this.rrQuantum2.InvisibleChar = '•'; this.table8.Add (this.rrQuantum2); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table8 [this.rrQuantum2])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.LeftAttach = ((uint)(2)); w39.RightAttach = ((uint)(3)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.rrQuantum3 = new global::Gtk.Entry (); this.rrQuantum3.WidthRequest = 5; this.rrQuantum3.CanFocus = true; this.rrQuantum3.Name = "rrQuantum3"; this.rrQuantum3.IsEditable = true; this.rrQuantum3.InvisibleChar = '•'; this.table8.Add (this.rrQuantum3); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table8 [this.rrQuantum3])); w40.TopAttach = ((uint)(5)); w40.BottomAttach = ((uint)(6)); w40.LeftAttach = ((uint)(2)); w40.RightAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.rrQuantum4 = new global::Gtk.Entry (); this.rrQuantum4.WidthRequest = 5; this.rrQuantum4.CanFocus = true; this.rrQuantum4.Name = "rrQuantum4"; this.rrQuantum4.IsEditable = true; this.rrQuantum4.InvisibleChar = '•'; this.table8.Add (this.rrQuantum4); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table8 [this.rrQuantum4])); w41.TopAttach = ((uint)(7)); w41.BottomAttach = ((uint)(8)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox10.Add (this.table8); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.table8])); w42.Position = 6; w42.Expand = false; w42.Fill = false; w11.Add (this.vbox10); this.scrolledwindow1.Add (w11); this.hbox6.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.scrolledwindow1])); w45.Position = 1; this.vbox3.Add (this.hbox6); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6])); w46.Position = 3; // Container child vbox3.Gtk.Box+BoxChild this.StartButton = new global::Gtk.Button (); this.StartButton.CanFocus = true; this.StartButton.Name = "StartButton"; this.StartButton.UseUnderline = true; this.StartButton.Label = global::Mono.Unix.Catalog.GetString ("Start Simulation"); this.vbox3.Add (this.StartButton); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.StartButton])); w47.Position = 4; w47.Expand = false; w47.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 652; this.DefaultHeight = 580; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.StartButton.Clicked += new global::System.EventHandler (this.OnStartButtonClicked); }
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 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.IsImportant = true; 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.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open"); this.openAction.IsImportant = true; 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.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.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("about"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("about"); w1.Add(this.dialogInfoAction, 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.mainVbox = new global::Gtk.VBox(); this.mainVbox.Name = "mainVbox"; this.mainVbox.Spacing = 6; // Container child mainVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='dialogInfoAction' action='dialogInfoAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.mainVbox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child mainVbox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Graph"); this.label1.Justify = ((global::Gtk.Justification)(1)); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.modelsCombobox = global::Gtk.ComboBox.NewText(); this.modelsCombobox.Name = "modelsCombobox"; this.vbox3.Add(this.modelsCombobox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.modelsCombobox])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.clearBtn = new global::Gtk.Button(); this.clearBtn.Sensitive = false; this.clearBtn.CanFocus = true; this.clearBtn.Name = "clearBtn"; this.clearBtn.UseUnderline = true; this.clearBtn.Label = global::Mono.Unix.Catalog.GetString("Wy_czyść"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.clearBtn.Image = w5; this.hbox4.Add(this.clearBtn); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.clearBtn])); w6.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.drawBtn = new global::Gtk.Button(); this.drawBtn.Sensitive = false; this.drawBtn.CanFocus = true; this.drawBtn.Name = "drawBtn"; this.drawBtn.UseUnderline = true; this.drawBtn.Label = global::Mono.Unix.Catalog.GetString("Rysuj"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.drawBtn.Image = w7; this.hbox4.Add(this.drawBtn); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.drawBtn])); w8.Position = 1; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w9.Position = 2; w9.Expand = false; w9.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.addBtn = new global::Gtk.Button(); this.addBtn.Sensitive = false; this.addBtn.CanFocus = true; this.addBtn.Name = "addBtn"; this.addBtn.UseStock = true; this.addBtn.UseUnderline = true; this.addBtn.Label = "gtk-add"; this.hbox1.Add(this.addBtn); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addBtn])); w10.Position = 0; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1])); w12.Position = 4; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Algorithms"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w13.Position = 5; w13.Expand = false; w13.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.algorithmCombobox = global::Gtk.ComboBox.NewText(); this.algorithmCombobox.Sensitive = false; this.algorithmCombobox.Name = "algorithmCombobox"; this.vbox3.Add(this.algorithmCombobox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.algorithmCombobox])); w14.Position = 6; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.executeButton = new global::Gtk.Button(); this.executeButton.Sensitive = false; this.executeButton.CanFocus = true; this.executeButton.Name = "executeButton"; this.executeButton.UseStock = true; this.executeButton.UseUnderline = true; this.executeButton.Label = "gtk-execute"; this.vbox3.Add(this.executeButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.executeButton])); w15.Position = 7; w15.Expand = false; w15.Fill = false; // 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.prevStepBtn = new global::Gtk.Button(); this.prevStepBtn.Sensitive = false; this.prevStepBtn.CanFocus = true; this.prevStepBtn.Name = "prevStepBtn"; this.prevStepBtn.UseUnderline = true; this.prevStepBtn.Label = global::Mono.Unix.Catalog.GetString("_Wstecz"); global::Gtk.Image w16 = new global::Gtk.Image(); this.prevStepBtn.Image = w16; this.hbox2.Add(this.prevStepBtn); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.prevStepBtn])); w17.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.nextStepBtn = new global::Gtk.Button(); this.nextStepBtn.Sensitive = false; this.nextStepBtn.CanFocus = true; this.nextStepBtn.Name = "nextStepBtn"; this.nextStepBtn.UseUnderline = true; this.nextStepBtn.Label = global::Mono.Unix.Catalog.GetString("_Dalej"); global::Gtk.Image w18 = new global::Gtk.Image(); this.nextStepBtn.Image = w18; this.hbox2.Add(this.nextStepBtn); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.nextStepBtn])); w19.Position = 1; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w20.Position = 8; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.clearAlgsBtn = new global::Gtk.Button(); this.clearAlgsBtn.Sensitive = false; this.clearAlgsBtn.CanFocus = true; this.clearAlgsBtn.Name = "clearAlgsBtn"; this.clearAlgsBtn.UseStock = true; this.clearAlgsBtn.UseUnderline = true; this.clearAlgsBtn.Label = "gtk-clear"; this.vbox3.Add(this.clearAlgsBtn); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.clearAlgsBtn])); w21.Position = 9; w21.Expand = false; w21.Fill = false; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w22.Position = 0; w22.Expand = false; w22.Fill = false; this.mainVbox.Add(this.hbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.mainVbox [this.hbox3])); w23.Position = 1; this.Add(this.mainVbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1035; this.DefaultHeight = 560; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpen); this.quitAction.Activated += new global::System.EventHandler(this.OnQuit); this.dialogInfoAction.Activated += new global::System.EventHandler(this.OnAbout); this.modelsCombobox.Changed += new global::System.EventHandler(this.OnSelect); this.clearBtn.Clicked += new global::System.EventHandler(this.OnClear); this.drawBtn.Clicked += new global::System.EventHandler(this.OnDraw); this.addBtn.Clicked += new global::System.EventHandler(this.OnAddBtnClicked); this.executeButton.Clicked += new global::System.EventHandler(this.OnExecuteButtonClicked); this.prevStepBtn.Clicked += new global::System.EventHandler(this.OnPrevStepBtnClicked); this.nextStepBtn.Clicked += new global::System.EventHandler(this.OnNextStepBtnClicked); this.clearAlgsBtn.Clicked += new global::System.EventHandler(this.OnClearAlgsBtnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Template.TemplateWindow 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.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.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.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.WindowStyleAction = new global::Gtk.Action("WindowStyleAction", global::Mono.Unix.Catalog.GetString("Window style"), null, null); this.WindowStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Style"); w1.Add(this.WindowStyleAction, null); this.CustomStyleAction = new global::Gtk.RadioAction("CustomStyleAction", global::Mono.Unix.Catalog.GetString("DGLE"), null, null, 0); this.CustomStyleAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.CustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("DGLE"); 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.Sensitive = false; this.PlatformStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction.Visible = false; this.PlatformStyleAction.VisibleHorizontal = false; this.PlatformStyleAction.VisibleVertical = false; this.PlatformStyleAction.VisibleOverflown = false; w1.Add(this.PlatformStyleAction, null); this.DecoratedCustomStyleAction = new global::Gtk.RadioAction("DecoratedCustomStyleAction", global::Mono.Unix.Catalog.GetString("Decorated DGLE"), null, null, 0); this.DecoratedCustomStyleAction.Group = this.PlatformStyleAction.Group; this.DecoratedCustomStyleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Decorated DGLE"); w1.Add(this.DecoratedCustomStyleAction, null); this.PlatformStyleAction1 = new global::Gtk.RadioAction("PlatformStyleAction1", global::Mono.Unix.Catalog.GetString("Platform"), null, null, 0); this.PlatformStyleAction1.Group = this.PlatformStyleAction.Group; this.PlatformStyleAction1.Sensitive = false; this.PlatformStyleAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Platform"); this.PlatformStyleAction1.Visible = false; w1.Add(this.PlatformStyleAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Template.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Decorated = false; // Container child Template.TemplateWindow.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='CloseAction' action='CloseAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menu name='WindowStyleAction' action='WindowStyleAction'><menuitem name='CustomStyleAction' action='CustomStyleAction'/><menuitem name='DecoratedCustomStyleAction' action='DecoratedCustomStyleAction'/></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.table1 = new global::Gtk.Table(((uint)(8)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.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.table1.Add(this.button1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.button1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.table1.Add(this.calendar2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.calendar2])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.combobox1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table1.Add(this.combobox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.combobox1])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.table1.Add(this.comboboxentry1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.comboboxentry1])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.table1.Add(this.entry1); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entry1])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.Buffer.Text = "Young, strong and crazy!"; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.table1.Add(this.progressbar1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.progressbar1])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.table1.Add(this.spinbutton1); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.table1.Add(this.togglebutton1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.togglebutton1])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new global::Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = global::Mono.Unix.Catalog.GetString("checkbutton2"); this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton3 = new global::Gtk.CheckButton(); this.checkbutton3.CanFocus = true; this.checkbutton3.Name = "checkbutton3"; this.checkbutton3.Label = global::Mono.Unix.Catalog.GetString("checkbutton3"); this.checkbutton3.DrawIndicator = true; this.checkbutton3.UseUnderline = true; this.vbox3.Add(this.checkbutton3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton3])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton4 = new global::Gtk.CheckButton(); this.checkbutton4.CanFocus = true; this.checkbutton4.Name = "checkbutton4"; this.checkbutton4.Label = global::Mono.Unix.Catalog.GetString("checkbutton4"); this.checkbutton4.DrawIndicator = true; this.checkbutton4.UseUnderline = true; this.vbox3.Add(this.checkbutton4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.checkbutton4])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.table1.Add(this.vbox3); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3])); w17.TopAttach = ((uint)(5)); w17.BottomAttach = ((uint)(6)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobutton1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString ("radiobutton3")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.vbox4.Add(this.radiobutton3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.radiobutton3])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.table1.Add(this.vbox4); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox4])); w21.TopAttach = ((uint)(5)); w21.BottomAttach = ((uint)(6)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1])); w22.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 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 = 483; this.DefaultHeight = 497; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Pulsar4X.GTKForms.MainWindowGTK this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.Pulsar4XAction = new global::Gtk.Action("Pulsar4XAction", global::Mono.Unix.Catalog.GetString("Pulsar4X"), null, null); this.Pulsar4XAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pulsar4X"); w1.Add(this.Pulsar4XAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Pulsar4X.GTKForms.MainWindowGTK"; this.Title = global::Mono.Unix.Catalog.GetString("Pulsar4X"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultHeight = 600; // Container child Pulsar4X.GTKForms.MainWindowGTK.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar2'><menu name='Pulsar4XAction' action='Pulsar4XAction'/></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox5.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox5.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.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.notebook1.Add(this.alignment1); // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("SystemMap"); this.notebook1.SetTabLabel(this.alignment1, this.label7); this.label7.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.systemdisplaygtk1 = new global::Pulsar4X.GTKForms.Controls.SystemDisplayGTK(); this.systemdisplaygtk1.Events = ((global::Gdk.EventMask)(256)); this.systemdisplaygtk1.Name = "systemdisplaygtk1"; this.notebook1.Add(this.systemdisplaygtk1); global::Gtk.Notebook.NotebookChild w4 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.systemdisplaygtk1])); w4.Position = 1; // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("SystemDisplay"); this.notebook1.SetTabLabel(this.systemdisplaygtk1, this.label8); this.label8.ShowAll(); this.vbox5.Add(this.notebook1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.notebook1])); w5.Position = 1; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1038; 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.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 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, null); 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, null); 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, null); 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, null); 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, null); 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, null); 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, null); 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, null); this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.RedoAction, "<Control>y"); this.NewItemAction = new global::Gtk.Action("NewItemAction", global::Mono.Unix.Catalog.GetString("New Item..."), null, null); this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Item..."); w1.Add(this.NewItemAction, null); this.AddItemAction = new global::Gtk.Action("AddItemAction", global::Mono.Unix.Catalog.GetString("Add Item..."), null, null); this.AddItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Item..."); w1.Add(this.AddItemAction, null); this.DeleteAction = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("Delete"), null, null); 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, null); 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, null); 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.Action("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.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, null); 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, null); 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, null); this.CancelBuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cancel Build"); w1.Add(this.CancelBuildAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MonoGame.Tools.Pipeline.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Monogame Pipeline"); 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/><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='AddItemAction' action='AddItemAction'/><separator/><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'/></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); 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 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.textview2.Editable = false; this.GtkScrolledWindow.Add(this.textview2); this.hpaned1.Add(this.GtkScrolledWindow); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w8.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 751; this.DefaultHeight = 557; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.FileAction.Activated += new global::System.EventHandler(this.OnFileActionActivated); this.NewAction.Activated += new global::System.EventHandler(this.OnNewActionActivated); this.OpenAction.Activated += new global::System.EventHandler(this.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.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); this.NewItemAction.Activated += new global::System.EventHandler(this.OnNewItemActionActivated); this.AddItemAction.Activated += new global::System.EventHandler(this.OnAddItemActionActivated); this.DeleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated); this.BuildAction.Activated += new global::System.EventHandler(this.OnBuildActionActivated); this.BuildAction1.Activated += new global::System.EventHandler(this.OnBuildAction1Activated); this.RebuildAction.Activated += new global::System.EventHandler(this.OnRebuildActionActivated); this.CleanAction.Activated += new global::System.EventHandler(this.OnCleanActionActivated); this.ViewHelpAction.Activated += new global::System.EventHandler(this.OnViewHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Trilogic.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.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.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.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Trilogic.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Trilogic Backup"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Trilogic.MainWindow.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar\'><menu name=\'FileAction\' action=\'FileAction\'><menuitem" + " name=\'quitAction\' action=\'quitAction\'/></menu><menu name=\'EditAction\' action=\'E" + "ditAction\'><menuitem name=\'OptionsAction\' action=\'OptionsAction\'/></menu></menub" + "ar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar"))); this.menubar.Name = "menubar"; this.vbox4.Add (this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 374; this.vpaned1.BorderWidth = ((uint)(5)); // Container child vpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox6.Add (this.fixed1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.fixed1])); w3.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.comboShow = global::Gtk.ComboBox.NewText (); this.comboShow.AppendText (global::Mono.Unix.Catalog.GetString ("Show All")); this.comboShow.AppendText (global::Mono.Unix.Catalog.GetString ("Show Difference")); this.comboShow.Name = "comboShow"; this.comboShow.Active = 1; this.hbox6.Add (this.comboShow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboShow])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.comboType = global::Gtk.ComboBox.NewText (); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("All")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Table")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Stored Procedure")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Data")); this.comboType.Name = "comboType"; this.comboType.Active = 0; this.hbox6.Add (this.comboType); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboType])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w6.Position = 0; w6.Expand = false; w6.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 = 314; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryDatabase = new global::Gtk.Entry (); this.entryDatabase.CanFocus = true; this.entryDatabase.Name = "entryDatabase"; this.entryDatabase.IsEditable = true; this.entryDatabase.InvisibleChar = '●'; this.table1.Add (this.entryDatabase); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryDatabase])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryHost = new global::Gtk.Entry (); this.entryHost.CanFocus = true; this.entryHost.Name = "entryHost"; this.entryHost.IsEditable = true; this.entryHost.InvisibleChar = '●'; this.table1.Add (this.entryHost); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryHost])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.table1.Add (this.entryPassword); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPassword])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryUser = new global::Gtk.Entry (); this.entryUser.CanFocus = true; this.entryUser.Name = "entryUser"; this.entryUser.IsEditable = true; this.entryUser.InvisibleChar = '●'; this.table1.Add (this.entryUser); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryUser])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryFolder = new global::Gtk.Entry (); this.entryFolder.CanFocus = true; this.entryFolder.Name = "entryFolder"; this.entryFolder.IsEditable = false; this.entryFolder.InvisibleChar = '●'; this.hbox1.Add (this.entryFolder); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFolder])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpenFolder = new global::Gtk.Button (); this.buttonOpenFolder.CanFocus = true; this.buttonOpenFolder.Name = "buttonOpenFolder"; this.buttonOpenFolder.UseUnderline = true; this.buttonOpenFolder.Label = global::Mono.Unix.Catalog.GetString ("_Open"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.buttonOpenFolder.Image = w12; this.hbox1.Add (this.buttonOpenFolder); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpenFolder])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Folder"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Host"); this.label4.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("User"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Password"); this.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label7); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Database"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add (this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.buttonStartDiff = new global::Gtk.Button (); this.buttonStartDiff.CanFocus = true; this.buttonStartDiff.Name = "buttonStartDiff"; this.buttonStartDiff.UseUnderline = true; this.buttonStartDiff.Label = global::Mono.Unix.Catalog.GetString ("Start Diff"); this.vbox5.Add (this.buttonStartDiff); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.buttonStartDiff])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.buttonWriteToFile = new global::Gtk.Button (); this.buttonWriteToFile.CanFocus = true; this.buttonWriteToFile.Name = "buttonWriteToFile"; this.buttonWriteToFile.UseUnderline = true; this.buttonWriteToFile.Label = global::Mono.Unix.Catalog.GetString ("Write To File"); this.vbox5.Add (this.buttonWriteToFile); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.buttonWriteToFile])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.hpaned1.Add (this.vbox5); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox5])); w23.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.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.treeviewDB = new global::Gtk.TreeView (); this.treeviewDB.CanFocus = true; this.treeviewDB.Name = "treeviewDB"; this.GtkScrolledWindow.Add (this.treeviewDB); this.hbox5.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.GtkScrolledWindow])); w25.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.buttonRight = new global::Gtk.Button (); this.buttonRight.CanFocus = true; this.buttonRight.Name = "buttonRight"; this.buttonRight.UseUnderline = true; global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, ".\\Assets\\arrow.png")); this.buttonRight.Image = w26; this.vbox3.Add (this.buttonRight); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonRight])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonLeft = new global::Gtk.Button (); this.buttonLeft.CanFocus = true; this.buttonLeft.Name = "buttonLeft"; this.buttonLeft.UseUnderline = true; global::Gtk.Image w28 = new global::Gtk.Image (); w28.Pixbuf = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, ".\\Assets\\arrow-180.png")); this.buttonLeft.Image = w28; this.vbox3.Add (this.buttonLeft); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonLeft])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox5.Add (this.vbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox3])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child hbox5.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.treeviewFile = new global::Gtk.TreeView (); this.treeviewFile.CanFocus = true; this.treeviewFile.Name = "treeviewFile"; this.GtkScrolledWindow1.Add (this.treeviewFile); this.hbox5.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.GtkScrolledWindow1])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 2; this.hpaned1.Add (this.hbox5); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w34.Position = 1; this.vpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w35 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox2])); w35.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.textviewLog = new global::Gtk.TextView (); this.textviewLog.CanFocus = true; this.textviewLog.Name = "textviewLog"; this.GtkScrolledWindow2.Add (this.textviewLog); this.vpaned1.Add (this.GtkScrolledWindow2); this.vbox4.Add (this.vpaned1); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vpaned1])); w38.Position = 1; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1147; this.DefaultHeight = 595; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ResizeChecked += new global::System.EventHandler (this.OnResizeChecked); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.OptionsAction.Activated += new global::System.EventHandler (this.OnOptionsActionActivated); this.comboShow.Changed += new global::System.EventHandler (this.OnComboShowChanged); this.comboType.Changed += new global::System.EventHandler (this.OnComboTypeChanged); this.buttonOpenFolder.Clicked += new global::System.EventHandler (this.OnButtonOpenFolderClicked); this.buttonStartDiff.Clicked += new global::System.EventHandler (this.OnButtonStartDiffClicked); this.treeviewDB.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewRowActivated); this.buttonRight.Clicked += new global::System.EventHandler (this.OnButtonRightClicked); this.buttonLeft.Clicked += new global::System.EventHandler (this.OnButtonLeftClicked); this.treeviewFile.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget EliAssaltoAnfibio.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.SImulazioneAction = new global::Gtk.Action("SImulazioneAction", "SImulazione", null, null); this.SImulazioneAction.ShortLabel = "SImulazione"; w1.Add(this.SImulazioneAction, null); this.StartAction = new global::Gtk.Action("StartAction", "Start", null, null); this.StartAction.ShortLabel = "Start"; w1.Add(this.StartAction, null); this.ResetAction = new global::Gtk.Action("ResetAction", "Reset", null, null); this.ResetAction.ShortLabel = "Reset"; w1.Add(this.ResetAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", "Quit", null, null); this.QuitAction.ShortLabel = "Quit"; w1.Add(this.QuitAction, null); this.MenuSimulazioneAction = new global::Gtk.Action("MenuSimulazioneAction", "Menu Simulazione", null, null); this.MenuSimulazioneAction.ShortLabel = "Simulazione"; w1.Add(this.MenuSimulazioneAction, null); this.StartAction1 = new global::Gtk.Action("StartAction1", "Start", null, null); this.StartAction1.ShortLabel = "Start"; w1.Add(this.StartAction1, null); this.ResetAction1 = new global::Gtk.Action("ResetAction1", "Reset", null, null); this.ResetAction1.ShortLabel = "Reset"; w1.Add(this.ResetAction1, null); this.QuitAction1 = new global::Gtk.Action("QuitAction1", "Quit", null, null); this.QuitAction1.ShortLabel = "Quit"; w1.Add(this.QuitAction1, null); this.VisualizzaAction = new global::Gtk.Action("VisualizzaAction", "Visualizza", null, null); this.VisualizzaAction.ShortLabel = "Visualizza"; w1.Add(this.VisualizzaAction, null); this.informationWindowAction = new global::Gtk.Action("informationWindowAction", "information window ", null, null); this.informationWindowAction.ShortLabel = "information window "; w1.Add(this.informationWindowAction, null); this.onAction = new global::Gtk.RadioAction("onAction", "on", null, null, 0); this.onAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.onAction.ShortLabel = "on"; w1.Add(this.onAction, null); this.offAction = new global::Gtk.RadioAction("offAction", "off", null, null, 0); this.offAction.Group = this.onAction.Group; this.offAction.ShortLabel = "off"; w1.Add(this.offAction, null); this.OpzioniSimulazioneAction = new global::Gtk.Action("OpzioniSimulazioneAction", "Opzioni simulazione", null, null); this.OpzioniSimulazioneAction.ShortLabel = "Opzioni simulazione"; w1.Add(this.OpzioniSimulazioneAction, null); this.giornoNotteAction = new global::Gtk.Action("giornoNotteAction", "giorno/notte", null, null); this.giornoNotteAction.ShortLabel = "giorno/notte"; w1.Add(this.giornoNotteAction, null); this.giornoAction = new global::Gtk.RadioAction("giornoAction", "giorno", null, null, 0); this.giornoAction.Group = this.offAction.Group; this.giornoAction.ShortLabel = "giorno"; w1.Add(this.giornoAction, null); this.giornoAction2 = new global::Gtk.RadioAction("giornoAction2", "giorno", null, null, 0); this.giornoAction2.Group = this.offAction.Group; this.giornoAction2.ShortLabel = "notte"; w1.Add(this.giornoAction2, null); this.notteAction = new global::Gtk.RadioAction("notteAction", "notte", null, null, 0); this.notteAction.Group = this.giornoAction2.Group; this.notteAction.ShortLabel = "notte"; w1.Add(this.notteAction, null); this.giornoNotteAction1 = new global::Gtk.Action("giornoNotteAction1", "giorno/notte", null, null); this.giornoNotteAction1.ShortLabel = "giorno/notte"; w1.Add(this.giornoNotteAction1, null); this.giornoAction3 = new global::Gtk.RadioAction("giornoAction3", "giorno", null, null, 0); this.giornoAction3.Group = this.giornoAction2.Group; this.giornoAction3.ShortLabel = "giorno"; w1.Add(this.giornoAction3, null); this.notteAction1 = new global::Gtk.RadioAction("notteAction1", "notte", null, null, 0); this.notteAction1.Group = this.giornoAction2.Group; this.notteAction1.ShortLabel = "notte"; w1.Add(this.notteAction1, null); this.KKAction = new global::Gtk.RadioAction("KKAction", "KK", null, null, 0); this.KKAction.Group = this.giornoAction2.Group; this.KKAction.ShortLabel = "KK"; w1.Add(this.KKAction, null); this.giornoNotteAction2 = new global::Gtk.Action("giornoNotteAction2", "giorno/notte", null, null); this.giornoNotteAction2.ShortLabel = "GIORNO/NOTTE"; w1.Add(this.giornoNotteAction2, null); this.giornoAction4 = new global::Gtk.RadioAction("giornoAction4", "giorno", null, null, 0); this.giornoAction4.Group = this.giornoAction2.Group; this.giornoAction4.ShortLabel = "giorno"; w1.Add(this.giornoAction4, null); this.notteAction2 = new global::Gtk.RadioAction("notteAction2", "notte", null, null, 0); this.notteAction2.Group = this.giornoAction2.Group; this.notteAction2.ShortLabel = "notte"; w1.Add(this.notteAction2, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "EliAssaltoAnfibio.MainWindow"; this.Title = "INITIAL SETUP"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child EliAssaltoAnfibio.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.hseparator11 = new global::Gtk.HSeparator(); this.hseparator11.Name = "hseparator11"; this.vbox1.Add(this.hseparator11); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator11])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.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><menubar name='menubar3'><menu name='MenuSimulazioneAction' action='MenuSimulazioneAction'><menuitem name='StartAction1' action='StartAction1'/><menuitem name='ResetAction1' action='ResetAction1'/><menuitem name='QuitAction1' action='QuitAction1'/></menu><menu name='VisualizzaAction' action='VisualizzaAction'><menu name='informationWindowAction' action='informationWindowAction'><menuitem name='onAction' action='onAction'/><menuitem name='offAction' action='offAction'/></menu></menu><menu name='OpzioniSimulazioneAction' action='OpzioniSimulazioneAction'><menu name='giornoNotteAction2' action='giornoNotteAction2'><menuitem name='giornoAction4' action='giornoAction4'/><menuitem name='notteAction2' action='notteAction2'/></menu></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox3.Add(this.menubar3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator12 = new global::Gtk.HSeparator(); this.hseparator12.Name = "hseparator12"; this.vbox3.Add(this.hseparator12); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator12])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.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.label1 = new global::Gtk.Label(); this.label1.WidthRequest = 100; this.label1.Name = "label1"; this.label1.LabelProp = "ELICOTTERI"; this.label1.Wrap = true; this.hbox2.Add(this.label1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1])); w5.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.TooltipMarkup = "INSERISCI IL NUMERO DI ELICOTTERI CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETT" + "ATO IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 1D; this.hscale1.Adjustment.Upper = 10D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.PageSize = 1D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 1D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.hscale1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale1])); w6.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.WidthRequest = 100; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = "CONFERMA"; this.hbox6.Add(this.button1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button(); this.button5.WidthRequest = 90; this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = "OPZIONI"; this.hbox6.Add(this.button5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button5])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseUnderline = true; this.button10.Label = "VISUALIZZA ELENCO"; this.hbox6.Add(this.button10); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button10])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.hbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox6])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox6.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbox6.Add(this.hseparator6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hseparator6])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 100; this.label2.Name = "label2"; this.label2.LabelProp = "TRUPPE"; this.label2.Wrap = true; this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w13.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.TooltipMarkup = "INSERISCI IL NUMERO DI TRUPPE CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO " + "IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1D; this.hscale2.Adjustment.Upper = 500D; this.hscale2.Adjustment.PageIncrement = 10D; this.hscale2.Adjustment.StepIncrement = 1D; this.hscale2.Adjustment.Value = 1D; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.hscale2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hscale2])); w14.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.WidthRequest = 100; this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = "CONFERMA"; this.hbox7.Add(this.button2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.button6 = new global::Gtk.Button(); this.button6.WidthRequest = 90; this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = "OPZIONI"; this.hbox7.Add(this.button6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button6])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox1.Add(this.hbox7); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox7])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.vbox6.Add(this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox1])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox5.Add(this.vbox6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox6])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox5.Add(this.hseparator5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator5])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox5.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.label3 = new global::Gtk.Label(); this.label3.WidthRequest = 100; this.label3.Name = "label3"; this.label3.LabelProp = "ALTRO CARGO"; this.label3.Wrap = true; this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w21.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.hscale3 = new global::Gtk.HScale(null); this.hscale3.TooltipMarkup = "INSERISCI IL NUMERO DI ELEMENTI CARGO CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA C" + "CETTATO IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale3.CanFocus = true; this.hscale3.Name = "hscale3"; this.hscale3.Adjustment.Upper = 10D; this.hscale3.Adjustment.PageIncrement = 10D; this.hscale3.Adjustment.StepIncrement = 1D; this.hscale3.DrawValue = true; this.hscale3.Digits = 0; this.hscale3.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox3.Add(this.hscale3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hscale3])); w22.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.WidthRequest = 100; this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = "CONFERMA"; this.hbox8.Add(this.button3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button3])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.button7 = new global::Gtk.Button(); this.button7.WidthRequest = 90; this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseUnderline = true; this.button7.Label = "OPZIONI"; this.hbox8.Add(this.button7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button7])); w24.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.button14 = new global::Gtk.Button(); this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseUnderline = true; this.button14.Label = "VISUALIZZA ELENCO"; this.hbox8.Add(this.button14); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button14])); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.hbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox8])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox5.Add(this.hbox3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.vbox5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox3.Add(this.hseparator3); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator3])); w29.Position = 3; w29.Expand = false; w29.Fill = false; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 100; this.label4.HeightRequest = 0; this.label4.Name = "label4"; this.label4.LabelProp = "DISTANZA LANDING ZONE"; this.label4.Wrap = true; this.hbox4.Add(this.label4); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4])); w31.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hscale4 = new global::Gtk.HScale(null); this.hscale4.TooltipMarkup = "INSERIRE LA DISTANZA DALLA LZ IN LINEA D\'ARIA"; this.hscale4.CanFocus = true; this.hscale4.Name = "hscale4"; this.hscale4.Adjustment.Lower = 15D; this.hscale4.Adjustment.Upper = 100D; this.hscale4.Adjustment.PageIncrement = 10D; this.hscale4.Adjustment.StepIncrement = 1D; this.hscale4.Adjustment.Value = 50D; this.hscale4.DrawValue = true; this.hscale4.Digits = 0; this.hscale4.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox4.Add(this.hscale4); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hscale4])); w32.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.WidthRequest = 100; this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = "CONFERMA"; this.hbox9.Add(this.button4); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.button4])); w33.Position = 0; w33.Expand = false; w33.Fill = false; this.hbox4.Add(this.hbox9); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox9])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.vbox4.Add(this.hbox4); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator10 = new global::Gtk.HSeparator(); this.hseparator10.Name = "hseparator10"; this.vbox4.Add(this.hseparator10); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator10])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Homogeneous = true; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.WidthRequest = 100; this.label11.Name = "label11"; this.label11.LabelProp = "SPOT DISPONIBILI"; this.label11.Wrap = true; this.label11.Justify = ((global::Gtk.Justification)(2)); this.label11.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox10.Add(this.label11); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label11])); w37.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.hscale5 = new global::Gtk.HScale(null); this.hscale5.TooltipMarkup = "INSERISCI GLI SPOT CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO IL NUMERO N" + "ON PUO\' ESSERE CAMBIATO"; this.hscale5.CanFocus = true; this.hscale5.Name = "hscale5"; this.hscale5.Adjustment.Lower = 1D; this.hscale5.Adjustment.Upper = 8D; this.hscale5.Adjustment.PageIncrement = 10D; this.hscale5.Adjustment.StepIncrement = 1D; this.hscale5.Adjustment.Value = 1D; this.hscale5.DrawValue = true; this.hscale5.Digits = 0; this.hscale5.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox10.Add(this.hscale5); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hscale5])); w38.Position = 1; // Container child hbox10.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.button12 = new global::Gtk.Button(); this.button12.WidthRequest = 100; this.button12.CanFocus = true; this.button12.Name = "button12"; this.button12.UseUnderline = true; this.button12.Label = "CONFERMA"; this.hbox11.Add(this.button12); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button12])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.button11 = new global::Gtk.Button(); this.button11.WidthRequest = 90; this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseUnderline = true; this.button11.Label = "OPZIONI"; this.hbox11.Add(this.button11); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button11])); w40.Position = 1; // Container child hbox11.Gtk.Box+BoxChild this.button16 = new global::Gtk.Button(); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; this.button16.Label = "VISUALIZZA ELENCO"; this.hbox11.Add(this.button16); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button16])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.hbox10.Add(this.hbox11); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hbox11])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vbox4.Add(this.hbox10); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox10])); w43.Position = 2; w43.Expand = false; w43.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbox4.Add(this.hseparator4); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator4])); w44.Position = 3; w44.Expand = false; w44.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.HeightRequest = 60; this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox(); this.hbox13.HeightRequest = 50; this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.TooltipMarkup = "INIZIA LA SIMULAZIONE"; this.button9.WidthRequest = 150; this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; this.button9.Label = "START"; this.hbox13.Add(this.button9); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.button9])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox(); this.hbox14.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 170; this.label5.Name = "label5"; this.label5.LabelProp = "ELI"; this.label5.Wrap = true; this.label5.Justify = ((global::Gtk.Justification)(2)); this.label5.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label5); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label5])); w46.Position = 0; // Container child hbox14.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 170; this.label6.Name = "label6"; this.label6.LabelProp = "TRUPPE"; this.label6.Wrap = true; this.label6.Justify = ((global::Gtk.Justification)(3)); this.label6.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.hbox14.Add(this.label6); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label6])); w47.Position = 1; w47.Expand = false; w47.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.WidthRequest = 170; this.label7.Name = "label7"; this.label7.LabelProp = "ALTRO CARGO"; this.label7.Wrap = true; this.label7.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label7); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label7])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.WidthRequest = 170; this.label8.Name = "label8"; this.label8.LabelProp = "DISTANZA"; this.label8.Wrap = true; this.label8.Justify = ((global::Gtk.Justification)(2)); this.label8.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label8); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label8])); w49.Position = 3; w49.Expand = false; w49.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.WidthRequest = 170; this.label12.Name = "label12"; this.label12.LabelProp = "SPOT"; this.label12.Wrap = true; this.label12.Justify = ((global::Gtk.Justification)(2)); this.label12.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label12); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label12])); w50.Position = 4; w50.Expand = false; w50.Fill = false; this.hbox13.Add(this.hbox14); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.hbox14])); w51.Position = 1; w51.Fill = false; this.vbox7.Add(this.hbox13); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox13])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hseparator7 = new global::Gtk.HSeparator(); this.hseparator7.Name = "hseparator7"; this.vbox7.Add(this.hseparator7); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hseparator7])); w53.Position = 1; w53.Expand = false; w53.Fill = false; this.vbox4.Add(this.vbox7); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox7])); w54.PackType = ((global::Gtk.PackType)(1)); w54.Position = 4; w54.Expand = false; w54.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w55.Position = 2; w55.Expand = false; w55.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1203; this.DefaultHeight = 418; this.label11.MnemonicWidget = this.button10; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.StartAction1.Activated += new global::System.EventHandler(this.OnStartAction1Activated); this.ResetAction1.Activated += new global::System.EventHandler(this.OnResetAction1Activated); this.QuitAction1.Activated += new global::System.EventHandler(this.OnQuitAction1Activated); this.onAction.Toggled += new global::System.EventHandler(this.OnOnActionToggled); this.offAction.Toggled += new global::System.EventHandler(this.OnOffActionToggled); this.giornoAction2.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated); this.notteAction.Activated += new global::System.EventHandler(this.OnNotteActionActivated); this.giornoAction4.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated); this.notteAction2.Activated += new global::System.EventHandler(this.OnNotteActionActivated); this.button1.Released += new global::System.EventHandler(this.OnButton1Released); this.button5.Released += new global::System.EventHandler(this.OnButton5Released); this.button10.Released += new global::System.EventHandler(this.OnButton10Released); this.button2.Released += new global::System.EventHandler(this.OnButton2Released); this.button6.Released += new global::System.EventHandler(this.OnButton6Released); this.button3.Released += new global::System.EventHandler(this.OnButton3Released); this.button7.Released += new global::System.EventHandler(this.OnButton7Released); this.button14.Released += new global::System.EventHandler(this.OnButton14Released); this.button4.Released += new global::System.EventHandler(this.OnButton4Released); this.button12.Released += new global::System.EventHandler(this.OnButton12Released); this.button11.Released += new global::System.EventHandler(this.OnButton11Released); this.button16.Released += new global::System.EventHandler(this.OnButton16Released); this.button9.Released += new global::System.EventHandler(this.OnButton9Released); }
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.DateiAction = new global::Gtk.Action("DateiAction", global::Mono.Unix.Catalog.GetString("Datei"), null, null); this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Datei"); w1.Add(this.DateiAction, null); this.newAction = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("Neu"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Neu"); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Öffnen"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Öffnen"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Speichern"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Speichern"); w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Speichern unter"), null, "gtk-save-as"); this.saveAsAction.HideIfEmpty = false; this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Speichern unter"); w1.Add(this.saveAsAction, "<Primary><Alt>s"); this.closeAction = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Schließen"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Schließen"); w1.Add(this.closeAction, "<Primary>e"); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Beenden"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Beenden"); w1.Add(this.quitAction, null); this.BearbeitenAction = new global::Gtk.Action("BearbeitenAction", global::Mono.Unix.Catalog.GetString("Bearbeiten"), null, null); this.BearbeitenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Bearbeiten"); w1.Add(this.BearbeitenAction, null); this.SaveRegex = new global::Gtk.Action("SaveRegex", null, null, "gtk-save"); this.SaveRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.SaveRegex, null); this.CloseRegex = new global::Gtk.Action("CloseRegex", null, null, "gtk-close"); this.CloseRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseRegex, null); this.SaveRegexOtherFileName = new global::Gtk.Action("SaveRegexOtherFileName", null, null, "gtk-save-as"); this.SaveRegexOtherFileName.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as"); w1.Add(this.SaveRegexOtherFileName, null); this.newAction1 = new global::Gtk.Action("newAction1", null, null, "gtk-new"); this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Neu"); w1.Add(this.newAction1, null); this.OpenRegex = new global::Gtk.Action("OpenRegex", null, null, "gtk-open"); this.OpenRegex.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenRegex, null); this.undoAction = new global::Gtk.Action("undoAction", null, null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.undoAction, null); this.redoAction = new global::Gtk.Action("redoAction", null, null, "gtk-redo"); this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.redoAction, null); this.cutAction = new global::Gtk.Action("cutAction", null, null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cut"); w1.Add(this.cutAction, null); this.copyAction = new global::Gtk.Action("copyAction", null, null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy"); w1.Add(this.copyAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", null, null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Paste"); w1.Add(this.pasteAction, null); this.Execute = new global::Gtk.Action("Execute", global::Mono.Unix.Catalog.GetString("Ausführen"), null, "gtk-media-play"); this.Execute.ShortLabel = global::Mono.Unix.Catalog.GetString("Ausführen"); w1.Add(this.Execute, null); this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clear"); w1.Add(this.clearAction, null); this.Library = new global::Gtk.Action("Library", global::Mono.Unix.Catalog.GetString("Bibliothek"), null, "gtk-select-all"); this.Library.ShortLabel = global::Mono.Unix.Catalog.GetString("Library"); w1.Add(this.Library, null); this.separatorAction = new global::Gtk.Action("separatorAction", null, null, "gtk-separator"); w1.Add(this.separatorAction, null); this.undoAction1 = new global::Gtk.Action("undoAction1", global::Mono.Unix.Catalog.GetString("Rückgängig"), null, "gtk-undo"); this.undoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Undo"); w1.Add(this.undoAction1, "<Primary>z"); this.redoAction1 = new global::Gtk.Action("redoAction1", global::Mono.Unix.Catalog.GetString("Wiederholen"), null, "gtk-redo"); this.redoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Redo"); w1.Add(this.redoAction1, "<Primary>w"); this.cutAction1 = new global::Gtk.Action("cutAction1", global::Mono.Unix.Catalog.GetString("Ausschneiden"), null, "gtk-cut"); this.cutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Cu_t"); w1.Add(this.cutAction1, null); this.copyAction1 = new global::Gtk.Action("copyAction1", global::Mono.Unix.Catalog.GetString("Kopieren"), null, "gtk-copy"); this.copyAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Copy"); w1.Add(this.copyAction1, null); this.pasteAction1 = new global::Gtk.Action("pasteAction1", global::Mono.Unix.Catalog.GetString("Einfügen"), null, "gtk-paste"); this.pasteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paste"); w1.Add(this.pasteAction1, null); this.RegexAction = new global::Gtk.Action("RegexAction", global::Mono.Unix.Catalog.GetString("Regex"), null, null); this.RegexAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Regex"); w1.Add(this.RegexAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("RunParser"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RunParser"); w1.Add(this.mediaPlayAction, "<Primary>space"); this.ExtrasAction = new global::Gtk.Action("ExtrasAction", global::Mono.Unix.Catalog.GetString("Extras"), null, null); this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Extras"); w1.Add(this.ExtrasAction, null); this.propertiesAction = new global::Gtk.Action("propertiesAction", global::Mono.Unix.Catalog.GetString("_Properties"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties"); w1.Add(this.propertiesAction, null); this.HilfeAction = new global::Gtk.Action("HilfeAction", global::Mono.Unix.Catalog.GetString("Hilfe"), null, null); this.HilfeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hilfe"); w1.Add(this.HilfeAction, null); this.cancelAction = new global::Gtk.Action("cancelAction", global::Mono.Unix.Catalog.GetString("Fehler melden"), null, "gtk-cancel"); this.cancelAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fehler melden"); w1.Add(this.cancelAction, "<Primary>b"); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("Info"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.aboutAction, "<Primary>i"); this.preferencesAction = new global::Gtk.Action("preferencesAction", global::Mono.Unix.Catalog.GetString("Einstellungen"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Properties"); w1.Add(this.preferencesAction, "<Primary>p"); this.selectAllAction = new global::Gtk.Action("selectAllAction", global::Mono.Unix.Catalog.GetString("LibraryMenu"), null, "gtk-select-all"); this.selectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString("LibraryMenu"); w1.Add(this.selectAllAction, "<Primary>l"); this.spellCheckAction = new global::Gtk.Action("spellCheckAction", global::Mono.Unix.Catalog.GetString("_Spell Check"), null, "gtk-spell-check"); this.spellCheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Spell Check"); w1.Add(this.spellCheckAction, null); this.aboutAction1 = new global::Gtk.Action("aboutAction1", global::Mono.Unix.Catalog.GetString("Info"), null, "gtk-about"); this.aboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Info"); w1.Add(this.aboutAction1, null); this.ExportAction = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("Export"), null, null); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export"); w1.Add(this.ExportAction, null); this.Action = new global::Gtk.Action("Action", null, null, null); w1.Add(this.Action, null); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Exportieren"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportieren"); w1.Add(this.convertAction, null); this.NurTextTxtAction = new global::Gtk.Action("NurTextTxtAction", global::Mono.Unix.Catalog.GetString("Nur Text (*.txt)"), null, null); this.NurTextTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Nur Text (*.txt)"); w1.Add(this.NurTextTxtAction, "<Primary><Alt>t"); this.HypertextHtmlAction = new global::Gtk.Action("HypertextHtmlAction", global::Mono.Unix.Catalog.GetString("Hypertext (*.html)"), null, null); this.HypertextHtmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Hypertext (*.html)"); w1.Add(this.HypertextHtmlAction, "<Primary><Alt>h"); this.KommaGetrenntCsvAction = new global::Gtk.Action("KommaGetrenntCsvAction", global::Mono.Unix.Catalog.GetString("Komma - getrennt (*.csv)"), null, null); this.KommaGetrenntCsvAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Komma - getrennt (*.csv)"); w1.Add(this.KommaGetrenntCsvAction, "<Primary><Alt>c"); this.preferencesAction1 = new global::Gtk.Action("preferencesAction1", null, null, "gtk-preferences"); this.preferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.preferencesAction1, null); this.berDieseVersionAction = new global::Gtk.Action("berDieseVersionAction", global::Mono.Unix.Catalog.GetString("Über diese Version"), null, null); this.berDieseVersionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Über diese Version"); w1.Add(this.berDieseVersionAction, null); this.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Über diese Version"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Über diese Version"); w1.Add(this.dialogQuestionAction, "<Primary>y"); this.connectAction = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("Web"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Web"); w1.Add(this.connectAction, "<Primary><Alt>i"); this.clearAction1 = new global::Gtk.Action("clearAction1", global::Mono.Unix.Catalog.GetString("Leeren"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Leeren"); w1.Add(this.clearAction1, "<Primary><Alt><Mod4><Super>c"); this.saveAsAction2 = new global::Gtk.Action("saveAsAction2", global::Mono.Unix.Catalog.GetString("Kopie speichern unter"), null, "gtk-save-as"); this.saveAsAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Kopie speichern unter"); w1.Add(this.saveAsAction2, "<Primary>k"); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Drucken"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Drucken"); w1.Add(this.printAction, null); this.selectFontAction = new global::Gtk.Action("selectFontAction", global::Mono.Unix.Catalog.GetString("Tastenkombinationen"), null, "gtk-select-font"); this.selectFontAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tastenkombinationen"); w1.Add(this.selectFontAction, "<Primary><Alt>k"); this.restore = new global::Gtk.Action("restore", global::Mono.Unix.Catalog.GetString("Ausdrücke wiederherstellen"), null, "gtk-undelete"); this.restore.ShortLabel = global::Mono.Unix.Catalog.GetString("Ausdrücke wiederherstellen"); w1.Add(this.restore, "<Primary><Alt>u"); this.homeAction = new global::Gtk.Action("homeAction", global::Mono.Unix.Catalog.GetString("Start"), null, "gtk-home"); this.homeAction.Sensitive = false; this.homeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Willkommensseite"); w1.Add(this.homeAction, null); this.mediaPlayAction1 = new global::Gtk.Action("mediaPlayAction1", global::Mono.Unix.Catalog.GetString("Run"), null, "gtk-media-play"); this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Run"); w1.Add(this.mediaPlayAction1, "<Primary>space"); this.quitAction1 = new global::Gtk.Action("quitAction1", global::Mono.Unix.Catalog.GetString("Beenden"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Beenden"); w1.Add(this.quitAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Terminus.bin.Debug.Boot.Images.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(2)); // 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='DateiAction' action='DateiAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><menuitem name='saveAsAction2' action='saveAsAction2'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='undoAction1' action='undoAction1'/><menuitem name='redoAction1' action='redoAction1'/><menuitem name='cutAction1' action='cutAction1'/><menuitem name='copyAction1' action='copyAction1'/><menuitem name='pasteAction1' action='pasteAction1'/><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='RegexAction' action='RegexAction'><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menu name='convertAction' action='convertAction'><menuitem name='NurTextTxtAction' action='NurTextTxtAction'/><menuitem name='HypertextHtmlAction' action='HypertextHtmlAction'/><menuitem name='KommaGetrenntCsvAction' action='KommaGetrenntCsvAction'/></menu><menuitem name='clearAction1' action='clearAction1'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='restore' action='restore'/></menu><menu name='HilfeAction' action='HilfeAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='selectFontAction' action='selectFontAction'/><menuitem name='cancelAction' action='cancelAction'/><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='newAction1' action='newAction1'/><toolitem name='OpenRegex' action='OpenRegex'/><toolitem name='SaveRegex' action='SaveRegex'/><toolitem name='SaveRegexOtherFileName' action='SaveRegexOtherFileName'/><toolitem name='CloseRegex' action='CloseRegex'/><separator/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><separator/><toolitem name='Execute' action='Execute'/><toolitem name='clearAction' action='clearAction'/><separator/><toolitem name='cutAction' action='cutAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='pasteAction' action='pasteAction'/><separator/><toolitem name='Library' action='Library'/><separator/><toolitem name='preferencesAction1' action='preferencesAction1'/><toolitem name='aboutAction1' action='aboutAction1'/></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)(4)); 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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = -1; this.notebook1.ShowBorder = false; this.notebook1.Scrollable = true; this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w4.Position = 2; // 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.expander3 = new global::Gtk.Expander(null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; // Container child expander3.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.IgnoreCase = new global::Gtk.CheckButton(); this.IgnoreCase.TooltipMarkup = "Die Groß- und Kleinschreibung Ihres Ausdrucks wird ignoriert.\nBeispiel: \"test\" trifft auch auf \"TEST\" zu."; this.IgnoreCase.CanFocus = true; this.IgnoreCase.Name = "IgnoreCase"; this.IgnoreCase.Label = global::Mono.Unix.Catalog.GetString("Groß- /Kleinschreibung ignorieren."); this.IgnoreCase.DrawIndicator = true; this.IgnoreCase.UseUnderline = true; this.vbox3.Add(this.IgnoreCase); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnoreCase])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ExplicitCapture = new global::Gtk.CheckButton(); this.ExplicitCapture.TooltipMarkup = "Die Datenquelle muss genau auf den Ausdruck übereinstimmen."; this.ExplicitCapture.CanFocus = true; this.ExplicitCapture.Name = "ExplicitCapture"; this.ExplicitCapture.Label = global::Mono.Unix.Catalog.GetString("Explicit Capture"); this.ExplicitCapture.DrawIndicator = true; this.ExplicitCapture.UseUnderline = true; this.vbox3.Add(this.ExplicitCapture); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ExplicitCapture])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.IgnorePatternWhitespace = new global::Gtk.CheckButton(); this.IgnorePatternWhitespace.TooltipMarkup = "Leerzeichen werden im Ausdruck/ Datenquelle ignoriert."; this.IgnorePatternWhitespace.CanFocus = true; this.IgnorePatternWhitespace.Name = "IgnorePatternWhitespace"; this.IgnorePatternWhitespace.Label = global::Mono.Unix.Catalog.GetString("Leerzeichen ignorieren"); this.IgnorePatternWhitespace.DrawIndicator = true; this.IgnorePatternWhitespace.UseUnderline = true; this.vbox3.Add(this.IgnorePatternWhitespace); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnorePatternWhitespace])); w7.Position = 2; w7.Expand = false; w7.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.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Alle Ergebnisse anzeigen")); this.radiobutton1.TooltipMarkup = "Alle aus dem Ausdruck resultierenden Ergebnisse anzeigen"; this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.hbox1.Add(this.radiobutton1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton1])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Nur nicht gruppierte Ergebnisse")); this.radiobutton2.TooltipMarkup = "Nur Ergebnisse präsentieren, die nicht in eine Gruppe eingeordnet sind."; this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.hbox1.Add(this.radiobutton2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton2])); w9.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Nur Gruppen")); this.radiobutton3.TooltipMarkup = "Nur Ergebnisse einblenden, die aus Gruppen resultieren."; this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.hbox1.Add(this.radiobutton3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton3])); w10.Position = 2; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w11.Position = 4; w11.Expand = false; w11.Fill = false; this.expander3.Add(this.vbox3); this.GtkLabel26 = new global::Gtk.Label(); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString("Verarbeitungsoptionen"); this.GtkLabel26.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel26; this.vbox2.Add(this.expander3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander3])); w13.Position = 0; w13.Expand = false; // 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Output = new global::Gtk.TextView(); this.Output.HeightRequest = 111; this.Output.CanFocus = true; this.Output.Name = "Output"; this.Output.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add(this.Output); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel27 = new global::Gtk.Label(); this.GtkLabel27.Name = "GtkLabel27"; this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnis(se)"); this.GtkLabel27.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel27; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w16.Position = 1; w16.Expand = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cStatusLabele = new global::Gtk.Label(); this.cStatusLabele.Name = "cStatusLabele"; this.cStatusLabele.Xpad = 3; this.cStatusLabele.Xalign = 0F; this.vbox1.Add(this.cStatusLabele); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cStatusLabele])); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 935; this.DefaultHeight = 500; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.OnNewActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.SaveRegex.Activated += new global::System.EventHandler(this.OnSaveAction1Activated); this.CloseRegex.Activated += new global::System.EventHandler(this.OnCloseAction1Activated); this.SaveRegexOtherFileName.Activated += new global::System.EventHandler(this.OnSaveAsAction1Activated); this.OpenRegex.Activated += new global::System.EventHandler(this.OnOpenAction1Activated); this.undoAction.Activated += new global::System.EventHandler(this.OnUndoActionActivated); this.redoAction.Activated += new global::System.EventHandler(this.OnRedoActionActivated); this.Execute.Activated += new global::System.EventHandler(this.OnExecuteActionActivated); this.clearAction.Activated += new global::System.EventHandler(this.OnClearActionActivated); this.cutAction1.Activated += new global::System.EventHandler(this.OnCutAction1Activated); this.copyAction1.Activated += new global::System.EventHandler(this.OnCopyAction1Activated); this.pasteAction1.Activated += new global::System.EventHandler(this.OnPasteAction1Activated); this.cancelAction.Activated += new global::System.EventHandler(this.OnCancelActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.selectAllAction.Activated += new global::System.EventHandler(this.OnSelectAllActionActivated); this.spellCheckAction.Activated += new global::System.EventHandler(this.OnSpellCheckActionActivated); this.NurTextTxtAction.Activated += new global::System.EventHandler(this.OnNurTextTxtActionActivated); this.HypertextHtmlAction.Activated += new global::System.EventHandler(this.OnHypertextHtmlActionActivated); this.KommaGetrenntCsvAction.Activated += new global::System.EventHandler(this.OnKommaGetrenntCsvActionActivated); this.preferencesAction1.Activated += new global::System.EventHandler(this.OnPreferencesAction1Activated); this.connectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); this.saveAsAction2.Activated += new global::System.EventHandler(this.OnSaveAsAction2Activated); this.printAction.Activated += new global::System.EventHandler(this.OnPrintActionActivated); this.selectFontAction.Activated += new global::System.EventHandler(this.OnSelectFontActionActivated); this.restore.Activated += new global::System.EventHandler(this.OnRestoreActivated); this.quitAction1.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.notebook1.SelectPage += new global::Gtk.SelectPageHandler(this.OnNotebook1SelectPage); }
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.LoadScoreCardAction = new global::Gtk.Action("LoadScoreCardAction", "Load ScoreCard", null, null); this.LoadScoreCardAction.ShortLabel = "Load ScoreCard"; w1.Add(this.LoadScoreCardAction, null); this.SaveScoreCardAction = new global::Gtk.Action("SaveScoreCardAction", "Save ScoreCard", null, null); this.SaveScoreCardAction.Sensitive = false; this.SaveScoreCardAction.ShortLabel = "Save ScoreCard"; w1.Add(this.SaveScoreCardAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add(this.ExitAction, 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, null); this.AboutAction.ShortLabel = "About"; w1.Add(this.AboutAction, null); this.NewScoreCardAction = new global::Gtk.Action("NewScoreCardAction", "New ScoreCard", null, null); this.NewScoreCardAction.ShortLabel = "New ScoreCard"; w1.Add(this.NewScoreCardAction, "<Primary>n"); this.DeleteScoreCardAction = new global::Gtk.Action("DeleteScoreCardAction", "Delete ScoreCard", null, null); this.DeleteScoreCardAction.ShortLabel = "Delete ScoreCard"; this.DeleteScoreCardAction.Visible = false; w1.Add(this.DeleteScoreCardAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 455; this.Name = "MainWindow"; this.Title = "Combat Sports ScoreCard Keeper"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.hboxMenu = new global::Gtk.HBox(); this.hboxMenu.Name = "hboxMenu"; this.hboxMenu.Spacing = 6; // Container child hboxMenu.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar'><menu name='FileAction' action='FileAction'><menuitem name='NewScoreCardAction' action='NewScoreCardAction'/><menuitem name='DeleteScoreCardAction' action='DeleteScoreCardAction'/><menuitem name='LoadScoreCardAction' action='LoadScoreCardAction'/><menuitem name='SaveScoreCardAction' action='SaveScoreCardAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar"))); this.menubar.Name = "menubar"; this.hboxMenu.Add(this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxMenu[this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; w2.Padding = ((uint)(5)); this.vbox1.Add(this.hboxMenu); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxMenu])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // 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 w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hboxFightDateHeader = new global::Gtk.HBox(); this.hboxFightDateHeader.Name = "hboxFightDateHeader"; this.hboxFightDateHeader.Spacing = 6; // Container child hboxFightDateHeader.Gtk.Box+BoxChild this.lblFighter1Name = new global::Gtk.Label(); this.lblFighter1Name.Name = "lblFighter1Name"; this.lblFighter1Name.LabelProp = "Fighter 1"; this.lblFighter1Name.UseMarkup = true; this.lblFighter1Name.UseUnderline = true; this.hboxFightDateHeader.Add(this.lblFighter1Name); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hboxFightDateHeader[this.lblFighter1Name])); w5.Position = 0; // Container child hboxFightDateHeader.Gtk.Box+BoxChild this.frameDate = new global::Gtk.Frame(); this.frameDate.Name = "frameDate"; // Container child frameDate.Gtk.Container+ContainerChild this.GtkAlignmentDate = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignmentDate.Name = "GtkAlignmentDate"; this.GtkAlignmentDate.LeftPadding = ((uint)(12)); // Container child GtkAlignmentDate.Gtk.Container+ContainerChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.LabelProp = "MM-DD-YYYY"; this.GtkAlignmentDate.Add(this.labelDate); this.frameDate.Add(this.GtkAlignmentDate); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.Xpad = 113; this.GtkLabel3.LabelProp = "<b> Date </b>"; this.GtkLabel3.UseMarkup = true; this.GtkLabel3.Justify = ((global::Gtk.Justification)(2)); this.frameDate.LabelWidget = this.GtkLabel3; this.hboxFightDateHeader.Add(this.frameDate); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxFightDateHeader[this.frameDate])); w8.Position = 1; w8.Expand = false; w8.Fill = false; w8.Padding = ((uint)(5)); // Container child hboxFightDateHeader.Gtk.Box+BoxChild this.lblFighter2Name = new global::Gtk.Label(); this.lblFighter2Name.Name = "lblFighter2Name"; this.lblFighter2Name.LabelProp = "Fighter 2"; this.lblFighter2Name.UseUnderline = true; this.hboxFightDateHeader.Add(this.lblFighter2Name); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxFightDateHeader[this.lblFighter2Name])); w9.Position = 2; this.vbox1.Add(this.hboxFightDateHeader); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFightDateHeader])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox1.Add(this.hseparator2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator2])); w11.Position = 3; w11.Expand = false; w11.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 global::Gtk.Viewport w12 = new global::Gtk.Viewport(); w12.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.rdtable = new global::Gtk.Table(((uint)(1)), ((uint)(1)), false); this.rdtable.Name = "rdtable"; this.rdtable.RowSpacing = ((uint)(1)); w12.Add(this.rdtable); this.GtkScrolledWindow.Add(w12); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w15.Position = 4; // Container child vbox1.Gtk.Box+BoxChild this.frameTotalScore = new global::Gtk.Frame(); this.frameTotalScore.Name = "frameTotalScore"; this.frameTotalScore.BorderWidth = ((uint)(2)); // Container child frameTotalScore.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(4)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hpaneTotalScore = new global::Gtk.HPaned(); this.hpaneTotalScore.CanFocus = true; this.hpaneTotalScore.Name = "hpaneTotalScore"; this.hpaneTotalScore.Position = 219; this.hpaneTotalScore.BorderWidth = ((uint)(10)); // Container child hpaneTotalScore.Gtk.Paned+PanedChild this.labelTotalScore1 = new global::Gtk.Label(); this.labelTotalScore1.Name = "labelTotalScore1"; this.labelTotalScore1.LabelProp = "<span fgcolor=\"red\" size=\"x-large\" weight=\"heavy\" > 0 </span>"; this.labelTotalScore1.UseMarkup = true; this.labelTotalScore1.Wrap = true; this.hpaneTotalScore.Add(this.labelTotalScore1); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.hpaneTotalScore[this.labelTotalScore1])); w16.Resize = false; // Container child hpaneTotalScore.Gtk.Paned+PanedChild this.labelTotalScore2 = new global::Gtk.Label(); this.labelTotalScore2.Name = "labelTotalScore2"; this.labelTotalScore2.LabelProp = "<span fgcolor=\"blue\" size=\"x-large\" weight=\"heavy\" > 0 </span>"; this.labelTotalScore2.UseMarkup = true; this.hpaneTotalScore.Add(this.labelTotalScore2); this.GtkAlignment3.Add(this.hpaneTotalScore); this.frameTotalScore.Add(this.GtkAlignment3); this.GtkLabelScore = new global::Gtk.Label(); this.GtkLabelScore.Name = "GtkLabelScore"; this.GtkLabelScore.LabelProp = "<b> Score </b>"; this.GtkLabelScore.UseMarkup = true; this.GtkLabelScore.Justify = ((global::Gtk.Justification)(1)); this.frameTotalScore.LabelWidget = this.GtkLabelScore; this.vbox1.Add(this.frameTotalScore); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frameTotalScore])); w20.Position = 5; w20.Expand = false; w20.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrollwindowFightComment = new global::Gtk.ScrolledWindow(); this.scrollwindowFightComment.Name = "scrollwindowFightComment"; this.scrollwindowFightComment.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrollwindowFightComment.ShadowType = ((global::Gtk.ShadowType)(1)); this.scrollwindowFightComment.WindowPlacement = ((global::Gtk.CornerType)(3)); // Container child scrollwindowFightComment.Gtk.Container+ContainerChild this.textviewFightComment = new global::Gtk.TextView(); this.textviewFightComment.HeightRequest = 80; this.textviewFightComment.CanFocus = true; this.textviewFightComment.Name = "textviewFightComment"; this.textviewFightComment.Justification = ((global::Gtk.Justification)(2)); this.textviewFightComment.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrollwindowFightComment.Add(this.textviewFightComment); this.vbox1.Add(this.scrollwindowFightComment); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scrollwindowFightComment])); w22.Position = 6; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbarFooter = new global::Gtk.Statusbar(); this.statusbarFooter.Name = "statusbarFooter"; this.statusbarFooter.Spacing = 6; // Container child statusbarFooter.Gtk.Box+BoxChild this.labelScoreCardID = new global::Gtk.Label(); this.labelScoreCardID.Name = "labelScoreCardID"; this.labelScoreCardID.LabelProp = "ID: "; this.statusbarFooter.Add(this.labelScoreCardID); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.statusbarFooter[this.labelScoreCardID])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child statusbarFooter.Gtk.Box+BoxChild this.entryScoreCardName = new global::Gtk.Entry(); this.entryScoreCardName.CanFocus = true; this.entryScoreCardName.Name = "entryScoreCardName"; this.entryScoreCardName.Text = "Fighter 1 vs Fighter 2"; this.entryScoreCardName.IsEditable = true; this.entryScoreCardName.WidthChars = 3; this.entryScoreCardName.InvisibleChar = '•'; this.statusbarFooter.Add(this.entryScoreCardName); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.statusbarFooter[this.entryScoreCardName])); w24.Position = 1; this.vbox1.Add(this.statusbarFooter); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbarFooter])); w25.Position = 7; w25.Expand = false; w25.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 492; this.DefaultHeight = 556; this.GtkScrolledWindow.Hide(); this.frameTotalScore.Hide(); this.textviewFightComment.Hide(); this.statusbarFooter.Hide(); this.Show(); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler(this.OnExit); this.NewScoreCardAction.Activated += new global::System.EventHandler(this.OnNewScoreCardActionActivated); this.DeleteScoreCardAction.Activated += new global::System.EventHandler(this.OnDeleteScoreCardActionActivated); }
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, "<Primary>m"); this.CategoriesTemplatesManagerAction = new global::Gtk.Action("CategoriesTemplatesManagerAction", global::Mono.Unix.Catalog.GetString("Analysis Dashboards Manager"), null, null); this.CategoriesTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Dashboards Manager"); w1.Add(this.CategoriesTemplatesManagerAction, "<Primary>d"); 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, "<Primary>f"); 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 Manager"), null, null); this.TeamsTemplatesManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Teams Manager"); w1.Add(this.TeamsTemplatesManagerAction, "<Primary>t"); 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.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, "<Primary>i"); 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.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.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, "<Primary>b"); 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, "<Primary>p"); 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, "<Primary>h"); this.MigrationToolAction = new global::Gtk.Action("MigrationToolAction", global::Mono.Unix.Catalog.GetString("Migration Tool"), null, null); this.MigrationToolAction.ShortLabel = global::Mono.Unix.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::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"; // 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='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'/><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; // Container child centralbox.Gtk.Box+BoxChild this.welcomepanel = new global::LongoMatch.Gui.Panel.WelcomePanel(); this.welcomepanel.Events = ((global::Gdk.EventMask)(256)); this.welcomepanel.Name = "welcomepanel"; this.centralbox.Add(this.welcomepanel); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.centralbox [this.welcomepanel])); w4.Position = 0; this.vbox1.Add(this.centralbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.centralbox])); w5.Position = 1; // Container child vbox1.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.vbox1.Add(this.renderingstatebar1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.renderingstatebar1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 938; this.DefaultHeight = 604; this.renderingstatebar1.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 MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.dndAction = new global::Gtk.Action("dndAction", global::Mono.Unix.Catalog.GetString("Arquivo"), null, "gtk-dnd"); this.dndAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Arquivo"); w1.Add(this.dndAction, null); this.newAction = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("Novo Arquivo"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New"); w1.Add(this.newAction, null); this.editAction = new global::Gtk.Action("editAction", global::Mono.Unix.Catalog.GetString("Abrir..."), null, "gtk-edit"); this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.editAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Salvar"), 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("Salvar Como..."), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as"); w1.Add(this.saveAsAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("Simulação"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Simulação"); w1.Add(this.mediaPlayAction, null); this.directoryAction = new global::Gtk.Action("directoryAction", global::Mono.Unix.Catalog.GetString("Exportar"), null, "gtk-directory"); this.directoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar"); w1.Add(this.directoryAction, null); this.PNGAction = new global::Gtk.Action("PNGAction", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction, null); this.SVGAction = new global::Gtk.Action("SVGAction", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction, null); this.LogLogAction = new global::Gtk.Action("LogLogAction", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null); this.LogLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".json"); w1.Add(this.LogLogAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Fechar"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fechar"); w1.Add(this.quitAction, null); this.LogTxtAction = new global::Gtk.Action("LogTxtAction", global::Mono.Unix.Catalog.GetString("Log: .txt"), null, null); this.LogTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .txt"); w1.Add(this.LogTxtAction, null); this.orientationPortraitAction = new global::Gtk.Action("orientationPortraitAction", global::Mono.Unix.Catalog.GetString("Importar"), null, "gtk-orientation-portrait"); this.orientationPortraitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar"); w1.Add(this.orientationPortraitAction, null); this.LogLogAction1 = new global::Gtk.Action("LogLogAction1", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null); this.LogLogAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .json"); w1.Add(this.LogLogAction1, null); this.CompatibilidadeAction = new global::Gtk.Action("CompatibilidadeAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, null); this.CompatibilidadeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade"); w1.Add(this.CompatibilidadeAction, null); this.TxtParaJsonAction = new global::Gtk.Action("TxtParaJsonAction", global::Mono.Unix.Catalog.GetString(".txt para .json"), null, null); this.TxtParaJsonAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".txt para .json"); w1.Add(this.TxtParaJsonAction, null); this.findAndReplaceAction = new global::Gtk.Action("findAndReplaceAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, "gtk-find-and-replace"); this.findAndReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade"); w1.Add(this.findAndReplaceAction, null); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("TXT para PRB"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TXT para PRB"); w1.Add(this.convertAction, null); this.FCFSAction = new global::Gtk.Action("FCFSAction", global::Mono.Unix.Catalog.GetString("FCFS"), null, null); this.FCFSAction.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS"); w1.Add(this.FCFSAction, null); this.PNGAction1 = new global::Gtk.Action("PNGAction1", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction1, null); this.SVGAction1 = new global::Gtk.Action("SVGAction1", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction1, null); this.FCFSAction1 = new global::Gtk.Action("FCFSAction1", global::Mono.Unix.Catalog.GetString("FCFS"), null, null); this.FCFSAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS"); w1.Add(this.FCFSAction1, null); this.SJFAction = new global::Gtk.Action("SJFAction", global::Mono.Unix.Catalog.GetString("SJF"), null, null); this.SJFAction.ShortLabel = global::Mono.Unix.Catalog.GetString("SJF"); w1.Add(this.SJFAction, null); this.RRAction = new global::Gtk.Action("RRAction", global::Mono.Unix.Catalog.GetString("RR"), null, null); this.RRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RR"); w1.Add(this.RRAction, null); this.PNGAction2 = new global::Gtk.Action("PNGAction2", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction2, null); this.SVGAction2 = new global::Gtk.Action("SVGAction2", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction2, null); this.PNGAction3 = new global::Gtk.Action("PNGAction3", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction3, null); this.SVGAction3 = new global::Gtk.Action("SVGAction3", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction3, null); this.PNGAction4 = new global::Gtk.Action("PNGAction4", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction4, null); this.SVGAction4 = new global::Gtk.Action("SVGAction4", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction4, null); this.TodosAction = new global::Gtk.Action("TodosAction", global::Mono.Unix.Catalog.GetString("Todos"), null, null); this.TodosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Todos"); w1.Add(this.TodosAction, null); this.PNGAction5 = new global::Gtk.Action("PNGAction5", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction5, null); this.SVGAction5 = new global::Gtk.Action("SVGAction5", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction5, null); this.BenchmarkAction = new global::Gtk.Action("BenchmarkAction", global::Mono.Unix.Catalog.GetString("Benchmark"), null, null); this.BenchmarkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Comparação"); w1.Add(this.BenchmarkAction, null); this.PNGAction6 = new global::Gtk.Action("PNGAction6", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction6, null); this.SVGAction6 = new global::Gtk.Action("SVGAction6", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction6, null); this.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Ajuda"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.dialogQuestionAction, null); this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Sobre"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sobre"); w1.Add(this.dialogInfoAction, null); this.AjudaAction1 = new global::Gtk.Action("AjudaAction1", global::Mono.Unix.Catalog.GetString("Ajuda"), null, null); this.AjudaAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.AjudaAction1, null); this.connectAction = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("Documentação"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.connectAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Scheduler#"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("SchedulerSharp.icon512.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 800; this.DefaultHeight = 600; // 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=\'dndAction\' action=\'dndAction\'><menuitem " + "name=\'newAction\' action=\'newAction\'/><menuitem name=\'editAction\' action=\'editAct" + "ion\'/><menuitem name=\'saveAction\' action=\'saveAction\'/><menuitem name=\'saveAsAct" + "ion\' action=\'saveAsAction\'/><menuitem name=\'quitAction\' action=\'quitAction\'/></m" + "enu><menu name=\'mediaPlayAction\' action=\'mediaPlayAction\'><menu name=\'directoryA" + "ction\' action=\'directoryAction\'><menu name=\'FCFSAction1\' action=\'FCFSAction1\'><m" + "enuitem name=\'PNGAction2\' action=\'PNGAction2\'/><menuitem name=\'SVGAction2\' actio" + "n=\'SVGAction2\'/></menu><menu name=\'SJFAction\' action=\'SJFAction\'><menuitem name=" + "\'PNGAction3\' action=\'PNGAction3\'/><menuitem name=\'SVGAction3\' action=\'SVGAction3" + "\'/></menu><menu name=\'RRAction\' action=\'RRAction\'><menuitem name=\'PNGAction4\' ac" + "tion=\'PNGAction4\'/><menuitem name=\'SVGAction4\' action=\'SVGAction4\'/></menu><menu" + " name=\'BenchmarkAction\' action=\'BenchmarkAction\'><menuitem name=\'PNGAction6\' act" + "ion=\'PNGAction6\'/><menuitem name=\'SVGAction6\' action=\'SVGAction6\'/></menu><menu " + "name=\'TodosAction\' action=\'TodosAction\'><menuitem name=\'PNGAction5\' action=\'PNGA" + "ction5\'/><menuitem name=\'SVGAction5\' action=\'SVGAction5\'/></menu><menuitem name=" + "\'LogLogAction\' action=\'LogLogAction\'/><menuitem name=\'LogTxtAction\' action=\'LogT" + "xtAction\'/></menu><menu name=\'orientationPortraitAction\' action=\'orientationPort" + "raitAction\'><menuitem name=\'LogLogAction1\' action=\'LogLogAction1\'/></menu></menu" + "><menu name=\'findAndReplaceAction\' action=\'findAndReplaceAction\'><menuitem name=" + "\'convertAction\' action=\'convertAction\'/></menu><menu name=\'dialogQuestionAction\'" + " action=\'dialogQuestionAction\'><menuitem name=\'connectAction\' action=\'connectAct" + "ion\'/><menuitem name=\'dialogInfoAction\' action=\'dialogInfoAction\'/></menu></menu" + "bar></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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.simulatorBox = new global::Gtk.VBox(); this.simulatorBox.Name = "simulatorBox"; this.simulatorBox.Spacing = 6; // Container child simulatorBox.Gtk.Box+BoxChild this.menuBox = new global::Gtk.HBox(); this.menuBox.Name = "menuBox"; this.menuBox.Spacing = 6; // Container child menuBox.Gtk.Box+BoxChild this.SchedulerCombobox = global::Gtk.ComboBox.NewText(); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("FCFS")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("SJF")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("RR")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("Benchmark")); this.SchedulerCombobox.WidthRequest = 160; this.SchedulerCombobox.Name = "SchedulerCombobox"; this.SchedulerCombobox.Active = 0; this.menuBox.Add(this.SchedulerCombobox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.SchedulerCombobox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child menuBox.Gtk.Box+BoxChild this.directoryEntry = global::Gtk.ComboBox.NewText(); this.directoryEntry.Name = "directoryEntry"; this.menuBox.Add(this.directoryEntry); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.directoryEntry])); w4.Position = 1; this.simulatorBox.Add(this.menuBox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.menuBox])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.quantumBox = new global::Gtk.HBox(); this.quantumBox.Name = "quantumBox"; this.quantumBox.Spacing = 6; // Container child quantumBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Quantum"); this.label1.Justify = ((global::Gtk.Justification)(2)); this.quantumBox.Add(this.label1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.label1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child quantumBox.Gtk.Box+BoxChild this.quantumScale = new global::Gtk.HScale(null); this.quantumScale.CanFocus = true; this.quantumScale.Name = "quantumScale"; this.quantumScale.Adjustment.Lower = 1D; this.quantumScale.Adjustment.Upper = 100D; this.quantumScale.Adjustment.PageIncrement = 10D; this.quantumScale.Adjustment.StepIncrement = 1D; this.quantumScale.Adjustment.Value = 1D; this.quantumScale.DrawValue = true; this.quantumScale.Digits = 0; this.quantumScale.ValuePos = ((global::Gtk.PositionType)(1)); this.quantumBox.Add(this.quantumScale); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.quantumScale])); w7.Position = 1; this.simulatorBox.Add(this.quantumBox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.quantumBox])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.plotBox = new global::Gtk.HPaned(); this.plotBox.CanFocus = true; this.plotBox.Name = "plotBox"; this.plotBox.Position = 328; this.simulatorBox.Add(this.plotBox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.plotBox])); w9.Position = 2; // Container child simulatorBox.Gtk.Box+BoxChild this.mediaBox = new global::Gtk.HBox(); this.mediaBox.Name = "mediaBox"; this.mediaBox.Spacing = 6; // Container child mediaBox.Gtk.Box+BoxChild this.previewButton = new global::Gtk.Button(); this.previewButton.CanFocus = true; this.previewButton.Name = "previewButton"; this.previewButton.UseUnderline = true; this.previewButton.Label = global::Mono.Unix.Catalog.GetString("Retroceder"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", global::Gtk.IconSize.Button); this.previewButton.Image = w10; this.mediaBox.Add(this.previewButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.previewButton])); w11.Position = 0; // Container child mediaBox.Gtk.Box+BoxChild this.pauseButton = new global::Gtk.Button(); this.pauseButton.CanFocus = true; this.pauseButton.Name = "pauseButton"; this.pauseButton.UseUnderline = true; this.pauseButton.Label = global::Mono.Unix.Catalog.GetString("Pausar/Continuar"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Button); this.pauseButton.Image = w12; this.mediaBox.Add(this.pauseButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.pauseButton])); w13.Position = 1; // Container child mediaBox.Gtk.Box+BoxChild this.playButton = new global::Gtk.Button(); this.playButton.CanFocus = true; this.playButton.Name = "playButton"; this.playButton.UseUnderline = true; this.playButton.Label = global::Mono.Unix.Catalog.GetString("Iniciar"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Button); this.playButton.Image = w14; this.mediaBox.Add(this.playButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.playButton])); w15.Position = 2; // Container child mediaBox.Gtk.Box+BoxChild this.nextButton = new global::Gtk.Button(); this.nextButton.CanFocus = true; this.nextButton.Name = "nextButton"; this.nextButton.UseUnderline = true; this.nextButton.Label = global::Mono.Unix.Catalog.GetString("Avançar"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-next", global::Gtk.IconSize.Button); this.nextButton.Image = w16; this.mediaBox.Add(this.nextButton); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.nextButton])); w17.Position = 3; this.simulatorBox.Add(this.mediaBox); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.mediaBox])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.progressFCFS = new global::Gtk.ProgressBar(); this.progressFCFS.Name = "progressFCFS"; this.progressFCFS.Text = global::Mono.Unix.Catalog.GetString("FCFS"); this.hbox1.Add(this.progressFCFS); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressFCFS])); w19.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.progressSJF = new global::Gtk.ProgressBar(); this.progressSJF.Name = "progressSJF"; this.progressSJF.Text = global::Mono.Unix.Catalog.GetString("SJF"); this.hbox1.Add(this.progressSJF); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressSJF])); w20.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.progressRR = new global::Gtk.ProgressBar(); this.progressRR.Name = "progressRR"; this.progressRR.Text = global::Mono.Unix.Catalog.GetString("RR"); this.hbox1.Add(this.progressRR); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressRR])); w21.Position = 2; this.simulatorBox.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.hbox1])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 4; w22.Expand = false; w22.Fill = false; this.notebook1.Add(this.simulatorBox); // Notebook tab this.simuPageText = new global::Gtk.Label(); this.simuPageText.Name = "simuPageText"; this.simuPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Simulação"); this.notebook1.SetTabLabel(this.simulatorBox, this.simuPageText); this.simuPageText.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.creatorBox = new global::Gtk.VBox(); this.creatorBox.Name = "creatorBox"; this.creatorBox.Spacing = 6; // Container child creatorBox.Gtk.Box+BoxChild this.cMenuBox = new global::Gtk.HBox(); this.cMenuBox.Name = "cMenuBox"; this.cMenuBox.Spacing = 6; // Container child cMenuBox.Gtk.Box+BoxChild this.dirCreatorEntry = global::Gtk.ComboBox.NewText(); this.dirCreatorEntry.Name = "dirCreatorEntry"; this.cMenuBox.Add(this.dirCreatorEntry); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.cMenuBox[this.dirCreatorEntry])); w24.Position = 0; this.creatorBox.Add(this.cMenuBox); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.cMenuBox])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child creatorBox.Gtk.Box+BoxChild this.scrolledWindow = new global::Gtk.ScrolledWindow(); this.scrolledWindow.CanFocus = true; this.scrolledWindow.Name = "scrolledWindow"; this.scrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.creatorBox.Add(this.scrolledWindow); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.scrolledWindow])); w26.Position = 1; // Container child creatorBox.Gtk.Box+BoxChild this.settingsBox = new global::Gtk.HBox(); this.settingsBox.Name = "settingsBox"; this.settingsBox.Spacing = 6; // Container child settingsBox.Gtk.Box+BoxChild this.addCreatorButton = new global::Gtk.Button(); this.addCreatorButton.CanFocus = true; this.addCreatorButton.Name = "addCreatorButton"; this.addCreatorButton.UseUnderline = true; this.addCreatorButton.Label = global::Mono.Unix.Catalog.GetString("Adicionar"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Button); this.addCreatorButton.Image = w27; this.settingsBox.Add(this.addCreatorButton); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.addCreatorButton])); w28.Position = 0; // Container child settingsBox.Gtk.Box+BoxChild this.removeCreatorButton = new global::Gtk.Button(); this.removeCreatorButton.CanFocus = true; this.removeCreatorButton.Name = "removeCreatorButton"; this.removeCreatorButton.UseUnderline = true; this.removeCreatorButton.Label = global::Mono.Unix.Catalog.GetString("Remover"); global::Gtk.Image w29 = new global::Gtk.Image(); w29.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_delete", global::Gtk.IconSize.Button); this.removeCreatorButton.Image = w29; this.settingsBox.Add(this.removeCreatorButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.removeCreatorButton])); w30.Position = 1; this.creatorBox.Add(this.settingsBox); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.settingsBox])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.notebook1.Add(this.creatorBox); global::Gtk.Notebook.NotebookChild w32 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.creatorBox])); w32.Position = 1; // Notebook tab this.creationPageText = new global::Gtk.Label(); this.creationPageText.Name = "creationPageText"; this.creationPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Criação"); this.notebook1.SetTabLabel(this.creatorBox, this.creationPageText); this.creationPageText.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w33.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.NewEvent); this.editAction.Activated += new global::System.EventHandler(this.EditButtonEvent); this.saveAction.Activated += new global::System.EventHandler(this.SaveEvent); this.saveAsAction.Activated += new global::System.EventHandler(this.SaveAsEvent); this.LogLogAction.Activated += new global::System.EventHandler(this.LogJsonEvent); this.quitAction.Activated += new global::System.EventHandler(this.CloseEvent); this.LogTxtAction.Activated += new global::System.EventHandler(this.LogTxtEvent); this.LogLogAction1.Activated += new global::System.EventHandler(this.OnOpenLogJson); this.convertAction.Activated += new global::System.EventHandler(this.TxtToPRBEvent); this.PNGAction2.Activated += new global::System.EventHandler(this.ExportFCFSPNG); this.SVGAction2.Activated += new global::System.EventHandler(this.ExportFCFSSVG); this.PNGAction3.Activated += new global::System.EventHandler(this.ExportSJFPNG); this.SVGAction3.Activated += new global::System.EventHandler(this.ExportSJFSVG); this.PNGAction4.Activated += new global::System.EventHandler(this.ExportRRPNG); this.SVGAction4.Activated += new global::System.EventHandler(this.ExportRRSVG); this.PNGAction5.Activated += new global::System.EventHandler(this.ExportALLPNG); this.SVGAction5.Activated += new global::System.EventHandler(this.ExportALLSVG); this.PNGAction6.Activated += new global::System.EventHandler(this.ExportComparePNG); this.SVGAction6.Activated += new global::System.EventHandler(this.ExportCompareSVG); this.dialogInfoAction.Activated += new global::System.EventHandler(this.AboutWindowOpen); this.connectAction.Activated += new global::System.EventHandler(this.HelpEvent); this.SchedulerCombobox.Changed += new global::System.EventHandler(this.OnSelectScheduler); this.directoryEntry.Changed += new global::System.EventHandler(this.OnChangeDirEntry); this.quantumScale.ValueChanged += new global::System.EventHandler(this.OnQuantumChange); this.previewButton.Clicked += new global::System.EventHandler(this.PreviewEvent); this.pauseButton.Clicked += new global::System.EventHandler(this.PauseEvent); this.playButton.Clicked += new global::System.EventHandler(this.PlayEvent); this.nextButton.Clicked += new global::System.EventHandler(this.NextEvent); this.dirCreatorEntry.Changed += new global::System.EventHandler(this.OnChangeDirEntry); this.addCreatorButton.Clicked += new global::System.EventHandler(this.AddCreationEvent); this.removeCreatorButton.Clicked += new global::System.EventHandler(this.RemoveCreationEvent); }
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.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.ExitAction1 = new global::Gtk.Action("ExitAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction1, 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=\'FileAction1\' action=\'FileAction1\'><menui" + "tem name=\'ExitAction1\' action=\'ExitAction1\'/></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.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // 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.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.WidthRequest = 400; this.filechooserwidget1.HeightRequest = 350; this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox6.Add(this.filechooserwidget1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.filechooserwidget1])); w3.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.CheckFile1 = new global::Gtk.Button(); this.CheckFile1.CanFocus = true; this.CheckFile1.Name = "CheckFile1"; this.CheckFile1.UseUnderline = true; this.CheckFile1.Label = global::Mono.Unix.Catalog.GetString("Check File .txt 1"); this.vbox6.Add(this.CheckFile1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.CheckFile1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox6.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.textview1 = new global::Gtk.TextView(); this.textview1.HeightRequest = 200; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow2.Add(this.textview1); this.vbox6.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow2])); w6.Position = 2; // Container child vbox6.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.btnRead1 = new global::Gtk.Button(); this.btnRead1.CanFocus = true; this.btnRead1.Name = "btnRead1"; this.btnRead1.UseUnderline = true; this.btnRead1.Label = global::Mono.Unix.Catalog.GetString("Read File 1"); this.vbox10.Add(this.btnRead1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.btnRead1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.vbox6.Add(this.vbox10); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.vbox10])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.hbox3.Add(this.vbox6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox6])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.WidthRequest = 400; this.filechooserwidget2.HeightRequest = 350; this.filechooserwidget2.Name = "filechooserwidget2"; this.vbox8.Add(this.filechooserwidget2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.filechooserwidget2])); w10.Position = 0; // Container child vbox8.Gtk.Box+BoxChild this.CheckFile2 = new global::Gtk.Button(); this.CheckFile2.CanFocus = true; this.CheckFile2.Name = "CheckFile2"; this.CheckFile2.UseUnderline = true; this.CheckFile2.Label = global::Mono.Unix.Catalog.GetString("Check File .txt 2"); this.vbox8.Add(this.CheckFile2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.CheckFile2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.HeightRequest = 200; this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.GtkScrolledWindow5.Add(this.textview2); this.vbox8.Add(this.GtkScrolledWindow5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.GtkScrolledWindow5])); w13.Position = 2; // Container child vbox8.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.btnRead2 = new global::Gtk.Button(); this.btnRead2.CanFocus = true; this.btnRead2.Name = "btnRead2"; this.btnRead2.UseUnderline = true; this.btnRead2.Label = global::Mono.Unix.Catalog.GetString("Read File 2"); this.vbox11.Add(this.btnRead2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.btnRead2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.vbox8.Add(this.vbox11); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox11])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.hbox3.Add(this.vbox8); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox8])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox15 = new global::Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.Spacing = 6; // Container child vbox15.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Logs:"); this.vbox15.Add(this.label1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.label1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView(); this.textview3.WidthRequest = 400; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.textview3.Editable = false; this.GtkScrolledWindow6.Add(this.textview3); this.vbox15.Add(this.GtkScrolledWindow6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.GtkScrolledWindow6])); w19.Position = 1; // Container child vbox15.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.vbox3.Add(this.image1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.image1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; this.vbox15.Add(this.vbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.vbox3])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.hbox3.Add(this.vbox15); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox15])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox4.Add(this.hbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w23.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Batas Waktu :"); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox1.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.hbox1.Add(this.entry1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entry1])); w25.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("Solve"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox4.Add(this.hbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox4])); w28.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 800; // 1225; this.DefaultHeight = 600; // 932; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ExitAction1.Activated += new global::System.EventHandler(this.exit); this.CheckFile1.Pressed += new global::System.EventHandler(this.Check1); this.btnRead1.Pressed += new global::System.EventHandler(this.Read1); this.CheckFile2.Pressed += new global::System.EventHandler(this.Check2); this.btnRead2.Pressed += new global::System.EventHandler(this.Read2); this.button1.Pressed += new global::System.EventHandler(this.Solve); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget main 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.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.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.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", 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.quitAction = new global::Gtk.Action("quitAction", null, null, "gtk-quit"); w1.Add(this.quitAction, null); this.printAction = new global::Gtk.Action("printAction", null, null, "gtk-print"); w1.Add(this.printAction, null); this.undoAction = new global::Gtk.Action("undoAction", null, null, "gtk-undo"); w1.Add(this.undoAction, null); this.redoAction = new global::Gtk.Action("redoAction", null, null, "gtk-redo"); w1.Add(this.redoAction, null); this.preferencesAction = new global::Gtk.Action("preferencesAction", null, null, "gtk-preferences"); w1.Add(this.preferencesAction, null); this.newAction1 = new global::Gtk.Action("newAction1", global::Mono.Unix.Catalog.GetString("new"), null, "gtk-new"); this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("new"); w1.Add(this.newAction1, null); this.openAction1 = new global::Gtk.Action("openAction1", global::Mono.Unix.Catalog.GetString("open"), null, "gtk-open"); this.openAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("open"); w1.Add(this.openAction1, null); this.saveAction1 = new global::Gtk.Action("saveAction1", global::Mono.Unix.Catalog.GetString("save"), null, "gtk-save"); this.saveAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("save"); w1.Add(this.saveAction1, 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.printAction1 = new global::Gtk.Action("printAction1", global::Mono.Unix.Catalog.GetString("print"), null, "gtk-print"); this.printAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("print"); w1.Add(this.printAction1, "<Primary><Mod2>p"); this.dndAction = new global::Gtk.Action("dndAction", global::Mono.Unix.Catalog.GetString("properties"), null, "gtk-dnd"); this.dndAction.ShortLabel = global::Mono.Unix.Catalog.GetString("properties"); w1.Add(this.dndAction, null); this.deleteAction = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("close"), null, "gtk-delete"); this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("close"); w1.Add(this.deleteAction, "<Primary><Mod2>w"); 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.undoAction1 = new global::Gtk.Action("undoAction1", global::Mono.Unix.Catalog.GetString("undo"), null, null); this.undoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("undo"); w1.Add(this.undoAction1, "<Primary><Mod2>z"); this.redoAction1 = new global::Gtk.Action("redoAction1", global::Mono.Unix.Catalog.GetString("redo"), null, null); this.redoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("redo"); w1.Add(this.redoAction1, "<Primary><Mod2>y"); this.formatAction = new global::Gtk.Action("formatAction", global::Mono.Unix.Catalog.GetString("format"), null, null); this.formatAction.ShortLabel = global::Mono.Unix.Catalog.GetString("format"); w1.Add(this.formatAction, null); this.helpAction1 = new global::Gtk.Action("helpAction1", global::Mono.Unix.Catalog.GetString("contents"), null, "gtk-help"); this.helpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("contents"); w1.Add(this.helpAction1, null); this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("about"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("about"); w1.Add(this.dialogInfoAction, null); this.syntaxAction = new global::Gtk.Action("syntaxAction", global::Mono.Unix.Catalog.GetString("syntax"), null, null); this.syntaxAction.ShortLabel = global::Mono.Unix.Catalog.GetString("syntax"); w1.Add(this.syntaxAction, null); this.colorsAction = new global::Gtk.Action("colorsAction", global::Mono.Unix.Catalog.GetString("colors"), null, null); this.colorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("colors"); w1.Add(this.colorsAction, null); this.notesAction = new global::Gtk.Action("notesAction", global::Mono.Unix.Catalog.GetString("notes"), null, null); this.notesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("notes"); w1.Add(this.notesAction, 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.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.preferencesAction1 = new global::Gtk.Action("preferencesAction1", global::Mono.Unix.Catalog.GetString("preferences"), null, "gtk-preferences"); this.preferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("preferences"); w1.Add(this.preferencesAction1, null); this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close"); w1.Add(this.closeAction, null); this.fontsAction = new global::Gtk.Action("fontsAction", global::Mono.Unix.Catalog.GetString("fonts"), null, null); this.fontsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("fonts"); w1.Add(this.fontsAction, null); this.runAction = new global::Gtk.Action("runAction", global::Mono.Unix.Catalog.GetString("run"), null, null); this.runAction.ShortLabel = global::Mono.Unix.Catalog.GetString("run"); w1.Add(this.runAction, null); this.saveAsAction1 = new global::Gtk.Action("saveAsAction1", null, null, "gtk-save-as"); w1.Add(this.saveAsAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "main"; this.Title = global::Mono.Unix.Catalog.GetString("Unified Text Editor Lite"); this.WindowPosition = ((global::Gtk.WindowPosition)(2)); this.AllowShrink = true; this.DefaultWidth = 640; this.DefaultHeight = 480; this.Gravity = ((global::Gdk.Gravity)(5)); this.Role = "text editor"; // Container child main.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Events = ((global::Gdk.EventMask)(768)); this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 24; // Container child vpaned1.Gtk.Paned+PanedChild this.UIManager.AddUiFromString("<ui><menubar name='menu'><menu name='fileAction' action='fileAction'><menuitem name='newAction1' action='newAction1'/><menuitem name='openAction1' action='openAction1'/><menuitem name='saveAction1' action='saveAction1'/><menuitem name='deleteAction' action='deleteAction'/><menuitem name='printAction1' action='printAction1'/><menuitem name='dndAction' action='dndAction'/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='editAction' action='editAction'><menuitem name='undoAction1' action='undoAction1'/><menuitem name='redoAction1' action='redoAction1'/><menuitem name='preferencesAction1' action='preferencesAction1'/></menu><menu name='toolsAction' action='toolsAction'><menuitem name='runAction' action='runAction'/><menuitem name='buildAction' action='buildAction'/><menuitem name='cleanAction' action='cleanAction'/></menu><menu name='helpAction' action='helpAction'><menuitem name='helpAction1' action='helpAction1'/><menuitem name='dialogInfoAction' action='dialogInfoAction'/></menu></menubar></ui>"); this.menu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menu"))); this.menu.Name = "menu"; this.vpaned1.Add(this.menu); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.menu])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Events = ((global::Gdk.EventMask)(768)); this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 32; // Container child vpaned2.Gtk.Paned+PanedChild this.UIManager.AddUiFromString("<ui><toolbar name='tools'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='closeAction' action='closeAction'/><toolitem name='printAction' action='printAction'/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><toolitem name='preferencesAction' action='preferencesAction'/><toolitem name='quitAction' action='quitAction'/></toolbar></ui>"); this.tools = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/tools"))); this.tools.Name = "tools"; this.tools.ShowArrow = false; this.tools.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.tools.IconSize = ((global::Gtk.IconSize)(2)); this.vpaned2.Add(this.tools); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.tools])); w3.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 142; // Container child hpaned1.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.tree = new global::Gtk.TreeView(); this.tree.CanFocus = true; this.tree.Name = "tree"; this.tree.Reorderable = true; this.tree.SearchColumn = 0; this.GtkScrolledWindow.Add(this.tree); this.hpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook = new global::Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = -1; this.hpaned1.Add(this.notebook); this.vpaned2.Add(this.hpaned1); this.vpaned1.Add(this.vpaned2); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.SizeRequested += new global::Gtk.SizeRequestedHandler(this.winResize); this.DestroyEvent += new global::Gtk.DestroyEventHandler(this.OnDestroyEvent); this.Shown += new global::System.EventHandler(this.OnShown); this.FocusInEvent += new global::Gtk.FocusInEventHandler(this.OnFocusIn); this.StateChanged += new global::Gtk.StateChangedHandler(this.OnStateChanged); this.Hidden += new global::System.EventHandler(this.OnHidden); this.FocusOutEvent += new global::Gtk.FocusOutEventHandler(this.OnFocusOut); this.Focused += new global::Gtk.FocusedHandler(this.OnFocused); this.WindowStateEvent += new global::Gtk.WindowStateEventHandler(this.OnWindowStateChanged); this.FocusActivated += new global::System.EventHandler(this.OnFocusActivated); this.newAction.Activated += new global::System.EventHandler(this.newDoc); this.openAction.Activated += new global::System.EventHandler(this.openDoc); this.saveAction.Activated += new global::System.EventHandler(this.saveDoc); this.quitAction.Activated += new global::System.EventHandler(this.QUIT); this.printAction.Activated += new global::System.EventHandler(this.printDoc); this.undoAction.Activated += new global::System.EventHandler(this.undo); this.redoAction.Activated += new global::System.EventHandler(this.redo); this.newAction1.Activated += new global::System.EventHandler(this.newDoc); this.openAction1.Activated += new global::System.EventHandler(this.openDoc); this.saveAction1.Activated += new global::System.EventHandler(this.saveDoc); this.deleteAction.Activated += new global::System.EventHandler(this.closeDoc); this.quitAction1.Activated += new global::System.EventHandler(this.QUIT); this.undoAction1.Activated += new global::System.EventHandler(this.undo); this.redoAction1.Activated += new global::System.EventHandler(this.redo); this.dialogInfoAction.Activated += new global::System.EventHandler(this.aboutDialog); this.buildAction.Activated += new global::System.EventHandler(this.make); this.cleanAction.Activated += new global::System.EventHandler(this.make_clean); this.preferencesAction1.Activated += new global::System.EventHandler(this.changeFont); this.closeAction.Activated += new global::System.EventHandler(this.treeDel); this.fontsAction.Activated += new global::System.EventHandler(this.changeFont); this.runAction.Activated += new global::System.EventHandler(this.make_run); this.vpaned1.ToggleHandleFocus += new global::Gtk.ToggleHandleFocusHandler(this.OnToggleHandleFocus); this.vpaned2.ToggleHandleFocus += new global::Gtk.ToggleHandleFocusHandler(this.OnToggleHandleFocus); this.tree.RowActivated += new global::Gtk.RowActivatedHandler(this.treeOpen); this.tree.PopupMenu += new global::Gtk.PopupMenuHandler(this.treeDel); }
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 NXTCamView.Gtk.Windows.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.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.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.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.CheckAction = new global::Gtk.Action("CheckAction", global::Mono.Unix.Catalog.GetString("Check "), null, null); this.CheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check "); w1.Add(this.CheckAction, null); this.CaptureAction = new global::Gtk.Action("CaptureAction", global::Mono.Unix.Catalog.GetString("Capture"), global::Mono.Unix.Catalog.GetString("Capture and image from the camera"), null); this.CaptureAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Capture"); w1.Add(this.CaptureAction, null); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", null, null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save As"); w1.Add(this.saveAsAction, 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.ColorsAction = new global::Gtk.Action("ColorsAction", global::Mono.Unix.Catalog.GetString("Colors"), null, null); this.ColorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Colors"); w1.Add(this.ColorsAction, null); this.TrackingAction = new global::Gtk.Action("TrackingAction", global::Mono.Unix.Catalog.GetString("Tracking"), null, null); this.TrackingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tracking"); w1.Add(this.TrackingAction, null); this.PingAction = new global::Gtk.Action("PingAction", global::Mono.Unix.Catalog.GetString("Ping"), null, null); this.PingAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ping"); w1.Add(this.PingAction, null); this.connectAction = new global::Gtk.Action("connectAction", null, global::Mono.Unix.Catalog.GetString("Connect to NxtCam"), "gtk-connect"); w1.Add(this.connectAction, null); this.disconnectAction = new global::Gtk.Action("disconnectAction", null, global::Mono.Unix.Catalog.GetString("Disconnect from NxtCam"), "gtk-disconnect"); w1.Add(this.disconnectAction, 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"), global::Mono.Unix.Catalog.GetString("Open preferences"), "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences"); w1.Add(this.preferencesAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "NXTCamView.Gtk.Windows.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("NXTCamView for Linux"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "camera", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child NXTCamView.Gtk.Windows.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='connectAction' action='connectAction'/><menuitem name='disconnectAction' action='disconnectAction'/><separator/><menuitem name='CaptureAction' action='CaptureAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menu name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='ColorsAction' action='ColorsAction'/><menuitem name='TrackingAction' action='TrackingAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='PingAction' action='PingAction'/></menu><menu name='WindowAction' action='WindowAction'/><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.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='connectAction' action='connectAction'/><toolitem name='disconnectAction' action='disconnectAction'/><separator/><toolitem name='CaptureAction' action='CaptureAction'/><toolitem name='preferencesAction' action='preferencesAction'/></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.statusbar = new global::Gtk.Statusbar(); this.statusbar.Name = "statusbar"; this.statusbar.Spacing = 6; this.vbox1.Add(this.statusbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 541; this.DefaultHeight = 300; this.Show(); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.CaptureAction.Activated += new global::System.EventHandler(this.OnCaptureActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.connectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); this.disconnectAction.Activated += new global::System.EventHandler(this.OnDisconnectActionActivated); this.preferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget vocab.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.aboutAction1 = new global::Gtk.Action("aboutAction1", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.aboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.aboutAction1, 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.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.importAction = new global::Gtk.Action("importAction", global::Mono.Unix.Catalog.GetString("_Import"), null, "gtk-open"); this.importAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import"); w1.Add(this.importAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Import"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Import"); w1.Add(this.openAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "vocab.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Vocab"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child vocab.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='importAction' action='importAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction1' action='aboutAction1'/></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.placeholderwidget1 = new global::vocab.PlaceHolderWidget(); this.placeholderwidget1.Events = ((global::Gdk.EventMask)(256)); this.placeholderwidget1.Name = "placeholderwidget1"; this.vbox1.Add(this.placeholderwidget1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.placeholderwidget1])); w3.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.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); this.statusbar1.Add(this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.statusbar1[this.label3])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); 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 = 609; this.DefaultHeight = 560; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.aboutAction1.Activated += new global::System.EventHandler(this.OnAboutAction1Activated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitAction1Activated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.importAction.Activated += new global::System.EventHandler(this.OnImportActionActivated); }
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"); this.newAction.ShortLabel = ""; w1.Add (this.newAction, null); 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.ArticuloAction = new global::Gtk.Action ("ArticuloAction", global::Mono.Unix.Catalog.GetString ("Artículo"), null, null); this.ArticuloAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Artículo"); w1.Add (this.ArticuloAction, null); this.CategoriaAction = new global::Gtk.Action ("CategoriaAction", global::Mono.Unix.Catalog.GetString ("Categoría"), null, null); this.CategoriaAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Categoría"); w1.Add (this.CategoriaAction, 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='ArchivoAction' action='ArchivoAction'><menuitem name='ArticuloAction' action='ArticuloAction'/><menuitem name='CategoriaAction' action='CategoriaAction'/></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; this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w3.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.buttonCerrar = new global::Gtk.Button (); this.buttonCerrar.CanFocus = true; this.buttonCerrar.Name = "buttonCerrar"; this.buttonCerrar.UseUnderline = true; // Container child buttonCerrar.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox (); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w5.Add (w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label (); w8.LabelProp = global::Mono.Unix.Catalog.GetString ("Aceptar"); w8.UseUnderline = true; w5.Add (w8); w4.Add (w5); this.buttonCerrar.Add (w4); this.vbox1.Add (this.buttonCerrar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.buttonCerrar])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 439; this.DefaultHeight = 300; 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.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.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, 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.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("Maxixie"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-yes", global::Gtk.IconSize.Menu); 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='QuitAction' action='QuitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='AboutAction' action='AboutAction'/></menu><menu><menuitem/></menu><menu><menuitem/></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.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu><menuitem/></menu><menu><menuitem/></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 w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.menubar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_clear = new global::Gtk.Button(); this.btn_clear.CanFocus = true; this.btn_clear.Name = "btn_clear"; this.btn_clear.UseUnderline = true; this.btn_clear.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.fixed1.Add(this.btn_clear); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_clear])); w4.X = 309; w4.Y = 188; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_write = new global::Gtk.Button(); this.btn_write.CanFocus = true; this.btn_write.Name = "btn_write"; this.btn_write.UseUnderline = true; this.btn_write.Label = global::Mono.Unix.Catalog.GetString("Write"); this.fixed1.Add(this.btn_write); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_write])); w5.X = 309; w5.Y = 157; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_quit = new global::Gtk.Button(); this.btn_quit.CanFocus = true; this.btn_quit.Name = "btn_quit"; this.btn_quit.UseUnderline = true; this.btn_quit.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.fixed1.Add(this.btn_quit); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_quit])); w6.X = 348; w6.Y = 189; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_readOnly = new global::Gtk.CheckButton(); this.chkBx_readOnly.CanFocus = true; this.chkBx_readOnly.Name = "chkBx_readOnly"; this.chkBx_readOnly.Label = global::Mono.Unix.Catalog.GetString("Read Only"); this.chkBx_readOnly.DrawIndicator = true; this.chkBx_readOnly.UseUnderline = true; this.fixed1.Add(this.chkBx_readOnly); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_readOnly])); w7.X = 9; w7.Y = 15; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_printable = new global::Gtk.CheckButton(); this.chkBx_printable.CanFocus = true; this.chkBx_printable.Name = "chkBx_printable"; this.chkBx_printable.Label = global::Mono.Unix.Catalog.GetString("Printable"); this.chkBx_printable.DrawIndicator = true; this.chkBx_printable.UseUnderline = true; this.fixed1.Add(this.chkBx_printable); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_printable])); w8.X = 9; w8.Y = 33; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_guests = new global::Gtk.CheckButton(); this.chkBx_guests.CanFocus = true; this.chkBx_guests.Name = "chkBx_guests"; this.chkBx_guests.Label = global::Mono.Unix.Catalog.GetString("Allow Guests"); this.chkBx_guests.DrawIndicator = true; this.chkBx_guests.UseUnderline = true; this.fixed1.Add(this.chkBx_guests); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_guests])); w9.X = 9; w9.Y = 50; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_browseable = new global::Gtk.CheckButton(); this.chkBx_browseable.CanFocus = true; this.chkBx_browseable.Name = "chkBx_browseable"; this.chkBx_browseable.Label = global::Mono.Unix.Catalog.GetString("Browseable"); this.chkBx_browseable.DrawIndicator = true; this.chkBx_browseable.UseUnderline = true; this.fixed1.Add(this.chkBx_browseable); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_browseable])); w10.X = 9; w10.Y = 67; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_shareName = new global::Gtk.Entry(); this.txtBx_shareName.CanFocus = true; this.txtBx_shareName.Name = "txtBx_shareName"; this.txtBx_shareName.IsEditable = true; this.txtBx_shareName.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_shareName); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_shareName])); w11.X = 215; w11.Y = 4; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_desc = new global::Gtk.Entry(); this.txtBx_desc.CanFocus = true; this.txtBx_desc.Name = "txtBx_desc"; this.txtBx_desc.IsEditable = true; this.txtBx_desc.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_desc); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_desc])); w12.X = 216; w12.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.txtbx_path = new global::Gtk.Entry(); this.txtbx_path.CanFocus = true; this.txtbx_path.Name = "txtbx_path"; this.txtbx_path.IsEditable = true; this.txtbx_path.InvisibleChar = '●'; this.fixed1.Add(this.txtbx_path); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtbx_path])); w13.X = 214; w13.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_validUsers = new global::Gtk.Entry(); this.txtBx_validUsers.CanFocus = true; this.txtBx_validUsers.Name = "txtBx_validUsers"; this.txtBx_validUsers.IsEditable = true; this.txtBx_validUsers.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_validUsers); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_validUsers])); w14.X = 212; w14.Y = 103; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Share Name"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w15.X = 142; w15.Y = 6; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Description"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w16.X = 146; w16.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Share Path"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w17.X = 143; w17.Y = 74; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_userHelp = new global::Gtk.Button(); this.btn_userHelp.CanFocus = true; this.btn_userHelp.Name = "btn_userHelp"; this.btn_userHelp.UseUnderline = true; this.btn_userHelp.Label = global::Mono.Unix.Catalog.GetString("?"); this.fixed1.Add(this.btn_userHelp); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_userHelp])); w18.X = 196; w18.Y = 102; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Valid Users"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w19.X = 131; w19.Y = 107; this.vbox2.Add(this.fixed1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.fixed1])); w20.Position = 2; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 293; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.btn_clear.Clicked += new global::System.EventHandler(this.OnBtnClearClicked); this.btn_write.Clicked += new global::System.EventHandler(this.OnBtnWriteClicked); this.btn_quit.Clicked += new global::System.EventHandler(this.OnBtnQuitClicked); this.btn_userHelp.Activated += new global::System.EventHandler(this.OnBtnUserHelpActivated); }
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, "<Control><Mod2>f"); this.OpenAction = new global::Gtk.Action ("OpenAction", "_Open", null, null); this.OpenAction.ShortLabel = "_Open"; w1.Add (this.OpenAction, "<Control><Mod2>o"); this.ExitAction = new global::Gtk.Action ("ExitAction", "E_xit", null, null); this.ExitAction.ShortLabel = "E_xit"; w1.Add (this.ExitAction, "<Control><Mod2>x"); this.AboutAction = new global::Gtk.Action ("AboutAction", "_About", null, null); this.AboutAction.ShortLabel = "_About"; w1.Add (this.AboutAction, "<Control><Mod2>a"); this.OpenAction1 = new global::Gtk.Action ("OpenAction1", "_Open", null, null); this.OpenAction1.ShortLabel = "_Open"; w1.Add (this.OpenAction1, null); this.AboutAction1 = new global::Gtk.Action ("AboutAction1", "_About", null, null); this.AboutAction1.ShortLabel = "_About"; w1.Add (this.AboutAction1, "<Control><Mod2>a"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "PnP"; this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-justify-center", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 640; this.DefaultHeight = 480; // 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='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction1' action='OpenAction1'/><menuitem name='ExitAction' action='ExitAction'/></menu><menuitem name='AboutAction1' action='AboutAction1'/></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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.TextView = new global::Gtk.TextView (); this.TextView.CanFocus = true; this.TextView.Name = "TextView"; this.TextView.Editable = false; this.TextView.CursorVisible = false; this.GtkScrolledWindow.Add (this.TextView); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.ButtonHBox = new global::Gtk.HBox (); this.ButtonHBox.Name = "ButtonHBox"; this.ButtonHBox.Homogeneous = true; this.ButtonHBox.Spacing = 6; // Container child ButtonHBox.Gtk.Box+BoxChild this.OpenButton = new global::Gtk.Button (); this.OpenButton.CanFocus = true; this.OpenButton.Name = "OpenButton"; this.OpenButton.UseUnderline = true; this.OpenButton.Label = "Open"; this.ButtonHBox.Add (this.OpenButton); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.OpenButton])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child ButtonHBox.Gtk.Box+BoxChild this.ExecButton = new global::Gtk.Button (); this.ExecButton.Sensitive = false; this.ExecButton.CanFocus = true; this.ExecButton.Name = "ExecButton"; this.ExecButton.UseUnderline = true; this.ExecButton.Label = "Parse"; this.ButtonHBox.Add (this.ExecButton); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ExecButton])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child ButtonHBox.Gtk.Box+BoxChild this.ViewButton = new global::Gtk.Button (); this.ViewButton.Sensitive = false; this.ViewButton.CanFocus = true; this.ViewButton.Name = "ViewButton"; this.ViewButton.UseUnderline = true; this.ViewButton.Label = "View"; this.ButtonHBox.Add (this.ViewButton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ViewButton])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child ButtonHBox.Gtk.Box+BoxChild this.ExitButton = new global::Gtk.Button (); this.ExitButton.CanFocus = true; this.ExitButton.Name = "ExitButton"; this.ExitButton.UseUnderline = true; this.ExitButton.Label = "Exit"; this.ButtonHBox.Add (this.ExitButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.ExitButton])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child ButtonHBox.Gtk.Box+BoxChild 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 = "Save"; this.ButtonHBox.Add (this.SaveButton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.ButtonHBox[this.SaveButton])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 4; w9.Expand = false; w9.Fill = false; this.vbox1.Add (this.ButtonHBox); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.ButtonHBox])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.SBar = new global::Gtk.Statusbar (); this.SBar.Name = "SBar"; this.SBar.Spacing = 6; this.vbox1.Add (this.SBar); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.SBar])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 3; w11.Expand = false; w11.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenClicked); this.ExitAction.Activated += new global::System.EventHandler (this.OnExitClicked); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutClicked); this.OpenAction1.Activated += new global::System.EventHandler (this.OnOpenClicked); this.AboutAction1.Activated += new global::System.EventHandler (this.OnAboutClicked); this.OpenButton.Clicked += new global::System.EventHandler (this.OnOpenButtonClicked); this.ExecButton.Clicked += new global::System.EventHandler (this.OnExecButtonClicked); this.ViewButton.Clicked += new global::System.EventHandler (this.OnViewButtonClicked); this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveButtonClicked); this.ExitButton.Clicked += new global::System.EventHandler (this.OnExitButtonClicked); }
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.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Salir"), global::Mono.Unix.Catalog.GetString("Salir"), "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.quitAction, null); 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.AbrirAction = new global::Gtk.Action("AbrirAction", global::Mono.Unix.Catalog.GetString("Abrir pestañas"), null, null); this.AbrirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir"); w1.Add(this.AbrirAction, null); this.CerrarAction = new global::Gtk.Action("CerrarAction", global::Mono.Unix.Catalog.GetString("Cerrar pestañas"), null, null); this.CerrarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cerrar"); w1.Add(this.CerrarAction, null); this.SalirAction = new global::Gtk.Action("SalirAction", global::Mono.Unix.Catalog.GetString("_Salir"), null, null); this.SalirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.SalirAction, null); this.ArticuloAction = new global::Gtk.Action("ArticuloAction", global::Mono.Unix.Catalog.GetString("Artículo"), null, null); this.ArticuloAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Articulo"); w1.Add(this.ArticuloAction, null); this.CategoriaAction = new global::Gtk.Action("CategoriaAction", global::Mono.Unix.Catalog.GetString("Categoria"), null, null); this.CategoriaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Categoria"); w1.Add(this.CategoriaAction, 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.vboxMain = new global::Gtk.VBox(); this.vboxMain.Name = "vboxMain"; this.vboxMain.Spacing = 6; // Container child vboxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menuBar'><menu name='ArchivoAction' action='ArchivoAction'><menu name='AbrirAction' action='AbrirAction'><menuitem name='ArticuloAction' action='ArticuloAction'/><menuitem name='CategoriaAction' action='CategoriaAction'/></menu><menuitem name='CerrarAction' action='CerrarAction'/><separator/><menuitem name='SalirAction' action='SalirAction'/></menu></menubar></ui>"); this.menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar"))); this.menuBar.Name = "menuBar"; this.vboxMain.Add(this.menuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.menuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.noteBook = new global::Gtk.Notebook(); this.noteBook.CanFocus = true; this.noteBook.Name = "noteBook"; this.noteBook.CurrentPage = -1; this.vboxMain.Add(this.noteBook); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.noteBook])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add(this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; 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.TREMBLEAction = new global::Gtk.Action ("TREMBLEAction", global::Mono.Unix.Catalog.GetString ("TREMBLE"), null, null); this.TREMBLEAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("TREMBLE"); w1.Add (this.TREMBLEAction, 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.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.searchAction = new global::Gtk.Action ("searchAction", global::Mono.Unix.Catalog.GetString ("search"), null, null); this.searchAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("search"); w1.Add (this.searchAction, null); this.scheduleAction = new global::Gtk.Action ("scheduleAction", global::Mono.Unix.Catalog.GetString ("schedule"), null, null); this.scheduleAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("schedule"); w1.Add (this.scheduleAction, 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.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.AboutTREMBLEAction = new global::Gtk.Action ("AboutTREMBLEAction", global::Mono.Unix.Catalog.GetString ("About TREMBLE"), null, null); this.AboutTREMBLEAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About TREMBLE"); w1.Add (this.AboutTREMBLEAction, 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.QuitTREMBLEAction = new global::Gtk.Action ("QuitTREMBLEAction", global::Mono.Unix.Catalog.GetString ("Quit TREMBLE"), null, null); this.QuitTREMBLEAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit TREMBLE"); w1.Add (this.QuitTREMBLEAction, 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.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.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("SaveAs..."), null, null); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("SaveAs..."); w1.Add (this.SaveAsAction, null); this.UndoAction = new global::Gtk.Action ("UndoAction", global::Mono.Unix.Catalog.GetString ("Undo"), null, null); this.UndoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); w1.Add (this.UndoAction, null); this.RedoAction = new global::Gtk.Action ("RedoAction", global::Mono.Unix.Catalog.GetString ("Redo"), null, null); this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); w1.Add (this.RedoAction, null); this.CutAction = new global::Gtk.Action ("CutAction", global::Mono.Unix.Catalog.GetString ("Cut"), null, null); this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cut"); w1.Add (this.CutAction, null); this.CopyAction = new global::Gtk.Action ("CopyAction", global::Mono.Unix.Catalog.GetString ("Copy"), null, null); this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Copy"); w1.Add (this.CopyAction, null); this.PasteAction = new global::Gtk.Action ("PasteAction", global::Mono.Unix.Catalog.GetString ("Paste"), null, null); this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Paste"); w1.Add (this.PasteAction, null); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("Delete"), null, null); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete"); w1.Add (this.DeleteAction, 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='TREMBLEAction' action='TREMBLEAction'><menuitem name='AboutTREMBLEAction' action='AboutTREMBLEAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/><menuitem name='QuitTREMBLEAction' action='QuitTREMBLEAction'/></menu><menu name='fileAction' action='fileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/></menu><menu name='editAction' action='editAction'><menuitem name='UndoAction' action='UndoAction'/><menuitem name='RedoAction' action='RedoAction'/><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/></menu><menu name='viewAction' action='viewAction'/><menu name='searchAction' action='searchAction'/><menu name='scheduleAction' action='scheduleAction'/><menu name='windowAction' action='windowAction'/><menu name='helpAction' action='helpAction'/></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; // Container child hbox1.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.OriginalCode2 = new global::Gtk.TextView (); this.OriginalCode2.CanFocus = true; this.OriginalCode2.Name = "OriginalCode2"; this.GtkScrolledWindow1.Add (this.OriginalCode2); this.hbox1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1])); w4.Position = 0; // Container child hbox1.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.PipelinedSchedule = new global::Gtk.TextView (); this.PipelinedSchedule.CanFocus = true; this.PipelinedSchedule.Name = "PipelinedSchedule"; this.PipelinedSchedule.Editable = false; this.GtkScrolledWindow2.Add (this.PipelinedSchedule); this.hbox1.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow2])); w6.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w7.Position = 1; // 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.ScheduleButton = new global::Gtk.Button (); this.ScheduleButton.CanFocus = true; this.ScheduleButton.Name = "ScheduleButton"; this.ScheduleButton.UseUnderline = true; this.ScheduleButton.Label = global::Mono.Unix.Catalog.GetString ("Schedule"); this.hbox2.Add (this.ScheduleButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ScheduleButton])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.ClearLogButton = new global::Gtk.Button (); this.ClearLogButton.CanFocus = true; this.ClearLogButton.Name = "ClearLogButton"; this.ClearLogButton.UseUnderline = true; this.ClearLogButton.Label = global::Mono.Unix.Catalog.GetString ("Clear Log"); this.hbox2.Add (this.ClearLogButton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ClearLogButton])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox2.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.hbox2.Add (this.button5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button5])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w11.Position = 2; w11.Expand = false; w11.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.Log = new global::Gtk.TextView (); this.Log.HeightRequest = 0; this.Log.CanFocus = true; this.Log.Name = "Log"; this.Log.Editable = false; this.GtkScrolledWindow.Add (this.Log); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w13.Position = 3; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 929; this.DefaultHeight = 962; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.QuitTREMBLEAction.Activated += new global::System.EventHandler (this.OnTrembleQuit); this.ScheduleButton.Clicked += new global::System.EventHandler (this.OnScheduleButtonPressed); this.ClearLogButton.Clicked += new global::System.EventHandler (this.OnClearLogButtonPressed); }
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.EdicinAction = new global::Gtk.Action("EdicinAction", global::Mono.Unix.Catalog.GetString("Edición"), null, null); this.EdicinAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edición"); w1.Add(this.EdicinAction, null); this.BasesDeDatosAction = new global::Gtk.Action("BasesDeDatosAction", global::Mono.Unix.Catalog.GetString("Bases de Datos"), null, null); this.BasesDeDatosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Bases de Datos"); w1.Add(this.BasesDeDatosAction, null); this.OVAction = new global::Gtk.Action("OVAction", global::Mono.Unix.Catalog.GetString("O.V"), null, null); this.OVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("O.V"); w1.Add(this.OVAction, 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.SalirAction = new global::Gtk.Action("SalirAction", global::Mono.Unix.Catalog.GetString("Salir"), null, null); this.SalirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.SalirAction, null); this.closeAction = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.closeAction, null); this.addAction = new global::Gtk.Action("addAction", global::Mono.Unix.Catalog.GetString("Añadir"), null, "gtk-add"); this.addAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Añadir"); w1.Add(this.addAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWIndow"; this.Title = global::Mono.Unix.Catalog.GetString("IDNet Software"); 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='menubar2'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='closeAction' action='closeAction'/></menu><menu name='EdicinAction' action='EdicinAction'/><menu name='BasesDeDatosAction' action='BasesDeDatosAction'><menuitem name='addAction' action='addAction'/></menu><menu name='OVAction' action='OVAction'/><menu name='AyudaAction' action='AyudaAction'/></menubar></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.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'/></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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.statusView = new global::Gtk.TextView(); this.statusView.Buffer.Text = @"Command: 001 - Solicitud de conexión con Pepe Response: 004 - Conexión establecida ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Command: 002 - Solicitud de información sobre la BBDD empleados Response: 005 - Información recibida ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Command: 003 - Solicitud de consulta sobre la BBDD empleados Response: 006 - Consulta realizada "; this.statusView.CanFocus = true; this.statusView.Name = "statusView"; this.statusView.Editable = false; this.statusView.CursorVisible = false; this.statusView.AcceptsTab = false; this.GtkScrolledWindow.Add(this.statusView); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w5.Position = 2; // 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.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.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("GtkButton"); this.vbox2.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.vbox2.Add(this.button2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.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("GtkButton"); this.vbox2.Add(this.button3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button3])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.databasesTable = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.databasesTable.Name = "databasesTable"; this.databasesTable.RowSpacing = ((uint)(6)); this.databasesTable.ColumnSpacing = ((uint)(6)); // Container child databasesTable.Gtk.Table+TableChild this.conexionLabel = new global::Gtk.Label(); this.conexionLabel.Name = "conexionLabel"; this.conexionLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Conexión"); this.databasesTable.Add(this.conexionLabel); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.conexionLabel])); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child databasesTable.Gtk.Table+TableChild this.nombreBBDDLabel = new global::Gtk.Label(); this.nombreBBDDLabel.Name = "nombreBBDDLabel"; this.nombreBBDDLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre BBDD"); this.databasesTable.Add(this.nombreBBDDLabel); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.nombreBBDDLabel])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child databasesTable.Gtk.Table+TableChild this.tipoBBDDLabel = new global::Gtk.Label(); this.tipoBBDDLabel.Name = "tipoBBDDLabel"; this.tipoBBDDLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tipo BBDD"); this.databasesTable.Add(this.tipoBBDDLabel); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.tipoBBDDLabel])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child databasesTable.Gtk.Table+TableChild this.usuarioLabel = new global::Gtk.Label(); this.usuarioLabel.Name = "usuarioLabel"; this.usuarioLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Usuario"); this.databasesTable.Add(this.usuarioLabel); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.databasesTable[this.usuarioLabel])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.databasesTable); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.databasesTable])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; // Container child statusbar2.Gtk.Box+BoxChild this.conexionesLabel = new global::Gtk.Label(); this.conexionesLabel.Name = "conexionesLabel"; this.conexionesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("0 conexiones"); this.conexionesLabel.Justify = ((global::Gtk.Justification)(2)); this.statusbar2.Add(this.conexionesLabel); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.conexionesLabel])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child statusbar2.Gtk.Box+BoxChild this.IDNetLabel = new global::Gtk.Label(); this.IDNetLabel.Name = "IDNetLabel"; this.IDNetLabel.LabelProp = global::Mono.Unix.Catalog.GetString("IDNet Software"); this.IDNetLabel.Justify = ((global::Gtk.Justification)(2)); this.statusbar2.Add(this.IDNetLabel); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.IDNetLabel])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.vbox1.Add(this.statusbar2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar2])); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 681; this.DefaultHeight = 485; 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.NewLanguageAction = new global::Gtk.Action ("NewLanguageAction", global::Mono.Unix.Catalog.GetString ("New Language"), null, null); this.NewLanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Language"); w1.Add (this.NewLanguageAction, 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.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.NewWordAction = new global::Gtk.Action ("NewWordAction", global::Mono.Unix.Catalog.GetString ("New word"), null, null); this.NewWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New word"); w1.Add (this.NewWordAction, "<Primary><Mod2>n"); this.DeleteWordAction = new global::Gtk.Action ("DeleteWordAction", global::Mono.Unix.Catalog.GetString ("Delete word"), null, null); this.DeleteWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete word"); w1.Add (this.DeleteWordAction, "<Primary><Mod2>d"); this.LanguagePropertiesAction = new global::Gtk.Action ("LanguagePropertiesAction", global::Mono.Unix.Catalog.GetString ("Language properties"), null, null); this.LanguagePropertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language properties"); w1.Add (this.LanguagePropertiesAction, "<Primary><Mod2>p"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Lex 2: Electric Boogaloo"); 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='NewLanguageAction' action='NewLanguageAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='NewWordAction' action='NewWordAction'/><menuitem name='DeleteWordAction' action='DeleteWordAction'/><menuitem name='LanguagePropertiesAction' action='LanguagePropertiesAction'/></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.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Search"); this.label6.UseUnderline = true; this.hbox3.Add (this.label6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.searchEntry = new global::Gtk.Entry (); this.searchEntry.CanFocus = true; this.searchEntry.Name = "searchEntry"; this.searchEntry.IsEditable = true; this.searchEntry.InvisibleChar = '•'; this.hbox3.Add (this.searchEntry); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.searchEntry])); w4.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseStock = true; this.button2.UseUnderline = true; this.button2.Label = "gtk-find"; this.hbox3.Add (this.button2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.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 = 296; // Container child hpaned1.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.wordList = new global::Gtk.TreeView (); this.wordList.CanFocus = true; this.wordList.Name = "wordList"; this.GtkScrolledWindow1.Add (this.wordList); this.hpaned1.Add (this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow1])); w8.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.currentWord = new global::LocalLexicon.WordWidget (); this.currentWord.Events = ((global::Gdk.EventMask)(256)); this.currentWord.Name = "currentWord"; this.hpaned1.Add (this.currentWord); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w10.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 w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w11.Position = 3; w11.Expand = false; w11.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 975; this.DefaultHeight = 738; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewLanguageAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.NewWordAction.Activated += new global::System.EventHandler (this.OnNewWordActionActivated); this.DeleteWordAction.Activated += new global::System.EventHandler (this.OnDeleteWordActionActivated); this.LanguagePropertiesAction.Activated += new global::System.EventHandler (this.OnLanguagePropertiesActionActivated); this.searchEntry.Activated += new global::System.EventHandler (this.OnSearchEntryActivated); this.button2.Activated += new global::System.EventHandler (this.OnButton2Activated); this.wordList.CursorChanged += new global::System.EventHandler (this.OnWordListCursorChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget 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, "<Alt><Mod2>f"); this.BoardAction = new global::Gtk.Action("BoardAction", global::Mono.Unix.Catalog.GetString("_Board"), null, null); this.BoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Board"); w1.Add(this.BoardAction, "<Alt><Mod2>b"); this.EngineAction = new global::Gtk.Action("EngineAction", global::Mono.Unix.Catalog.GetString("_Engine"), null, null); this.EngineAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Engine"); w1.Add(this.EngineAction, "<Alt><Mod2>e"); 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, "<Alt><Mod2>h"); 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><Mod2>q"); this.LoadFENAction = new global::Gtk.Action("LoadFENAction", global::Mono.Unix.Catalog.GetString("Load _FEN"), null, null); this.LoadFENAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load _FEN"); w1.Add(this.LoadFENAction, "<Primary><Mod2>f"); this.LoadEngineOneAction = new global::Gtk.Action("LoadEngineOneAction", global::Mono.Unix.Catalog.GetString("Load Engine 1"), null, null); this.LoadEngineOneAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Engine"); w1.Add(this.LoadEngineOneAction, "<Primary><Mod2>1"); 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.ResetBoardAction = new global::Gtk.Action("ResetBoardAction", global::Mono.Unix.Catalog.GetString("Reset Board"), null, null); this.ResetBoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset Board"); w1.Add(this.ResetBoardAction, null); this.ResetBoardAction1 = new global::Gtk.Action("ResetBoardAction1", global::Mono.Unix.Catalog.GetString("_Reset Board"), null, null); this.ResetBoardAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Reset Board"); w1.Add(this.ResetBoardAction1, "<Primary>r"); this.MakeEngineOneMoveAction = new global::Gtk.Action("MakeEngineOneMoveAction", global::Mono.Unix.Catalog.GetString("Make Engine _Move"), null, null); this.MakeEngineOneMoveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Make Engine _Move"); w1.Add(this.MakeEngineOneMoveAction, "<Primary>m"); this.FlipBoardAction = new global::Gtk.Action("FlipBoardAction", global::Mono.Unix.Catalog.GetString("Flip Board"), null, null); this.FlipBoardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Flip Board"); w1.Add(this.FlipBoardAction, null); this.GameAction = new global::Gtk.Action("GameAction", global::Mono.Unix.Catalog.GetString("Game"), null, null); this.GameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game"); w1.Add(this.GameAction, null); this.SetClockAction = new global::Gtk.Action("SetClockAction", global::Mono.Unix.Catalog.GetString("Set _Clock"), null, null); this.SetClockAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set _Clock"); w1.Add(this.SetClockAction, "<Primary>c"); this.SetEngineStrengthAction = new global::Gtk.Action("SetEngineStrengthAction", global::Mono.Unix.Catalog.GetString("Set Engine Strength"), null, null); this.SetEngineStrengthAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Engine Strength"); w1.Add(this.SetEngineStrengthAction, null); this.GameModeAction = new global::Gtk.Action("GameModeAction", global::Mono.Unix.Catalog.GetString("Game Mode"), null, null); this.GameModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Game Mode"); w1.Add(this.GameModeAction, null); this.OnePlayerAction = new global::Gtk.RadioAction("OnePlayerAction", global::Mono.Unix.Catalog.GetString("Player vs Engine"), null, null, 0); this.OnePlayerAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.OnePlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Player vs Engine"); w1.Add(this.OnePlayerAction, null); this.TwoPlayerAction = new global::Gtk.RadioAction("TwoPlayerAction", global::Mono.Unix.Catalog.GetString("Player vs Player"), null, null, 0); this.TwoPlayerAction.Group = this.OnePlayerAction.Group; this.TwoPlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Player vs Player"); w1.Add(this.TwoPlayerAction, null); this.EnginesAction = new global::Gtk.RadioAction("EnginesAction", global::Mono.Unix.Catalog.GetString("Engine vs Engine"), null, null, 0); this.EnginesAction.Group = this.TwoPlayerAction.Group; this.EnginesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Engine vs Engine"); w1.Add(this.EnginesAction, null); this.AnalysePositionAction = new global::Gtk.Action("AnalysePositionAction", global::Mono.Unix.Catalog.GetString("_Analyse Position"), null, null); this.AnalysePositionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Analyse Position"); w1.Add(this.AnalysePositionAction, "<Primary>a"); this.LoadEngine2Action = new global::Gtk.Action("LoadEngine2Action", global::Mono.Unix.Catalog.GetString("Load Engine 2"), null, null); this.LoadEngine2Action.ShortLabel = global::Mono.Unix.Catalog.GetString("Load Engine 2"); w1.Add(this.LoadEngine2Action, "<Primary><Mod2>2"); this.PGNAction = new global::Gtk.Action("PGNAction", global::Mono.Unix.Catalog.GetString("PGN"), null, null); this.PGNAction.ShortLabel = global::Mono.Unix.Catalog.GetString("PGN"); w1.Add(this.PGNAction, null); this.ExportAction = new global::Gtk.Action("ExportAction", global::Mono.Unix.Catalog.GetString("Export..."), null, null); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export..."); w1.Add(this.ExportAction, 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.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "GUI.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Gandalf Chess GUI"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='GameAction' action='GameAction'><menuitem name='SetClockAction' action='SetClockAction'/><menu name='GameModeAction' action='GameModeAction'><menuitem name='OnePlayerAction' action='OnePlayerAction'/><menuitem name='TwoPlayerAction' action='TwoPlayerAction'/><menuitem name='EnginesAction' action='EnginesAction'/></menu><menu name='PGNAction' action='PGNAction'><menuitem name='ExportAction' action='ExportAction'/><menuitem name='ImportAction' action='ImportAction'/></menu></menu><menu name='BoardAction' action='BoardAction'><menuitem name='ResetBoardAction1' action='ResetBoardAction1'/><menuitem name='FlipBoardAction' action='FlipBoardAction'/><menuitem name='LoadFENAction' action='LoadFENAction'/></menu><menu name='EngineAction' action='EngineAction'><menuitem name='LoadEngineOneAction' action='LoadEngineOneAction'/><menuitem name='LoadEngine2Action' action='LoadEngine2Action'/><menuitem name='MakeEngineOneMoveAction' action='MakeEngineOneMoveAction'/><menuitem name='SetEngineStrengthAction' action='SetEngineStrengthAction'/><menuitem name='AnalysePositionAction' action='AnalysePositionAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></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.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 3; // 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.BoardArea = new global::Gtk.DrawingArea(); this.BoardArea.WidthRequest = 570; this.BoardArea.HeightRequest = 550; this.BoardArea.Name = "BoardArea"; this.vbox2.Add(this.BoardArea); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.BoardArea])); w3.Position = 0; this.hbox3.Add(this.vbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox2])); w4.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.WidthRequest = 400; this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild this.WhiteClockName = new global::Gtk.Label(); this.WhiteClockName.Name = "WhiteClockName"; this.WhiteClockName.Xpad = 30; this.WhiteClockName.Ypad = 5; this.WhiteClockName.LabelProp = global::Mono.Unix.Catalog.GetString("White"); this.WhiteClockName.Justify = ((global::Gtk.Justification)(2)); this.vbox4.Add(this.WhiteClockName); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.WhiteClockName])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.WhiteClockLabel = new global::Gtk.Label(); this.WhiteClockLabel.Name = "WhiteClockLabel"; this.WhiteClockLabel.Ypad = 5; this.WhiteClockLabel.LabelProp = global::Mono.Unix.Catalog.GetString("white_clock_label"); this.vbox4.Add(this.WhiteClockLabel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.WhiteClockLabel])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.hbox4.Add(this.vbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox4])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; // Container child vbox5.Gtk.Box+BoxChild this.BlackClockTime = new global::Gtk.Label(); this.BlackClockTime.Name = "BlackClockTime"; this.BlackClockTime.Xpad = 30; this.BlackClockTime.Ypad = 5; this.BlackClockTime.LabelProp = global::Mono.Unix.Catalog.GetString("Black"); this.vbox5.Add(this.BlackClockTime); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BlackClockTime])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.BlackClockLabel = new global::Gtk.Label(); this.BlackClockLabel.Name = "BlackClockLabel"; this.BlackClockLabel.Ypad = 5; this.BlackClockLabel.LabelProp = global::Mono.Unix.Catalog.GetString("black_clock_label"); this.vbox5.Add(this.BlackClockLabel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BlackClockLabel])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.hbox4.Add(this.vbox5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox5])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.MaterialDifferenceLabel = new global::Gtk.Label(); this.MaterialDifferenceLabel.Name = "MaterialDifferenceLabel"; this.MaterialDifferenceLabel.Ypad = 20; this.MaterialDifferenceLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<material_difference>"); this.MaterialDifferenceLabel.Wrap = true; this.vbox3.Add(this.MaterialDifferenceLabel); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.MaterialDifferenceLabel])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.PlayerToMoveLabel = new global::Gtk.Label(); this.PlayerToMoveLabel.Name = "PlayerToMoveLabel"; this.PlayerToMoveLabel.Ypad = 10; this.PlayerToMoveLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Player to move: White"); this.vbox3.Add(this.PlayerToMoveLabel); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.PlayerToMoveLabel])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GameHistoryView = new global::Gtk.TextView(); this.GameHistoryView.WidthRequest = 400; this.GameHistoryView.CanFocus = true; this.GameHistoryView.Name = "GameHistoryView"; this.GameHistoryView.Editable = false; this.GameHistoryView.CursorVisible = false; this.GameHistoryView.WrapMode = ((global::Gtk.WrapMode)(2)); this.vbox3.Add(this.GameHistoryView); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GameHistoryView])); w14.Position = 3; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox3])); w15.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w16.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 973; this.DefaultHeight = 715; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuit); this.AboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.ResetBoardAction1.Activated += new global::System.EventHandler(this.OnResetBoard); this.FlipBoardAction.Activated += new global::System.EventHandler(this.OnFlipBoard); this.OnePlayerAction.Activated += new global::System.EventHandler(this.OnOnePlayerSet); this.TwoPlayerAction.Activated += new global::System.EventHandler(this.OnTwoPlayerSet); this.ExportAction.Activated += new global::System.EventHandler(this.OnExportPGN); this.ImportAction.Activated += new global::System.EventHandler(this.OnImportPGN); this.BoardArea.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnBoardExpose); this.BoardArea.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnPieceClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LapseStudioGtkUI.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.MenuAction = new global::Gtk.Action ("MenuAction", "Menu", null, null); this.MenuAction.ShortLabel = "Menu"; w1.Add (this.MenuAction, null); this.newAction = new global::Gtk.Action ("newAction", "New Project", null, "gtk-new"); this.newAction.ShortLabel = "New Project"; w1.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", "Open Project", null, "gtk-open"); this.openAction.ShortLabel = "Open Project"; w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", "Save Project", null, "gtk-save"); this.saveAction.ShortLabel = "Save Project"; w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", "Save Project As", null, "gtk-save-as"); this.saveAsAction.ShortLabel = "Save Project As"; w1.Add (this.saveAsAction, null); this.quitAction = new global::Gtk.Action ("quitAction", "Quit", null, "gtk-quit"); this.quitAction.ShortLabel = "Quit"; w1.Add (this.quitAction, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", "Settings", null, null); this.SettingsAction.ShortLabel = "Settings"; w1.Add (this.SettingsAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", "General Settings", null, "gtk-preferences"); this.preferencesAction.ShortLabel = "General Settings"; w1.Add (this.preferencesAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", "Help", null, null); this.HelpAction.ShortLabel = "Help"; w1.Add (this.HelpAction, null); this.helpAction = new global::Gtk.Action ("helpAction", "Help", null, "gtk-help"); 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.AddAction = new global::Gtk.Action ("AddAction", null, "Add Frames", "Add"); w1.Add (this.AddAction, null); this.CalculateAction = new global::Gtk.Action ("CalculateAction", null, "Calculate Brightnes", "Calculate"); w1.Add (this.CalculateAction, null); this.ReloadAction = new global::Gtk.Action ("ReloadAction", null, "Reload XMP", "Reload"); w1.Add (this.ReloadAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", null, "Process Frames", "Save"); w1.Add (this.SaveAction, null); this.CancelAction = new global::Gtk.Action ("CancelAction", null, "Cancel", "Cancel"); w1.Add (this.CancelAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LapseStudioGtkUI.MainWindow"; this.Title = "LapseStudio"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child LapseStudioGtkUI.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='MainMenuBar'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.MainMenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/MainMenuBar"))); this.MainMenuBar.Name = "MainMenuBar"; this.vbox1.Add (this.MainMenuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainMenuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='MainToolBar'><toolitem name='AddAction' action='AddAction'/><toolitem name='CalculateAction' action='CalculateAction'/><toolitem name='ReloadAction' action='ReloadAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='CancelAction' action='CancelAction'/></toolbar></ui>"); this.MainToolBar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/MainToolBar"))); this.MainToolBar.Name = "MainToolBar"; this.MainToolBar.ShowArrow = false; this.MainToolBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.MainToolBar.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.MainToolBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainToolBar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.MainNotebook = new global::Gtk.Notebook (); this.MainNotebook.CanFocus = true; this.MainNotebook.Name = "MainNotebook"; this.MainNotebook.CurrentPage = 0; // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.FileTree = new global::Gtk.TreeView (); this.FileTree.CanFocus = true; this.FileTree.Name = "FileTree"; this.GtkScrolledWindow.Add (this.FileTree); this.hbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w5.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.ThumbViewList = new global::Gtk.Image (); this.ThumbViewList.WidthRequest = 160; this.ThumbViewList.HeightRequest = 120; this.ThumbViewList.Name = "ThumbViewList"; this.vbox2.Add (this.ThumbViewList); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ThumbViewList])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox2.Add (this.fixed2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed2])); w7.Position = 1; this.hbox2.Add (this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.MainNotebook.Add (this.hbox2); // Notebook tab this.TabPageLabel1 = new global::Gtk.Label (); this.TabPageLabel1.Name = "TabPageLabel1"; this.TabPageLabel1.LabelProp = "Files"; this.MainNotebook.SetTabLabel (this.hbox2, this.TabPageLabel1); this.TabPageLabel1.ShowAll (); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.MainNotebook.Add (this.fixed3); global::Gtk.Notebook.NotebookChild w10 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.fixed3])); w10.Position = 1; // Notebook tab this.TabPageLabel2 = new global::Gtk.Label (); this.TabPageLabel2.Name = "TabPageLabel2"; this.TabPageLabel2.LabelProp = "Calculation"; this.MainNotebook.SetTabLabel (this.fixed3, this.TabPageLabel2); this.TabPageLabel2.ShowAll (); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // 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.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.YToStartButton = new global::Gtk.Button (); this.YToStartButton.WidthRequest = 75; this.YToStartButton.CanFocus = true; this.YToStartButton.Name = "YToStartButton"; this.YToStartButton.UseUnderline = true; this.YToStartButton.Label = "Y To Start"; this.vbox4.Add (this.YToStartButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.YToStartButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.AlignXButton = new global::Gtk.Button (); this.AlignXButton.WidthRequest = 75; this.AlignXButton.CanFocus = true; this.AlignXButton.Name = "AlignXButton"; this.AlignXButton.UseUnderline = true; this.AlignXButton.Label = "Align X"; this.vbox4.Add (this.AlignXButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.AlignXButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox4.Add (this.vbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(2)); // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.YToEndButton = new global::Gtk.Button (); this.YToEndButton.WidthRequest = 75; this.YToEndButton.CanFocus = true; this.YToEndButton.Name = "YToEndButton"; this.YToEndButton.UseUnderline = true; this.YToEndButton.Label = "Y To End"; this.vbox5.Add (this.YToEndButton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.YToEndButton])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.ResetGraphButton = new global::Gtk.Button (); this.ResetGraphButton.WidthRequest = 75; this.ResetGraphButton.CanFocus = true; this.ResetGraphButton.Name = "ResetGraphButton"; this.ResetGraphButton.UseUnderline = true; this.ResetGraphButton.Label = "Reset"; this.vbox5.Add (this.ResetGraphButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ResetGraphButton])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox4.Add (this.vbox5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox5])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w17.Position = 0; w17.Expand = false; w17.Fill = false; w17.Padding = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.ThumbViewGraph = new global::Gtk.Image (); this.ThumbViewGraph.WidthRequest = 160; this.ThumbViewGraph.HeightRequest = 120; this.ThumbViewGraph.Name = "ThumbViewGraph"; this.vbox3.Add (this.ThumbViewGraph); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbViewGraph])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.FrameSelectScale = new global::Gtk.HScale (null); this.FrameSelectScale.CanFocus = true; this.FrameSelectScale.Name = "FrameSelectScale"; this.FrameSelectScale.Adjustment.Upper = 100D; this.FrameSelectScale.Adjustment.PageIncrement = 10D; this.FrameSelectScale.Adjustment.StepIncrement = 1D; this.FrameSelectScale.DrawValue = true; this.FrameSelectScale.Digits = 0; this.FrameSelectScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add (this.FrameSelectScale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.FrameSelectScale])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditButton = new global::Gtk.Button (); this.ThumbEditButton.Sensitive = false; this.ThumbEditButton.CanFocus = true; this.ThumbEditButton.Name = "ThumbEditButton"; this.ThumbEditButton.UseUnderline = true; this.ThumbEditButton.Label = "Edit Thumbs"; this.vbox3.Add (this.ThumbEditButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditButton])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditView = new global::Gtk.Image (); this.ThumbEditView.WidthRequest = 160; this.ThumbEditView.HeightRequest = 120; this.ThumbEditView.Name = "ThumbEditView"; this.vbox3.Add (this.ThumbEditView); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditView])); w21.Position = 4; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.BrightnessScale = new global::Gtk.HScale (null); this.BrightnessScale.Sensitive = false; this.BrightnessScale.CanFocus = true; this.BrightnessScale.Name = "BrightnessScale"; this.BrightnessScale.Adjustment.Lower = -100D; this.BrightnessScale.Adjustment.Upper = 100D; this.BrightnessScale.Adjustment.PageIncrement = 10D; this.BrightnessScale.Adjustment.StepIncrement = 1D; this.BrightnessScale.DrawValue = true; this.BrightnessScale.Digits = 0; this.BrightnessScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add (this.BrightnessScale); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.BrightnessScale])); w22.Position = 5; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.vbox3.Add (this.fixed4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed4])); w23.Position = 6; this.hbox3.Add (this.vbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.MainGraph = new global::LapseStudioGtkUI.Graph (); this.MainGraph.Events = ((global::Gdk.EventMask)(256)); this.MainGraph.Name = "MainGraph"; this.hbox3.Add (this.MainGraph); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.MainGraph])); w25.Position = 1; this.MainNotebook.Add (this.hbox3); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.hbox3])); w26.Position = 2; // Notebook tab this.TabPageLabel3 = new global::Gtk.Label (); this.TabPageLabel3.Name = "TabPageLabel3"; this.TabPageLabel3.LabelProp = "Graph"; this.MainNotebook.SetTabLabel (this.hbox3, this.TabPageLabel3); this.TabPageLabel3.ShowAll (); this.vbox1.Add (this.MainNotebook); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainNotebook])); w27.Position = 2; // 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.MainProgressBar = new global::Gtk.ProgressBar (); this.MainProgressBar.WidthRequest = 160; this.MainProgressBar.Name = "MainProgressBar"; this.hbox1.Add (this.MainProgressBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.MainProgressBar])); w28.Position = 0; w28.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.StatusLabel = new global::Gtk.Label (); this.StatusLabel.Name = "StatusLabel"; this.StatusLabel.LabelProp = "Everything ok"; this.hbox1.Add (this.StatusLabel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StatusLabel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; w29.Padding = ((uint)(20)); // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add (this.fixed1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1])); w30.Position = 2; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 816; this.DefaultHeight = 662; this.Show (); this.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnExposeEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.AddAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); this.CalculateAction.Activated += new global::System.EventHandler (this.OnCalculateActionActivated); this.ReloadAction.Activated += new global::System.EventHandler (this.OnReloadActionActivated); this.SaveAction.Activated += new global::System.EventHandler (this.OnProcessActionActivated); this.CancelAction.Activated += new global::System.EventHandler (this.OnCancelActionActivated); this.YToStartButton.Clicked += new global::System.EventHandler (this.OnYToStartButtonClicked); this.AlignXButton.Clicked += new global::System.EventHandler (this.OnAlignXButtonClicked); this.YToEndButton.Clicked += new global::System.EventHandler (this.OnYToEndButtonClicked); this.ResetGraphButton.Clicked += new global::System.EventHandler (this.OnResetGraphButtonClicked); this.FrameSelectScale.ValueChanged += new global::System.EventHandler (this.OnFrameSelectScaleValueChanged); this.BrightnessScale.ValueChanged += new global::System.EventHandler (this.OnBrightnessScaleValueChanged); }
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", null, null, "gtk-open"); w1.Add(this.openAction, 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.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'FileAction\' action=\'FileAction\'/></menub" + "ar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox4.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'openAction\' action=\'openAction\'/></t" + "oolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox4.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Metodo1"); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Metodo2"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // 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("Metodos"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox4.Add(this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox4.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.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Versão"); this.vbox3.Add(this.label3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Sinal"); this.vbox2.Add(this.label4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label4])); w10.Position = 0; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Versão DBus"); this.vbox1.Add(this.button2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.hbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox1])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbox4.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox2])); w14.Position = 3; this.Add(this.vbox4); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
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.PGEManagerAction = new global::Gtk.Action ("PGEManagerAction", "PGE Manager", null, null); this.PGEManagerAction.ShortLabel = "PGE Manager"; w1.Add (this.PGEManagerAction, null); this.dialogInfoAction = new global::Gtk.Action ("dialogInfoAction", "About", null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = "About"; w1.Add (this.dialogInfoAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", "Exit", null, null); this.ExitAction.ShortLabel = "Exit"; w1.Add (this.ExitAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "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; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar1\'><menu name=\'PGEManagerAction\' action=\'PGEManagerActi" + "on\'><menuitem name=\'dialogInfoAction\' action=\'dialogInfoAction\'/><menuitem name=" + "\'ExitAction\' action=\'ExitAction\'/></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.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; this.notebook2.ShowBorder = false; // Container child notebook2.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.pgeNewsTree = new global::Gtk.TreeView (); this.pgeNewsTree.CanFocus = true; this.pgeNewsTree.Name = "pgeNewsTree"; this.GtkScrolledWindow1.Add (this.pgeNewsTree); this.notebook2.Add (this.GtkScrolledWindow1); // Notebook tab this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = "PGE News"; this.notebook2.SetTabLabel (this.GtkScrolledWindow1, this.label6); this.label6.ShowAll (); // 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.configListTreeview = new global::Gtk.TreeView (); this.configListTreeview.CanFocus = true; this.configListTreeview.Name = "configListTreeview"; this.GtkScrolledWindow.Add (this.configListTreeview); this.vbox4.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow])); w6.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.button3 = new global::Gtk.Button (); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = ":)"; this.hbox3.Add (this.button3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button3])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vbox4.Add (this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.notebook2.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox4])); w9.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "Config Packs"; this.notebook2.SetTabLabel (this.vbox4, this.label3); this.label3.ShowAll (); this.vbox1.Add (this.notebook2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook2])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.launcheditorwidget1 = new global::PGEManager.LaunchEditorWidget (); this.launcheditorwidget1.Events = ((global::Gdk.EventMask)(256)); this.launcheditorwidget1.Name = "launcheditorwidget1"; this.vbox1.Add (this.launcheditorwidget1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.launcheditorwidget1])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 626; this.DefaultHeight = 461; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ExitAction.Activated += new global::System.EventHandler (this.OnExitActionActivated); }
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.DownloadDirectoryAction = new global::Gtk.Action("DownloadDirectoryAction", global::Mono.Unix.Catalog.GetString("Download Directory"), null, null); this.DownloadDirectoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Download Directory"); w1.Add(this.DownloadDirectoryAction, null); this.SelectFolderAction = new global::Gtk.Action("SelectFolderAction", global::Mono.Unix.Catalog.GetString("Select Folder"), null, null); this.SelectFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Select Folder"); w1.Add(this.SelectFolderAction, null); this.OpenDownloadsAction = new global::Gtk.Action("OpenDownloadsAction", global::Mono.Unix.Catalog.GetString("Open Downloads"), null, null); this.OpenDownloadsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Downloads"); w1.Add(this.OpenDownloadsAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Youtube Music Downloader"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "stock_bottom", 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='DownloadDirectoryAction' action='DownloadDirectoryAction'><menuitem name='SelectFolderAction' action='SelectFolderAction'/><menuitem name='OpenDownloadsAction' action='OpenDownloadsAction'/></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.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label_app_name = new global::Gtk.Label(); this.label_app_name.Name = "label_app_name"; this.label_app_name.LabelProp = global::Mono.Unix.Catalog.GetString("Mp3 Downloader"); this.label_app_name.UseMarkup = true; this.hbox2.Add(this.label_app_name); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label_app_name])); w3.Position = 0; w3.Expand = false; w3.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w4.Position = 1; w4.Expand = false; w4.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.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Adress:"); this.hbox3.Add(this.label5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label5])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.text_adress = new global::Gtk.Entry(); this.text_adress.CanFocus = true; this.text_adress.Name = "text_adress"; this.text_adress.IsEditable = true; this.text_adress.InvisibleChar = '•'; this.hbox3.Add(this.text_adress); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.text_adress])); w6.Position = 2; // Container child hbox3.Gtk.Box+BoxChild this.button_go = new global::Gtk.Button(); this.button_go.CanFocus = true; this.button_go.Name = "button_go"; this.button_go.UseUnderline = true; this.button_go.Label = global::Mono.Unix.Catalog.GetString("GO!"); this.hbox3.Add(this.button_go); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_go])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_back = new global::Gtk.Button(); this.button_back.CanFocus = true; this.button_back.Name = "button_back"; this.button_back.UseUnderline = true; this.button_back.Label = global::Mono.Unix.Catalog.GetString("<-"); this.hbox3.Add(this.button_back); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_back])); w8.Position = 4; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_home = new global::Gtk.Button(); this.button_home.CanFocus = true; this.button_home.Name = "button_home"; this.button_home.UseUnderline = true; this.button_home.Label = global::Mono.Unix.Catalog.GetString("Home"); this.hbox3.Add(this.button_home); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_home])); w9.Position = 5; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_forward = new global::Gtk.Button(); this.button_forward.CanFocus = true; this.button_forward.Name = "button_forward"; this.button_forward.UseUnderline = true; this.button_forward.Label = global::Mono.Unix.Catalog.GetString("->"); this.hbox3.Add(this.button_forward); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_forward])); w10.Position = 6; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_DownloadVideo = new global::Gtk.Button(); this.button_DownloadVideo.CanFocus = true; this.button_DownloadVideo.Name = "button_DownloadVideo"; this.button_DownloadVideo.UseUnderline = true; this.button_DownloadVideo.Label = global::Mono.Unix.Catalog.GetString("Download Video"); this.hbox3.Add(this.button_DownloadVideo); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_DownloadVideo])); w11.Position = 7; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_downloadAudioSq = new global::Gtk.Button(); this.button_downloadAudioSq.CanFocus = true; this.button_downloadAudioSq.Name = "button_downloadAudioSq"; this.button_downloadAudioSq.UseUnderline = true; this.button_downloadAudioSq.Label = global::Mono.Unix.Catalog.GetString("Download Mp3 SQ"); this.hbox3.Add(this.button_downloadAudioSq); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_downloadAudioSq])); w12.Position = 8; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.button_DownloadHQ = new global::Gtk.Button(); this.button_DownloadHQ.CanFocus = true; this.button_DownloadHQ.Name = "button_DownloadHQ"; this.button_DownloadHQ.UseUnderline = true; this.button_DownloadHQ.Label = global::Mono.Unix.Catalog.GetString("Download Mp3 HQ"); this.hbox3.Add(this.button_DownloadHQ); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button_DownloadHQ])); w13.Position = 9; w13.Expand = false; w13.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 361; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 567; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledWebWindow = new global::Gtk.ScrolledWindow(); this.scrolledWebWindow.CanFocus = true; this.scrolledWebWindow.Name = "scrolledWebWindow"; this.scrolledWebWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.hpaned1.Add(this.scrolledWebWindow); global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.scrolledWebWindow])); w15.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledListDownlaods = new global::Gtk.ScrolledWindow(); this.scrolledListDownlaods.CanFocus = true; this.scrolledListDownlaods.Name = "scrolledListDownlaods"; this.scrolledListDownlaods.ShadowType = ((global::Gtk.ShadowType)(1)); this.hpaned1.Add(this.scrolledListDownlaods); this.vpaned1.Add(this.hpaned1); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hpaned1])); w17.Resize = false; this.vbox1.Add(this.vpaned1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w18.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 817; this.DefaultHeight = 527; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.SelectFolderAction.Activated += new global::System.EventHandler(this.OnSelectFolderActionActivated); this.OpenDownloadsAction.Activated += new global::System.EventHandler(this.OnOpenDownloadsActionActivated); this.button_go.Clicked += new global::System.EventHandler(this.OnButtonGoClicked); this.button_back.Clicked += new global::System.EventHandler(this.OnButtonBackClicked); this.button_home.Clicked += new global::System.EventHandler(this.OnButtonHomeClicked); this.button_forward.Clicked += new global::System.EventHandler(this.OnButtonForwardClicked); this.button_DownloadVideo.Clicked += new global::System.EventHandler(this.OnButtonDownloadVideoClicked); this.button_downloadAudioSq.Clicked += new global::System.EventHandler(this.OnButtonDownloadAudioSqClicked); this.button_DownloadHQ.Clicked += new global::System.EventHandler(this.OnButtonDownloadHQClicked); }
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.open = new global::Gtk.Action ("open", null, null, "gtk-open"); this.open.IsImportant = true; w1.Add (this.open, null); this.quit = new global::Gtk.Action ("quit", null, null, "gtk-quit"); this.quit.IsImportant = true; w1.Add (this.quit, null); this.ForceHeapSnapshotAction = new global::Gtk.Action ("ForceHeapSnapshotAction", global::Mono.Unix.Catalog.GetString ("Force Heap Snapshot"), null, null); this.ForceHeapSnapshotAction.IsImportant = true; this.ForceHeapSnapshotAction.ShortLabel = "Memory snapshot"; w1.Add (this.ForceHeapSnapshotAction, null); this.executeAction = new global::Gtk.Action ("executeAction", global::Mono.Unix.Catalog.GetString ("Run"), null, "gtk-execute"); this.executeAction.IsImportant = true; this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run"); w1.Add (this.executeAction, null); this.stopAction = new global::Gtk.Action ("stopAction", null, null, "gtk-stop"); w1.Add (this.stopAction, 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.SnapshotAction = new global::Gtk.Action ("SnapshotAction", global::Mono.Unix.Catalog.GetString ("Snapshot"), null, null); this.SnapshotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Snapshot"); w1.Add (this.SnapshotAction, null); this.LoadHeapSnapshotsAction = new global::Gtk.Action ("LoadHeapSnapshotsAction", global::Mono.Unix.Catalog.GetString ("Load Heap Snapshots"), null, null); this.LoadHeapSnapshotsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load Heap Snapshots"); w1.Add (this.LoadHeapSnapshotsAction, null); this.ProfileAction = new global::Gtk.Action ("ProfileAction", global::Mono.Unix.Catalog.GetString ("Profile"), null, null); this.ProfileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Profile"); w1.Add (this.ProfileAction, 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.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Heap Shot"); // Container child MainWindow.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='FileAction1' action='FileAction1'><menuitem name='open' action='open'/><separator/><menuitem name='quit' action='quit'/></menu><menu name='ProfileAction' action='ProfileAction'><menuitem name='executeAction' action='executeAction'/><menuitem name='stopAction' action='stopAction'/><separator/><menuitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/><menuitem name='LoadHeapSnapshotsAction' action='LoadHeapSnapshotsAction'/></menu><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='open' action='open'/><separator/><toolitem name='executeAction' action='executeAction'/><toolitem name='stopAction' action='stopAction'/><toolitem name='ForceHeapSnapshotAction' action='ForceHeapSnapshotAction'/></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)(3)); 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.viewer = new global::HeapShot.Gui.Widgets.ObjectMapViewer (); this.viewer.Events = ((global::Gdk.EventMask)(256)); this.viewer.Name = "viewer"; this.vbox1.Add (this.viewer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.viewer])); w4.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 2; 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.DefaultWidth = 711; this.DefaultHeight = 466; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.open.Activated += new global::System.EventHandler (this.OnOpenActivated); this.quit.Activated += new global::System.EventHandler (this.OnQuitActivated); this.ForceHeapSnapshotAction.Activated += new global::System.EventHandler (this.OnMemorySnapshotActivated); this.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.stopAction.Activated += new global::System.EventHandler (this.OnStopActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ryuk.RemoteLogin 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.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.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.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "ryuk.RemoteLogin"; this.Title = global::Mono.Unix.Catalog.GetString("RemoteLogin"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ryuk.RemoteLogin.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=\'menubar3\'><menu name=\'FileAction\' action=\'FileAction\'/><menu n" + "ame=\'EditAction\' action=\'EditAction\'/><menu name=\'WindowAction\' action=\'WindowAc" + "tion\'/></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox3.Add(this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.comboboxentry5 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry5.Name = "comboboxentry5"; this.table3.Add(this.comboboxentry5); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3[this.comboboxentry5])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table3.Gtk.Table+TableChild this.comboboxentry7 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry7.Name = "comboboxentry7"; this.table3.Add(this.comboboxentry7); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table3[this.comboboxentry7])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(1)); // Container child table3.Gtk.Table+TableChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.table3.Add(this.entry3); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3[this.entry3])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Domain"); this.table3.Add(this.label11); // Container child table3.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Username"); this.table3.Add(this.label7); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.label7])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Password"); this.table3.Add(this.label9); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.label9])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); this.vbox3.Add(this.table3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table3])); w9.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.expander3 = new global::Gtk.Expander(null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; this.expander3.Expanded = true; // Container child expander3.Gtk.Container+ContainerChild this.table5 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.checkbutton6 = new global::Gtk.CheckButton(); this.checkbutton6.CanFocus = true; this.checkbutton6.Name = "checkbutton6"; this.checkbutton6.Label = global::Mono.Unix.Catalog.GetString("Use Key Encryption"); this.checkbutton6.DrawIndicator = true; this.checkbutton6.UseUnderline = true; this.table5.Add(this.checkbutton6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table5[this.checkbutton6])); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.entry11 = new global::Gtk.Entry(); this.entry11.CanFocus = true; this.entry11.Name = "entry11"; this.entry11.IsEditable = true; this.entry11.InvisibleChar = '●'; this.table5.Add(this.entry11); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table5[this.entry11])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.entry9 = new global::Gtk.Entry(); this.entry9.CanFocus = true; this.entry9.Name = "entry9"; this.entry9.IsEditable = true; this.entry9.InvisibleChar = '●'; this.table5.Add(this.entry9); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table5[this.entry9])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Private Key"); this.table5.Add(this.label17); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table5[this.label17])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Passphrase"); this.table5.Add(this.label19); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5[this.label19])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.expander3.Add(this.table5); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("Extra Options"); this.GtkLabel4.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel4; this.vbox3.Add(this.expander3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.expander3])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox3.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("Start Whatever"); this.vbox3.Add(this.button3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.button3])); w17.Position = 3; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 375; this.DefaultHeight = 283; this.Show(); this.entry3.Changed += new global::System.EventHandler(this.PasswordChanged); this.comboboxentry7.Changed += new global::System.EventHandler(this.UsernameChanged); this.comboboxentry5.Changed += new global::System.EventHandler(this.DomainChanged); this.button3.Clicked += new global::System.EventHandler(this.StartClicked); }
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.DateiAction = new global::Gtk.Action ("DateiAction", global::Mono.Unix.Catalog.GetString ("Datei"), null, null); this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Datei"); w1.Add (this.DateiAction, null); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("Neu"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu"); w1.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Öffnen"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Öffnen"); w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Speichern"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern"); w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Speichern unter"), null, "gtk-save-as"); this.saveAsAction.HideIfEmpty = false; this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Speichern unter"); w1.Add (this.saveAsAction, "<Primary><Alt>s"); this.closeAction = new global::Gtk.Action ("closeAction", global::Mono.Unix.Catalog.GetString ("Schließen"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Schließen"); w1.Add (this.closeAction, "<Primary>e"); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Beenden"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden"); w1.Add (this.quitAction, null); this.BearbeitenAction = new global::Gtk.Action ("BearbeitenAction", global::Mono.Unix.Catalog.GetString ("Bearbeiten"), null, null); this.BearbeitenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Bearbeiten"); w1.Add (this.BearbeitenAction, null); this.SaveRegex = new global::Gtk.Action ("SaveRegex", null, null, "gtk-save"); this.SaveRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveRegex, null); this.CloseRegex = new global::Gtk.Action ("CloseRegex", null, null, "gtk-close"); this.CloseRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseRegex, null); this.SaveRegexOtherFileName = new global::Gtk.Action ("SaveRegexOtherFileName", null, null, "gtk-save-as"); this.SaveRegexOtherFileName.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save as"); w1.Add (this.SaveRegexOtherFileName, null); this.newAction1 = new global::Gtk.Action ("newAction1", null, null, "gtk-new"); this.newAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Neu"); w1.Add (this.newAction1, null); this.OpenRegex = new global::Gtk.Action ("OpenRegex", null, null, "gtk-open"); this.OpenRegex.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.OpenRegex, null); this.undoAction = new global::Gtk.Action ("undoAction", null, null, "gtk-undo"); this.undoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); w1.Add (this.undoAction, null); this.redoAction = new global::Gtk.Action ("redoAction", null, null, "gtk-redo"); this.redoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); w1.Add (this.redoAction, null); this.cutAction = new global::Gtk.Action ("cutAction", null, null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cut"); w1.Add (this.cutAction, null); this.copyAction = new global::Gtk.Action ("copyAction", null, null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Copy"); w1.Add (this.copyAction, null); this.pasteAction = new global::Gtk.Action ("pasteAction", null, null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Paste"); w1.Add (this.pasteAction, null); this.Execute = new global::Gtk.Action ("Execute", global::Mono.Unix.Catalog.GetString ("Ausführen"), null, "gtk-media-play"); this.Execute.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ausführen"); w1.Add (this.Execute, null); this.clearAction = new global::Gtk.Action ("clearAction", null, null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear"); w1.Add (this.clearAction, null); this.Library = new global::Gtk.Action ("Library", global::Mono.Unix.Catalog.GetString ("Bibliothek"), null, "gtk-select-all"); this.Library.ShortLabel = global::Mono.Unix.Catalog.GetString ("Library"); w1.Add (this.Library, null); this.separatorAction = new global::Gtk.Action ("separatorAction", null, null, "gtk-separator"); w1.Add (this.separatorAction, null); this.undoAction1 = new global::Gtk.Action ("undoAction1", global::Mono.Unix.Catalog.GetString ("Rückgängig"), null, "gtk-undo"); this.undoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Undo"); w1.Add (this.undoAction1, "<Primary>z"); this.redoAction1 = new global::Gtk.Action ("redoAction1", global::Mono.Unix.Catalog.GetString ("Wiederholen"), null, "gtk-redo"); this.redoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Redo"); w1.Add (this.redoAction1, "<Primary>w"); this.cutAction1 = new global::Gtk.Action ("cutAction1", global::Mono.Unix.Catalog.GetString ("Ausschneiden"), null, "gtk-cut"); this.cutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t"); w1.Add (this.cutAction1, null); this.copyAction1 = new global::Gtk.Action ("copyAction1", global::Mono.Unix.Catalog.GetString ("Kopieren"), null, "gtk-copy"); this.copyAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy"); w1.Add (this.copyAction1, null); this.pasteAction1 = new global::Gtk.Action ("pasteAction1", global::Mono.Unix.Catalog.GetString ("Einfügen"), null, "gtk-paste"); this.pasteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste"); w1.Add (this.pasteAction1, null); this.RegexAction = new global::Gtk.Action ("RegexAction", global::Mono.Unix.Catalog.GetString ("Regex"), null, null); this.RegexAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Regex"); w1.Add (this.RegexAction, null); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", global::Mono.Unix.Catalog.GetString ("RunParser"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RunParser"); w1.Add (this.mediaPlayAction, "<Primary>space"); this.ExtrasAction = new global::Gtk.Action ("ExtrasAction", global::Mono.Unix.Catalog.GetString ("Extras"), null, null); this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Extras"); w1.Add (this.ExtrasAction, null); this.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("_Properties"), null, "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Properties"); w1.Add (this.propertiesAction, null); this.HilfeAction = new global::Gtk.Action ("HilfeAction", global::Mono.Unix.Catalog.GetString ("Hilfe"), null, null); this.HilfeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hilfe"); w1.Add (this.HilfeAction, null); this.cancelAction = new global::Gtk.Action ("cancelAction", global::Mono.Unix.Catalog.GetString ("Fehler melden"), null, "gtk-cancel"); this.cancelAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Fehler melden"); w1.Add (this.cancelAction, "<Primary>b"); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("Info"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, "<Primary>i"); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Einstellungen"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Properties"); w1.Add (this.preferencesAction, "<Primary>p"); this.selectAllAction = new global::Gtk.Action ("selectAllAction", global::Mono.Unix.Catalog.GetString ("LibraryMenu"), null, "gtk-select-all"); this.selectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("LibraryMenu"); w1.Add (this.selectAllAction, "<Primary>l"); this.spellCheckAction = new global::Gtk.Action ("spellCheckAction", global::Mono.Unix.Catalog.GetString ("_Spell Check"), null, "gtk-spell-check"); this.spellCheckAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Spell Check"); w1.Add (this.spellCheckAction, null); this.aboutAction1 = new global::Gtk.Action ("aboutAction1", global::Mono.Unix.Catalog.GetString ("Info"), null, "gtk-about"); this.aboutAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Info"); w1.Add (this.aboutAction1, null); this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("Export"), null, null); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export"); w1.Add (this.ExportAction, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.convertAction = new global::Gtk.Action ("convertAction", global::Mono.Unix.Catalog.GetString ("Exportieren"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exportieren"); w1.Add (this.convertAction, null); this.NurTextTxtAction = new global::Gtk.Action ("NurTextTxtAction", global::Mono.Unix.Catalog.GetString ("Nur Text (*.txt)"), null, null); this.NurTextTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Nur Text (*.txt)"); w1.Add (this.NurTextTxtAction, "<Primary><Alt>t"); this.HypertextHtmlAction = new global::Gtk.Action ("HypertextHtmlAction", global::Mono.Unix.Catalog.GetString ("Hypertext (*.html)"), null, null); this.HypertextHtmlAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Hypertext (*.html)"); w1.Add (this.HypertextHtmlAction, "<Primary><Alt>h"); this.KommaGetrenntCsvAction = new global::Gtk.Action ("KommaGetrenntCsvAction", global::Mono.Unix.Catalog.GetString ("Komma - getrennt (*.csv)"), null, null); this.KommaGetrenntCsvAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Komma - getrennt (*.csv)"); w1.Add (this.KommaGetrenntCsvAction, "<Primary><Alt>c"); this.preferencesAction1 = new global::Gtk.Action ("preferencesAction1", null, null, "gtk-preferences"); this.preferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences"); w1.Add (this.preferencesAction1, null); this.berDieseVersionAction = new global::Gtk.Action ("berDieseVersionAction", global::Mono.Unix.Catalog.GetString ("Über diese Version"), null, null); this.berDieseVersionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über diese Version"); w1.Add (this.berDieseVersionAction, null); this.dialogQuestionAction = new global::Gtk.Action ("dialogQuestionAction", global::Mono.Unix.Catalog.GetString ("Über diese Version"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Über diese Version"); w1.Add (this.dialogQuestionAction, "<Primary>y"); this.connectAction = new global::Gtk.Action ("connectAction", global::Mono.Unix.Catalog.GetString ("Web"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Web"); w1.Add (this.connectAction, "<Primary><Alt>i"); this.clearAction1 = new global::Gtk.Action ("clearAction1", global::Mono.Unix.Catalog.GetString ("Leeren"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Leeren"); w1.Add (this.clearAction1, "<Primary><Alt><Mod4><Super>c"); this.saveAsAction2 = new global::Gtk.Action ("saveAsAction2", global::Mono.Unix.Catalog.GetString ("Kopie speichern unter"), null, "gtk-save-as"); this.saveAsAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Kopie speichern unter"); w1.Add (this.saveAsAction2, "<Primary>k"); this.printAction = new global::Gtk.Action ("printAction", global::Mono.Unix.Catalog.GetString ("Drucken"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Drucken"); w1.Add (this.printAction, null); this.selectFontAction = new global::Gtk.Action ("selectFontAction", global::Mono.Unix.Catalog.GetString ("Tastenkombinationen"), null, "gtk-select-font"); this.selectFontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Tastenkombinationen"); w1.Add (this.selectFontAction, "<Primary><Alt>k"); this.restore = new global::Gtk.Action ("restore", global::Mono.Unix.Catalog.GetString ("Ausdrücke wiederherstellen"), null, "gtk-undelete"); this.restore.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ausdrücke wiederherstellen"); w1.Add (this.restore, "<Primary><Alt>u"); this.homeAction = new global::Gtk.Action ("homeAction", global::Mono.Unix.Catalog.GetString ("Start"), null, "gtk-home"); this.homeAction.Sensitive = false; this.homeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Willkommensseite"); w1.Add (this.homeAction, null); this.mediaPlayAction1 = new global::Gtk.Action ("mediaPlayAction1", global::Mono.Unix.Catalog.GetString ("Run"), null, "gtk-media-play"); this.mediaPlayAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run"); w1.Add (this.mediaPlayAction1, "<Primary>space"); this.quitAction1 = new global::Gtk.Action ("quitAction1", global::Mono.Unix.Catalog.GetString ("Beenden"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Beenden"); w1.Add (this.quitAction1, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Terminus.bin.Debug.Boot.Images.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(2)); // 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='DateiAction' action='DateiAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><menuitem name='saveAsAction2' action='saveAsAction2'/><menuitem name='closeAction' action='closeAction'/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='BearbeitenAction' action='BearbeitenAction'><menuitem name='undoAction1' action='undoAction1'/><menuitem name='redoAction1' action='redoAction1'/><menuitem name='cutAction1' action='cutAction1'/><menuitem name='copyAction1' action='copyAction1'/><menuitem name='pasteAction1' action='pasteAction1'/><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='RegexAction' action='RegexAction'><menuitem name='mediaPlayAction1' action='mediaPlayAction1'/><menu name='convertAction' action='convertAction'><menuitem name='NurTextTxtAction' action='NurTextTxtAction'/><menuitem name='HypertextHtmlAction' action='HypertextHtmlAction'/><menuitem name='KommaGetrenntCsvAction' action='KommaGetrenntCsvAction'/></menu><menuitem name='clearAction1' action='clearAction1'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='selectAllAction' action='selectAllAction'/><menuitem name='restore' action='restore'/></menu><menu name='HilfeAction' action='HilfeAction'><menuitem name='connectAction' action='connectAction'/><menuitem name='selectFontAction' action='selectFontAction'/><menuitem name='cancelAction' action='cancelAction'/><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='newAction1' action='newAction1'/><toolitem name='OpenRegex' action='OpenRegex'/><toolitem name='SaveRegex' action='SaveRegex'/><toolitem name='SaveRegexOtherFileName' action='SaveRegexOtherFileName'/><toolitem name='CloseRegex' action='CloseRegex'/><separator/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><separator/><toolitem name='Execute' action='Execute'/><toolitem name='clearAction' action='clearAction'/><separator/><toolitem name='cutAction' action='cutAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='pasteAction' action='pasteAction'/><separator/><toolitem name='Library' action='Library'/><separator/><toolitem name='preferencesAction1' action='preferencesAction1'/><toolitem name='aboutAction1' action='aboutAction1'/></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)(4)); 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.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = -1; this.notebook1.ShowBorder = false; this.notebook1.Scrollable = true; this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w4.Position = 2; // 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.expander3 = new global::Gtk.Expander (null); this.expander3.CanFocus = true; this.expander3.Name = "expander3"; // Container child expander3.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.IgnoreCase = new global::Gtk.CheckButton (); this.IgnoreCase.TooltipMarkup = "Die Groß- und Kleinschreibung Ihres Ausdrucks wird ignoriert.\nBeispiel: \"test\" trifft auch auf \"TEST\" zu."; this.IgnoreCase.CanFocus = true; this.IgnoreCase.Name = "IgnoreCase"; this.IgnoreCase.Label = global::Mono.Unix.Catalog.GetString ("Groß- /Kleinschreibung ignorieren."); this.IgnoreCase.DrawIndicator = true; this.IgnoreCase.UseUnderline = true; this.vbox3.Add (this.IgnoreCase); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnoreCase])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ExplicitCapture = new global::Gtk.CheckButton (); this.ExplicitCapture.TooltipMarkup = "Die Datenquelle muss genau auf den Ausdruck übereinstimmen."; this.ExplicitCapture.CanFocus = true; this.ExplicitCapture.Name = "ExplicitCapture"; this.ExplicitCapture.Label = global::Mono.Unix.Catalog.GetString ("Explicit Capture"); this.ExplicitCapture.DrawIndicator = true; this.ExplicitCapture.UseUnderline = true; this.vbox3.Add (this.ExplicitCapture); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ExplicitCapture])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.IgnorePatternWhitespace = new global::Gtk.CheckButton (); this.IgnorePatternWhitespace.TooltipMarkup = "Leerzeichen werden im Ausdruck/ Datenquelle ignoriert."; this.IgnorePatternWhitespace.CanFocus = true; this.IgnorePatternWhitespace.Name = "IgnorePatternWhitespace"; this.IgnorePatternWhitespace.Label = global::Mono.Unix.Catalog.GetString ("Leerzeichen ignorieren"); this.IgnorePatternWhitespace.DrawIndicator = true; this.IgnorePatternWhitespace.UseUnderline = true; this.vbox3.Add (this.IgnorePatternWhitespace); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.IgnorePatternWhitespace])); w7.Position = 2; w7.Expand = false; w7.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.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Alle Ergebnisse anzeigen")); this.radiobutton1.TooltipMarkup = "Alle aus dem Ausdruck resultierenden Ergebnisse anzeigen"; this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.radiobutton1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton1])); w8.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Nur nicht gruppierte Ergebnisse")); this.radiobutton2.TooltipMarkup = "Nur Ergebnisse präsentieren, die nicht in eine Gruppe eingeordnet sind."; this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.hbox1.Add (this.radiobutton2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton2])); w9.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.radiobutton3 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Nur Gruppen")); this.radiobutton3.TooltipMarkup = "Nur Ergebnisse einblenden, die aus Gruppen resultieren."; this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.hbox1.Add (this.radiobutton3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.radiobutton3])); w10.Position = 2; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w11.Position = 4; w11.Expand = false; w11.Fill = false; this.expander3.Add (this.vbox3); this.GtkLabel26 = new global::Gtk.Label (); this.GtkLabel26.Name = "GtkLabel26"; this.GtkLabel26.LabelProp = global::Mono.Unix.Catalog.GetString ("Verarbeitungsoptionen"); this.GtkLabel26.UseUnderline = true; this.expander3.LabelWidget = this.GtkLabel26; this.vbox2.Add (this.expander3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander3])); w13.Position = 0; w13.Expand = false; // 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.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Output = new global::Gtk.TextView (); this.Output.HeightRequest = 111; this.Output.CanFocus = true; this.Output.Name = "Output"; this.Output.WrapMode = ((global::Gtk.WrapMode)(3)); this.GtkScrolledWindow.Add (this.Output); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel27 = new global::Gtk.Label (); this.GtkLabel27.Name = "GtkLabel27"; this.GtkLabel27.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnis(se)"); this.GtkLabel27.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel27; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w16.Position = 1; w16.Expand = false; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.cStatusLabele = new global::Gtk.Label (); this.cStatusLabele.Name = "cStatusLabele"; this.cStatusLabele.Xpad = 3; this.cStatusLabele.Xalign = 0F; this.vbox1.Add (this.cStatusLabele); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.cStatusLabele])); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 935; this.DefaultHeight = 500; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.SaveRegex.Activated += new global::System.EventHandler (this.OnSaveAction1Activated); this.CloseRegex.Activated += new global::System.EventHandler (this.OnCloseAction1Activated); this.SaveRegexOtherFileName.Activated += new global::System.EventHandler (this.OnSaveAsAction1Activated); this.OpenRegex.Activated += new global::System.EventHandler (this.OnOpenAction1Activated); this.undoAction.Activated += new global::System.EventHandler (this.OnUndoActionActivated); this.redoAction.Activated += new global::System.EventHandler (this.OnRedoActionActivated); this.Execute.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated); this.cutAction1.Activated += new global::System.EventHandler (this.OnCutAction1Activated); this.copyAction1.Activated += new global::System.EventHandler (this.OnCopyAction1Activated); this.pasteAction1.Activated += new global::System.EventHandler (this.OnPasteAction1Activated); this.cancelAction.Activated += new global::System.EventHandler (this.OnCancelActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.selectAllAction.Activated += new global::System.EventHandler (this.OnSelectAllActionActivated); this.spellCheckAction.Activated += new global::System.EventHandler (this.OnSpellCheckActionActivated); this.NurTextTxtAction.Activated += new global::System.EventHandler (this.OnNurTextTxtActionActivated); this.HypertextHtmlAction.Activated += new global::System.EventHandler (this.OnHypertextHtmlActionActivated); this.KommaGetrenntCsvAction.Activated += new global::System.EventHandler (this.OnKommaGetrenntCsvActionActivated); this.preferencesAction1.Activated += new global::System.EventHandler (this.OnPreferencesAction1Activated); this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.saveAsAction2.Activated += new global::System.EventHandler (this.OnSaveAsAction2Activated); this.printAction.Activated += new global::System.EventHandler (this.OnPrintActionActivated); this.selectFontAction.Activated += new global::System.EventHandler (this.OnSelectFontActionActivated); this.restore.Activated += new global::System.EventHandler (this.OnRestoreActivated); this.quitAction1.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.notebook1.SelectPage += new global::Gtk.SelectPageHandler (this.OnNotebook1SelectPage); }
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.ArquivoAction = new global::Gtk.Action("ArquivoAction", global::Mono.Unix.Catalog.GetString("Arquivo"), null, null); this.ArquivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Arquivo"); w1.Add(this.ArquivoAction, 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.AbrirAction = new global::Gtk.Action("AbrirAction", global::Mono.Unix.Catalog.GetString("Abrir"), null, null); this.AbrirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir"); w1.Add(this.AbrirAction, null); this.SalvarAction = new global::Gtk.Action("SalvarAction", global::Mono.Unix.Catalog.GetString("Salvar"), null, null); this.SalvarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salvar"); w1.Add(this.SalvarAction, null); this.ArquivoAction1 = new global::Gtk.Action("ArquivoAction1", global::Mono.Unix.Catalog.GetString("Arquivo"), null, null); this.ArquivoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Arquivo"); w1.Add(this.ArquivoAction1, null); this.EditarAction1 = new global::Gtk.Action("EditarAction1", global::Mono.Unix.Catalog.GetString("Editar"), null, null); this.EditarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar"); w1.Add(this.EditarAction1, null); this.InserirAction = new global::Gtk.Action("InserirAction", global::Mono.Unix.Catalog.GetString("Inserir"), null, null); this.InserirAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Inserir"); w1.Add(this.InserirAction, null); this.AutmatoAction = new global::Gtk.Action("AutmatoAction", global::Mono.Unix.Catalog.GetString("Autômato"), null, null); this.AutmatoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Autômato"); w1.Add(this.AutmatoAction, null); this.GramticaRegularAction = new global::Gtk.Action("GramticaRegularAction", global::Mono.Unix.Catalog.GetString("Gramática Regular"), null, null); this.GramticaRegularAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gramática Regular"); w1.Add(this.GramticaRegularAction, null); this.ExpressoRegularAction = new global::Gtk.Action("ExpressoRegularAction", global::Mono.Unix.Catalog.GetString("Expressão Regular"), null, null); this.ExpressoRegularAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Expressão Regular"); w1.Add(this.ExpressoRegularAction, null); this.AbrirAction1 = new global::Gtk.Action("AbrirAction1", global::Mono.Unix.Catalog.GetString("Abrir"), null, null); this.AbrirAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir"); w1.Add(this.AbrirAction1, null); this.AutomatoAction = new global::Gtk.Action("AutomatoAction", global::Mono.Unix.Catalog.GetString("Automato"), null, null); this.AutomatoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Automato"); w1.Add(this.AutomatoAction, null); this.SalvarAction1 = new global::Gtk.Action("SalvarAction1", global::Mono.Unix.Catalog.GetString("Salvar"), null, null); this.SalvarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Salvar"); w1.Add(this.SalvarAction1, null); this.AutomatoAction1 = new global::Gtk.Action("AutomatoAction1", global::Mono.Unix.Catalog.GetString("Automato"), null, null); this.AutomatoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Automato"); w1.Add(this.AutomatoAction1, null); this.DeterminizarAutmatoAction = new global::Gtk.Action("DeterminizarAutmatoAction", global::Mono.Unix.Catalog.GetString("Determinizar Autômato"), null, null); this.DeterminizarAutmatoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Determinizar Autômato"); w1.Add(this.DeterminizarAutmatoAction, null); this.GramticaAction = new global::Gtk.Action("GramticaAction", global::Mono.Unix.Catalog.GetString("Gramática"), null, null); this.GramticaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gramática"); w1.Add(this.GramticaAction, null); this.GramaticaAction = new global::Gtk.Action("GramaticaAction", global::Mono.Unix.Catalog.GetString("Gramatica"), null, null); this.GramaticaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Gramatica"); w1.Add(this.GramaticaAction, null); this.UnirAutmatosAction = new global::Gtk.Action("UnirAutmatosAction", global::Mono.Unix.Catalog.GetString("Unir Autômatos"), null, null); this.UnirAutmatosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Unir Autômatos"); w1.Add(this.UnirAutmatosAction, null); this.EditarAutmatoAction = new global::Gtk.Action("EditarAutmatoAction", global::Mono.Unix.Catalog.GetString("Editar Autômato"), null, null); this.EditarAutmatoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar Autômato"); w1.Add(this.EditarAutmatoAction, null); this.EditarAutmatoAction1 = new global::Gtk.Action("EditarAutmatoAction1", global::Mono.Unix.Catalog.GetString("Editar Autômato"), null, null); this.EditarAutmatoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar Autômato"); w1.Add(this.EditarAutmatoAction1, null); this.InterseccionarAutmatosAction = new global::Gtk.Action("InterseccionarAutmatosAction", global::Mono.Unix.Catalog.GetString("Interseccionar Autômatos"), null, null); this.InterseccionarAutmatosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Interseccionar Autômatos"); w1.Add(this.InterseccionarAutmatosAction, null); this.MinimizarAutmatoAction = new global::Gtk.Action("MinimizarAutmatoAction", global::Mono.Unix.Catalog.GetString("Minimizar Autômato"), null, null); this.MinimizarAutmatoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Minimizar Autômato"); w1.Add(this.MinimizarAutmatoAction, null); this.ConverterEREmAFDAction = new global::Gtk.Action("ConverterEREmAFDAction", global::Mono.Unix.Catalog.GetString("Converter ER em AFD"), null, null); this.ConverterEREmAFDAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Converter ER em AFD"); w1.Add(this.ConverterEREmAFDAction, null); this.GramticaRegularAction1 = new global::Gtk.Action("GramticaRegularAction1", global::Mono.Unix.Catalog.GetString("Gramtica Regular"), null, null); this.GramticaRegularAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Gramtica Regular"); w1.Add(this.GramticaRegularAction1, null); this.ExpressoAction = new global::Gtk.Action("ExpressoAction", global::Mono.Unix.Catalog.GetString("Expressão"), null, null); this.ExpressoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Expressão"); w1.Add(this.ExpressoAction, null); this.ExpressoAction1 = new global::Gtk.Action("ExpressoAction1", global::Mono.Unix.Catalog.GetString("Expressão"), null, null); this.ExpressoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Expressão"); w1.Add(this.ExpressoAction1, null); this.ConverterGramticaParaAFNDAction = new global::Gtk.Action("ConverterGramticaParaAFNDAction", global::Mono.Unix.Catalog.GetString("Converter Gramática para AFND"), null, null); this.ConverterGramticaParaAFNDAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Converter Gramática para AFND"); w1.Add(this.ConverterGramticaParaAFNDAction, null); this.ConverterAFDEmGramticaAction = new global::Gtk.Action("ConverterAFDEmGramticaAction", global::Mono.Unix.Catalog.GetString("Converter AFD em Gramática"), null, null); this.ConverterAFDEmGramticaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Converter AFD em Gramática"); w1.Add(this.ConverterAFDEmGramticaAction, 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='ArquivoAction1' action='ArquivoAction1'><menu name='AbrirAction1' action='AbrirAction1'><menuitem name='AutomatoAction' action='AutomatoAction'/><menuitem name='GramaticaAction' action='GramaticaAction'/><menuitem name='ExpressoAction1' action='ExpressoAction1'/></menu><menu name='SalvarAction1' action='SalvarAction1'><menuitem name='AutomatoAction1' action='AutomatoAction1'/><menuitem name='GramticaAction' action='GramticaAction'/><menuitem name='ExpressoAction' action='ExpressoAction'/></menu></menu><menu name='EditarAction1' action='EditarAction1'><menuitem name='DeterminizarAutmatoAction' action='DeterminizarAutmatoAction'/><menuitem name='UnirAutmatosAction' action='UnirAutmatosAction'/><menuitem name='InterseccionarAutmatosAction' action='InterseccionarAutmatosAction'/><menuitem name='MinimizarAutmatoAction' action='MinimizarAutmatoAction'/><menuitem name='ConverterEREmAFDAction' action='ConverterEREmAFDAction'/><menuitem name='ConverterGramticaParaAFNDAction' action='ConverterGramticaParaAFNDAction'/><menuitem name='ConverterAFDEmGramticaAction' action='ConverterAFDEmGramticaAction'/></menu><menu name='InserirAction' action='InserirAction'><menuitem name='AutmatoAction' action='AutmatoAction'/></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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // 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.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.Name = "combobox1"; this.vbox3.Add(this.combobox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.combobox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.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.vbox3.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow1])); w4.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox2 = new global::Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild 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("Adicionar Autômato"); this.hbuttonbox2.Add(this.button6); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.button6])); w5.Expand = false; w5.Fill = false; this.vbox3.Add(this.hbuttonbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbuttonbox2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.notebook1.Add(this.vbox3); // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Autômato"); this.notebook1.SetTabLabel(this.vbox3, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.combobox2 = global::Gtk.ComboBox.NewText(); this.combobox2.Name = "combobox2"; this.vbox4.Add(this.combobox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.combobox2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox4.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.textview2 = new global::Gtk.TextView(); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.scrolledwindow2.Add(this.textview2); this.vbox4.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledwindow2])); w10.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.hbuttonbox3 = new global::Gtk.HButtonBox(); this.hbuttonbox3.Name = "hbuttonbox3"; // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild this.button230 = new global::Gtk.Button(); this.button230.CanFocus = true; this.button230.Name = "button230"; this.button230.UseUnderline = true; this.button230.Label = global::Mono.Unix.Catalog.GetString("Adicionar Gramática"); this.hbuttonbox3.Add(this.button230); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.button230])); w11.Expand = false; w11.Fill = false; this.vbox4.Add(this.hbuttonbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbuttonbox3])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w13 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4])); w13.Position = 1; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Gramática Regular"); this.notebook1.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); // 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.combobox3 = global::Gtk.ComboBox.NewText(); this.combobox3.Name = "combobox3"; this.vbox5.Add(this.combobox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.combobox3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.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.textview3 = new global::Gtk.TextView(); this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add(this.textview3); this.vbox5.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.GtkScrolledWindow])); w16.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.hbuttonbox4 = new global::Gtk.HButtonBox(); this.hbuttonbox4.Name = "hbuttonbox4"; // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild this.button1952 = new global::Gtk.Button(); this.button1952.CanFocus = true; this.button1952.Name = "button1952"; this.button1952.UseUnderline = true; this.button1952.Label = global::Mono.Unix.Catalog.GetString("Adicionar Expressão"); this.hbuttonbox4.Add(this.button1952); global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4 [this.button1952])); w17.Expand = false; w17.Fill = false; this.vbox5.Add(this.hbuttonbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbuttonbox4])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.notebook1.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox5])); w19.Position = 2; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Expressão Regular"); this.notebook1.SetTabLabel(this.vbox5, this.label5); this.label5.ShowAll(); this.vbox2.Add(this.notebook1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1])); w20.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 547; this.DefaultHeight = 306; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AutmatoAction.Activated += new global::System.EventHandler(this.inserirAutomato); this.AutomatoAction.Activated += new global::System.EventHandler(this.OnAutomatoActionActivated); this.AutomatoAction1.Activated += new global::System.EventHandler(this.OnAutomatoAction1Activated); this.DeterminizarAutmatoAction.Activated += new global::System.EventHandler(this.OnDeterminizarAutmatoActionActivated); this.GramticaAction.Activated += new global::System.EventHandler(this.OnGramticaActionActivated); this.GramaticaAction.Activated += new global::System.EventHandler(this.OnGramaticaActionActivated); this.UnirAutmatosAction.Activated += new global::System.EventHandler(this.OnUnirAutmatosActionActivated); this.InterseccionarAutmatosAction.Activated += new global::System.EventHandler(this.OnInterseccionarAutmatosActionActivated); this.MinimizarAutmatoAction.Activated += new global::System.EventHandler(this.OnMinimizarAutmatoActionActivated); this.ConverterEREmAFDAction.Activated += new global::System.EventHandler(this.OnConverterEREmAFDActionActivated); this.ConverterGramticaParaAFNDAction.Activated += new global::System.EventHandler(this.OnConverterGramticaParaAFNDActionActivated); this.ConverterAFDEmGramticaAction.Activated += new global::System.EventHandler(this.OnConverterAFDEmGramticaActionActivated); this.combobox1.Changed += new global::System.EventHandler(this.OnCombobox1Changed); this.button6.Clicked += new global::System.EventHandler(this.OnButton6Clicked); this.combobox2.Changed += new global::System.EventHandler(this.OnCombobox2Changed); this.button230.Clicked += new global::System.EventHandler(this.OnButton230Clicked); this.combobox3.Changed += new global::System.EventHandler(this.OnCombobox3Changed); this.button1952.Clicked += new global::System.EventHandler(this.OnButton1952Clicked); }
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.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.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.SearchAction = new global::Gtk.Action ("SearchAction", global::Mono.Unix.Catalog.GetString ("Search"), null, null); this.SearchAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Search"); w1.Add (this.SearchAction, null); this.ProjeCtAction = new global::Gtk.Action ("ProjeCtAction", global::Mono.Unix.Catalog.GetString ("Proje ct"), null, null); this.ProjeCtAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Proje ct"); w1.Add (this.ProjeCtAction, 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.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.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.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.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.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MarkupManipulator"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar6'><menu name='FileAction1' action='FileAction1'><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'/><menu name='ViewAction' action='ViewAction'/><menu name='SearchAction' action='SearchAction'/><menu name='ProjeCtAction' action='ProjeCtAction'/><menu name='BuildAction' action='BuildAction'/><menu name='ToolsAction' action='ToolsAction'/><menu name='WindowAction' action='WindowAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>"); this.menubar6 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar6"))); this.menubar6.Name = "menubar6"; this.fixed1.Add (this.menubar6); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.menubar6])); w2.X = -1; w2.Y = 3; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 780; this.DefaultHeight = 468; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.menubar6.SelectionDone += new global::System.EventHandler (this.Exit); }
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.InputAction = new global::Gtk.Action("InputAction", global::Mono.Unix.Catalog.GetString("Input"), null, null); this.InputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Input"); w1.Add(this.InputAction, null); this.CalcAction = new global::Gtk.Action("CalcAction", global::Mono.Unix.Catalog.GetString("Calc"), null, null); this.CalcAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Calc"); w1.Add(this.CalcAction, null); this.DrawAction = new global::Gtk.Action("DrawAction", global::Mono.Unix.Catalog.GetString("Draw"), null, null); this.DrawAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Draw"); w1.Add(this.DrawAction, 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.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.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'InputAction\' action=\'InputAction\'/><menu" + " name=\'CalcAction\' action=\'CalcAction\'/><menu name=\'DrawAction\' action=\'DrawActi" + "on\'/><menu name=\'ExitAction\' action=\'ExitAction\'/></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.WidthRequest = 550; this.menubar1.Name = "menubar1"; this.fixed1.Add(this.menubar1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.menubar1])); w2.X = 13; w2.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.Area = new global::Gtk.DrawingArea(); this.Area.WidthRequest = 600; this.Area.HeightRequest = 600; this.Area.Name = "Area"; this.fixed1.Add(this.Area); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Area])); w3.X = 20; w3.Y = 40; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 652; this.DefaultHeight = 675; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.InputAction.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.CalcAction.Activated += new global::System.EventHandler(this.OnCalcActionActivated); this.DrawAction.Activated += new global::System.EventHandler(this.OnDrawActionActivated); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); }
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.LoadPrefsAction = new global::Gtk.Action ("LoadPrefsAction", global::Mono.Unix.Catalog.GetString ("Load Prefs"), null, null); this.LoadPrefsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Load Prefs"); w1.Add (this.LoadPrefsAction, null); this.SavePrefsAction = new global::Gtk.Action ("SavePrefsAction", global::Mono.Unix.Catalog.GetString ("Save Prefs"), null, null); this.SavePrefsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Prefs"); w1.Add (this.SavePrefsAction, null); 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, 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.UserDetailsAction = new global::Gtk.Action ("UserDetailsAction", global::Mono.Unix.Catalog.GetString ("User Details"), null, null); this.UserDetailsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("User Details"); w1.Add (this.UserDetailsAction, 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.GenerateAction = new global::Gtk.Action ("GenerateAction", global::Mono.Unix.Catalog.GetString ("Generate"), null, null); this.GenerateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Generate"); w1.Add (this.GenerateAction, null); this.KeyAction = new global::Gtk.Action ("KeyAction", global::Mono.Unix.Catalog.GetString ("Key"), null, null); this.KeyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Key"); w1.Add (this.KeyAction, null); this.CertificateAction = new global::Gtk.Action ("CertificateAction", global::Mono.Unix.Catalog.GetString ("Certificate"), null, null); this.CertificateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Certificate"); w1.Add (this.CertificateAction, 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.ClearStatusBarAction = new global::Gtk.Action ("ClearStatusBarAction", global::Mono.Unix.Catalog.GetString ("Clear Status Bar"), null, null); this.ClearStatusBarAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clear Status Bar"); w1.Add (this.ClearStatusBarAction, null); this.rubbishAction = new global::Gtk.Action ("rubbishAction", global::Mono.Unix.Catalog.GetString ("rubbish"), null, null); this.rubbishAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("rubbish"); w1.Add (this.rubbishAction, 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.StripPassphraseAction = new global::Gtk.Action ("StripPassphraseAction", global::Mono.Unix.Catalog.GetString ("Strip Passphrase"), null, null); this.StripPassphraseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Strip Passphrase"); w1.Add (this.StripPassphraseAction, 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.WorkingDirectoryAction = new global::Gtk.Action ("WorkingDirectoryAction", global::Mono.Unix.Catalog.GetString ("Working Directory"), null, null); this.WorkingDirectoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Working Directory"); w1.Add (this.WorkingDirectoryAction, null); this.ViewCertificateAction = new global::Gtk.Action ("ViewCertificateAction", global::Mono.Unix.Catalog.GetString ("View Certificate"), null, null); this.ViewCertificateAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View Certificate"); w1.Add (this.ViewCertificateAction, null); this.CheckDiskAction = new global::Gtk.Action ("CheckDiskAction", global::Mono.Unix.Catalog.GetString ("Check Disk"), null, null); this.CheckDiskAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Check Disk"); w1.Add (this.CheckDiskAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 600; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("SSLMaker"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys16x16.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; // 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.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='mainmenubar'><menu name='FileAction' action='FileAction'><menuitem name='LoadPrefsAction' action='LoadPrefsAction'/><menuitem name='SavePrefsAction' action='SavePrefsAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UserDetailsAction' action='UserDetailsAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/><menuitem name='StripPassphraseAction' action='StripPassphraseAction'/></menu><menu name='GenerateAction' action='GenerateAction'><menuitem name='KeyAction' action='KeyAction'/><menuitem name='CertificateAction' action='CertificateAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='WorkingDirectoryAction' action='WorkingDirectoryAction'/><menuitem name='ViewCertificateAction' action='ViewCertificateAction'/><menuitem name='CheckDiskAction' action='CheckDiskAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.mainmenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/mainmenubar"))); this.mainmenubar.Name = "mainmenubar"; this.vbox2.Add (this.mainmenubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.mainmenubar])); 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.image29 = new global::Gtk.Image (); this.image29.Name = "image29"; this.image29.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys80x80.png"); this.hbox1.Add (this.image29); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image29])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>SSLMaker v.0.9</b>\n\nCreated by D. Clayton"); this.label1.UseMarkup = true; this.label1.Justify = ((global::Gtk.Justification)(2)); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w4.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.image12 = new global::Gtk.Image (); this.image12.Name = "image12"; this.image12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("SSLMaker.images.padlockandkeys80x80rev.png"); this.hbox1.Add (this.image12); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image12])); w5.Position = 2; w5.Expand = false; w5.Fill = false; w5.Padding = ((uint)(12)); 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; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox2.Add (this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.WidthRequest = 585; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("An application that will create simple self-signed certificates including the corresponding key files.\nEdit the user details and the preferences to store the information required when creating the key/certificate files. These details will include your name and company details, cipher strength, etc."); this.label2.Wrap = true; this.label2.Justify = ((global::Gtk.Justification)(2)); this.hbox7.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label2])); w9.Position = 0; this.vbox1.Add (this.hbox7); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox7])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator (); this.hseparator4.Name = "hseparator4"; this.vbox5.Add (this.hseparator4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.vbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed (); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.hbox8.Add (this.fixed6); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed6])); w13.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.WidthRequest = 450; this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.BorderWidth = ((uint)(12)); // 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.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 3; // Container child vbox6.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xpad = 6; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Key file</b>"); this.label3.UseMarkup = true; this.vbox6.Add (this.label3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.lblKeyFileLocation = new global::Gtk.Label (); this.lblKeyFileLocation.Name = "lblKeyFileLocation"; this.lblKeyFileLocation.Xpad = 6; this.lblKeyFileLocation.Xalign = 0F; this.lblKeyFileLocation.Yalign = 0F; this.lblKeyFileLocation.LabelProp = global::Mono.Unix.Catalog.GetString ("lblKeyFileLocation"); this.hbox4.Add (this.lblKeyFileLocation); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.lblKeyFileLocation])); w15.Position = 0; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(6)); this.vbox6.Add (this.hbox4); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox4])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xpad = 6; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Certificate file</b>"); this.label4.UseMarkup = true; this.vbox6.Add (this.label4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label4])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.lblCertFileLocation = new global::Gtk.Label (); this.lblCertFileLocation.Name = "lblCertFileLocation"; this.lblCertFileLocation.Xpad = 6; this.lblCertFileLocation.Xalign = 0F; this.lblCertFileLocation.Yalign = 0F; this.lblCertFileLocation.LabelProp = global::Mono.Unix.Catalog.GetString ("lblCertFileLocation"); this.hbox5.Add (this.lblCertFileLocation); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.lblCertFileLocation])); w18.Position = 0; w18.Expand = false; w18.Fill = false; w18.Padding = ((uint)(6)); this.vbox6.Add (this.hbox5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox5])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.GtkAlignment.Add (this.vbox6); this.frame1.Add (this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.Xalign = 0F; this.GtkLabel6.Yalign = 0F; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>File Locations</b>"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.hbox8.Add (this.frame1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.frame1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox8.Add (this.fixed5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed5])); w23.Position = 2; this.vbox4.Add (this.hbox8); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox8])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.fixed8 = new global::Gtk.Fixed (); this.fixed8.Name = "fixed8"; this.fixed8.HasWindow = false; this.hbox9.Add (this.fixed8); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed8])); w25.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.WidthRequest = 450; this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame2.BorderWidth = ((uint)(12)); // 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.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.vbox7.Add (this.fixed3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.fixed3])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.ebCommonName = new global::Gtk.Entry (); this.ebCommonName.WidthRequest = 270; this.ebCommonName.CanFocus = true; this.ebCommonName.Name = "ebCommonName"; this.ebCommonName.IsEditable = true; this.ebCommonName.MaxLength = 40; this.ebCommonName.InvisibleChar = '•'; this.ebCommonName.Xalign = 0.01F; this.hbox6.Add (this.ebCommonName); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.ebCommonName])); w27.Position = 0; w27.Padding = ((uint)(40)); // Container child hbox6.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox6.Add (this.fixed2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.fixed2])); w28.Position = 1; w28.Expand = false; this.vbox7.Add (this.hbox6); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox6])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.fixed9 = new global::Gtk.Fixed (); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; this.hbox10.Add (this.fixed9); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed9])); w30.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.btnGenerateCert = new global::Gtk.Button (); this.btnGenerateCert.CanFocus = true; this.btnGenerateCert.Name = "btnGenerateCert"; this.btnGenerateCert.UseUnderline = true; this.btnGenerateCert.Label = global::Mono.Unix.Catalog.GetString ("Generate Certificate"); this.hbox10.Add (this.btnGenerateCert); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.btnGenerateCert])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.fixed11 = new global::Gtk.Fixed (); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; this.hbox10.Add (this.fixed11); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed11])); w32.Position = 2; this.vbox7.Add (this.hbox10); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox10])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox3.Add (this.fixed1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed1])); w34.Position = 0; this.vbox7.Add (this.hbox3); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox3])); w35.Position = 3; w35.Expand = false; w35.Fill = false; this.GtkAlignment1.Add (this.vbox7); this.frame2.Add (this.GtkAlignment1); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Name (CN) for Certificate</b>"); this.GtkLabel10.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel10; this.hbox9.Add (this.frame2); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.frame2])); w38.Position = 1; w38.Expand = false; w38.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed7 = new global::Gtk.Fixed (); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; this.hbox9.Add (this.fixed7); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed7])); w39.Position = 2; this.vbox4.Add (this.hbox9); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox4.Add (this.hseparator2); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator2])); w41.Position = 2; w41.Expand = false; w41.Fill = false; w41.Padding = ((uint)(4)); // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.WidthRequest = 80; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; // Container child button1.Gtk.Container+ContainerChild global::Gtk.Alignment w42 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w43 = new global::Gtk.HBox (); w43.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w44 = new global::Gtk.Image (); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-quit", global::Gtk.IconSize.Menu); w43.Add (w44); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w46 = new global::Gtk.Label (); w46.LabelProp = global::Mono.Unix.Catalog.GetString ("Done"); w46.UseUnderline = true; w43.Add (w46); w42.Add (w43); this.button1.Add (w42); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w50.PackType = ((global::Gtk.PackType)(1)); w50.Position = 0; w50.Expand = false; w50.Fill = false; w50.Padding = ((uint)(6)); this.vbox4.Add (this.hbox2); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w51.Position = 3; w51.Expand = false; w51.Fill = false; this.vbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox4])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.vbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w53.Position = 2; w53.Expand = false; w53.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.statusbar1.HasResizeGrip = false; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w54.Position = 3; w54.Expand = false; w54.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 652; this.DefaultHeight = 612; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.LoadPrefsAction.Activated += new global::System.EventHandler (this.OnLoadPrefsActionActivated); this.SavePrefsAction.Activated += new global::System.EventHandler (this.OnSavePrefsActionActivated); this.QuitAction.Activated += new global::System.EventHandler (this.onFileQuit_clicked); this.UserDetailsAction.Activated += new global::System.EventHandler (this.onEditUserDetails_clicked); this.PreferencesAction.Activated += new global::System.EventHandler (this.onEditPreferences_clicked); this.KeyAction.Activated += new global::System.EventHandler (this.onGenerateKey_clicked); this.CertificateAction.Activated += new global::System.EventHandler (this.onGenerateCertificate_clicked); this.ClearStatusBarAction.Activated += new global::System.EventHandler (this.OnClearStatusBarActionActivated); this.rubbishAction.Activated += new global::System.EventHandler (this.OnRubbishActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.StripPassphraseAction.Activated += new global::System.EventHandler (this.OnStripPassphraseActionActivated); this.WorkingDirectoryAction.Activated += new global::System.EventHandler (this.OnWorkingDirectoryActionActivated); this.ViewCertificateAction.Activated += new global::System.EventHandler (this.OnViewCertificateActionActivated); this.CheckDiskAction.Activated += new global::System.EventHandler (this.OnCheckDiskActionActivated); this.ebCommonName.Changed += new global::System.EventHandler (this.OnEbCommonNameChanged); this.btnGenerateCert.Clicked += new global::System.EventHandler (this.onGenerateCertificate_clicked); this.button1.Clicked += new global::System.EventHandler (this.onMainWinDone_clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget escuela_manejo.Security_forms.SecurityAdmin this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UsuariosAction = new global::Gtk.Action("UsuariosAction", global::Mono.Unix.Catalog.GetString("Usuarios"), null, null); this.UsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Usuarios"); w1.Add(this.UsuariosAction, null); this.RolesAction = new global::Gtk.Action("RolesAction", global::Mono.Unix.Catalog.GetString("Roles"), null, null); this.RolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Roles"); w1.Add(this.RolesAction, null); this.OpcionesAction = new global::Gtk.Action("OpcionesAction", global::Mono.Unix.Catalog.GetString("Opciones"), null, null); this.OpcionesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Opciones"); w1.Add(this.OpcionesAction, null); this.AgregarAction = new global::Gtk.Action("AgregarAction", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction, null); this.ModificarYEliminarAction = new global::Gtk.Action("ModificarYEliminarAction", global::Mono.Unix.Catalog.GetString("Modificar y Eliminar"), null, null); this.ModificarYEliminarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y Eliminar"); w1.Add(this.ModificarYEliminarAction, null); this.AgregarAction1 = new global::Gtk.Action("AgregarAction1", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction1, null); this.ModificarYEliminarAction1 = new global::Gtk.Action("ModificarYEliminarAction1", global::Mono.Unix.Catalog.GetString("Modificar y eliminar"), null, null); this.ModificarYEliminarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y eliminar"); w1.Add(this.ModificarYEliminarAction1, null); this.AgregarAction2 = new global::Gtk.Action("AgregarAction2", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction2, null); this.ModificarYEliminarAction2 = new global::Gtk.Action("ModificarYEliminarAction2", global::Mono.Unix.Catalog.GetString("Modificar y eliminar"), null, null); this.ModificarYEliminarAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y eliminar"); w1.Add(this.ModificarYEliminarAction2, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "escuela_manejo.Security_forms.SecurityAdmin"; this.Title = global::Mono.Unix.Catalog.GetString("SecurityMain"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child escuela_manejo.Security_forms.SecurityAdmin.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='UsuariosAction' action='UsuariosAction'><menuitem name='AgregarAction' action='AgregarAction'/><menuitem name='ModificarYEliminarAction' action='ModificarYEliminarAction'/></menu><menu name='RolesAction' action='RolesAction'><menuitem name='AgregarAction1' action='AgregarAction1'/><menuitem name='ModificarYEliminarAction1' action='ModificarYEliminarAction1'/></menu><menu name='OpcionesAction' action='OpcionesAction'><menuitem name='AgregarAction2' action='AgregarAction2'/><menuitem name='ModificarYEliminarAction2' action='ModificarYEliminarAction2'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.fixed1.Add(this.menubar1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.menubar1])); w2.X = -2; w2.Y = 3; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 463; this.DefaultHeight = 300; this.Show(); this.AgregarAction.Activated += new global::System.EventHandler(this.OnButtonAddUserClicked); this.ModificarYEliminarAction.Activated += new global::System.EventHandler(this.OnButtonModifyUserClicked); this.AgregarAction1.Activated += new global::System.EventHandler(this.OnButtonAddRolClicked); }