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.clearAction = new global::Gtk.Action ("clearAction", global::Mono.Unix.Catalog.GetString ("_Limpiar"), null, "gtk-clear"); this.clearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Limpiar"); w1.Add (this.clearAction, null); this.editAction = new global::Gtk.Action ("editAction", global::Mono.Unix.Catalog.GetString ("_Editar"), null, "gtk-edit"); this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Editar"); w1.Add (this.editAction, null); this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); w1.Add (this.refreshAction, null); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, 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><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='editAction' action='editAction'/><toolitem name='clearAction' action='clearAction'/><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.GtkScrolledWindow.Add (this.treeView); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w4.Position = 2; 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.clearAction.Activated += new global::System.EventHandler (this.OnClearActionActivated); this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); }
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><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 w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Categoría"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboBox = new global::Gtk.ComboBox (); this.comboBox.Name = "comboBox"; this.hbox1.Add (this.comboBox); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboBox])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.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); }
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.c_RegenerateAction = new global::Gtk.Action ("c_RegenerateAction", null, "Regenerate MonoDevelop Projects", "regenerate"); w1.Add (this.c_RegenerateAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "Module Manager"; this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.c_VerticalBox1 = new global::Gtk.VBox (); this.c_VerticalBox1.Name = "c_VerticalBox1"; // Container child c_VerticalBox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='c_Toolbar'><toolitem name='c_RegenerateAction' action='c_RegenerateAction'/><separator/></toolbar></ui>"); this.c_Toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/c_Toolbar"))); this.c_Toolbar.Name = "c_Toolbar"; this.c_Toolbar.ShowArrow = false; this.c_Toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.c_Toolbar.IconSize = ((global::Gtk.IconSize)(1)); this.c_VerticalBox1.Add (this.c_Toolbar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.c_Toolbar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child c_VerticalBox1.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.c_ProjectTreeView = new global::Gtk.TreeView (); this.c_ProjectTreeView.CanFocus = true; this.c_ProjectTreeView.Name = "c_ProjectTreeView"; this.GtkScrolledWindow.Add (this.c_ProjectTreeView); this.c_VerticalBox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.GtkScrolledWindow])); w4.Position = 1; // Container child c_VerticalBox1.Gtk.Box+BoxChild this.c_CreateMessageLabel = new global::Gtk.Label (); this.c_CreateMessageLabel.Name = "c_CreateMessageLabel"; this.c_CreateMessageLabel.Xpad = 10; this.c_CreateMessageLabel.Ypad = 5; this.c_CreateMessageLabel.Xalign = 0F; this.c_VerticalBox1.Add (this.c_CreateMessageLabel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.c_VerticalBox1 [this.c_CreateMessageLabel])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.c_VerticalBox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 479; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget gtktest.DataListWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w2.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open"); w2.Add (this.openAction, null); this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete"); w2.Add (this.deleteAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w2.Add (this.saveAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "gtktest.DataListWidget"; // Container child gtktest.DataListWidget.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><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='saveAction' action='saveAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 0; 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.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add (this.treeview1); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.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 w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); }
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.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w1.Add (this.editAction, 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><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/><toolitem name='editAction' action='editAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w3.Position = 1; // 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.treeview = new global::Gtk.TreeView (); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.GtkScrolledWindow.Add (this.treeview); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.Position = 2; 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); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("_Añadir"), null, "gtk-add"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Añadir"); w1.Add (this.newAction, null); this.editAction = new global::Gtk.Action ("editAction", global::Mono.Unix.Catalog.GetString ("_Editar"), null, "gtk-edit"); this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Editar"); w1.Add (this.editAction, 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><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='editAction' action='editAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Notebook tab global::Gtk.Label w3 = new global::Gtk.Label (); w3.Visible = true; this.notebook.Add (w3); this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebook.SetTabLabel (w3, this.label1); this.label1.ShowAll (); this.vbox2.Add (this.notebook); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook])); w4.Position = 1; 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); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget PArticulo.ListArticuloView Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); w2.Add (this.refreshAction, null); this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); w2.Add (this.addAction, null); this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete"); w2.Add (this.deleteAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w2.Add (this.editAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "PArticulo.ListArticuloView"; // Container child PArticulo.ListArticuloView.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><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='addAction' action='addAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='editAction' action='editAction'/></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 = 0; 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.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.GtkScrolledWindow.Add (this.treeView); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated); this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget UI.ToolBarView Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.tool2 = new global::Gtk.RadioAction ("tool2", global::Mono.Unix.Catalog.GetString ("tool2"), null, "gtk-yes", 0); this.tool2.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.tool2.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool2"); w2.Add (this.tool2, null); this.tool1 = new global::Gtk.RadioAction ("tool1", global::Mono.Unix.Catalog.GetString ("tool1"), null, "gtk-cancel", 0); this.tool1.Group = this.tool2.Group; this.tool1.ShortLabel = global::Mono.Unix.Catalog.GetString ("tool1"); w2.Add (this.tool1, null); this.connectedTool = new global::Gtk.RadioAction ("connectedTool", global::Mono.Unix.Catalog.GetString ("_Connected"), null, "gtk-yes", 0); this.connectedTool.Group = this.tool1.Group; this.connectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Connected"); w2.Add (this.connectedTool, null); this.unconnectedTool = new global::Gtk.RadioAction ("unconnectedTool", global::Mono.Unix.Catalog.GetString ("_Unconencted"), null, "gtk-cancel", 0); this.unconnectedTool.Group = this.connectedTool.Group; this.unconnectedTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Unconencted"); w2.Add (this.unconnectedTool, null); this.momentTool = new global::Gtk.RadioAction ("momentTool", global::Mono.Unix.Catalog.GetString ("_Moment"), null, "gtk-refresh", 0); this.momentTool.Group = this.unconnectedTool.Group; this.momentTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Moment"); w2.Add (this.momentTool, null); this.forceTool = new global::Gtk.RadioAction ("forceTool", global::Mono.Unix.Catalog.GetString ("_Force"), null, "gtk-redo", 0); this.forceTool.Group = this.unconnectedTool.Group; this.forceTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Force"); w2.Add (this.forceTool, null); this.selectionTool = new global::Gtk.RadioAction ("selectionTool", global::Mono.Unix.Catalog.GetString ("_Selection"), null, "gtk-add", 0); this.selectionTool.Group = this.unconnectedTool.Group; this.selectionTool.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Selection"); w2.Add (this.selectionTool, null); this.jointTool = new global::Gtk.RadioAction ("jointTool", null, null, "gtk-home", 0); this.jointTool.Group = this.unconnectedTool.Group; w2.Add (this.jointTool, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "UI.ToolBarView"; // Container child UI.ToolBarView.Gtk.Container+ContainerChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar4'><toolitem name='connectedTool' action='connectedTool'/><toolitem name='unconnectedTool' action='unconnectedTool'/><toolitem name='momentTool' action='momentTool'/><toolitem name='forceTool' action='forceTool'/><toolitem name='selectionTool' action='selectionTool'/><toolitem name='jointTool' action='jointTool'/></toolbar></ui>"); this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4"))); this.toolbar4.Name = "toolbar4"; this.toolbar4.ShowArrow = false; this.Add (this.toolbar4); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); }
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.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); w1.Add (this.refreshAction, null); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='buttonAddArticulo'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='newAction' action='newAction'/></toolbar></ui>"); this.buttonAddArticulo = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/buttonAddArticulo"))); this.buttonAddArticulo.Name = "buttonAddArticulo"; this.buttonAddArticulo.ShowArrow = false; this.vbox3.Add (this.buttonAddArticulo); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonAddArticulo])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeViewArticulo = new global::Gtk.TreeView (); this.treeViewArticulo.CanFocus = true; this.treeViewArticulo.Name = "treeViewArticulo"; this.GtkScrolledWindow.Add (this.treeViewArticulo); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w4.Position = 1; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 469; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.refreshAction.Activated += new global::System.EventHandler (this.onClick); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); }
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.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w1.Add (this.editAction, null); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, null); this.editAction1 = new global::Gtk.Action ("editAction1", null, null, "gtk-edit"); w1.Add (this.editAction1, null); this.deleteAction = new global::Gtk.Action ("deleteAction", null, null, "gtk-delete"); w1.Add (this.deleteAction, null); this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); w1.Add (this.refreshAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox (); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar'/></ui>"); this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar"))); this.toolbar.Name = "toolbar"; this.toolbar.ShowArrow = false; this.vbox.Add (this.toolbar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox [this.toolbar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = -1; this.vbox.Add (this.notebook2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.notebook2])); w3.Position = 1; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 485; this.DefaultHeight = 330; 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.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><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 w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.mywidget1 = new global::PGtkArray.MyWidget (); this.mywidget1.Events = ((global::Gdk.EventMask)(256)); this.mywidget1.Name = "mywidget1"; this.vbox1.Add (this.mywidget1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.mywidget1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.arrayButton = new global::Serpis.Ed.ArrayButton (); this.arrayButton.Events = ((global::Gdk.EventMask)(256)); this.arrayButton.Name = "arrayButton"; this.arrayButton.Rows = 9; this.arrayButton.Columns = 10; this.vbox1.Add (this.arrayButton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.arrayButton])); w4.Position = 2; 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); }
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 LampManager.ApacheStatusPanel Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.refreshAction = new global::Gtk.Action ("refreshAction", null, global::Mono.Unix.Catalog.GetString ("Refresh"), "gtk-refresh"); w2.Add (this.refreshAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "LampManager.ApacheStatusPanel"; // Container child LampManager.ApacheStatusPanel.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><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.toolbar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.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.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.Editable = false; this.scrolledwindow2.Add (this.textview1); this.vbox2.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow2])); w5.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefresh); }
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.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); w1.Add (this.goForwardAction, 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><toolbar name='toolbar1'><toolitem name='goForwardAction' action='goForwardAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.entryNumero = new global::Gtk.Entry (); this.entryNumero.CanFocus = true; this.entryNumero.Name = "entryNumero"; this.entryNumero.IsEditable = true; this.entryNumero.InvisibleChar = '•'; this.vbox1.Add (this.entryNumero); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entryNumero])); w3.Position = 1; w3.Expand = false; w3.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); }
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.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'/></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox3.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.GtkScrolledWindow.Add (this.treeView); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w4.Position = 1; this.Add (this.vbox3); 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.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("Propiedades"), global::Mono.Unix.Catalog.GetString ("Propiedades"), "gtk-properties"); this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Propiedades"); w1.Add (this.propertiesAction, 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><toolbar name='toolbar1'><toolitem name='propertiesAction' action='propertiesAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.mainVBox.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVBox [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child mainVBox.Gtk.Box+BoxChild this.comboBox = new global::Gtk.ComboBox (); this.comboBox.Name = "comboBox"; this.mainVBox.Add (this.comboBox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVBox [this.comboBox])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add (this.mainVBox); 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.executeAction = new global::Gtk.Action ("executeAction", global::Mono.Unix.Catalog.GetString ("Ejecutar"), null, "gtk-execute"); this.executeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Ejecutar"); w1.Add (this.executeAction, 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><toolbar name='toolbar1'><toolitem name='executeAction' action='executeAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; 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.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget bCalc.ExibeContas this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.saveAction = new global::Gtk.Action ( "saveAction", null, global::Mono.Unix.Catalog.GetString("Salvar em um arquivo"), "gtk-save" ); w1.Add (this.saveAction, null); this.clearAction = new global::Gtk.Action ( "clearAction", null, global::Mono.Unix.Catalog.GetString("Limpar tudo"), "gtk-clear" ); w1.Add (this.clearAction, null); this.quitAction = new global::Gtk.Action ( "quitAction", null, global::Mono.Unix.Catalog.GetString("Fechar essa janela"), "gtk-quit" ); w1.Add (this.quitAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "bCalc.ExibeContas"; this.Title = global::Mono.Unix.Catalog.GetString ("Histórico de operações"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.FocusOnMap = false; // Container child bCalc.ExibeContas.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.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/><toolitem name='clearAction' action='clearAction'/><toolitem name='quitAction' action='quitAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w3.Position = 0; 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.Contas = new global::Gtk.TextView (); this.Contas.CanFocus = true; this.Contas.Name = "Contas"; this.Contas.Editable = false; this.Contas.CursorVisible = false; this.GtkScrolledWindow.Add (this.Contas); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.Position = 1; // 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.botaoFechar = new global::Gtk.Button (); this.botaoFechar.WidthRequest = 150; this.botaoFechar.CanFocus = true; this.botaoFechar.Name = "botaoFechar"; this.botaoFechar.UseUnderline = true; this.botaoFechar.BorderWidth = ((uint)(4)); // Container child botaoFechar.Gtk.Container+ContainerChild global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w7 = new global::Gtk.HBox (); w7.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w8 = new global::Gtk.Image (); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon ( this, "gtk-close", global::Gtk.IconSize.Menu ); w7.Add (w8); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w10 = new global::Gtk.Label (); w10.LabelProp = global::Mono.Unix.Catalog.GetString ("Fechar"); w10.UseUnderline = true; w7.Add (w10); w6.Add (w7); this.botaoFechar.Add (w6); this.hbox1.Add (this.botaoFechar); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.botaoFechar])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 0; 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.PackType = ((global::Gtk.PackType)(1)); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 474; this.DefaultHeight = 287; this.Show (); this.saveAction.Activated += new global::System.EventHandler (this.Salvar); this.clearAction.Activated += new global::System.EventHandler (this.Limpar); this.quitAction.Activated += new global::System.EventHandler (this.Fechar); this.botaoFechar.Clicked += new global::System.EventHandler (this.Fechar); }
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.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open"); w1.Add (this.openAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as"); w1.Add (this.saveAsAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("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><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/></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 w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 400; // Container child vpaned1.Gtk.Paned+PanedChild this.moonAreaContainer = new global::Gtk.EventBox (); this.moonAreaContainer.Name = "moonAreaContainer"; this.vpaned1.Add (this.moonAreaContainer); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.moonAreaContainer])); w3.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add (this.scrolledwindow1); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w5.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 w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 735; this.DefaultHeight = 640; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); }
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 MonoReports.Gui.Widgets.MainDesignView Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.executeAction = new global::Gtk.Action ("executeAction", null, null, "gtk-execute"); w2.Add (this.executeAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoReports.Gui.Widgets.MainDesignView"; // Container child MonoReports.Gui.Widgets.MainDesignView.Gtk.Container+ContainerChild this.mainNotebook = new global::Gtk.Notebook (); this.mainNotebook.CanFocus = true; this.mainNotebook.Events = ((global::Gdk.EventMask)(52992)); this.mainNotebook.Name = "mainNotebook"; this.mainNotebook.CurrentPage = 2; // Container child mainNotebook.Gtk.Notebook+NotebookChild this.designScrolledWindow = new global::Gtk.ScrolledWindow (); this.designScrolledWindow.CanFocus = true; this.designScrolledWindow.Name = "designScrolledWindow"; this.designScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child designScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport (); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.drawingarea = new global::Gtk.DrawingArea (); this.drawingarea.CanFocus = true; this.drawingarea.Events = ((global::Gdk.EventMask)(69382)); this.drawingarea.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.drawingarea.Name = "drawingarea"; w3.Add (this.drawingarea); this.designScrolledWindow.Add (w3); this.mainNotebook.Add (this.designScrolledWindow); // Notebook tab this.designTitleLabel = new global::Gtk.Label (); this.designTitleLabel.Name = "designTitleLabel"; this.designTitleLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("desing"); this.mainNotebook.SetTabLabel (this.designScrolledWindow, this.designTitleLabel); this.designTitleLabel.ShowAll (); // Container child mainNotebook.Gtk.Notebook+NotebookChild this.previewVbox = new global::Gtk.VBox (); this.previewVbox.Name = "previewVbox"; this.previewVbox.Spacing = 6; // Container child previewVbox.Gtk.Box+BoxChild this.previewScrolledWindow = new global::Gtk.ScrolledWindow (); this.previewScrolledWindow.CanFocus = true; this.previewScrolledWindow.Name = "previewScrolledWindow"; this.previewScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child previewScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w7 = new global::Gtk.Viewport (); w7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.previewDrawingArea = new global::Gtk.DrawingArea (); this.previewDrawingArea.Events = ((global::Gdk.EventMask)(774)); this.previewDrawingArea.Name = "previewDrawingArea"; w7.Add (this.previewDrawingArea); this.previewScrolledWindow.Add (w7); this.previewVbox.Add (this.previewScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.previewVbox [this.previewScrolledWindow])); w10.Position = 0; // Container child previewVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='previewToolbar'/></ui>"); this.previewToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/previewToolbar"))); this.previewToolbar.Name = "previewToolbar"; this.previewToolbar.ShowArrow = false; this.previewVbox.Add (this.previewToolbar); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.previewVbox [this.previewToolbar])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.mainNotebook.Add (this.previewVbox); global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.mainNotebook [this.previewVbox])); w12.Position = 1; // Notebook tab this.previewTitleLabel = new global::Gtk.Label (); this.previewTitleLabel.Name = "previewTitleLabel"; this.previewTitleLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("preview"); this.mainNotebook.SetTabLabel (this.previewVbox, this.previewTitleLabel); this.previewTitleLabel.ShowAll (); // Container child mainNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 399; // Container child vpaned1.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.codeTextview = new global::Gtk.TextView (); this.codeTextview.CanFocus = true; this.codeTextview.Name = "codeTextview"; this.GtkScrolledWindow.Add (this.codeTextview); this.vpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w14 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow])); w14.Resize = false; // Container child vpaned1.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.outputTextview = new global::Gtk.TextView (); this.outputTextview.CanFocus = true; this.outputTextview.Name = "outputTextview"; this.GtkScrolledWindow1.Add (this.outputTextview); this.vpaned1.Add (this.GtkScrolledWindow1); this.vbox2.Add (this.vpaned1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w17.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='executeAction' action='executeAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.mainNotebook.Add (this.vbox2); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.mainNotebook [this.vbox2])); w19.Position = 2; // Notebook tab this.datasourceLabel = new global::Gtk.Label (); this.datasourceLabel.Name = "datasourceLabel"; this.datasourceLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("datasource"); this.mainNotebook.SetTabLabel (this.vbox2, this.datasourceLabel); this.datasourceLabel.ShowAll (); this.Add (this.mainNotebook); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.mainNotebook.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnMainNotebookSwitchPage); this.drawingarea.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnDrawingareaButtonPressEvent); this.drawingarea.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnDrawingareaButtonReleaseEvent); this.drawingarea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler (this.OnDrawingareaMotionNotifyEvent); this.drawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingareaExposeEvent); this.drawingarea.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnDrawingareaKeyPressEvent); this.drawingarea.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnDrawingareaKeyReleaseEvent); this.previewDrawingArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnPreviewDrawingareaExposeEvent); this.previewDrawingArea.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnDrawingareaButtonPressEvent); this.previewDrawingArea.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnDrawingareaButtonReleaseEvent); this.previewDrawingArea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler (this.OnDrawingareaMotionNotifyEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PCategoria.CategoriaView this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.saveCategoria = new global::Gtk.Action ("saveCategoria", null, null, "gtk-save"); w1.Add (this.saveCategoria, null); this.Action = new global::Gtk.Action ("Action", null, null, null); w1.Add (this.Action, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "PCategoria.CategoriaView"; this.Title = global::Mono.Unix.Catalog.GetString ("CategoriaView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child PCategoria.CategoriaView.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><toolbar name='toolbar2'><toolitem name='saveCategoria' action='saveCategoria'/><toolitem name='Action' action='Action'/></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 w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryCategoriaNombre = new global::Gtk.Entry (); this.entryCategoriaNombre.CanFocus = true; this.entryCategoriaNombre.Name = "entryCategoriaNombre"; this.entryCategoriaNombre.IsEditable = true; this.entryCategoriaNombre.InvisibleChar = '•'; this.table1.Add (this.entryCategoriaNombre); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryCategoriaNombre])); 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre de Categoria"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 315; this.DefaultHeight = 87; this.Show (); this.saveCategoria.Activated += new global::System.EventHandler (this.onSaveCategoriaActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PCategoria.CategoriaView this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "PCategoria.CategoriaView"; this.Title = global::Mono.Unix.Catalog.GetString ("CategoriaView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child PCategoria.CategoriaView.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><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryNombre = new global::Gtk.Entry (); this.entryNombre.CanFocus = true; this.entryNombre.Name = "entryNombre"; this.entryNombre.IsEditable = true; this.entryNombre.InvisibleChar = '•'; this.hbox1.Add (this.entryNombre); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryNombre])); w4.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 121; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BoletoXV.SeleccaoRemessa this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.okAction = new global::Gtk.Action ("okAction", null, null, "gtk-ok"); w1.Add (this.okAction, null); this.printAction = new global::Gtk.Action ("printAction", null, null, "gtk-print"); w1.Add (this.printAction, null); this.removeAction = new global::Gtk.Action ("removeAction", null, null, "gtk-remove"); w1.Add (this.removeAction, null); this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); w1.Add (this.goForwardAction, null); this.undoAction = new global::Gtk.Action ("undoAction", null, null, "gtk-undo"); w1.Add (this.undoAction, null); this.yesAction = new global::Gtk.Action ("yesAction", null, null, "gtk-yes"); w1.Add (this.yesAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "BoletoXV.SeleccaoRemessa"; this.Title = global::Mono.Unix.Catalog.GetString ("Seleção para Remessa"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child BoletoXV.SeleccaoRemessa.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar1'><toolitem name='okAction' action='okAction'/><separator/><toolitem name='removeAction' action='removeAction'/><separator/><toolitem name='undoAction' action='undoAction'/><separator/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='printAction' action='printAction'/><separator/></toolbar></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 w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.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 ("Data de Vencimento"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.hbox2.Add (this.entry1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry1])); w4.Position = 1; w4.Expand = false; this.vbox5.Add (this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; this.vbox4.Add (this.vbox5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox5])); w6.Position = 1; w6.Expand = false; w6.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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Razão Social"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.combobox1 = global::Gtk.ComboBox.NewText (); this.combobox1.Name = "combobox1"; this.hbox1.Add (this.combobox1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combobox1])); w8.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 ("Buscar"); global::Gtk.Image w9 = new global::Gtk.Image (); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu); this.button1.Image = w9; this.hbox1.Add (this.button1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox4.Add (this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.vbox1.Add (this.vbox4); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview = new global::Gtk.TreeView (); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.GtkScrolledWindow.Add (this.treeview); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w14.Position = 0; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w15.Position = 1; // 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.statusbar2 = new global::Gtk.Statusbar (); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vbox3.Add (this.statusbar2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.statusbar2])); w16.Position = 0; w16.Expand = false; w16.Fill = false; this.vbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 627; this.DefaultHeight = 362; this.Show (); }
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 vocab.LessonOverviewView Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); this.addAction.IsImportant = true; w2.Add (this.addAction, null); this.removeAction = new global::Gtk.Action ("removeAction", global::Mono.Unix.Catalog.GetString ("_Remove"), null, "gtk-remove"); this.removeAction.IsImportant = true; this.removeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Remove"); w2.Add (this.removeAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); this.editAction.IsImportant = true; w2.Add (this.editAction, null); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play"); this.mediaPlayAction.IsImportant = true; w2.Add (this.mediaPlayAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "vocab.LessonOverviewView"; // Container child vocab.LessonOverviewView.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><toolbar name='toolbar3'><toolitem name='editAction' action='editAction'/><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='mediaPlayAction' action='mediaPlayAction'/></toolbar></ui>"); this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar3"))); this.toolbar3.Name = "toolbar3"; this.toolbar3.ShowArrow = false; this.vbox3.Add (this.toolbar3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.nodeview3 = new global::Gtk.NodeView (); this.nodeview3.CanFocus = true; this.nodeview3.Events = ((global::Gdk.EventMask)(256)); this.nodeview3.Name = "nodeview3"; this.nodeview3.Reorderable = true; this.nodeview3.RulesHint = true; this.nodeview3.SearchColumn = 0; this.GtkScrolledWindow.Add (this.nodeview3); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow])); w5.Position = 1; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); this.removeAction.Activated += new global::System.EventHandler (this.OnRemoveActionActivated); this.editAction.Activated += new global::System.EventHandler (this.OnEditActionActivated); this.mediaPlayAction.Activated += new global::System.EventHandler (this.OnMediaPlayActionActivated); this.nodeview3.RowActivated += new global::Gtk.RowActivatedHandler (this.OnNodeview3RowActivated); this.nodeview3.CursorChanged += new global::System.EventHandler (this.OnNodeview3CursorChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PArticulo.ArticuloView this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.refreshAction = new global::Gtk.Action ("refreshAction", null, null, "gtk-refresh"); w1.Add (this.refreshAction, null); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "PArticulo.ArticuloView"; this.Title = global::Mono.Unix.Catalog.GetString ("ArticuloView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child PArticulo.ArticuloView.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><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/><toolitem name='newAction' action='newAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.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.comboBoxCategoria = global::Gtk.ComboBox.NewText (); this.comboBoxCategoria.Name = "comboBoxCategoria"; this.table1.Add (this.comboBoxCategoria); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboBoxCategoria])); 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.entryNombre = new global::Gtk.Entry (); this.entryNombre.CanFocus = true; this.entryNombre.Name = "entryNombre"; this.entryNombre.IsEditable = true; this.entryNombre.InvisibleChar = '•'; this.table1.Add (this.entryNombre); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre])); 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 ("Categoría"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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 ("Precio"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinButtonPrecio = new global::Gtk.SpinButton (0, 1000000, 1); this.spinButtonPrecio.CanFocus = true; this.spinButtonPrecio.Name = "spinButtonPrecio"; this.spinButtonPrecio.Adjustment.PageIncrement = 10; this.spinButtonPrecio.ClimbRate = 1; this.spinButtonPrecio.Digits = ((uint)(2)); this.spinButtonPrecio.Numeric = true; this.table1.Add (this.spinButtonPrecio); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinButtonPrecio])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 887; this.DefaultHeight = 300; this.Show (); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.WebReferences.Dialogs.WebReferenceDialog this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.btnBack = new global::Gtk.Action ("btnBack", null, global::Mono.Unix.Catalog.GetString ("Go back one page"), "gtk-go-back"); w1.Add (this.btnBack, null); this.btnNext = new global::Gtk.Action ("btnNext", null, global::Mono.Unix.Catalog.GetString ("Go forward one page"), "gtk-go-forward"); w1.Add (this.btnNext, null); this.btnRefresh = new global::Gtk.Action ("btnRefresh", null, global::Mono.Unix.Catalog.GetString ("Reload current page"), "gtk-refresh"); w1.Add (this.btnRefresh, null); this.btnStop = new global::Gtk.Action ("btnStop", null, global::Mono.Unix.Catalog.GetString ("Stop loading this page"), "gtk-stop"); w1.Add (this.btnStop, null); this.btnHome = new global::Gtk.Action ("btnHome", null, global::Mono.Unix.Catalog.GetString ("Go back to the home page"), "gtk-home"); w1.Add (this.btnHome, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Events = ((global::Gdk.EventMask)(256)); this.Name = "MonoDevelop.WebReferences.Dialogs.WebReferenceDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Add Web Reference"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.VBox global::Gtk.VBox w2 = this.VBox; w2.Events = ((global::Gdk.EventMask)(256)); w2.Name = "dlgWindow"; w2.BorderWidth = ((uint)(2)); // Container child dlgWindow.Gtk.Box+BoxChild this.vbxContainer = new global::Gtk.VBox (); this.vbxContainer.Name = "vbxContainer"; // Container child vbxContainer.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='tlbNavigate'><toolitem name='btnBack' action='btnBack'/><toolitem name='btnNext' action='btnNext'/><toolitem name='btnRefresh' action='btnRefresh'/><toolitem name='btnStop' action='btnStop'/><toolitem name='btnHome' action='btnHome'/></toolbar></ui>"); this.tlbNavigate = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tlbNavigate"))); this.tlbNavigate.Name = "tlbNavigate"; this.tlbNavigate.ShowArrow = false; this.tlbNavigate.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.tlbNavigate.IconSize = ((global::Gtk.IconSize)(2)); this.vbxContainer.Add (this.tlbNavigate); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tlbNavigate])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbxContainer.Gtk.Box+BoxChild this.tblWebReferenceUrl = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.tblWebReferenceUrl.Name = "tblWebReferenceUrl"; this.tblWebReferenceUrl.RowSpacing = ((uint)(6)); this.tblWebReferenceUrl.ColumnSpacing = ((uint)(6)); // Container child tblWebReferenceUrl.Gtk.Table+TableChild this.btnGO = new global::Gtk.Button (); this.btnGO.CanFocus = true; this.btnGO.Name = "btnGO"; this.btnGO.UseStock = true; this.btnGO.UseUnderline = true; this.btnGO.Label = "gtk-jump-to"; this.tblWebReferenceUrl.Add (this.btnGO); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.btnGO])); w4.LeftAttach = ((uint)(2)); w4.RightAttach = ((uint)(3)); w4.XPadding = ((uint)(4)); w4.YPadding = ((uint)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(0)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblWebReferenceUrl.Gtk.Table+TableChild this.lblWebServiceUrl = new global::Gtk.Label (); this.lblWebServiceUrl.Name = "lblWebServiceUrl"; this.lblWebServiceUrl.Xalign = 0F; this.lblWebServiceUrl.LabelProp = global::Mono.Unix.Catalog.GetString ("Web Service Url: "); this.tblWebReferenceUrl.Add (this.lblWebServiceUrl); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.lblWebServiceUrl])); w5.XPadding = ((uint)(4)); w5.YPadding = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblWebReferenceUrl.Gtk.Table+TableChild this.tbxReferenceURL = new global::Gtk.Entry (); this.tbxReferenceURL.CanFocus = true; this.tbxReferenceURL.Name = "tbxReferenceURL"; this.tbxReferenceURL.IsEditable = true; this.tbxReferenceURL.InvisibleChar = '●'; this.tblWebReferenceUrl.Add (this.tbxReferenceURL); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.tbxReferenceURL])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxContainer.Add (this.tblWebReferenceUrl); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tblWebReferenceUrl])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbxContainer.Gtk.Box+BoxChild this.frmBrowser = new global::Gtk.Frame (); this.frmBrowser.Name = "frmBrowser"; this.frmBrowser.ShadowType = ((global::Gtk.ShadowType)(0)); this.frmBrowser.LabelYalign = 0F; this.vbxContainer.Add (this.frmBrowser); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.frmBrowser])); w8.Position = 2; // Container child vbxContainer.Gtk.Box+BoxChild this.tblReferenceName = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.tblReferenceName.Name = "tblReferenceName"; this.tblReferenceName.RowSpacing = ((uint)(4)); this.tblReferenceName.ColumnSpacing = ((uint)(4)); this.tblReferenceName.BorderWidth = ((uint)(9)); // Container child tblReferenceName.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.comboModel = global::Gtk.ComboBox.NewText (); this.comboModel.AppendText (global::Mono.Unix.Catalog.GetString ("Windows Communication Foundation (WCF)")); this.comboModel.AppendText (global::Mono.Unix.Catalog.GetString (".NET 2.0 Web Services")); this.comboModel.Name = "comboModel"; this.comboModel.Active = 0; this.hbox1.Add (this.comboModel); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboModel])); w9.Position = 0; w9.Expand = false; w9.Fill = false; this.tblReferenceName.Add (this.hbox1); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.hbox1])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblReferenceName.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 ("Framework:"); this.tblReferenceName.Add (this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblReferenceName.Gtk.Table+TableChild this.lblNamespace = new global::Gtk.Label (); this.lblNamespace.Name = "lblNamespace"; this.lblNamespace.Xalign = 0F; this.lblNamespace.LabelProp = global::Mono.Unix.Catalog.GetString ("Namespace: "); this.tblReferenceName.Add (this.lblNamespace); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.lblNamespace])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblReferenceName.Gtk.Table+TableChild this.lblReference = new global::Gtk.Label (); this.lblReference.Name = "lblReference"; this.lblReference.Xalign = 0F; this.lblReference.LabelProp = global::Mono.Unix.Catalog.GetString ("Reference: "); this.tblReferenceName.Add (this.lblReference); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.lblReference])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblReferenceName.Gtk.Table+TableChild this.tbxNamespace = new global::Gtk.Entry (); this.tbxNamespace.Sensitive = false; this.tbxNamespace.CanFocus = true; this.tbxNamespace.Name = "tbxNamespace"; this.tbxNamespace.IsEditable = true; this.tbxNamespace.InvisibleChar = '●'; this.tblReferenceName.Add (this.tbxNamespace); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.tbxNamespace])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblReferenceName.Gtk.Table+TableChild this.tbxReferenceName = new global::Gtk.Entry (); this.tbxReferenceName.CanFocus = true; this.tbxReferenceName.Name = "tbxReferenceName"; this.tbxReferenceName.IsEditable = true; this.tbxReferenceName.InvisibleChar = '●'; this.tblReferenceName.Add (this.tbxReferenceName); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.tbxReferenceName])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbxContainer.Add (this.tblReferenceName); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tblReferenceName])); w16.Position = 3; w16.Expand = false; w16.Fill = false; w2.Add (this.vbxContainer); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w2 [this.vbxContainer])); w17.Position = 0; // Internal child MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Events = ((global::Gdk.EventMask)(256)); w18.Name = "pnlActionArea"; w18.Spacing = 6; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.CanDefault = true; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseStock = true; this.btnCancel.UseUnderline = true; this.btnCancel.Label = "gtk-cancel"; this.AddActionWidget (this.btnCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnCancel])); w19.Expand = false; w19.Fill = false; // Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnOK = new global::Gtk.Button (); this.btnOK.CanDefault = true; this.btnOK.CanFocus = true; this.btnOK.Name = "btnOK"; this.btnOK.UseStock = true; this.btnOK.UseUnderline = true; this.btnOK.Label = "gtk-ok"; w18.Add (this.btnOK); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnOK])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 652; this.DefaultHeight = 509; this.Hide (); this.btnBack.Activated += new global::System.EventHandler (this.Browser_BackButtonClicked); this.btnNext.Activated += new global::System.EventHandler (this.Browser_NextButtonClicked); this.btnRefresh.Activated += new global::System.EventHandler (this.Browser_RefreshButtonClicked); this.btnStop.Activated += new global::System.EventHandler (this.Browser_StopButtonClicked); this.btnHome.Activated += new global::System.EventHandler (this.Browser_HomeButtonClicked); this.tbxReferenceURL.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.Browser_URLKeyReleased); this.btnGO.Clicked += new global::System.EventHandler (this.Browser_GoButtonClicked); this.comboModel.Changed += new global::System.EventHandler (this.OnComboModelChanged); this.btnOK.Clicked += new global::System.EventHandler (this.OnBtnOKClicked); }
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); }