protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Events = ((global::Gdk.EventMask)(2)); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(9)); // Container child MainWindow.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 552; // Container child hpaned1.Gtk.Paned+PanedChild this.drawingarea1 = new global::Gtk.DrawingArea (); this.drawingarea1.Name = "drawingarea1"; this.hpaned1.Add (this.drawingarea1); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.drawingarea1])); w1.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.colorbutton1 = new global::Gtk.ColorButton (); this.colorbutton1.CanFocus = true; this.colorbutton1.Events = ((global::Gdk.EventMask)(784)); this.colorbutton1.Name = "colorbutton1"; this.hpaned1.Add (this.colorbutton1); this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 702; this.DefaultHeight = 513; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Mono.Upnp.GtkClient.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.WidthRequest = 0; this.HeightRequest = 0; this.Name = "Mono.Upnp.GtkClient.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Mono.Upnp"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child Mono.Upnp.GtkClient.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.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 354; this.hpaned.BorderWidth = ((uint)(5)); // Container child hpaned.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.list = new global::Gtk.TreeView (); this.list.CanFocus = true; this.list.Name = "list"; this.GtkScrolledWindow.Add (this.list); this.hpaned.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.GtkScrolledWindow])); w3.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.infoBox = new global::Gtk.VBox (); this.infoBox.Name = "infoBox"; this.infoBox.Spacing = 6; // Container child infoBox.Gtk.Box+BoxChild this.infoFiller = new global::Gtk.Label (); this.infoFiller.Name = "infoFiller"; this.infoFiller.LabelProp = global::Mono.Unix.Catalog.GetString ("Select a device or service"); this.infoBox.Add (this.infoFiller); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.infoBox [this.infoFiller])); w4.Position = 0; w4.Fill = false; this.hpaned.Add (this.infoBox); this.vbox1.Add (this.hpaned); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned])); w6.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1077; this.DefaultHeight = 527; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Plugins.Stats.PlayersViewer global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Plugins.Stats.PlayersViewer"; // Container child LongoMatch.Plugins.Stats.PlayersViewer.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 123; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow2.Add (this.treeview1); this.hpaned1.Add (this.GtkScrolledWindow2); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow2])); w2.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.categoriesviewer = new global::LongoMatch.Plugins.Stats.PlayerCategoriesViewer (); this.categoriesviewer.Events = ((global::Gdk.EventMask)(256)); this.categoriesviewer.Name = "categoriesviewer"; this.hpaned1.Add (this.categoriesviewer); this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow 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.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 ("Find Music"); this.vbox1.Add (this.button1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button1])); w1.Position = 0; w1.Expand = false; w1.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 = 10; // Container child hpaned1.Gtk.Paned+PanedChild this.libraryviewer1 = new global::aPlay_GUI.LibraryViewer (); this.libraryviewer1.Events = ((global::Gdk.EventMask)(256)); this.libraryviewer1.Name = "libraryviewer1"; this.hpaned1.Add (this.libraryviewer1); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w3.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar3 = new global::Gtk.Statusbar (); this.statusbar3.Name = "statusbar3"; this.statusbar3.Spacing = 6; this.vbox1.Add (this.statusbar3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar3])); w4.Position = 2; w4.Expand = false; w4.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.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Plugins.Stats.CategoriesViewer global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Plugins.Stats.CategoriesViewer"; // Container child LongoMatch.Plugins.Stats.CategoriesViewer.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 185; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview = new global::Gtk.TreeView (); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.GtkScrolledWindow.Add (this.treeview); this.hpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w2.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow (); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport (); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.categoryviewer1 = new global::LongoMatch.Plugins.Stats.CategoryViewer (); this.categoryviewer1.Events = ((global::Gdk.EventMask)(256)); this.categoryviewer1.Name = "categoryviewer1"; this.categoryviewer1.HomeName = "A"; w3.Add (this.categoryviewer1); this.scrolledwindow3.Add (w3); this.hpaned1.Add (this.scrolledwindow3); this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("SharpTalk"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 210; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.HeadersVisible = false; this.GtkScrolledWindow.Add (this.treeview1); this.hpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w2.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = -1; this.hpaned1.Add (this.notebook2); this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 710; this.DefaultHeight = 383; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.treeview1.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.treeview1_ButtonPress); this.treeview1.RowActivated += new global::Gtk.RowActivatedHandler (this.treeview1_RowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("mDNS Browser"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("mDNSBrowser.avahi.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 215; // Container child hpaned1.Gtk.Paned+PanedChild this.nvServices = new global::Gtk.NodeView (); this.nvServices.CanFocus = true; this.nvServices.Name = "nvServices"; this.nvServices.EnableSearch = false; this.nvServices.HeadersVisible = false; this.hpaned1.Add (this.nvServices); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.nvServices])); w1.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.nvClients = new global::Gtk.NodeView (); this.nvClients.CanFocus = true; this.nvClients.Name = "nvClients"; this.hpaned1.Add (this.nvClients); this.Add (this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 728; this.DefaultHeight = 532; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget"; // Container child MonoDevelop.Database.Designer.PrimaryKeyConstraintEditorWidget.Gtk.Container+ContainerChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 293; // Container child hpaned.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.windowPK = new global::Gtk.ScrolledWindow (); this.windowPK.CanFocus = true; this.windowPK.Name = "windowPK"; this.windowPK.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child windowPK.Gtk.Container+ContainerChild this.listPK = new global::Gtk.TreeView (); this.listPK.CanFocus = true; this.listPK.Name = "listPK"; this.windowPK.Add (this.listPK); this.vbox3.Add (this.windowPK); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.windowPK])); w2.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox = new global::Gtk.HButtonBox (); this.hbuttonbox.Name = "hbuttonbox"; this.hbuttonbox.Spacing = 6; this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new global::Gtk.Button (); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.hbuttonbox.Add (this.buttonAdd); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.hbuttonbox.Add (this.buttonRemove); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbuttonbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned.Add (this.vbox3); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vbox3])); w6.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.columnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget (); this.columnSelecter.Sensitive = false; this.columnSelecter.CanFocus = true; this.columnSelecter.Name = "columnSelecter"; this.columnSelecter.ShadowType = ((global::Gtk.ShadowType)(1)); this.columnSelecter.SingleCheck = false; this.hpaned.Add (this.columnSelecter); this.Add (this.hpaned); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked); this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Component.AnalysisComponent Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "LongoMatch.Gui.Component.AnalysisComponent"; // Container child LongoMatch.Gui.Component.AnalysisComponent.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.lightbackgroundeventbox = new global::Gtk.EventBox (); this.lightbackgroundeventbox.Name = "lightbackgroundeventbox"; // Container child lightbackgroundeventbox.Gtk.Container+ContainerChild this.centralpane = new global::Gtk.VPaned (); this.centralpane.CanFocus = true; this.centralpane.Name = "centralpane"; this.centralpane.Position = 422; // Container child centralpane.Gtk.Paned+PanedChild this.uppane = new global::Gtk.HPaned (); this.uppane.CanFocus = true; this.uppane.Name = "uppane"; this.uppane.Position = 400; // Container child uppane.Gtk.Paned+PanedChild this.playsSelection = new global::LongoMatch.Gui.Component.PlaysSelectionWidget (); this.playsSelection.WidthRequest = 400; this.playsSelection.Events = ((global::Gdk.EventMask)(256)); this.playsSelection.Name = "playsSelection"; this.uppane.Add (this.playsSelection); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.uppane [this.playsSelection])); w3.Resize = false; // Container child uppane.Gtk.Paned+PanedChild this.videowidgetsbox = new global::Gtk.HBox (); this.videowidgetsbox.Name = "videowidgetsbox"; this.videowidgetsbox.Spacing = 6; // Container child videowidgetsbox.Gtk.Box+BoxChild this.playercapturer = new global::VAS.UI.PlayerCapturerBin (); this.playercapturer.Events = ((global::Gdk.EventMask)(256)); this.playercapturer.Name = "playercapturer"; this.videowidgetsbox.Add (this.playercapturer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.videowidgetsbox [this.playercapturer])); w4.Position = 0; this.uppane.Add (this.videowidgetsbox); this.centralpane.Add (this.uppane); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.centralpane [this.uppane])); w6.Resize = false; // Container child centralpane.Gtk.Paned+PanedChild this.codingwidget = new global::LongoMatch.Gui.Component.CodingWidget (); this.codingwidget.Events = ((global::Gdk.EventMask)(256)); this.codingwidget.Name = "codingwidget"; this.codingwidget.TagPositions = false; this.centralpane.Add (this.codingwidget); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.centralpane [this.codingwidget])); w7.Resize = false; this.lightbackgroundeventbox.Add (this.centralpane); this.hbox1.Add (this.lightbackgroundeventbox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lightbackgroundeventbox])); w9.Position = 0; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget labwork.cmdWindow this.Name = "labwork.cmdWindow"; this.Title = global::Mono.Unix.Catalog.GetString("cmdWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child labwork.cmdWindow.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.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.textview2 = new global::Gtk.TextView(); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.GtkScrolledWindow.Add(this.textview2); this.vbox8.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox8.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.hpaned7 = new global::Gtk.HPaned(); this.hpaned7.CanFocus = true; this.hpaned7.Name = "hpaned7"; this.hpaned7.Position = 10; this.hbox8.Add(this.hpaned7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.hpaned7])); w3.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseUnderline = true; this.button10.Label = global::Mono.Unix.Catalog.GetString("Выполнить запрос!"); this.hbox8.Add(this.button10); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button10])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hpaned6 = new global::Gtk.HPaned(); this.hpaned6.CanFocus = true; this.hpaned6.Name = "hpaned6"; this.hpaned6.Position = 10; this.hbox8.Add(this.hpaned6); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.hpaned6])); w5.Position = 2; this.vbox8.Add(this.hbox8); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox8])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox8.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.textview3 = new global::Gtk.TextView(); this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow1.Add(this.textview3); this.vbox8.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow1])); w8.Position = 2; this.Add(this.vbox8); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button10.Clicked += new global::System.EventHandler(this.OnButton10Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget XR.Baboon.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("Open Coverage DB"), null, "gtk-open"); this.openAction.HideIfEmpty = false; this.openAction.IsImportant = true; this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Coverage DB"); w1.Add(this.openAction, null); this.remapSourcePaths = new global::Gtk.Action("remapSourcePaths", global::Mono.Unix.Catalog.GetString("Set Source Paths"), global::Mono.Unix.Catalog.GetString("Alter the source search paths"), "gtk-preferences"); this.remapSourcePaths.ShortLabel = global::Mono.Unix.Catalog.GetString("Set Source Paths"); w1.Add(this.remapSourcePaths, null); this.openGcovAction = new global::Gtk.Action("openGcovAction", global::Mono.Unix.Catalog.GetString("Open GCov Project"), null, "gtk-open"); this.openGcovAction.HideIfEmpty = false; this.openGcovAction.IsImportant = true; this.openGcovAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open GCov Project"); w1.Add(this.openGcovAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "XR.Baboon.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("XR Baboon!"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 700; this.DefaultHeight = 440; // Container child XR.Baboon.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='openGcovAction' action='openGcovAction'/><toolitem name='remapSourcePaths' action='remapSourcePaths'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.TooltipMarkup = "Open a coverage database created by covem"; 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 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.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 240; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.itemtree = new global::Gtk.TreeView(); this.itemtree.CanFocus = true; this.itemtree.Name = "itemtree"; this.itemtree.EnableSearch = false; this.itemtree.HeadersVisible = false; this.GtkScrolledWindow.Add(this.itemtree); this.hpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = -1; this.notebook1.Scrollable = true; this.notebook1.BorderWidth = ((uint)(3)); this.hpaned1.Add(this.notebook1); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w6.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OpenCoverageFile); this.remapSourcePaths.Activated += new global::System.EventHandler(this.OnRemapAssemblySource); this.openGcovAction.Activated += new global::System.EventHandler(this.openGcovSelector); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog this.Name = "MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 424; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("_Category:"); this.label12.UseUnderline = true; this.hbox4.Add (this.label12); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label12])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.comboboxCategories = global::Gtk.ComboBox.NewText (); this.comboboxCategories.Name = "comboboxCategories"; this.hbox4.Add (this.comboboxCategories); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.comboboxCategories])); w3.Position = 1; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebookCategories = new global::Gtk.Notebook (); this.notebookCategories.CanFocus = true; this.notebookCategories.Name = "notebookCategories"; this.notebookCategories.CurrentPage = 3; // Container child notebookCategories.Gtk.Notebook+NotebookChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.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.treeviewIndentOptions = new global::Gtk.TreeView (); this.treeviewIndentOptions.CanFocus = true; this.treeviewIndentOptions.Name = "treeviewIndentOptions"; this.GtkScrolledWindow.Add (this.treeviewIndentOptions); this.vbox8.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow])); w6.Position = 0; this.notebookCategories.Add (this.vbox8); // Notebook tab this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("page1"); this.notebookCategories.SetTabLabel (this.vbox8, this.label8); this.label8.ShowAll (); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewBracePositions = new global::Gtk.TreeView (); this.treeviewBracePositions.CanFocus = true; this.treeviewBracePositions.Name = "treeviewBracePositions"; this.GtkScrolledWindow1.Add (this.treeviewBracePositions); this.notebookCategories.Add (this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow1])); w9.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("page2"); this.notebookCategories.SetTabLabel (this.GtkScrolledWindow1, this.label9); this.label9.ShowAll (); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.table4 = new global::Gtk.Table (((uint)(10)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryAfterUsings = new global::Gtk.Entry (); this.entryAfterUsings.CanFocus = true; this.entryAfterUsings.Name = "entryAfterUsings"; this.entryAfterUsings.IsEditable = true; this.entryAfterUsings.InvisibleChar = '●'; this.table4.Add (this.entryAfterUsings); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryAfterUsings])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforeFirstDeclaration = new global::Gtk.Entry (); this.entryBeforeFirstDeclaration.CanFocus = true; this.entryBeforeFirstDeclaration.Name = "entryBeforeFirstDeclaration"; this.entryBeforeFirstDeclaration.IsEditable = true; this.entryBeforeFirstDeclaration.InvisibleChar = '●'; this.table4.Add (this.entryBeforeFirstDeclaration); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforeFirstDeclaration])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforUsings = new global::Gtk.Entry (); this.entryBeforUsings.CanFocus = true; this.entryBeforUsings.Name = "entryBeforUsings"; this.entryBeforUsings.IsEditable = true; this.entryBeforUsings.InvisibleChar = '●'; this.table4.Add (this.entryBeforUsings); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforUsings])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenEvents = new global::Gtk.Entry (); this.entryBetweenEvents.CanFocus = true; this.entryBetweenEvents.Name = "entryBetweenEvents"; this.entryBetweenEvents.IsEditable = true; this.entryBetweenEvents.InvisibleChar = '●'; this.table4.Add (this.entryBetweenEvents); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenEvents])); w13.TopAttach = ((uint)(8)); w13.BottomAttach = ((uint)(9)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenFields = new global::Gtk.Entry (); this.entryBetweenFields.CanFocus = true; this.entryBetweenFields.Name = "entryBetweenFields"; this.entryBetweenFields.IsEditable = true; this.entryBetweenFields.InvisibleChar = '●'; this.table4.Add (this.entryBetweenFields); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenFields])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenMembers = new global::Gtk.Entry (); this.entryBetweenMembers.CanFocus = true; this.entryBetweenMembers.Name = "entryBetweenMembers"; this.entryBetweenMembers.IsEditable = true; this.entryBetweenMembers.InvisibleChar = '●'; this.table4.Add (this.entryBetweenMembers); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenMembers])); w15.TopAttach = ((uint)(9)); w15.BottomAttach = ((uint)(10)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenTypes = new global::Gtk.Entry (); this.entryBetweenTypes.CanFocus = true; this.entryBetweenTypes.Name = "entryBetweenTypes"; this.entryBetweenTypes.IsEditable = true; this.entryBetweenTypes.InvisibleChar = '●'; this.table4.Add (this.entryBetweenTypes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenTypes])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel8 = new global::Gtk.Label (); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.Xalign = 0F; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Blank lines in namespaces</b>"); this.GtkLabel8.UseMarkup = true; this.table4.Add (this.GtkLabel8); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel8])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel9 = new global::Gtk.Label (); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.Xalign = 0F; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Blank lines in types</b>"); this.GtkLabel9.UseMarkup = true; this.table4.Add (this.GtkLabel9); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel9])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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 ("<b>Blank lines in compilation unit</b>"); this.label1.UseMarkup = true; this.table4.Add (this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table4 [this.label1])); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Before using declaration:"); this.table4.Add (this.label15); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("After using declaration:"); this.table4.Add (this.label16); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table4 [this.label16])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label19 = new global::Gtk.Label (); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Between type declarations:"); this.table4.Add (this.label19); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table4 [this.label19])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Before first declaration:"); this.table4.Add (this.label20); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table4 [this.label20])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label21 = new global::Gtk.Label (); this.label21.Name = "label21"; this.label21.Xalign = 1F; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Between field declarations:"); this.table4.Add (this.label21); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table4 [this.label21])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label22 = new global::Gtk.Label (); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("Between other member declarations:"); this.table4.Add (this.label22); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table4 [this.label22])); w25.TopAttach = ((uint)(9)); w25.BottomAttach = ((uint)(10)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Between simple event declarations:"); this.table4.Add (this.label23); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table4 [this.label23])); w26.TopAttach = ((uint)(8)); w26.BottomAttach = ((uint)(9)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebookCategories.Add (this.table4); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.table4])); w27.Position = 2; // Notebook tab this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("page5"); this.notebookCategories.SetTabLabel (this.table4, this.label14); this.label14.ShowAll (); // Container child notebookCategories.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.treeviewWrappingCategory = new global::Gtk.TreeView (); this.treeviewWrappingCategory.CanFocus = true; this.treeviewWrappingCategory.Name = "treeviewWrappingCategory"; this.GtkScrolledWindow3.Add (this.treeviewWrappingCategory); this.notebookCategories.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow3])); w29.Position = 3; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("page6"); this.notebookCategories.SetTabLabel (this.GtkScrolledWindow3, this.label2); this.label2.ShowAll (); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewInsertWhiteSpaceCategory = new global::Gtk.TreeView (); this.treeviewInsertWhiteSpaceCategory.CanFocus = true; this.treeviewInsertWhiteSpaceCategory.Name = "treeviewInsertWhiteSpaceCategory"; this.GtkScrolledWindow2.Add (this.treeviewInsertWhiteSpaceCategory); this.notebookCategories.Add (this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow2])); w31.Position = 4; // Notebook tab this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("page3"); this.notebookCategories.SetTabLabel (this.GtkScrolledWindow2, this.label10); this.label10.ShowAll (); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewNewLines = new global::Gtk.TreeView (); this.treeviewNewLines.CanFocus = true; this.treeviewNewLines.Name = "treeviewNewLines"; this.GtkScrolledWindow4.Add (this.treeviewNewLines); this.notebookCategories.Add (this.GtkScrolledWindow4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow4])); w33.Position = 5; // Notebook tab this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("page4"); this.notebookCategories.SetTabLabel (this.GtkScrolledWindow4, this.label11); this.label11.ShowAll (); this.vbox2.Add (this.notebookCategories); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookCategories])); w34.Position = 1; this.hpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w35 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w35.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview:"); this.vbox6.Add (this.label13); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label13])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow = new global::Gtk.ScrolledWindow (); this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox6.Add (this.scrolledwindow); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow])); w37.Position = 1; this.hpaned1.Add (this.vbox6); this.vbox5.Add (this.hpaned1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hpaned1])); w39.Position = 0; w1.Add (this.vbox5); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w40.Position = 0; // Internal child MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog.ActionArea global::Gtk.HButtonBox w41 = this.ActionArea; w41.Name = "dialog1_ActionArea"; w41.Spacing = 10; w41.BorderWidth = ((uint)(5)); w41.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w42 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonCancel])); w42.Expand = false; w42.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w43 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonOk])); w43.Position = 1; w43.Expand = false; w43.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 880; this.DefaultHeight = 551; this.Hide (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Projects.NewProjectDialog this.WidthRequest = 930; this.Name = "MonoDevelop.Ide.Projects.NewProjectDialog"; this.Title = "New Solution"; this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(6)); this.DestroyWithParent = true; // Internal child MonoDevelop.Ide.Projects.NewProjectDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox1"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox1.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; this.notebook.ShowBorder = false; this.notebook.BorderWidth = ((uint)(6)); // Container child notebook.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 7; // 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.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 188; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.lst_template_types = new global::Gtk.TreeView (); this.lst_template_types.Name = "lst_template_types"; this.lst_template_types.HeadersVisible = false; this.scrolledwindow1.Add (this.lst_template_types); this.hpaned1.Add (this.scrolledwindow1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.scrolledwindow1])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.panedTemplates = new global::Gtk.HPaned (); this.panedTemplates.CanFocus = true; this.panedTemplates.Name = "panedTemplates"; this.panedTemplates.Position = 430; // Container child panedTemplates.Gtk.Paned+PanedChild this.boxTemplates = new global::Gtk.VBox (); this.boxTemplates.Name = "boxTemplates"; this.boxTemplates.Spacing = 6; this.panedTemplates.Add (this.boxTemplates); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates [this.boxTemplates])); w4.Resize = false; // Container child panedTemplates.Gtk.Paned+PanedChild this.scrolledInfo = new global::Gtk.ScrolledWindow (); this.scrolledInfo.CanFocus = true; this.scrolledInfo.Name = "scrolledInfo"; this.scrolledInfo.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledInfo.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledInfo.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport (); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.boxInfo = new global::Gtk.VBox (); this.boxInfo.Name = "boxInfo"; this.boxInfo.Spacing = 6; this.boxInfo.BorderWidth = ((uint)(3)); // Container child boxInfo.Gtk.Box+BoxChild this.labelTemplateTitle = new global::Gtk.Label (); this.labelTemplateTitle.WidthRequest = 30; this.labelTemplateTitle.Name = "labelTemplateTitle"; this.labelTemplateTitle.Xalign = 0F; this.labelTemplateTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Console Project</b>"); this.labelTemplateTitle.UseMarkup = true; this.labelTemplateTitle.Wrap = true; this.boxInfo.Add (this.labelTemplateTitle); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.boxInfo [this.labelTemplateTitle])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child boxInfo.Gtk.Box+BoxChild this.lbl_template_descr = new global::Gtk.Label (); this.lbl_template_descr.WidthRequest = 116; this.lbl_template_descr.Name = "lbl_template_descr"; this.lbl_template_descr.Xalign = 0F; this.lbl_template_descr.Yalign = 0F; this.lbl_template_descr.LabelProp = global::Mono.Unix.Catalog.GetString ("Creates a new C# Project"); this.lbl_template_descr.Wrap = true; this.boxInfo.Add (this.lbl_template_descr); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.boxInfo [this.lbl_template_descr])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w5.Add (this.boxInfo); this.scrolledInfo.Add (w5); this.panedTemplates.Add (this.scrolledInfo); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates [this.scrolledInfo])); w10.Resize = false; this.hpaned1.Add (this.panedTemplates); this.vbox4.Add (this.hpaned1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hpaned1])); w12.Position = 0; this.hbox1.Add (this.vbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); w13.Position = 0; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w14.Position = 0; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w15.Position = 0; // 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.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entry_location = new global::MonoDevelop.Components.FolderEntry (); this.entry_location.Name = "entry_location"; this.entry_location.DisplayAsRelativePath = false; this.table1.Add (this.entry_location); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry_location])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.txt_subdirectory = new global::Gtk.Entry (); this.txt_subdirectory.Name = "txt_subdirectory"; this.txt_subdirectory.IsEditable = true; this.txt_subdirectory.ActivatesDefault = true; this.txt_subdirectory.InvisibleChar = '●'; this.hbox2.Add (this.txt_subdirectory); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.txt_subdirectory])); w17.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.chk_combine_directory = new global::Gtk.CheckButton (); this.chk_combine_directory.Name = "chk_combine_directory"; this.chk_combine_directory.Label = global::Mono.Unix.Catalog.GetString ("_Create directory for solution"); this.chk_combine_directory.Active = true; this.chk_combine_directory.DrawIndicator = true; this.chk_combine_directory.UseUnderline = true; this.hbox2.Add (this.chk_combine_directory); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.chk_combine_directory])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.table1.Add (this.hbox2); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lbl_location = new global::Gtk.Label (); this.lbl_location.Name = "lbl_location"; this.lbl_location.Xalign = 0F; this.lbl_location.Yalign = 0F; this.lbl_location.LabelProp = global::Mono.Unix.Catalog.GetString ("_Location:"); this.lbl_location.UseUnderline = true; this.table1.Add (this.lbl_location); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.lbl_location])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.lbl_name = new global::Gtk.Label (); this.lbl_name.Name = "lbl_name"; this.lbl_name.Xalign = 0F; this.lbl_name.Yalign = 0F; this.lbl_name.LabelProp = global::Mono.Unix.Catalog.GetString ("N_ame:"); this.lbl_name.UseUnderline = true; this.table1.Add (this.lbl_name); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.lbl_name])); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.lbl_subdirectory = new global::Gtk.Label (); this.lbl_subdirectory.Name = "lbl_subdirectory"; this.lbl_subdirectory.Xalign = 0F; this.lbl_subdirectory.LabelProp = global::Mono.Unix.Catalog.GetString ("_Solution name:"); this.lbl_subdirectory.UseUnderline = true; this.table1.Add (this.lbl_subdirectory); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.lbl_subdirectory])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txt_name = new global::Gtk.Entry (); this.txt_name.Name = "txt_name"; this.txt_name.IsEditable = true; this.txt_name.ActivatesDefault = true; this.txt_name.InvisibleChar = '●'; this.table1.Add (this.txt_name); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.txt_name])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.YOptions = ((global::Gtk.AttachOptions)(0)); this.vbox3.Add (this.table1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.lbl_will_save_in = new global::Gtk.Label (); this.lbl_will_save_in.WidthRequest = 580; this.lbl_will_save_in.Name = "lbl_will_save_in"; this.lbl_will_save_in.Xalign = 0F; this.lbl_will_save_in.Yalign = 0F; this.lbl_will_save_in.LabelProp = "Project will be saved in: /dev/null"; this.lbl_will_save_in.Wrap = true; this.vbox3.Add (this.lbl_will_save_in); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lbl_will_save_in])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.vbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w26.Position = 1; w26.Expand = false; this.notebook.Add (this.vbox1); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "page1"; this.notebook.SetTabLabel (this.vbox1, this.label1); this.label1.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Project Features</b>"); this.label3.UseMarkup = true; this.vbox5.Add (this.label3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label3])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.WidthRequest = 632; this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<small>This list shows a set of features you can enable in the new project. After creating the project those features can be enabled or disabled in the Project Options dialog, or by adding new projects to the solution.</small>"); this.label4.UseMarkup = true; this.label4.Wrap = true; this.vbox5.Add (this.label4); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label4])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.notebook.Add (this.vbox5); global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.vbox5])); w30.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = "page2"; this.notebook.SetTabLabel (this.vbox5, this.label2); this.label2.ShowAll (); w1.Add (this.notebook); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook])); w31.Position = 0; // Internal child MonoDevelop.Ide.Projects.NewProjectDialog.ActionArea global::Gtk.HButtonBox w32 = this.ActionArea; w32.Name = "dialog-action_area1"; w32.Spacing = 6; w32.BorderWidth = ((uint)(5)); w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.btn_close = new global::Gtk.Button (); this.btn_close.CanDefault = true; this.btn_close.Name = "btn_close"; this.btn_close.UseStock = true; this.btn_close.UseUnderline = true; this.btn_close.Label = "gtk-cancel"; this.AddActionWidget (this.btn_close, -6); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.btn_close])); w33.Expand = false; w33.Fill = false; // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.btn_new = new global::Gtk.Button (); this.btn_new.CanDefault = true; this.btn_new.Name = "btn_new"; this.btn_new.UseStock = true; this.btn_new.UseUnderline = true; this.btn_new.Label = "gtk-go-forward"; w32.Add (this.btn_new); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.btn_new])); w34.Position = 1; w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 930; this.DefaultHeight = 539; this.lbl_name.MnemonicWidget = this.txt_name; this.lbl_subdirectory.MnemonicWidget = this.txt_subdirectory; this.Hide (); this.scrolledInfo.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnScrolledInfoSizeAllocated); this.boxInfo.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnBoxInfoSizeAllocated); this.txt_name.Changed += new global::System.EventHandler (this.NameChanged); this.txt_subdirectory.Changed += new global::System.EventHandler (this.PathChanged); this.chk_combine_directory.Clicked += new global::System.EventHandler (this.SolutionCheckChanged); this.btn_close.Clicked += new global::System.EventHandler (this.cancelClicked); this.btn_new.Clicked += new global::System.EventHandler (this.OpenEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Projects.ProjectFileSelectorDialog this.Name = "MonoDevelop.Ide.Projects.ProjectFileSelectorDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Select Project File..."); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 182; this.hpaned1.BorderWidth = ((uint)(6)); // Container child hpaned1.Gtk.Paned+PanedChild 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.projectTree = new global::Gtk.TreeView(); this.projectTree.CanFocus = true; this.projectTree.Name = "projectTree"; this.GtkScrolledWindow.Add(this.projectTree); this.vbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w3.Position = 0; this.hpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox3])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.fileList = new global::Gtk.TreeView(); this.fileList.CanFocus = true; this.fileList.Name = "fileList"; this.GtkScrolledWindow1.Add(this.fileList); this.vbox4.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w6.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.AddFileButton = new global::Gtk.Button(); this.AddFileButton.TooltipMarkup = "Add existing files to the project"; this.AddFileButton.CanFocus = true; this.AddFileButton.Name = "AddFileButton"; this.AddFileButton.UseUnderline = true; this.AddFileButton.Relief = ((global::Gtk.ReliefStyle)(2)); this.AddFileButton.Label = ""; global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.AddFileButton.Image = w7; this.hbox2.Add(this.AddFileButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.AddFileButton])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.typeBox = new global::Gtk.HBox(); this.typeBox.Name = "typeBox"; this.typeBox.Spacing = 6; // Container child typeBox.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("File _type:"); this.label2.UseUnderline = true; this.typeBox.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child typeBox.Gtk.Box+BoxChild this.fileTypeCombo = global::Gtk.ComboBox.NewText(); this.fileTypeCombo.Name = "fileTypeCombo"; this.typeBox.Add(this.fileTypeCombo); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.fileTypeCombo])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.typeBox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.typeBox])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 1; this.vbox4.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hpaned1.Add(this.vbox4); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w14.Position = 0; // Internal child MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.ActionArea global::Gtk.HButtonBox w15 = this.ActionArea; w15.Name = "dialog1_ActionArea"; w15.Spacing = 6; w15.BorderWidth = ((uint)(5)); w15.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonCancel])); w16.Expand = false; w16.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonOk])); w17.Position = 1; w17.Expand = false; w17.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 522; this.DefaultHeight = 416; this.label2.MnemonicWidget = this.fileTypeCombo; this.typeBox.Hide(); this.Hide(); this.AddFileButton.Clicked += new global::System.EventHandler(this.OnAddFileButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Projects.NewFileDialog this.Name = "MonoDevelop.Ide.Projects.NewFileDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("New File"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.Ide.Projects.NewFileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 192; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.catView = new global::Gtk.TreeView (); this.catView.WidthRequest = 160; this.catView.CanFocus = true; this.catView.Name = "catView"; this.catView.HeadersVisible = false; this.scrolledwindow1.Add (this.catView); this.hpaned1.Add (this.scrolledwindow1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.scrolledwindow1])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.panedTemplates = new global::Gtk.HPaned (); this.panedTemplates.CanFocus = true; this.panedTemplates.Name = "panedTemplates"; this.panedTemplates.Position = 292; // Container child panedTemplates.Gtk.Paned+PanedChild this.boxTemplates = new global::Gtk.VBox (); this.boxTemplates.Name = "boxTemplates"; this.boxTemplates.Spacing = 6; this.panedTemplates.Add (this.boxTemplates); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates [this.boxTemplates])); w4.Resize = false; // Container child panedTemplates.Gtk.Paned+PanedChild this.scrolledInfo = new global::Gtk.ScrolledWindow (); this.scrolledInfo.CanFocus = true; this.scrolledInfo.Name = "scrolledInfo"; this.scrolledInfo.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledInfo.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledInfo.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport (); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.boxInfo = new global::Gtk.VBox (); this.boxInfo.Name = "boxInfo"; this.boxInfo.Spacing = 6; this.boxInfo.BorderWidth = ((uint)(3)); // Container child boxInfo.Gtk.Box+BoxChild this.labelTemplateTitle = new global::Gtk.Label (); this.labelTemplateTitle.WidthRequest = 145; this.labelTemplateTitle.Name = "labelTemplateTitle"; this.labelTemplateTitle.Xalign = 0F; this.labelTemplateTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Console Project</b>"); this.labelTemplateTitle.UseMarkup = true; this.labelTemplateTitle.Wrap = true; this.boxInfo.Add (this.labelTemplateTitle); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.boxInfo [this.labelTemplateTitle])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child boxInfo.Gtk.Box+BoxChild this.infoLabel = new global::Gtk.Label (); this.infoLabel.WidthRequest = 145; this.infoLabel.Name = "infoLabel"; this.infoLabel.Xalign = 0F; this.infoLabel.Yalign = 0F; this.infoLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Creates a new C# Project"); this.infoLabel.Wrap = true; this.boxInfo.Add (this.infoLabel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.boxInfo [this.infoLabel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w5.Add (this.boxInfo); this.scrolledInfo.Add (w5); this.panedTemplates.Add (this.scrolledInfo); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates [this.scrolledInfo])); w10.Resize = false; this.hpaned1.Add (this.panedTemplates); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w12.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.WidthRequest = 1; this.label1.HeightRequest = 1; this.label1.Name = "label1"; this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.nameEntry = new global::Gtk.Entry (); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '●'; this.hbox2.Add (this.nameEntry); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.nameEntry])); w15.Position = 1; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.boxProject = new global::Gtk.VBox (); this.boxProject.Name = "boxProject"; this.boxProject.Spacing = 6; // Container child boxProject.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.projectAddCheckbox = new global::Gtk.CheckButton (); this.projectAddCheckbox.CanFocus = true; this.projectAddCheckbox.Name = "projectAddCheckbox"; this.projectAddCheckbox.Label = global::Mono.Unix.Catalog.GetString ("_Add to project:"); this.projectAddCheckbox.DrawIndicator = true; this.projectAddCheckbox.UseUnderline = true; this.hbox3.Add (this.projectAddCheckbox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.projectAddCheckbox])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.projectAddCombo = global::Gtk.ComboBox.NewText (); this.projectAddCombo.Name = "projectAddCombo"; this.hbox3.Add (this.projectAddCombo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.projectAddCombo])); w18.Position = 1; this.boxProject.Add (this.hbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.boxProject [this.hbox3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child boxProject.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.projectPathLabel = new global::Gtk.Label (); this.projectPathLabel.Name = "projectPathLabel"; this.projectPathLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Path:"); this.hbox4.Add (this.projectPathLabel); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.projectPathLabel])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.projectFolderEntry = new global::MonoDevelop.Components.FolderEntry (); this.projectFolderEntry.Name = "projectFolderEntry"; this.hbox4.Add (this.projectFolderEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.projectFolderEntry])); w21.Position = 1; this.boxProject.Add (this.hbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.boxProject [this.hbox4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.vbox2.Add (this.boxProject); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.boxProject])); w23.Position = 3; w23.Expand = false; w23.Fill = false; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w24.Position = 0; // Internal child MonoDevelop.Ide.Projects.NewFileDialog.ActionArea global::Gtk.HButtonBox w25 = this.ActionArea; w25.Name = "dialog1_ActionArea"; w25.Spacing = 6; w25.BorderWidth = ((uint)(5)); w25.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.cancelButton = new global::Gtk.Button (); this.cancelButton.CanDefault = true; this.cancelButton.CanFocus = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.UseStock = true; this.cancelButton.UseUnderline = true; this.cancelButton.Label = "gtk-cancel"; this.AddActionWidget (this.cancelButton, -6); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25 [this.cancelButton])); w26.Expand = false; w26.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button (); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-new"; w25.Add (this.okButton); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25 [this.okButton])); w27.Position = 1; w27.Expand = false; w27.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 718; this.DefaultHeight = 524; this.boxProject.Hide (); this.Hide (); this.scrolledInfo.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnScrolledInfoSizeAllocated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), global::Mono.Unix.Catalog.GetString("Open nes rom"), "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.openAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.helpAction = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.helpAction, "F1"); this.AboutMyNesGTKAction = new global::Gtk.Action("AboutMyNesGTKAction", global::Mono.Unix.Catalog.GetString("_About My Nes GTK"), null, "MyNesIcon"); this.AboutMyNesGTKAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About My Nes GTK"); w1.Add(this.AboutMyNesGTKAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("_Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Settings"); w1.Add(this.SettingsAction, null); this.VideoAction = new global::Gtk.Action("VideoAction", global::Mono.Unix.Catalog.GetString("_Video"), global::Mono.Unix.Catalog.GetString("Configure emulation video settings"), "VideoSettings"); this.VideoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Video"); w1.Add(this.VideoAction, "<Primary><Alt>v"); this.AudioAction = new global::Gtk.Action("AudioAction", global::Mono.Unix.Catalog.GetString("Audio"), global::Mono.Unix.Catalog.GetString("Configure emulation audio settings"), "Audio"); this.AudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Audio"); w1.Add(this.AudioAction, "<Primary><Alt>a"); this.PathsAction = new global::Gtk.Action("PathsAction", global::Mono.Unix.Catalog.GetString("_Paths"), global::Mono.Unix.Catalog.GetString("Configure emulation paths settings"), "Paths"); this.PathsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paths"); w1.Add(this.PathsAction, "<Primary><Alt>p"); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("_Preferences"), global::Mono.Unix.Catalog.GetString("Configure emulation preferences ..."), "Preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences"); w1.Add(this.PreferencesAction, "<Primary><Alt>q"); this.openAction1 = new global::Gtk.Action("openAction1", global::Mono.Unix.Catalog.GetString("Open rom"), global::Mono.Unix.Catalog.GetString("Open rom"), "gtk-open"); this.openAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Open rom"); w1.Add(this.openAction1, null); this.VideoSettingsAction = new global::Gtk.Action("VideoSettingsAction", global::Mono.Unix.Catalog.GetString("Video Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation video"), "VideoSettings"); this.VideoSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Video Settings"); w1.Add(this.VideoSettingsAction, null); this.AudioSettingsAction = new global::Gtk.Action("AudioSettingsAction", global::Mono.Unix.Catalog.GetString("Audio Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation audio"), "Audio"); this.AudioSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Audio Settings"); w1.Add(this.AudioSettingsAction, null); this.PathsSettingsAction = new global::Gtk.Action("PathsSettingsAction", global::Mono.Unix.Catalog.GetString("Paths Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation paths settings"), "Paths"); this.PathsSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Paths Settings"); w1.Add(this.PathsSettingsAction, null); this.PreferencesAction1 = new global::Gtk.Action("PreferencesAction1", global::Mono.Unix.Catalog.GetString("Preferences"), global::Mono.Unix.Catalog.GetString("Emulation preferences"), "Preferences"); this.PreferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.PreferencesAction1, null); this.helpAction1 = new global::Gtk.Action("helpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, "gtk-help"); this.helpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.helpAction1, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), global::Mono.Unix.Catalog.GetString("About My Nes GTK"), "MyNesIcon"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.PaletteAction = new global::Gtk.Action("PaletteAction", global::Mono.Unix.Catalog.GetString("_Palette"), global::Mono.Unix.Catalog.GetString("Configure emu color palettes"), "Palette"); this.PaletteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Palette"); w1.Add(this.PaletteAction, "<Primary><Alt>w"); this.PaletteAction1 = new global::Gtk.Action("PaletteAction1", global::Mono.Unix.Catalog.GetString("Palette"), global::Mono.Unix.Catalog.GetString("Configure emu color palettes"), "Palette"); this.PaletteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Palette"); w1.Add(this.PaletteAction1, null); this.InputAction = new global::Gtk.Action("InputAction", global::Mono.Unix.Catalog.GetString("_Input"), null, "Input"); this.InputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Input"); w1.Add(this.InputAction, "<Primary><Alt>e"); this.InputAction1 = new global::Gtk.Action("InputAction1", global::Mono.Unix.Catalog.GetString("Input"), global::Mono.Unix.Catalog.GetString("Configure input"), "Input"); this.InputAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Input"); w1.Add(this.InputAction1, null); this.copyAction = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copy"), global::Mono.Unix.Catalog.GetString("Copy info to clipboard"), "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy"); w1.Add(this.copyAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Save"), global::Mono.Unix.Catalog.GetString("Save info to text file"), "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.saveAction, null); this.refreshAction = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("Refresh"), global::Mono.Unix.Catalog.GetString("Refresh selected file info"), "gtk-refresh"); this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Refresh"); w1.Add(this.refreshAction, null); this.goBackAction = new global::Gtk.Action("goBackAction", global::Mono.Unix.Catalog.GetString("Previous"), global::Mono.Unix.Catalog.GetString("Show the previous image"), "gtk-go-back"); this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Previous"); w1.Add(this.goBackAction, null); this.goForwardAction = new global::Gtk.Action("goForwardAction", global::Mono.Unix.Catalog.GetString("Next"), global::Mono.Unix.Catalog.GetString("Show the next snap"), "gtk-go-forward"); this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Next"); w1.Add(this.goForwardAction, null); this.openAction2 = new global::Gtk.Action("openAction2", global::Mono.Unix.Catalog.GetString("Open location"), global::Mono.Unix.Catalog.GetString("Open image folder"), "gtk-open"); this.openAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Open location"); w1.Add(this.openAction2, null); this.PlayAction = new global::Gtk.Action("PlayAction", global::Mono.Unix.Catalog.GetString("Play"), global::Mono.Unix.Catalog.GetString("Play selected game"), "Play"); this.PlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Play"); w1.Add(this.PlayAction, null); this.StopAction = new global::Gtk.Action("StopAction", global::Mono.Unix.Catalog.GetString("Stop"), global::Mono.Unix.Catalog.GetString("Stop current game"), "Stop"); this.StopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Stop"); w1.Add(this.StopAction, null); this.EmulationAction = new global::Gtk.Action("EmulationAction", global::Mono.Unix.Catalog.GetString("_Emulation"), null, null); this.EmulationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Emulation"); w1.Add(this.EmulationAction, null); this.PlaySelectedAction = new global::Gtk.Action("PlaySelectedAction", global::Mono.Unix.Catalog.GetString("_Play selected"), null, "Play"); this.PlaySelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Play selected"); w1.Add(this.PlaySelectedAction, "<Primary>space"); this.StopSelectedAction = new global::Gtk.Action("StopSelectedAction", global::Mono.Unix.Catalog.GetString("_Stop selected"), null, "Stop"); this.StopSelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Stop selected"); w1.Add(this.StopSelectedAction, "<Primary>x"); this.deleteAction = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("Delete"), global::Mono.Unix.Catalog.GetString("Delete this snapshot file"), "gtk-delete"); this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete"); w1.Add(this.deleteAction, null); this.RecentAction = new global::Gtk.Action("RecentAction", global::Mono.Unix.Catalog.GetString("Recent"), null, null); this.RecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recent"); w1.Add(this.RecentAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("My Nes GTK"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("MyNesGTK.resources.MyNes.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EmulationAction' action='EmulationAction'><menuitem name='PlaySelectedAction' action='PlaySelectedAction'/><menuitem name='StopSelectedAction' action='StopSelectedAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='VideoAction' action='VideoAction'/><menuitem name='PaletteAction' action='PaletteAction'/><menuitem name='AudioAction' action='AudioAction'/><menuitem name='InputAction' action='InputAction'/><menuitem name='PathsAction' action='PathsAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><separator/><menuitem name='AboutMyNesGTKAction' action='AboutMyNesGTKAction'/></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='openAction1' action='openAction1'/><separator/><toolitem name='VideoSettingsAction' action='VideoSettingsAction'/><toolitem name='PaletteAction1' action='PaletteAction1'/><toolitem name='AudioSettingsAction' action='AudioSettingsAction'/><toolitem name='InputAction1' action='InputAction1'/><toolitem name='PathsSettingsAction' action='PathsSettingsAction'/><toolitem name='PreferencesAction1' action='PreferencesAction1'/><separator/><toolitem name='PlayAction' action='PlayAction'/><toolitem name='StopAction' action='StopAction'/><separator/><toolitem name='AboutAction' action='AboutAction'/><toolitem name='helpAction1' action='helpAction1'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hpaned1hpaned1 = new global::Gtk.HPaned(); this.hpaned1hpaned1.CanFocus = true; this.hpaned1hpaned1.Name = "hpaned1hpaned1"; this.hpaned1hpaned1.Position = 431; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.hpaned1hpaned1.Add(this.filechooserwidget2); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1hpaned1 [this.filechooserwidget2])); w4.Resize = false; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 207; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.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=\'refreshAction\' action=\'refreshAction" + "\'/><toolitem name=\'saveAction\' action=\'saveAction\'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.vbox2.Add(this.toolbar2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.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.treeview2 = new global::Gtk.TreeView(); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow2.Add(this.treeview2); this.vbox2.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow2])); w7.Position = 1; this.notebook2.Add(this.vbox2); // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Game Info"); this.notebook2.SetTabLabel(this.vbox2, this.label2); this.label2.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Add"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.button1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Remove"); this.table1.Add(this.button2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.button2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Reload"); this.table1.Add(this.button3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.button3])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Save"); this.table1.Add(this.button4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.button4])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_enable_gg = new global::Gtk.CheckButton(); this.checkbutton_enable_gg.CanFocus = true; this.checkbutton_enable_gg.Name = "checkbutton_enable_gg"; this.checkbutton_enable_gg.Label = global::Mono.Unix.Catalog.GetString("Enable game genie for this game"); this.checkbutton_enable_gg.DrawIndicator = true; this.checkbutton_enable_gg.UseUnderline = true; this.table1.Add(this.checkbutton_enable_gg); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_enable_gg])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_gg_codes = global::Gtk.ComboBox.NewText(); this.combobox_gg_codes.Name = "combobox_gg_codes"; this.table1.Add(this.combobox_gg_codes); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_gg_codes])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Codes:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Notes: \n. Check the \"Enable game genie for this game\" to start selected game with" + " game genie.\n. Press Reload to load the game genie codes for this game from the " + "saved file.\n. After editing the Game Genie codes you must save via Save button t" + "o apply them."); this.label5.Wrap = true; this.table1.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table1); global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table1])); w17.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Game Genie"); this.notebook2.SetTabLabel(this.table1, this.label3); this.label3.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.checkbutton_loadstate = new global::Gtk.CheckButton(); this.checkbutton_loadstate.CanFocus = true; this.checkbutton_loadstate.Name = "checkbutton_loadstate"; this.checkbutton_loadstate.Label = global::Mono.Unix.Catalog.GetString("Load state at game start"); this.checkbutton_loadstate.DrawIndicator = true; this.checkbutton_loadstate.UseUnderline = true; this.table2.Add(this.checkbutton_loadstate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkbutton_loadstate])); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.combobox_state = global::Gtk.ComboBox.NewText(); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 0")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 1")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 2")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 3")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 4")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 5")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 6")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 7")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 8")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 9")); this.combobox_state.Name = "combobox_state"; this.combobox_state.Active = 0; this.table2.Add(this.combobox_state); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.combobox_state])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.image_state = new global::Gtk.Image(); this.image_state.Name = "image_state"; this.image_state.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("MyNesGTK.resources.MyNesImage.png"); this.table2.Add(this.image_state); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.image_state])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("State slot:"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table2); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w22.Position = 2; // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("State"); this.notebook2.SetTabLabel(this.table2, this.label1); this.label1.ShowAll(); this.vpaned1.Add(this.notebook2); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.notebook2])); w23.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar3'><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='openAction2' action='openAction2'/></toolbar></ui>"); this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar3"))); this.toolbar3.Name = "toolbar3"; this.toolbar3.ShowArrow = false; this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar3.IconSize = ((global::Gtk.IconSize)(2)); this.vbox3.Add(this.toolbar3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.image_snap = new global::Gtk.Image(); this.image_snap.Name = "image_snap"; this.vbox3.Add(this.image_snap); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.image_snap])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox3.Add(this.statusbar1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.statusbar1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.notebook1.Add(this.vbox3); // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Snapshots"); this.notebook1.SetTabLabel(this.vbox3, this.label7); this.label7.ShowAll(); this.vpaned1.Add(this.notebook1); this.hpaned1hpaned1.Add(this.vpaned1); this.hbox1.Add(this.hpaned1hpaned1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hpaned1hpaned1])); w30.Position = 0; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 916; this.DefaultHeight = 594; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.helpAction.Activated += new global::System.EventHandler(this.OnHelpActionActivated); this.AboutMyNesGTKAction.Activated += new global::System.EventHandler(this.OnAboutMyNesGTKActionActivated); this.VideoAction.Activated += new global::System.EventHandler(this.OnVideoActionActivated); this.AudioAction.Activated += new global::System.EventHandler(this.OnAudioActionActivated); this.PathsAction.Activated += new global::System.EventHandler(this.OnPathsActionActivated); this.PreferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.openAction1.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.VideoSettingsAction.Activated += new global::System.EventHandler(this.OnVideoActionActivated); this.AudioSettingsAction.Activated += new global::System.EventHandler(this.OnAudioActionActivated); this.PathsSettingsAction.Activated += new global::System.EventHandler(this.OnPathsActionActivated); this.PreferencesAction1.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.helpAction1.Activated += new global::System.EventHandler(this.OnHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutMyNesGTKActionActivated); this.PaletteAction.Activated += new global::System.EventHandler(this.OnPaletteActionActivated); this.PaletteAction1.Activated += new global::System.EventHandler(this.OnPaletteActionActivated); this.InputAction.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.InputAction1.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.copyAction.Activated += new global::System.EventHandler(this.OnCopyActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.refreshAction.Activated += new global::System.EventHandler(this.OnRefreshActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated); this.openAction2.Activated += new global::System.EventHandler(this.OnOpenAction2Activated); this.PlayAction.Activated += new global::System.EventHandler(this.PlaySelected); this.StopAction.Activated += new global::System.EventHandler(this.StopSelected); this.StopSelectedAction.Activated += new global::System.EventHandler(this.StopSelected); this.deleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated); this.filechooserwidget2.FileActivated += new global::System.EventHandler(this.OnFilechooserwidget2FileActivated); this.filechooserwidget2.SelectionChanged += new global::System.EventHandler(this.OnFilechooserwidget2SelectionChanged); this.button4.Pressed += new global::System.EventHandler(this.OnButton4Pressed); this.button3.Pressed += new global::System.EventHandler(this.OnButton3Pressed); this.button2.Pressed += new global::System.EventHandler(this.OnButton2Pressed); this.button1.Pressed += new global::System.EventHandler(this.OnButton1Pressed); this.combobox_state.Changed += new global::System.EventHandler(this.OnComboboxStateChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit"); w1.Add(this.EditAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new"); w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.mainVBox = new global::Gtk.VBox(); this.mainVBox.Name = "mainVBox"; this.mainVBox.Spacing = 6; // Container child mainVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'mainMenuBar\'><menu name=\'FileAction\' action=\'FileAction\'/><men" + "u name=\'EditAction\' action=\'EditAction\'/><menu name=\'ViewAction\' action=\'ViewAct" + "ion\'/><menu name=\'HelpAction\' action=\'HelpAction\'/></menubar></ui>"); this.mainMenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/mainMenuBar"))); this.mainMenuBar.Name = "mainMenuBar"; this.mainVBox.Add(this.mainMenuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainVBox[this.mainMenuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child mainVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'mainToolbar\'><toolitem name=\'newAction\' action=\'newAction\'/><t" + "oolitem name=\'openAction\' action=\'openAction\'/><toolitem name=\'saveAction\' actio" + "n=\'saveAction\'/></toolbar></ui>"); this.mainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/mainToolbar"))); this.mainToolbar.Name = "mainToolbar"; this.mainToolbar.ShowArrow = false; this.mainVBox.Add(this.mainToolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainVBox[this.mainToolbar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child mainVBox.Gtk.Box+BoxChild this.vpaneMain = new global::Gtk.VPaned(); this.vpaneMain.CanFocus = true; this.vpaneMain.Name = "vpaneMain"; // Container child vpaneMain.Gtk.Paned+PanedChild this.hpaneContent = new global::Gtk.HPaned(); this.hpaneContent.CanFocus = true; this.hpaneContent.Name = "hpaneContent"; this.hpaneContent.Position = 535; // Container child hpaneContent.Gtk.Paned+PanedChild this.frameTree = new global::Gtk.Frame(); this.frameTree.Name = "frameTree"; this.frameTree.ShadowType = ((global::Gtk.ShadowType)(0)); this.frameTree.LabelXalign = 0.01F; this.frameTree.BorderWidth = ((uint)(2)); // Container child frameTree.Gtk.Container+ContainerChild this.alignmentProjects = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.alignmentProjects.Name = "alignmentProjects"; // Container child alignmentProjects.Gtk.Container+ContainerChild this.scrolledWindowProjects = new global::Gtk.ScrolledWindow(); this.scrolledWindowProjects.Name = "scrolledWindowProjects"; // Container child scrolledWindowProjects.Gtk.Container+ContainerChild this.treeViewProjects = new global::Gtk.TreeView(); this.treeViewProjects.CanFocus = true; this.treeViewProjects.Name = "treeViewProjects"; this.scrolledWindowProjects.Add(this.treeViewProjects); this.alignmentProjects.Add(this.scrolledWindowProjects); this.frameTree.Add(this.alignmentProjects); this.labelProjects = new global::Gtk.Label(); this.labelProjects.Name = "labelProjects"; this.labelProjects.Xalign = 1F; this.labelProjects.Yalign = 1F; this.labelProjects.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Projects</b>"); this.labelProjects.UseMarkup = true; this.frameTree.LabelWidget = this.labelProjects; this.hpaneContent.Add(this.frameTree); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.hpaneContent[this.frameTree])); w7.Resize = false; // Container child hpaneContent.Gtk.Paned+PanedChild this.frameProperties = new global::Gtk.Frame(); this.frameProperties.Name = "frameProperties"; this.frameProperties.ShadowType = ((global::Gtk.ShadowType)(2)); // Container child frameProperties.Gtk.Container+ContainerChild this.alignmentProperties = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.alignmentProperties.Name = "alignmentProperties"; this.alignmentProperties.BorderWidth = ((uint)(5)); this.frameProperties.Add(this.alignmentProperties); this.labelProperties = new global::Gtk.Label(); this.labelProperties.Name = "labelProperties"; this.labelProperties.Xalign = 1F; this.labelProperties.Yalign = 1F; this.labelProperties.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Properties</b>"); this.labelProperties.UseMarkup = true; this.frameProperties.LabelWidget = this.labelProperties; this.hpaneContent.Add(this.frameProperties); this.vpaneMain.Add(this.hpaneContent); this.mainVBox.Add(this.vpaneMain); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.mainVBox[this.vpaneMain])); w11.Position = 2; // Container child mainVBox.Gtk.Box+BoxChild this.mainStatusBar = new global::Gtk.Statusbar(); this.mainStatusBar.Name = "mainStatusBar"; this.mainStatusBar.Spacing = 6; this.mainVBox.Add(this.mainStatusBar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.mainVBox[this.mainStatusBar])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add(this.mainVBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1121; this.DefaultHeight = 734; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor this.Name = "MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor"; this.Title = global::Mono.Unix.Catalog.GetString("Edit color sheme"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("_Name:"); this.label2.UseUnderline = true; this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.hbox1.Add(this.entryName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryName])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("_Description:"); this.label3.UseUnderline = true; this.hbox1.Add(this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryDescription = new global::Gtk.Entry(); this.entryDescription.CanFocus = true; this.entryDescription.Name = "entryDescription"; this.entryDescription.IsEditable = true; this.entryDescription.InvisibleChar = '●'; this.hbox1.Add(this.entryDescription); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryDescription])); w5.Position = 3; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 415; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("_Colors"); this.label1.UseUnderline = true; this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewColors = new global::Gtk.TreeView(); this.treeviewColors.CanFocus = true; this.treeviewColors.Name = "treeviewColors"; this.GtkScrolledWindow.Add(this.treeviewColors); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w9.Position = 1; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w10.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.notebookColorChooser = new global::Gtk.Notebook(); this.notebookColorChooser.CanFocus = true; this.notebookColorChooser.Name = "notebookColorChooser"; this.notebookColorChooser.CurrentPage = 1; this.notebookColorChooser.ShowBorder = false; this.notebookColorChooser.BorderWidth = ((uint)(8)); // Container child notebookColorChooser.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.colorbuttonBg = new global::Gtk.ColorButton(); this.colorbuttonBg.CanFocus = true; this.colorbuttonBg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonBg.Name = "colorbuttonBg"; this.table1.Add(this.colorbuttonBg); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonBg])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.colorbuttonFg = new global::Gtk.ColorButton(); this.colorbuttonFg.CanFocus = true; this.colorbuttonFg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonFg.Name = "colorbuttonFg"; this.table1.Add(this.colorbuttonFg); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonFg])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("_Background:"); this.label5.UseUnderline = true; this.table1.Add(this.label5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("_Foreground:"); this.label7.UseUnderline = true; this.table1.Add(this.label7); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.checkbuttonBold = new global::Gtk.CheckButton(); this.checkbuttonBold.CanFocus = true; this.checkbuttonBold.Name = "checkbuttonBold"; this.checkbuttonBold.Label = global::Mono.Unix.Catalog.GetString("B_old"); this.checkbuttonBold.DrawIndicator = true; this.checkbuttonBold.UseUnderline = true; this.vbox4.Add(this.checkbuttonBold); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.checkbuttonBold])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.checkbuttonItalic = new global::Gtk.CheckButton(); this.checkbuttonItalic.CanFocus = true; this.checkbuttonItalic.Name = "checkbuttonItalic"; this.checkbuttonItalic.Label = global::Mono.Unix.Catalog.GetString("Italic"); this.checkbuttonItalic.DrawIndicator = true; this.checkbuttonItalic.UseUnderline = true; this.vbox4.Add(this.checkbuttonItalic); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.checkbuttonItalic])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.notebookColorChooser.Add(this.vbox4); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookColorChooser.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); // Container child notebookColorChooser.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.colorbuttonBorder = new global::Gtk.ColorButton(); this.colorbuttonBorder.CanFocus = true; this.colorbuttonBorder.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonBorder.Name = "colorbuttonBorder"; this.table2.Add(this.colorbuttonBorder); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonBorder])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.colorbuttonPrimary = new global::Gtk.ColorButton(); this.colorbuttonPrimary.CanFocus = true; this.colorbuttonPrimary.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonPrimary.Name = "colorbuttonPrimary"; this.table2.Add(this.colorbuttonPrimary); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonPrimary])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.colorbuttonSecondary = new global::Gtk.ColorButton(); this.colorbuttonSecondary.CanFocus = true; this.colorbuttonSecondary.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonSecondary.Name = "colorbuttonSecondary"; this.table2.Add(this.colorbuttonSecondary); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.colorbuttonSecondary])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 1F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("_Secondary Color:"); this.label10.UseUnderline = true; this.table2.Add(this.label10); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 1F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("_Border Color:"); this.label11.UseUnderline = true; this.table2.Add(this.label11); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 1F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("_Primary Color:"); this.label9.UseUnderline = true; this.table2.Add(this.label9); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table2])); w25.Position = 0; w25.Expand = false; w25.Fill = false; this.notebookColorChooser.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.notebookColorChooser [this.vbox5])); w26.Position = 1; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebookColorChooser.SetTabLabel(this.vbox5, this.label6); this.label6.ShowAll(); this.vbox3.Add(this.notebookColorChooser); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebookColorChooser])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("_Preview:"); this.label8.UseUnderline = true; this.vbox3.Add(this.label8); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label8])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindowTextEditor = new global::Gtk.ScrolledWindow(); this.scrolledwindowTextEditor.CanFocus = true; this.scrolledwindowTextEditor.Name = "scrolledwindowTextEditor"; this.scrolledwindowTextEditor.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox3.Add(this.scrolledwindowTextEditor); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindowTextEditor])); w29.Position = 2; this.hpaned1.Add(this.vbox3); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w31.Position = 1; // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.ActionArea global::Gtk.HButtonBox w32 = this.ActionArea; w32.Name = "dialog1_ActionArea"; w32.Spacing = 10; w32.BorderWidth = ((uint)(5)); w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel])); w33.Expand = false; w33.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk])); w34.Position = 1; w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 760; this.DefaultHeight = 458; this.label2.MnemonicWidget = this.entryName; this.label3.MnemonicWidget = this.entryDescription; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget fyiReporting.RdlGtkViewer.ReportViewer Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh"); this.refreshAction.IsImportant = true; w2.Add(this.refreshAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("_Export"), global::Mono.Unix.Catalog.GetString("Export as PDF, CSV, ASP, HTML, MHTML, XML, Excel"), "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export"); w2.Add(this.saveAsAction, null); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("_Print"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Print"); w2.Add(this.printAction, null); this.ZoomOutAction = new global::Gtk.Action("ZoomOutAction", null, null, "gtk-zoom-out"); this.ZoomOutAction.IsImportant = true; w2.Add(this.ZoomOutAction, null); this.ZoomInAction = new global::Gtk.Action("ZoomInAction", null, null, "gtk-zoom-in"); this.ZoomInAction.IsImportant = true; w2.Add(this.ZoomInAction, null); this.errorsAction = new global::Gtk.ToggleAction("errorsAction", null, null, "gtk-dialog-warning"); this.errorsAction.DrawAsRadio = true; this.errorsAction.IsImportant = true; this.errorsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show _Errors"); this.errorsAction.VisibleHorizontal = false; w2.Add(this.errorsAction, null); this.UIManager.InsertActionGroup(w2, 0); this.WidthRequest = 0; this.HeightRequest = 0; this.Name = "fyiReporting.RdlGtkViewer.ReportViewer"; // Container child fyiReporting.RdlGtkViewer.ReportViewer.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hboxHeader = new global::Gtk.HBox(); this.hboxHeader.Name = "hboxHeader"; this.hboxHeader.Spacing = 6; // Container child hboxHeader.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar'><toolitem name='printAction' action='printAction'/><toolitem name='saveAsAction' action='saveAsAction'/><separator/><toolitem name='ZoomInAction' action='ZoomInAction'/><toolitem name='ZoomOutAction' action='ZoomOutAction'/><toolitem name='refreshAction' action='refreshAction'/><separator/><toolitem name='errorsAction' action='errorsAction'/></toolbar></ui>"); this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar"))); this.toolbar.Name = "toolbar"; this.toolbar.ShowArrow = false; this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.hboxHeader.Add(this.toolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxHeader [this.toolbar])); w3.Position = 0; this.vbox.Add(this.hboxHeader); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hboxHeader])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox = new global::Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.vboxParameters = new global::Gtk.VBox(); this.vboxParameters.Name = "vboxParameters"; this.vboxParameters.Spacing = 6; this.hbox.Add(this.vboxParameters); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox [this.vboxParameters])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox.Gtk.Box+BoxChild this.hpanedReport = new global::Gtk.HPaned(); this.hpanedReport.CanFocus = true; this.hpanedReport.Name = "hpanedReport"; this.hpanedReport.Position = 364; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowPages = new global::Gtk.ScrolledWindow(); this.scrolledwindowPages.CanFocus = true; this.scrolledwindowPages.Name = "scrolledwindowPages"; this.scrolledwindowPages.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowPages.Gtk.Container+ContainerChild global::Gtk.Viewport w6 = new global::Gtk.Viewport(); w6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vboxPages = new global::Gtk.VBox(); this.vboxPages.Name = "vboxPages"; this.vboxPages.Spacing = 6; w6.Add(this.vboxPages); this.scrolledwindowPages.Add(w6); this.hpanedReport.Add(this.scrolledwindowPages); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowPages])); w9.Resize = false; // Container child hpanedReport.Gtk.Paned+PanedChild this.scrolledwindowErrors = new global::Gtk.ScrolledWindow(); this.scrolledwindowErrors.CanFocus = true; this.scrolledwindowErrors.Name = "scrolledwindowErrors"; this.scrolledwindowErrors.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindowErrors.Gtk.Container+ContainerChild this.textviewErrors = new global::Gtk.TextView(); this.textviewErrors.WidthRequest = 200; this.textviewErrors.CanFocus = true; this.textviewErrors.Name = "textviewErrors"; this.textviewErrors.Editable = false; this.textviewErrors.WrapMode = ((global::Gtk.WrapMode)(3)); this.scrolledwindowErrors.Add(this.textviewErrors); this.hpanedReport.Add(this.scrolledwindowErrors); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpanedReport [this.scrolledwindowErrors])); w11.Resize = false; w11.Shrink = false; this.hbox.Add(this.hpanedReport); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox [this.hpanedReport])); w12.Position = 1; this.vbox.Add(this.hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox])); w13.Position = 1; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.vboxParameters.Hide(); this.textviewErrors.Hide(); this.Hide(); this.refreshAction.Activated += new global::System.EventHandler(this.OnRefreshActionActivated); this.saveAsAction.Activated += new global::System.EventHandler(this.OnPdfActionActivated); this.printAction.Activated += new global::System.EventHandler(this.OnPrintActionActivated); this.ZoomOutAction.Activated += new global::System.EventHandler(this.OnZoomOutActionActivated); this.ZoomInAction.Activated += new global::System.EventHandler(this.OnZoomInActionActivated); this.hpanedReport.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHpanedReportSizeAllocated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Hangman"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("HangmanGame.Resources.images.program_icon.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.DefaultWidth = 800; this.DefaultHeight = 475; // Container child MainWindow.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 350; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hangmanImage = new global::Gtk.Image(); this.hangmanImage.Name = "hangmanImage"; this.vbox1.Add(this.hangmanImage); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hangmanImage])); w1.Position = 1; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.wordText = new global::Gtk.Label(); this.wordText.Name = "wordText"; this.vbox1.Add(this.wordText); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.wordText])); w2.Position = 2; w2.Fill = false; this.hpaned1.Add(this.vbox1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vbox1])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.resultText = new global::Gtk.TextView(); this.resultText.Buffer.Text = global::Mono.Unix.Catalog.GetString("Awaiting your attempt..."); this.resultText.Name = "resultText"; this.resultText.Editable = false; this.resultText.CursorVisible = false; this.resultText.Justification = ((global::Gtk.Justification)(2)); this.resultText.WrapMode = ((global::Gtk.WrapMode)(2)); this.vbox3.Add(this.resultText); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.resultText])); w4.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.guessesRemaining = new global::Gtk.Label(); this.guessesRemaining.Name = "guessesRemaining"; this.guessesRemaining.LabelProp = global::Mono.Unix.Catalog.GetString("Guesses Remaining: 6"); this.vbox3.Add(this.guessesRemaining); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.guessesRemaining])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.gameOverText = new global::Gtk.Label(); this.gameOverText.Name = "gameOverText"; this.gameOverText.LabelProp = global::Mono.Unix.Catalog.GetString("GAME OVER!!!"); this.vbox3.Add(this.gameOverText); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.gameOverText])); w6.Position = 2; w6.Expand = false; w6.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.inputText = new global::Gtk.Entry(); this.inputText.CanFocus = true; this.inputText.Name = "inputText"; this.inputText.IsEditable = true; this.inputText.InvisibleChar = '•'; this.hbox1.Add(this.inputText); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.inputText])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.enterButton = new global::Gtk.Button(); this.enterButton.CanFocus = true; this.enterButton.Name = "enterButton"; this.enterButton.UseStock = true; this.enterButton.UseUnderline = true; this.enterButton.Label = "gtk-ok"; this.hbox1.Add(this.enterButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.enterButton])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.quitButton = new global::Gtk.Button(); this.quitButton.CanFocus = true; this.quitButton.Name = "quitButton"; this.quitButton.UseStock = true; this.quitButton.UseUnderline = true; this.quitButton.Label = "gtk-quit"; this.hbox1.Add(this.quitButton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.quitButton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.hpaned1.Add(this.vbox3); this.Add(this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.gameOverText.Hide(); this.quitButton.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.inputText.Activated += new global::System.EventHandler(this.OnEnter); this.enterButton.Clicked += new global::System.EventHandler(this.OnEnter); this.quitButton.Clicked += new global::System.EventHandler(this.OnQuit); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.PackageManagement.PackagesWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.PackageManagement.PackagesWidget"; // Container child MonoDevelop.PackageManagement.PackagesWidget.Gtk.Container+ContainerChild this.mainPane = new global::Gtk.HPaned (); this.mainPane.CanFocus = true; this.mainPane.Name = "mainPane"; this.mainPane.Position = 322; // Container child mainPane.Gtk.Paned+PanedChild this.packagesListVBox = new global::Gtk.VBox (); this.packagesListVBox.Name = "packagesListVBox"; this.packagesListVBox.Spacing = 6; // Container child packagesListVBox.Gtk.Box+BoxChild this.packagesTreeScrolledWindow = new global::Gtk.ScrolledWindow (); this.packagesTreeScrolledWindow.Name = "packagesTreeScrolledWindow"; this.packagesTreeScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child packagesTreeScrolledWindow.Gtk.Container+ContainerChild this.packagesTreeView = new global::Gtk.TreeView (); this.packagesTreeView.CanFocus = true; this.packagesTreeView.Name = "packagesTreeView"; this.packagesTreeView.EnableSearch = false; this.packagesTreeView.HeadersVisible = false; this.packagesTreeScrolledWindow.Add (this.packagesTreeView); this.packagesListVBox.Add (this.packagesTreeScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.packagesListVBox [this.packagesTreeScrolledWindow])); w2.Position = 0; // Container child packagesListVBox.Gtk.Box+BoxChild this.pagedResultsHBox = new global::Gtk.HBox (); this.pagedResultsHBox.Name = "pagedResultsHBox"; this.pagedResultsHBox.Spacing = 6; // Container child pagedResultsHBox.Gtk.Box+BoxChild this.pagedResultsLeftLabel = new global::Gtk.Label (); this.pagedResultsLeftLabel.Name = "pagedResultsLeftLabel"; this.pagedResultsHBox.Add (this.pagedResultsLeftLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.pagedResultsHBox [this.pagedResultsLeftLabel])); w3.Position = 0; // Container child pagedResultsHBox.Gtk.Box+BoxChild this.pagedResultsWidget = new global::MonoDevelop.PackageManagement.PagedResultsWidget (); this.pagedResultsWidget.Events = ((global::Gdk.EventMask)(256)); this.pagedResultsWidget.Name = "pagedResultsWidget"; this.pagedResultsHBox.Add (this.pagedResultsWidget); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.pagedResultsHBox [this.pagedResultsWidget])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child pagedResultsHBox.Gtk.Box+BoxChild this.pagedResultsRightLabel = new global::Gtk.Label (); this.pagedResultsRightLabel.Name = "pagedResultsRightLabel"; this.pagedResultsHBox.Add (this.pagedResultsRightLabel); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.pagedResultsHBox [this.pagedResultsRightLabel])); w5.Position = 2; this.packagesListVBox.Add (this.pagedResultsHBox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.packagesListVBox [this.pagedResultsHBox])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.mainPane.Add (this.packagesListVBox); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.mainPane [this.packagesListVBox])); w7.Resize = false; // Container child mainPane.Gtk.Paned+PanedChild this.packageInfoVBox = new global::Gtk.VBox (); this.packageInfoVBox.Name = "packageInfoVBox"; this.packageInfoVBox.Spacing = 6; // Container child packageInfoVBox.Gtk.Box+BoxChild this.packageSourceComboBox = global::Gtk.ComboBox.NewText (); this.packageSourceComboBox.Name = "packageSourceComboBox"; this.packageInfoVBox.Add (this.packageSourceComboBox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.packageInfoVBox [this.packageSourceComboBox])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child packageInfoVBox.Gtk.Box+BoxChild this.packageSearchHBox = new global::Gtk.HBox (); this.packageSearchHBox.Name = "packageSearchHBox"; this.packageSearchHBox.Spacing = 6; // Container child packageSearchHBox.Gtk.Box+BoxChild this.packageSearchEntry = new global::Gtk.Entry (); this.packageSearchEntry.CanFocus = true; this.packageSearchEntry.Name = "packageSearchEntry"; this.packageSearchEntry.IsEditable = true; this.packageSearchEntry.InvisibleChar = '●'; this.packageSearchHBox.Add (this.packageSearchEntry); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.packageSearchHBox [this.packageSearchEntry])); w9.Position = 0; // Container child packageSearchHBox.Gtk.Box+BoxChild this.packageSearchButton = new global::Gtk.Button (); this.packageSearchButton.CanFocus = true; this.packageSearchButton.Name = "packageSearchButton"; this.packageSearchButton.UseUnderline = true; // Container child packageSearchButton.Gtk.Container+ContainerChild global::Gtk.Alignment w10 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w11 = new global::Gtk.HBox (); w11.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu); w11.Add (w12); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w14 = new global::Gtk.Label (); w11.Add (w14); w10.Add (w11); this.packageSearchButton.Add (w10); this.packageSearchHBox.Add (this.packageSearchButton); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.packageSearchHBox [this.packageSearchButton])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.packageInfoVBox.Add (this.packageSearchHBox); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.packageInfoVBox [this.packageSearchHBox])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child packageInfoVBox.Gtk.Box+BoxChild this.packageInfoFrame = new global::Gtk.Frame (); this.packageInfoFrame.Name = "packageInfoFrame"; this.packageInfoFrame.ShadowType = ((global::Gtk.ShadowType)(0)); this.packageInfoFrame.LabelYalign = 0F; // Container child packageInfoFrame.Gtk.Container+ContainerChild this.packageInfoFrameAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.packageInfoFrameAlignment.Name = "packageInfoFrameAlignment"; // Container child packageInfoFrameAlignment.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 global::Gtk.Viewport w20 = new global::Gtk.Viewport (); w20.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.packageInfoFrameVBox = new global::Gtk.VBox (); this.packageInfoFrameVBox.Name = "packageInfoFrameVBox"; this.packageInfoFrameVBox.Spacing = 6; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageCreatedByHBox = new global::Gtk.HBox (); this.packageCreatedByHBox.Name = "packageCreatedByHBox"; this.packageCreatedByHBox.Spacing = 6; // Container child packageCreatedByHBox.Gtk.Box+BoxChild this.packageCreatedByLabel = new global::Gtk.Label (); this.packageCreatedByLabel.Name = "packageCreatedByLabel"; this.packageCreatedByLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span weight=\'bold\'>Created by:</span>"); this.packageCreatedByLabel.UseMarkup = true; this.packageCreatedByHBox.Add (this.packageCreatedByLabel); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.packageCreatedByHBox [this.packageCreatedByLabel])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child packageCreatedByHBox.Gtk.Box+BoxChild this.packageCreatedByTextBox = new global::Gtk.Label (); this.packageCreatedByTextBox.Name = "packageCreatedByTextBox"; this.packageCreatedByTextBox.Selectable = true; this.packageCreatedByHBox.Add (this.packageCreatedByTextBox); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.packageCreatedByHBox [this.packageCreatedByTextBox])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.packageInfoFrameVBox.Add (this.packageCreatedByHBox); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageCreatedByHBox])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageVersionHBox = new global::Gtk.HBox (); this.packageVersionHBox.Name = "packageVersionHBox"; this.packageVersionHBox.Spacing = 6; // Container child packageVersionHBox.Gtk.Box+BoxChild this.packageVersionLabel = new global::Gtk.Label (); this.packageVersionLabel.Name = "packageVersionLabel"; this.packageVersionLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span weight=\'bold\'>Version:</span>"); this.packageVersionLabel.UseMarkup = true; this.packageVersionHBox.Add (this.packageVersionLabel); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.packageVersionHBox [this.packageVersionLabel])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child packageVersionHBox.Gtk.Box+BoxChild this.packageVersionTextBox = new global::Gtk.Label (); this.packageVersionTextBox.Name = "packageVersionTextBox"; this.packageVersionTextBox.Selectable = true; this.packageVersionHBox.Add (this.packageVersionTextBox); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.packageVersionHBox [this.packageVersionTextBox])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.packageInfoFrameVBox.Add (this.packageVersionHBox); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageVersionHBox])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageLastUpdatedHBox = new global::Gtk.HBox (); this.packageLastUpdatedHBox.Name = "packageLastUpdatedHBox"; this.packageLastUpdatedHBox.Spacing = 6; // Container child packageLastUpdatedHBox.Gtk.Box+BoxChild this.packageLastUpdatedLabel = new global::Gtk.Label (); this.packageLastUpdatedLabel.Name = "packageLastUpdatedLabel"; this.packageLastUpdatedLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span weight=\'bold\'>Last Updated:</span>"); this.packageLastUpdatedLabel.UseMarkup = true; this.packageLastUpdatedHBox.Add (this.packageLastUpdatedLabel); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.packageLastUpdatedHBox [this.packageLastUpdatedLabel])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child packageLastUpdatedHBox.Gtk.Box+BoxChild this.packageLastUpdatedTextBox = new global::Gtk.Label (); this.packageLastUpdatedTextBox.Name = "packageLastUpdatedTextBox"; this.packageLastUpdatedTextBox.Selectable = true; this.packageLastUpdatedHBox.Add (this.packageLastUpdatedTextBox); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.packageLastUpdatedHBox [this.packageLastUpdatedTextBox])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.packageInfoFrameVBox.Add (this.packageLastUpdatedHBox); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageLastUpdatedHBox])); w29.Position = 2; w29.Expand = false; w29.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageDownloadsHBox = new global::Gtk.HBox (); this.packageDownloadsHBox.Name = "packageDownloadsHBox"; this.packageDownloadsHBox.Spacing = 6; // Container child packageDownloadsHBox.Gtk.Box+BoxChild this.packageDownloadsLabel = new global::Gtk.Label (); this.packageDownloadsLabel.Name = "packageDownloadsLabel"; this.packageDownloadsLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span weight=\'bold\'>Downloads:</span>"); this.packageDownloadsLabel.UseMarkup = true; this.packageDownloadsHBox.Add (this.packageDownloadsLabel); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.packageDownloadsHBox [this.packageDownloadsLabel])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child packageDownloadsHBox.Gtk.Box+BoxChild this.packageDownloadsTextBox = new global::Gtk.Label (); this.packageDownloadsTextBox.Name = "packageDownloadsTextBox"; this.packageDownloadsTextBox.Selectable = true; this.packageDownloadsHBox.Add (this.packageDownloadsTextBox); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.packageDownloadsHBox [this.packageDownloadsTextBox])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.packageInfoFrameVBox.Add (this.packageDownloadsHBox); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageDownloadsHBox])); w32.Position = 3; w32.Expand = false; w32.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.viewLicenseTermsHBox = new global::Gtk.HBox (); this.viewLicenseTermsHBox.Name = "viewLicenseTermsHBox"; this.viewLicenseTermsHBox.Spacing = 6; // Container child viewLicenseTermsHBox.Gtk.Box+BoxChild this.viewLicenseTermsButton = new global::MonoDevelop.PackageManagement.HyperlinkWidget (); this.viewLicenseTermsButton.Events = ((global::Gdk.EventMask)(256)); this.viewLicenseTermsButton.Name = "viewLicenseTermsButton"; this.viewLicenseTermsButton.Uri = ""; this.viewLicenseTermsButton.Label = "View License Terms"; this.viewLicenseTermsHBox.Add (this.viewLicenseTermsButton); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.viewLicenseTermsHBox [this.viewLicenseTermsButton])); w33.Position = 0; this.packageInfoFrameVBox.Add (this.viewLicenseTermsHBox); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.viewLicenseTermsHBox])); w34.Position = 4; w34.Expand = false; w34.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.moreInformationHBox = new global::Gtk.HBox (); this.moreInformationHBox.Name = "moreInformationHBox"; // Container child moreInformationHBox.Gtk.Box+BoxChild this.moreInformationButton = new global::MonoDevelop.PackageManagement.HyperlinkWidget (); this.moreInformationButton.Events = ((global::Gdk.EventMask)(256)); this.moreInformationButton.Name = "moreInformationButton"; this.moreInformationButton.Uri = ""; this.moreInformationButton.Label = "More Information"; this.moreInformationHBox.Add (this.moreInformationButton); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.moreInformationHBox [this.moreInformationButton])); w35.Position = 0; this.packageInfoFrameVBox.Add (this.moreInformationHBox); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.moreInformationHBox])); w36.Position = 5; w36.Expand = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageDescriptionTextView = new global::Gtk.TextView (); this.packageDescriptionTextView.CanFocus = true; this.packageDescriptionTextView.Name = "packageDescriptionTextView"; this.packageDescriptionTextView.Editable = false; this.packageDescriptionTextView.CursorVisible = false; this.packageDescriptionTextView.WrapMode = ((global::Gtk.WrapMode)(2)); this.packageInfoFrameVBox.Add (this.packageDescriptionTextView); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageDescriptionTextView])); w37.Position = 6; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageDependenciesHBox = new global::Gtk.HBox (); this.packageDependenciesHBox.Name = "packageDependenciesHBox"; this.packageDependenciesHBox.Spacing = 6; // Container child packageDependenciesHBox.Gtk.Box+BoxChild this.packageDependenciesLabel = new global::Gtk.Label (); this.packageDependenciesLabel.Name = "packageDependenciesLabel"; this.packageDependenciesLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<span weight=\'bold\'>Dependencies:</span>"); this.packageDependenciesLabel.UseMarkup = true; this.packageDependenciesHBox.Add (this.packageDependenciesLabel); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.packageDependenciesHBox [this.packageDependenciesLabel])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child packageDependenciesHBox.Gtk.Box+BoxChild this.packageDependenciesNoneLabel = new global::Gtk.Label (); this.packageDependenciesNoneLabel.Name = "packageDependenciesNoneLabel"; this.packageDependenciesNoneLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("None"); this.packageDependenciesNoneLabel.Selectable = true; this.packageDependenciesHBox.Add (this.packageDependenciesNoneLabel); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.packageDependenciesHBox [this.packageDependenciesNoneLabel])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.packageInfoFrameVBox.Add (this.packageDependenciesHBox); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageDependenciesHBox])); w40.Position = 7; w40.Expand = false; w40.Fill = false; // Container child packageInfoFrameVBox.Gtk.Box+BoxChild this.packageDependenciesListHBox = new global::Gtk.HBox (); this.packageDependenciesListHBox.Name = "packageDependenciesListHBox"; this.packageDependenciesListHBox.Spacing = 6; this.packageDependenciesListHBox.BorderWidth = ((uint)(2)); // Container child packageDependenciesListHBox.Gtk.Box+BoxChild this.packageDependenciesListLabel = new global::Gtk.Label (); this.packageDependenciesListLabel.Name = "packageDependenciesListLabel"; this.packageDependenciesListLabel.UseMarkup = true; this.packageDependenciesListHBox.Add (this.packageDependenciesListLabel); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.packageDependenciesListHBox [this.packageDependenciesListLabel])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child packageDependenciesListHBox.Gtk.Box+BoxChild this.packageDependenciesListFillerLabel = new global::Gtk.Label (); this.packageDependenciesListFillerLabel.Name = "packageDependenciesListFillerLabel"; this.packageDependenciesListFillerLabel.Selectable = true; this.packageDependenciesListHBox.Add (this.packageDependenciesListFillerLabel); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.packageDependenciesListHBox [this.packageDependenciesListFillerLabel])); w42.Position = 1; this.packageInfoFrameVBox.Add (this.packageDependenciesListHBox); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.packageInfoFrameVBox [this.packageDependenciesListHBox])); w43.Position = 8; w43.Expand = false; w43.Fill = false; w20.Add (this.packageInfoFrameVBox); this.GtkScrolledWindow.Add (w20); this.packageInfoFrameAlignment.Add (this.GtkScrolledWindow); this.packageInfoFrame.Add (this.packageInfoFrameAlignment); this.packageInfoVBox.Add (this.packageInfoFrame); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.packageInfoVBox [this.packageInfoFrame])); w48.Position = 2; // Container child packageInfoVBox.Gtk.Box+BoxChild this.managePackageButtonBox = new global::Gtk.HButtonBox (); this.managePackageButtonBox.Name = "managePackageButtonBox"; this.managePackageButtonBox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child managePackageButtonBox.Gtk.ButtonBox+ButtonBoxChild this.addPackageButton = new global::Gtk.Button (); this.addPackageButton.CanFocus = true; this.addPackageButton.Name = "addPackageButton"; this.addPackageButton.UseUnderline = true; this.addPackageButton.Label = global::Mono.Unix.Catalog.GetString ("Add"); this.managePackageButtonBox.Add (this.addPackageButton); global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.managePackageButtonBox [this.addPackageButton])); w49.Expand = false; w49.Fill = false; // Container child managePackageButtonBox.Gtk.ButtonBox+ButtonBoxChild this.removePackageButton = new global::Gtk.Button (); this.removePackageButton.CanFocus = true; this.removePackageButton.Name = "removePackageButton"; this.removePackageButton.UseUnderline = true; this.removePackageButton.Label = global::Mono.Unix.Catalog.GetString ("Remove"); this.managePackageButtonBox.Add (this.removePackageButton); global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.managePackageButtonBox [this.removePackageButton])); w50.Position = 1; w50.Expand = false; w50.Fill = false; // Container child managePackageButtonBox.Gtk.ButtonBox+ButtonBoxChild this.managePackageButton = new global::Gtk.Button (); this.managePackageButton.CanFocus = true; this.managePackageButton.Name = "managePackageButton"; this.managePackageButton.UseUnderline = true; this.managePackageButton.Label = global::Mono.Unix.Catalog.GetString ("Manage"); this.managePackageButtonBox.Add (this.managePackageButton); global::Gtk.ButtonBox.ButtonBoxChild w51 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.managePackageButtonBox [this.managePackageButton])); w51.Position = 2; w51.Expand = false; w51.Fill = false; this.packageInfoVBox.Add (this.managePackageButtonBox); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.packageInfoVBox [this.managePackageButtonBox])); w52.PackType = ((global::Gtk.PackType)(1)); w52.Position = 3; w52.Expand = false; w52.Fill = false; this.mainPane.Add (this.packageInfoVBox); this.Add (this.mainPane); if ((this.Child != null)) { this.Child.ShowAll (); } this.packageInfoFrameVBox.Hide (); this.addPackageButton.Hide (); this.removePackageButton.Hide (); this.managePackageButton.Hide (); this.Hide (); this.packageSourceComboBox.Changed += new global::System.EventHandler (this.PackageSourceChanged); this.packageSearchEntry.Activated += new global::System.EventHandler (this.PackageSearchEntryActivated); this.packageSearchButton.Clicked += new global::System.EventHandler (this.SearchButtonClicked); this.addPackageButton.Clicked += new global::System.EventHandler (this.OnAddPackageButtonClicked); this.removePackageButton.Clicked += new global::System.EventHandler (this.RemovePackageButtonClicked); this.managePackageButton.Clicked += new global::System.EventHandler (this.ManagePackagesButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.PlayScript.Formatting.CSharpFormattingProfileDialog this.Name = "MonoDevelop.PlayScript.Formatting.CSharpFormattingProfileDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.PlayScript.Formatting.CSharpFormattingProfileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 424; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("_Category:"); this.label12.UseUnderline = true; this.hbox4.Add(this.label12); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label12])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.comboboxCategories = global::Gtk.ComboBox.NewText(); this.comboboxCategories.Name = "comboboxCategories"; this.hbox4.Add(this.comboboxCategories); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.comboboxCategories])); w3.Position = 1; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebookCategories = new global::Gtk.Notebook(); this.notebookCategories.CanFocus = true; this.notebookCategories.Name = "notebookCategories"; this.notebookCategories.CurrentPage = 3; // Container child notebookCategories.Gtk.Notebook+NotebookChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.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.treeviewIndentOptions = new global::Gtk.TreeView(); this.treeviewIndentOptions.CanFocus = true; this.treeviewIndentOptions.Name = "treeviewIndentOptions"; this.GtkScrolledWindow.Add(this.treeviewIndentOptions); this.vbox8.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow])); w6.Position = 0; this.notebookCategories.Add(this.vbox8); // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookCategories.SetTabLabel(this.vbox8, this.label8); this.label8.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewBracePositions = new global::Gtk.TreeView(); this.treeviewBracePositions.CanFocus = true; this.treeviewBracePositions.Name = "treeviewBracePositions"; this.GtkScrolledWindow1.Add(this.treeviewBracePositions); this.notebookCategories.Add(this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow1])); w9.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow1, this.label9); this.label9.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.table4 = new global::Gtk.Table(((uint)(10)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryAfterUsings = new global::Gtk.Entry(); this.entryAfterUsings.CanFocus = true; this.entryAfterUsings.Name = "entryAfterUsings"; this.entryAfterUsings.IsEditable = true; this.entryAfterUsings.InvisibleChar = '●'; this.table4.Add(this.entryAfterUsings); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryAfterUsings])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforeFirstDeclaration = new global::Gtk.Entry(); this.entryBeforeFirstDeclaration.CanFocus = true; this.entryBeforeFirstDeclaration.Name = "entryBeforeFirstDeclaration"; this.entryBeforeFirstDeclaration.IsEditable = true; this.entryBeforeFirstDeclaration.InvisibleChar = '●'; this.table4.Add(this.entryBeforeFirstDeclaration); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforeFirstDeclaration])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforUsings = new global::Gtk.Entry(); this.entryBeforUsings.CanFocus = true; this.entryBeforUsings.Name = "entryBeforUsings"; this.entryBeforUsings.IsEditable = true; this.entryBeforUsings.InvisibleChar = '●'; this.table4.Add(this.entryBeforUsings); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforUsings])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenEvents = new global::Gtk.Entry(); this.entryBetweenEvents.CanFocus = true; this.entryBetweenEvents.Name = "entryBetweenEvents"; this.entryBetweenEvents.IsEditable = true; this.entryBetweenEvents.InvisibleChar = '●'; this.table4.Add(this.entryBetweenEvents); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenEvents])); w13.TopAttach = ((uint)(8)); w13.BottomAttach = ((uint)(9)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenFields = new global::Gtk.Entry(); this.entryBetweenFields.CanFocus = true; this.entryBetweenFields.Name = "entryBetweenFields"; this.entryBetweenFields.IsEditable = true; this.entryBetweenFields.InvisibleChar = '●'; this.table4.Add(this.entryBetweenFields); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenFields])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenMembers = new global::Gtk.Entry(); this.entryBetweenMembers.CanFocus = true; this.entryBetweenMembers.Name = "entryBetweenMembers"; this.entryBetweenMembers.IsEditable = true; this.entryBetweenMembers.InvisibleChar = '●'; this.table4.Add(this.entryBetweenMembers); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenMembers])); w15.TopAttach = ((uint)(9)); w15.BottomAttach = ((uint)(10)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenTypes = new global::Gtk.Entry(); this.entryBetweenTypes.CanFocus = true; this.entryBetweenTypes.Name = "entryBetweenTypes"; this.entryBetweenTypes.IsEditable = true; this.entryBetweenTypes.InvisibleChar = '●'; this.table4.Add(this.entryBetweenTypes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenTypes])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.Xalign = 0F; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Blank lines in namespaces</b>"); this.GtkLabel8.UseMarkup = true; this.table4.Add(this.GtkLabel8); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel8])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel9 = new global::Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.Xalign = 0F; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Blank lines in types</b>"); this.GtkLabel9.UseMarkup = true; this.table4.Add(this.GtkLabel9); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel9])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.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("<b>Blank lines in compilation unit</b>"); this.label1.UseMarkup = true; this.table4.Add(this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table4 [this.label1])); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Before using declaration:"); this.table4.Add(this.label15); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("After using declaration:"); this.table4.Add(this.label16); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table4 [this.label16])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Between type declarations:"); this.table4.Add(this.label19); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table4 [this.label19])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Before first declaration:"); this.table4.Add(this.label20); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table4 [this.label20])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 1F; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Between field declarations:"); this.table4.Add(this.label21); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table4 [this.label21])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Between other member declarations:"); this.table4.Add(this.label22); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table4 [this.label22])); w25.TopAttach = ((uint)(9)); w25.BottomAttach = ((uint)(10)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Between simple event declarations:"); this.table4.Add(this.label23); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table4 [this.label23])); w26.TopAttach = ((uint)(8)); w26.BottomAttach = ((uint)(9)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebookCategories.Add(this.table4); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.table4])); w27.Position = 2; // Notebook tab this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("page5"); this.notebookCategories.SetTabLabel(this.table4, this.label14); this.label14.ShowAll(); // Container child notebookCategories.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.treeviewWrappingCategory = new global::Gtk.TreeView(); this.treeviewWrappingCategory.CanFocus = true; this.treeviewWrappingCategory.Name = "treeviewWrappingCategory"; this.GtkScrolledWindow3.Add(this.treeviewWrappingCategory); this.notebookCategories.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow3])); w29.Position = 3; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page6"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow3, this.label2); this.label2.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewInsertWhiteSpaceCategory = new global::Gtk.TreeView(); this.treeviewInsertWhiteSpaceCategory.CanFocus = true; this.treeviewInsertWhiteSpaceCategory.Name = "treeviewInsertWhiteSpaceCategory"; this.GtkScrolledWindow2.Add(this.treeviewInsertWhiteSpaceCategory); this.notebookCategories.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow2])); w31.Position = 4; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("page3"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow2, this.label10); this.label10.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewNewLines = new global::Gtk.TreeView(); this.treeviewNewLines.CanFocus = true; this.treeviewNewLines.Name = "treeviewNewLines"; this.GtkScrolledWindow4.Add(this.treeviewNewLines); this.notebookCategories.Add(this.GtkScrolledWindow4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow4])); w33.Position = 5; // Notebook tab this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("page4"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow4, this.label11); this.label11.ShowAll(); this.vbox2.Add(this.notebookCategories); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookCategories])); w34.Position = 1; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w35 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w35.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Preview:"); this.vbox6.Add(this.label13); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label13])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow = new global::Gtk.ScrolledWindow(); this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox6.Add(this.scrolledwindow); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow])); w37.Position = 1; this.hpaned1.Add(this.vbox6); this.vbox5.Add(this.hpaned1); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hpaned1])); w39.Position = 0; w1.Add(this.vbox5); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w40.Position = 0; // Internal child MonoDevelop.PlayScript.Formatting.CSharpFormattingProfileDialog.ActionArea global::Gtk.HButtonBox w41 = this.ActionArea; w41.Name = "dialog1_ActionArea"; w41.Spacing = 10; w41.BorderWidth = ((uint)(5)); w41.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w42 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonCancel])); w42.Expand = false; w42.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w43 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonOk])); w43.Position = 1; w43.Expand = false; w43.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 880; this.DefaultHeight = 551; 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.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("_New"), global::Mono.Unix.Catalog.GetString ("Creates new pipe"), "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New"); w1.Add (this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), global::Mono.Unix.Catalog.GetString ("Opens existing pipe"), "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.OpenAction, "<Control>o"); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), global::Mono.Unix.Catalog.GetString ("Saves pipe"), "gtk-floppy"); this.SaveAction.Sensitive = false; this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save"); w1.Add (this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save _As"), global::Mono.Unix.Catalog.GetString ("Saves pipe as new file"), "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save _As"); w1.Add (this.SaveAsAction, "<Control>q"); this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("_Import"), global::Mono.Unix.Catalog.GetString ("Imports PCL formatted pipe from the clipboard"), "gtk-go-down"); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import"); w1.Add (this.ImportAction, null); this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("_Export"), global::Mono.Unix.Catalog.GetString ("Exports PCL formatted pipe to the clipboard"), "gtk-go-up"); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export"); w1.Add (this.ExportAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("E_xit"), global::Mono.Unix.Catalog.GetString ("Quits application"), "gtk-quit"); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("E_xit"); w1.Add (this.ExitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit"); w1.Add (this.EditAction, null); this.CutAction = new global::Gtk.Action ("CutAction", global::Mono.Unix.Catalog.GetString ("Cu_t"), null, "gtk-cut"); this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t"); w1.Add (this.CutAction, "<Control>x"); this.CopyAction = new global::Gtk.Action ("CopyAction", global::Mono.Unix.Catalog.GetString ("_Copy"), null, "gtk-copy"); this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy"); w1.Add (this.CopyAction, "<Control>c"); this.PasteAction = new global::Gtk.Action ("PasteAction", global::Mono.Unix.Catalog.GetString ("_Paste"), null, "gtk-paste"); this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste"); w1.Add (this.PasteAction, "<Control>v"); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("_Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Delete"); w1.Add (this.DeleteAction, null); this.SelectAllAction = new global::Gtk.Action ("SelectAllAction", global::Mono.Unix.Catalog.GetString ("Select _All"), null, "gtk-select-all"); this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select _All"); w1.Add (this.SelectAllAction, "<Control>a"); this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Prefere_nces"), null, "gtk-preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Prefere_nces"); w1.Add (this.PreferencesAction, null); this.PipeAction = new global::Gtk.Action ("PipeAction", global::Mono.Unix.Catalog.GetString ("_Pipe"), null, null); this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Pipe"); w1.Add (this.PipeAction, null); this.RunAction = new global::Gtk.Action ("RunAction", global::Mono.Unix.Catalog.GetString ("_Run"), global::Mono.Unix.Catalog.GetString ("Runs entire pipe"), "gtk-media-play"); this.RunAction.Sensitive = false; this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Run"); w1.Add (this.RunAction, "<Control>r"); this.RunToLineAction = new global::Gtk.Action ("RunToLineAction", global::Mono.Unix.Catalog.GetString ("Run _To Line"), global::Mono.Unix.Catalog.GetString ("Runs pipe to current line only"), "gtk-media-record"); this.RunToLineAction.Sensitive = false; this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run _To Line"); w1.Add (this.RunToLineAction, "<Control>t"); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.UserGuideAction = new global::Gtk.Action ("UserGuideAction", global::Mono.Unix.Catalog.GetString ("_User Guide"), null, "gtk-help"); this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_User Guide"); w1.Add (this.UserGuideAction, "F1"); this.SupportForumAction = new global::Gtk.Action ("SupportForumAction", global::Mono.Unix.Catalog.GetString ("Support _Forum"), null, null); this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support _Forum"); w1.Add (this.SupportForumAction, null); this.VisitOurHomepageAction = new global::Gtk.Action ("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"), null, "gtk-home"); this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"); w1.Add (this.VisitOurHomepageAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.QuickStartTutorialAction = new global::Gtk.Action ("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString ("Display quick start tutorial"), null); this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"); w1.Add (this.QuickStartTutorialAction, null); this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("_Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Font"); w1.Add (this.FontAction, null); this.AppendStrAction = new global::Gtk.Action ("AppendStrAction", global::Mono.Unix.Catalog.GetString ("AppendStr"), null, "gtk-add"); this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AppendStr"); w1.Add (this.AppendStrAction, null); this.BottomLinesAction = new global::Gtk.Action ("BottomLinesAction", global::Mono.Unix.Catalog.GetString ("BottomLines"), null, "gtk-goto-bottom"); this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("BottomLines"); w1.Add (this.BottomLinesAction, null); this.CallAction = new global::Gtk.Action ("CallAction", global::Mono.Unix.Catalog.GetString ("Call"), null, null); this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Call"); w1.Add (this.CallAction, null); this.CountCharsAction = new global::Gtk.Action ("CountCharsAction", global::Mono.Unix.Catalog.GetString ("CountChars"), null, null); this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountChars"); w1.Add (this.CountCharsAction, null); this.CountLinesAction = new global::Gtk.Action ("CountLinesAction", global::Mono.Unix.Catalog.GetString ("CountLines"), null, null); this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountLines"); w1.Add (this.CountLinesAction, null); this.DelBlankLinesAction = new global::Gtk.Action ("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString ("DelBlankLines"), null, null); this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelBlankLines"); w1.Add (this.DelBlankLinesAction, null); this.DelCharsAction = new global::Gtk.Action ("DelCharsAction", global::Mono.Unix.Catalog.GetString ("DelChars"), null, null); this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelChars"); w1.Add (this.DelCharsAction, null); this.ExclLinesAction = new global::Gtk.Action ("ExclLinesAction", global::Mono.Unix.Catalog.GetString ("ExclLines"), null, null); this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ExclLines"); w1.Add (this.ExclLinesAction, null); this.InclLinesAction = new global::Gtk.Action ("InclLinesAction", global::Mono.Unix.Catalog.GetString ("InclLines"), null, null); this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InclLines"); w1.Add (this.InclLinesAction, null); this.InsLineNoAction = new global::Gtk.Action ("InsLineNoAction", global::Mono.Unix.Catalog.GetString ("InsLineNo"), null, null); this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsLineNo"); w1.Add (this.InsLineNoAction, null); this.InsStrAction = new global::Gtk.Action ("InsStrAction", global::Mono.Unix.Catalog.GetString ("InsStr"), null, null); this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsStr"); w1.Add (this.InsStrAction, null); this.WrapTextAction = new global::Gtk.ToggleAction ("WrapTextAction", global::Mono.Unix.Catalog.GetString ("_Wrap Text"), null, null); this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Wrap Text"); w1.Add (this.WrapTextAction, null); this.InsertCursorColAction = new global::Gtk.Action ("InsertCursorColAction", global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"), null, "gtk-add"); this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"); w1.Add (this.InsertCursorColAction, null); this.DemosAction = new global::Gtk.Action ("DemosAction", global::Mono.Unix.Catalog.GetString ("_Demos"), null, null); this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Demos"); w1.Add (this.DemosAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("PipeWrench"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_standard-filter", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 178; // Container child hpaned1.Gtk.Paned+PanedChild this.CommandsFrame = new global::Gtk.Frame (); this.CommandsFrame.Name = "CommandsFrame"; this.CommandsFrame.BorderWidth = ((uint)(3)); // Container child CommandsFrame.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(6)); this.GtkAlignment.TopPadding = ((uint)(6)); this.GtkAlignment.RightPadding = ((uint)(6)); this.GtkAlignment.BottomPadding = ((uint)(6)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport (); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.UIManager.AddUiFromString ("<ui><toolbar name='CommandsToolbar'/></ui>"); this.CommandsToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/CommandsToolbar"))); this.CommandsToolbar.Name = "CommandsToolbar"; this.CommandsToolbar.Orientation = ((global::Gtk.Orientation)(1)); this.CommandsToolbar.ShowArrow = false; this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.CommandsToolbar.IconSize = ((global::Gtk.IconSize)(2)); w4.Add (this.CommandsToolbar); this.scrolledwindow1.Add (w4); this.GtkAlignment.Add (this.scrolledwindow1); this.CommandsFrame.Add (this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Commands</b>"); this.GtkLabel6.UseMarkup = true; this.CommandsFrame.LabelWidget = this.GtkLabel6; this.hpaned1.Add (this.CommandsFrame); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 156; // Container child vpaned1.Gtk.Paned+PanedChild this.PipeFrame = new global::Gtk.Frame (); this.PipeFrame.Name = "PipeFrame"; this.PipeFrame.BorderWidth = ((uint)(3)); // Container child PipeFrame.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(6)); this.GtkAlignment2.TopPadding = ((uint)(6)); this.GtkAlignment2.RightPadding = ((uint)(6)); this.GtkAlignment2.BottomPadding = ((uint)(6)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.PipeTextView = new global::Gtk.TextView (); this.PipeTextView.TooltipMarkup = "Enter pipe commands here"; this.PipeTextView.CanFocus = true; this.PipeTextView.Name = "PipeTextView"; this.PipeTextView.AcceptsTab = false; this.PipeTextView.RightMargin = 3; this.GtkScrolledWindow.Add (this.PipeTextView); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w11.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Arguments"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ArgsEntry = new global::Gtk.Entry (); this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here"; this.ArgsEntry.CanFocus = true; this.ArgsEntry.Name = "ArgsEntry"; this.ArgsEntry.IsEditable = true; this.ArgsEntry.InvisibleChar = '●'; this.hbox1.Add (this.ArgsEntry); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry])); w13.Position = 1; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.GtkAlignment2.Add (this.vbox3); this.PipeFrame.Add (this.GtkAlignment2); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Pipe</b>"); this.GtkLabel10.UseMarkup = true; this.PipeFrame.LabelWidget = this.GtkLabel10; this.vpaned1.Add (this.PipeFrame); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame])); w17.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.TextFrame = new global::Gtk.Frame (); this.TextFrame.Name = "TextFrame"; this.TextFrame.BorderWidth = ((uint)(3)); // Container child TextFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(6)); this.GtkAlignment1.TopPadding = ((uint)(6)); this.GtkAlignment1.RightPadding = ((uint)(6)); this.GtkAlignment1.BottomPadding = ((uint)(6)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.TextNotebook = new global::Gtk.Notebook (); this.TextNotebook.CanFocus = true; this.TextNotebook.Name = "TextNotebook"; this.TextNotebook.CurrentPage = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.InputTextView = new global::Gtk.TextView (); this.InputTextView.Buffer.Text = "replace this text\nwith the text you\nwant to edit."; this.InputTextView.TooltipMarkup = "Copy the text to process here"; this.InputTextView.CanFocus = true; this.InputTextView.Name = "InputTextView"; this.InputTextView.AcceptsTab = false; this.InputTextView.RightMargin = 3; this.GtkScrolledWindow1.Add (this.InputTextView); this.vbox2.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); w19.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileEntry = new global::Gtk.Entry (); this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file"; this.InputFileEntry.CanFocus = true; this.InputFileEntry.Name = "InputFileEntry"; this.InputFileEntry.IsEditable = false; this.InputFileEntry.InvisibleChar = '●'; this.hbox2.Add (this.InputFileEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry])); w21.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.InputFileBrowseButton = new global::Gtk.Button (); this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file"; this.InputFileBrowseButton.CanFocus = true; this.InputFileBrowseButton.Name = "InputFileBrowseButton"; this.InputFileBrowseButton.UseUnderline = true; this.InputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox2.Add (this.InputFileBrowseButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileClearButton = new global::Gtk.Button (); this.InputFileClearButton.TooltipMarkup = "Clear input text file"; this.InputFileClearButton.CanFocus = true; this.InputFileClearButton.Name = "InputFileClearButton"; this.InputFileClearButton.UseUnderline = true; this.InputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox2.Add (this.InputFileClearButton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.TextNotebook.Add (this.vbox2); // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.OutputTextView = new global::Gtk.TextView (); this.OutputTextView.TooltipMarkup = "Edited text is output here"; this.OutputTextView.CanFocus = true; this.OutputTextView.Name = "OutputTextView"; this.OutputTextView.AcceptsTab = false; this.OutputTextView.RightMargin = 3; this.GtkScrolledWindow2.Add (this.OutputTextView); this.vbox4.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w27.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox3.Add (this.label3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileEntry = new global::Gtk.Entry (); this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file"; this.OutputFileEntry.CanFocus = true; this.OutputFileEntry.Name = "OutputFileEntry"; this.OutputFileEntry.IsEditable = false; this.OutputFileEntry.InvisibleChar = '●'; this.hbox3.Add (this.OutputFileEntry); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry])); w29.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileBrowseButton = new global::Gtk.Button (); this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file"; this.OutputFileBrowseButton.CanFocus = true; this.OutputFileBrowseButton.Name = "OutputFileBrowseButton"; this.OutputFileBrowseButton.UseUnderline = true; this.OutputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox3.Add (this.OutputFileBrowseButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileClearButton = new global::Gtk.Button (); this.OutputFileClearButton.TooltipMarkup = "Clear output text file"; this.OutputFileClearButton.CanFocus = true; this.OutputFileClearButton.Name = "OutputFileClearButton"; this.OutputFileClearButton.UseUnderline = true; this.OutputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox3.Add (this.OutputFileClearButton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.vbox4.Add (this.hbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.TextNotebook.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4])); w33.Position = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ErrorsTextView = new global::Gtk.TextView (); this.ErrorsTextView.TooltipMarkup = "Errors are reported here"; this.ErrorsTextView.CanFocus = true; this.ErrorsTextView.Name = "ErrorsTextView"; this.ErrorsTextView.Editable = false; this.ErrorsTextView.AcceptsTab = false; this.ErrorsTextView.RightMargin = 3; this.GtkScrolledWindow3.Add (this.ErrorsTextView); this.TextNotebook.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3])); w35.Position = 2; this.GtkAlignment1.Add (this.TextNotebook); this.TextFrame.Add (this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label (); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Text</b>"); this.GtkLabel14.UseMarkup = true; this.TextFrame.LabelWidget = this.GtkLabel14; this.vpaned1.Add (this.TextFrame); this.hpaned1.Add (this.vpaned1); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w40.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.TheStatusBar = new global::Gtk.Statusbar (); this.TheStatusBar.Name = "TheStatusBar"; this.TheStatusBar.Spacing = 6; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarCursorPosLabel = new global::Gtk.Label (); this.StatusBarCursorPosLabel.Name = "StatusBarCursorPosLabel"; this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("(0, 0)"); this.TheStatusBar.Add (this.StatusBarCursorPosLabel); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel])); w41.Position = 0; w41.Expand = false; w41.Fill = false; w41.Padding = ((uint)(4)); // Container child TheStatusBar.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.TheStatusBar.Add (this.vseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarTextLabel = new global::Gtk.Label (); this.StatusBarTextLabel.Name = "StatusBarTextLabel"; this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString (" "); this.TheStatusBar.Add (this.StatusBarTextLabel); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel])); w43.Position = 2; w43.Expand = false; w43.Fill = false; w43.Padding = ((uint)(4)); this.vbox1.Add (this.TheStatusBar); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar])); w44.Position = 3; w44.Expand = false; w44.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 488; this.DefaultHeight = 458; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler (this.NewAction_OnActivated); this.OpenAction.Activated += new global::System.EventHandler (this.OpenAction_OnActivated); this.SaveAction.Activated += new global::System.EventHandler (this.SaveAction_OnActivated); this.SaveAsAction.Activated += new global::System.EventHandler (this.SaveAsAction_OnActivated); this.ImportAction.Activated += new global::System.EventHandler (this.ImportAction_OnActivated); this.ExportAction.Activated += new global::System.EventHandler (this.ExportAction_OnActivated); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); this.CutAction.Activated += new global::System.EventHandler (this.Cut_OnActivated); this.CopyAction.Activated += new global::System.EventHandler (this.Copy_OnActivated); this.PasteAction.Activated += new global::System.EventHandler (this.Paste_OnActivated); this.DeleteAction.Activated += new global::System.EventHandler (this.Delete_OnActivated); this.SelectAllAction.Activated += new global::System.EventHandler (this.SelectAll_OnActivated); this.PreferencesAction.Activated += new global::System.EventHandler (this.Preferences_OnActivated); this.RunAction.Activated += new global::System.EventHandler (this.RunAction_OnActivated); this.RunToLineAction.Activated += new global::System.EventHandler (this.RunToLineAction_OnActivated); this.UserGuideAction.Activated += new global::System.EventHandler (this.UserGuide_OnActivated); this.AboutAction.Activated += new global::System.EventHandler (this.About_OnActivated); this.InsertCursorColAction.Activated += new global::System.EventHandler (this.InsertCursorCol_OnActivated); this.DemosAction.Activated += new global::System.EventHandler (this.Demos_OnActivated); this.PipeTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.PipeTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.PipeTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.PipeTextView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.PipeTextView_OnKeyReleaseEvent); this.InputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.InputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.InputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.InputFileEntry.Changed += new global::System.EventHandler (this.InputFileEntry_OnChanged); this.InputFileBrowseButton.Clicked += new global::System.EventHandler (this.InputFileBrowseButton_OnClicked); this.InputFileClearButton.Clicked += new global::System.EventHandler (this.InputFileClearButton_Clicked); this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.OutputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.OutputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.OutputFileEntry.Changed += new global::System.EventHandler (this.OutputFileEntry_OnChanged); this.OutputFileBrowseButton.Clicked += new global::System.EventHandler (this.OutputFileBrowseButton_OnClicked); this.OutputFileClearButton.Clicked += new global::System.EventHandler (this.OutputFileClearButton_Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Ideas.Scada.Server.Manager.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.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.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.quitAction, null); this.OpenAction1 = new global::Gtk.Action("OpenAction1", global::Mono.Unix.Catalog.GetString("Open..."), null, "open"); this.OpenAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Open Application"); w1.Add(this.OpenAction1, null); this.quitAction1 = new global::Gtk.Action("quitAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.quitAction1, null); this.closeAction = new global::Gtk.Action("closeAction", global::Mono.Unix.Catalog.GetString("Close"), null, "gtk-close"); this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Close Application"); w1.Add(this.closeAction, null); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open"), global::Mono.Unix.Catalog.GetString("Open..."), "open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenAction, null); this.tbbClose = new global::Gtk.Action("tbbClose", global::Mono.Unix.Catalog.GetString("Close"), global::Mono.Unix.Catalog.GetString("Close"), "gtk-close"); this.tbbClose.Sensitive = false; this.tbbClose.ShortLabel = global::Mono.Unix.Catalog.GetString("Close"); w1.Add(this.tbbClose, null); this.tbbStartServer = new global::Gtk.Action("tbbStartServer", global::Mono.Unix.Catalog.GetString("Start"), global::Mono.Unix.Catalog.GetString("Start Server"), "gtk-execute"); this.tbbStartServer.Sensitive = false; this.tbbStartServer.ShortLabel = global::Mono.Unix.Catalog.GetString("Start Server"); w1.Add(this.tbbStartServer, null); this.tbbStopServer = new global::Gtk.Action("tbbStopServer", global::Mono.Unix.Catalog.GetString("Stop"), global::Mono.Unix.Catalog.GetString("Stop Server"), "gtk-stop"); this.tbbStopServer.Sensitive = false; this.tbbStopServer.ShortLabel = global::Mono.Unix.Catalog.GetString("Stop"); w1.Add(this.tbbStopServer, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings..."), null, "settings"); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings..."); w1.Add(this.SettingsAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save"); w1.Add(this.saveAction, null); this.ServerAction = new global::Gtk.Action("ServerAction", global::Mono.Unix.Catalog.GetString("Server"), null, null); this.ServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Server"); w1.Add(this.ServerAction, null); this.StartAction = new global::Gtk.Action("StartAction", global::Mono.Unix.Catalog.GetString("Start"), null, null); this.StartAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Start"); w1.Add(this.StartAction, null); this.StopAction = new global::Gtk.Action("StopAction", global::Mono.Unix.Catalog.GetString("Stop"), null, null); this.StopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Stop"); w1.Add(this.StopAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Ideas.Scada.Server.Manager.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("IDEAS Server Management"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Ideas.Scada.Server.Manager.Resources.Icons.Interface.32.ideas.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child Ideas.Scada.Server.Manager.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='menubar3'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction1' action='OpenAction1'/><menuitem name='saveAction' action='saveAction'/><menuitem name='closeAction' action='closeAction'/><separator/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='EditAction' action='EditAction'><menuitem name='SettingsAction' action='SettingsAction'/></menu><menu name='ServerAction' action='ServerAction'><menuitem name='StartAction' action='StartAction'/><menuitem name='StopAction' action='StopAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox1.Add(this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='tbrMenuBar'><toolitem name='OpenAction' action='OpenAction'/><toolitem name='tbbClose' action='tbbClose'/><toolitem name='tbbStartServer' action='tbbStartServer'/><toolitem name='tbbStopServer' action='tbbStopServer'/></toolbar></ui>"); this.tbrMenuBar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/tbrMenuBar"))); this.tbrMenuBar.TooltipMarkup = "Start Server"; this.tbrMenuBar.Name = "tbrMenuBar"; this.tbrMenuBar.ShowArrow = false; this.tbrMenuBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.tbrMenuBar.IconSize = ((global::Gtk.IconSize)(1)); this.vbox1.Add(this.tbrMenuBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.tbrMenuBar])); 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 = 279; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.trvApplicationTreeView = new global::Gtk.TreeView(); this.trvApplicationTreeView.CanFocus = true; this.trvApplicationTreeView.Name = "trvApplicationTreeView"; this.trvApplicationTreeView.HeadersVisible = false; this.GtkScrolledWindow.Add(this.trvApplicationTreeView); this.hpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.GtkScrolledWindow])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.txvTextView = new global::Gtk.TextView(); this.txvTextView.CanFocus = true; this.txvTextView.Name = "txvTextView"; this.GtkScrolledWindow1.Add(this.txvTextView); this.hpaned1.Add(this.GtkScrolledWindow1); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w8.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.nvwLogView = new global::Gtk.NodeView(); this.nvwLogView.CanFocus = true; this.nvwLogView.Name = "nvwLogView"; this.GtkScrolledWindow2.Add(this.nvwLogView); this.notebook1.Add(this.GtkScrolledWindow2); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Server Output"); this.notebook1.SetTabLabel(this.GtkScrolledWindow2, this.label1); this.label1.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w11.Position = 3; // 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 w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w12.Position = 4; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.aboutAction.Activated += new global::System.EventHandler(this.aboutAction_Click); this.quitAction.Activated += new global::System.EventHandler(this.mnuFileExit_Click); this.OpenAction1.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction1.Activated += new global::System.EventHandler(this.mnuFileExit_Click); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.OpenAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.tbbClose.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.tbbStartServer.Activated += new global::System.EventHandler(this.OnStartServerActionActivated); this.tbbStopServer.Activated += new global::System.EventHandler(this.OnStopServerActionActivated); this.SettingsAction.Activated += new global::System.EventHandler(this.OnSettingsActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.StartAction.Activated += new global::System.EventHandler(this.OnStartServerActionActivated); this.StopAction.Activated += new global::System.EventHandler(this.OnStopServerActionActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MPfm.GTK.SyncMenuWindow this.Name = "MPfm.GTK.SyncMenuWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("SyncMenuWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MPfm.GTK.SyncMenuWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 4; this.vbox2.BorderWidth = ((uint)(8)); // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.lblTitle = new global::Gtk.Label (); this.lblTitle.Name = "lblTitle"; this.lblTitle.Xalign = 0F; this.lblTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Sync library with"); this.vbox4.Add (this.lblTitle); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblTitle])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.lblSubtitle = new global::Gtk.Label (); this.lblSubtitle.Name = "lblSubtitle"; this.lblSubtitle.Xalign = 0F; this.lblSubtitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Choose audio files to sync"); this.vbox4.Add (this.lblSubtitle); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSubtitle])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w3.Position = 0; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.lblLoading = new global::Gtk.Label (); this.lblLoading.Name = "lblLoading"; this.lblLoading.LabelProp = global::Mono.Unix.Catalog.GetString ("Loading..."); this.vbox2.Add (this.lblLoading); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblLoading])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.progressBar = new global::Gtk.ProgressBar (); this.progressBar.Name = "progressBar"; this.vbox2.Add (this.progressBar); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressBar])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 331; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.GtkScrolledWindow.Add (this.treeView); this.hpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w8.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.vbox1.Add (this.alignment2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment2])); w9.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.btnAdd = new global::Gtk.Button (); this.btnAdd.CanFocus = true; this.btnAdd.Name = "btnAdd"; this.btnAdd.UseUnderline = true; this.btnAdd.Label = global::Mono.Unix.Catalog.GetString (">"); this.vbox1.Add (this.btnAdd); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnAdd])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnRemove = new global::Gtk.Button (); this.btnRemove.CanFocus = true; this.btnRemove.Name = "btnRemove"; this.btnRemove.UseUnderline = true; this.btnRemove.Label = global::Mono.Unix.Catalog.GetString ("<"); this.vbox1.Add (this.btnRemove); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnRemove])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnAddAll = new global::Gtk.Button (); this.btnAddAll.CanFocus = true; this.btnAddAll.Name = "btnAddAll"; this.btnAddAll.UseUnderline = true; this.btnAddAll.Label = global::Mono.Unix.Catalog.GetString (">>"); this.vbox1.Add (this.btnAddAll); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnAddAll])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnRemoveAll = new global::Gtk.Button (); this.btnRemoveAll.CanFocus = true; this.btnRemoveAll.Name = "btnRemoveAll"; this.btnRemoveAll.UseUnderline = true; this.btnRemoveAll.Label = global::Mono.Unix.Catalog.GetString ("<<"); this.vbox1.Add (this.btnRemoveAll); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnRemoveAll])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.alignment3 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; // Container child alignment3.Gtk.Container+ContainerChild this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.alignment3.Add (this.alignment4); this.vbox1.Add (this.alignment3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment3])); w15.Position = 5; this.hbox1.Add (this.vbox1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeViewSelection = new global::Gtk.TreeView (); this.treeViewSelection.CanFocus = true; this.treeViewSelection.Name = "treeViewSelection"; this.GtkScrolledWindow1.Add (this.treeViewSelection); this.hbox1.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1])); w18.Position = 1; this.hpaned1.Add (this.hbox1); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w20.Position = 3; // 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.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.lblTotal = new global::Gtk.Label (); this.lblTotal.Name = "lblTotal"; this.lblTotal.Xalign = 0F; this.lblTotal.LabelProp = global::Mono.Unix.Catalog.GetString ("Total: 0 files (0.0 MB)"); this.vbox3.Add (this.lblTotal); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblTotal])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.lblFreeSpace = new global::Gtk.Label (); this.lblFreeSpace.Name = "lblFreeSpace"; this.lblFreeSpace.Xalign = 0F; this.lblFreeSpace.LabelProp = global::Mono.Unix.Catalog.GetString ("Free space: 3204.3 MB"); this.vbox3.Add (this.lblFreeSpace); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblFreeSpace])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w23.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.btnSync = new global::Gtk.Button (); this.btnSync.CanFocus = true; this.btnSync.Name = "btnSync"; this.btnSync.UseUnderline = true; this.btnSync.Label = global::Mono.Unix.Catalog.GetString ("Sync"); global::Gtk.Image w24 = new global::Gtk.Image (); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu); this.btnSync.Image = w24; this.hbox2.Add (this.btnSync); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnSync])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w26.Position = 4; w26.Expand = false; w26.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 640; this.DefaultHeight = 485; this.Show (); this.treeView.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeViewRowExpanded); this.btnAdd.Clicked += new global::System.EventHandler (this.OnClickAdd); this.btnRemove.Clicked += new global::System.EventHandler (this.OnClickRemove); this.btnAddAll.Clicked += new global::System.EventHandler (this.OnClickAddAll); this.btnRemoveAll.Clicked += new global::System.EventHandler (this.OnClickRemoveAll); this.treeViewSelection.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeViewRowExpanded); this.btnSync.Clicked += new global::System.EventHandler (this.OnClickSync); }
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.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Quit"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.dialogQuestionAction, null); this.zoomInAction1 = new global::Gtk.Action("zoomInAction1", null, null, "gtk-zoom-in"); w1.Add(this.zoomInAction1, null); this.zoomInAction = new global::Gtk.Action("zoomInAction", null, null, "gtk-zoom-in"); w1.Add(this.zoomInAction, null); this.zoomOutAction = new global::Gtk.Action("zoomOutAction", null, null, "gtk-zoom-out"); w1.Add(this.zoomOutAction, null); this.zoomOutAction1 = new global::Gtk.Action("zoomOutAction1", null, null, "gtk-zoom-out"); w1.Add(this.zoomOutAction1, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.MainmenuHelpAction = new global::Gtk.Action("MainmenuHelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, "gtk-help"); this.MainmenuHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.MainmenuHelpAction, null); this.helpAction = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.helpAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction = new global::Gtk.Action("protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueA" + "ction", global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"), null, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction.ShortLabel = global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"); w1.Add(this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1 = new global::Gtk.Action("protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueA" + "ction1", global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"), null, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"); w1.Add(this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1, null); this.MenuoptionAbout = new global::Gtk.Action("MenuoptionAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.MenuoptionAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.MenuoptionAbout, null); this.ResetLayoutAction = new global::Gtk.Action("ResetLayoutAction", global::Mono.Unix.Catalog.GetString("Reset layout"), null, null); this.ResetLayoutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset layout"); w1.Add(this.ResetLayoutAction, null); this.OnResetLayoutAction = new global::Gtk.Action("OnResetLayoutAction", global::Mono.Unix.Catalog.GetString("OnResetLayout"), null, null); this.OnResetLayoutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("OnResetLayout"); w1.Add(this.OnResetLayoutAction, null); this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear"); w1.Add(this.clearAction, null); this.clearAction1 = new global::Gtk.Action("clearAction1", global::Mono.Unix.Catalog.GetString("_Reset layout"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Reset layout"); w1.Add(this.clearAction1, 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.OuterVBox = new global::Gtk.VBox(); this.OuterVBox.Events = ((global::Gdk.EventMask)(32768)); this.OuterVBox.Name = "OuterVBox"; this.OuterVBox.Spacing = 6; // Container child OuterVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='ProgramMenubar'><menu name='FileAction' action='FileAction'><menuitem name='clearAction1' action='clearAction1'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='MainmenuHelpAction' action='MainmenuHelpAction'><menuitem name='MenuoptionAbout' action='MenuoptionAbout'/></menu></menubar></ui>"); this.ProgramMenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/ProgramMenubar"))); this.ProgramMenubar.Name = "ProgramMenubar"; this.OuterVBox.Add(this.ProgramMenubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.OuterVBox[this.ProgramMenubar])); w2.Position = 0; w2.Expand = false; // Container child OuterVBox.Gtk.Box+BoxChild this.TabsheetMsgboxDividor = new global::Gtk.VPaned(); this.TabsheetMsgboxDividor.CanFocus = true; this.TabsheetMsgboxDividor.Name = "TabsheetMsgboxDividor"; this.TabsheetMsgboxDividor.Position = 646; this.TabsheetMsgboxDividor.BorderWidth = ((uint)(4)); // Container child TabsheetMsgboxDividor.Gtk.Paned+PanedChild this.MainTabNotebook = new global::Gtk.Notebook(); this.MainTabNotebook.CanFocus = true; this.MainTabNotebook.Name = "MainTabNotebook"; this.MainTabNotebook.CurrentPage = 0; // Container child MainTabNotebook.Gtk.Notebook+NotebookChild this.WorkbenchHPaneD = new global::Gtk.HPaned(); this.WorkbenchHPaneD.CanFocus = true; this.WorkbenchHPaneD.Name = "WorkbenchHPaneD"; this.WorkbenchHPaneD.Position = 502; // Container child WorkbenchHPaneD.Gtk.Paned+PanedChild this.WorkbenchLeftVPaneD = new global::Gtk.VPaned(); this.WorkbenchLeftVPaneD.CanFocus = true; this.WorkbenchLeftVPaneD.Name = "WorkbenchLeftVPaneD"; this.WorkbenchLeftVPaneD.Position = 274; // Container child WorkbenchLeftVPaneD.Gtk.Paned+PanedChild this.InputImageFileSelector = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.InputImageFileSelector.Name = "InputImageFileSelector"; this.WorkbenchLeftVPaneD.Add(this.InputImageFileSelector); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchLeftVPaneD[this.InputImageFileSelector])); w3.Resize = false; // Container child WorkbenchLeftVPaneD.Gtk.Paned+PanedChild this.InputImageVBox = new global::Gtk.VBox(); this.InputImageVBox.Name = "InputImageVBox"; this.InputImageVBox.Spacing = 6; // Container child InputImageVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'InputImageToolbar\'><toolitem name=\'zoomInAction\' action=\'zoomI" + "nAction\'/><toolitem name=\'zoomOutAction\' action=\'zoomOutAction\'/></toolbar></ui>" + ""); this.InputImageToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/InputImageToolbar"))); this.InputImageToolbar.Name = "InputImageToolbar"; this.InputImageToolbar.ShowArrow = false; this.InputImageVBox.Add(this.InputImageToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.InputImageVBox[this.InputImageToolbar])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child InputImageVBox.Gtk.Box+BoxChild this.InputimageWindow = new global::Gtk.ScrolledWindow(); this.InputimageWindow.CanFocus = true; this.InputimageWindow.Name = "InputimageWindow"; this.InputimageWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child InputimageWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.InputImageDisplay = new global::Gtk.Image(); this.InputImageDisplay.Name = "InputImageDisplay"; w5.Add(this.InputImageDisplay); this.InputimageWindow.Add(w5); this.InputImageVBox.Add(this.InputimageWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.InputImageVBox[this.InputimageWindow])); w8.Position = 1; this.WorkbenchLeftVPaneD.Add(this.InputImageVBox); this.WorkbenchHPaneD.Add(this.WorkbenchLeftVPaneD); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchHPaneD[this.WorkbenchLeftVPaneD])); w10.Resize = false; // Container child WorkbenchHPaneD.Gtk.Paned+PanedChild this.WorkbenchRightVPaneD = new global::Gtk.VPaned(); this.WorkbenchRightVPaneD.CanFocus = true; this.WorkbenchRightVPaneD.Name = "WorkbenchRightVPaneD"; this.WorkbenchRightVPaneD.Position = 49; // Container child WorkbenchRightVPaneD.Gtk.Paned+PanedChild this.TilesetSelector = global::Gtk.ComboBox.NewText(); this.TilesetSelector.Name = "TilesetSelector"; this.WorkbenchRightVPaneD.Add(this.TilesetSelector); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchRightVPaneD[this.TilesetSelector])); w11.Resize = false; // Container child WorkbenchRightVPaneD.Gtk.Paned+PanedChild this.PreviewImageVBox = new global::Gtk.VBox(); this.PreviewImageVBox.Name = "PreviewImageVBox"; this.PreviewImageVBox.Spacing = 6; // Container child PreviewImageVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'PreviewImageToolbar\'><toolitem name=\'zoomInAction1\' action=\'zo" + "omInAction1\'/><toolitem name=\'zoomOutAction1\' action=\'zoomOutAction1\'/></toolbar" + "></ui>"); this.PreviewImageToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/PreviewImageToolbar"))); this.PreviewImageToolbar.Name = "PreviewImageToolbar"; this.PreviewImageToolbar.ShowArrow = false; this.PreviewImageVBox.Add(this.PreviewImageToolbar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.PreviewImageVBox[this.PreviewImageToolbar])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child PreviewImageVBox.Gtk.Box+BoxChild this.PreviewImageWindow = new global::Gtk.ScrolledWindow(); this.PreviewImageWindow.CanFocus = true; this.PreviewImageWindow.Name = "PreviewImageWindow"; this.PreviewImageWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child PreviewImageWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.PreviewImageDisplay = new global::Gtk.Image(); this.PreviewImageDisplay.Name = "PreviewImageDisplay"; w13.Add(this.PreviewImageDisplay); this.PreviewImageWindow.Add(w13); this.PreviewImageVBox.Add(this.PreviewImageWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.PreviewImageVBox[this.PreviewImageWindow])); w16.Position = 1; this.WorkbenchRightVPaneD.Add(this.PreviewImageVBox); this.WorkbenchHPaneD.Add(this.WorkbenchRightVPaneD); this.MainTabNotebook.Add(this.WorkbenchHPaneD); // Notebook tab this.WorkbenchTab = new global::Gtk.Label(); this.WorkbenchTab.Name = "WorkbenchTab"; this.WorkbenchTab.LabelProp = global::Mono.Unix.Catalog.GetString("Workbench"); this.MainTabNotebook.SetTabLabel(this.WorkbenchHPaneD, this.WorkbenchTab); this.WorkbenchTab.ShowAll(); // Container child MainTabNotebook.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.TilesetTextContent = new global::Gtk.TextView(); this.TilesetTextContent.CanFocus = true; this.TilesetTextContent.Name = "TilesetTextContent"; this.GtkScrolledWindow3.Add(this.TilesetTextContent); this.MainTabNotebook.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.MainTabNotebook[this.GtkScrolledWindow3])); w21.Position = 1; // Notebook tab this.TilesetsTab = new global::Gtk.Label(); this.TilesetsTab.Name = "TilesetsTab"; this.TilesetsTab.LabelProp = global::Mono.Unix.Catalog.GetString("Tilesets"); this.MainTabNotebook.SetTabLabel(this.GtkScrolledWindow3, this.TilesetsTab); this.TilesetsTab.ShowAll(); // Notebook tab global::Gtk.Label w22 = new global::Gtk.Label(); w22.Visible = true; this.MainTabNotebook.Add(w22); this.ExportTab = new global::Gtk.Label(); this.ExportTab.Name = "ExportTab"; this.ExportTab.LabelProp = global::Mono.Unix.Catalog.GetString("Export"); this.MainTabNotebook.SetTabLabel(w22, this.ExportTab); this.ExportTab.ShowAll(); this.TabsheetMsgboxDividor.Add(this.MainTabNotebook); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.TabsheetMsgboxDividor[this.MainTabNotebook])); w23.Resize = false; // Container child TabsheetMsgboxDividor.Gtk.Paned+PanedChild this.MessageBoxPane = new global::Gtk.ScrolledWindow(); this.MessageBoxPane.Name = "MessageBoxPane"; this.MessageBoxPane.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child MessageBoxPane.Gtk.Container+ContainerChild this.MessagesBox = new global::Gtk.TextView(); this.MessagesBox.HeightRequest = 32; this.MessagesBox.Name = "MessagesBox"; this.MessageBoxPane.Add(this.MessagesBox); this.TabsheetMsgboxDividor.Add(this.MessageBoxPane); this.OuterVBox.Add(this.TabsheetMsgboxDividor); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.OuterVBox[this.TabsheetMsgboxDividor])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 1; this.Add(this.OuterVBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 981; this.DefaultHeight = 891; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.zoomInAction.Activated += new global::System.EventHandler(this.OnInputImageZoomin); this.helpAction.Activated += new global::System.EventHandler(this.ShowAbout); this.quitAction.Activated += new global::System.EventHandler(this.QuitRequested); this.MenuoptionAbout.Activated += new global::System.EventHandler(this.ShowAbout); this.clearAction1.Activated += new global::System.EventHandler(this.OnResetLayout); this.InputImageFileSelector.SelectionChanged += new global::System.EventHandler(this.OnInputImageFileSelectorSelectionChanged); this.TilesetSelector.Changed += new global::System.EventHandler(this.OnTilesetSelectorChanged); this.WorkbenchTab.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnTabExpose); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Dialog.TemplatesManager this.Name = "LongoMatch.Gui.Dialog.TemplatesManager"; this.Title = global::Mono.Unix.Catalog.GetString("Templates Manager"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.TemplatesManager.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 144; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // 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.treeview = new global::Gtk.TreeView(); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.scrolledwindow2.Add(this.treeview); this.vbox2.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow2])); w3.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; // Container child hbox2.Gtk.Box+BoxChild this.newbutton = new global::Gtk.Button(); this.newbutton.TooltipMarkup = "Create a new template"; this.newbutton.CanFocus = true; this.newbutton.Name = "newbutton"; this.newbutton.UseUnderline = true; // Container child newbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox(); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-new", global::Gtk.IconSize.Button); w5.Add(w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label(); w5.Add(w8); w4.Add(w5); this.newbutton.Add(w4); this.hbox2.Add(this.newbutton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.newbutton])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.deletebutton = new global::Gtk.Button(); this.deletebutton.TooltipMarkup = "Delete this template"; this.deletebutton.Sensitive = false; this.deletebutton.CanFocus = true; this.deletebutton.Name = "deletebutton"; this.deletebutton.UseUnderline = true; // Container child deletebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Button); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w14.Add(w17); w13.Add(w14); this.deletebutton.Add(w13); this.hbox2.Add(this.deletebutton); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.deletebutton])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.savebutton = new global::Gtk.Button(); this.savebutton.TooltipMarkup = "Save this template"; this.savebutton.Sensitive = false; this.savebutton.CanFocus = true; this.savebutton.Name = "savebutton"; this.savebutton.UseUnderline = true; // Container child savebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w22 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w23 = new global::Gtk.HBox(); w23.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Button); w23.Add(w24); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w26 = new global::Gtk.Label(); w23.Add(w26); w22.Add(w23); this.savebutton.Add(w22); this.hbox2.Add(this.savebutton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.savebutton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w32 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w32.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.templateditorbox = new global::Gtk.HBox(); this.templateditorbox.Name = "templateditorbox"; this.templateditorbox.Spacing = 6; this.hpaned1.Add(this.templateditorbox); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w34.Position = 0; // Internal child LongoMatch.Gui.Dialog.TemplatesManager.ActionArea global::Gtk.HButtonBox w35 = this.ActionArea; w35.Name = "dialog1_ActionArea"; w35.Spacing = 6; w35.BorderWidth = ((uint)(5)); w35.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-quit"; this.AddActionWidget(this.buttonOk, 0); global::Gtk.ButtonBox.ButtonBoxChild w36 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w35 [this.buttonOk])); w36.Expand = false; w36.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 866; this.DefaultHeight = 336; this.Show(); this.treeview.RowActivated += new global::Gtk.RowActivatedHandler(this.OnTreeviewRowActivated); this.treeview.CursorChanged += new global::System.EventHandler(this.OnTreeviewCursorChanged); this.newbutton.Clicked += new global::System.EventHandler(this.OnNewbuttonClicked); this.deletebutton.Clicked += new global::System.EventHandler(this.OnDeletebuttonClicked); this.savebutton.Clicked += new global::System.EventHandler(this.OnSavebuttonClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
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.directoryAction = new global::Gtk.Action("directoryAction", null, null, "gtk-directory"); w1.Add(this.directoryAction, null); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.floppyAction = new global::Gtk.Action("floppyAction", null, null, "gtk-floppy"); w1.Add(this.floppyAction, null); this.selectColorAction1 = new global::Gtk.Action("selectColorAction1", null, null, "gtk-select-color"); w1.Add(this.selectColorAction1, null); this.selectColorAction = new global::Gtk.Action("selectColorAction", null, null, "gtk-select-color"); w1.Add(this.selectColorAction, null); this.copyAction = new global::Gtk.Action("copyAction", null, null, "gtk-copy"); w1.Add(this.copyAction, null); this.cutAction = new global::Gtk.Action("cutAction", null, null, "gtk-cut"); w1.Add(this.cutAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", null, null, "gtk-paste"); w1.Add(this.pasteAction, null); this.deleteAction = new global::Gtk.Action("deleteAction", null, null, "gtk-delete"); w1.Add(this.deleteAction, null); this.undoAction = new global::Gtk.Action("undoAction", null, null, "gtk-undo"); w1.Add(this.undoAction, null); this.redoAction = new global::Gtk.Action("redoAction", null, null, "gtk-redo"); w1.Add(this.redoAction, null); this.boldAction = new global::Gtk.Action("boldAction", null, null, "gtk-bold"); w1.Add(this.boldAction, null); this.italicAction = new global::Gtk.Action("italicAction", null, null, "gtk-italic"); w1.Add(this.italicAction, null); this.strikethroughAction = new global::Gtk.Action("strikethroughAction", null, null, "gtk-strikethrough"); w1.Add(this.strikethroughAction, null); this.underlineAction = new global::Gtk.Action("underlineAction", null, null, "gtk-underline"); w1.Add(this.underlineAction, null); this.indentAction = new global::Gtk.Action("indentAction", null, null, "gtk-indent"); w1.Add(this.indentAction, null); this.TreeNoteAction = new global::Gtk.Action("TreeNoteAction", null, null, "TreeNote"); w1.Add(this.TreeNoteAction, null); this.picsAction = new global::Gtk.Action("picsAction", null, null, "pics"); w1.Add(this.picsAction, null); this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new"); w1.Add(this.newAction, null); this.Action = new global::Gtk.Action("Action", global::Mono.Unix.Catalog.GetString("文件"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString("文件"); w1.Add(this.Action, null); this.Action1 = new global::Gtk.Action("Action1", global::Mono.Unix.Catalog.GetString("新建"), null, null); this.Action1.ShortLabel = global::Mono.Unix.Catalog.GetString("新建"); w1.Add(this.Action1, null); this.Action2 = new global::Gtk.Action("Action2", global::Mono.Unix.Catalog.GetString("打开"), null, null); this.Action2.ShortLabel = global::Mono.Unix.Catalog.GetString("打开"); w1.Add(this.Action2, null); this.Action3 = new global::Gtk.Action("Action3", global::Mono.Unix.Catalog.GetString("保存"), null, null); this.Action3.ShortLabel = global::Mono.Unix.Catalog.GetString("保存"); w1.Add(this.Action3, null); this.Action4 = new global::Gtk.Action("Action4", global::Mono.Unix.Catalog.GetString("另存为"), null, null); this.Action4.ShortLabel = global::Mono.Unix.Catalog.GetString("另存为"); w1.Add(this.Action4, null); this.Action5 = new global::Gtk.Action("Action5", global::Mono.Unix.Catalog.GetString("关闭"), null, null); this.Action5.ShortLabel = global::Mono.Unix.Catalog.GetString("关闭"); w1.Add(this.Action5, null); this.Action6 = new global::Gtk.Action("Action6", global::Mono.Unix.Catalog.GetString("---"), null, null); this.Action6.ShortLabel = global::Mono.Unix.Catalog.GetString("---"); w1.Add(this.Action6, null); this.Action7 = new global::Gtk.Action("Action7", global::Mono.Unix.Catalog.GetString("历史文件"), null, null); this.Action7.ShortLabel = global::Mono.Unix.Catalog.GetString("历史文件"); w1.Add(this.Action7, null); this.AAAAction = new global::Gtk.Action("AAAAction", global::Mono.Unix.Catalog.GetString("AAA"), null, null); this.AAAAction.ShortLabel = global::Mono.Unix.Catalog.GetString("AAA"); w1.Add(this.AAAAction, null); this.BBBBAction = new global::Gtk.Action("BBBBAction", global::Mono.Unix.Catalog.GetString("BBBB"), null, null); this.BBBBAction.ShortLabel = global::Mono.Unix.Catalog.GetString("BBBB"); w1.Add(this.BBBBAction, null); this.Action8 = new global::Gtk.Action("Action8", global::Mono.Unix.Catalog.GetString("编辑"), null, null); this.Action8.ShortLabel = global::Mono.Unix.Catalog.GetString("编辑"); w1.Add(this.Action8, null); this.Action9 = new global::Gtk.Action("Action9", global::Mono.Unix.Catalog.GetString("配置"), null, null); this.Action9.ShortLabel = global::Mono.Unix.Catalog.GetString("配置"); w1.Add(this.Action9, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.CanFocus = true; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='Action' action='Action'><menuitem name='Action1' action='Action1'/><menuitem name='Action2' action='Action2'/><menuitem name='Action3' action='Action3'/><menuitem name='Action4' action='Action4'/><menuitem name='Action5' action='Action5'/><menuitem name='Action6' action='Action6'/><menu name='Action7' action='Action7'><menuitem name='AAAAction' action='AAAAction'/><menuitem name='BBBBAction' action='BBBBAction'/></menu></menu><menu name='Action8' action='Action8'/><menu name='Action9' action='Action9'/></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='directoryAction' action='directoryAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='floppyAction' action='floppyAction'/><toolitem name='selectColorAction1' action='selectColorAction1'/><toolitem name='selectColorAction' action='selectColorAction'/><toolitem name='copyAction' action='copyAction'/><toolitem name='cutAction' action='cutAction'/><toolitem name='pasteAction' action='pasteAction'/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='undoAction' action='undoAction'/><toolitem name='redoAction' action='redoAction'/><toolitem name='boldAction' action='boldAction'/><toolitem name='italicAction' action='italicAction'/><toolitem name='strikethroughAction' action='strikethroughAction'/><toolitem name='underlineAction' action='underlineAction'/><toolitem name='indentAction' action='indentAction'/><toolitem name='TreeNoteAction' action='TreeNoteAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.WidthRequest = 300; this.hpaned1.CanDefault = true; this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 183; this.hpaned1.BorderWidth = ((uint)(2)); // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 180; this.GtkScrolledWindow.Events = ((global::Gdk.EventMask)(32)); 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.WidthRequest = 100; this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.HeadersVisible = false; this.GtkScrolledWindow.Add(this.treeview1); this.hpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.WidthRequest = 400; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.WidthRequest = 200; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow1.Add(this.textview1); this.hpaned1.Add(this.GtkScrolledWindow1); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w8.Position = 2; w8.Padding = ((uint)(10)); // 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 w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 806; this.DefaultHeight = 300; this.hpaned1.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Trilogic.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction, null); this.OptionsAction = new global::Gtk.Action ("OptionsAction", global::Mono.Unix.Catalog.GetString ("Options"), null, null); this.OptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Options"); w1.Add (this.OptionsAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Trilogic.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Trilogic Backup"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Trilogic.MainWindow.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar\'><menu name=\'FileAction\' action=\'FileAction\'><menuitem" + " name=\'quitAction\' action=\'quitAction\'/></menu><menu name=\'EditAction\' action=\'E" + "ditAction\'><menuitem name=\'OptionsAction\' action=\'OptionsAction\'/></menu></menub" + "ar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar"))); this.menubar.Name = "menubar"; this.vbox4.Add (this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 374; this.vpaned1.BorderWidth = ((uint)(5)); // Container child vpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox6.Add (this.fixed1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.fixed1])); w3.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.comboShow = global::Gtk.ComboBox.NewText (); this.comboShow.AppendText (global::Mono.Unix.Catalog.GetString ("Show All")); this.comboShow.AppendText (global::Mono.Unix.Catalog.GetString ("Show Difference")); this.comboShow.Name = "comboShow"; this.comboShow.Active = 1; this.hbox6.Add (this.comboShow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboShow])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.comboType = global::Gtk.ComboBox.NewText (); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("All")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Table")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Stored Procedure")); this.comboType.AppendText (global::Mono.Unix.Catalog.GetString ("Data")); this.comboType.Name = "comboType"; this.comboType.Active = 0; this.hbox6.Add (this.comboType); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.comboType])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 314; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryDatabase = new global::Gtk.Entry (); this.entryDatabase.CanFocus = true; this.entryDatabase.Name = "entryDatabase"; this.entryDatabase.IsEditable = true; this.entryDatabase.InvisibleChar = '●'; this.table1.Add (this.entryDatabase); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryDatabase])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryHost = new global::Gtk.Entry (); this.entryHost.CanFocus = true; this.entryHost.Name = "entryHost"; this.entryHost.IsEditable = true; this.entryHost.InvisibleChar = '●'; this.table1.Add (this.entryHost); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryHost])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.table1.Add (this.entryPassword); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPassword])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryUser = new global::Gtk.Entry (); this.entryUser.CanFocus = true; this.entryUser.Name = "entryUser"; this.entryUser.IsEditable = true; this.entryUser.InvisibleChar = '●'; this.table1.Add (this.entryUser); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryUser])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryFolder = new global::Gtk.Entry (); this.entryFolder.CanFocus = true; this.entryFolder.Name = "entryFolder"; this.entryFolder.IsEditable = false; this.entryFolder.InvisibleChar = '●'; this.hbox1.Add (this.entryFolder); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFolder])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpenFolder = new global::Gtk.Button (); this.buttonOpenFolder.CanFocus = true; this.buttonOpenFolder.Name = "buttonOpenFolder"; this.buttonOpenFolder.UseUnderline = true; this.buttonOpenFolder.Label = global::Mono.Unix.Catalog.GetString ("_Open"); global::Gtk.Image w12 = new global::Gtk.Image (); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.buttonOpenFolder.Image = w12; this.hbox1.Add (this.buttonOpenFolder); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpenFolder])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add (this.hbox1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox1])); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Folder"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Host"); this.label4.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label4); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("User"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Password"); this.label7.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label7); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label (); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Database"); this.table1.Add (this.label8); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w19.TopAttach = ((uint)(4)); w19.BottomAttach = ((uint)(5)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add (this.table1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.buttonStartDiff = new global::Gtk.Button (); this.buttonStartDiff.CanFocus = true; this.buttonStartDiff.Name = "buttonStartDiff"; this.buttonStartDiff.UseUnderline = true; this.buttonStartDiff.Label = global::Mono.Unix.Catalog.GetString ("Start Diff"); this.vbox5.Add (this.buttonStartDiff); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.buttonStartDiff])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.buttonWriteToFile = new global::Gtk.Button (); this.buttonWriteToFile.CanFocus = true; this.buttonWriteToFile.Name = "buttonWriteToFile"; this.buttonWriteToFile.UseUnderline = true; this.buttonWriteToFile.Label = global::Mono.Unix.Catalog.GetString ("Write To File"); this.vbox5.Add (this.buttonWriteToFile); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.buttonWriteToFile])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.hpaned1.Add (this.vbox5); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox5])); w23.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewDB = new global::Gtk.TreeView (); this.treeviewDB.CanFocus = true; this.treeviewDB.Name = "treeviewDB"; this.GtkScrolledWindow.Add (this.treeviewDB); this.hbox5.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.GtkScrolledWindow])); w25.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.buttonRight = new global::Gtk.Button (); this.buttonRight.CanFocus = true; this.buttonRight.Name = "buttonRight"; this.buttonRight.UseUnderline = true; global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, ".\\Assets\\arrow.png")); this.buttonRight.Image = w26; this.vbox3.Add (this.buttonRight); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonRight])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.buttonLeft = new global::Gtk.Button (); this.buttonLeft.CanFocus = true; this.buttonLeft.Name = "buttonLeft"; this.buttonLeft.UseUnderline = true; global::Gtk.Image w28 = new global::Gtk.Image (); w28.Pixbuf = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, ".\\Assets\\arrow-180.png")); this.buttonLeft.Image = w28; this.vbox3.Add (this.buttonLeft); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.buttonLeft])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.hbox5.Add (this.vbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox3])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewFile = new global::Gtk.TreeView (); this.treeviewFile.CanFocus = true; this.treeviewFile.Name = "treeviewFile"; this.GtkScrolledWindow1.Add (this.treeviewFile); this.hbox5.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.GtkScrolledWindow1])); w32.PackType = ((global::Gtk.PackType)(1)); w32.Position = 2; this.hpaned1.Add (this.hbox5); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w34.Position = 1; this.vpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w35 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox2])); w35.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.textviewLog = new global::Gtk.TextView (); this.textviewLog.CanFocus = true; this.textviewLog.Name = "textviewLog"; this.GtkScrolledWindow2.Add (this.textviewLog); this.vpaned1.Add (this.GtkScrolledWindow2); this.vbox4.Add (this.vpaned1); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vpaned1])); w38.Position = 1; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1147; this.DefaultHeight = 595; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ResizeChecked += new global::System.EventHandler (this.OnResizeChecked); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.OptionsAction.Activated += new global::System.EventHandler (this.OnOptionsActionActivated); this.comboShow.Changed += new global::System.EventHandler (this.OnComboShowChanged); this.comboType.Changed += new global::System.EventHandler (this.OnComboTypeChanged); this.buttonOpenFolder.Clicked += new global::System.EventHandler (this.OnButtonOpenFolderClicked); this.buttonStartDiff.Clicked += new global::System.EventHandler (this.OnButtonStartDiffClicked); this.treeviewDB.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewRowActivated); this.buttonRight.Clicked += new global::System.EventHandler (this.OnButtonRightClicked); this.buttonLeft.Clicked += new global::System.EventHandler (this.OnButtonLeftClicked); this.treeviewFile.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewRowActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.VersionControl.Views.LogWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2,0); this.Name = "MonoDevelop.VersionControl.Views.LogWidget"; // Container child MonoDevelop.VersionControl.Views.LogWidget.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='commandBar'/></ui>"); this.commandBar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/commandBar"))); this.commandBar.Name = "commandBar"; this.commandBar.ShowArrow = false; this.commandBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.commandBar.IconSize = ((global::Gtk.IconSize)(1)); this.vbox1.Add (this.commandBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.commandBar])); w3.Position = 0; w3.Expand = false; w3.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 = 204; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 236; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewLog = new global::Gtk.TreeView (); this.treeviewLog.CanFocus = true; this.treeviewLog.Name = "treeviewLog"; this.GtkScrolledWindow.Add (this.treeviewLog); this.hpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Details"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textviewDetails = new global::Gtk.TextView (); this.textviewDetails.CanFocus = true; this.textviewDetails.Name = "textviewDetails"; this.scrolledwindow1.Add (this.textviewDetails); this.vbox2.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); w8.Position = 1; this.hpaned1.Add (this.vbox2); this.vpaned1.Add (this.hpaned1); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hpaned1])); w10.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindowFiles = new global::Gtk.ScrolledWindow (); this.scrolledwindowFiles.CanFocus = true; this.scrolledwindowFiles.Name = "scrolledwindowFiles"; this.scrolledwindowFiles.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add (this.scrolledwindowFiles); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w12.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.ToggleAction ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction, null); this.Action = new global::Gtk.Action ("Action", global::Mono.Unix.Catalog.GetString ("_"), null, null); this.Action.ShortLabel = global::Mono.Unix.Catalog.GetString ("_"); w1.Add (this.Action, null); this.quitAction1 = new global::Gtk.Action ("quitAction1", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction1, null); this.refreshAction = new global::Gtk.Action ("refreshAction", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh"); this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh"); w1.Add (this.refreshAction, null); this.refreshAction1 = new global::Gtk.Action ("refreshAction1", global::Mono.Unix.Catalog.GetString ("_Refresh"), null, "gtk-refresh"); this.refreshAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Refresh"); w1.Add (this.refreshAction1, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save a copy..."), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save a copy..."); w1.Add (this.saveAsAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction, null); this.RowWiseAction = new global::Gtk.RadioAction ("RowWiseAction", global::Mono.Unix.Catalog.GetString ("Row-wise"), null, null, 0); this.RowWiseAction.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.RowWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Row-wise"); w1.Add (this.RowWiseAction, null); this.ColWiseAction = new global::Gtk.RadioAction ("ColWiseAction", global::Mono.Unix.Catalog.GetString ("Col-wise"), null, null, 0); this.ColWiseAction.Group = this.RowWiseAction.Group; this.ColWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Col-wise"); w1.Add (this.ColWiseAction, null); this.RowwiseAction = new global::Gtk.ToggleAction ("RowwiseAction", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseAction, null); this.RowwiseSelector = new global::Gtk.ToggleAction ("RowwiseSelector", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseSelector.Active = true; this.RowwiseSelector.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseSelector, null); this.RowwiseAction1 = new global::Gtk.ToggleAction ("RowwiseAction1", global::Mono.Unix.Catalog.GetString ("Rowwise"), null, null); this.RowwiseAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rowwise"); w1.Add (this.RowwiseAction1, null); this.ViewAction1 = new global::Gtk.Action ("ViewAction1", global::Mono.Unix.Catalog.GetString ("View"), null, null); this.ViewAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("View"); w1.Add (this.ViewAction1, null); this.ColumnWiseAction = new global::Gtk.ToggleAction ("ColumnWiseAction", global::Mono.Unix.Catalog.GetString ("Column wise"), null, null); this.ColumnWiseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RowWise"); w1.Add (this.ColumnWiseAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='refreshAction1' action='refreshAction1'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction1' action='quitAction1'/></menu><menu name='ViewAction1' action='ViewAction1'><menuitem name='ColumnWiseAction' action='ColumnWiseAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox2.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator (); this.vseparator2.Name = "vseparator2"; this.hbox1.Add (this.vseparator2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.WidthRequest = 460; this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.spinbutton = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton.Sensitive = false; this.spinbutton.CanFocus = true; this.spinbutton.Name = "spinbutton"; this.spinbutton.Adjustment.PageIncrement = 10; this.spinbutton.ClimbRate = 1; this.spinbutton.Numeric = true; this.vbox3.Add (this.spinbutton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.spinbutton])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.filechooserwidget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget.Name = "filechooserwidget"; this.vbox3.Add (this.filechooserwidget); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.filechooserwidget])); w5.Position = 1; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 109; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 56; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned3 = new global::Gtk.HPaned (); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 418; // Container child hpaned3.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 386; // Container child vpaned2.Gtk.Paned+PanedChild this.matrixImage = new global::Gtk.Image (); this.matrixImage.Name = "matrixImage"; this.matrixImage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-missing-image", global::Gtk.IconSize.Menu); this.vpaned2.Add (this.matrixImage); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.matrixImage])); w7.Resize = false; this.hpaned3.Add (this.vpaned2); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned3 [this.vpaned2])); w8.Resize = false; this.vpaned1.Add (this.hpaned3); this.hpaned1.Add (this.vpaned1); this.hbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1])); w11.Position = 1; this.hbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox2])); w12.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w13.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1072; this.DefaultHeight = 551; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.quitAction1.Activated += new global::System.EventHandler (this.act); this.ColWiseAction.Toggled += new global::System.EventHandler (this.OnColWise); this.RowwiseAction.Toggled += new global::System.EventHandler (this.OnRowWise); this.RowwiseSelector.Toggled += new global::System.EventHandler (this.RowwiseChanged); this.RowwiseAction1.Toggled += new global::System.EventHandler (this.t); this.RowwiseAction1.Activated += new global::System.EventHandler (this.a); this.RowwiseAction1.Changed += new global::Gtk.ChangedHandler (this.c); this.ColumnWiseAction.Toggled += new global::System.EventHandler (this.ModeToggled); this.spinbutton.Changed += new global::System.EventHandler (this.SpinChanged); this.filechooserwidget.FileActivated += new global::System.EventHandler (this.fileSelected); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget KalliopeSync.View.MainView 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.ConnectAction = new global::Gtk.Action("ConnectAction", global::Mono.Unix.Catalog.GetString("Connect"), null, null); this.ConnectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Connect"); w1.Add(this.ConnectAction, "<Primary>c"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "KalliopeSync.View.MainView"; this.Title = global::Mono.Unix.Catalog.GetString("MainView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child KalliopeSync.View.MainView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='MainMenubar'><menu name='FileAction' action='FileAction'><menuitem name='ConnectAction' action='ConnectAction'/></menu></menubar></ui>"); this.MainMenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MainMenubar"))); this.MainMenubar.Name = "MainMenubar"; this.vbox2.Add(this.MainMenubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.MainMenubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='MainToolbar'/></ui>"); this.MainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/MainToolbar"))); this.MainToolbar.Name = "MainToolbar"; this.MainToolbar.ShowArrow = false; this.vbox2.Add(this.MainToolbar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.MainToolbar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 314; // Container child hpaned3.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.SyncLocationTreeview = new global::Gtk.TreeView(); this.SyncLocationTreeview.WidthRequest = 299; this.SyncLocationTreeview.CanFocus = true; this.SyncLocationTreeview.Name = "SyncLocationTreeview"; this.GtkScrolledWindow.Add(this.SyncLocationTreeview); this.hpaned3.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned3 [this.GtkScrolledWindow])); w5.Resize = false; // Container child hpaned3.Gtk.Paned+PanedChild this.SyncFolderDetailsNotebook = new global::Gtk.Notebook(); this.SyncFolderDetailsNotebook.CanFocus = true; this.SyncFolderDetailsNotebook.Name = "SyncFolderDetailsNotebook"; this.SyncFolderDetailsNotebook.CurrentPage = 0; // Container child SyncFolderDetailsNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView(); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow1.Add(this.treeview2); this.SyncFolderDetailsNotebook.Add(this.GtkScrolledWindow1); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Details"); this.SyncFolderDetailsNotebook.SetTabLabel(this.GtkScrolledWindow1, this.label1); this.label1.ShowAll(); // Container child SyncFolderDetailsNotebook.Gtk.Notebook+NotebookChild this.FolderContentsPreview = new global::Gtk.IconView(); this.FolderContentsPreview.CanFocus = true; this.FolderContentsPreview.Name = "FolderContentsPreview"; this.SyncFolderDetailsNotebook.Add(this.FolderContentsPreview); global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.SyncFolderDetailsNotebook [this.FolderContentsPreview])); w8.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Preview"); this.SyncFolderDetailsNotebook.SetTabLabel(this.FolderContentsPreview, this.label2); this.label2.ShowAll(); this.hpaned3.Add(this.SyncFolderDetailsNotebook); this.vbox2.Add(this.hpaned3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned3])); w10.Position = 2; // Container child vbox2.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox2.Add(this.statusbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusbar1])); w11.Position = 3; w11.Expand = false; w11.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 535; this.DefaultHeight = 434; this.Show(); this.ConnectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Instrumentation.Monitor.InstrumentationViewerDialog this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.openAction, null); this.connectAction = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("C_onnect"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("C_onnect"); w1.Add(this.connectAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.ToolsAction = new global::Gtk.Action("ToolsAction", global::Mono.Unix.Catalog.GetString("Tools"), null, null); this.ToolsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tools"); w1.Add(this.ToolsAction, null); this.FlushMemoryAction = new global::Gtk.Action("FlushMemoryAction", global::Mono.Unix.Catalog.GetString("Flush Memory"), null, null); this.FlushMemoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Flush Memory"); w1.Add(this.FlushMemoryAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Mono.Instrumentation.Monitor.InstrumentationViewerDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Mono.Instrumentation.Monitor.InstrumentationViewerDialog.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; // Container child dialog1_VBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='connectAction' action='connectAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='FlushMemoryAction' action='FlushMemoryAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.dialog1_VBox.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(9)); // Container child vbox2.Gtk.Box+BoxChild this.hpaned = new global::Gtk.HPaned(); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 159; // Container child hpaned.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.treeCounters = new global::Gtk.TreeView(); this.treeCounters.CanFocus = true; this.treeCounters.Name = "treeCounters"; this.treeCounters.HeadersVisible = false; this.GtkScrolledWindow.Add(this.treeCounters); this.hpaned.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.GtkScrolledWindow])); w4.Resize = false; w4.Shrink = false; // Container child hpaned.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.headerBox = new global::Gtk.EventBox(); this.headerBox.Name = "headerBox"; // Container child headerBox.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.labelHeader = new global::Gtk.Label(); this.labelHeader.Name = "labelHeader"; this.labelHeader.Xalign = 0F; this.hbox1.Add(this.labelHeader); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelHeader])); w5.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonsBox = new global::Gtk.HBox(); this.buttonsBox.Name = "buttonsBox"; this.buttonsBox.Spacing = 6; // Container child buttonsBox.Gtk.Box+BoxChild this.buttonSave = new global::Gtk.Button(); this.buttonSave.CanFocus = true; this.buttonSave.Name = "buttonSave"; this.buttonSave.UseUnderline = true; this.buttonSave.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonSave.Label = global::Mono.Unix.Catalog.GetString("Save"); global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Button); this.buttonSave.Image = w6; this.buttonsBox.Add(this.buttonSave); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.buttonsBox [this.buttonSave])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child buttonsBox.Gtk.Box+BoxChild this.buttonSaveAs = new global::Gtk.Button(); this.buttonSaveAs.CanFocus = true; this.buttonSaveAs.Name = "buttonSaveAs"; this.buttonSaveAs.UseUnderline = true; this.buttonSaveAs.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonSaveAs.Label = global::Mono.Unix.Catalog.GetString("Copy"); global::Gtk.Image w8 = new global::Gtk.Image(); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Button); this.buttonSaveAs.Image = w8; this.buttonsBox.Add(this.buttonSaveAs); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.buttonsBox [this.buttonSaveAs])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child buttonsBox.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; this.buttonDelete.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonDelete.Label = global::Mono.Unix.Catalog.GetString("Delete"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Button); this.buttonDelete.Image = w10; this.buttonsBox.Add(this.buttonDelete); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.buttonsBox [this.buttonDelete])); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.buttonsBox); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonsBox])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.headerBox.Add(this.hbox1); this.vbox3.Add(this.headerBox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.headerBox])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.viewBox = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.viewBox.Name = "viewBox"; this.vbox3.Add(this.viewBox); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.viewBox])); w15.Position = 1; this.hpaned.Add(this.vbox3); this.vbox2.Add(this.hpaned); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned])); w17.Position = 0; this.dialog1_VBox.Add(this.vbox2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.vbox2])); w18.Position = 1; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 942; this.DefaultHeight = 587; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); this.FlushMemoryAction.Activated += new global::System.EventHandler(this.OnFlushMemoryActionActivated); this.buttonSave.Clicked += new global::System.EventHandler(this.OnButtonSaveClicked); this.buttonSaveAs.Clicked += new global::System.EventHandler(this.OnButtonSaveAsClicked); this.buttonDelete.Clicked += new global::System.EventHandler(this.OnButtonDeleteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Projects.NewFileDialog this.Name = "MonoDevelop.Ide.Projects.NewFileDialog"; this.Title = global::MonoDevelop.Core.GettextCatalog.GetString("New File"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.Ide.Projects.NewFileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 192; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.catView = new global::Gtk.TreeView(); this.catView.WidthRequest = 160; this.catView.CanFocus = true; this.catView.Name = "catView"; this.catView.HeadersVisible = false; this.scrolledwindow1.Add(this.catView); this.hpaned1.Add(this.scrolledwindow1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow1])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.panedTemplates = new global::Gtk.HPaned(); this.panedTemplates.CanFocus = true; this.panedTemplates.Name = "panedTemplates"; this.panedTemplates.Position = 292; // Container child panedTemplates.Gtk.Paned+PanedChild this.boxTemplates = new global::Gtk.VBox(); this.boxTemplates.Name = "boxTemplates"; this.boxTemplates.Spacing = 6; this.panedTemplates.Add(this.boxTemplates); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates[this.boxTemplates])); w4.Resize = false; // Container child panedTemplates.Gtk.Paned+PanedChild this.scrolledInfo = new global::Gtk.ScrolledWindow(); this.scrolledInfo.CanFocus = true; this.scrolledInfo.Name = "scrolledInfo"; this.scrolledInfo.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledInfo.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledInfo.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.boxInfo = new global::Gtk.VBox(); this.boxInfo.Name = "boxInfo"; this.boxInfo.Spacing = 6; this.boxInfo.BorderWidth = ((uint)(3)); // Container child boxInfo.Gtk.Box+BoxChild this.labelTemplateTitle = new global::Gtk.Label(); this.labelTemplateTitle.WidthRequest = 145; this.labelTemplateTitle.Name = "labelTemplateTitle"; this.labelTemplateTitle.Xalign = 0f; this.labelTemplateTitle.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<b>Console Project</b>"); this.labelTemplateTitle.UseMarkup = true; this.labelTemplateTitle.Wrap = true; this.boxInfo.Add(this.labelTemplateTitle); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.boxInfo[this.labelTemplateTitle])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child boxInfo.Gtk.Box+BoxChild this.infoLabel = new global::Gtk.Label(); this.infoLabel.WidthRequest = 145; this.infoLabel.Name = "infoLabel"; this.infoLabel.Xalign = 0f; this.infoLabel.Yalign = 0f; this.infoLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Creates a new C# Project"); this.infoLabel.Wrap = true; this.boxInfo.Add(this.infoLabel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.boxInfo[this.infoLabel])); w7.Position = 1; w7.Expand = false; w7.Fill = false; w5.Add(this.boxInfo); this.scrolledInfo.Add(w5); this.panedTemplates.Add(this.scrolledInfo); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.panedTemplates[this.scrolledInfo])); w10.Resize = false; this.hpaned1.Add(this.panedTemplates); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hpaned1])); w12.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.WidthRequest = 1; this.label1.HeightRequest = 1; this.label1.Name = "label1"; this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Name:"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.nameEntry = new global::Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '●'; this.hbox2.Add(this.nameEntry); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.nameEntry])); w15.Position = 1; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.boxProject = new global::Gtk.VBox(); this.boxProject.Name = "boxProject"; this.boxProject.Spacing = 6; // Container child boxProject.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.projectAddCheckbox = new global::Gtk.CheckButton(); this.projectAddCheckbox.CanFocus = true; this.projectAddCheckbox.Name = "projectAddCheckbox"; this.projectAddCheckbox.Label = global::MonoDevelop.Core.GettextCatalog.GetString("_Add to project:"); this.projectAddCheckbox.DrawIndicator = true; this.projectAddCheckbox.UseUnderline = true; this.hbox3.Add(this.projectAddCheckbox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.projectAddCheckbox])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.projectAddCombo = global::Gtk.ComboBox.NewText(); this.projectAddCombo.Name = "projectAddCombo"; this.hbox3.Add(this.projectAddCombo); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.projectAddCombo])); w18.Position = 1; this.boxProject.Add(this.hbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.boxProject[this.hbox3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child boxProject.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.projectPathLabel = new global::Gtk.Label(); this.projectPathLabel.Name = "projectPathLabel"; this.projectPathLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Path:"); this.hbox4.Add(this.projectPathLabel); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.projectPathLabel])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.projectFolderEntry = new global::MonoDevelop.Components.FolderEntry(); this.projectFolderEntry.Name = "projectFolderEntry"; this.hbox4.Add(this.projectFolderEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.projectFolderEntry])); w21.Position = 1; this.boxProject.Add(this.hbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.boxProject[this.hbox4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.vbox2.Add(this.boxProject); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.boxProject])); w23.Position = 3; w23.Expand = false; w23.Fill = false; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2])); w24.Position = 0; // Internal child MonoDevelop.Ide.Projects.NewFileDialog.ActionArea global::Gtk.HButtonBox w25 = this.ActionArea; w25.Name = "dialog1_ActionArea"; w25.Spacing = 6; w25.BorderWidth = ((uint)(5)); w25.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.cancelButton = new global::Gtk.Button(); this.cancelButton.CanDefault = true; this.cancelButton.CanFocus = true; this.cancelButton.Name = "cancelButton"; this.cancelButton.UseStock = true; this.cancelButton.UseUnderline = true; this.cancelButton.Label = "gtk-cancel"; this.AddActionWidget(this.cancelButton, -6); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25[this.cancelButton])); w26.Expand = false; w26.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.okButton = new global::Gtk.Button(); this.okButton.CanDefault = true; this.okButton.CanFocus = true; this.okButton.Name = "okButton"; this.okButton.UseStock = true; this.okButton.UseUnderline = true; this.okButton.Label = "gtk-new"; w25.Add(this.okButton); global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25[this.okButton])); w27.Position = 1; w27.Expand = false; w27.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 718; this.DefaultHeight = 524; this.boxProject.Hide(); this.Show(); this.scrolledInfo.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnScrolledInfoSizeAllocated); }
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.SettingsAction2 = new global::Gtk.Action ("SettingsAction2", global::Mono.Unix.Catalog.GetString ("Settings"), null, null); this.SettingsAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.SettingsAction2, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.SettingsAction, null); this.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)(1)); this.BorderWidth = ((uint)(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='SettingsAction' action='SettingsAction'/></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.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; this.notebook.ShowBorder = false; this.notebook.Scrollable = true; // Container child notebook.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.edtQuery = new global::Gtk.Entry (); this.edtQuery.CanFocus = true; this.edtQuery.Events = ((global::Gdk.EventMask)(1024)); this.edtQuery.Name = "edtQuery"; this.edtQuery.IsEditable = true; this.edtQuery.InvisibleChar = '●'; this.hbox1.Add (this.edtQuery); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.edtQuery])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.btnFind = new global::Gtk.Button (); this.btnFind.CanFocus = true; this.btnFind.Name = "btnFind"; this.btnFind.UseStock = true; this.btnFind.UseUnderline = true; this.btnFind.Label = "gtk-find"; this.hbox1.Add (this.btnFind); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnFind])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox5.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.forumsGallery = new global::superiorpics.Gallery (); this.forumsGallery.Events = ((global::Gdk.EventMask)(256)); this.forumsGallery.Name = "forumsGallery"; this.vbox5.Add (this.forumsGallery); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.forumsGallery])); w6.Position = 1; this.hbox3.Add (this.vbox5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox5])); w7.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.randomLine = new global::superiorpics.RandomCelebs (); this.randomLine.WidthRequest = 200; this.randomLine.Events = ((global::Gdk.EventMask)(256)); this.randomLine.Name = "randomLine"; this.randomLine.ItemsCount = 4; this.hbox3.Add (this.randomLine); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.randomLine])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.notebook.Add (this.hbox3); // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Search"); this.notebook.SetTabLabel (this.hbox3, this.label3); this.label3.ShowAll (); // Container child notebook.Gtk.Notebook+NotebookChild this.galleryPan = new global::Gtk.HPaned (); this.galleryPan.CanFocus = true; this.galleryPan.Name = "galleryPan"; this.galleryPan.Position = 484; // Container child galleryPan.Gtk.Paned+PanedChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.btnDownloadAll = new global::Gtk.Button (); this.btnDownloadAll.CanFocus = true; this.btnDownloadAll.Name = "btnDownloadAll"; this.btnDownloadAll.UseUnderline = true; this.btnDownloadAll.Label = global::Mono.Unix.Catalog.GetString ("Download All"); this.vbox6.Add (this.btnDownloadAll); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.btnDownloadAll])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.galleryPreview = new global::superiorpics.Gallery (); this.galleryPreview.Events = ((global::Gdk.EventMask)(256)); this.galleryPreview.Name = "galleryPreview"; this.vbox6.Add (this.galleryPreview); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.galleryPreview])); w11.Position = 1; this.hbox2.Add (this.vbox6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox6])); w12.Position = 0; this.galleryPan.Add (this.hbox2); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.galleryPan [this.hbox2])); w13.Resize = false; // Container child galleryPan.Gtk.Paned+PanedChild this.imagePreview = new global::superiorpics.ImagePreviewWidget (); this.imagePreview.Events = ((global::Gdk.EventMask)(256)); this.imagePreview.Name = "imagePreview"; this.galleryPan.Add (this.imagePreview); this.notebook.Add (this.galleryPan); global::Gtk.Notebook.NotebookChild w15 = ((global::Gtk.Notebook.NotebookChild)(this.notebook [this.galleryPan])); w15.Position = 1; w15.TabExpand = true; // Notebook tab this.lblGalleryTab = new global::Gtk.Label (); this.lblGalleryTab.Name = "lblGalleryTab"; this.lblGalleryTab.LabelProp = global::Mono.Unix.Catalog.GetString ("Gallery"); this.notebook.SetTabLabel (this.galleryPan, this.lblGalleryTab); this.lblGalleryTab.ShowAll (); this.vbox1.Add (this.notebook); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook])); w16.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 680; this.DefaultHeight = 520; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.SettingsAction2.Activated += new global::System.EventHandler (this.OnSettingsActionActivated); this.SettingsAction.Activated += new global::System.EventHandler (this.OnSettingsActionActivated); this.edtQuery.Changed += new global::System.EventHandler (this.OnEdtQueryChanged); this.edtQuery.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnEdtQueryKeyPressEvent); this.edtQuery.Activated += new global::System.EventHandler (this.OnEdtQueryActivated); this.btnDownloadAll.Clicked += new global::System.EventHandler (this.OnBtnDownloadAllClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DeSERt.Help this.Name = "DeSERt.Help"; this.Title = global::Mono.Unix.Catalog.GetString("Help"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-help", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child DeSERt.Help.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "HelpBox"; w1.BorderWidth = ((uint)(2)); // Container child HelpBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 166; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.WidthRequest = 100; this.alignment2.Name = "alignment2"; // Container child alignment2.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.Helpnode = new global::Gtk.NodeView(); this.Helpnode.WidthRequest = 100; this.Helpnode.CanFocus = true; this.Helpnode.Name = "Helpnode"; this.GtkScrolledWindow.Add(this.Helpnode); this.alignment2.Add(this.GtkScrolledWindow); this.hpaned1.Add(this.alignment2); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment2])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.WidthRequest = 300; this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.Helptext = new global::Gtk.TextView(); this.Helptext.WidthRequest = 300; this.Helptext.CanFocus = true; this.Helptext.Name = "Helptext"; this.Helptext.Editable = false; this.GtkScrolledWindow1.Add(this.Helptext); this.alignment1.Add(this.GtkScrolledWindow1); this.hpaned1.Add(this.alignment1); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w8.Position = 0; // Internal child DeSERt.Help.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "ButtonActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child ButtonActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOK = new global::Gtk.Button(); this.buttonOK.CanDefault = true; this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseStock = true; this.buttonOK.UseUnderline = true; this.buttonOK.Label = "gtk-ok"; this.AddActionWidget(this.buttonOK, -5); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOK])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 773; this.DefaultHeight = 472; this.Show(); this.Helpnode.CursorChanged += new global::System.EventHandler(this.OnHelpnodeCursorChanged); this.buttonOK.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Projects.SelectReferenceDialog this.WidthRequest = 640; this.HeightRequest = 520; this.Name = "MonoDevelop.Ide.Projects.SelectReferenceDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Edit References"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); this.DestroyWithParent = true; // Internal child MonoDevelop.Ide.Projects.SelectReferenceDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox2"; w1.Spacing = 6; // Container child dialog-vbox2.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 12; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 590; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.RightPadding = ((uint)(3)); this.hpaned1.Add (this.alignment1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment1])); w2.Resize = false; w2.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(3)); // Container child alignment2.Gtk.Container+ContainerChild this.boxRefs = new global::Gtk.VBox (); this.boxRefs.Name = "boxRefs"; // Container child boxRefs.Gtk.Box+BoxChild this.selectedHeader = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.selectedHeader.Name = "selectedHeader"; // Container child selectedHeader.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label114 = new global::Gtk.Label (); this.label114.Name = "label114"; this.label114.Xalign = 0F; this.label114.LabelProp = global::Mono.Unix.Catalog.GetString ("Selected references:"); this.hbox2.Add (this.label114); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label114])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.RemoveReferenceButton = new global::Gtk.Button (); this.RemoveReferenceButton.TooltipMarkup = "Remove"; this.RemoveReferenceButton.Name = "RemoveReferenceButton"; this.RemoveReferenceButton.UseUnderline = true; this.RemoveReferenceButton.FocusOnClick = false; this.RemoveReferenceButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child RemoveReferenceButton.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox (); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-delete", global::Gtk.IconSize.Menu); w5.Add (w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label (); w5.Add (w8); w4.Add (w5); this.RemoveReferenceButton.Add (w4); this.hbox2.Add (this.RemoveReferenceButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.RemoveReferenceButton])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.selectedHeader.Add (this.hbox2); this.boxRefs.Add (this.selectedHeader); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.boxRefs [this.selectedHeader])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child boxRefs.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.HeightRequest = 150; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 12; // Container child hbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.ReferencesTreeView = new global::Gtk.TreeView (); this.ReferencesTreeView.Name = "ReferencesTreeView"; this.ReferencesTreeView.HeadersVisible = false; this.scrolledwindow2.Add (this.ReferencesTreeView); this.hbox4.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.scrolledwindow2])); w16.Position = 0; this.boxRefs.Add (this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.boxRefs [this.hbox4])); w17.Position = 1; this.alignment2.Add (this.boxRefs); this.hpaned1.Add (this.alignment2); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment2])); w19.Shrink = false; this.vbox5.Add (this.hpaned1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hpaned1])); w20.Position = 0; w1.Add (this.vbox5); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w21.Position = 0; // Internal child MonoDevelop.Ide.Projects.SelectReferenceDialog.ActionArea global::Gtk.HButtonBox w22 = this.ActionArea; w22.Name = "dialog-action_area2"; w22.Spacing = 10; w22.BorderWidth = ((uint)(5)); w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.cancelbutton = new global::Gtk.Button (); this.cancelbutton.Name = "cancelbutton"; this.cancelbutton.UseStock = true; this.cancelbutton.UseUnderline = true; this.cancelbutton.Label = "gtk-cancel"; this.AddActionWidget (this.cancelbutton, -6); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.cancelbutton])); w23.Expand = false; w23.Fill = false; // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.okbutton = new global::Gtk.Button (); this.okbutton.Name = "okbutton"; this.okbutton.UseStock = true; this.okbutton.UseUnderline = true; this.okbutton.Label = "gtk-ok"; this.AddActionWidget (this.okbutton, -5); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.okbutton])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 889; this.DefaultHeight = 551; this.Hide (); this.RemoveReferenceButton.Clicked += new global::System.EventHandler (this.RemoveReference); this.ReferencesTreeView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnReferencesTreeViewKeyReleaseEvent); this.ReferencesTreeView.RowActivated += new global::Gtk.RowActivatedHandler (this.OnReferencesTreeViewRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Yamster.GroupThreadScreen global::Stetic.BinContainer.Attach(this); this.Name = "Yamster.GroupThreadScreen"; // Container child Yamster.GroupThreadScreen.Gtk.Container+ContainerChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 170; this.hpaned1.BorderWidth = ((uint)(6)); // Container child hpaned1.Gtk.Paned+PanedChild this.vbox12 = new global::Gtk.VBox(); this.vbox12.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Groups"); this.vbox12.Add(this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.ctlGroupGrid = new global::Yamster.GroupGrid(); this.ctlGroupGrid.WidthRequest = 200; this.ctlGroupGrid.Events = ((global::Gdk.EventMask)(256)); this.ctlGroupGrid.Name = "ctlGroupGrid"; this.vbox12.Add(this.ctlGroupGrid); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.ctlGroupGrid])); w2.Position = 1; // Container child vbox12.Gtk.Box+BoxChild this.chkNonSyncedGroups = new global::Gtk.CheckButton(); this.chkNonSyncedGroups.CanFocus = true; this.chkNonSyncedGroups.Name = "chkNonSyncedGroups"; this.chkNonSyncedGroups.Label = global::Mono.Unix.Catalog.GetString("Show non-synced groups"); this.chkNonSyncedGroups.DrawIndicator = true; this.chkNonSyncedGroups.UseUnderline = true; this.vbox12.Add(this.chkNonSyncedGroups); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.chkNonSyncedGroups])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.hpaned1.Add(this.vbox12); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox12])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox13 = new global::Gtk.VBox(); this.vbox13.Name = "vbox13"; // Container child vbox13.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Threads"); this.hbox2.Add(this.label4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("(press SPACE to mark read)"); this.hbox2.Add(this.label5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label5])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox13.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox13.Gtk.Box+BoxChild this.ctlThreadGrid = new global::Yamster.ThreadGrid(); this.ctlThreadGrid.Events = ((global::Gdk.EventMask)(256)); this.ctlThreadGrid.Name = "ctlThreadGrid"; this.ctlThreadGrid.TrackRead = false; this.vbox13.Add(this.ctlThreadGrid); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.ctlThreadGrid])); w8.Position = 1; // Container child vbox13.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.chkShowReadThreads = new global::Gtk.CheckButton(); this.chkShowReadThreads.CanFocus = true; this.chkShowReadThreads.Name = "chkShowReadThreads"; this.chkShowReadThreads.Label = global::Mono.Unix.Catalog.GetString("Show read threads"); this.chkShowReadThreads.DrawIndicator = true; this.chkShowReadThreads.UseUnderline = true; this.hbox1.Add(this.chkShowReadThreads); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.chkShowReadThreads])); w9.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.lblMarkAllRead = new global::Gtk.Label(); this.lblMarkAllRead.Name = "lblMarkAllRead"; this.lblMarkAllRead.Xalign = 1F; this.lblMarkAllRead.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"\">Mark All Read</a>"); this.lblMarkAllRead.UseMarkup = true; this.hbox1.Add(this.lblMarkAllRead); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lblMarkAllRead])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox13.Add(this.hbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox1])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; this.hpaned1.Add(this.vbox13); this.Add(this.hpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ctlGroupGrid.FocusedItemChanged += new global::System.EventHandler(this.ctlGroupGrid_FocusedItemChanged); this.chkNonSyncedGroups.Toggled += new global::System.EventHandler(this.chkNonSyncedGroups_Toggled); this.ctlThreadGrid.FocusedItemChanged += new global::System.EventHandler(this.ctlThreadGrid_FocusedItemChanged); this.chkShowReadThreads.Toggled += new global::System.EventHandler(this.chkShowReadThreads_Toggled); this.lblMarkAllRead.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.lblMarkAllRead_ButtonPress); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget DeSERt.Help this.Name = "DeSERt.Help"; this.Title = global::Mono.Unix.Catalog.GetString ("Help"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-help", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child DeSERt.Help.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "HelpBox"; w1.BorderWidth = ((uint)(2)); // Container child HelpBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 166; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment2.WidthRequest = 100; this.alignment2.Name = "alignment2"; // Container child alignment2.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.Helpnode = new global::Gtk.NodeView (); this.Helpnode.WidthRequest = 100; this.Helpnode.CanFocus = true; this.Helpnode.Name = "Helpnode"; this.GtkScrolledWindow.Add (this.Helpnode); this.alignment2.Add (this.GtkScrolledWindow); this.hpaned1.Add (this.alignment2); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment2])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.WidthRequest = 300; this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.Helptext = new global::Gtk.TextView (); this.Helptext.WidthRequest = 300; this.Helptext.CanFocus = true; this.Helptext.Name = "Helptext"; this.Helptext.Editable = false; this.GtkScrolledWindow1.Add (this.Helptext); this.alignment1.Add (this.GtkScrolledWindow1); this.hpaned1.Add (this.alignment1); w1.Add (this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w8.Position = 0; // Internal child DeSERt.Help.ActionArea global::Gtk.HButtonBox w9 = this.ActionArea; w9.Name = "ButtonActionArea"; w9.Spacing = 10; w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child ButtonActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOK = new global::Gtk.Button (); this.buttonOK.CanDefault = true; this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseStock = true; this.buttonOK.UseUnderline = true; this.buttonOK.Label = "gtk-ok"; this.AddActionWidget (this.buttonOK, -5); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOK])); w10.Expand = false; w10.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 773; this.DefaultHeight = 472; this.Show (); this.Helpnode.CursorChanged += new global::System.EventHandler (this.OnHelpnodeCursorChanged); this.buttonOK.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Cygni.PokerClient.StatusWindow this.Name = "Cygni.PokerClient.StatusWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Cygni Poker"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Cygni.PokerClient.StatusWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.topStatus = new global::Gtk.Statusbar(); this.topStatus.Name = "topStatus"; this.topStatus.Spacing = 6; this.topStatus.HasResizeGrip = false; // Container child topStatus.Gtk.Box+BoxChild this.topLabelLeft = new global::Gtk.Label(); this.topLabelLeft.Name = "topLabelLeft"; this.topLabelLeft.Xpad = 10; this.topLabelLeft.LabelProp = global::Mono.Unix.Catalog.GetString("Table"); this.topStatus.Add(this.topLabelLeft); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.topStatus [this.topLabelLeft])); w1.Position = 1; w1.Expand = false; w1.Fill = false; // Container child topStatus.Gtk.Box+BoxChild this.topLabelRight = new global::Gtk.Label(); this.topLabelRight.Name = "topLabelRight"; this.topLabelRight.Xpad = 10; this.topLabelRight.LabelProp = global::Mono.Unix.Catalog.GetString("Play"); this.topStatus.Add(this.topLabelRight); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.topStatus [this.topLabelRight])); w2.Position = 2; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.topStatus); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.topStatus])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 813; // Container child hpaned1.Gtk.Paned+PanedChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.hpaned1.Add(this.drawingArea); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.drawingArea])); w4.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 = 176; // 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.tableResultText = new global::Gtk.TextView(); this.tableResultText.CanFocus = true; this.tableResultText.Name = "tableResultText"; this.tableResultText.Editable = false; this.tableResultText.CursorVisible = false; this.tableResultText.LeftMargin = 2; this.tableResultText.RightMargin = 2; this.GtkScrolledWindow1.Add(this.tableResultText); this.vpaned1.Add(this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow1])); w6.Resize = false; // 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.logView = new global::Gtk.TreeView(); this.logView.CanFocus = true; this.logView.Name = "logView"; this.logView.EnableSearch = false; this.logView.HeadersVisible = false; this.GtkScrolledWindow.Add(this.logView); this.vpaned1.Add(this.GtkScrolledWindow); this.hpaned1.Add(this.vpaned1); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w10.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.bottomStatus = new global::Gtk.Statusbar(); this.bottomStatus.Name = "bottomStatus"; this.bottomStatus.Spacing = 6; // Container child bottomStatus.Gtk.Box+BoxChild this.bottomLabelLeft = new global::Gtk.Label(); this.bottomLabelLeft.Name = "bottomLabelLeft"; this.bottomLabelLeft.Xpad = 10; this.bottomLabelLeft.LabelProp = global::Mono.Unix.Catalog.GetString("Chips"); this.bottomStatus.Add(this.bottomLabelLeft); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.bottomStatus [this.bottomLabelLeft])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child bottomStatus.Gtk.Box+BoxChild this.bottomLabelRight = new global::Gtk.Label(); this.bottomLabelRight.Name = "bottomLabelRight"; this.bottomLabelRight.Xpad = 10; this.bottomLabelRight.LabelProp = global::Mono.Unix.Catalog.GetString("Estimate"); this.bottomStatus.Add(this.bottomLabelRight); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.bottomStatus [this.bottomLabelRight])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.vbox2.Add(this.bottomStatus); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.bottomStatus])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1173; this.DefaultHeight = 727; this.Show(); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoGame.Tools.Pipeline.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("New..."), null, null); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New..."); w1.Add (this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("Open..."), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open..."); w1.Add (this.OpenAction, "<Control>o"); this.OpenRecentAction = new global::Gtk.Action ("OpenRecentAction", global::Mono.Unix.Catalog.GetString ("Open Recent"), null, null); this.OpenRecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Recent"); w1.Add (this.OpenRecentAction, null); this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close"); w1.Add (this.CloseAction, null); this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("Import..."), null, null); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Import..."); w1.Add (this.ImportAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save As..."), null, null); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save As..."); w1.Add (this.SaveAsAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("Exit"), null, null); this.ExitAction.HideIfEmpty = false; this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.ExitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); w1.Add (this.EditAction, null); this.UndoAction = new global::Gtk.Action ("UndoAction", global::Mono.Unix.Catalog.GetString ("Undo"), null, null); this.UndoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); w1.Add (this.UndoAction, "<Control>z"); this.RedoAction = new global::Gtk.Action ("RedoAction", global::Mono.Unix.Catalog.GetString ("Redo"), null, null); this.RedoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); w1.Add (this.RedoAction, "<Control>y"); this.NewItemAction = new global::Gtk.Action ("NewItemAction", global::Mono.Unix.Catalog.GetString ("New Item..."), null, null); this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Item..."); w1.Add (this.NewItemAction, null); this.AddItemAction = new global::Gtk.Action ("AddItemAction", global::Mono.Unix.Catalog.GetString ("Add Item..."), null, null); this.AddItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Item..."); w1.Add (this.AddItemAction, null); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("Delete"), null, null); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete"); w1.Add (this.DeleteAction, null); this.BuildAction = new global::Gtk.Action ("BuildAction", global::Mono.Unix.Catalog.GetString ("Build"), null, null); this.BuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Build"); w1.Add (this.BuildAction, null); this.BuildAction1 = new global::Gtk.Action ("BuildAction1", global::Mono.Unix.Catalog.GetString ("Build"), null, null); this.BuildAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Build"); w1.Add (this.BuildAction1, "<Mod2>F6"); this.RebuildAction = new global::Gtk.Action ("RebuildAction", global::Mono.Unix.Catalog.GetString ("Rebuild"), null, null); this.RebuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Rebuild"); w1.Add (this.RebuildAction, null); this.CleanAction = new global::Gtk.Action ("CleanAction", global::Mono.Unix.Catalog.GetString ("Clean"), null, null); this.CleanAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Clean"); w1.Add (this.CleanAction, null); this.DebugModeAction = new global::Gtk.Action ("DebugModeAction", global::Mono.Unix.Catalog.GetString ("Debug Mode"), null, null); this.DebugModeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Debug Mode"); w1.Add (this.DebugModeAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.ViewHelpAction = new global::Gtk.Action ("ViewHelpAction", global::Mono.Unix.Catalog.GetString ("View Help"), null, null); this.ViewHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("View Help"); w1.Add (this.ViewHelpAction, "<Mod2>F1"); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.CancelBuildAction = new global::Gtk.Action ("CancelBuildAction", global::Mono.Unix.Catalog.GetString ("Cancel Build"), null, null); this.CancelBuildAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cancel Build"); w1.Add (this.CancelBuildAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MonoGame.Tools.Pipeline.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Monogame Pipeline"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("MonoGame.Tools.Pipeline.App.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MonoGame.Tools.Pipeline.MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='OpenRecentAction' action='OpenRecentAction'/><menuitem name='CloseAction' action='CloseAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><separator/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='UndoAction' action='UndoAction'/><menuitem name='RedoAction' action='RedoAction'/><separator/><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='AddItemAction' action='AddItemAction'/><separator/><menuitem name='DeleteAction' action='DeleteAction'/></menu><menu name='BuildAction' action='BuildAction'><menuitem name='BuildAction1' action='BuildAction1'/><menuitem name='RebuildAction' action='RebuildAction'/><menuitem name='CleanAction' action='CleanAction'/><menuitem name='CancelBuildAction' action='CancelBuildAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='ViewHelpAction' action='ViewHelpAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 179; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 247; // Container child vpaned2.Gtk.Paned+PanedChild this.projectview1 = new global::MonoGame.Tools.Pipeline.ProjectView (); this.projectview1.Events = ((global::Gdk.EventMask)(256)); this.projectview1.Name = "projectview1"; this.vpaned2.Add (this.projectview1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.projectview1])); w3.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.propertiesview1 = new global::MonoGame.Tools.Pipeline.PropertiesView (); this.propertiesview1.Events = ((global::Gdk.EventMask)(256)); this.propertiesview1.Name = "propertiesview1"; this.vpaned2.Add (this.propertiesview1); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.propertiesview1])); w4.Resize = false; this.hpaned1.Add (this.vpaned2); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vpaned2])); w5.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView (); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.textview2.Editable = false; this.GtkScrolledWindow.Add (this.textview2); this.hpaned1.Add (this.GtkScrolledWindow); this.vbox2.Add (this.hpaned1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w8.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 751; this.DefaultHeight = 557; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.FileAction.Activated += new global::System.EventHandler (this.OnFileActionActivated); this.NewAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.CloseAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.ImportAction.Activated += new global::System.EventHandler (this.OnImportActionActivated); this.SaveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.SaveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.ExitAction.Activated += new global::System.EventHandler (this.OnExitActionActivated); this.UndoAction.Activated += new global::System.EventHandler (this.OnUndoActionActivated); this.RedoAction.Activated += new global::System.EventHandler (this.OnRedoActionActivated); this.NewItemAction.Activated += new global::System.EventHandler (this.OnNewItemActionActivated); this.AddItemAction.Activated += new global::System.EventHandler (this.OnAddItemActionActivated); this.DeleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); this.BuildAction.Activated += new global::System.EventHandler (this.OnBuildActionActivated); this.BuildAction1.Activated += new global::System.EventHandler (this.OnBuildAction1Activated); this.RebuildAction.Activated += new global::System.EventHandler (this.OnRebuildActionActivated); this.CleanAction.Activated += new global::System.EventHandler (this.OnCleanActionActivated); this.ViewHelpAction.Activated += new global::System.EventHandler (this.OnViewHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Position = 88; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 522; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned4 = new global::Gtk.VPaned(); this.vpaned4.CanFocus = true; this.vpaned4.Name = "vpaned4"; this.vpaned4.Position = 36; // Container child vpaned4.Gtk.Paned+PanedChild this.hpaned4 = new global::Gtk.HPaned(); this.hpaned4.CanFocus = true; this.hpaned4.Name = "hpaned4"; this.hpaned4.Position = 412; // Container child hpaned4.Gtk.Paned+PanedChild this.taskCombobox = global::Gtk.ComboBoxEntry.NewText(); this.taskCombobox.Name = "taskCombobox"; this.hpaned4.Add(this.taskCombobox); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.hpaned4[this.taskCombobox])); w1.Resize = false; // Container child hpaned4.Gtk.Paned+PanedChild this.time = new global::Gtk.Label(); this.time.Name = "time"; this.time.LabelProp = global::Mono.Unix.Catalog.GetString("00:00:00"); this.hpaned4.Add(this.time); this.vpaned4.Add(this.hpaned4); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned4[this.hpaned4])); w3.Resize = false; // Container child vpaned4.Gtk.Paned+PanedChild this.hpaned2 = new global::Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 422; // Container child hpaned2.Gtk.Paned+PanedChild this.timeCombobox = global::Gtk.ComboBox.NewText(); this.timeCombobox.Name = "timeCombobox"; this.hpaned2.Add(this.timeCombobox); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.timeCombobox])); w4.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.timeCheckbutton = new global::Gtk.CheckButton(); this.timeCheckbutton.CanFocus = true; this.timeCheckbutton.Name = "timeCheckbutton"; this.timeCheckbutton.Label = global::Mono.Unix.Catalog.GetString("Total time"); this.timeCheckbutton.DrawIndicator = true; this.timeCheckbutton.UseUnderline = true; this.hpaned2.Add(this.timeCheckbutton); this.vpaned4.Add(this.hpaned2); this.hpaned1.Add(this.vpaned4); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vpaned4])); w7.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(5)); this.alignment2.RightPadding = ((uint)(5)); // Container child alignment2.Gtk.Container+ContainerChild this.startButton = new global::Gtk.Button(); this.startButton.CanFocus = true; this.startButton.Name = "startButton"; this.startButton.UseUnderline = true; this.startButton.Label = global::Mono.Unix.Catalog.GetString("Start"); this.alignment2.Add(this.startButton); this.hpaned1.Add(this.alignment2); this.vpaned1.Add(this.hpaned1); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.hpaned1])); w10.Resize = false; // 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.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.vpaned1.Add(this.GtkScrolledWindow); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 640; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.timeCombobox.Changed += new global::System.EventHandler(this.OnTimeComboboxChanged); this.timeCheckbutton.Toggled += new global::System.EventHandler(this.OnTimeCheckbuttonToggled); this.startButton.Clicked += new global::System.EventHandler(this.OnStartButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.CodeTemplates.EditTemplateDialog this.Name = "MonoDevelop.Ide.CodeTemplates.EditTemplateDialog"; this.Title = ""; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child MonoDevelop.Ide.CodeTemplates.EditTemplateDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 555; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryDescription = new global::Gtk.Entry (); this.entryDescription.CanFocus = true; this.entryDescription.Name = "entryDescription"; this.entryDescription.IsEditable = true; this.entryDescription.InvisibleChar = '●'; this.hbox1.Add (this.entryDescription); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryDescription])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Mime:"); this.label2.UseUnderline = true; this.hbox1.Add (this.label2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.comboboxentryMime = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryMime.Name = "comboboxentryMime"; this.hbox1.Add (this.comboboxentryMime); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboboxentryMime])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.table2.Add (this.hbox1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox1])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.entryShortcut1 = new global::Gtk.Entry (); this.entryShortcut1.CanFocus = true; this.entryShortcut1.Name = "entryShortcut1"; this.entryShortcut1.Text = global::Mono.Unix.Catalog.GetString (" "); this.entryShortcut1.IsEditable = true; this.entryShortcut1.InvisibleChar = '●'; this.hbox2.Add (this.entryShortcut1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryShortcut1])); w6.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_Group:"); this.label5.UseUnderline = true; this.hbox2.Add (this.label5); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label5])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.comboboxentryGroups = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentryGroups.Name = "comboboxentryGroups"; this.hbox2.Add (this.comboboxentryGroups); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboboxentryGroups])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.table2.Add (this.hbox2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.checkbuttonExpansion = new global::Gtk.CheckButton (); this.checkbuttonExpansion.CanFocus = true; this.checkbuttonExpansion.Name = "checkbuttonExpansion"; this.checkbuttonExpansion.Label = global::Mono.Unix.Catalog.GetString ("Is _expandable template"); this.checkbuttonExpansion.DrawIndicator = true; this.checkbuttonExpansion.UseUnderline = true; this.hbox5.Add (this.checkbuttonExpansion); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.checkbuttonExpansion])); w10.Position = 0; w10.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.checkbuttonSurroundWith = new global::Gtk.CheckButton (); this.checkbuttonSurroundWith.CanFocus = true; this.checkbuttonSurroundWith.Name = "checkbuttonSurroundWith"; this.checkbuttonSurroundWith.Label = global::Mono.Unix.Catalog.GetString ("Is _surround with template"); this.checkbuttonSurroundWith.DrawIndicator = true; this.checkbuttonSurroundWith.UseUnderline = true; this.hbox5.Add (this.checkbuttonSurroundWith); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.checkbuttonSurroundWith])); w11.Position = 1; this.table2.Add (this.hbox5); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox5])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.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 ("_Shortcut:"); this.label1.UseUnderline = true; this.table2.Add (this.label1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Description:"); this.label3.UseUnderline = true; this.table2.Add (this.label3); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(6)); // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Template Text:"); this.hbox3.Add (this.label6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label6])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox3.Add (this.fixed1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed1])); w17.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.checkbuttonWhiteSpaces = new global::Gtk.CheckButton (); this.checkbuttonWhiteSpaces.CanFocus = true; this.checkbuttonWhiteSpaces.Name = "checkbuttonWhiteSpaces"; this.checkbuttonWhiteSpaces.Label = global::Mono.Unix.Catalog.GetString ("S_how whitespaces"); this.checkbuttonWhiteSpaces.DrawIndicator = true; this.checkbuttonWhiteSpaces.UseUnderline = true; this.hbox3.Add (this.checkbuttonWhiteSpaces); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.checkbuttonWhiteSpaces])); w18.Position = 2; w18.Expand = false; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox3.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow1])); w20.Position = 1; this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3])); w21.Position = 1; this.hpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w22 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w22.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.comboboxVariables = global::Gtk.ComboBox.NewText (); this.comboboxVariables.Name = "comboboxVariables"; this.vbox4.Add (this.comboboxVariables); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.comboboxVariables])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeviewVariable = new global::Gtk.TreeView (); this.treeviewVariable.CanFocus = true; this.treeviewVariable.Name = "treeviewVariable"; this.scrolledwindow2.Add (this.treeviewVariable); this.vbox4.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledwindow2])); w25.Position = 1; this.hpaned1.Add (this.vbox4); w1.Add (this.hpaned1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w27.Position = 0; // Internal child MonoDevelop.Ide.CodeTemplates.EditTemplateDialog.ActionArea global::Gtk.HButtonBox w28 = this.ActionArea; w28.Name = "dialog1_ActionArea"; w28.Spacing = 6; w28.BorderWidth = ((uint)(5)); w28.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonCancel])); w29.Expand = false; w29.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w28 [this.buttonOk])); w30.Position = 1; w30.Expand = false; w30.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 859; this.DefaultHeight = 494; this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Mono.Instrumentation.Monitor.InstrumenationChartView global::Stetic.BinContainer.Attach(this); this.Name = "Mono.Instrumentation.Monitor.InstrumenationChartView"; // Container child Mono.Instrumentation.Monitor.InstrumenationChartView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hpaned2 = new global::Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 471; // Container child hpaned2.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.boxCharts = new global::Gtk.VBox(); this.boxCharts.Name = "boxCharts"; this.boxCharts.Spacing = 6; // Container child boxCharts.Gtk.Box+BoxChild this.hboxChartBar = new global::Gtk.HBox(); this.hboxChartBar.Name = "hboxChartBar"; this.hboxChartBar.Spacing = 6; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleTimeView = new global::Gtk.ToggleButton(); this.toggleTimeView.CanFocus = true; this.toggleTimeView.Name = "toggleTimeView"; this.toggleTimeView.UseUnderline = true; this.toggleTimeView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleTimeView.Label = global::Mono.Unix.Catalog.GetString("Time View"); this.hboxChartBar.Add(this.toggleTimeView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar[this.toggleTimeView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.toggleListView = new global::Gtk.ToggleButton(); this.toggleListView.CanFocus = true; this.toggleListView.Name = "toggleListView"; this.toggleListView.UseUnderline = true; this.toggleListView.Relief = ((global::Gtk.ReliefStyle)(2)); this.toggleListView.Label = global::Mono.Unix.Catalog.GetString("List View"); this.hboxChartBar.Add(this.toggleListView); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar[this.toggleListView])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomOut = new global::Gtk.Button(); this.buttonZoomOut.CanFocus = true; this.buttonZoomOut.Name = "buttonZoomOut"; this.buttonZoomOut.UseUnderline = true; this.buttonZoomOut.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomOut.Gtk.Container+ContainerChild global::Gtk.Alignment w3 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w4 = new global::Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-zoom-out", global::Gtk.IconSize.Menu); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label(); w4.Add(w7); w3.Add(w4); this.buttonZoomOut.Add(w3); this.hboxChartBar.Add(this.buttonZoomOut); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar[this.buttonZoomOut])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child hboxChartBar.Gtk.Box+BoxChild this.buttonZoomIn = new global::Gtk.Button(); this.buttonZoomIn.CanFocus = true; this.buttonZoomIn.Name = "buttonZoomIn"; this.buttonZoomIn.UseUnderline = true; this.buttonZoomIn.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonZoomIn.Gtk.Container+ContainerChild global::Gtk.Alignment w12 = new global::Gtk.Alignment(0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w13 = new global::Gtk.HBox(); w13.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-zoom-in", global::Gtk.IconSize.Menu); w13.Add(w14); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w16 = new global::Gtk.Label(); w13.Add(w16); w12.Add(w13); this.buttonZoomIn.Add(w12); this.hboxChartBar.Add(this.buttonZoomIn); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hboxChartBar[this.buttonZoomIn])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.boxCharts.Add(this.hboxChartBar); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.boxCharts[this.hboxChartBar])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child boxCharts.Gtk.Box+BoxChild this.frameCharts = new global::Gtk.VBox(); this.frameCharts.Name = "frameCharts"; this.frameCharts.Spacing = 6; // Container child frameCharts.Gtk.Box+BoxChild this.chartScroller = new global::Gtk.HScrollbar(null); this.chartScroller.Name = "chartScroller"; this.chartScroller.Adjustment.Upper = 100; this.chartScroller.Adjustment.PageIncrement = 10; this.chartScroller.Adjustment.PageSize = 10; this.chartScroller.Adjustment.StepIncrement = 1; this.frameCharts.Add(this.chartScroller); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.frameCharts[this.chartScroller])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.boxCharts.Add(this.frameCharts); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.boxCharts[this.frameCharts])); w23.Position = 1; this.hbox4.Add(this.boxCharts); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.boxCharts])); w24.Position = 0; this.hpaned2.Add(this.hbox4); global::Gtk.Paned.PanedChild w25 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.hbox4])); w25.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hboxSeriesBar = new global::Gtk.HBox(); this.hboxSeriesBar.Name = "hboxSeriesBar"; this.hboxSeriesBar.Spacing = 6; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonRemoveCounter = new global::Gtk.Button(); this.buttonRemoveCounter.CanFocus = true; this.buttonRemoveCounter.Name = "buttonRemoveCounter"; this.buttonRemoveCounter.UseStock = true; this.buttonRemoveCounter.UseUnderline = true; this.buttonRemoveCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonRemoveCounter.Label = "gtk-remove"; this.hboxSeriesBar.Add(this.buttonRemoveCounter); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar[this.buttonRemoveCounter])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hboxSeriesBar.Gtk.Box+BoxChild this.buttonAddCounter = new global::Gtk.Button(); this.buttonAddCounter.CanFocus = true; this.buttonAddCounter.Name = "buttonAddCounter"; this.buttonAddCounter.UseStock = true; this.buttonAddCounter.UseUnderline = true; this.buttonAddCounter.Relief = ((global::Gtk.ReliefStyle)(2)); this.buttonAddCounter.Label = "gtk-add"; this.hboxSeriesBar.Add(this.buttonAddCounter); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hboxSeriesBar[this.buttonAddCounter])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox5.Add(this.hboxSeriesBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hboxSeriesBar])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.listSeries = new global::Gtk.TreeView(); this.listSeries.WidthRequest = 100; this.listSeries.CanFocus = true; this.listSeries.Name = "listSeries"; this.listSeries.HeadersVisible = false; this.GtkScrolledWindow1.Add(this.listSeries); this.vbox5.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.GtkScrolledWindow1])); w30.Position = 1; this.hpaned2.Add(this.vbox5); global::Gtk.Paned.PanedChild w31 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.vbox5])); w31.Resize = false; w31.Shrink = false; this.vbox3.Add(this.hpaned2); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hpaned2])); w32.Position = 0; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.toggleTimeView.Toggled += new global::System.EventHandler(this.OnToggleTimeViewToggled); this.toggleListView.Toggled += new global::System.EventHandler(this.OnToggleListViewToggled); this.buttonZoomIn.Clicked += new global::System.EventHandler(this.OnButtonZoomInClicked); this.buttonZoomOut.Clicked += new global::System.EventHandler(this.OnButtonZoomOutClicked); this.chartScroller.ValueChanged += new global::System.EventHandler(this.OnChartScrollerValueChanged); this.buttonAddCounter.Clicked += new global::System.EventHandler(this.OnButtonAddCounterClicked); this.buttonRemoveCounter.Clicked += new global::System.EventHandler(this.OnButtonRemoveCounterClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget"; // Container child MonoDevelop.Database.Designer.ForeignKeyConstraintEditorWidget.Gtk.Container+ContainerChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 293; // Container child hpaned.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.windowPK = new global::Gtk.ScrolledWindow (); this.windowPK.CanFocus = true; this.windowPK.Name = "windowPK"; this.windowPK.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child windowPK.Gtk.Container+ContainerChild this.listFK = new global::Gtk.TreeView (); this.listFK.CanFocus = true; this.listFK.Name = "listFK"; this.windowPK.Add (this.listFK); this.vbox3.Add (this.windowPK); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.windowPK])); w2.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbuttonbox = new global::Gtk.HButtonBox (); this.hbuttonbox.Name = "hbuttonbox"; this.hbuttonbox.Spacing = 6; this.hbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonAdd = new global::Gtk.Button (); this.buttonAdd.CanFocus = true; this.buttonAdd.Name = "buttonAdd"; this.buttonAdd.UseStock = true; this.buttonAdd.UseUnderline = true; this.buttonAdd.Label = "gtk-add"; this.hbuttonbox.Add (this.buttonAdd); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child hbuttonbox.Gtk.ButtonBox+ButtonBoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.Sensitive = false; this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.hbuttonbox.Add (this.buttonRemove); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.hbuttonbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned.Add (this.vbox3); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned[this.vbox3])); w6.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.vboxColumns = new global::Gtk.VBox (); this.vboxColumns.Name = "vboxColumns"; this.vboxColumns.Spacing = 6; // Container child vboxColumns.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.columnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget (); this.columnSelecter.Sensitive = false; this.columnSelecter.CanFocus = true; this.columnSelecter.Name = "columnSelecter"; this.columnSelecter.ShadowType = ((global::Gtk.ShadowType)(1)); this.columnSelecter.SingleCheck = false; this.GtkAlignment2.Add (this.columnSelecter); this.frame1.Add (this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Columns"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vboxColumns.Add (this.frame1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxColumns[this.frame1])); w9.Position = 0; // Container child vboxColumns.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.referenceColumnSelecter = new global::MonoDevelop.Database.Components.SelectColumnWidget (); this.referenceColumnSelecter.Sensitive = false; this.referenceColumnSelecter.CanFocus = true; this.referenceColumnSelecter.Name = "referenceColumnSelecter"; this.referenceColumnSelecter.ShadowType = ((global::Gtk.ShadowType)(1)); this.referenceColumnSelecter.SingleCheck = false; this.GtkAlignment3.Add (this.referenceColumnSelecter); this.frame2.Add (this.GtkAlignment3); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString ("Reference Columns"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vboxColumns.Add (this.frame2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vboxColumns[this.frame2])); w12.Position = 1; this.hpaned.Add (this.vboxColumns); this.Add (this.hpaned); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.buttonAdd.Clicked += new global::System.EventHandler (this.AddClicked); this.buttonRemove.Clicked += new global::System.EventHandler (this.RemoveClicked); }
protected virtual void Build() { #pragma warning disable 436 MonoDevelop.Components.Gui.Initialize(this); // Widget MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget MonoDevelop.Components.BinContainer w1 = MonoDevelop.Components.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget"; // Container child MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 2; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 271; // Container child hpaned1.Gtk.Paned+PanedChild this.treeViewPlaceholder = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.treeViewPlaceholder.Name = "treeViewPlaceholder"; this.hpaned1.Add(this.treeViewPlaceholder); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.treeViewPlaceholder])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.documentationScrolledWindow = new global::Gtk.HBox(); this.documentationScrolledWindow.Name = "documentationScrolledWindow"; this.documentationScrolledWindow.Spacing = 6; this.notebook1.Add(this.documentationScrolledWindow); // Container child notebook1.Gtk.Notebook+NotebookChild this.searchWidget = new global::Gtk.VBox(); this.searchWidget.Name = "searchWidget"; this.searchWidget.Spacing = 6; // Container child searchWidget.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.searchTreeview = new global::Gtk.TreeView(); this.searchTreeview.CanFocus = true; this.searchTreeview.Name = "searchTreeview"; this.scrolledwindow1.Add(this.searchTreeview); this.searchWidget.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.searchWidget[this.scrolledwindow1])); w6.Position = 0; this.notebook1.Add(this.searchWidget); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.searchWidget])); w7.Position = 1; this.vbox3.Add(this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w8.Position = 0; this.hpaned1.Add(this.vbox3); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w10.Position = 0; 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.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.NewLanguageAction = new global::Gtk.Action ("NewLanguageAction", global::Mono.Unix.Catalog.GetString ("New Language"), null, null); this.NewLanguageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Language"); w1.Add (this.NewLanguageAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open"); w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.saveAction, null); this.NewWordAction = new global::Gtk.Action ("NewWordAction", global::Mono.Unix.Catalog.GetString ("New word"), null, null); this.NewWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New word"); w1.Add (this.NewWordAction, "<Primary><Mod2>n"); this.DeleteWordAction = new global::Gtk.Action ("DeleteWordAction", global::Mono.Unix.Catalog.GetString ("Delete word"), null, null); this.DeleteWordAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete word"); w1.Add (this.DeleteWordAction, "<Primary><Mod2>d"); this.LanguagePropertiesAction = new global::Gtk.Action ("LanguagePropertiesAction", global::Mono.Unix.Catalog.GetString ("Language properties"), null, null); this.LanguagePropertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Language properties"); w1.Add (this.LanguagePropertiesAction, "<Primary><Mod2>p"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Lex 2: Electric Boogaloo"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewLanguageAction' action='NewLanguageAction'/><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><menuitem name='NewWordAction' action='NewWordAction'/><menuitem name='DeleteWordAction' action='DeleteWordAction'/><menuitem name='LanguagePropertiesAction' action='LanguagePropertiesAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Search"); this.label6.UseUnderline = true; this.hbox3.Add (this.label6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.searchEntry = new global::Gtk.Entry (); this.searchEntry.CanFocus = true; this.searchEntry.Name = "searchEntry"; this.searchEntry.IsEditable = true; this.searchEntry.InvisibleChar = '•'; this.hbox3.Add (this.searchEntry); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.searchEntry])); w4.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseStock = true; this.button2.UseUnderline = true; this.button2.Label = "gtk-find"; this.hbox3.Add (this.button2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button2])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 296; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.wordList = new global::Gtk.TreeView (); this.wordList.CanFocus = true; this.wordList.Name = "wordList"; this.GtkScrolledWindow1.Add (this.wordList); this.hpaned1.Add (this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.GtkScrolledWindow1])); w8.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.currentWord = new global::LocalLexicon.WordWidget (); this.currentWord.Events = ((global::Gdk.EventMask)(256)); this.currentWord.Name = "currentWord"; this.hpaned1.Add (this.currentWord); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w10.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w11.Position = 3; w11.Expand = false; w11.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 975; this.DefaultHeight = 738; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewLanguageAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.NewWordAction.Activated += new global::System.EventHandler (this.OnNewWordActionActivated); this.DeleteWordAction.Activated += new global::System.EventHandler (this.OnDeleteWordActionActivated); this.LanguagePropertiesAction.Activated += new global::System.EventHandler (this.OnLanguagePropertiesActionActivated); this.searchEntry.Activated += new global::System.EventHandler (this.OnSearchEntryActivated); this.button2.Activated += new global::System.EventHandler (this.OnButton2Activated); this.wordList.CursorChanged += new global::System.EventHandler (this.OnWordListCursorChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget VAS.UI.VideoPlayerView global::Stetic.BinContainer.Attach(this); this.Name = "VAS.UI.VideoPlayerView"; // Container child VAS.UI.VideoPlayerView.Gtk.Container+ContainerChild this.maineventbox = new global::Gtk.EventBox(); this.maineventbox.Name = "maineventbox"; // Container child maineventbox.Gtk.Container+ContainerChild this.totalbox = new global::Gtk.VBox(); this.totalbox.Name = "totalbox"; // Container child totalbox.Gtk.Box+BoxChild this.mainbox = new global::Gtk.HBox(); this.mainbox.Name = "mainbox"; // Container child mainbox.Gtk.Box+BoxChild this.videohpaned = new global::Gtk.HPaned(); this.videohpaned.CanFocus = true; this.videohpaned.Name = "videohpaned"; this.videohpaned.Position = 719; // Container child videohpaned.Gtk.Paned+PanedChild this.videobox = new global::Gtk.HBox(); this.videobox.WidthRequest = 200; this.videobox.Name = "videobox"; // Container child videobox.Gtk.Box+BoxChild this.mainviewport = new global::VAS.UI.VideoWindow(); this.mainviewport.Events = ((global::Gdk.EventMask)(256)); this.mainviewport.Name = "mainviewport"; this.mainviewport.Ratio = 1F; this.videobox.Add(this.mainviewport); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.videobox [this.mainviewport])); w1.Position = 0; // Container child videobox.Gtk.Box+BoxChild this.blackboarddrawingarea = new global::Gtk.DrawingArea(); this.blackboarddrawingarea.Name = "blackboarddrawingarea"; this.videobox.Add(this.blackboarddrawingarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.videobox [this.blackboarddrawingarea])); w2.Position = 1; this.videohpaned.Add(this.videobox); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.videohpaned [this.videobox])); w3.Resize = false; w3.Shrink = false; // Container child videohpaned.Gtk.Paned+PanedChild this.subviewportsbox = new global::Gtk.VBox(); this.subviewportsbox.WidthRequest = 150; this.subviewportsbox.Name = "subviewportsbox"; // Container child subviewportsbox.Gtk.Box+BoxChild this.subviewport1 = new global::VAS.UI.SubViewport(); this.subviewport1.Events = ((global::Gdk.EventMask)(256)); this.subviewport1.Name = "subviewport1"; this.subviewport1.Index = 0; this.subviewportsbox.Add(this.subviewport1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.subviewportsbox [this.subviewport1])); w4.Position = 0; // Container child subviewportsbox.Gtk.Box+BoxChild this.subviewport2 = new global::VAS.UI.SubViewport(); this.subviewport2.Events = ((global::Gdk.EventMask)(256)); this.subviewport2.Name = "subviewport2"; this.subviewport2.Index = 0; this.subviewportsbox.Add(this.subviewport2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.subviewportsbox [this.subviewport2])); w5.Position = 1; // Container child subviewportsbox.Gtk.Box+BoxChild this.subviewport3 = new global::VAS.UI.SubViewport(); this.subviewport3.Events = ((global::Gdk.EventMask)(256)); this.subviewport3.Name = "subviewport3"; this.subviewport3.Index = 0; this.subviewportsbox.Add(this.subviewport3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.subviewportsbox [this.subviewport3])); w6.Position = 2; this.videohpaned.Add(this.subviewportsbox); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.videohpaned [this.subviewportsbox])); w7.Resize = false; w7.Shrink = false; this.mainbox.Add(this.videohpaned); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.videohpaned])); w8.Position = 0; this.totalbox.Add(this.mainbox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.totalbox [this.mainbox])); w9.Position = 0; // Container child totalbox.Gtk.Box+BoxChild this.lightbackgroundeventbox = new global::Gtk.EventBox(); this.lightbackgroundeventbox.Name = "lightbackgroundeventbox"; // Container child lightbackgroundeventbox.Gtk.Container+ContainerChild this.alignment1 = new global::Gtk.Alignment(0F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.editeventtimeruledrawingarea = new global::Gtk.DrawingArea(); this.editeventtimeruledrawingarea.Name = "editeventtimeruledrawingarea"; this.vbox1.Add(this.editeventtimeruledrawingarea); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.editeventtimeruledrawingarea])); w10.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox1.Add(this.timerulearea); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.timerulearea])); w11.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.controlsbox = new global::Gtk.HBox(); this.controlsbox.Name = "controlsbox"; this.controlsbox.Spacing = 6; // Container child controlsbox.Gtk.Box+BoxChild this.leftBlockAlignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.leftBlockAlignment.Name = "leftBlockAlignment"; // Container child leftBlockAlignment.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.closebutton = new global::Gtk.Button(); this.closebutton.TooltipMarkup = "Close loaded event"; this.closebutton.Name = "closebutton"; this.closebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child closebutton.Gtk.Container+ContainerChild this.closebuttonimage = new global::VAS.UI.Helpers.ImageView(); this.closebuttonimage.Name = "closebuttonimage"; this.closebutton.Add(this.closebuttonimage); this.hbox2.Add(this.closebutton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.closebutton])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.eventNameLabel = new global::Gtk.Label(); this.eventNameLabel.WidthRequest = 110; this.eventNameLabel.Name = "eventNameLabel"; this.hbox2.Add(this.eventNameLabel); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.eventNameLabel])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.drawbutton = new global::Gtk.Button(); this.drawbutton.TooltipMarkup = "Draw frame"; this.drawbutton.Name = "drawbutton"; this.drawbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child drawbutton.Gtk.Container+ContainerChild this.drawbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.drawbuttonimage.Name = "drawbuttonimage"; this.drawbutton.Add(this.drawbuttonimage); this.hbox2.Add(this.drawbutton); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.drawbutton])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.timeHBox = new global::Gtk.HBox(); this.timeHBox.Name = "timeHBox"; this.timeHBox.Spacing = 6; // Container child timeHBox.Gtk.Box+BoxChild this.timeLeftSeparator = new global::Gtk.VSeparator(); this.timeLeftSeparator.Name = "timeLeftSeparator"; this.timeHBox.Add(this.timeLeftSeparator); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.timeHBox [this.timeLeftSeparator])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child timeHBox.Gtk.Box+BoxChild this.timeVBox = new global::Gtk.VBox(); this.timeVBox.Name = "timeVBox"; // Container child timeVBox.Gtk.Box+BoxChild this.currentTimeArea = new global::Gtk.DrawingArea(); this.currentTimeArea.Name = "currentTimeArea"; this.timeVBox.Add(this.currentTimeArea); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.timeVBox [this.currentTimeArea])); w18.Position = 0; // Container child timeVBox.Gtk.Box+BoxChild this.totalTimeArea = new global::Gtk.DrawingArea(); this.totalTimeArea.Name = "totalTimeArea"; this.timeVBox.Add(this.totalTimeArea); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.timeVBox [this.totalTimeArea])); w19.Position = 1; this.timeHBox.Add(this.timeVBox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.timeHBox [this.timeVBox])); w20.Position = 1; // Container child timeHBox.Gtk.Box+BoxChild this.timeRightSeparator = new global::Gtk.VSeparator(); this.timeRightSeparator.Name = "timeRightSeparator"; this.timeHBox.Add(this.timeRightSeparator); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.timeHBox [this.timeRightSeparator])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.hbox2.Add(this.timeHBox); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeHBox])); w22.Position = 3; w22.Expand = false; this.leftBlockAlignment.Add(this.hbox2); this.controlsbox.Add(this.leftBlockAlignment); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.leftBlockAlignment])); w24.Position = 0; // Container child controlsbox.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.HeightRequest = 0; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.centerBlockAlignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.centerBlockAlignment.Name = "centerBlockAlignment"; // Container child centerBlockAlignment.Gtk.Container+ContainerChild this.buttonsbox = new global::Gtk.HBox(); this.buttonsbox.Name = "buttonsbox"; // Container child buttonsbox.Gtk.Box+BoxChild this.prevbutton = new global::Gtk.Button(); this.prevbutton.TooltipMarkup = "Previous"; this.prevbutton.Name = "prevbutton"; this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child prevbutton.Gtk.Container+ContainerChild this.prevbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.prevbuttonimage.Name = "prevbuttonimage"; this.prevbutton.Add(this.prevbuttonimage); this.buttonsbox.Add(this.prevbutton); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.playbutton = new global::Gtk.Button(); this.playbutton.TooltipMarkup = "Play"; this.playbutton.Name = "playbutton"; this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child playbutton.Gtk.Container+ContainerChild this.playbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.playbuttonimage.Name = "playbuttonimage"; this.playbutton.Add(this.playbuttonimage); this.buttonsbox.Add(this.playbutton); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.pausebutton = new global::Gtk.Button(); this.pausebutton.TooltipMarkup = "Pause"; this.pausebutton.Name = "pausebutton"; this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child pausebutton.Gtk.Container+ContainerChild this.pausebuttonimage = new global::VAS.UI.Helpers.ImageView(); this.pausebuttonimage.Name = "pausebuttonimage"; this.pausebutton.Add(this.pausebuttonimage); this.buttonsbox.Add(this.pausebutton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.nextbutton = new global::Gtk.Button(); this.nextbutton.TooltipMarkup = "Next"; this.nextbutton.Sensitive = false; this.nextbutton.Name = "nextbutton"; this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child nextbutton.Gtk.Container+ContainerChild this.nextbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.nextbuttonimage.Name = "nextbuttonimage"; this.nextbutton.Add(this.nextbuttonimage); this.buttonsbox.Add(this.nextbutton); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton])); w32.Position = 3; w32.Expand = false; w32.Fill = false; this.centerBlockAlignment.Add(this.buttonsbox); this.hbox4.Add(this.centerBlockAlignment); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.centerBlockAlignment])); w34.Position = 0; w34.Fill = false; this.controlsbox.Add(this.hbox4); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox4])); w35.Position = 1; // Container child controlsbox.Gtk.Box+BoxChild this.rightBlockAlignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.rightBlockAlignment.Name = "rightBlockAlignment"; // Container child rightBlockAlignment.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.jumpsbox = new global::Gtk.HBox(); this.jumpsbox.Name = "jumpsbox"; this.jumpsbox.Spacing = 6; // Container child jumpsbox.Gtk.Box+BoxChild this.jumpsLeftSeparator = new global::Gtk.VSeparator(); this.jumpsLeftSeparator.Name = "jumpsLeftSeparator"; this.jumpsbox.Add(this.jumpsLeftSeparator); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.jumpsbox [this.jumpsLeftSeparator])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child jumpsbox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.jumpsButton = new global::Gtk.Button(); this.jumpsButton.WidthRequest = 21; this.jumpsButton.HeightRequest = 21; this.jumpsButton.CanFocus = true; this.jumpsButton.Name = "jumpsButton"; this.jumpsButton.FocusOnClick = false; this.jumpsButton.Relief = ((global::Gtk.ReliefStyle)(2)); this.jumpsButton.Xalign = 0F; this.jumpsButton.Yalign = 0F; // Container child jumpsButton.Gtk.Container+ContainerChild this.jumpsButtonImage = new global::VAS.UI.Helpers.ImageView(); this.jumpsButtonImage.Name = "jumpsButtonImage"; this.jumpsButton.Add(this.jumpsButtonImage); this.vbox3.Add(this.jumpsButton); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.jumpsButton])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.jumpsLabel = new global::Gtk.Label(); this.jumpsLabel.Name = "jumpsLabel"; this.vbox3.Add(this.jumpsLabel); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.jumpsLabel])); w39.Position = 1; w39.Expand = false; w39.Fill = false; this.jumpsbox.Add(this.vbox3); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.jumpsbox [this.vbox3])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child jumpsbox.Gtk.Box+BoxChild this.jumpsRightSeparator = new global::Gtk.VSeparator(); this.jumpsRightSeparator.Name = "jumpsRightSeparator"; this.jumpsbox.Add(this.jumpsRightSeparator); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.jumpsbox [this.jumpsRightSeparator])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.hbox3.Add(this.jumpsbox); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.jumpsbox])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.zoomBox = new global::Gtk.HBox(); this.zoomBox.Name = "zoomBox"; this.zoomBox.Spacing = 6; // Container child zoomBox.Gtk.Box+BoxChild this.zoomBoxV = new global::Gtk.VBox(); this.zoomBoxV.Name = "zoomBoxV"; // Container child zoomBoxV.Gtk.Box+BoxChild this.zoomLevelButton = new global::Gtk.Button(); this.zoomLevelButton.WidthRequest = 21; this.zoomLevelButton.HeightRequest = 21; this.zoomLevelButton.CanFocus = true; this.zoomLevelButton.Name = "zoomLevelButton"; this.zoomLevelButton.FocusOnClick = false; this.zoomLevelButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child zoomLevelButton.Gtk.Container+ContainerChild this.zoomLevelImage = new global::VAS.UI.Helpers.ImageView(); this.zoomLevelImage.Name = "zoomLevelImage"; this.zoomLevelButton.Add(this.zoomLevelImage); this.zoomBoxV.Add(this.zoomLevelButton); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.zoomBoxV [this.zoomLevelButton])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child zoomBoxV.Gtk.Box+BoxChild this.zoomLabel = new global::Gtk.Label(); this.zoomLabel.Name = "zoomLabel"; this.zoomBoxV.Add(this.zoomLabel); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.zoomBoxV [this.zoomLabel])); w45.Position = 1; w45.Expand = false; w45.Fill = false; this.zoomBox.Add(this.zoomBoxV); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.zoomBox [this.zoomBoxV])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child zoomBox.Gtk.Box+BoxChild this.zoomSeparator = new global::Gtk.VSeparator(); this.zoomSeparator.Name = "zoomSeparator"; this.zoomBox.Add(this.zoomSeparator); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.zoomBox [this.zoomSeparator])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.hbox3.Add(this.zoomBox); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.zoomBox])); w48.Position = 1; w48.Expand = false; w48.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.rateBox = new global::Gtk.HBox(); this.rateBox.Name = "rateBox"; this.rateBox.Spacing = 6; // Container child rateBox.Gtk.Box+BoxChild this.rateBoxV = new global::Gtk.VBox(); this.rateBoxV.Name = "rateBoxV"; // Container child rateBoxV.Gtk.Box+BoxChild this.rateLevelButton = new global::Gtk.Button(); this.rateLevelButton.WidthRequest = 21; this.rateLevelButton.HeightRequest = 21; this.rateLevelButton.Sensitive = false; this.rateLevelButton.CanFocus = true; this.rateLevelButton.Name = "rateLevelButton"; this.rateLevelButton.FocusOnClick = false; this.rateLevelButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child rateLevelButton.Gtk.Container+ContainerChild this.rateLevelButtonImage = new global::VAS.UI.Helpers.ImageView(); this.rateLevelButtonImage.Name = "rateLevelButtonImage"; this.rateLevelButton.Add(this.rateLevelButtonImage); this.rateBoxV.Add(this.rateLevelButton); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.rateBoxV [this.rateLevelButton])); w50.Position = 0; w50.Expand = false; w50.Fill = false; // Container child rateBoxV.Gtk.Box+BoxChild this.rateLabel = new global::Gtk.Label(); this.rateLabel.Name = "rateLabel"; this.rateBoxV.Add(this.rateLabel); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.rateBoxV [this.rateLabel])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.rateBox.Add(this.rateBoxV); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.rateBox [this.rateBoxV])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child rateBox.Gtk.Box+BoxChild this.rateSeparator = new global::Gtk.VSeparator(); this.rateSeparator.Name = "rateSeparator"; this.rateBox.Add(this.rateSeparator); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.rateBox [this.rateSeparator])); w53.Position = 1; w53.Expand = false; w53.Fill = false; this.hbox3.Add(this.rateBox); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.rateBox])); w54.Position = 2; w54.Expand = false; w54.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.durationBox = new global::Gtk.HBox(); this.durationBox.Name = "durationBox"; this.durationBox.Spacing = 6; // Container child durationBox.Gtk.Box+BoxChild this.durationBoxV = new global::Gtk.VBox(); this.durationBoxV.Name = "durationBoxV"; // Container child durationBoxV.Gtk.Box+BoxChild this.DurationButton = new global::Gtk.ToggleButton(); this.DurationButton.WidthRequest = 21; this.DurationButton.HeightRequest = 21; this.DurationButton.Name = "DurationButton"; this.DurationButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child DurationButton.Gtk.Container+ContainerChild this.DurationButtonImage = new global::VAS.UI.Helpers.ImageView(); this.DurationButtonImage.Name = "DurationButtonImage"; this.DurationButton.Add(this.DurationButtonImage); this.durationBoxV.Add(this.DurationButton); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.durationBoxV [this.DurationButton])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child durationBoxV.Gtk.Box+BoxChild this.durationLabel = new global::Gtk.Label(); this.durationLabel.Name = "durationLabel"; this.durationBoxV.Add(this.durationLabel); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.durationBoxV [this.durationLabel])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.durationBox.Add(this.durationBoxV); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.durationBox [this.durationBoxV])); w58.Position = 0; w58.Expand = false; w58.Fill = false; // Container child durationBox.Gtk.Box+BoxChild this.durationSeparator = new global::Gtk.VSeparator(); this.durationSeparator.Name = "durationSeparator"; this.durationBox.Add(this.durationSeparator); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.durationBox [this.durationSeparator])); w59.PackType = ((global::Gtk.PackType)(1)); w59.Position = 1; w59.Expand = false; w59.Fill = false; this.hbox3.Add(this.durationBox); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.durationBox])); w60.Position = 3; w60.Expand = false; w60.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.editDurationBox = new global::Gtk.HBox(); this.editDurationBox.Name = "editDurationBox"; this.editDurationBox.Spacing = 6; // Container child editDurationBox.Gtk.Box+BoxChild this.editDurationButton = new global::Gtk.ToggleButton(); this.editDurationButton.Sensitive = false; this.editDurationButton.CanFocus = true; this.editDurationButton.Name = "editDurationButton"; this.editDurationButton.Relief = ((global::Gtk.ReliefStyle)(2)); this.editDurationBox.Add(this.editDurationButton); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.editDurationBox [this.editDurationButton])); w61.Position = 0; // Container child editDurationBox.Gtk.Box+BoxChild this.viewportsSeparator1 = new global::Gtk.VSeparator(); this.viewportsSeparator1.Name = "viewportsSeparator1"; this.editDurationBox.Add(this.viewportsSeparator1); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.editDurationBox [this.viewportsSeparator1])); w62.Position = 1; w62.Expand = false; w62.Fill = false; this.hbox3.Add(this.editDurationBox); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.editDurationBox])); w63.Position = 4; // Container child hbox3.Gtk.Box+BoxChild this.viewportsBox = new global::Gtk.HBox(); this.viewportsBox.Name = "viewportsBox"; this.viewportsBox.Spacing = 6; // Container child viewportsBox.Gtk.Box+BoxChild this.viewportsSwitchButton = new global::Gtk.ToggleButton(); this.viewportsSwitchButton.Name = "viewportsSwitchButton"; this.viewportsSwitchButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child viewportsSwitchButton.Gtk.Container+ContainerChild this.viewportsSwitchImage = new global::VAS.UI.Helpers.ImageView(); this.viewportsSwitchImage.Name = "viewportsSwitchImage"; this.viewportsSwitchButton.Add(this.viewportsSwitchImage); this.viewportsBox.Add(this.viewportsSwitchButton); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.viewportsBox [this.viewportsSwitchButton])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child viewportsBox.Gtk.Box+BoxChild this.viewportsSeparator = new global::Gtk.VSeparator(); this.viewportsSeparator.Name = "viewportsSeparator"; this.viewportsBox.Add(this.viewportsSeparator); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.viewportsBox [this.viewportsSeparator])); w66.Position = 1; w66.Expand = false; w66.Fill = false; this.hbox3.Add(this.viewportsBox); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.viewportsBox])); w67.Position = 5; w67.Expand = false; w67.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.center_playhead_box = new global::Gtk.HBox(); this.center_playhead_box.Name = "center_playhead_box"; // Container child center_playhead_box.Gtk.Box+BoxChild this.centerplayheadbutton = new global::Gtk.Button(); this.centerplayheadbutton.TooltipMarkup = "Next"; this.centerplayheadbutton.Name = "centerplayheadbutton"; this.centerplayheadbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child centerplayheadbutton.Gtk.Container+ContainerChild this.centerplayheadbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.centerplayheadbuttonimage.Name = "centerplayheadbuttonimage"; this.centerplayheadbutton.Add(this.centerplayheadbuttonimage); this.center_playhead_box.Add(this.centerplayheadbutton); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.center_playhead_box [this.centerplayheadbutton])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child center_playhead_box.Gtk.Box+BoxChild this.centerPlayHeadSeparator = new global::Gtk.VSeparator(); this.centerPlayHeadSeparator.Name = "centerPlayHeadSeparator"; this.center_playhead_box.Add(this.centerPlayHeadSeparator); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.center_playhead_box [this.centerPlayHeadSeparator])); w70.PackType = ((global::Gtk.PackType)(1)); w70.Position = 1; w70.Expand = false; w70.Fill = false; this.hbox3.Add(this.center_playhead_box); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.center_playhead_box])); w71.Position = 6; w71.Expand = false; w71.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.detachbutton = new global::Gtk.Button(); this.detachbutton.TooltipMarkup = "Detach window"; this.detachbutton.Name = "detachbutton"; this.detachbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child detachbutton.Gtk.Container+ContainerChild this.detachbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.detachbuttonimage.Name = "detachbuttonimage"; this.detachbutton.Add(this.detachbuttonimage); this.hbox3.Add(this.detachbutton); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.detachbutton])); w73.PackType = ((global::Gtk.PackType)(1)); w73.Position = 7; w73.Expand = false; w73.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.volumebutton = new global::Gtk.Button(); this.volumebutton.TooltipMarkup = "Volume"; this.volumebutton.Name = "volumebutton"; this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child volumebutton.Gtk.Container+ContainerChild this.volumebuttonimage = new global::VAS.UI.Helpers.ImageView(); this.volumebuttonimage.Name = "volumebuttonimage"; this.volumebutton.Add(this.volumebuttonimage); this.hbox3.Add(this.volumebutton); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.volumebutton])); w75.PackType = ((global::Gtk.PackType)(1)); w75.Position = 8; w75.Expand = false; w75.Fill = false; this.rightBlockAlignment.Add(this.hbox3); this.controlsbox.Add(this.rightBlockAlignment); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.rightBlockAlignment])); w77.PackType = ((global::Gtk.PackType)(1)); w77.Position = 2; this.vbox1.Add(this.controlsbox); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.controlsbox])); w78.Position = 2; w78.Expand = false; w78.Fill = false; this.alignment1.Add(this.vbox1); this.lightbackgroundeventbox.Add(this.alignment1); this.totalbox.Add(this.lightbackgroundeventbox); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.totalbox [this.lightbackgroundeventbox])); w81.Position = 1; w81.Expand = false; this.maineventbox.Add(this.totalbox); this.Add(this.maineventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.blackboarddrawingarea.Hide(); this.closebutton.Hide(); this.prevbutton.Hide(); this.pausebutton.Hide(); this.nextbutton.Hide(); this.DurationButton.Hide(); this.durationBoxV.Hide(); this.durationBox.Hide(); this.controlsbox.Hide(); this.Show(); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.NavigateBackwardAction = new global::Gtk.Action ("NavigateBackwardAction", global::Mono.Unix.Catalog.GetString ("Navigate backward"), null, "gtk-go-back"); this.NavigateBackwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate backward"); w2.Add (this.NavigateBackwardAction, null); this.NavigateForwardAction = new global::Gtk.Action ("NavigateForwardAction", global::Mono.Unix.Catalog.GetString ("Navigate forward"), null, "gtk-go-forward"); this.NavigateForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate forward"); w2.Add (this.NavigateForwardAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget"; // Container child MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 2; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 271; // Container child hpaned1.Gtk.Paned+PanedChild this.treeViewPlaceholder = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.treeViewPlaceholder.Name = "treeViewPlaceholder"; this.hpaned1.Add (this.treeViewPlaceholder); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.treeViewPlaceholder])); w3.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.documentationScrolledWindow = new global::MonoDevelop.Components.CompactScrolledWindow (); this.documentationScrolledWindow.CanFocus = true; this.documentationScrolledWindow.Name = "documentationScrolledWindow"; this.documentationScrolledWindow.ShowBorderLine = false; this.notebook1.Add (this.documentationScrolledWindow); // Container child notebook1.Gtk.Notebook+NotebookChild this.searchWidget = new global::Gtk.VBox (); this.searchWidget.Name = "searchWidget"; this.searchWidget.Spacing = 6; // Container child searchWidget.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.searchTreeview = new global::Gtk.TreeView (); this.searchTreeview.CanFocus = true; this.searchTreeview.Name = "searchTreeview"; this.scrolledwindow1.Add (this.searchTreeview); this.searchWidget.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.searchWidget [this.scrolledwindow1])); w6.Position = 0; this.notebook1.Add (this.searchWidget); global::Gtk.Notebook.NotebookChild w7 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.searchWidget])); w7.Position = 1; this.vbox3.Add (this.notebook1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebook1])); w8.Position = 0; this.hpaned1.Add (this.vbox3); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w10.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.NavigateBackwardAction.Activated += new global::System.EventHandler (this.OnNavigateBackwardActionActivated); this.NavigateForwardAction.Activated += new global::System.EventHandler (this.OnNavigateForwardActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget VotingMultiChain.LoginWindow this.Name = "VotingMultiChain.LoginWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Voting Log In"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(10)); this.Resizable = false; this.DefaultWidth = 550; this.DefaultHeight = 550; // Container child VotingMultiChain.LoginWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.titleLabel = new global::Gtk.Label(); this.titleLabel.Name = "titleLabel"; this.titleLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Enter login details"); this.vbox1.Add(this.titleLabel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.titleLabel])); w1.Position = 0; w1.Expand = false; w1.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.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 10; this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ComboxLabel = new global::Gtk.Label(); this.ComboxLabel.Name = "ComboxLabel"; this.ComboxLabel.LabelProp = global::Mono.Unix.Catalog.GetString(" User Type"); this.hbox3.Add(this.ComboxLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ComboxLabel])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.userSelectionCombo = global::Gtk.ComboBox.NewText(); this.userSelectionCombo.AppendText(global::Mono.Unix.Catalog.GetString("Voter")); this.userSelectionCombo.AppendText(global::Mono.Unix.Catalog.GetString("Administrator")); this.userSelectionCombo.Name = "userSelectionCombo"; this.userSelectionCombo.Active = 0; this.hbox3.Add(this.userSelectionCombo); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.userSelectionCombo])); w4.Position = 1; w4.Padding = ((uint)(30)); this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w6.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.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.userLabel = new global::Gtk.Label(); this.userLabel.Name = "userLabel"; this.userLabel.LabelProp = global::Mono.Unix.Catalog.GetString(" User Name"); this.hbox6.Add(this.userLabel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.userLabel])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.userEntry = new global::Gtk.Entry(); this.userEntry.CanFocus = true; this.userEntry.Name = "userEntry"; this.userEntry.IsEditable = true; this.userEntry.InvisibleChar = '•'; this.hbox6.Add(this.userEntry); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.userEntry])); w8.Position = 1; w8.Expand = false; w8.Padding = ((uint)(25)); this.vbox3.Add(this.hbox6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.passwordLabel = new global::Gtk.Label(); this.passwordLabel.Name = "passwordLabel"; this.passwordLabel.LabelProp = global::Mono.Unix.Catalog.GetString(" Password"); this.hbox5.Add(this.passwordLabel); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.passwordLabel])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.passwordEntry = new global::Gtk.Entry(); this.passwordEntry.CanFocus = true; this.passwordEntry.Name = "passwordEntry"; this.passwordEntry.IsEditable = true; this.passwordEntry.Visibility = false; this.passwordEntry.InvisibleChar = '•'; this.hbox5.Add(this.passwordEntry); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.passwordEntry])); w11.Position = 1; w11.Fill = false; w11.Padding = ((uint)(25)); this.vbox3.Add(this.hbox5); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w13.Position = 2; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w14.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.loginButton = new global::Gtk.Button(); this.loginButton.CanFocus = true; this.loginButton.Name = "loginButton"; this.loginButton.UseUnderline = true; this.loginButton.BorderWidth = ((uint)(2)); this.loginButton.Label = global::Mono.Unix.Catalog.GetString("Log In"); this.vbox1.Add(this.loginButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.loginButton])); w15.Position = 3; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(10)); this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.loginButton.Clicked += new global::System.EventHandler(this.OnLoginButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.NavigateBackwardAction = new global::Gtk.Action ("NavigateBackwardAction", global::Mono.Unix.Catalog.GetString ("Navigate backward"), null, "gtk-go-back"); this.NavigateBackwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate backward"); w2.Add (this.NavigateBackwardAction, null); this.NavigateForwardAction = new global::Gtk.Action ("NavigateForwardAction", global::Mono.Unix.Catalog.GetString ("Navigate forward"), null, "gtk-go-forward"); this.NavigateForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Navigate forward"); w2.Add (this.NavigateForwardAction, null); this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); w2.Add (this.goBackAction, null); this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); w2.Add (this.goForwardAction, null); this.goBackAction1 = new global::Gtk.Action ("goBackAction1", null, null, "gtk-go-back"); w2.Add (this.goBackAction1, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget"; // Container child MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonBack = new global::Gtk.Button (); this.buttonBack.CanFocus = true; this.buttonBack.Name = "buttonBack"; this.buttonBack.UseStock = true; this.buttonBack.UseUnderline = true; this.buttonBack.Label = "gtk-go-back"; this.hbox2.Add (this.buttonBack); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonBack])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonForeward = new global::Gtk.Button (); this.buttonForeward.CanFocus = true; this.buttonForeward.Name = "buttonForeward"; this.buttonForeward.UseStock = true; this.buttonForeward.UseUnderline = true; this.buttonForeward.Label = "gtk-go-forward"; this.hbox2.Add (this.buttonForeward); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonForeward])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Visibility:"); this.label3.UseUnderline = true; this.hbox2.Add (this.label3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.languageCombobox = global::Gtk.ComboBox.NewText (); this.languageCombobox.Name = "languageCombobox"; this.hbox2.Add (this.languageCombobox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.languageCombobox])); w6.PackType = ((global::Gtk.PackType)(1)); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Language:"); this.label1.UseUnderline = true; this.hbox2.Add (this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label1])); w7.PackType = ((global::Gtk.PackType)(1)); w7.Position = 4; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.searchentry1 = new global::MonoDevelop.Components.SearchEntry (); this.searchentry1.Name = "searchentry1"; this.searchentry1.ForceFilterButtonVisible = false; this.searchentry1.IsCheckMenu = false; this.searchentry1.ActiveFilterID = 0; this.searchentry1.Ready = false; this.searchentry1.HasFocus = false; this.hbox2.Add (this.searchentry1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.searchentry1])); w8.PackType = ((global::Gtk.PackType)(1)); w8.Position = 5; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 1f; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Search:"); this.label2.UseUnderline = true; this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w9.PackType = ((global::Gtk.PackType)(1)); w9.Position = 6; // Container child hbox2.Gtk.Box+BoxChild this.comboboxVisibilty = global::Gtk.ComboBox.NewText (); this.comboboxVisibilty.Name = "comboboxVisibilty"; this.hbox2.Add (this.comboboxVisibilty); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxVisibilty])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 7; w10.Expand = false; w10.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w11.Position = 0; w11.Expand = false; w11.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 = 271; // Container child hpaned1.Gtk.Paned+PanedChild this.treeViewPlaceholder = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f); this.treeViewPlaceholder.Name = "treeViewPlaceholder"; this.hpaned1.Add (this.treeViewPlaceholder); global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.treeViewPlaceholder])); w12.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; this.notebook1.ShowBorder = false; this.notebook1.ShowTabs = false; // Container child notebook1.Gtk.Notebook+NotebookChild this.documentationScrolledWindow = new global::Gtk.ScrolledWindow (); this.documentationScrolledWindow.Name = "documentationScrolledWindow"; this.documentationScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child documentationScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w13 = new global::Gtk.Viewport (); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.documentationLabel = new global::Gtk.Label (); this.documentationLabel.Name = "documentationLabel"; this.documentationLabel.Xpad = 6; this.documentationLabel.Ypad = 6; this.documentationLabel.Xalign = 0f; this.documentationLabel.Yalign = 0f; this.documentationLabel.UseMarkup = true; this.documentationLabel.Selectable = true; w13.Add (this.documentationLabel); this.documentationScrolledWindow.Add (w13); this.notebook1.Add (this.documentationScrolledWindow); // Container child notebook1.Gtk.Notebook+NotebookChild this.vboxInspect = new global::Gtk.VBox (); this.vboxInspect.Name = "vboxInspect"; this.vboxInspect.Spacing = 6; // Container child vboxInspect.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow (); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); this.vboxInspect.Add (this.scrolledwindow3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vboxInspect[this.scrolledwindow3])); w17.Position = 0; this.notebook1.Add (this.vboxInspect); global::Gtk.Notebook.NotebookChild w18 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxInspect])); w18.Position = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.searchWidget = new global::Gtk.VBox (); this.searchWidget.Name = "searchWidget"; this.searchWidget.Spacing = 6; // Container child searchWidget.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.searchTreeview = new global::Gtk.TreeView (); this.searchTreeview.CanFocus = true; this.searchTreeview.Name = "searchTreeview"; this.scrolledwindow1.Add (this.searchTreeview); this.searchWidget.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.searchWidget[this.scrolledwindow1])); w20.Position = 0; this.notebook1.Add (this.searchWidget); global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.searchWidget])); w21.Position = 2; this.vbox3.Add (this.notebook1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.notebook1])); w22.Position = 0; this.hpaned1.Add (this.vbox3); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w24.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.label3.MnemonicWidget = this.comboboxVisibilty; this.label1.MnemonicWidget = this.languageCombobox; this.label2.MnemonicWidget = this.searchentry1; this.Show (); this.NavigateBackwardAction.Activated += new global::System.EventHandler (this.OnNavigateBackwardActionActivated); this.NavigateForwardAction.Activated += new global::System.EventHandler (this.OnNavigateForwardActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Dialog.ProjectsManager this.Name = "LongoMatch.Gui.Dialog.ProjectsManager"; this.Title = global::Mono.Unix.Catalog.GetString("Projects Manager"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.ProjectsManager.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.dialog1_VBox1 = new global::Gtk.VBox(); this.dialog1_VBox1.Name = "dialog1_VBox1"; this.dialog1_VBox1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 349; // Container child hpaned1.Gtk.Paned+PanedChild this.projectlistwidget1 = new global::LongoMatch.Gui.Component.ProjectListWidget(); this.projectlistwidget1.Events = ((global::Gdk.EventMask)(256)); this.projectlistwidget1.Name = "projectlistwidget1"; this.hpaned1.Add(this.projectlistwidget1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.projectlistwidget1])); w2.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.projectdetails = new global::LongoMatch.Gui.Component.ProjectDetailsWidget(); this.projectdetails.Sensitive = false; this.projectdetails.Events = ((global::Gdk.EventMask)(256)); this.projectdetails.Name = "projectdetails"; this.projectdetails.Edited = false; this.projectdetails.LocalGoals = 0; this.projectdetails.VisitorGoals = 0; this.projectdetails.Date = new global::System.DateTime(0); this.GtkAlignment2.Add(this.projectdetails); this.frame1.Add(this.GtkAlignment2); this.GtkLabel7 = new global::Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Project Details</b>"); this.GtkLabel7.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel7; this.vbox3.Add(this.frame1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1])); w6.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.saveButton = new global::Gtk.Button(); this.saveButton.TooltipMarkup = "Save the selected project"; this.saveButton.Sensitive = false; this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseStock = true; this.saveButton.UseUnderline = true; this.saveButton.Label = "gtk-save"; this.vbox3.Add(this.saveButton); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.saveButton])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.deleteButton = new global::Gtk.Button(); this.deleteButton.TooltipMarkup = "Delete the selected project"; this.deleteButton.Sensitive = false; this.deleteButton.CanFocus = true; this.deleteButton.Name = "deleteButton"; this.deleteButton.UseStock = true; this.deleteButton.UseUnderline = true; this.deleteButton.Label = "gtk-delete"; this.vbox3.Add(this.deleteButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.deleteButton])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.exportbutton = new global::Gtk.Button(); this.exportbutton.TooltipMarkup = "Export the selected project to a file"; this.exportbutton.Sensitive = false; this.exportbutton.CanFocus = true; this.exportbutton.Name = "exportbutton"; this.exportbutton.UseUnderline = true; // Container child exportbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w9 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w10 = new global::Gtk.HBox(); w10.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_export", global::Gtk.IconSize.Menu); w10.Add(w11); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w13 = new global::Gtk.Label(); w13.LabelProp = global::Mono.Unix.Catalog.GetString("_Export"); w13.UseUnderline = true; w10.Add(w13); w9.Add(w10); this.exportbutton.Add(w9); this.vbox3.Add(this.exportbutton); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.exportbutton])); w17.Position = 3; w17.Expand = false; w17.Fill = false; w3.Add(this.vbox3); this.scrolledwindow3.Add(w3); this.hpaned1.Add(this.scrolledwindow3); this.hbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hpaned1])); w21.Position = 0; this.dialog1_VBox1.Add(this.hbox2); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox1 [this.hbox2])); w22.Position = 0; // Container child dialog1_VBox1.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.dialog1_VBox1.Add(this.hseparator3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox1 [this.hseparator3])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 1; w23.Expand = false; w23.Fill = false; w1.Add(this.dialog1_VBox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(w1 [this.dialog1_VBox1])); w24.Position = 0; // Internal child LongoMatch.Gui.Dialog.ProjectsManager.ActionArea global::Gtk.HButtonBox w25 = this.ActionArea; w25.Name = "dialog1_ActionArea"; w25.Spacing = 6; w25.BorderWidth = ((uint)(5)); w25.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-quit"; this.AddActionWidget(this.buttonOk, 0); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w25 [this.buttonOk])); w26.Expand = false; w26.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 833; this.DefaultHeight = 538; this.Show(); this.projectlistwidget1.ProjectsSelected += new global::LongoMatch.Handlers.ProjectsSelectedHandler(this.OnProjectlistwidget1ProjectsSelected); this.projectdetails.EditedEvent += new global::System.EventHandler(this.OnProjectdetailsEditedEvent); this.saveButton.Pressed += new global::System.EventHandler(this.OnSaveButtonPressed); this.deleteButton.Pressed += new global::System.EventHandler(this.OnDeleteButtonPressed); this.exportbutton.Clicked += new global::System.EventHandler(this.OnExportbuttonClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.VersionControl.Views.LogWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoDevelop.VersionControl.Views.LogWidget"; // Container child MonoDevelop.VersionControl.Views.LogWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 204; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 236; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.scrolledLoading = new global::Gtk.ScrolledWindow (); this.scrolledLoading.CanFocus = true; this.scrolledLoading.Name = "scrolledLoading"; // Container child scrolledLoading.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport (); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Loading..."); w3.Add (this.label3); this.scrolledLoading.Add (w3); this.vbox4.Add (this.scrolledLoading); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLoading])); w6.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.scrolledLog = new global::Gtk.ScrolledWindow (); this.scrolledLog.Name = "scrolledLog"; // Container child scrolledLog.Gtk.Container+ContainerChild this.treeviewLog = new global::Gtk.TreeView (); this.treeviewLog.CanFocus = true; this.treeviewLog.Name = "treeviewLog"; this.scrolledLog.Add (this.treeviewLog); this.vbox4.Add (this.scrolledLog); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLog])); w8.Position = 1; this.hpaned1.Add (this.vbox4); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox4])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.commitBox = new global::Gtk.EventBox (); this.commitBox.Name = "commitBox"; // Container child commitBox.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(8)); // Container child hbox1.Gtk.Box+BoxChild this.imageUser = new global::Gtk.Image (); this.imageUser.WidthRequest = 32; this.imageUser.HeightRequest = 32; this.imageUser.Name = "imageUser"; this.hbox1.Add (this.imageUser); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.imageUser])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelAuthor = new global::Gtk.Label (); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 0F; this.labelAuthor.LabelProp = "Author"; this.labelAuthor.Selectable = true; this.hbox2.Add (this.labelAuthor); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelAuthor])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelRevision = new global::Gtk.Label (); this.labelRevision.Name = "labelRevision"; this.labelRevision.Xalign = 1F; this.labelRevision.LabelProp = "Revision"; this.labelRevision.Selectable = true; this.hbox2.Add (this.labelRevision); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelRevision])); w12.Position = 1; this.vbox5.Add (this.hbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.labelDate = new global::Gtk.Label (); this.labelDate.Name = "labelDate"; this.labelDate.Xalign = 0F; this.labelDate.LabelProp = "Date"; this.labelDate.Selectable = true; this.vbox5.Add (this.labelDate); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelDate])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox1.Add (this.vbox5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w15.Position = 1; this.commitBox.Add (this.hbox1); this.vbox2.Add (this.commitBox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.commitBox])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textviewDetails = new global::Gtk.TextView (); this.textviewDetails.CanFocus = true; this.textviewDetails.Name = "textviewDetails"; this.textviewDetails.Editable = false; this.scrolledwindow1.Add (this.textviewDetails); this.vbox2.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); w19.Position = 1; this.hpaned1.Add (this.vbox2); this.vpaned1.Add (this.hpaned1); global::Gtk.Paned.PanedChild w21 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hpaned1])); w21.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindowFiles = new global::Gtk.ScrolledWindow (); this.scrolledwindowFiles.CanFocus = true; this.scrolledwindowFiles.Name = "scrolledwindowFiles"; this.vpaned1.Add (this.scrolledwindowFiles); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w23.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.scrolledLoading.Hide (); this.Show (); this.labelRevision.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnLabelRevisionButtonPressEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.VersionControl.Views.LogWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MonoDevelop.VersionControl.Views.LogWidget"; // Container child MonoDevelop.VersionControl.Views.LogWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 204; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 236; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.scrolledLoading = new global::Gtk.ScrolledWindow(); this.scrolledLoading.CanFocus = true; this.scrolledLoading.Name = "scrolledLoading"; // Container child scrolledLoading.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Loading..."); w3.Add(this.label3); this.scrolledLoading.Add(w3); this.vbox4.Add(this.scrolledLoading); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLoading])); w6.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.scrolledLog = new global::Gtk.ScrolledWindow(); this.scrolledLog.Name = "scrolledLog"; // Container child scrolledLog.Gtk.Container+ContainerChild this.treeviewLog = new global::Gtk.TreeView(); this.treeviewLog.CanFocus = true; this.treeviewLog.Name = "treeviewLog"; this.scrolledLog.Add(this.treeviewLog); this.vbox4.Add(this.scrolledLog); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLog])); w8.Position = 1; this.hpaned1.Add(this.vbox4); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox4])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.commitBox = new global::Gtk.EventBox(); this.commitBox.Name = "commitBox"; // Container child commitBox.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(8)); // Container child hbox1.Gtk.Box+BoxChild this.imageUser = new global::Gtk.Image(); this.imageUser.WidthRequest = 32; this.imageUser.HeightRequest = 32; this.imageUser.Name = "imageUser"; this.hbox1.Add(this.imageUser); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.imageUser])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelAuthor = new global::Gtk.Label(); this.labelAuthor.Name = "labelAuthor"; this.labelAuthor.Xalign = 0F; this.labelAuthor.LabelProp = global::Mono.Unix.Catalog.GetString("Author"); this.labelAuthor.Selectable = true; this.hbox2.Add(this.labelAuthor); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelAuthor])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.labelRevision = new global::Gtk.Label(); this.labelRevision.Name = "labelRevision"; this.labelRevision.Xalign = 1F; this.labelRevision.LabelProp = global::Mono.Unix.Catalog.GetString("Revision"); this.labelRevision.Selectable = true; this.hbox2.Add(this.labelRevision); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelRevision])); w12.Position = 1; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.labelDate = new global::Gtk.Label(); this.labelDate.Name = "labelDate"; this.labelDate.Xalign = 0F; this.labelDate.LabelProp = global::Mono.Unix.Catalog.GetString("Date"); this.labelDate.Selectable = true; this.vbox5.Add(this.labelDate); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelDate])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w15.Position = 1; this.commitBox.Add(this.hbox1); this.vbox2.Add(this.commitBox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.commitBox])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textviewDetails = new global::Gtk.TextView(); this.textviewDetails.CanFocus = true; this.textviewDetails.Name = "textviewDetails"; this.textviewDetails.Editable = false; this.scrolledwindow1.Add(this.textviewDetails); this.vbox2.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); w19.Position = 1; this.hpaned1.Add(this.vbox2); this.vpaned1.Add(this.hpaned1); global::Gtk.Paned.PanedChild w21 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hpaned1])); w21.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindowFiles = new global::Gtk.ScrolledWindow(); this.scrolledwindowFiles.CanFocus = true; this.scrolledwindowFiles.Name = "scrolledwindowFiles"; this.vpaned1.Add(this.scrolledwindowFiles); this.vbox1.Add(this.vpaned1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w23.Position = 0; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.scrolledLoading.Hide(); this.Show(); this.labelRevision.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnLabelRevisionButtonPressEvent); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.Projects.ProjectFileSelectorDialog this.Name = "MonoDevelop.Ide.Projects.ProjectFileSelectorDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Select Project File..."); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 182; this.hpaned1.BorderWidth = ((uint)(6)); // Container child hpaned1.Gtk.Paned+PanedChild 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.projectTree = new global::Gtk.TreeView (); this.projectTree.CanFocus = true; this.projectTree.Name = "projectTree"; this.GtkScrolledWindow.Add (this.projectTree); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w3.Position = 0; this.hpaned1.Add (this.vbox3); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox3])); w4.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.fileList = new global::Gtk.TreeView (); this.fileList.CanFocus = true; this.fileList.Name = "fileList"; this.GtkScrolledWindow1.Add (this.fileList); this.vbox4.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow1])); w6.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.AddFileButton = new global::Gtk.Button (); this.AddFileButton.TooltipMarkup = "Add existing files to the project"; this.AddFileButton.CanFocus = true; this.AddFileButton.Name = "AddFileButton"; this.AddFileButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child AddFileButton.Gtk.Container+ContainerChild this.imageAdd = new global::MonoDevelop.Components.ImageView (); this.imageAdd.Name = "imageAdd"; this.imageAdd.IconSize = ((global::Gtk.IconSize)(1)); this.imageAdd.IconId = "gtk-add"; this.AddFileButton.Add (this.imageAdd); this.hbox2.Add (this.AddFileButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.AddFileButton])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.typeBox = new global::Gtk.HBox (); this.typeBox.Name = "typeBox"; this.typeBox.Spacing = 6; // Container child typeBox.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File _type:"); this.label2.UseUnderline = true; this.typeBox.Add (this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child typeBox.Gtk.Box+BoxChild this.fileTypeCombo = global::Gtk.ComboBox.NewText (); this.fileTypeCombo.Name = "fileTypeCombo"; this.typeBox.Add (this.fileTypeCombo); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.typeBox [this.fileTypeCombo])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.hbox2.Add (this.typeBox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.typeBox])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 1; this.vbox4.Add (this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hpaned1.Add (this.vbox4); w1.Add (this.hpaned1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w14.Position = 0; // Internal child MonoDevelop.Ide.Projects.ProjectFileSelectorDialog.ActionArea global::Gtk.HButtonBox w15 = this.ActionArea; w15.Name = "dialog1_ActionArea"; w15.Spacing = 6; w15.BorderWidth = ((uint)(5)); w15.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonCancel])); w16.Expand = false; w16.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.buttonOk])); w17.Position = 1; w17.Expand = false; w17.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 522; this.DefaultHeight = 416; this.label2.MnemonicWidget = this.fileTypeCombo; this.typeBox.Hide (); this.Hide (); this.AddFileButton.Clicked += new global::System.EventHandler (this.OnAddFileButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoGame.Tools.Pipeline.CollectionEditorDialog this.Name = "MonoGame.Tools.Pipeline.CollectionEditorDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Reference Editor"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoGame.Tools.Pipeline.CollectionEditorDialog.VBox #if GTK2 global::Gtk.VBox w1 = this.VBox; #elif GTK3 global::Gtk.Box w1 = this.ContentArea; #endif w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 573; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); #if GTK3 this.filechooserwidget1.Expand = true; #endif this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox2.Add(this.filechooserwidget1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.filechooserwidget1])); w2.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.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox2.Add(this.alignment1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment1])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseStock = true; this.button9.UseUnderline = true; this.button9.Label = "gtk-add"; this.hbox2.Add(this.button9); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button9])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w6.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox1.Add(this.alignment2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment2])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseStock = true; this.button10.UseUnderline = true; this.button10.Label = "gtk-remove"; this.hbox1.Add(this.button10); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button10])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.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.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.EnableSearch = false; this.treeview1.HeadersVisible = false; this.GtkScrolledWindow2.Add(this.treeview1); this.vbox3.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow2])); w11.Position = 1; this.hpaned1.Add(this.vbox3); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w13.Position = 0; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 800; this.DefaultHeight = 397; #if GTK3 Gdk.Geometry geom = new Gdk.Geometry(); geom.MinWidth = this.DefaultWidth; geom.MinHeight = 200; this.SetGeometryHints(this, geom, Gdk.WindowHints.MinSize); #endif this.Show(); this.Response += new global::Gtk.ResponseHandler(this.OnResponse); this.filechooserwidget1.FileActivated += new global::System.EventHandler(this.AddFileEvent); this.button9.Clicked += new global::System.EventHandler(this.AddFileEvent); this.button10.Clicked += new global::System.EventHandler(this.RemoveFileEvent); }
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.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add"); w1.Add(this.addAction, null); this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove"); w1.Add(this.removeAction, null); this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh"); w1.Add(this.refreshAction, null); this.goDownAction = new global::Gtk.Action("goDownAction", null, null, "gtk-go-down"); w1.Add(this.goDownAction, null); this.goUpAction = new global::Gtk.Action("goUpAction", null, null, "gtk-go-up"); w1.Add(this.goUpAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 44; // Container child vpaned2.Gtk.Paned+PanedChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='refreshAction' action='refreshAction'/><toolitem name='goDownAction' action='goDownAction'/><toolitem name='goUpAction' action='goUpAction'/></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.vpaned2.Add(this.toolbar1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned2[this.toolbar1])); w2.Resize = false; w2.Shrink = false; // Container child vpaned2.Gtk.Paned+PanedChild this.vpaned3 = new global::Gtk.VPaned(); this.vpaned3.CanFocus = true; this.vpaned3.Name = "vpaned3"; this.vpaned3.Position = 481; // Container child vpaned3.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 170; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook3 = new global::Gtk.Notebook(); this.notebook3.CanFocus = true; this.notebook3.Name = "notebook3"; this.notebook3.CurrentPage = 1; this.notebook3.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook3.Gtk.Notebook+NotebookChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvHost = new global::Gtk.TreeView(); this.tvHost.CanFocus = true; this.tvHost.Name = "tvHost"; this.GtkScrolledWindow.Add(this.tvHost); this.notebook3.Add(this.GtkScrolledWindow); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Host"); this.notebook3.SetTabLabel(this.GtkScrolledWindow, this.label4); this.label4.ShowAll(); // Container child notebook3.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.tvTag = new global::Gtk.TreeView(); this.tvTag.CanFocus = true; this.tvTag.Name = "tvTag"; this.GtkScrolledWindow1.Add(this.tvTag); this.notebook3.Add(this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w6 = ((global::Gtk.Notebook.NotebookChild)(this.notebook3[this.GtkScrolledWindow1])); w6.Position = 1; // Notebook tab this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Tag"); this.notebook3.SetTabLabel(this.GtkScrolledWindow1, this.label6); this.label6.ShowAll(); this.hpaned1.Add(this.notebook3); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.notebook3])); w7.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned4 = new global::Gtk.VPaned(); this.vpaned4.CanFocus = true; this.vpaned4.Name = "vpaned4"; this.vpaned4.Position = 411; // Container child vpaned4.Gtk.Paned+PanedChild this.widget1 = new global::HostManagergtk.Widget(); this.widget1.Events = ((global::Gdk.EventMask)(256)); this.widget1.Name = "widget1"; this.vpaned4.Add(this.widget1); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned4[this.widget1])); w8.Resize = false; // Container child vpaned4.Gtk.Paned+PanedChild this.btnApply = new global::Gtk.Button(); this.btnApply.CanFocus = true; this.btnApply.Name = "btnApply"; this.btnApply.UseUnderline = true; this.btnApply.Label = global::Mono.Unix.Catalog.GetString("应用"); this.vpaned4.Add(this.btnApply); this.notebook1.Add(this.vpaned4); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebook1.SetTabLabel(this.vpaned4, this.label1); this.label1.ShowAll(); // Notebook tab global::Gtk.Label w11 = new global::Gtk.Label(); w11.Visible = true; this.notebook1.Add(w11); this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebook1.SetTabLabel(w11, this.label3); this.label3.ShowAll(); this.hpaned1.Add(this.notebook1); this.vpaned3.Add(this.hpaned1); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned3[this.hpaned1])); w13.Resize = false; // Container child vpaned3.Gtk.Paned+PanedChild this.statusbar1 = new global::Gtk.Statusbar(); global::Gtk.Tooltips w14 = new Gtk.Tooltips(); w14.SetTip(this.statusbar1, "ready", "ready"); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vpaned3.Add(this.statusbar1); global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.vpaned3[this.statusbar1])); w15.Resize = false; w15.Shrink = false; this.vpaned2.Add(this.vpaned3); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.vpaned2[this.vpaned3])); w16.Resize = false; w16.Shrink = false; this.Add(this.vpaned2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 772; this.DefaultHeight = 570; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Projects.SelectReferenceDialog this.WidthRequest = 640; this.HeightRequest = 520; this.Name = "MonoDevelop.Ide.Projects.SelectReferenceDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Edit References"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(6)); this.DestroyWithParent = true; // Internal child MonoDevelop.Ide.Projects.SelectReferenceDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox2"; w1.Spacing = 6; // Container child dialog-vbox2.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 12; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 590; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.RightPadding = ((uint)(3)); this.hpaned1.Add(this.alignment1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment1])); w2.Resize = false; w2.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.alignment2.LeftPadding = ((uint)(3)); // Container child alignment2.Gtk.Container+ContainerChild this.boxRefs = new global::Gtk.VBox(); this.boxRefs.Name = "boxRefs"; // Container child boxRefs.Gtk.Box+BoxChild this.selectedHeader = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.selectedHeader.Name = "selectedHeader"; // Container child selectedHeader.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label114 = new global::Gtk.Label(); this.label114.Name = "label114"; this.label114.Xalign = 0F; this.label114.LabelProp = global::Mono.Unix.Catalog.GetString("Selected references:"); this.hbox2.Add(this.label114); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label114])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.RemoveReferenceButton = new global::Gtk.Button(); this.RemoveReferenceButton.TooltipMarkup = "Remove"; this.RemoveReferenceButton.Name = "RemoveReferenceButton"; this.RemoveReferenceButton.UseUnderline = true; this.RemoveReferenceButton.FocusOnClick = false; this.RemoveReferenceButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child RemoveReferenceButton.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox(); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image(); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); w5.Add(w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label(); w5.Add(w8); w4.Add(w5); this.RemoveReferenceButton.Add(w4); this.hbox2.Add(this.RemoveReferenceButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.RemoveReferenceButton])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.selectedHeader.Add(this.hbox2); this.boxRefs.Add(this.selectedHeader); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.boxRefs [this.selectedHeader])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child boxRefs.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.HeightRequest = 150; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 12; // Container child hbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.ReferencesTreeView = new global::Gtk.TreeView(); this.ReferencesTreeView.Name = "ReferencesTreeView"; this.ReferencesTreeView.HeadersVisible = false; this.scrolledwindow2.Add(this.ReferencesTreeView); this.hbox4.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.scrolledwindow2])); w16.Position = 0; this.boxRefs.Add(this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.boxRefs [this.hbox4])); w17.Position = 1; this.alignment2.Add(this.boxRefs); this.hpaned1.Add(this.alignment2); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.alignment2])); w19.Shrink = false; this.vbox5.Add(this.hpaned1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hpaned1])); w20.Position = 0; w1.Add(this.vbox5); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w21.Position = 0; // Internal child MonoDevelop.Ide.Projects.SelectReferenceDialog.ActionArea global::Gtk.HButtonBox w22 = this.ActionArea; w22.Name = "dialog-action_area2"; w22.Spacing = 10; w22.BorderWidth = ((uint)(5)); w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.cancelbutton = new global::Gtk.Button(); this.cancelbutton.Name = "cancelbutton"; this.cancelbutton.UseStock = true; this.cancelbutton.UseUnderline = true; this.cancelbutton.Label = "gtk-cancel"; this.AddActionWidget(this.cancelbutton, -6); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.cancelbutton])); w23.Expand = false; w23.Fill = false; // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.okbutton = new global::Gtk.Button(); this.okbutton.Name = "okbutton"; this.okbutton.UseStock = true; this.okbutton.UseUnderline = true; this.okbutton.Label = "gtk-ok"; this.AddActionWidget(this.okbutton, -5); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.okbutton])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 889; this.DefaultHeight = 551; this.Hide(); this.RemoveReferenceButton.Clicked += new global::System.EventHandler(this.RemoveReference); this.ReferencesTreeView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnReferencesTreeViewKeyReleaseEvent); this.ReferencesTreeView.RowActivated += new global::Gtk.RowActivatedHandler(this.OnReferencesTreeViewRowActivated); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor this.Name = "MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor"; this.Title = global::Mono.Unix.Catalog.GetString ("Edit color sheme"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(6)); // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("_Name:"); this.label2.UseUnderline = true; this.hbox1.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryName = new global::Gtk.Entry (); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.hbox1.Add (this.entryName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryName])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Description:"); this.label3.UseUnderline = true; this.hbox1.Add (this.label3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label3])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryDescription = new global::Gtk.Entry (); this.entryDescription.CanFocus = true; this.entryDescription.Name = "entryDescription"; this.entryDescription.IsEditable = true; this.entryDescription.InvisibleChar = '●'; this.hbox1.Add (this.entryDescription); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryDescription])); w5.Position = 3; w1.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 415; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Colors"); this.label1.UseUnderline = true; this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewColors = new global::Gtk.TreeView (); this.treeviewColors.CanFocus = true; this.treeviewColors.Name = "treeviewColors"; this.GtkScrolledWindow.Add (this.treeviewColors); this.vbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); w9.Position = 1; this.hpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w10.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.colorbuttonBg = new global::Gtk.ColorButton (); this.colorbuttonBg.CanFocus = true; this.colorbuttonBg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonBg.Name = "colorbuttonBg"; this.table1.Add (this.colorbuttonBg); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonBg])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.colorbuttonFg = new global::Gtk.ColorButton (); this.colorbuttonFg.CanFocus = true; this.colorbuttonFg.Events = ((global::Gdk.EventMask)(784)); this.colorbuttonFg.Name = "colorbuttonFg"; this.table1.Add (this.colorbuttonFg); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbuttonFg])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("_Foreground:"); this.label4.UseUnderline = true; this.table1.Add (this.label4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_Background:"); this.label5.UseUnderline = true; this.table1.Add (this.label5); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add (this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbuttonBold = new global::Gtk.CheckButton (); this.checkbuttonBold.CanFocus = true; this.checkbuttonBold.Name = "checkbuttonBold"; this.checkbuttonBold.Label = global::Mono.Unix.Catalog.GetString ("B_old"); this.checkbuttonBold.DrawIndicator = true; this.checkbuttonBold.UseUnderline = true; this.vbox3.Add (this.checkbuttonBold); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkbuttonBold])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.checkbuttonItalic = new global::Gtk.CheckButton (); this.checkbuttonItalic.CanFocus = true; this.checkbuttonItalic.Name = "checkbuttonItalic"; this.checkbuttonItalic.Label = global::Mono.Unix.Catalog.GetString ("Italic"); this.checkbuttonItalic.DrawIndicator = true; this.checkbuttonItalic.UseUnderline = true; this.vbox3.Add (this.checkbuttonItalic); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkbuttonItalic])); w17.Position = 2; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Preview:"); this.label6.UseUnderline = true; this.vbox3.Add (this.label6); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label6])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindowTextEditor = new global::Gtk.ScrolledWindow (); this.scrolledwindowTextEditor.CanFocus = true; this.scrolledwindowTextEditor.Name = "scrolledwindowTextEditor"; this.scrolledwindowTextEditor.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox3.Add (this.scrolledwindowTextEditor); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindowTextEditor])); w19.Position = 4; this.hpaned1.Add (this.vbox3); w1.Add (this.hpaned1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w21.Position = 1; // Internal child MonoDevelop.SourceEditor.OptionPanels.ColorShemeEditor.ActionArea global::Gtk.HButtonBox w22 = this.ActionArea; w22.Name = "dialog1_ActionArea"; w22.Spacing = 10; w22.BorderWidth = ((uint)(5)); w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.buttonCancel])); w23.Expand = false; w23.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.buttonOk])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 760; this.DefaultHeight = 458; this.label2.MnemonicWidget = this.entryName; this.label3.MnemonicWidget = this.entryDescription; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.ConnectionAction = new global::Gtk.Action("ConnectionAction", global::Mono.Unix.Catalog.GetString("Connection"), null, null); this.ConnectionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Connection"); w1.Add(this.ConnectionAction, null); this.AddressManagerAction = new global::Gtk.Action("AddressManagerAction", global::Mono.Unix.Catalog.GetString("Address Manager"), null, null); this.AddressManagerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Address Manager"); w1.Add(this.AddressManagerAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction, null); this.TesterAction = new global::Gtk.Action("TesterAction", global::Mono.Unix.Catalog.GetString("Tester"), null, null); this.TesterAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tester"); w1.Add(this.TesterAction, null); this.SettingsAction1 = new global::Gtk.Action("SettingsAction1", global::Mono.Unix.Catalog.GetString("Settings"), null, null); this.SettingsAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Settings"); w1.Add(this.SettingsAction1, null); this.AddressesAction = new global::Gtk.Action("AddressesAction", global::Mono.Unix.Catalog.GetString("Addresses"), null, null); this.AddressesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Addresses"); w1.Add(this.AddressesAction, null); this.ConsoleAction = new global::Gtk.Action("ConsoleAction", global::Mono.Unix.Catalog.GetString("Console"), null, null); this.ConsoleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Console"); w1.Add(this.ConsoleAction, null); this.ClearLogAction = new global::Gtk.Action("ClearLogAction", global::Mono.Unix.Catalog.GetString("Clear Log"), null, null); this.ClearLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Clear Log"); w1.Add(this.ClearLogAction, null); this.TestsAction = new global::Gtk.Action("TestsAction", global::Mono.Unix.Catalog.GetString("Tests"), null, null); this.TestsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Tests"); w1.Add(this.TestsAction, null); this.CheckUPNPAction = new global::Gtk.Action("CheckUPNPAction", global::Mono.Unix.Catalog.GetString("Check UPNP"), null, null); this.CheckUPNPAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check UPNP"); w1.Add(this.CheckUPNPAction, null); this.CheckReachabilityAction = new global::Gtk.Action("CheckReachabilityAction", global::Mono.Unix.Catalog.GetString("Check Reachability"), null, null); this.CheckReachabilityAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check Reachability"); w1.Add(this.CheckReachabilityAction, null); this.GetExternalIPWith3rdPartyAction = new global::Gtk.Action("GetExternalIPWith3rdPartyAction", global::Mono.Unix.Catalog.GetString("Get External IP with 3rd party"), null, null); this.GetExternalIPWith3rdPartyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Get External IP with 3rd party"); w1.Add(this.GetExternalIPWith3rdPartyAction, null); this.TestsAction1 = new global::Gtk.Action("TestsAction1", global::Mono.Unix.Catalog.GetString("Tests"), null, null); this.TestsAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Tests"); w1.Add(this.TestsAction1, null); this.SelfTestAction = new global::Gtk.Action("SelfTestAction", global::Mono.Unix.Catalog.GetString("Self Test"), null, null); this.SelfTestAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Self Test"); w1.Add(this.SelfTestAction, null); this.CheckRemoteServerAction = new global::Gtk.Action("CheckRemoteServerAction", global::Mono.Unix.Catalog.GetString("Check Remote Server"), null, null); this.CheckRemoteServerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Check Remote Server"); w1.Add(this.CheckRemoteServerAction, null); this.ConfigureAction = new global::Gtk.Action("ConfigureAction", global::Mono.Unix.Catalog.GetString("Configure"), null, null); this.ConfigureAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Configure"); w1.Add(this.ConfigureAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Zen Node Tester"); 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='menubar3'><menu name='TesterAction' action='TesterAction'><menuitem name='SettingsAction1' action='SettingsAction1'/><menuitem name='AddressesAction' action='AddressesAction'/><menuitem name='ConsoleAction' action='ConsoleAction'/><menuitem name='ClearLogAction' action='ClearLogAction'/><menuitem name='ConfigureAction' action='ConfigureAction'/></menu><menu name='TestsAction1' action='TestsAction1'><menuitem name='SelfTestAction' action='SelfTestAction'/><menuitem name='CheckRemoteServerAction' action='CheckRemoteServerAction'/></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox1.Add(this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 492; // Container child hpaned1.Gtk.Paned+PanedChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 5; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.labelSummaryServer = new global::Gtk.Label(); this.labelSummaryServer.Name = "labelSummaryServer"; this.GtkAlignment.Add(this.labelSummaryServer); this.frame1.Add(this.GtkAlignment); this.GtkLabel17 = new global::Gtk.Label(); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("Server Status"); this.GtkLabel17.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel17; this.vbox5.Add(this.frame1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame1])); w5.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.labelSummaryPeers = new global::Gtk.Label(); this.labelSummaryPeers.Name = "labelSummaryPeers"; this.frame2.Add(this.labelSummaryPeers); this.GtkLabel18 = new global::Gtk.Label(); this.GtkLabel18.Name = "GtkLabel18"; this.GtkLabel18.LabelProp = global::Mono.Unix.Catalog.GetString("Peers"); this.GtkLabel18.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel18; this.vbox5.Add(this.frame2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame2])); w7.Position = 1; this.notebook2.Add(this.vbox5); global::Gtk.Notebook.NotebookChild w8 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox5])); w8.TabFill = false; // Notebook tab this.labelSummary = new global::Gtk.Label(); this.labelSummary.Name = "labelSummary"; this.labelSummary.LabelProp = global::Mono.Unix.Catalog.GetString("Summary"); this.notebook2.SetTabLabel(this.vbox5, this.labelSummary); this.labelSummary.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow3.BorderWidth = ((uint)(5)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeviewPeers = new global::Gtk.TreeView(); this.treeviewPeers.CanFocus = true; this.treeviewPeers.Name = "treeviewPeers"; this.GtkScrolledWindow3.Add(this.treeviewPeers); this.vbox2.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow3])); w10.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hboxButtons = new global::Gtk.HBox(); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; this.hboxButtons.BorderWidth = ((uint)(5)); // Container child hboxButtons.Gtk.Box+BoxChild this.buttonDiscover = new global::Gtk.Button(); this.buttonDiscover.CanFocus = true; this.buttonDiscover.Name = "buttonDiscover"; this.buttonDiscover.UseUnderline = true; this.buttonDiscover.Label = global::Mono.Unix.Catalog.GetString("Discover"); this.hboxButtons.Add(this.buttonDiscover); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.buttonDiscover])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.buttonDiscoverStop = new global::Gtk.Button(); this.buttonDiscoverStop.CanFocus = true; this.buttonDiscoverStop.Name = "buttonDiscoverStop"; this.buttonDiscoverStop.UseUnderline = true; this.buttonDiscoverStop.Label = global::Mono.Unix.Catalog.GetString("Stop Discover"); this.hboxButtons.Add(this.buttonDiscoverStop); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.buttonDiscoverStop])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox2.Add(this.hboxButtons); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hboxButtons])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.notebook2.Add(this.vbox2); global::Gtk.Notebook.NotebookChild w14 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox2])); w14.Position = 1; // Notebook tab this.labelPeers = new global::Gtk.Label(); this.labelPeers.Name = "labelPeers"; this.labelPeers.LabelProp = global::Mono.Unix.Catalog.GetString("Peers"); this.notebook2.SetTabLabel(this.vbox2, this.labelPeers); this.labelPeers.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.notebookServer = new global::Gtk.Notebook(); this.notebookServer.CanFocus = true; this.notebookServer.Name = "notebookServer"; this.notebookServer.CurrentPage = 0; this.notebookServer.BorderWidth = ((uint)(5)); // Container child notebookServer.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewConnections = new global::Gtk.TreeView(); this.treeviewConnections.CanFocus = true; this.treeviewConnections.Name = "treeviewConnections"; this.GtkScrolledWindow1.Add(this.treeviewConnections); this.notebookServer.Add(this.GtkScrolledWindow1); // Notebook tab this.labelConnections = new global::Gtk.Label(); this.labelConnections.Name = "labelConnections"; this.labelConnections.LabelProp = global::Mono.Unix.Catalog.GetString("Connections"); this.notebookServer.SetTabLabel(this.GtkScrolledWindow1, this.labelConnections); this.labelConnections.ShowAll(); // Container child notebookServer.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewMessages = new global::Gtk.TreeView(); this.treeviewMessages.CanFocus = true; this.treeviewMessages.Name = "treeviewMessages"; this.GtkScrolledWindow2.Add(this.treeviewMessages); this.notebookServer.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w18 = ((global::Gtk.Notebook.NotebookChild)(this.notebookServer [this.GtkScrolledWindow2])); w18.Position = 1; // Notebook tab this.labelMessages = new global::Gtk.Label(); this.labelMessages.Name = "labelMessages"; this.labelMessages.LabelProp = global::Mono.Unix.Catalog.GetString("Messages"); this.notebookServer.SetTabLabel(this.GtkScrolledWindow2, this.labelMessages); this.labelMessages.ShowAll(); this.vbox3.Add(this.notebookServer); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.notebookServer])); w19.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.buttonStartServer = new global::Gtk.Button(); this.buttonStartServer.CanFocus = true; this.buttonStartServer.Name = "buttonStartServer"; this.buttonStartServer.UseUnderline = true; this.buttonStartServer.Label = global::Mono.Unix.Catalog.GetString("Start"); this.hbox1.Add(this.buttonStartServer); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonStartServer])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonStopServer = new global::Gtk.Button(); this.buttonStopServer.CanFocus = true; this.buttonStopServer.Name = "buttonStopServer"; this.buttonStopServer.UseUnderline = true; this.buttonStopServer.Label = global::Mono.Unix.Catalog.GetString("Stop"); this.hbox1.Add(this.buttonStopServer); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonStopServer])); w21.Position = 1; w21.Expand = false; w21.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonServerTest = new global::Gtk.Button(); this.buttonServerTest.CanFocus = true; this.buttonServerTest.Name = "buttonServerTest"; this.buttonServerTest.UseUnderline = true; this.buttonServerTest.Label = global::Mono.Unix.Catalog.GetString("Test"); this.hbox1.Add(this.buttonServerTest); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonServerTest])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonStartInternal = new global::Gtk.Button(); this.buttonStartInternal.CanFocus = true; this.buttonStartInternal.Name = "buttonStartInternal"; this.buttonStartInternal.UseUnderline = true; this.buttonStartInternal.Label = global::Mono.Unix.Catalog.GetString("Start on LAN"); this.hbox1.Add(this.buttonStartInternal); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonStartInternal])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.notebook2.Add(this.vbox3); global::Gtk.Notebook.NotebookChild w25 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox3])); w25.Position = 2; // Notebook tab this.labelServerTab = new global::Gtk.Label(); this.labelServerTab.Name = "labelServerTab"; this.labelServerTab.LabelProp = global::Mono.Unix.Catalog.GetString("Server"); this.notebook2.SetTabLabel(this.vbox3, this.labelServerTab); this.labelServerTab.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(5)); // Container child vbox4.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonCheckPort = new global::Gtk.Button(); this.buttonCheckPort.CanFocus = true; this.buttonCheckPort.Name = "buttonCheckPort"; this.buttonCheckPort.UseUnderline = true; this.buttonCheckPort.Label = global::Mono.Unix.Catalog.GetString("Check"); this.table1.Add(this.buttonCheckPort); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonCheckPort])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonDeviceList = new global::Gtk.Button(); this.buttonDeviceList.CanFocus = true; this.buttonDeviceList.Name = "buttonDeviceList"; this.buttonDeviceList.UseUnderline = true; this.buttonDeviceList.Label = global::Mono.Unix.Catalog.GetString("Check"); this.table1.Add(this.buttonDeviceList); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonDeviceList])); w27.TopAttach = ((uint)(3)); w27.BottomAttach = ((uint)(4)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonGetExternalIP_3rd = new global::Gtk.Button(); this.buttonGetExternalIP_3rd.CanFocus = true; this.buttonGetExternalIP_3rd.Name = "buttonGetExternalIP_3rd"; this.buttonGetExternalIP_3rd.UseUnderline = true; this.buttonGetExternalIP_3rd.Label = global::Mono.Unix.Catalog.GetString("Check"); this.table1.Add(this.buttonGetExternalIP_3rd); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonGetExternalIP_3rd])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.buttonGetExternalIP_UPNP = new global::Gtk.Button(); this.buttonGetExternalIP_UPNP.CanFocus = true; this.buttonGetExternalIP_UPNP.Name = "buttonGetExternalIP_UPNP"; this.buttonGetExternalIP_UPNP.UseUnderline = true; this.buttonGetExternalIP_UPNP.Label = global::Mono.Unix.Catalog.GetString("Check"); this.table1.Add(this.buttonGetExternalIP_UPNP); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonGetExternalIP_UPNP])); w29.LeftAttach = ((uint)(2)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkIncludePMP = new global::Gtk.CheckButton(); this.checkIncludePMP.CanFocus = true; this.checkIncludePMP.Name = "checkIncludePMP"; this.checkIncludePMP.Label = global::Mono.Unix.Catalog.GetString("Include PMP"); this.checkIncludePMP.DrawIndicator = true; this.checkIncludePMP.UseUnderline = true; this.table1.Add(this.checkIncludePMP); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkIncludePMP])); w30.TopAttach = ((uint)(3)); w30.BottomAttach = ((uint)(4)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryExternalIP3rdParty = new global::Gtk.Entry(); this.entryExternalIP3rdParty.WidthRequest = 100; this.entryExternalIP3rdParty.CanFocus = true; this.entryExternalIP3rdParty.Name = "entryExternalIP3rdParty"; this.entryExternalIP3rdParty.IsEditable = true; this.entryExternalIP3rdParty.InvisibleChar = '●'; this.table1.Add(this.entryExternalIP3rdParty); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryExternalIP3rdParty])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryExternalIPUPnP = new global::Gtk.Entry(); this.entryExternalIPUPnP.WidthRequest = 100; this.entryExternalIPUPnP.CanFocus = true; this.entryExternalIPUPnP.Name = "entryExternalIPUPnP"; this.entryExternalIPUPnP.IsEditable = true; this.entryExternalIPUPnP.InvisibleChar = '●'; this.table1.Add(this.entryExternalIPUPnP); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryExternalIPUPnP])); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.entryCheckPort_IP = new global::Gtk.Entry(); this.entryCheckPort_IP.WidthRequest = 50; this.entryCheckPort_IP.CanFocus = true; this.entryCheckPort_IP.Name = "entryCheckPort_IP"; this.entryCheckPort_IP.IsEditable = true; this.entryCheckPort_IP.InvisibleChar = '●'; this.hbox3.Add(this.entryCheckPort_IP); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryCheckPort_IP])); w33.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString(":"); this.hbox3.Add(this.label6); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label6])); w34.Position = 1; w34.Expand = false; w34.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryCheckPort_Port = new global::Gtk.Entry(); this.entryCheckPort_Port.WidthRequest = 25; this.entryCheckPort_Port.CanFocus = true; this.entryCheckPort_Port.Name = "entryCheckPort_Port"; this.entryCheckPort_Port.IsEditable = true; this.entryCheckPort_Port.InvisibleChar = '●'; this.hbox3.Add(this.entryCheckPort_Port); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryCheckPort_Port])); w35.Position = 2; this.table1.Add(this.hbox3); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox3])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.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("External IP (UPnP):"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.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("External IP (Centralized):"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("List Devices:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w39.TopAttach = ((uint)(3)); w39.BottomAttach = ((uint)(4)); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Check Port (Centralized):"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w40.TopAttach = ((uint)(2)); w40.BottomAttach = ((uint)(3)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table1])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewUPNP = new global::Gtk.TreeView(); this.treeviewUPNP.CanFocus = true; this.treeviewUPNP.Name = "treeviewUPNP"; this.GtkScrolledWindow4.Add(this.treeviewUPNP); this.vbox4.Add(this.GtkScrolledWindow4); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow4])); w43.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonGetUPnPMapping = new global::Gtk.Button(); this.buttonGetUPnPMapping.CanFocus = true; this.buttonGetUPnPMapping.Name = "buttonGetUPnPMapping"; this.buttonGetUPnPMapping.UseUnderline = true; this.buttonGetUPnPMapping.Label = global::Mono.Unix.Catalog.GetString("Get Mapping"); this.hbox2.Add(this.buttonGetUPnPMapping); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonGetUPnPMapping])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonAddMapping = new global::Gtk.Button(); this.buttonAddMapping.CanFocus = true; this.buttonAddMapping.Name = "buttonAddMapping"; this.buttonAddMapping.UseUnderline = true; this.buttonAddMapping.Label = global::Mono.Unix.Catalog.GetString("Add Mapping"); this.hbox2.Add(this.buttonAddMapping); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonAddMapping])); w45.Position = 1; w45.Expand = false; w45.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonRemoveMapping = new global::Gtk.Button(); this.buttonRemoveMapping.CanFocus = true; this.buttonRemoveMapping.Name = "buttonRemoveMapping"; this.buttonRemoveMapping.UseUnderline = true; this.buttonRemoveMapping.Label = global::Mono.Unix.Catalog.GetString("Remove Mapping"); this.hbox2.Add(this.buttonRemoveMapping); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonRemoveMapping])); w46.Position = 2; w46.Expand = false; w46.Fill = false; this.vbox4.Add(this.hbox2); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.notebook2.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w48 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox4])); w48.Position = 3; // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("UPNP"); this.notebook2.SetTabLabel(this.vbox4, this.label7); this.label7.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView(); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow6.Add(this.treeview2); this.vbox6.Add(this.GtkScrolledWindow6); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow6])); w50.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow5.Add(this.treeview1); this.vbox6.Add(this.GtkScrolledWindow5); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.GtkScrolledWindow5])); w52.Position = 1; // Container child vbox6.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.vbox6.Add(this.button1); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.button1])); w53.Position = 2; w53.Expand = false; w53.Fill = false; this.notebook2.Add(this.vbox6); global::Gtk.Notebook.NotebookChild w54 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox6])); w54.Position = 4; // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Attacks"); this.notebook2.SetTabLabel(this.vbox6, this.label8); this.label8.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.transactionspane1 = new global::NodeTester.TransactionsPane(); this.transactionspane1.Events = ((global::Gdk.EventMask)(256)); this.transactionspane1.Name = "transactionspane1"; this.notebook2.Add(this.transactionspane1); global::Gtk.Notebook.NotebookChild w55 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.transactionspane1])); w55.Position = 5; // Notebook tab this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("Transactions"); this.notebook2.SetTabLabel(this.transactionspane1, this.label17); this.label17.ShowAll(); this.hpaned1.Add(this.notebook2); global::Gtk.Paned.PanedChild w56 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.notebook2])); w56.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow11 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow11.Name = "GtkScrolledWindow11"; this.GtkScrolledWindow11.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow11.Gtk.Container+ContainerChild this.treeviewLog = new global::Gtk.TreeView(); this.treeviewLog.CanFocus = true; this.treeviewLog.Name = "treeviewLog"; this.GtkScrolledWindow11.Add(this.treeviewLog); this.hpaned1.Add(this.GtkScrolledWindow11); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w59.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar3 = new global::Gtk.Statusbar(); this.statusbar3.Name = "statusbar3"; this.statusbar3.Spacing = 6; // Container child statusbar3.Gtk.Box+BoxChild this.labelDiscovery = new global::Gtk.Label(); this.labelDiscovery.Name = "labelDiscovery"; this.statusbar3.Add(this.labelDiscovery); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.statusbar3 [this.labelDiscovery])); w60.Position = 1; w60.Expand = false; w60.Fill = false; // Container child statusbar3.Gtk.Box+BoxChild this.labelServerStatus = new global::Gtk.Label(); this.labelServerStatus.Name = "labelServerStatus"; this.statusbar3.Add(this.labelServerStatus); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.statusbar3 [this.labelServerStatus])); w61.Position = 2; w61.Expand = false; w61.Fill = false; this.vbox1.Add(this.statusbar3); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar3])); w62.Position = 2; w62.Expand = false; w62.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1048; this.DefaultHeight = 587; this.Show(); this.SettingsAction.Activated += new global::System.EventHandler(this.Menu_Settings); this.SettingsAction1.Activated += new global::System.EventHandler(this.Menu_Settings); this.AddressesAction.Activated += new global::System.EventHandler(this.Menu_Addresses); this.ConsoleAction.Activated += new global::System.EventHandler(this.Menu_Console); this.ClearLogAction.Activated += new global::System.EventHandler(this.Menu_ClearLog); this.SelfTestAction.Activated += new global::System.EventHandler(this.Menu_SelfTest); this.CheckRemoteServerAction.Activated += new global::System.EventHandler(this.Menu_CheckRemote); this.ConfigureAction.Activated += new global::System.EventHandler(this.Menu_Configure); }