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.Name = "vpaned1"; this.vpaned1.Position = 112; // Container child vpaned1.Gtk.Paned+PanedChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vpaned1.Add (this.fixed1); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.fixed1])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vpaned1.Add (this.fixed2); this.Add (this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 561; this.DefaultHeight = 494; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget USB this.Name = "USB"; this.Title = global::Mono.Unix.Catalog.GetString("USB READ"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child USB.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 148; // Container child vpaned1.Gtk.Paned+PanedChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.vpaned1.Add(this.label); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.label])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.eventbox1 = new global::Gtk.EventBox(); this.eventbox1.Name = "eventbox1"; this.eventbox1.VisibleWindow = false; // Container child eventbox1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild 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(" Stop "); this.fixed1.Add(this.button2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button2])); w2.X = 266; w2.Y = 14; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString(" Pusk "); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w3.X = 178; w3.Y = 14; this.eventbox1.Add(this.fixed1); this.vpaned1.Add(this.eventbox1); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 341; this.DefaultHeight = 217; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button2.Clicked += new global::System.EventHandler(this.On_bStop); this.button1.Clicked += new global::System.EventHandler(this.On_bPusk); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget SQLGrenadineGui.QueryWidget global::Stetic.BinContainer.Attach (this); this.Name = "SQLGrenadineGui.QueryWidget"; // Container child SQLGrenadineGui.QueryWidget.Gtk.Container+ContainerChild this.vpanedContent = new global::Gtk.VPaned (); this.vpanedContent.CanFocus = true; this.vpanedContent.Name = "vpanedContent"; this.vpanedContent.Position = 198; // Container child vpanedContent.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.textviewEditor = new global::Gtk.TextView (); this.textviewEditor.CanFocus = true; this.textviewEditor.Name = "textviewEditor"; this.GtkScrolledWindow1.Add (this.textviewEditor); this.vpanedContent.Add (this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpanedContent [this.GtkScrolledWindow1])); w2.Resize = false; // Container child vpanedContent.Gtk.Paned+PanedChild this.vpanedResult = new global::Gtk.VPaned (); this.vpanedResult.CanFocus = true; this.vpanedResult.Name = "vpanedResult"; this.vpanedResult.Position = 144; // Container child vpanedResult.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.treeviewResult = new global::Gtk.TreeView (); this.treeviewResult.CanFocus = true; this.treeviewResult.Name = "treeviewResult"; this.GtkScrolledWindow.Add (this.treeviewResult); this.vpanedResult.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpanedResult [this.GtkScrolledWindow])); w4.Resize = false; // Container child vpanedResult.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.textviewMessage = new global::Gtk.TextView (); this.textviewMessage.CanFocus = true; this.textviewMessage.Name = "textviewMessage"; this.GtkScrolledWindow2.Add (this.textviewMessage); this.vpanedResult.Add (this.GtkScrolledWindow2); this.vpanedContent.Add (this.vpanedResult); this.Add (this.vpanedContent); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.textviewEditor.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnKeyReleased); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget WidgetLibrary.PlansWidget global::Stetic.BinContainer.Attach (this); this.Name = "WidgetLibrary.PlansWidget"; // Container child WidgetLibrary.PlansWidget.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 198; // 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); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 277; // Container child vpaned2.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView (); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow1.Add (this.treeview2); this.vpaned2.Add (this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.GtkScrolledWindow1])); w4.Resize = false; // Container child vpaned2.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.treeview3 = new global::Gtk.TreeView (); this.treeview3.CanFocus = true; this.treeview3.Name = "treeview3"; this.GtkScrolledWindow2.Add (this.treeview3); this.vpaned2.Add (this.GtkScrolledWindow2); this.vpaned1.Add (this.vpaned2); this.Add (this.vpaned1); 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.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 10; // Container child vpaned1.Gtk.Paned+PanedChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add(this.entry2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry2])); w1.X = 107; w1.Y = 5; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Enter your name:"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w2.X = 12; w2.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Submit"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w3.X = 203; w3.Y = 40; this.vpaned1.Add(this.fixed1); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 306; this.DefaultHeight = 132; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Pressed += new global::System.EventHandler(this.OnButton1Pressed); }
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.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.Name = "filechooserwidget1"; this.notebook1.Add(this.filechooserwidget1); // 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.filechooserwidget1, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 10; // Container child vpaned1.Gtk.Paned+PanedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.vpaned1.Add(this.button1); this.notebook1.Add(this.vpaned1); global::Gtk.Notebook.NotebookChild w3 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned1])); w3.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebook1.SetTabLabel(this.vpaned1, this.label2); this.label2.ShowAll(); this.Add(this.notebook1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 699; this.DefaultHeight = 452; 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 neoapi.audio_files this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "neoapi.audio_files"; this.Title = global::Mono.Unix.Catalog.GetString("audio_files"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child neoapi.audio_files.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 129; // Container child vpaned1.Gtk.Paned+PanedChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'/></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vpaned1.Add(this.toolbar1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.toolbar1])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); w3.Add(this.table1); this.scrolledwindow1.Add(w3); this.vpaned1.Add(this.scrolledwindow1); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 692; this.DefaultHeight = 379; this.Show(); }
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.hpaned2 = new global::Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 173; // Container child hpaned2.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 237; // Container child vpaned1.Gtk.Paned+PanedChild this.excelPath = new global::Gtk.Label(); this.excelPath.Name = "excelPath"; this.vpaned1.Add(this.excelPath); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.excelPath])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.importBtn = new global::Gtk.Button(); this.importBtn.CanFocus = true; this.importBtn.Name = "importBtn"; this.importBtn.UseUnderline = true; this.importBtn.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.vpaned1.Add(this.importBtn); this.hpaned2.Add(this.vpaned1); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.vpaned1])); w3.Resize = false; // Container child hpaned2.Gtk.Paned+PanedChild this.fileBrowser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.fileBrowser.Name = "fileBrowser"; this.hpaned2.Add(this.fileBrowser); this.Add(this.hpaned2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 671; this.DefaultHeight = 477; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.importBtn.Clicked += new global::System.EventHandler(this.OnImportBtnClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.CodeMetrics.CodeMetricsWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.CodeMetrics.CodeMetricsWidget"; // Container child MonoDevelop.CodeMetrics.CodeMetricsWidget.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 = 175; // 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.treeviewMetrics = new global::Gtk.TreeView(); this.treeviewMetrics.CanFocus = true; this.treeviewMetrics.Name = "treeviewMetrics"; this.GtkScrolledWindow.Add(this.treeviewMetrics); this.vpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textviewReport = new global::Gtk.TextView(); this.textviewReport.CanFocus = true; this.textviewReport.Name = "textviewReport"; this.GtkScrolledWindow1.Add(this.textviewReport); this.vpaned1.Add(this.GtkScrolledWindow1); this.vbox1.Add(this.vpaned1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vpaned1])); w5.Position = 0; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
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.vPane = new global::Gtk.VPaned(); this.vPane.CanFocus = true; this.vPane.Name = "vPane"; this.vPane.Position = 32; // Container child vPane.Gtk.Paned+PanedChild this.Search = new global::Gtk.Entry(); this.Search.CanFocus = true; this.Search.Name = "Search"; this.Search.IsEditable = true; this.Search.InvisibleChar = '●'; this.vPane.Add(this.Search); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vPane [this.Search])); w1.Resize = false; // Container child vPane.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 global::Gtk.Viewport w2 = new global::Gtk.Viewport(); w2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.FontTable = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.FontTable.Name = "FontTable"; this.FontTable.RowSpacing = ((uint)(6)); this.FontTable.ColumnSpacing = ((uint)(6)); w2.Add(this.FontTable); this.GtkScrolledWindow.Add(w2); this.vPane.Add(this.GtkScrolledWindow); this.Add(this.vPane); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 406; this.DefaultHeight = 668; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Search.Changed += new global::System.EventHandler(this.OnSearchChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.CodeMetrics.CodeMetricsWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.CodeMetrics.CodeMetricsWidget"; // Container child MonoDevelop.CodeMetrics.CodeMetricsWidget.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 = 175; // 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.treeviewMetrics = new global::Gtk.TreeView (); this.treeviewMetrics.CanFocus = true; this.treeviewMetrics.Name = "treeviewMetrics"; this.GtkScrolledWindow.Add (this.treeviewMetrics); this.vpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.textviewReport = new global::Gtk.TextView (); this.textviewReport.CanFocus = true; this.textviewReport.Name = "textviewReport"; this.GtkScrolledWindow1.Add (this.textviewReport); this.vpaned1.Add (this.GtkScrolledWindow1); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vpaned1])); w5.Position = 0; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("IRC"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 412; // 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.textview2 = new global::Gtk.TextView (); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.textview2.Editable = false; this.GtkScrolledWindow1.Add (this.textview2); this.vpaned1.Add (this.GtkScrolledWindow1); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow1])); w2.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.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add (this.textview1); this.vpaned1.Add (this.GtkScrolledWindow); this.Add (this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 697; this.DefaultHeight = 513; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
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.Name = "vpaned1"; this.vpaned1.Position = 394; // 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._txtTexto = new global::Gtk.TextView (); this._txtTexto.Buffer.Text = "vcxvxx"; this._txtTexto.CanFocus = true; this._txtTexto.Name = "_txtTexto"; this.GtkScrolledWindow.Add (this._txtTexto); this.vpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this._btOpen = new global::Gtk.Button (); this._btOpen.CanFocus = true; this._btOpen.Name = "_btOpen"; this._btOpen.UseUnderline = true; this._btOpen.Label = global::Mono.Unix.Catalog.GetString ("open"); this.vpaned1.Add (this._btOpen); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this._btOpen])); w3.Shrink = false; this.Add (this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 688; this.DefaultHeight = 484; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
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.Name = "vpaned1"; this.vpaned1.Position = 120; // Container child vpaned1.Gtk.Paned+PanedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("SSTV"); this.vpaned1.Add(this.label1); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.label1])); w1.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.OutputTextView = new global::Gtk.TextView(); this.OutputTextView.CanFocus = true; this.OutputTextView.Name = "OutputTextView"; this.OutputTextView.Editable = false; this.GtkScrolledWindow.Add(this.OutputTextView); this.vpaned1.Add(this.GtkScrolledWindow); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 604; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Docking.Components.ScriptEditor global::Stetic.BinContainer.Attach(this); this.Name = "Docking.Components.ScriptEditor"; // Container child Docking.Components.ScriptEditor.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 102; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add(this.scrolledwindow4); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.scrolledwindow4])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.textMessage = new global::Docking.Widgets.TextViewLocalized(); this.textMessage.CanFocus = true; this.textMessage.Name = "textMessage"; this.textMessage.Editable = false; this.vpaned1.Add(this.textMessage); this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w3.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.SynchronizationWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.SynchronizationWidget"; // Container child LongoMatch.Gui.Component.SynchronizationWidget.Gtk.Container+ContainerChild this.headereventbox = new global::Gtk.EventBox(); this.headereventbox.Name = "headereventbox"; // Container child headereventbox.Gtk.Container+ContainerChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 400; // Container child vpaned2.Gtk.Paned+PanedChild this.playbins_hbox = new global::Gtk.HBox(); this.playbins_hbox.Name = "playbins_hbox"; this.playbins_hbox.Homogeneous = true; this.playbins_hbox.Spacing = 15; this.playbins_hbox.BorderWidth = ((uint)(15)); // Container child playbins_hbox.Gtk.Box+BoxChild this.main_cam_vbox = new global::Gtk.VBox(); this.main_cam_vbox.Name = "main_cam_vbox"; this.main_cam_vbox.Spacing = 6; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.main_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.main_cam_playerbin.Name = "main_cam_playerbin"; this.main_cam_vbox.Add(this.main_cam_playerbin); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_playerbin])); w1.Position = 0; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_hbox = new global::Gtk.HBox(); this.main_cam_hbox.Name = "main_cam_hbox"; this.main_cam_hbox.Spacing = 6; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_label = new global::Gtk.Label(); this.main_cam_label.Name = "main_cam_label"; this.main_cam_label.Xalign = 0F; this.main_cam_hbox.Add(this.main_cam_label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_label])); w2.Position = 0; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.main_cam_audio_alignment.Name = "main_cam_audio_alignment"; this.main_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child main_cam_audio_alignment.Gtk.Container+ContainerChild this.main_cam_audio_button = new global::Gtk.ToggleButton(); this.main_cam_audio_button.CanFocus = true; this.main_cam_audio_button.Name = "main_cam_audio_button"; this.main_cam_audio_button.Active = true; // Container child main_cam_audio_button.Gtk.Container+ContainerChild this.main_cam_audio_button_image = new global::Gtk.Image(); this.main_cam_audio_button_image.Name = "main_cam_audio_button_image"; this.main_cam_audio_button.Add(this.main_cam_audio_button_image); this.main_cam_audio_alignment.Add(this.main_cam_audio_button); this.main_cam_hbox.Add(this.main_cam_audio_alignment); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_audio_alignment])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.main_cam_vbox.Add(this.main_cam_hbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_hbox])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.playbins_hbox.Add(this.main_cam_vbox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.main_cam_vbox])); w7.Position = 0; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_vbox = new global::Gtk.VBox(); this.sec_cam_vbox.Name = "sec_cam_vbox"; this.sec_cam_vbox.Spacing = 6; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.sec_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.sec_cam_playerbin.Name = "sec_cam_playerbin"; this.sec_cam_vbox.Add(this.sec_cam_playerbin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_playerbin])); w8.Position = 0; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_hbox = new global::Gtk.HBox(); this.sec_cam_hbox.Name = "sec_cam_hbox"; this.sec_cam_hbox.Spacing = 6; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_label = new global::Gtk.Label(); this.sec_cam_label.Name = "sec_cam_label"; this.sec_cam_label.Xalign = 0F; this.sec_cam_label.UseMarkup = true; this.sec_cam_hbox.Add(this.sec_cam_label); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_label])); w9.Position = 0; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.sec_cam_audio_alignment.Name = "sec_cam_audio_alignment"; this.sec_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child sec_cam_audio_alignment.Gtk.Container+ContainerChild this.sec_cam_audio_button = new global::Gtk.ToggleButton(); this.sec_cam_audio_button.CanFocus = true; this.sec_cam_audio_button.Name = "sec_cam_audio_button"; // Container child sec_cam_audio_button.Gtk.Container+ContainerChild this.sec_cam_audio_button_image = new global::Gtk.Image(); this.sec_cam_audio_button_image.Name = "sec_cam_audio_button_image"; this.sec_cam_audio_button.Add(this.sec_cam_audio_button_image); this.sec_cam_audio_alignment.Add(this.sec_cam_audio_button); this.sec_cam_hbox.Add(this.sec_cam_audio_alignment); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_audio_alignment])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.sec_cam_vbox.Add(this.sec_cam_hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_hbox])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.playbins_hbox.Add(this.sec_cam_vbox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_vbox])); w14.Position = 1; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_didactic_label = new global::Gtk.Label(); this.sec_cam_didactic_label.Name = "sec_cam_didactic_label"; this.playbins_hbox.Add(this.sec_cam_didactic_label); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_didactic_label])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vpaned2.Add(this.playbins_hbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.playbins_hbox])); w16.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.labels_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.labels_alignment.Name = "labels_alignment"; // Container child labels_alignment.Gtk.Container+ContainerChild this.labels_vbox = new global::Gtk.VBox(); this.labels_vbox.Name = "labels_vbox"; // Container child labels_vbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea(); this.labelsarea.Name = "labelsarea"; this.labels_vbox.Add(this.labelsarea); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.labelsarea])); w17.Position = 0; // Container child labels_vbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox(); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::Gtk.Image(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomoutimage])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomscale = new global::Gtk.HScale(null); this.zoomscale.CanFocus = true; this.zoomscale.Name = "zoomscale"; this.zoomscale.Adjustment.Upper = 100; this.zoomscale.Adjustment.PageIncrement = 10; this.zoomscale.Adjustment.StepIncrement = 1; this.zoomscale.DrawValue = false; this.zoomscale.Digits = 0; this.zoomscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add(this.zoomscale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomscale])); w19.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::Gtk.Image(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add(this.zoominimage); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoominimage])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.labels_vbox.Add(this.zoomhbox); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.zoomhbox])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.labels_alignment.Add(this.labels_vbox); this.hbox5.Add(this.labels_alignment); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.labels_alignment])); w23.Position = 0; w23.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; // Container child vbox9.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox9.Add(this.timerulearea); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.timerulearea])); w24.Position = 0; w24.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.HeightRequest = 50; this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((global::Gtk.PolicyType)(0)); this.scrolledwindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(0)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w25 = new global::Gtk.Viewport(); w25.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea(); this.timelinearea.Name = "timelinearea"; w25.Add(this.timelinearea); this.scrolledwindow2.Add(w25); this.vbox9.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.scrolledwindow2])); w28.Position = 1; this.hbox5.Add(this.vbox9); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox9])); w29.Position = 1; this.vpaned2.Add(this.hbox5); this.headereventbox.Add(this.vpaned2); this.Add(this.headereventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.sec_cam_vbox.Hide(); this.sec_cam_didactic_label.Hide(); this.Hide(); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.ChangeLogAddIn.AddLogEntryDialog this.Events = ((global::Gdk.EventMask)(256)); this.Name = "MonoDevelop.ChangeLogAddIn.AddLogEntryDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("ChangeLog"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.ChangeLogAddIn.AddLogEntryDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Events = ((global::Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog_VBox.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 116; // 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Modified ChangeLog files:"); this.vbox2.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.fileList = new global::Gtk.TreeView (); this.fileList.CanFocus = true; this.fileList.Name = "fileList"; this.fileList.HeadersVisible = false; this.scrolledwindow2.Add (this.fileList); this.vbox2.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow2])); w4.Position = 1; this.vpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox2])); w5.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("ChangeLog entry:"); this.vbox3.Add (this.label3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label3])); w6.Position = 0; w6.Expand = false; w6.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)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textview = new global::Gtk.TextView (); this.textview.CanFocus = true; this.textview.Name = "textview"; this.scrolledwindow1.Add (this.textview); this.vbox3.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow1])); w8.Position = 1; this.vpaned1.Add (this.vbox3); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w10.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.boxNewFile = new global::Gtk.HBox (); this.boxNewFile.Name = "boxNewFile"; this.boxNewFile.Spacing = 6; // Container child boxNewFile.Gtk.Box+BoxChild this.image36 = new global::Gtk.Image (); this.image36.Name = "image36"; this.image36.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-new", global::Gtk.IconSize.SmallToolbar); this.boxNewFile.Add (this.image36); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.boxNewFile [this.image36])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child boxNewFile.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.WidthRequest = 500; this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("This ChangeLog file does not exist and will be created."); this.label7.Wrap = true; this.boxNewFile.Add (this.label7); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.boxNewFile [this.label7])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox1.Add (this.boxNewFile); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.boxNewFile])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.boxNoFile = new global::Gtk.HBox (); this.boxNoFile.Name = "boxNoFile"; this.boxNoFile.Spacing = 6; // Container child boxNoFile.Gtk.Box+BoxChild this.image37 = new global::Gtk.Image (); this.image37.Name = "image37"; this.image37.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.SmallToolbar); this.boxNoFile.Add (this.image37); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.boxNoFile [this.image37])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child boxNoFile.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.WidthRequest = 500; this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("This ChangeLog file does not exist and will <b>not</b> be created."); this.label8.UseMarkup = true; this.label8.Wrap = true; this.boxNoFile.Add (this.label8); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.boxNoFile [this.label8])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.vbox1.Add (this.boxNoFile); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.boxNoFile])); w16.Position = 2; w16.Expand = false; w16.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.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.image38 = new global::Gtk.Image (); this.image38.Name = "image38"; this.image38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.SmallToolbar); this.vbox4.Add (this.image38); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.image38])); w17.Position = 0; w17.Expand = false; w17.Fill = false; this.hbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label (); this.label9.WidthRequest = 500; this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("To change the ChangeLog creation and update policies, open the options dialog of the project or solution and click on the 'ChangeLog Integration\" section."); this.label9.UseMarkup = true; this.label9.Wrap = true; this.hbox3.Add (this.label9); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label9])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w20.Position = 3; w20.Expand = false; w20.Fill = false; w1.Add (this.vbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox1])); w21.Position = 0; // Internal child MonoDevelop.ChangeLogAddIn.AddLogEntryDialog.ActionArea global::Gtk.HButtonBox w22 = this.ActionArea; w22.Events = ((global::Gdk.EventMask)(256)); w22.Name = "ChangeLogAddIn.AddLogEntryDialog_ActionArea"; w22.Spacing = 6; w22.BorderWidth = ((uint)(5)); w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child ChangeLogAddIn.AddLogEntryDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button7 = new global::Gtk.Button (); this.button7.CanDefault = true; this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseStock = true; this.button7.UseUnderline = true; this.button7.Label = "gtk-cancel"; this.AddActionWidget (this.button7, -6); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.button7])); w23.Expand = false; w23.Fill = false; // Container child ChangeLogAddIn.AddLogEntryDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button119 = new global::Gtk.Button (); this.button119.CanDefault = true; this.button119.CanFocus = true; this.button119.Name = "button119"; this.button119.UseStock = true; this.button119.UseUnderline = true; this.button119.Label = "gtk-ok"; this.AddActionWidget (this.button119, -5); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22 [this.button119])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 573; this.DefaultHeight = 510; this.boxNewFile.Hide (); this.boxNoFile.Hide (); this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget labwork.deleteElement this.Name = "labwork.deleteElement"; this.Title = global::Mono.Unix.Catalog.GetString("deleteElement"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child labwork.deleteElement.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.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.textview1 = new global::Gtk.TextView(); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.Editable = false; this.GtkScrolledWindow.Add(this.textview1); this.vbox7.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.GtkScrolledWindow])); w2.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.comboboxentry6 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry6.Name = "comboboxentry6"; this.hbox3.Add(this.comboboxentry6); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.comboboxentry6])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vpaned12 = new global::Gtk.VPaned(); this.vpaned12.CanFocus = true; this.vpaned12.Name = "vpaned12"; this.vpaned12.Position = 31; // Container child vpaned12.Gtk.Paned+PanedChild this.button6 = new global::Gtk.Button(); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = global::Mono.Unix.Catalog.GetString("Удалить"); this.vpaned12.Add(this.button6); this.hbox3.Add(this.vpaned12); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vpaned12])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.vbox7.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox3])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox7.Add(this.fixed2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.fixed2])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.button8 = new global::Gtk.Button(); this.button8.CanFocus = true; this.button8.Name = "button8"; this.button8.UseUnderline = true; this.button8.Label = global::Mono.Unix.Catalog.GetString("<-"); this.hbox5.Add(this.button8); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.button8])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.hpaned5 = new global::Gtk.HPaned(); this.hpaned5.CanFocus = true; this.hpaned5.Name = "hpaned5"; this.hpaned5.Position = 10; this.hbox5.Add(this.hpaned5); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hpaned5])); w9.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; this.button9.Label = global::Mono.Unix.Catalog.GetString("->"); this.hbox5.Add(this.button9); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.button9])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox7.Add(this.hbox5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox5])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 10; // Container child hpaned1.Gtk.Paned+PanedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.hpaned1.Add(this.label2); this.hbox6.Add(this.hpaned1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hpaned1])); w13.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.hpaned2 = new global::Gtk.HPaned(); this.hpaned2.CanFocus = true; this.hpaned2.Name = "hpaned2"; this.hpaned2.Position = 10; // Container child hpaned2.Gtk.Paned+PanedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.hpaned2.Add(this.label3); this.hbox6.Add(this.hpaned2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hpaned2])); w15.Position = 1; // Container child hbox6.Gtk.Box+BoxChild this.hpaned3 = new global::Gtk.HPaned(); this.hpaned3.CanFocus = true; this.hpaned3.Name = "hpaned3"; this.hpaned3.Position = 10; // Container child hpaned3.Gtk.Paned+PanedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.hpaned3.Add(this.label4); this.hbox6.Add(this.hpaned3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hpaned3])); w17.Position = 2; // Container child hbox6.Gtk.Box+BoxChild this.hpaned4 = new global::Gtk.HPaned(); this.hpaned4.CanFocus = true; this.hpaned4.Name = "hpaned4"; this.hpaned4.Position = 10; // Container child hpaned4.Gtk.Paned+PanedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.hpaned4.Add(this.label5); this.hbox6.Add(this.hpaned4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hpaned4])); w19.Position = 3; this.vbox7.Add(this.hbox6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox6])); w20.Position = 4; // Container child vbox7.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.hbox7.Add(this.entry1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entry1])); w21.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.hbox7.Add(this.entry2); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entry2])); w22.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.hbox7.Add(this.entry3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entry3])); w23.Position = 2; // Container child hbox7.Gtk.Box+BoxChild this.entry4 = new global::Gtk.Entry(); this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.hbox7.Add(this.entry4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.entry4])); w24.Position = 3; this.vbox7.Add(this.hbox7); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox7])); w25.Position = 5; w25.Expand = false; w25.Fill = false; this.Add(this.vbox7); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 682; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.comboboxentry6.Changed += new global::System.EventHandler(this.OnComboboxentry6Changed); this.button6.Clicked += new global::System.EventHandler(this.OnButton6Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("LIP - Lip Image Preparator"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 330; // Container child vpaned1.Gtk.Paned+PanedChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.filechooserwidget2.ShowHidden = true; this.vpaned1.Add (this.filechooserwidget2); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.filechooserwidget2])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.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 ("label1"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.refreshDrivesButton = new global::Gtk.Button (); this.refreshDrivesButton.CanFocus = true; this.refreshDrivesButton.Name = "refreshDrivesButton"; this.refreshDrivesButton.UseUnderline = true; this.refreshDrivesButton.Label = global::Mono.Unix.Catalog.GetString ("Refresh"); this.hbox1.Add (this.refreshDrivesButton); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.refreshDrivesButton])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow2.Add (this.treeview1); this.hbox1.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow2])); w5.Position = 2; this.hbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox1])); w6.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox2.Add (this.vseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.writeButton = new global::Gtk.Button (); this.writeButton.CanFocus = true; this.writeButton.Name = "writeButton"; this.writeButton.UseUnderline = true; this.writeButton.Label = global::Mono.Unix.Catalog.GetString ("Write"); this.hbox2.Add (this.writeButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.writeButton])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vpaned1.Add (this.hbox2); this.Add (this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 599; this.DefaultHeight = 480; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.refreshDrivesButton.Clicked += new global::System.EventHandler (this.OnRefreshDrivesButtonClicked); this.writeButton.Clicked += new global::System.EventHandler (this.OnWriteButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget CBinding.EditPackagesDialog this.Name = "CBinding.EditPackagesDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Edit packages"); this.Modal = true; // Internal child CBinding.EditPackagesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 183; this.vpaned1.BorderWidth = ((uint)(6)); // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.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.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.normalPackageTreeView = new global::Gtk.TreeView (); this.normalPackageTreeView.CanFocus = true; this.normalPackageTreeView.Name = "normalPackageTreeView"; this.scrolledwindow1.Add (this.normalPackageTreeView); this.notebook1.Add (this.scrolledwindow1); // Notebook tab this.labelSystemPackages = new global::Gtk.Label (); this.labelSystemPackages.Name = "labelSystemPackages"; this.labelSystemPackages.LabelProp = global::Mono.Unix.Catalog.GetString ("System Packages"); this.notebook1.SetTabLabel (this.scrolledwindow1, this.labelSystemPackages); this.labelSystemPackages.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild 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 this.projectPackageTreeView = new global::Gtk.TreeView (); this.projectPackageTreeView.CanFocus = true; this.projectPackageTreeView.Name = "projectPackageTreeView"; this.scrolledwindow3.Add (this.projectPackageTreeView); this.notebook1.Add (this.scrolledwindow3); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.scrolledwindow3])); w5.Position = 1; // Notebook tab this.labelProjectPackages = new global::Gtk.Label (); this.labelProjectPackages.Name = "labelProjectPackages"; this.labelProjectPackages.LabelProp = global::Mono.Unix.Catalog.GetString ("Project Packages"); this.notebook1.SetTabLabel (this.scrolledwindow3, this.labelProjectPackages); this.labelProjectPackages.ShowAll (); this.hbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook1])); w6.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.HeightRequest = 21; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox3.Add (this.fixed1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.detailsButton = new global::Gtk.Button (); this.detailsButton.WidthRequest = 33; this.detailsButton.HeightRequest = 33; this.detailsButton.Sensitive = false; this.detailsButton.CanFocus = true; this.detailsButton.Name = "detailsButton"; this.detailsButton.UseUnderline = true; this.detailsButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.vbox3.Add (this.detailsButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.detailsButton])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.hbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vpaned1.Add (this.hbox1); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hbox1])); w10.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild 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.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.Yalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Selected packages:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild 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.selectedPackageTreeView = new global::Gtk.TreeView (); this.selectedPackageTreeView.CanFocus = true; this.selectedPackageTreeView.Name = "selectedPackageTreeView"; this.scrolledwindow2.Add (this.selectedPackageTreeView); this.table1.Add (this.scrolledwindow2); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.scrolledwindow2])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.removeButton = new global::Gtk.Button (); this.removeButton.TooltipMarkup = "Remove selected package from the project."; this.removeButton.WidthRequest = 33; this.removeButton.HeightRequest = 33; this.removeButton.Sensitive = false; this.removeButton.CanFocus = true; this.removeButton.Name = "removeButton"; this.removeButton.UseUnderline = true; this.removeButton.Label = ""; global::Gtk.Image w14 = new global::Gtk.Image (); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); this.removeButton.Image = w14; this.vbox2.Add (this.removeButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.removeButton])); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.table1.Add (this.vbox2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); this.vpaned1.Add (this.table1); w1.Add (this.vpaned1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.vpaned1])); w18.Position = 0; w18.Padding = ((uint)(3)); // Internal child CBinding.EditPackagesDialog.ActionArea global::Gtk.HButtonBox w19 = this.ActionArea; w19.Name = "dialog1_ActionArea"; w19.Spacing = 6; w19.BorderWidth = ((uint)(5)); w19.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 w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonCancel])); w20.Expand = false; w20.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 w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonOk])); w21.Position = 1; w21.Expand = false; w21.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 580; this.DefaultHeight = 449; this.Hide (); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); this.normalPackageTreeView.CursorChanged += new global::System.EventHandler (this.OnNonSelectedPackageCursorChanged); this.projectPackageTreeView.CursorChanged += new global::System.EventHandler (this.OnNonSelectedPackageCursorChanged); this.detailsButton.Clicked += new global::System.EventHandler (this.OnDetailsButtonClicked); this.removeButton.Clicked += new global::System.EventHandler (this.OnRemoveButtonClicked); this.removeButton.Clicked += new global::System.EventHandler (this.OnRemoveButtonClick); this.selectedPackageTreeView.CursorChanged += new global::System.EventHandler (this.OnSelectedPackagesTreeViewCursorChanged); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnCancelButtonClick); this.buttonOk.Clicked += new global::System.EventHandler (this.OnOkButtonClick); }
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 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"); RenameAction = new Action("RenameAction", global::Mono.Unix.Catalog.GetString("Rename"), null, null); RenameAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Rename"); w1.Add(RenameAction, null); this.DeleteAction = new global::Gtk.Action("DeleteAction", global::Mono.Unix.Catalog.GetString("Delete"), null, 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.AddAction = new global::Gtk.Action("AddAction", global::Mono.Unix.Catalog.GetString("Add"), null, null); this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add"); w1.Add(this.AddAction, null); this.NewItemAction = new global::Gtk.Action("NewItemAction", global::Mono.Unix.Catalog.GetString("New Item..."), null, null); this.NewItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Item..."); w1.Add(this.NewItemAction, null); this.NewFolderAction = new global::Gtk.Action("NewFolderAction", global::Mono.Unix.Catalog.GetString("New Folder..."), null, null); this.NewFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New Folder..."); w1.Add(this.NewFolderAction, null); this.ExistingItemAction = new global::Gtk.Action("ExistingItemAction", global::Mono.Unix.Catalog.GetString("Existing Item..."), null, null); this.ExistingItemAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Item..."); w1.Add(this.ExistingItemAction, null); this.ExistingFolderAction = new global::Gtk.Action("ExistingFolderAction", global::Mono.Unix.Catalog.GetString("Existing Folder..."), null, null); this.ExistingFolderAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Existing Folder..."); w1.Add(this.ExistingFolderAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MonoGame.Tools.Pipeline.MainWindow"; this.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/><menu name='AddAction' action='AddAction'><menuitem name='NewItemAction' action='NewItemAction'/><menuitem name='NewFolderAction' action='NewFolderAction'/><separator/><menuitem name='ExistingItemAction' action='ExistingItemAction'/><menuitem name='ExistingFolderAction' action='ExistingFolderAction'/></menu><separator/><menuitem name='RenameAction' action='RenameAction'/><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.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); RenameAction.Activated += this.OnRenameActionActivated; this.DeleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated); 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); this.NewItemAction.Activated += new global::System.EventHandler(this.OnNewItemActionActivated); this.NewFolderAction.Activated += new global::System.EventHandler(this.OnNewFolderActionActivated); this.ExistingItemAction.Activated += new global::System.EventHandler(this.OnAddItemActionActivated); this.ExistingFolderAction.Activated += new global::System.EventHandler(this.OnAddFolderActionActivated); }
private void Build() { global::Stetic.Gui.Initialize(this); // Widget Client.Graphics.Window global::Stetic.BinContainer.Attach(this); this.Name = "Client.Graphics.Window"; // Container child Client.Graphics.Window.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 319; // Container child vpaned1.Gtk.Paned+PanedChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 333; // Container child hpaned1.Gtk.Paned+PanedChild this.scrollback1.Events = ((global::Gdk.EventMask)(256)); this.scrollback1.Name = "scrollback1"; this.hpaned1.Add(this.scrollback1); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.scrollback1])); w1.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.listView = new global::Gtk.TreeView(); this.listView.ButtonPressEvent += new ButtonPressEventHandler(Menu2); this.listView.CanFocus = true; this.listView.ButtonPressEvent += new ButtonPressEventHandler(Ignore); this.listView.PopupMenu += new PopupMenuHandler(Menu); this.listView.Name = "listView"; Pango.FontDescription font = new Pango.FontDescription(); font.Size = Configuration.CurrentSkin.UserListFontSize; listView.ModifyFont(font); this.listView.Selection.Mode = SelectionMode.Multiple; this.GtkScrolledWindow1.Add(this.listView); this.hpaned1.Add(this.GtkScrolledWindow1); this.vpaned1.Add(this.hpaned1); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.hpaned1])); w4.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.textbox1.Events = ((global::Gdk.EventMask)(256)); this.textbox1.Name = "textbox1"; this.vpaned1.Add(this.textbox1); // this is a nasty bug in version of gtk distributed if (Configuration.CurrentPlatform != Core.Platform.Linuxx64 && Configuration.CurrentPlatform != Core.Platform.Linuxx86) { this.vpaned1.AddNotification("position", new GLib.NotifyHandler(Changed)); this.hpaned1.AddNotification("position", new GLib.NotifyHandler(Changed)); } this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } if (!HasUserList) { GtkScrolledWindow1.Visible = false; } if (!hasTextBox) { textbox.Visible = false; } }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget GCMM.MusicAndNowPlayingWidget global::Stetic.BinContainer.Attach (this); this.Name = "GCMM.MusicAndNowPlayingWidget"; // Container child GCMM.MusicAndNowPlayingWidget.Gtk.Container+ContainerChild this.hpaned = new global::Gtk.HPaned (); this.hpaned.CanFocus = true; this.hpaned.Name = "hpaned"; this.hpaned.Position = 599; // Container child hpaned.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 200; // Container child vpaned2.Gtk.Paned+PanedChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.GenreNodeView = new global::Gtk.NodeView (); this.GenreNodeView.CanFocus = true; this.GenreNodeView.Name = "GenreNodeView"; this.GtkScrolledWindow.Add (this.GenreNodeView); this.hbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.ArtistNodeView = new global::Gtk.NodeView (); this.ArtistNodeView.CanFocus = true; this.ArtistNodeView.Name = "ArtistNodeView"; this.GtkScrolledWindow1.Add (this.ArtistNodeView); this.hbox2.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow1])); w4.Position = 1; // Container child hbox2.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.AlbumNodeView = new global::Gtk.NodeView (); this.AlbumNodeView.CanFocus = true; this.AlbumNodeView.Name = "AlbumNodeView"; this.GtkScrolledWindow2.Add (this.AlbumNodeView); this.hbox2.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow2])); w6.Position = 2; this.vpaned2.Add (this.hbox2); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.hbox2])); w7.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.MusicNodeView = new global::Gtk.NodeView (); this.MusicNodeView.CanFocus = true; this.MusicNodeView.Name = "MusicNodeView"; this.GtkScrolledWindow3.Add (this.MusicNodeView); this.vpaned2.Add (this.GtkScrolledWindow3); this.hpaned.Add (this.vpaned2); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.vpaned2])); w10.Resize = false; // Container child hpaned.Gtk.Paned+PanedChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow4.WidthRequest = 100; this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.NowPlayingNodeView = new global::Gtk.NodeView (); this.NowPlayingNodeView.CanFocus = true; this.NowPlayingNodeView.Name = "NowPlayingNodeView"; this.GtkScrolledWindow4.Add (this.NowPlayingNodeView); this.hpaned.Add (this.GtkScrolledWindow4); global::Gtk.Paned.PanedChild w12 = ((global::Gtk.Paned.PanedChild)(this.hpaned [this.GtkScrolledWindow4])); w12.Resize = false; this.Add (this.hpaned); if ((this.Child != null)) { this.Child.ShowAll (); } 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.stopAction = new global::Gtk.Action ("stopAction", global::Mono.Unix.Catalog.GetString ("_Stop"), null, "gtk-stop"); this.stopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Stop"); w1.Add (this.stopAction, null); this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); w1.Add (this.newAction, null); this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play"); w1.Add (this.mediaPlayAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("aXon WorkBench"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-home", global::Gtk.IconSize.Dialog); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar2\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'stopAction\' action=\'stopAction\'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox1.Add (this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'newAction\' action=\'newAction\'/><tool" + "item name=\'mediaPlayAction\' action=\'mediaPlayAction\'/></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.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 1; // Container child vpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned (); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 1; // Container child vpaned2.Gtk.Paned+PanedChild this.frame5 = new global::Gtk.Frame (); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); this.frame5.Add (this.GtkAlignment2); this.GtkLabel5 = new global::Gtk.Label (); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Jobs</b>"); this.GtkLabel5.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel5; this.vpaned2.Add (this.frame5); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.frame5])); w5.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.frame4 = new global::Gtk.Frame (); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame4.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.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.txtProgress = new global::Gtk.TextView (); this.txtProgress.CanFocus = true; this.txtProgress.Name = "txtProgress"; this.GtkScrolledWindow1.Add (this.txtProgress); this.GtkAlignment.Add (this.GtkScrolledWindow1); this.frame4.Add (this.GtkAlignment); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Progress Messages</b>"); this.GtkLabel3.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel3; this.vpaned2.Add (this.frame4); this.vpaned1.Add (this.vpaned2); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vpaned2])); w10.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.frame3 = new global::Gtk.Frame (); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtLog = new global::Gtk.TextView (); this.txtLog.CanFocus = true; this.txtLog.Name = "txtLog"; this.GtkScrolledWindow.Add (this.txtLog); this.GtkAlignment1.Add (this.GtkScrolledWindow); this.frame3.Add (this.GtkAlignment1); this.GtkLabel4 = new global::Gtk.Label (); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Message Log</b>"); this.GtkLabel4.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel4; this.vpaned1.Add (this.frame3); this.hbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vpaned1])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook (); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Container child notebook.Gtk.Notebook+NotebookChild 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; this.hbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w16.Position = 1; this.notebook.Add (this.hbox2); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Welcome"); this.notebook.SetTabLabel (this.hbox2, this.label1); this.label1.ShowAll (); this.hbox1.Add (this.notebook); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook])); w18.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w19.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 w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 913; this.DefaultHeight = 353; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DestroyEvent += new global::Gtk.DestroyEventHandler (this.OnDestroy); this.stopAction.Activated += new global::System.EventHandler (this.StopApp); this.newAction.Activated += new global::System.EventHandler (this.AddNewJob); this.mediaPlayAction.Activated += new global::System.EventHandler (this.RunTasks); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.OffLineLogViewer this.WidthRequest = 600; this.HeightRequest = 400; this.Name = "ocmgtk.OffLineLogViewer"; this.Title = global::Mono.Unix.Catalog.GetString("View Field Notes..."); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.AllowShrink = true; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.OffLineLogViewer.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.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 250; // Container child vpaned1.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.image11 = new global::Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.LargeToolbar); this.hbox1.Add(this.image11); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image11])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fnFieldNotesLabel = new global::Gtk.Label(); this.fnFieldNotesLabel.Name = "fnFieldNotesLabel"; this.fnFieldNotesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Please wait..."); this.hbox1.Add(this.fnFieldNotesLabel); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fnFieldNotesLabel])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.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.logView = new global::Gtk.TreeView(); this.logView.CanFocus = true; this.logView.Name = "logView"; this.logView.EnableSearch = false; this.scrolledwindow1.Add(this.logView); this.hbox2.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.scrolledwindow1])); w7.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbuttonbox1 = new global::Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 6; this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.viewCacheButton = new global::Gtk.Button(); this.viewCacheButton.Sensitive = false; this.viewCacheButton.CanFocus = true; this.viewCacheButton.Name = "viewCacheButton"; this.viewCacheButton.UseUnderline = true; this.viewCacheButton.Label = global::Mono.Unix.Catalog.GetString("View Cache"); this.vbuttonbox1.Add(this.viewCacheButton); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.viewCacheButton])); w8.Expand = false; w8.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.deleteButton = new global::Gtk.Button(); 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.vbuttonbox1.Add(this.deleteButton); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.deleteButton])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.delAllButton = new global::Gtk.Button(); this.delAllButton.CanFocus = true; this.delAllButton.Name = "delAllButton"; this.delAllButton.UseUnderline = true; this.delAllButton.Label = global::Mono.Unix.Catalog.GetString("Delete All"); this.vbuttonbox1.Add(this.delAllButton); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.delAllButton])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.vbuttonbox1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbuttonbox1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(6)); this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2])); w12.Position = 2; this.vpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w13 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox3])); w13.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.fieldNotesDescPane = new global::Gtk.Notebook(); this.fieldNotesDescPane.Sensitive = false; this.fieldNotesDescPane.CanFocus = true; this.fieldNotesDescPane.Name = "fieldNotesDescPane"; this.fieldNotesDescPane.CurrentPage = 0; this.fieldNotesDescPane.TabPos = ((global::Gtk.PositionType)(0)); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.logPane = new global::Gtk.VBox(); this.logPane.Name = "logPane"; this.logPane.Spacing = 6; this.logPane.BorderWidth = ((uint)(6)); // Container child logPane.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Log Type:"); this.hbox5.Add(this.label1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.logChoice = global::Gtk.ComboBox.NewText(); this.logChoice.AppendText(global::Mono.Unix.Catalog.GetString("Found it")); this.logChoice.AppendText(global::Mono.Unix.Catalog.GetString("Didn't Find it")); this.logChoice.AppendText(global::Mono.Unix.Catalog.GetString("Write Note")); this.logChoice.AppendText(global::Mono.Unix.Catalog.GetString("Needs Maintenance")); this.logChoice.Name = "logChoice"; this.logChoice.Active = 0; this.hbox5.Add(this.logChoice); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.logChoice])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.logPane.Add(this.hbox5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.logPane [this.hbox5])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child logPane.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.firstToFindCheck = new global::Gtk.CheckButton(); this.firstToFindCheck.CanFocus = true; this.firstToFindCheck.Name = "firstToFindCheck"; this.firstToFindCheck.Label = global::Mono.Unix.Catalog.GetString("First To Find"); this.firstToFindCheck.DrawIndicator = true; this.firstToFindCheck.UseUnderline = true; this.hbox4.Add(this.firstToFindCheck); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.firstToFindCheck])); w17.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.saveButton = new global::Gtk.Button(); this.saveButton.CanFocus = true; this.saveButton.Name = "saveButton"; this.saveButton.UseStock = true; this.saveButton.UseUnderline = true; this.saveButton.Label = "gtk-save"; this.hbox4.Add(this.saveButton); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.saveButton])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.logPane.Add(this.hbox4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.logPane [this.hbox4])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child logPane.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.logEntry = new global::Gtk.TextView(); this.logEntry.CanFocus = true; this.logEntry.Name = "logEntry"; this.logEntry.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.logEntry); this.logPane.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.logPane [this.GtkScrolledWindow])); w21.Position = 2; this.fieldNotesDescPane.Add(this.logPane); // Notebook tab this.logPage = new global::Gtk.Label(); this.logPage.Name = "logPage"; this.logPage.LabelProp = global::Mono.Unix.Catalog.GetString("Field Log"); this.fieldNotesDescPane.SetTabLabel(this.logPane, this.logPage); this.logPage.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // 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.wptCombo = new global::Gtk.Label(); this.wptCombo.Name = "wptCombo"; this.wptCombo.LabelProp = global::Mono.Unix.Catalog.GetString("Waypoint:"); this.hbox3.Add(this.wptCombo); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.wptCombo])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.waypointCombo = global::Gtk.ComboBox.NewText(); this.waypointCombo.Name = "waypointCombo"; this.hbox3.Add(this.waypointCombo); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.waypointCombo])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.mapView = null; this.vbox2.Add(this.mapView); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.mapView])); w26.Position = 1; this.fieldNotesDescPane.Add(this.vbox2); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane [this.vbox2])); w27.Position = 1; // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Map"); this.fieldNotesDescPane.SetTabLabel(this.vbox2, this.label7); this.label7.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheDesc = new global::ocmgtk.HTMLWidget(); this.cacheDesc.Events = ((global::Gdk.EventMask)(256)); this.cacheDesc.Name = "cacheDesc"; this.fieldNotesDescPane.Add(this.cacheDesc); global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane [this.cacheDesc])); w28.Position = 2; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Cache Description"); this.fieldNotesDescPane.SetTabLabel(this.cacheDesc, this.label5); this.label5.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheLog = new global::ocmgtk.HTMLWidget(); this.cacheLog.Events = ((global::Gdk.EventMask)(256)); this.cacheLog.Name = "cacheLog"; this.fieldNotesDescPane.Add(this.cacheLog); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane [this.cacheLog])); w29.Position = 3; // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Cache Logs"); this.fieldNotesDescPane.SetTabLabel(this.cacheLog, this.label8); this.label8.ShowAll(); // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild this.cacheNotes = null; this.fieldNotesDescPane.Add(this.cacheNotes); global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane [this.cacheNotes])); w30.Position = 4; // Notebook tab this.notesLabel = new global::Gtk.Label(); this.notesLabel.Name = "notesLabel"; this.notesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Notes"); this.fieldNotesDescPane.SetTabLabel(this.cacheNotes, this.notesLabel); this.notesLabel.ShowAll(); this.vpaned1.Add(this.fieldNotesDescPane); w1.Add(this.vpaned1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(w1 [this.vpaned1])); w32.Position = 0; // Internal child ocmgtk.OffLineLogViewer.ActionArea global::Gtk.HButtonBox w33 = this.ActionArea; w33.Name = "dialog1_ActionArea"; w33.Spacing = 10; w33.BorderWidth = ((uint)(5)); w33.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.closeButton = new global::Gtk.Button(); this.closeButton.CanDefault = true; this.closeButton.CanFocus = true; this.closeButton.Name = "closeButton"; this.closeButton.UseStock = true; this.closeButton.UseUnderline = true; this.closeButton.Label = "gtk-close"; this.AddActionWidget(this.closeButton, -7); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w33 [this.closeButton])); w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 839; this.DefaultHeight = 566; this.closeButton.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnCloseClick); this.viewCacheButton.Clicked += new global::System.EventHandler(this.OnViewCache); this.deleteButton.Clicked += new global::System.EventHandler(this.OnDeleteClick); this.delAllButton.Clicked += new global::System.EventHandler(this.OnDeleteAllClick); this.logChoice.Changed += new global::System.EventHandler(this.OnLogTypeChange); this.firstToFindCheck.Toggled += new global::System.EventHandler(this.OnFTFCheck); this.saveButton.Clicked += new global::System.EventHandler(this.OnSaveClick); this.closeButton.Clicked += new global::System.EventHandler(this.OnCloseClick); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.CodeTemplates.CodeTemplatePanelWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Ide.CodeTemplates.CodeTemplatePanelWidget"; // Container child MonoDevelop.Ide.CodeTemplates.CodeTemplatePanelWidget.Gtk.Container+ContainerChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 127; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewCodeTemplates = new global::Gtk.TreeView (); this.treeviewCodeTemplates.CanFocus = true; this.treeviewCodeTemplates.Name = "treeviewCodeTemplates"; this.treeviewCodeTemplates.HeadersVisible = false; this.GtkScrolledWindow.Add (this.treeviewCodeTemplates); this.hbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.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.vbox2.Add (this.buttonAdd); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.buttonAdd])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseStock = true; this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = "gtk-edit"; this.vbox2.Add (this.buttonEdit); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.buttonEdit])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.buttonRemove = new global::Gtk.Button (); this.buttonRemove.CanFocus = true; this.buttonRemove.Name = "buttonRemove"; this.buttonRemove.UseStock = true; this.buttonRemove.UseUnderline = true; this.buttonRemove.Label = "gtk-remove"; this.vbox2.Add (this.buttonRemove); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.buttonRemove])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.hbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vpaned1.Add (this.hbox1); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.hbox1])); w7.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // 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.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview:"); this.hbox2.Add (this.label3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox2.Add (this.fixed1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fixed1])); w9.Position = 1; // Container child hbox2.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.hbox2.Add (this.checkbuttonWhiteSpaces); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.checkbuttonWhiteSpaces])); w10.Position = 2; w10.Expand = 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.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox1.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scrolledwindow1])); w12.Position = 1; this.vpaned1.Add (this.vbox1); this.Add (this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget"; // Container child MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 148; // 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.treeviewCategories = new global::Gtk.TreeView (); this.treeviewCategories.CanFocus = true; this.treeviewCategories.Name = "treeviewCategories"; this.GtkScrolledWindow.Add (this.treeviewCategories); this.vpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w2 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindow])); w2.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // 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.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Preview:"); this.hbox2.Add (this.label3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox2.Add (this.fixed1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.fixed1])); w4.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.checkbuttonWhiteSpaces = new global::Gtk.CheckButton (); this.checkbuttonWhiteSpaces.CanFocus = true; this.checkbuttonWhiteSpaces.Name = "checkbuttonWhiteSpaces"; this.checkbuttonWhiteSpaces.Label = global::MonoDevelop.Core.GettextCatalog.GetString ("S_how whitespaces"); this.checkbuttonWhiteSpaces.DrawIndicator = true; this.checkbuttonWhiteSpaces.UseUnderline = true; this.hbox2.Add (this.checkbuttonWhiteSpaces); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.checkbuttonWhiteSpaces])); w5.Position = 2; w5.Expand = false; this.vbox4.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox2])); w6.Position = 0; w6.Expand = false; w6.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)); this.vbox4.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.scrolledwindow2])); w7.Position = 1; this.vpaned1.Add (this.vbox4); this.vbox2.Add (this.vpaned1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vpaned1])); w9.Position = 0; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MPfm.GTK.Windows.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.actionExit = new global::Gtk.Action ("actionExit", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); this.actionExit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.actionExit, null); this.actionAbout = new global::Gtk.Action ("actionAbout", global::Mono.Unix.Catalog.GetString ("About MPfm"), null, null); this.actionAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("About MPfm"); w1.Add (this.actionAbout, null); this.actionHelp = new global::Gtk.Action ("actionHelp", global::Mono.Unix.Catalog.GetString ("Help"), null, "gtk-help"); this.actionHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.actionHelp, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("About MPfm"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About MPfm"); w1.Add (this.aboutAction, null); this.PlaybackAction = new global::Gtk.Action ("PlaybackAction", global::Mono.Unix.Catalog.GetString ("Playback"), null, null); this.PlaybackAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playback"); w1.Add (this.PlaybackAction, null); this.actionPlay = new global::Gtk.Action ("actionPlay", global::Mono.Unix.Catalog.GetString ("Play"), null, "gtk-media-play"); this.actionPlay.ShortLabel = global::Mono.Unix.Catalog.GetString ("Play"); w1.Add (this.actionPlay, null); this.actionPause = new global::Gtk.Action ("actionPause", global::Mono.Unix.Catalog.GetString ("Pause"), null, "gtk-media-pause"); this.actionPause.ShortLabel = global::Mono.Unix.Catalog.GetString ("Pause"); w1.Add (this.actionPause, null); this.actionStop = new global::Gtk.Action ("actionStop", global::Mono.Unix.Catalog.GetString ("Stop"), null, "gtk-media-stop"); this.actionStop.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop"); w1.Add (this.actionStop, null); this.actionPrevious = new global::Gtk.Action ("actionPrevious", global::Mono.Unix.Catalog.GetString ("Previous Song"), null, "gtk-media-previous"); this.actionPrevious.ShortLabel = global::Mono.Unix.Catalog.GetString ("Previous Song"); w1.Add (this.actionPrevious, null); this.actionNext = new global::Gtk.Action ("actionNext", global::Mono.Unix.Catalog.GetString ("Next Song"), null, "gtk-media-next"); this.actionNext.ShortLabel = global::Mono.Unix.Catalog.GetString ("Next Song"); w1.Add (this.actionNext, null); this.actionRepeatType = new global::Gtk.Action ("actionRepeatType", global::Mono.Unix.Catalog.GetString ("Repeat Type (Off)"), null, "stock_repeat"); this.actionRepeatType.ShortLabel = global::Mono.Unix.Catalog.GetString ("Repeat Type (Off)"); w1.Add (this.actionRepeatType, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open audio files..."), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Audio Files"); w1.Add (this.openAction, null); this.actionUpdateLibrary = new global::Gtk.Action ("actionUpdateLibrary", global::Mono.Unix.Catalog.GetString ("Update Library"), null, "gtk-refresh"); this.actionUpdateLibrary.ShortLabel = global::Mono.Unix.Catalog.GetString ("Update Library"); w1.Add (this.actionUpdateLibrary, null); this.actionSettings = new global::Gtk.Action ("actionSettings", global::Mono.Unix.Catalog.GetString ("Settings"), null, "gtk-preferences"); this.actionSettings.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.actionSettings, null); this.actionEffects = new global::Gtk.Action ("actionEffects", global::Mono.Unix.Catalog.GetString ("Effects"), null, "stock_volume"); this.actionEffects.ShortLabel = global::Mono.Unix.Catalog.GetString ("Effects"); w1.Add (this.actionEffects, null); this.WindowsAction = new global::Gtk.Action ("WindowsAction", global::Mono.Unix.Catalog.GetString ("Windows"), null, null); this.WindowsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Windows"); w1.Add (this.WindowsAction, null); this.actionPlaylist = new global::Gtk.Action ("actionPlaylist", global::Mono.Unix.Catalog.GetString ("Playlist"), null, "gtk-dnd-multiple"); this.actionPlaylist.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playlist"); w1.Add (this.actionPlaylist, null); this.actionRemoveLoop = new global::Gtk.Action ("actionRemoveLoop", null, null, "gtk-remove"); w1.Add (this.actionRemoveLoop, null); this.actionAddMarker = new global::Gtk.Action ("actionAddMarker", null, null, "gtk-add"); w1.Add (this.actionAddMarker, null); this.actionRemoveMarker = new global::Gtk.Action ("actionRemoveMarker", null, null, "gtk-remove"); w1.Add (this.actionRemoveMarker, null); this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); w1.Add (this.addAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w1.Add (this.editAction, null); this.actionEditMarker = new global::Gtk.Action ("actionEditMarker", null, null, "gtk-edit"); w1.Add (this.actionEditMarker, null); this.actionGoToMarker = new global::Gtk.Action ("actionGoToMarker", null, null, "gtk-go-forward"); w1.Add (this.actionGoToMarker, null); this.actionAddFiles = new global::Gtk.Action ("actionAddFiles", global::Mono.Unix.Catalog.GetString ("Add files to library..."), null, "gtk-add"); this.actionAddFiles.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add files to library..."); w1.Add (this.actionAddFiles, null); this.actionAddFolder = new global::Gtk.Action ("actionAddFolder", global::Mono.Unix.Catalog.GetString ("Add folder to library..."), null, "gtk-add"); this.actionAddFolder.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add folder to library..."); w1.Add (this.actionAddFolder, 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.actionPlayLoop = new global::Gtk.Action ("actionPlayLoop", null, null, "gtk-media-play"); w1.Add (this.actionPlayLoop, null); this.connectAction = new global::Gtk.Action ("connectAction", null, null, "gtk-connect"); w1.Add (this.connectAction, null); this.SyncCloudAction = new global::Gtk.Action ("SyncCloudAction", global::Mono.Unix.Catalog.GetString ("Sync (Cloud)"), null, null); this.SyncCloudAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sync (Cloud)"); w1.Add (this.SyncCloudAction, null); this.SyncWebBrowserAction = new global::Gtk.Action ("SyncWebBrowserAction", global::Mono.Unix.Catalog.GetString ("Sync (Web Browser)"), null, null); this.SyncWebBrowserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sync (Web Browser)"); w1.Add (this.SyncWebBrowserAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MPfm.GTK.Windows.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MPfm: Music Player for Musicians"); this.Icon = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./icon48.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 100; // Container child MPfm.GTK.Windows.MainWindow.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox (); this.vboxMain.Name = "vboxMain"; // Container child vboxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubarMain'><menu name='FileAction' action='FileAction'><menuitem name='actionAddFiles' action='actionAddFiles'/><menuitem name='actionAddFolder' action='actionAddFolder'/><separator/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='actionUpdateLibrary' action='actionUpdateLibrary'/><separator/><menuitem name='actionExit' action='actionExit'/></menu><menu name='PlaybackAction' action='PlaybackAction'><menuitem name='actionPlay' action='actionPlay'/><menuitem name='actionPause' action='actionPause'/><menuitem name='actionStop' action='actionStop'/><menuitem name='actionPrevious' action='actionPrevious'/><menuitem name='actionNext' action='actionNext'/><menuitem name='actionRepeatType' action='actionRepeatType'/></menu><menu name='WindowsAction' action='WindowsAction'><menuitem name='SyncCloudAction' action='SyncCloudAction'/><menuitem name='SyncWebBrowserAction' action='SyncWebBrowserAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='actionHelp' action='actionHelp'/><menuitem name='actionAbout' action='actionAbout'/></menu></menubar></ui>"); this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarMain"))); this.menubarMain.Name = "menubarMain"; this.vboxMain.Add (this.menubarMain); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.menubarMain])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarMain'><toolitem name='openAction' action='openAction'/><separator/><toolitem name='actionPlay' action='actionPlay'/><toolitem name='actionPrevious' action='actionPrevious'/><toolitem name='actionNext' action='actionNext'/><toolitem name='actionRepeatType' action='actionRepeatType'/><separator/><toolitem name='actionUpdateLibrary' action='actionUpdateLibrary'/><toolitem name='actionPlaylist' action='actionPlaylist'/><toolitem name='actionEffects' action='actionEffects'/><toolitem name='connectAction' action='connectAction'/><toolitem name='actionSettings' action='actionSettings'/></toolbar></ui>"); this.toolbarMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarMain"))); this.toolbarMain.Name = "toolbarMain"; this.toolbarMain.ShowArrow = false; this.toolbarMain.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarMain.IconSize = ((global::Gtk.IconSize)(2)); this.vboxMain.Add (this.toolbarMain); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.toolbarMain])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hpanedMain = new global::Gtk.HPaned (); this.hpanedMain.CanFocus = true; this.hpanedMain.Name = "hpanedMain"; this.hpanedMain.Position = 236; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxLeft = new global::Gtk.VBox (); this.vboxLeft.Name = "vboxLeft"; this.vboxLeft.Spacing = 6; this.vboxLeft.BorderWidth = ((uint)(4)); // Container child vboxLeft.Gtk.Box+BoxChild this.lblLibraryBrowser = new global::Gtk.Label (); this.lblLibraryBrowser.Name = "lblLibraryBrowser"; this.lblLibraryBrowser.Xalign = 0F; this.lblLibraryBrowser.LabelProp = global::Mono.Unix.Catalog.GetString ("Library Browser"); this.vboxLeft.Add (this.lblLibraryBrowser); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.lblLibraryBrowser])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox (); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.lblLibraryFilter = new global::Gtk.Label (); this.lblLibraryFilter.Name = "lblLibraryFilter"; this.lblLibraryFilter.Xalign = 0F; this.lblLibraryFilter.LabelProp = global::Mono.Unix.Catalog.GetString ("Filter by Sound Format:"); this.hbox13.Add (this.lblLibraryFilter); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.lblLibraryFilter])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.cboSoundFormat = global::Gtk.ComboBox.NewText (); this.cboSoundFormat.Name = "cboSoundFormat"; this.hbox13.Add (this.cboSoundFormat); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.cboSoundFormat])); w6.Position = 1; this.vboxLeft.Add (this.hbox13); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.hbox13])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vboxLeft.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.treeLibraryBrowser = new global::Gtk.TreeView (); this.treeLibraryBrowser.CanFocus = true; this.treeLibraryBrowser.Name = "treeLibraryBrowser"; this.GtkScrolledWindow1.Add (this.treeLibraryBrowser); this.vboxLeft.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.GtkScrolledWindow1])); w9.Position = 2; this.hpanedMain.Add (this.vboxLeft); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpanedMain [this.vboxLeft])); w10.Resize = false; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; this.vboxRight.BorderWidth = ((uint)(4)); // Container child vboxRight.Gtk.Box+BoxChild this.vboxCurrentSong = new global::Gtk.VBox (); this.vboxCurrentSong.Name = "vboxCurrentSong"; this.vboxCurrentSong.Spacing = 2; // Container child vboxCurrentSong.Gtk.Box+BoxChild this.lblCurrentSong = new global::Gtk.Label (); this.lblCurrentSong.Name = "lblCurrentSong"; this.lblCurrentSong.Xalign = 0F; this.lblCurrentSong.LabelProp = global::Mono.Unix.Catalog.GetString ("Current Song"); this.vboxCurrentSong.Add (this.lblCurrentSong); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentSong [this.lblCurrentSong])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vboxCurrentSong.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.imageAlbumCover = new global::Gtk.Image (); this.imageAlbumCover.Name = "imageAlbumCover"; this.imageAlbumCover.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-about", global::Gtk.IconSize.Menu); this.hbox4.Add (this.imageAlbumCover); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.imageAlbumCover])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.lblArtistName = new global::Gtk.Label (); this.lblArtistName.Name = "lblArtistName"; this.lblArtistName.Xalign = 0F; this.lblArtistName.LabelProp = global::Mono.Unix.Catalog.GetString ("Artist Name"); this.lblArtistName.Wrap = true; this.lblArtistName.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblArtistName); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblArtistName])); w13.Position = 0; w13.Expand = false; // Container child vbox4.Gtk.Box+BoxChild this.lblAlbumTitle = new global::Gtk.Label (); this.lblAlbumTitle.Name = "lblAlbumTitle"; this.lblAlbumTitle.Xalign = 0F; this.lblAlbumTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Album Title"); this.lblAlbumTitle.Wrap = true; this.lblAlbumTitle.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblAlbumTitle); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblAlbumTitle])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.lblSongTitle = new global::Gtk.Label (); this.lblSongTitle.Name = "lblSongTitle"; this.lblSongTitle.Xalign = 0F; this.lblSongTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Title"); this.lblSongTitle.Wrap = true; this.lblSongTitle.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblSongTitle); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSongTitle])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.lblSongFilePath = new global::Gtk.Label (); this.lblSongFilePath.Name = "lblSongFilePath"; this.lblSongFilePath.Xalign = 0F; this.lblSongFilePath.LabelProp = global::Mono.Unix.Catalog.GetString ("Song File Path"); this.lblSongFilePath.Wrap = true; this.lblSongFilePath.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblSongFilePath); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSongFilePath])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.hbox5.Add (this.vbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox4])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.WidthRequest = 300; this.fixed3.HeightRequest = 145; this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.lblPitchShiftingValue = new global::Gtk.Label (); this.lblPitchShiftingValue.Name = "lblPitchShiftingValue"; this.lblPitchShiftingValue.Xalign = 0F; this.lblPitchShiftingValue.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.fixed3.Add (this.lblPitchShiftingValue); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lblPitchShiftingValue])); w18.X = 131; w18.Y = 26; // Container child fixed3.Gtk.Fixed+FixedChild this.btnDetectTempo = new global::Gtk.Button (); this.btnDetectTempo.HeightRequest = 22; this.btnDetectTempo.CanFocus = true; this.btnDetectTempo.Name = "btnDetectTempo"; this.btnDetectTempo.UseUnderline = true; this.btnDetectTempo.Label = global::Mono.Unix.Catalog.GetString ("Detect tempo"); this.fixed3.Add (this.btnDetectTempo); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.btnDetectTempo])); w19.X = 23; w19.Y = 72; // Container child fixed3.Gtk.Fixed+FixedChild this.hscaleTimeShifting1 = new global::Gtk.HScale (null); this.hscaleTimeShifting1.WidthRequest = 272; this.hscaleTimeShifting1.CanFocus = true; this.hscaleTimeShifting1.Name = "hscaleTimeShifting1"; this.hscaleTimeShifting1.Adjustment.Lower = 50; this.hscaleTimeShifting1.Adjustment.Upper = 150; this.hscaleTimeShifting1.Adjustment.PageIncrement = 10; this.hscaleTimeShifting1.Adjustment.StepIncrement = 1; this.hscaleTimeShifting1.Adjustment.Value = 100.617283950617; this.hscaleTimeShifting1.DrawValue = false; this.hscaleTimeShifting1.Digits = 0; this.hscaleTimeShifting1.ValuePos = ((global::Gtk.PositionType)(0)); this.fixed3.Add (this.hscaleTimeShifting1); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.hscaleTimeShifting1])); w20.X = 7; w20.Y = 41; // Container child fixed3.Gtk.Fixed+FixedChild this.lblPitchShifting = new global::Gtk.Label (); this.lblPitchShifting.HeightRequest = 20; this.lblPitchShifting.Name = "lblPitchShifting"; this.lblPitchShifting.Xalign = 0F; this.lblPitchShifting.LabelProp = global::Mono.Unix.Catalog.GetString ("Pitch Shifting"); this.fixed3.Add (this.lblPitchShifting); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lblPitchShifting])); w21.X = 21; w21.Y = 22; this.hbox5.Add (this.fixed3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed3])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.WidthRequest = 84; this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.lblInformation = new global::Gtk.Label (); this.lblInformation.HeightRequest = 20; this.lblInformation.Name = "lblInformation"; this.lblInformation.Xalign = 0F; this.lblInformation.LabelProp = global::Mono.Unix.Catalog.GetString ("Information"); this.vbox10.Add (this.lblInformation); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblInformation])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentFileType = new global::Gtk.Label (); this.lblCurrentFileType.Name = "lblCurrentFileType"; this.lblCurrentFileType.Xalign = 0F; this.lblCurrentFileType.LabelProp = global::Mono.Unix.Catalog.GetString ("FLAC"); this.vbox10.Add (this.lblCurrentFileType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentFileType])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentSampleRate = new global::Gtk.Label (); this.lblCurrentSampleRate.Name = "lblCurrentSampleRate"; this.lblCurrentSampleRate.Xalign = 0F; this.lblCurrentSampleRate.LabelProp = global::Mono.Unix.Catalog.GetString ("44100 Hz"); this.vbox10.Add (this.lblCurrentSampleRate); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentSampleRate])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentBitsPerSample = new global::Gtk.Label (); this.lblCurrentBitsPerSample.Name = "lblCurrentBitsPerSample"; this.lblCurrentBitsPerSample.Xalign = 0F; this.lblCurrentBitsPerSample.LabelProp = global::Mono.Unix.Catalog.GetString ("16 bits"); this.vbox10.Add (this.lblCurrentBitsPerSample); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentBitsPerSample])); w26.Position = 3; w26.Expand = false; w26.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentBitrate = new global::Gtk.Label (); this.lblCurrentBitrate.Name = "lblCurrentBitrate"; this.lblCurrentBitrate.Xalign = 0F; this.lblCurrentBitrate.LabelProp = global::Mono.Unix.Catalog.GetString ("320 kbps"); this.vbox10.Add (this.lblCurrentBitrate); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentBitrate])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.hbox5.Add (this.vbox10); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox10])); w28.PackType = ((global::Gtk.PackType)(1)); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.vbox3.Add (this.hbox5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w29.Position = 0; // 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.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.lblSongPosition = new global::Gtk.Label (); this.lblSongPosition.HeightRequest = 20; this.lblSongPosition.Name = "lblSongPosition"; this.lblSongPosition.Xalign = 0F; this.lblSongPosition.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Position"); this.vbox5.Add (this.lblSongPosition); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.lblSongPosition])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.lblCurrentPosition = new global::Gtk.Label (); this.lblCurrentPosition.Name = "lblCurrentPosition"; this.lblCurrentPosition.Xalign = 0F; this.lblCurrentPosition.LabelProp = global::Mono.Unix.Catalog.GetString ("[Position]"); this.hbox7.Add (this.lblCurrentPosition); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.lblCurrentPosition])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.hscaleSongPosition = new global::Gtk.HScale (null); this.hscaleSongPosition.CanFocus = true; this.hscaleSongPosition.Name = "hscaleSongPosition"; this.hscaleSongPosition.Adjustment.Upper = 9999; this.hscaleSongPosition.Adjustment.PageIncrement = 10; this.hscaleSongPosition.Adjustment.StepIncrement = 1; this.hscaleSongPosition.Adjustment.Value = 10; this.hscaleSongPosition.DrawValue = false; this.hscaleSongPosition.Digits = 0; this.hscaleSongPosition.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox7.Add (this.hscaleSongPosition); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hscaleSongPosition])); w32.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.lblCurrentLength = new global::Gtk.Label (); this.lblCurrentLength.Name = "lblCurrentLength"; this.lblCurrentLength.Xalign = 0F; this.lblCurrentLength.LabelProp = global::Mono.Unix.Catalog.GetString ("[Length]"); this.hbox7.Add (this.lblCurrentLength); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.lblCurrentLength])); w33.Position = 2; w33.Expand = false; w33.Fill = false; this.vbox5.Add (this.hbox7); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox7])); w34.Position = 1; w34.Expand = false; w34.Fill = false; this.hbox6.Add (this.vbox5); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vbox5])); w35.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.vboxTimeShifting = new global::Gtk.VBox (); this.vboxTimeShifting.WidthRequest = 180; this.vboxTimeShifting.Name = "vboxTimeShifting"; this.vboxTimeShifting.Spacing = 2; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 8; // Container child hbox11.Gtk.Box+BoxChild this.lblTimeShifting = new global::Gtk.Label (); this.lblTimeShifting.HeightRequest = 20; this.lblTimeShifting.Name = "lblTimeShifting"; this.lblTimeShifting.Xalign = 0F; this.lblTimeShifting.LabelProp = global::Mono.Unix.Catalog.GetString ("Time Shifting"); this.hbox11.Add (this.lblTimeShifting); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.lblTimeShifting])); w36.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.btnTimeShiftingMore = new global::Gtk.Button (); this.btnTimeShiftingMore.HeightRequest = 20; this.btnTimeShiftingMore.CanFocus = true; this.btnTimeShiftingMore.Name = "btnTimeShiftingMore"; this.btnTimeShiftingMore.UseUnderline = true; this.btnTimeShiftingMore.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox11.Add (this.btnTimeShiftingMore); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.btnTimeShiftingMore])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vboxTimeShifting.Add (this.hbox11); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hbox11])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hscaleTimeShifting = new global::Gtk.HScale (null); this.hscaleTimeShifting.CanFocus = true; this.hscaleTimeShifting.Name = "hscaleTimeShifting"; this.hscaleTimeShifting.Adjustment.Lower = 50; this.hscaleTimeShifting.Adjustment.Upper = 150; this.hscaleTimeShifting.Adjustment.PageIncrement = 10; this.hscaleTimeShifting.Adjustment.StepIncrement = 1; this.hscaleTimeShifting.Adjustment.Value = 100; this.hscaleTimeShifting.DrawValue = false; this.hscaleTimeShifting.Digits = 0; this.hscaleTimeShifting.ValuePos = ((global::Gtk.PositionType)(0)); this.vboxTimeShifting.Add (this.hscaleTimeShifting); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hscaleTimeShifting])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 4; // Container child hbox3.Gtk.Box+BoxChild this.lblTimeShiftingReset = new global::Gtk.Label (); this.lblTimeShiftingReset.Name = "lblTimeShiftingReset"; this.lblTimeShiftingReset.Xalign = 0F; this.lblTimeShiftingReset.LabelProp = global::Mono.Unix.Catalog.GetString ("Reset"); this.hbox3.Add (this.lblTimeShiftingReset); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTimeShiftingReset])); w40.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.lblTimeShiftingValue = new global::Gtk.Label (); this.lblTimeShiftingValue.Name = "lblTimeShiftingValue"; this.lblTimeShiftingValue.Xalign = 0F; this.lblTimeShiftingValue.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.hbox3.Add (this.lblTimeShiftingValue); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTimeShiftingValue])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.vboxTimeShifting.Add (this.hbox3); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hbox3])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.hbox6.Add (this.vboxTimeShifting); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vboxTimeShifting])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox3.Add (this.hbox6); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6])); w44.Position = 1; w44.Expand = false; w44.Fill = false; this.hbox4.Add (this.vbox3); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox3])); w45.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.lblVolume = new global::Gtk.Label (); this.lblVolume.HeightRequest = 20; this.lblVolume.Name = "lblVolume"; this.lblVolume.Xalign = 0F; this.lblVolume.LabelProp = global::Mono.Unix.Catalog.GetString ("Volume"); this.vbox9.Add (this.lblVolume); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.lblVolume])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hboxVolume = new global::Gtk.HBox (); this.hboxVolume.Name = "hboxVolume"; this.hboxVolume.Spacing = 6; // Container child hboxVolume.Gtk.Box+BoxChild this.vscaleVolume = new global::Gtk.VScale (null); this.vscaleVolume.TooltipMarkup = "Changes the playback volume (in percentage)."; this.vscaleVolume.CanFocus = true; this.vscaleVolume.Name = "vscaleVolume"; this.vscaleVolume.Inverted = true; this.vscaleVolume.Adjustment.Upper = 100; this.vscaleVolume.Adjustment.PageIncrement = 10; this.vscaleVolume.Adjustment.StepIncrement = 1; this.vscaleVolume.Adjustment.Value = 100; this.vscaleVolume.DrawValue = false; this.vscaleVolume.Digits = 0; this.vscaleVolume.ValuePos = ((global::Gtk.PositionType)(3)); this.hboxVolume.Add (this.vscaleVolume); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxVolume [this.vscaleVolume])); w47.Position = 0; w47.Expand = false; w47.Fill = false; this.vbox9.Add (this.hboxVolume); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hboxVolume])); w48.Position = 1; // Container child vbox9.Gtk.Box+BoxChild this.lblCurrentVolume = new global::Gtk.Label (); this.lblCurrentVolume.Name = "lblCurrentVolume"; this.lblCurrentVolume.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.vbox9.Add (this.lblCurrentVolume); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.lblCurrentVolume])); w49.Position = 2; w49.Expand = false; w49.Fill = false; this.hbox4.Add (this.vbox9); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox9])); w50.PackType = ((global::Gtk.PackType)(1)); w50.Position = 2; w50.Expand = false; w50.Fill = false; this.vboxCurrentSong.Add (this.hbox4); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentSong [this.hbox4])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vboxRight.Add (this.vboxCurrentSong); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.vboxCurrentSong])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.vpanedLoopsMarkersSongBrowser = new global::Gtk.VPaned (); this.vpanedLoopsMarkersSongBrowser.CanFocus = true; this.vpanedLoopsMarkersSongBrowser.Name = "vpanedLoopsMarkersSongBrowser"; this.vpanedLoopsMarkersSongBrowser.Position = 150; // Container child vpanedLoopsMarkersSongBrowser.Gtk.Paned+PanedChild this.hpanedLoopsMarkers = new global::Gtk.HPaned (); this.hpanedLoopsMarkers.CanFocus = true; this.hpanedLoopsMarkers.Name = "hpanedLoopsMarkers"; this.hpanedLoopsMarkers.Position = 350; // Container child hpanedLoopsMarkers.Gtk.Paned+PanedChild this.vboxLoops = new global::Gtk.VBox (); this.vboxLoops.Name = "vboxLoops"; // Container child vboxLoops.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.lblLoops = new global::Gtk.Label (); this.lblLoops.Name = "lblLoops"; this.lblLoops.Xalign = 0F; this.lblLoops.LabelProp = global::Mono.Unix.Catalog.GetString ("Loops"); this.hbox8.Add (this.lblLoops); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblLoops])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarLoops'><toolitem name='actionPlayLoop' action='actionPlayLoop'/><toolitem name='editAction' action='editAction'/><toolitem name='addAction' action='addAction'/><toolitem name='actionRemoveLoop' action='actionRemoveLoop'/></toolbar></ui>"); this.toolbarLoops = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarLoops"))); this.toolbarLoops.Name = "toolbarLoops"; this.toolbarLoops.ShowArrow = false; this.toolbarLoops.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarLoops.IconSize = ((global::Gtk.IconSize)(1)); this.hbox8.Add (this.toolbarLoops); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.toolbarLoops])); w54.Position = 1; this.vboxLoops.Add (this.hbox8); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vboxLoops [this.hbox8])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child vboxLoops.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.treeLoops = new global::Gtk.TreeView (); this.treeLoops.CanFocus = true; this.treeLoops.Name = "treeLoops"; this.GtkScrolledWindow2.Add (this.treeLoops); this.vboxLoops.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vboxLoops [this.GtkScrolledWindow2])); w57.Position = 1; this.hpanedLoopsMarkers.Add (this.vboxLoops); global::Gtk.Paned.PanedChild w58 = ((global::Gtk.Paned.PanedChild)(this.hpanedLoopsMarkers [this.vboxLoops])); w58.Resize = false; // Container child hpanedLoopsMarkers.Gtk.Paned+PanedChild this.vboxLoops1 = new global::Gtk.VBox (); this.vboxLoops1.Name = "vboxLoops1"; // Container child vboxLoops1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.lblMarkers = new global::Gtk.Label (); this.lblMarkers.Name = "lblMarkers"; this.lblMarkers.Xalign = 0F; this.lblMarkers.LabelProp = global::Mono.Unix.Catalog.GetString ("Markers"); this.hbox9.Add (this.lblMarkers); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.lblMarkers])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarMarkers'><toolitem name='actionGoToMarker' action='actionGoToMarker'/><toolitem name='actionAddMarker' action='actionAddMarker'/><toolitem name='actionEditMarker' action='actionEditMarker'/><toolitem name='actionRemoveMarker' action='actionRemoveMarker'/></toolbar></ui>"); this.toolbarMarkers = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarMarkers"))); this.toolbarMarkers.Name = "toolbarMarkers"; this.toolbarMarkers.ShowArrow = false; this.toolbarMarkers.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarMarkers.IconSize = ((global::Gtk.IconSize)(1)); this.hbox9.Add (this.toolbarMarkers); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.toolbarMarkers])); w60.Position = 1; this.vboxLoops1.Add (this.hbox9); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vboxLoops1 [this.hbox9])); w61.Position = 0; w61.Expand = false; w61.Fill = false; // Container child vboxLoops1.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeMarkers = new global::Gtk.TreeView (); this.treeMarkers.CanFocus = true; this.treeMarkers.Name = "treeMarkers"; this.GtkScrolledWindow3.Add (this.treeMarkers); this.vboxLoops1.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vboxLoops1 [this.GtkScrolledWindow3])); w63.Position = 1; this.hpanedLoopsMarkers.Add (this.vboxLoops1); this.vpanedLoopsMarkersSongBrowser.Add (this.hpanedLoopsMarkers); global::Gtk.Paned.PanedChild w65 = ((global::Gtk.Paned.PanedChild)(this.vpanedLoopsMarkersSongBrowser [this.hpanedLoopsMarkers])); w65.Resize = false; // Container child vpanedLoopsMarkersSongBrowser.Gtk.Paned+PanedChild this.vboxSongBrowser = new global::Gtk.VBox (); this.vboxSongBrowser.Name = "vboxSongBrowser"; // Container child vboxSongBrowser.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.lblSongBrowser = new global::Gtk.Label (); this.lblSongBrowser.Name = "lblSongBrowser"; this.lblSongBrowser.Xalign = 0F; this.lblSongBrowser.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Browser"); this.hbox10.Add (this.lblSongBrowser); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblSongBrowser])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.lblSearchFor = new global::Gtk.Label (); this.lblSearchFor.Name = "lblSearchFor"; this.lblSearchFor.Xalign = 1F; this.lblSearchFor.LabelProp = global::Mono.Unix.Catalog.GetString ("Search for:"); this.hbox10.Add (this.lblSearchFor); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblSearchFor])); w67.Position = 1; // Container child hbox10.Gtk.Box+BoxChild this.txtSearch = new global::Gtk.Entry (); this.txtSearch.CanFocus = true; this.txtSearch.Name = "txtSearch"; this.txtSearch.IsEditable = true; this.txtSearch.InvisibleChar = '•'; this.hbox10.Add (this.txtSearch); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.txtSearch])); w68.Position = 2; this.vboxSongBrowser.Add (this.hbox10); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vboxSongBrowser [this.hbox10])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child vboxSongBrowser.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.treeSongBrowser = new global::Gtk.TreeView (); this.treeSongBrowser.CanFocus = true; this.treeSongBrowser.Name = "treeSongBrowser"; this.GtkScrolledWindow.Add (this.treeSongBrowser); this.vboxSongBrowser.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vboxSongBrowser [this.GtkScrolledWindow])); w71.Position = 1; this.vpanedLoopsMarkersSongBrowser.Add (this.vboxSongBrowser); this.vboxRight.Add (this.vpanedLoopsMarkersSongBrowser); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.vpanedLoopsMarkersSongBrowser])); w73.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vboxRight.Add (this.fixed2); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.fixed2])); w74.Position = 3; w74.Expand = false; w74.Fill = false; this.hpanedMain.Add (this.vboxRight); this.vboxMain.Add (this.hpanedMain); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hpanedMain])); w76.Position = 2; // Container child vboxMain.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vboxMain.Add (this.statusbar1); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.statusbar1])); w77.Position = 3; w77.Expand = false; w77.Fill = false; this.Add (this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultHeight = 729; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.actionExit.Activated += new global::System.EventHandler (this.OnExitActionActivated); this.actionAbout.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.actionHelp.Activated += new global::System.EventHandler (this.OnHelpActionContentsActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.actionPlay.Activated += new global::System.EventHandler (this.OnActionPlayActivated); this.actionPause.Activated += new global::System.EventHandler (this.OnActionPauseActivated); this.actionStop.Activated += new global::System.EventHandler (this.OnActionStopActivated); this.actionPrevious.Activated += new global::System.EventHandler (this.OnActionPreviousActivated); this.actionNext.Activated += new global::System.EventHandler (this.OnActionNextActivated); this.actionRepeatType.Activated += new global::System.EventHandler (this.OnActionRepeatTypeActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.actionUpdateLibrary.Activated += new global::System.EventHandler (this.OnActionUpdateLibraryActivated); this.actionSettings.Activated += new global::System.EventHandler (this.OnActionSettingsActivated); this.actionEffects.Activated += new global::System.EventHandler (this.OnActionEffectsActivated); this.actionPlaylist.Activated += new global::System.EventHandler (this.OnActionPlaylistActivated); this.actionAddMarker.Activated += new global::System.EventHandler (this.OnActionAddMarkerActivated); this.actionRemoveMarker.Activated += new global::System.EventHandler (this.OnActionDeleteMarkerActivated); this.actionEditMarker.Activated += new global::System.EventHandler (this.OnActionEditMarkerActivated); this.actionGoToMarker.Activated += new global::System.EventHandler (this.OnActionGoToMarkerActivated); this.actionAddFiles.Activated += new global::System.EventHandler (this.OnActionAddFilesActivated); this.actionAddFolder.Activated += new global::System.EventHandler (this.OnActionAddFolderActivated); this.actionPlayLoop.Activated += new global::System.EventHandler (this.OnActionPlayLoopActivated); this.connectAction.Activated += new global::System.EventHandler (this.OnActionSyncLibrary); this.SyncCloudAction.Activated += new global::System.EventHandler (this.OnActionSyncCloudActivated); this.SyncWebBrowserAction.Activated += new global::System.EventHandler (this.OnActionSyncWebBrowserActivated); this.cboSoundFormat.Changed += new global::System.EventHandler (this.OnSoundFormatChanged); this.treeLibraryBrowser.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeLibraryBrowserRowActivated); this.treeLibraryBrowser.CursorChanged += new global::System.EventHandler (this.OnTreeLibraryBrowserCursorChanged); this.treeLibraryBrowser.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeLibraryBrowserRowExpanded); this.hscaleTimeShifting1.ValueChanged += new global::System.EventHandler (this.OnTimeShiftingValueChanged); this.hscaleSongPosition.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnHscaleSongPositionButtonPressEvent); this.hscaleSongPosition.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnHscaleSongPositionButtonReleaseEvent); this.hscaleTimeShifting.ValueChanged += new global::System.EventHandler (this.OnTimeShiftingValueChanged); this.vscaleVolume.ValueChanged += new global::System.EventHandler (this.OnVolumeValueChanged); this.treeMarkers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeMarkersRowActivated); this.treeSongBrowser.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeSongBrowserRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Designer.TriggersEditorWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Database.Designer.TriggersEditorWidget"; // Container child MonoDevelop.Database.Designer.TriggersEditorWidget.Gtk.Container+ContainerChild this.vpaned = new global::Gtk.VPaned(); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 205; // Container child vpaned.Gtk.Paned+PanedChild this.hbox = new global::Gtk.HBox(); this.hbox.Name = "hbox"; this.hbox.Spacing = 6; // Container child hbox.Gtk.Box+BoxChild this.windowTriggers = new global::Gtk.ScrolledWindow(); this.windowTriggers.CanFocus = true; this.windowTriggers.Name = "windowTriggers"; this.windowTriggers.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child windowTriggers.Gtk.Container+ContainerChild this.listTriggers = new global::Gtk.TreeView(); this.listTriggers.CanFocus = true; this.listTriggers.Name = "listTriggers"; this.windowTriggers.Add(this.listTriggers); this.hbox.Add(this.windowTriggers); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox[this.windowTriggers])); w2.Position = 0; // Container child hbox.Gtk.Box+BoxChild this.vbuttonbox = new global::Gtk.VButtonBox(); this.vbuttonbox.Name = "vbuttonbox"; this.vbuttonbox.Spacing = 6; this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonAdd); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonAdd])); w3.Expand = false; w3.Fill = false; // Container child vbuttonbox.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.vbuttonbox.Add(this.buttonRemove); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.buttonRemove])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.hbox.Add(this.vbuttonbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox[this.vbuttonbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vpaned.Add(this.hbox); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.hbox])); w6.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.frame = new global::Gtk.Frame(); this.frame.Name = "frame"; this.frame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame.Gtk.Container+ContainerChild this.alignment = new global::Gtk.Alignment(0f, 0f, 1f, 1f); this.alignment.Name = "alignment"; this.alignment.LeftPadding = ((uint)(12)); // Container child alignment.Gtk.Container+ContainerChild this.sqlEditor = new global::MonoDevelop.Database.Components.SqlEditorWidget(); this.sqlEditor.HeightRequest = 80; this.sqlEditor.Events = ((global::Gdk.EventMask)(256)); this.sqlEditor.Name = "sqlEditor"; this.sqlEditor.Editable = false; this.alignment.Add(this.sqlEditor); this.frame.Add(this.alignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::MonoDevelop.Database.AddinCatalog.GetString("Statement"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vpaned.Add(this.frame); this.Add(this.vpaned); 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 MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.ArchivoAction = new global::Gtk.Action("ArchivoAction", global::Mono.Unix.Catalog.GetString("Archivo"), null, null); this.ArchivoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Archivo"); w1.Add(this.ArchivoAction, null); this.NuevoDocumento = new global::Gtk.Action("NuevoDocumento", global::Mono.Unix.Catalog.GetString("Nuevo"), null, "gtk-new"); this.NuevoDocumento.ShortLabel = global::Mono.Unix.Catalog.GetString("Nuevo"); w1.Add(this.NuevoDocumento, "<Primary>n"); this.Abrir = new global::Gtk.Action("Abrir", global::Mono.Unix.Catalog.GetString("Abrir"), null, "gtk-open"); this.Abrir.ShortLabel = global::Mono.Unix.Catalog.GetString("Abrir"); w1.Add(this.Abrir, null); this.Guardar = new global::Gtk.Action("Guardar", global::Mono.Unix.Catalog.GetString("Guardar"), null, "gtk-save"); this.Guardar.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar"); w1.Add(this.Guardar, null); this.GuardarComo = new global::Gtk.Action("GuardarComo", global::Mono.Unix.Catalog.GetString("Guardar Como"), null, "gtk-save-as"); this.GuardarComo.ShortLabel = global::Mono.Unix.Catalog.GetString("Guardar Como"); w1.Add(this.GuardarComo, null); this.printAction = new global::Gtk.Action("printAction", global::Mono.Unix.Catalog.GetString("Exportar a PDF"), null, "gtk-print"); this.printAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar"); w1.Add(this.printAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Salir"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Salir"); w1.Add(this.quitAction, null); this.EditarAction = new global::Gtk.Action("EditarAction", global::Mono.Unix.Catalog.GetString("Editar"), null, null); this.EditarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Editar"); w1.Add(this.EditarAction, null); this.copyAction = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copiar"), null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copiar"); w1.Add(this.copyAction, null); this.cutAction = new global::Gtk.Action("cutAction", global::Mono.Unix.Catalog.GetString("Cortar"), null, "gtk-cut"); this.cutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Cortar"); w1.Add(this.cutAction, null); this.pasteAction = new global::Gtk.Action("pasteAction", global::Mono.Unix.Catalog.GetString("Pegar"), null, "gtk-paste"); this.pasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Pegar"); w1.Add(this.pasteAction, null); this.VerAction = new global::Gtk.Action("VerAction", global::Mono.Unix.Catalog.GetString("Ver"), null, null); this.VerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ver"); w1.Add(this.VerAction, null); this.OcultarHerramientas = new global::Gtk.ToggleAction("OcultarHerramientas", global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"), null, null); this.OcultarHerramientas.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Herramientas"); w1.Add(this.OcultarHerramientas, null); this.OcultarExplorador = new global::Gtk.ToggleAction("OcultarExplorador", global::Mono.Unix.Catalog.GetString("Ocultar Explorador"), null, null); this.OcultarExplorador.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Explorador"); w1.Add(this.OcultarExplorador, null); this.HNuevo = new global::Gtk.Action("HNuevo", global::Mono.Unix.Catalog.GetString("HNuevo"), global::Mono.Unix.Catalog.GetString("Nuevo"), "gtk-new"); this.HNuevo.ShortLabel = global::Mono.Unix.Catalog.GetString("HNuevo"); w1.Add(this.HNuevo, null); this.HAbrir = new global::Gtk.Action("HAbrir", null, global::Mono.Unix.Catalog.GetString("Abrir"), "gtk-open"); w1.Add(this.HAbrir, null); this.HGuardar = new global::Gtk.Action("HGuardar", null, global::Mono.Unix.Catalog.GetString("Guardar"), "gtk-save"); w1.Add(this.HGuardar, null); this.HCopiar = new global::Gtk.Action("HCopiar", null, global::Mono.Unix.Catalog.GetString("Copiar"), "gtk-copy"); w1.Add(this.HCopiar, null); this.HCortar = new global::Gtk.Action("HCortar", null, global::Mono.Unix.Catalog.GetString("Cortar"), "gtk-cut"); w1.Add(this.HCortar, null); this.HPegar = new global::Gtk.Action("HPegar", null, global::Mono.Unix.Catalog.GetString("Pegar"), "gtk-paste"); w1.Add(this.HPegar, null); this.BuscarAction = new global::Gtk.Action("BuscarAction", global::Mono.Unix.Catalog.GetString("Buscar"), null, null); this.BuscarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar"); w1.Add(this.BuscarAction, null); this.findAction = new global::Gtk.Action("findAction", global::Mono.Unix.Catalog.GetString("Buscar..."), null, "gtk-find"); this.findAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Buscar..."); w1.Add(this.findAction, null); this.AyudaAction = new global::Gtk.Action("AyudaAction", global::Mono.Unix.Catalog.GetString("Ayuda"), null, null); this.AyudaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ayuda"); w1.Add(this.AyudaAction, null); this.SeleccionAction = new global::Gtk.Action("SeleccionAction", global::Mono.Unix.Catalog.GetString("Seleccion"), null, null); this.SeleccionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccion"); w1.Add(this.SeleccionAction, null); this.SeleccionarTodoAction = new global::Gtk.Action("SeleccionarTodoAction", global::Mono.Unix.Catalog.GetString("Seleccionar Todo"), null, null); this.SeleccionarTodoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Seleccionar Todo"); w1.Add(this.SeleccionarTodoAction, null); this.AcercaDeCodeSEAction = new global::Gtk.Action("AcercaDeCodeSEAction", global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"), null, null); this.AcercaDeCodeSEAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Acerca de CodeSE"); w1.Add(this.AcercaDeCodeSEAction, null); this.Compilar = new global::Gtk.Action("Compilar", null, global::Mono.Unix.Catalog.GetString("Compilar"), "gtk-go-up"); w1.Add(this.Compilar, null); this.OcultarConsola = new global::Gtk.ToggleAction("OcultarConsola", global::Mono.Unix.Catalog.GetString("Ocultar Consola"), null, null); this.OcultarConsola.ShortLabel = global::Mono.Unix.Catalog.GetString("Ocultar Consola"); w1.Add(this.OcultarConsola, null); this.HerramientasAction = new global::Gtk.Action("HerramientasAction", global::Mono.Unix.Catalog.GetString("Herramientas"), null, null); this.HerramientasAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Herramientas"); w1.Add(this.HerramientasAction, null); this.FuenteAction = new global::Gtk.Action("FuenteAction", global::Mono.Unix.Catalog.GetString("Fuente"), null, null); this.FuenteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fuente"); w1.Add(this.FuenteAction, null); this.dndMultipleAction = new global::Gtk.Action("dndMultipleAction", global::Mono.Unix.Catalog.GetString("Recientes"), null, "gtk-dnd-multiple"); this.dndMultipleAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recientes"); w1.Add(this.dndMultipleAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "CodeSyntaxEditor"; this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.Caja = new global::Gtk.VBox(); this.Caja.Name = "Caja"; this.Caja.Spacing = 6; // Container child Caja.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='BarraMenu'><menu name='ArchivoAction' action='ArchivoAction'><menuitem name='NuevoDocumento' action='NuevoDocumento'/><menuitem name='Abrir' action='Abrir'/><menuitem name='Guardar' action='Guardar'/><menuitem name='GuardarComo' action='GuardarComo'/><menuitem name='printAction' action='printAction'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EditarAction' action='EditarAction'><menuitem name='copyAction' action='copyAction'/><menuitem name='cutAction' action='cutAction'/><menuitem name='pasteAction' action='pasteAction'/></menu><menu name='SeleccionAction' action='SeleccionAction'><menuitem name='SeleccionarTodoAction' action='SeleccionarTodoAction'/></menu><menu name='BuscarAction' action='BuscarAction'><menuitem name='findAction' action='findAction'/></menu><menu name='VerAction' action='VerAction'><menuitem name='OcultarHerramientas' action='OcultarHerramientas'/><menuitem name='OcultarExplorador' action='OcultarExplorador'/><menuitem name='OcultarConsola' action='OcultarConsola'/></menu><menu name='HerramientasAction' action='HerramientasAction'><menuitem name='FuenteAction' action='FuenteAction'/></menu><menu name='AyudaAction' action='AyudaAction'><menuitem name='AcercaDeCodeSEAction' action='AcercaDeCodeSEAction'/></menu></menubar></ui>"); this.BarraMenu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/BarraMenu"))); this.BarraMenu.Name = "BarraMenu"; this.Caja.Add(this.BarraMenu); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.Caja[this.BarraMenu])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child Caja.Gtk.Box+BoxChild this.Caja1 = new global::Gtk.HBox(); this.Caja1.Name = "Caja1"; this.Caja1.Spacing = 6; // Container child Caja1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='Herramientas'><toolitem name='HNuevo' action='HNuevo'/><toolitem name='HAbrir' action='HAbrir'/><toolitem name='HGuardar' action='HGuardar'/><toolitem name='HCopiar' action='HCopiar'/><toolitem name='HCortar' action='HCortar'/><toolitem name='HPegar' action='HPegar'/><toolitem name='Compilar' action='Compilar'/></toolbar></ui>"); this.Herramientas = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/Herramientas"))); this.Herramientas.Name = "Herramientas"; this.Herramientas.Orientation = ((global::Gtk.Orientation)(1)); this.Herramientas.ShowArrow = false; this.Herramientas.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.Herramientas.IconSize = ((global::Gtk.IconSize)(1)); this.Caja1.Add(this.Herramientas); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Herramientas])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child Caja1.Gtk.Box+BoxChild this.Caja2 = new global::Gtk.HPaned(); this.Caja2.CanFocus = true; this.Caja2.Name = "Caja2"; this.Caja2.Position = 568; // Container child Caja2.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 269; // Container child vpaned1.Gtk.Paned+PanedChild this.ScrollPagina = new global::Gtk.ScrolledWindow(); this.ScrollPagina.CanFocus = true; this.ScrollPagina.Name = "ScrollPagina"; this.ScrollPagina.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrollPagina.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport(); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.Pagina = new global::Gtk.Notebook(); this.Pagina.CanFocus = true; this.Pagina.Name = "Pagina"; this.Pagina.CurrentPage = -1; w4.Add(this.Pagina); this.ScrollPagina.Add(w4); this.vpaned1.Add(this.ScrollPagina); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollPagina])); w7.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.ScrollConsola = new global::Gtk.ScrolledWindow(); this.ScrollConsola.Name = "ScrollConsola"; this.ScrollConsola.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrollConsola.Gtk.Container+ContainerChild this.Consola = new global::Gtk.TextView(); this.Consola.CanDefault = true; this.Consola.CanFocus = true; this.Consola.Name = "Consola"; this.ScrollConsola.Add(this.Consola); this.vpaned1.Add(this.ScrollConsola); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.ScrollConsola])); w9.Resize = false; w9.Shrink = false; this.vbox3.Add(this.vpaned1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vpaned1])); w10.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.Barra_de_Busqueda = new global::Gtk.Statusbar(); this.Barra_de_Busqueda.Name = "Barra_de_Busqueda"; this.Barra_de_Busqueda.Spacing = 6; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.Estado_de_Archivo = new global::Gtk.Label(); this.Estado_de_Archivo.Name = "Estado_de_Archivo"; this.Estado_de_Archivo.Justify = ((global::Gtk.Justification)(2)); this.Barra_de_Busqueda.Add(this.Estado_de_Archivo); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Estado_de_Archivo])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.Entrada = new global::Gtk.Entry(); this.Entrada.CanFocus = true; this.Entrada.Name = "Entrada"; this.Entrada.IsEditable = true; this.Entrada.InvisibleChar = '•'; this.Barra_de_Busqueda.Add(this.Entrada); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.Entrada])); w12.Position = 2; // Container child Barra_de_Busqueda.Gtk.Box+BoxChild this.BtnBus = new global::Gtk.Button(); this.BtnBus.CanFocus = true; this.BtnBus.Name = "BtnBus"; this.BtnBus.UseUnderline = true; this.BtnBus.Label = global::Mono.Unix.Catalog.GetString("Buscar"); this.Barra_de_Busqueda.Add(this.BtnBus); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.Barra_de_Busqueda[this.BtnBus])); w13.Position = 3; w13.Expand = false; w13.Fill = false; this.vbox3.Add(this.Barra_de_Busqueda); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.Barra_de_Busqueda])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.Caja2.Add(this.vbox3); global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.vbox3])); w15.Resize = false; // Container child Caja2.Gtk.Paned+PanedChild this.ScrollExplorador = new global::Gtk.ScrolledWindow(); this.ScrollExplorador.CanFocus = true; this.ScrollExplorador.Name = "ScrollExplorador"; this.ScrollExplorador.ShadowType = ((global::Gtk.ShadowType)(1)); this.ScrollExplorador.WindowPlacement = ((global::Gtk.CornerType)(2)); // Container child ScrollExplorador.Gtk.Container+ContainerChild global::Gtk.Viewport w16 = new global::Gtk.Viewport(); w16.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.Explorador = new global::Gtk.Notebook(); this.Explorador.CanFocus = true; this.Explorador.Name = "Explorador"; this.Explorador.CurrentPage = 0; // Container child Explorador.Gtk.Notebook+NotebookChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.Directorios = global::Gtk.ComboBox.NewText(); this.Directorios.Name = "Directorios"; this.vbox1.Add(this.Directorios); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.Directorios])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.Archivos = new global::Gtk.TreeView(); this.Archivos.CanFocus = true; this.Archivos.Name = "Archivos"; this.GtkScrolledWindow.Add(this.Archivos); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w19.Position = 1; this.Explorador.Add(this.vbox1); // Notebook tab this.LPortapapeles = new global::Gtk.Label(); this.LPortapapeles.Name = "LPortapapeles"; this.LPortapapeles.LabelProp = global::Mono.Unix.Catalog.GetString("Explorador"); this.Explorador.SetTabLabel(this.vbox1, this.LPortapapeles); this.LPortapapeles.ShowAll(); w16.Add(this.Explorador); this.ScrollExplorador.Add(w16); this.Caja2.Add(this.ScrollExplorador); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.Caja2[this.ScrollExplorador])); w23.Resize = false; w23.Shrink = false; this.Caja1.Add(this.Caja2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.Caja1[this.Caja2])); w24.Position = 1; this.Caja.Add(this.Caja1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Caja1])); w25.Position = 1; // Container child Caja.Gtk.Box+BoxChild this.Estado = new global::Gtk.Statusbar(); this.Estado.Name = "Estado"; this.Estado.Homogeneous = true; this.Estado.Spacing = 6; // Container child Estado.Gtk.Box+BoxChild this.Caracteres = new global::Gtk.Label(); this.Caracteres.Name = "Caracteres"; this.Caracteres.LabelProp = global::Mono.Unix.Catalog.GetString("Caracteres: 0"); this.Estado.Add(this.Caracteres); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Caracteres])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child Estado.Gtk.Box+BoxChild this.Lineas = new global::Gtk.Label(); this.Lineas.Name = "Lineas"; this.Lineas.LabelProp = global::Mono.Unix.Catalog.GetString("Lineas: 0"); this.Estado.Add(this.Lineas); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.Estado[this.Lineas])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.Caja.Add(this.Estado); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.Caja[this.Estado])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.Add(this.Caja); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 779; this.DefaultHeight = 448; this.Barra_de_Busqueda.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.NuevoDocumento.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.Abrir.Activated += new global::System.EventHandler(this.OnAbrirActivated); this.Guardar.Activated += new global::System.EventHandler(this.OnGuardarActivated); this.GuardarComo.Activated += new global::System.EventHandler(this.OnGuardarComoActivated); this.printAction.Activated += new global::System.EventHandler(this.OnExportarPDFActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnSalirActivated); this.copyAction.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.OcultarHerramientas.Activated += new global::System.EventHandler(this.OnOcultarHerramientasToggled); this.OcultarExplorador.Activated += new global::System.EventHandler(this.OnOcultarExploradorToggled); this.HNuevo.Activated += new global::System.EventHandler(this.OnNuevoDocumentoActivated); this.HAbrir.Activated += new global::System.EventHandler(this.OnAbrirActivated); this.HGuardar.Activated += new global::System.EventHandler(this.OnGuardarActivated); this.HCopiar.Activated += new global::System.EventHandler(this.OnHCopiarActivated); this.HCortar.Activated += new global::System.EventHandler(this.OnHCortarActivated); this.HPegar.Activated += new global::System.EventHandler(this.OnHPegarActivated); this.findAction.Activated += new global::System.EventHandler(this.OnFindActionActivated); this.SeleccionarTodoAction.Activated += new global::System.EventHandler(this.OnSeleccionarTodoActionActivated); this.AcercaDeCodeSEAction.Activated += new global::System.EventHandler(this.OnAcercaDeCodeSEActionActivated); this.Compilar.Activated += new global::System.EventHandler(this.OnCompilarActivated); this.OcultarConsola.Toggled += new global::System.EventHandler(this.OnOcultarConsolaToggled); this.FuenteAction.Activated += new global::System.EventHandler(this.OnFuenteActionActivated); this.BtnBus.Clicked += new global::System.EventHandler(this.OnBtnBusActivated); this.Directorios.Changed += new global::System.EventHandler(this.OnDirectoriosChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Docking.Components.ScriptEditor global::Stetic.BinContainer.Attach (this); this.Name = "Docking.Components.ScriptEditor"; // Container child Docking.Components.ScriptEditor.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 102; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow (); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add (this.scrolledwindow4); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.scrolledwindow4])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.textMessage = new global::Docking.Widgets.TextViewLocalized (); this.textMessage.CanFocus = true; this.textMessage.Name = "textMessage"; this.textMessage.Editable = false; this.hbox1.Add (this.textMessage); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textMessage])); w2.Position = 0; // 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.buttonOK = new global::Gtk.Button (); this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseUnderline = true; // Container child buttonOK.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-apply", global::Gtk.IconSize.Button); w4.Add (w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label (); w4.Add (w7); w3.Add (w4); this.buttonOK.Add (w3); this.vbox1.Add (this.buttonOK); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.buttonOK])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.hbox1.Add (this.vbox1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vpaned1.Add (this.hbox1); this.vbox2.Add (this.vpaned1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w14.Position = 0; this.Add (this.vbox2); 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("GeneticSharp :: Runner"); this.Icon = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icon.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.hbxMain = new global::Gtk.HBox(); this.hbxMain.Name = "hbxMain"; this.hbxMain.Spacing = 10; this.hbxMain.BorderWidth = ((uint)(10)); // Container child hbxMain.Gtk.Box+BoxChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.hbxMain.Add(this.drawingArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.drawingArea])); w1.Position = 0; w1.Padding = ((uint)(1)); // Container child hbxMain.Gtk.Box+BoxChild this.vbxConfig = new global::Gtk.VBox(); this.vbxConfig.Name = "vbxConfig"; this.vbxConfig.Spacing = 6; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxSample = new global::Gtk.VBox(); this.vbxSample.Name = "vbxSample"; this.vbxSample.Spacing = 6; // Container child vbxSample.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Problem"); this.vbxSample.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.cmbSample = global::Gtk.ComboBox.NewText(); this.cmbSample.Name = "cmbSample"; this.vbxSample.Add(this.cmbSample); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.cmbSample])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.problemConfigWidgetContainer = new global::Gtk.VPaned(); this.problemConfigWidgetContainer.CanFocus = true; this.problemConfigWidgetContainer.Name = "problemConfigWidgetContainer"; this.problemConfigWidgetContainer.Position = 10; this.vbxSample.Add(this.problemConfigWidgetContainer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.problemConfigWidgetContainer])); w4.Position = 2; this.vbxConfig.Add(this.vbxSample); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxSample])); w5.Position = 0; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxGA = new global::Gtk.VBox(); this.vbxGA.WidthRequest = 250; this.vbxGA.Name = "vbxGA"; this.vbxGA.Spacing = 6; // Container child vbxGA.Gtk.Box+BoxChild this.vbbSample = new global::Gtk.VButtonBox(); this.vbbSample.Name = "vbbSample"; this.vbxGA.Add(this.vbbSample); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.vbbSample])); w6.Position = 0; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbxGA.Add(this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Population size"); this.vbxGA.Add(this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbxGA.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("Min"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.sbtPopulationMinSize = new global::Gtk.SpinButton(2D, 10000D, 1D); this.sbtPopulationMinSize.CanFocus = true; this.sbtPopulationMinSize.Name = "sbtPopulationMinSize"; this.sbtPopulationMinSize.Adjustment.PageIncrement = 10D; this.sbtPopulationMinSize.ClimbRate = 1D; this.sbtPopulationMinSize.Numeric = true; this.sbtPopulationMinSize.Value = 50D; this.hbox2.Add(this.sbtPopulationMinSize); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbtPopulationMinSize])); w10.Position = 1; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(3)); // Container child hbox2.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("Max"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.sbtPopulationMaxSize = new global::Gtk.SpinButton(2D, 10000D, 1D); this.sbtPopulationMaxSize.CanFocus = true; this.sbtPopulationMaxSize.Name = "sbtPopulationMaxSize"; this.sbtPopulationMaxSize.Adjustment.PageIncrement = 10D; this.sbtPopulationMaxSize.ClimbRate = 1D; this.sbtPopulationMaxSize.Numeric = true; this.sbtPopulationMaxSize.Value = 70D; this.hbox3.Add(this.sbtPopulationMaxSize); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.sbtPopulationMaxSize])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbxGA.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.cmbGenerationStrategy = global::Gtk.ComboBox.NewText(); this.cmbGenerationStrategy.WidthRequest = 200; this.cmbGenerationStrategy.Name = "cmbGenerationStrategy"; this.hbox11.Add(this.cmbGenerationStrategy); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.cmbGenerationStrategy])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.btnEditGenerationStrategy = new global::Gtk.Button(); this.btnEditGenerationStrategy.CanFocus = true; this.btnEditGenerationStrategy.Name = "btnEditGenerationStrategy"; this.btnEditGenerationStrategy.UseUnderline = true; this.btnEditGenerationStrategy.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox11.Add(this.btnEditGenerationStrategy); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnEditGenerationStrategy])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbxGA.Add(this.hbox11); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox11])); w17.Position = 4; w17.Expand = false; w17.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbxGA.Add(this.hseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator2])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Selection"); this.vbxGA.Add(this.label5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label5])); w19.Position = 6; w19.Expand = false; w19.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.cmbSelection = global::Gtk.ComboBox.NewText(); this.cmbSelection.WidthRequest = 200; this.cmbSelection.Name = "cmbSelection"; this.hbox5.Add(this.cmbSelection); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.cmbSelection])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.btnEditSelection = new global::Gtk.Button(); this.btnEditSelection.CanFocus = true; this.btnEditSelection.Name = "btnEditSelection"; this.btnEditSelection.UseUnderline = true; this.btnEditSelection.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox5.Add(this.btnEditSelection); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnEditSelection])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbxGA.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox5])); w22.Position = 7; w22.Expand = false; w22.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbxGA.Add(this.hseparator4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator4])); w23.Position = 8; w23.Expand = false; w23.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Crossover"); this.vbxGA.Add(this.label7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label7])); w24.Position = 9; w24.Expand = false; w24.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox9.Add(this.label10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label10])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.hslCrossoverProbability = new global::Gtk.HScale(null); this.hslCrossoverProbability.CanFocus = true; this.hslCrossoverProbability.Name = "hslCrossoverProbability"; this.hslCrossoverProbability.Adjustment.Upper = 1.1D; this.hslCrossoverProbability.Adjustment.PageIncrement = 0.1D; this.hslCrossoverProbability.Adjustment.PageSize = 0.1D; this.hslCrossoverProbability.Adjustment.StepIncrement = 0.01D; this.hslCrossoverProbability.Adjustment.Value = 0.01D; this.hslCrossoverProbability.DrawValue = true; this.hslCrossoverProbability.Digits = 2; this.hslCrossoverProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox9.Add(this.hslCrossoverProbability); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.hslCrossoverProbability])); w26.Position = 1; this.vbxGA.Add(this.hbox9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox9])); w27.Position = 10; w27.Expand = false; w27.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbCrossover = global::Gtk.ComboBox.NewText(); this.cmbCrossover.WidthRequest = 200; this.cmbCrossover.Name = "cmbCrossover"; this.hbox6.Add(this.cmbCrossover); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbCrossover])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnEditCrossover = new global::Gtk.Button(); this.btnEditCrossover.CanFocus = true; this.btnEditCrossover.Name = "btnEditCrossover"; this.btnEditCrossover.UseUnderline = true; this.btnEditCrossover.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox6.Add(this.btnEditCrossover); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnEditCrossover])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbxGA.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox6])); w30.Position = 11; w30.Expand = false; w30.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbxGA.Add(this.hseparator5); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator5])); w31.Position = 12; w31.Expand = false; w31.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Mutation"); this.vbxGA.Add(this.label8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label8])); w32.Position = 13; w32.Expand = false; w32.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox8.Add(this.label9); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label9])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hslMutationProbability = new global::Gtk.HScale(null); this.hslMutationProbability.CanFocus = true; this.hslMutationProbability.Name = "hslMutationProbability"; this.hslMutationProbability.Adjustment.Upper = 1.1D; this.hslMutationProbability.Adjustment.PageIncrement = 0.1D; this.hslMutationProbability.Adjustment.PageSize = 0.1D; this.hslMutationProbability.Adjustment.StepIncrement = 0.01D; this.hslMutationProbability.DrawValue = true; this.hslMutationProbability.Digits = 2; this.hslMutationProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox8.Add(this.hslMutationProbability); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hslMutationProbability])); w34.Position = 1; this.vbxGA.Add(this.hbox8); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox8])); w35.Position = 14; w35.Expand = false; w35.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.cmbMutation = global::Gtk.ComboBox.NewText(); this.cmbMutation.WidthRequest = 200; this.cmbMutation.Name = "cmbMutation"; this.hbox7.Add(this.cmbMutation); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.cmbMutation])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.btnEditMutation = new global::Gtk.Button(); this.btnEditMutation.CanFocus = true; this.btnEditMutation.Name = "btnEditMutation"; this.btnEditMutation.UseUnderline = true; this.btnEditMutation.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox7.Add(this.btnEditMutation); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnEditMutation])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbxGA.Add(this.hbox7); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox7])); w38.Position = 15; w38.Expand = false; w38.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbxGA.Add(this.hseparator3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator3])); w39.Position = 16; w39.Expand = false; w39.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Reinsertion"); this.vbxGA.Add(this.label12); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label12])); w40.Position = 17; w40.Expand = false; w40.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.cmbTermination1 = global::Gtk.ComboBox.NewText(); this.cmbTermination1.WidthRequest = 200; this.cmbTermination1.Name = "cmbTermination1"; this.hbox12.Add(this.cmbTermination1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.cmbTermination1])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.btnEditReinsertion = new global::Gtk.Button(); this.btnEditReinsertion.CanFocus = true; this.btnEditReinsertion.Name = "btnEditReinsertion"; this.btnEditReinsertion.UseUnderline = true; this.btnEditReinsertion.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox12.Add(this.btnEditReinsertion); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.btnEditReinsertion])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.vbxGA.Add(this.hbox12); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox12])); w43.Position = 18; w43.Expand = false; w43.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Termination"); this.vbxGA.Add(this.label11); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label11])); w44.Position = 19; w44.Expand = false; w44.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.cmbTermination = global::Gtk.ComboBox.NewText(); this.cmbTermination.WidthRequest = 200; this.cmbTermination.Name = "cmbTermination"; this.hbox10.Add(this.cmbTermination); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.cmbTermination])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.btnEditTermination = new global::Gtk.Button(); this.btnEditTermination.CanFocus = true; this.btnEditTermination.Name = "btnEditTermination"; this.btnEditTermination.UseUnderline = true; this.btnEditTermination.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox10.Add(this.btnEditTermination); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.btnEditTermination])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.vbxGA.Add(this.hbox10); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox10])); w47.Position = 20; w47.Expand = false; w47.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbxGA.Add(this.hseparator6); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator6])); w48.Position = 21; w48.Expand = false; w48.Fill = false; this.vbxConfig.Add(this.vbxGA); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxGA])); w49.Position = 1; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStart = new global::Gtk.Button(); this.btnStart.CanFocus = true; this.btnStart.Name = "btnStart"; this.btnStart.UseUnderline = true; this.btnStart.Label = global::Mono.Unix.Catalog.GetString("_Start"); this.vbxConfig.Add(this.btnStart); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStart])); w50.Position = 2; w50.Expand = false; w50.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnNew = new global::Gtk.Button(); this.btnNew.CanFocus = true; this.btnNew.Name = "btnNew"; this.btnNew.UseUnderline = true; this.btnNew.Label = global::Mono.Unix.Catalog.GetString("_New"); this.vbxConfig.Add(this.btnNew); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnNew])); w51.Position = 3; w51.Expand = false; w51.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStop = new global::Gtk.Button(); this.btnStop.CanFocus = true; this.btnStop.Name = "btnStop"; this.btnStop.UseUnderline = true; this.btnStop.Label = global::Mono.Unix.Catalog.GetString("_Stop"); this.vbxConfig.Add(this.btnStop); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStop])); w52.Position = 4; w52.Expand = false; w52.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnResume = new global::Gtk.Button(); this.btnResume.CanFocus = true; this.btnResume.Name = "btnResume"; this.btnResume.UseUnderline = true; this.btnResume.Label = global::Mono.Unix.Catalog.GetString("_Resume"); this.vbxConfig.Add(this.btnResume); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnResume])); w53.Position = 5; w53.Expand = false; w53.Fill = false; this.hbxMain.Add(this.vbxConfig); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.vbxConfig])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.Add(this.hbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnResume.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
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 MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open"); w1.Add (this.openAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as"); w1.Add (this.saveAsAction, null); this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); w1.Add (this.saveAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 400; // Container child vpaned1.Gtk.Paned+PanedChild this.moonAreaContainer = new global::Gtk.EventBox (); this.moonAreaContainer.Name = "moonAreaContainer"; this.vpaned1.Add (this.moonAreaContainer); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.moonAreaContainer])); w3.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add (this.scrolledwindow1); this.vbox1.Add (this.vpaned1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned1])); w5.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 735; this.DefaultHeight = 640; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.RegexToolkit.RegexToolkitWindow this.Name = "MonoDevelop.RegexToolkit.RegexToolkitWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Regular Expression Toolkit"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child MonoDevelop.RegexToolkit.RegexToolkitWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 393; this.vpaned1.BorderWidth = ((uint)(6)); // Container child vpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 335; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.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("_Regular Expression"); this.label8.UseUnderline = true; this.vbox6.Add(this.label8); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label8])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.entryRegEx = new global::Gtk.Entry(); this.entryRegEx.CanFocus = true; this.entryRegEx.Name = "entryRegEx"; this.entryRegEx.IsEditable = true; this.entryRegEx.InvisibleChar = '●'; this.vbox6.Add(this.entryRegEx); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.entryRegEx])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbuttonReplace = new global::Gtk.CheckButton(); this.checkbuttonReplace.CanFocus = true; this.checkbuttonReplace.Name = "checkbuttonReplace"; this.checkbuttonReplace.Label = global::Mono.Unix.Catalog.GetString("_Replace"); this.checkbuttonReplace.Active = true; this.checkbuttonReplace.DrawIndicator = true; this.checkbuttonReplace.UseUnderline = true; this.vbox3.Add(this.checkbuttonReplace); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkbuttonReplace])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.entryReplace = new global::Gtk.Entry(); this.entryReplace.CanFocus = true; this.entryReplace.Name = "entryReplace"; this.entryReplace.IsEditable = true; this.entryReplace.InvisibleChar = '●'; this.vbox3.Add(this.entryReplace); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.entryReplace])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonStart = new global::Gtk.Button(); this.buttonStart.CanDefault = true; this.buttonStart.CanFocus = true; this.buttonStart.Name = "buttonStart"; this.buttonStart.UseUnderline = true; // Container child buttonStart.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Menu); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label(); w9.LabelProp = global::Mono.Unix.Catalog.GetString("_Start Regular Expression"); w9.UseUnderline = true; w6.Add(w9); w5.Add(w6); this.buttonStart.Add(w5); this.hbox7.Add(this.buttonStart); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonStart])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.vbox3.Add(this.hbox7); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox6.Add(this.vbox3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.vbox3])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow5 = new global::Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.optionsTreeview = new global::Gtk.TreeView(); this.optionsTreeview.CanFocus = true; this.optionsTreeview.Name = "optionsTreeview"; this.scrolledwindow5.Add(this.optionsTreeview); this.vbox6.Add(this.scrolledwindow5); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow5])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 3; // Container child vbox6.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("_Options:"); this.label10.UseMarkup = true; this.label10.UseUnderline = true; this.vbox6.Add(this.label10); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label10])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.hpaned1.Add(this.vbox6); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox6])); w19.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.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("_Elements:"); this.label11.UseMarkup = true; this.label11.UseUnderline = true; this.vbox4.Add(this.label11); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label11])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.elementsscrolledwindow = new global::Gtk.ScrolledWindow(); this.elementsscrolledwindow.CanFocus = true; this.elementsscrolledwindow.Name = "elementsscrolledwindow"; this.elementsscrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child elementsscrolledwindow.Gtk.Container+ContainerChild this.elementsTreeview = new global::Gtk.TreeView(); this.elementsTreeview.CanFocus = true; this.elementsTreeview.Name = "elementsTreeview"; this.elementsscrolledwindow.Add(this.elementsTreeview); this.vbox4.Add(this.elementsscrolledwindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.elementsscrolledwindow])); w22.Position = 1; this.hpaned1.Add(this.vbox4); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w24.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.HelpWidget = new global::Gtk.VBox(); this.HelpWidget.Name = "HelpWidget"; this.HelpWidget.Spacing = 6; this.HelpWidget.BorderWidth = ((uint)(6)); // Container child HelpWidget.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("_Input:"); this.label9.UseMarkup = true; this.label9.UseUnderline = true; this.HelpWidget.Add(this.label9); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.HelpWidget [this.label9])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child HelpWidget.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.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.inputTextview = new global::Gtk.TextView(); this.inputTextview.CanFocus = true; this.inputTextview.Name = "inputTextview"; this.scrolledwindow1.Add(this.inputTextview); this.hbox5.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.scrolledwindow1])); w27.Position = 0; this.HelpWidget.Add(this.hbox5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.HelpWidget [this.hbox5])); w28.Position = 1; this.vbox1.Add(this.HelpWidget); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.HelpWidget])); w29.Position = 1; this.vpaned1.Add(this.vbox1); global::Gtk.Paned.PanedChild w30 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox1])); w30.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.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.resultsTreeview = new global::Gtk.TreeView(); this.resultsTreeview.CanFocus = true; this.resultsTreeview.Name = "resultsTreeview"; this.scrolledwindow2.Add(this.resultsTreeview); this.notebook2.Add(this.scrolledwindow2); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Matches"); this.notebook2.SetTabLabel(this.scrolledwindow2, this.label3); this.label3.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.replaceResultTextview = new global::Gtk.TextView(); this.replaceResultTextview.CanFocus = true; this.replaceResultTextview.Name = "replaceResultTextview"; this.replaceResultTextview.Editable = false; this.replaceResultTextview.CursorVisible = false; this.scrolledwindow4.Add(this.replaceResultTextview); this.notebook2.Add(this.scrolledwindow4); global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.scrolledwindow4])); w34.Position = 1; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Replace"); this.notebook2.SetTabLabel(this.scrolledwindow4, this.label4); this.label4.ShowAll(); this.hbox4.Add(this.notebook2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.notebook2])); w35.Position = 0; this.vpaned1.Add(this.hbox4); this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w37.Position = 0; // 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.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 0F; this.labelStatus.UseMarkup = true; this.labelStatus.UseUnderline = true; this.hbox1.Add(this.labelStatus); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelStatus])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox1.Gtk.Box+BoxChild 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-close"; this.hbox1.Add(this.buttonCancel); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w39.PackType = ((global::Gtk.PackType)(1)); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonLibrary = new global::Gtk.Button(); this.buttonLibrary.CanDefault = true; this.buttonLibrary.CanFocus = true; this.buttonLibrary.Name = "buttonLibrary"; this.buttonLibrary.UseUnderline = true; this.buttonLibrary.Label = global::Mono.Unix.Catalog.GetString("Regex Library"); this.hbox1.Add(this.buttonLibrary); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonLibrary])); w40.PackType = ((global::Gtk.PackType)(1)); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w41.Position = 1; w41.Expand = false; w41.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 613; this.DefaultHeight = 623; this.label8.MnemonicWidget = this.inputTextview; this.label10.MnemonicWidget = this.optionsTreeview; this.label11.MnemonicWidget = this.elementsTreeview; this.label9.MnemonicWidget = this.inputTextview; this.labelStatus.MnemonicWidget = this.inputTextview; 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.DatabaseAction = new global::Gtk.Action("DatabaseAction", global::Mono.Unix.Catalog.GetString("Database"), null, null); this.DatabaseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Database"); w1.Add(this.DatabaseAction, null); this.DocumentsAction = new global::Gtk.Action("DocumentsAction", global::Mono.Unix.Catalog.GetString("Documents"), null, null); this.DocumentsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Documents"); w1.Add(this.DocumentsAction, null); this.DocumentAction = new global::Gtk.Action("DocumentAction", global::Mono.Unix.Catalog.GetString("Document"), null, null); this.DocumentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Document"); w1.Add(this.DocumentAction, null); this.AddKeywordAction = new global::Gtk.Action("AddKeywordAction", global::Mono.Unix.Catalog.GetString("Add Keyword"), null, null); this.AddKeywordAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add Keyword"); w1.Add(this.AddKeywordAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar2'><menu name='DatabaseAction' action='DatabaseAction'/><menu name='DocumentsAction' action='DocumentsAction'/><menu name='DocumentAction' action='DocumentAction'><menuitem name='AddKeywordAction' action='AddKeywordAction'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox1.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 102; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 112; // Container child vpaned1.Gtk.Paned+PanedChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.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.scrolledwindow7 = new global::Gtk.ScrolledWindow(); this.scrolledwindow7.CanFocus = true; this.scrolledwindow7.Name = "scrolledwindow7"; this.scrolledwindow7.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow7.Gtk.Container+ContainerChild this.documentsNV = new global::Gtk.NodeView(); this.documentsNV.CanFocus = true; this.documentsNV.Name = "documentsNV"; this.scrolledwindow7.Add(this.documentsNV); this.GtkAlignment.Add(this.scrolledwindow7); this.frame2.Add(this.GtkAlignment); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Documents</b>"); this.GtkLabel3.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel3; this.vpaned1.Add(this.frame2); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.frame2])); w6.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.scrolledwindow8 = new global::Gtk.ScrolledWindow(); this.scrolledwindow8.CanFocus = true; this.scrolledwindow8.Name = "scrolledwindow8"; this.scrolledwindow8.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow8.Gtk.Container+ContainerChild this.nodeview2 = new global::Gtk.NodeView(); this.nodeview2.CanFocus = true; this.nodeview2.Name = "nodeview2"; this.scrolledwindow8.Add(this.nodeview2); this.GtkAlignment1.Add(this.scrolledwindow8); this.frame3.Add(this.GtkAlignment1); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Highlights</b>"); this.GtkLabel4.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel4; this.vpaned1.Add(this.frame3); this.hpaned1.Add(this.vpaned1); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.vpaned1])); w11.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 193; // Container child vpaned2.Gtk.Paned+PanedChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame4.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.scrolledwindow9 = new global::Gtk.ScrolledWindow(); this.scrolledwindow9.CanFocus = true; this.scrolledwindow9.Name = "scrolledwindow9"; this.scrolledwindow9.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow9.Gtk.Container+ContainerChild this.documentText = new global::Gtk.TextView(); this.documentText.CanFocus = true; this.documentText.Name = "documentText"; this.scrolledwindow9.Add(this.documentText); this.GtkAlignment2.Add(this.scrolledwindow9); this.frame4.Add(this.GtkAlignment2); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Document</b>"); this.GtkLabel5.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel5; this.vpaned2.Add(this.frame4); global::Gtk.Paned.PanedChild w15 = ((global::Gtk.Paned.PanedChild)(this.vpaned2[this.frame4])); w15.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.frame5 = new global::Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame5.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.scrolledwindow10 = new global::Gtk.ScrolledWindow(); this.scrolledwindow10.CanFocus = true; this.scrolledwindow10.Name = "scrolledwindow10"; this.scrolledwindow10.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow10.Gtk.Container+ContainerChild this.keywordsTV = new global::Gtk.TextView(); this.keywordsTV.CanFocus = true; this.keywordsTV.Name = "keywordsTV"; this.keywordsTV.Editable = false; this.keywordsTV.CursorVisible = false; this.keywordsTV.WrapMode = ((global::Gtk.WrapMode)(2)); this.scrolledwindow10.Add(this.keywordsTV); this.GtkAlignment3.Add(this.scrolledwindow10); this.frame5.Add(this.GtkAlignment3); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Keywords</b>"); this.GtkLabel6.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel6; this.vpaned2.Add(this.frame5); this.hpaned1.Add(this.vpaned2); this.vbox1.Add(this.hpaned1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hpaned1])); w21.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 472; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AddKeywordAction.Activated += new global::System.EventHandler(this.AddKeywordToDocument); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Docking.Components.ScriptEditor global::Stetic.BinContainer.Attach(this); this.Name = "Docking.Components.ScriptEditor"; // Container child Docking.Components.ScriptEditor.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 102; // Container child vpaned1.Gtk.Paned+PanedChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned1.Add(this.scrolledwindow4); global::Gtk.Paned.PanedChild w1 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.scrolledwindow4])); w1.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.textMessage = new global::Docking.Widgets.TextViewLocalized(); this.textMessage.CanFocus = true; this.textMessage.Name = "textMessage"; this.textMessage.Editable = false; this.hbox1.Add(this.textMessage); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textMessage])); w2.Position = 0; // 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.buttonOK = new global::Gtk.Button(); this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseUnderline = true; // Container child buttonOK.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-apply", global::Gtk.IconSize.Button); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w7 = new global::Gtk.Label(); w4.Add(w7); w3.Add(w4); this.buttonOK.Add(w3); this.vbox1.Add(this.buttonOK); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.buttonOK])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vpaned1.Add(this.hbox1); this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w14.Position = 0; this.Add(this.vbox2); 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("GeneticSharp :: Runner"); this.Icon = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icon.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.hbxMain = new global::Gtk.HBox(); this.hbxMain.Name = "hbxMain"; this.hbxMain.Spacing = 10; this.hbxMain.BorderWidth = ((uint)(10)); // Container child hbxMain.Gtk.Box+BoxChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.hbxMain.Add(this.drawingArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.drawingArea])); w1.Position = 0; w1.Padding = ((uint)(1)); // Container child hbxMain.Gtk.Box+BoxChild this.vbxConfig = new global::Gtk.VBox(); this.vbxConfig.Name = "vbxConfig"; this.vbxConfig.Spacing = 6; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxSample = new global::Gtk.VBox(); this.vbxSample.Name = "vbxSample"; this.vbxSample.Spacing = 6; // Container child vbxSample.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Problem"); this.vbxSample.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.cmbSample = global::Gtk.ComboBox.NewText(); this.cmbSample.Name = "cmbSample"; this.vbxSample.Add(this.cmbSample); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.cmbSample])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.problemConfigWidgetContainer = new global::Gtk.VPaned(); this.problemConfigWidgetContainer.CanFocus = true; this.problemConfigWidgetContainer.Name = "problemConfigWidgetContainer"; this.problemConfigWidgetContainer.Position = 10; this.vbxSample.Add(this.problemConfigWidgetContainer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.problemConfigWidgetContainer])); w4.Position = 2; this.vbxConfig.Add(this.vbxSample); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxSample])); w5.Position = 0; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxGA = new global::Gtk.VBox(); this.vbxGA.WidthRequest = 250; this.vbxGA.Name = "vbxGA"; this.vbxGA.Spacing = 6; // Container child vbxGA.Gtk.Box+BoxChild this.vbbSample = new global::Gtk.VButtonBox(); this.vbbSample.Name = "vbbSample"; this.vbxGA.Add(this.vbbSample); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.vbbSample])); w6.Position = 0; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbxGA.Add(this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Population size"); this.vbxGA.Add(this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbxGA.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("Min"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.sbtPopulationMinSize = new global::Gtk.SpinButton(2, 10000, 1); this.sbtPopulationMinSize.CanFocus = true; this.sbtPopulationMinSize.Name = "sbtPopulationMinSize"; this.sbtPopulationMinSize.Adjustment.PageIncrement = 10; this.sbtPopulationMinSize.ClimbRate = 1; this.sbtPopulationMinSize.Numeric = true; this.sbtPopulationMinSize.Value = 50; this.hbox2.Add(this.sbtPopulationMinSize); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbtPopulationMinSize])); w10.Position = 1; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(3)); // Container child hbox2.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("Max"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.sbtPopulationMaxSize = new global::Gtk.SpinButton(2, 10000, 1); this.sbtPopulationMaxSize.CanFocus = true; this.sbtPopulationMaxSize.Name = "sbtPopulationMaxSize"; this.sbtPopulationMaxSize.Adjustment.PageIncrement = 10; this.sbtPopulationMaxSize.ClimbRate = 1; this.sbtPopulationMaxSize.Numeric = true; this.sbtPopulationMaxSize.Value = 70; this.hbox3.Add(this.sbtPopulationMaxSize); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.sbtPopulationMaxSize])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbxGA.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.cmbGenerationStrategy = global::Gtk.ComboBox.NewText(); this.cmbGenerationStrategy.WidthRequest = 200; this.cmbGenerationStrategy.Name = "cmbGenerationStrategy"; this.hbox11.Add(this.cmbGenerationStrategy); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.cmbGenerationStrategy])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.btnEditGenerationStrategy = new global::Gtk.Button(); this.btnEditGenerationStrategy.CanFocus = true; this.btnEditGenerationStrategy.Name = "btnEditGenerationStrategy"; this.btnEditGenerationStrategy.UseUnderline = true; this.btnEditGenerationStrategy.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox11.Add(this.btnEditGenerationStrategy); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnEditGenerationStrategy])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbxGA.Add(this.hbox11); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox11])); w17.Position = 4; w17.Expand = false; w17.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbxGA.Add(this.hseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator2])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Selection"); this.vbxGA.Add(this.label5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label5])); w19.Position = 6; w19.Expand = false; w19.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.cmbSelection = global::Gtk.ComboBox.NewText(); this.cmbSelection.WidthRequest = 200; this.cmbSelection.Name = "cmbSelection"; this.hbox5.Add(this.cmbSelection); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.cmbSelection])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.btnEditSelection = new global::Gtk.Button(); this.btnEditSelection.CanFocus = true; this.btnEditSelection.Name = "btnEditSelection"; this.btnEditSelection.UseUnderline = true; this.btnEditSelection.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox5.Add(this.btnEditSelection); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnEditSelection])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbxGA.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox5])); w22.Position = 7; w22.Expand = false; w22.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbxGA.Add(this.hseparator4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator4])); w23.Position = 8; w23.Expand = false; w23.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Crossover"); this.vbxGA.Add(this.label7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label7])); w24.Position = 9; w24.Expand = false; w24.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox9.Add(this.label10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label10])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.hslCrossoverProbability = new global::Gtk.HScale(null); this.hslCrossoverProbability.CanFocus = true; this.hslCrossoverProbability.Name = "hslCrossoverProbability"; this.hslCrossoverProbability.Adjustment.Upper = 1.1; this.hslCrossoverProbability.Adjustment.PageIncrement = 0.1; this.hslCrossoverProbability.Adjustment.PageSize = 0.1; this.hslCrossoverProbability.Adjustment.StepIncrement = 0.01; this.hslCrossoverProbability.Adjustment.Value = 0.01; this.hslCrossoverProbability.DrawValue = true; this.hslCrossoverProbability.Digits = 2; this.hslCrossoverProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox9.Add(this.hslCrossoverProbability); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.hslCrossoverProbability])); w26.Position = 1; this.vbxGA.Add(this.hbox9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox9])); w27.Position = 10; w27.Expand = false; w27.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbCrossover = global::Gtk.ComboBox.NewText(); this.cmbCrossover.WidthRequest = 200; this.cmbCrossover.Name = "cmbCrossover"; this.hbox6.Add(this.cmbCrossover); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbCrossover])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnEditCrossover = new global::Gtk.Button(); this.btnEditCrossover.CanFocus = true; this.btnEditCrossover.Name = "btnEditCrossover"; this.btnEditCrossover.UseUnderline = true; this.btnEditCrossover.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox6.Add(this.btnEditCrossover); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnEditCrossover])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbxGA.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox6])); w30.Position = 11; w30.Expand = false; w30.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbxGA.Add(this.hseparator5); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator5])); w31.Position = 12; w31.Expand = false; w31.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Mutation"); this.vbxGA.Add(this.label8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label8])); w32.Position = 13; w32.Expand = false; w32.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox8.Add(this.label9); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label9])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hslMutationProbability = new global::Gtk.HScale(null); this.hslMutationProbability.CanFocus = true; this.hslMutationProbability.Name = "hslMutationProbability"; this.hslMutationProbability.Adjustment.Upper = 1.1; this.hslMutationProbability.Adjustment.PageIncrement = 0.1; this.hslMutationProbability.Adjustment.PageSize = 0.1; this.hslMutationProbability.Adjustment.StepIncrement = 0.01; this.hslMutationProbability.DrawValue = true; this.hslMutationProbability.Digits = 2; this.hslMutationProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox8.Add(this.hslMutationProbability); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hslMutationProbability])); w34.Position = 1; this.vbxGA.Add(this.hbox8); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox8])); w35.Position = 14; w35.Expand = false; w35.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.cmbMutation = global::Gtk.ComboBox.NewText(); this.cmbMutation.WidthRequest = 200; this.cmbMutation.Name = "cmbMutation"; this.hbox7.Add(this.cmbMutation); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.cmbMutation])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.btnEditMutation = new global::Gtk.Button(); this.btnEditMutation.CanFocus = true; this.btnEditMutation.Name = "btnEditMutation"; this.btnEditMutation.UseUnderline = true; this.btnEditMutation.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox7.Add(this.btnEditMutation); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnEditMutation])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbxGA.Add(this.hbox7); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox7])); w38.Position = 15; w38.Expand = false; w38.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbxGA.Add(this.hseparator3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator3])); w39.Position = 16; w39.Expand = false; w39.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Reinsertion"); this.vbxGA.Add(this.label12); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label12])); w40.Position = 17; w40.Expand = false; w40.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.cmbReinsertion = global::Gtk.ComboBox.NewText(); this.cmbReinsertion.WidthRequest = 200; this.cmbReinsertion.Name = "cmbTermination1"; this.hbox12.Add(this.cmbReinsertion); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.cmbReinsertion])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.btnEditReinsertion = new global::Gtk.Button(); this.btnEditReinsertion.CanFocus = true; this.btnEditReinsertion.Name = "btnEditReinsertion"; this.btnEditReinsertion.UseUnderline = true; this.btnEditReinsertion.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox12.Add(this.btnEditReinsertion); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.btnEditReinsertion])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.vbxGA.Add(this.hbox12); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox12])); w43.Position = 18; w43.Expand = false; w43.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Termination"); this.vbxGA.Add(this.label11); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label11])); w44.Position = 19; w44.Expand = false; w44.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.cmbTermination = global::Gtk.ComboBox.NewText(); this.cmbTermination.WidthRequest = 200; this.cmbTermination.Name = "cmbTermination"; this.hbox10.Add(this.cmbTermination); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.cmbTermination])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.btnEditTermination = new global::Gtk.Button(); this.btnEditTermination.CanFocus = true; this.btnEditTermination.Name = "btnEditTermination"; this.btnEditTermination.UseUnderline = true; this.btnEditTermination.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox10.Add(this.btnEditTermination); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.btnEditTermination])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.vbxGA.Add(this.hbox10); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox10])); w47.Position = 20; w47.Expand = false; w47.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbxGA.Add(this.hseparator6); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator6])); w48.Position = 21; w48.Expand = false; w48.Fill = false; this.vbxConfig.Add(this.vbxGA); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxGA])); w49.Position = 1; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStart = new global::Gtk.Button(); this.btnStart.CanFocus = true; this.btnStart.Name = "btnStart"; this.btnStart.UseUnderline = true; this.btnStart.Label = global::Mono.Unix.Catalog.GetString("_Start"); this.vbxConfig.Add(this.btnStart); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStart])); w50.Position = 2; w50.Expand = false; w50.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnNew = new global::Gtk.Button(); this.btnNew.CanFocus = true; this.btnNew.Name = "btnNew"; this.btnNew.UseUnderline = true; this.btnNew.Label = global::Mono.Unix.Catalog.GetString("_New"); this.vbxConfig.Add(this.btnNew); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnNew])); w51.Position = 3; w51.Expand = false; w51.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStop = new global::Gtk.Button(); this.btnStop.CanFocus = true; this.btnStop.Name = "btnStop"; this.btnStop.UseUnderline = true; this.btnStop.Label = global::Mono.Unix.Catalog.GetString("_Stop"); this.vbxConfig.Add(this.btnStop); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStop])); w52.Position = 4; w52.Expand = false; w52.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnResume = new global::Gtk.Button(); this.btnResume.CanFocus = true; this.btnResume.Name = "btnResume"; this.btnResume.UseUnderline = true; this.btnResume.Label = global::Mono.Unix.Catalog.GetString("_Resume"); this.vbxConfig.Add(this.btnResume); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnResume])); w53.Position = 5; w53.Expand = false; w53.Fill = false; this.hbxMain.Add(this.vbxConfig); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.vbxConfig])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.Add(this.hbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnResume.Hide(); 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::MonoDevelop.Core.GettextCatalog.GetString ("Edit References"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.DefaultWidth = 520; this.DefaultHeight = 570; 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.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 256; // Container child vpaned1.Gtk.Paned+PanedChild this.mainBook = new global::Gtk.Notebook (); this.mainBook.Name = "mainBook"; this.mainBook.CurrentPage = 0; // Container child mainBook.Gtk.Notebook+NotebookChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.Yalign = 0F; this.label7.LabelProp = "label7"; this.mainBook.Add (this.label7); // Notebook tab this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.Yalign = 0F; this.label6.LabelProp = "label6"; this.mainBook.SetTabLabel (this.label7, this.label6); this.label6.ShowAll (); this.vpaned1.Add (this.mainBook); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.mainBook])); w3.Resize = false; w3.Shrink = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox76 = new global::Gtk.VBox (); this.vbox76.Name = "vbox76"; this.vbox76.Spacing = 6; // Container child vbox76.Gtk.Box+BoxChild this.label114 = new global::Gtk.Label (); this.label114.Name = "label114"; this.label114.Xalign = 0F; this.label114.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Selected references:"); this.vbox76.Add (this.label114); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox76 [this.label114])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox76.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.scrolledwindow2.Add (this.ReferencesTreeView); this.hbox4.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.scrolledwindow2])); w6.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox70 = new global::Gtk.VBox (); this.vbox70.Name = "vbox70"; // Container child vbox70.Gtk.Box+BoxChild this.RemoveReferenceButton = new global::Gtk.Button (); this.RemoveReferenceButton.TooltipMarkup = "Remove"; this.RemoveReferenceButton.Name = "RemoveReferenceButton"; // Container child RemoveReferenceButton.Gtk.Container+ContainerChild this.but = new global::Gtk.Image (); this.but.Name = "but"; this.but.Xalign = 0F; this.but.Yalign = 0F; this.but.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Button); this.RemoveReferenceButton.Add (this.but); this.RemoveReferenceButton.Label = null; this.vbox70.Add (this.RemoveReferenceButton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox70 [this.RemoveReferenceButton])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.hbox4.Add (this.vbox70); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox70])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox76.Add (this.hbox4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox76 [this.hbox4])); w10.Position = 1; this.vpaned1.Add (this.vbox76); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox76])); w11.Resize = false; this.vbox5.Add (this.vpaned1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vpaned1])); w12.Position = 0; w1.Add (this.vbox5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w13.Position = 0; // Internal child MonoDevelop.Ide.Projects.SelectReferenceDialog.ActionArea global::Gtk.HButtonBox w14 = this.ActionArea; w14.Name = "dialog-action_area2"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.cancelbutton])); w15.Expand = false; w15.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 w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.okbutton])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.RemoveReferenceButton.Clicked += new global::System.EventHandler (this.RemoveReference); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.NewAction = new global::Gtk.Action ("NewAction", global::Mono.Unix.Catalog.GetString ("_New"), global::Mono.Unix.Catalog.GetString ("Creates new pipe"), "gtk-new"); this.NewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_New"); w1.Add (this.NewAction, "<Control>n"); this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), global::Mono.Unix.Catalog.GetString ("Opens existing pipe"), "gtk-open"); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.OpenAction, "<Control>o"); this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), global::Mono.Unix.Catalog.GetString ("Saves pipe"), "gtk-floppy"); this.SaveAction.Sensitive = false; this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save"); w1.Add (this.SaveAction, "<Control>s"); this.SaveAsAction = new global::Gtk.Action ("SaveAsAction", global::Mono.Unix.Catalog.GetString ("Save _As"), global::Mono.Unix.Catalog.GetString ("Saves pipe as new file"), "gtk-save-as"); this.SaveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save _As"); w1.Add (this.SaveAsAction, "<Control>q"); this.ImportAction = new global::Gtk.Action ("ImportAction", global::Mono.Unix.Catalog.GetString ("_Import"), global::Mono.Unix.Catalog.GetString ("Imports PCL formatted pipe from the clipboard"), "gtk-go-down"); this.ImportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import"); w1.Add (this.ImportAction, null); this.ExportAction = new global::Gtk.Action ("ExportAction", global::Mono.Unix.Catalog.GetString ("_Export"), global::Mono.Unix.Catalog.GetString ("Exports PCL formatted pipe to the clipboard"), "gtk-go-up"); this.ExportAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export"); w1.Add (this.ExportAction, null); this.ExitAction = new global::Gtk.Action ("ExitAction", global::Mono.Unix.Catalog.GetString ("E_xit"), global::Mono.Unix.Catalog.GetString ("Quits application"), "gtk-quit"); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("E_xit"); w1.Add (this.ExitAction, null); this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit"); w1.Add (this.EditAction, null); this.CutAction = new global::Gtk.Action ("CutAction", global::Mono.Unix.Catalog.GetString ("Cu_t"), null, "gtk-cut"); this.CutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Cu_t"); w1.Add (this.CutAction, "<Control>x"); this.CopyAction = new global::Gtk.Action ("CopyAction", global::Mono.Unix.Catalog.GetString ("_Copy"), null, "gtk-copy"); this.CopyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Copy"); w1.Add (this.CopyAction, "<Control>c"); this.PasteAction = new global::Gtk.Action ("PasteAction", global::Mono.Unix.Catalog.GetString ("_Paste"), null, "gtk-paste"); this.PasteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paste"); w1.Add (this.PasteAction, "<Control>v"); this.DeleteAction = new global::Gtk.Action ("DeleteAction", global::Mono.Unix.Catalog.GetString ("_Delete"), null, "gtk-delete"); this.DeleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Delete"); w1.Add (this.DeleteAction, null); this.SelectAllAction = new global::Gtk.Action ("SelectAllAction", global::Mono.Unix.Catalog.GetString ("Select _All"), null, "gtk-select-all"); this.SelectAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Select _All"); w1.Add (this.SelectAllAction, "<Control>a"); this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("Prefere_nces"), null, "gtk-preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Prefere_nces"); w1.Add (this.PreferencesAction, null); this.PipeAction = new global::Gtk.Action ("PipeAction", global::Mono.Unix.Catalog.GetString ("_Pipe"), null, null); this.PipeAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Pipe"); w1.Add (this.PipeAction, null); this.RunAction = new global::Gtk.Action ("RunAction", global::Mono.Unix.Catalog.GetString ("_Run"), global::Mono.Unix.Catalog.GetString ("Runs entire pipe"), "gtk-media-play"); this.RunAction.Sensitive = false; this.RunAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Run"); w1.Add (this.RunAction, "<Control>r"); this.RunToLineAction = new global::Gtk.Action ("RunToLineAction", global::Mono.Unix.Catalog.GetString ("Run _To Line"), global::Mono.Unix.Catalog.GetString ("Runs pipe to current line only"), "gtk-media-record"); this.RunToLineAction.Sensitive = false; this.RunToLineAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Run _To Line"); w1.Add (this.RunToLineAction, "<Control>t"); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.UserGuideAction = new global::Gtk.Action ("UserGuideAction", global::Mono.Unix.Catalog.GetString ("_User Guide"), null, "gtk-help"); this.UserGuideAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_User Guide"); w1.Add (this.UserGuideAction, "F1"); this.SupportForumAction = new global::Gtk.Action ("SupportForumAction", global::Mono.Unix.Catalog.GetString ("Support _Forum"), null, null); this.SupportForumAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Support _Forum"); w1.Add (this.SupportForumAction, null); this.VisitOurHomepageAction = new global::Gtk.Action ("VisitOurHomepageAction", global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"), null, "gtk-home"); this.VisitOurHomepageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visit Our Homepage"); w1.Add (this.VisitOurHomepageAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.QuickStartTutorialAction = new global::Gtk.Action ("QuickStartTutorialAction", global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"), global::Mono.Unix.Catalog.GetString ("Display quick start tutorial"), null); this.QuickStartTutorialAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quick Start Tutorial"); w1.Add (this.QuickStartTutorialAction, null); this.FontAction = new global::Gtk.Action ("FontAction", global::Mono.Unix.Catalog.GetString ("_Font"), null, null); this.FontAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Font"); w1.Add (this.FontAction, null); this.AppendStrAction = new global::Gtk.Action ("AppendStrAction", global::Mono.Unix.Catalog.GetString ("AppendStr"), null, "gtk-add"); this.AppendStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("AppendStr"); w1.Add (this.AppendStrAction, null); this.BottomLinesAction = new global::Gtk.Action ("BottomLinesAction", global::Mono.Unix.Catalog.GetString ("BottomLines"), null, "gtk-goto-bottom"); this.BottomLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("BottomLines"); w1.Add (this.BottomLinesAction, null); this.CallAction = new global::Gtk.Action ("CallAction", global::Mono.Unix.Catalog.GetString ("Call"), null, null); this.CallAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Call"); w1.Add (this.CallAction, null); this.CountCharsAction = new global::Gtk.Action ("CountCharsAction", global::Mono.Unix.Catalog.GetString ("CountChars"), null, null); this.CountCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountChars"); w1.Add (this.CountCharsAction, null); this.CountLinesAction = new global::Gtk.Action ("CountLinesAction", global::Mono.Unix.Catalog.GetString ("CountLines"), null, null); this.CountLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("CountLines"); w1.Add (this.CountLinesAction, null); this.DelBlankLinesAction = new global::Gtk.Action ("DelBlankLinesAction", global::Mono.Unix.Catalog.GetString ("DelBlankLines"), null, null); this.DelBlankLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelBlankLines"); w1.Add (this.DelBlankLinesAction, null); this.DelCharsAction = new global::Gtk.Action ("DelCharsAction", global::Mono.Unix.Catalog.GetString ("DelChars"), null, null); this.DelCharsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("DelChars"); w1.Add (this.DelCharsAction, null); this.ExclLinesAction = new global::Gtk.Action ("ExclLinesAction", global::Mono.Unix.Catalog.GetString ("ExclLines"), null, null); this.ExclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ExclLines"); w1.Add (this.ExclLinesAction, null); this.InclLinesAction = new global::Gtk.Action ("InclLinesAction", global::Mono.Unix.Catalog.GetString ("InclLines"), null, null); this.InclLinesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InclLines"); w1.Add (this.InclLinesAction, null); this.InsLineNoAction = new global::Gtk.Action ("InsLineNoAction", global::Mono.Unix.Catalog.GetString ("InsLineNo"), null, null); this.InsLineNoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsLineNo"); w1.Add (this.InsLineNoAction, null); this.InsStrAction = new global::Gtk.Action ("InsStrAction", global::Mono.Unix.Catalog.GetString ("InsStr"), null, null); this.InsStrAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("InsStr"); w1.Add (this.InsStrAction, null); this.WrapTextAction = new global::Gtk.ToggleAction ("WrapTextAction", global::Mono.Unix.Catalog.GetString ("_Wrap Text"), null, null); this.WrapTextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Wrap Text"); w1.Add (this.WrapTextAction, null); this.InsertCursorColAction = new global::Gtk.Action ("InsertCursorColAction", global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"), null, "gtk-add"); this.InsertCursorColAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Insert Cursor Col"); w1.Add (this.InsertCursorColAction, null); this.DemosAction = new global::Gtk.Action ("DemosAction", global::Mono.Unix.Catalog.GetString ("_Demos"), null, null); this.DemosAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Demos"); w1.Add (this.DemosAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("PipeWrench"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_standard-filter", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewAction' action='NewAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='SaveAsAction' action='SaveAsAction'/><separator/><menuitem name='ImportAction' action='ImportAction'/><menuitem name='ExportAction' action='ExportAction'/><separator/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='CutAction' action='CutAction'/><menuitem name='CopyAction' action='CopyAction'/><menuitem name='PasteAction' action='PasteAction'/><menuitem name='DeleteAction' action='DeleteAction'/><menuitem name='SelectAllAction' action='SelectAllAction'/><separator/><menuitem name='InsertCursorColAction' action='InsertCursorColAction'/><separator/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='PipeAction' action='PipeAction'><menuitem name='RunAction' action='RunAction'/><menuitem name='RunToLineAction' action='RunToLineAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='UserGuideAction' action='UserGuideAction'/><menuitem name='DemosAction' action='DemosAction'/><separator/><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='NewAction' action='NewAction'/><toolitem name='OpenAction' action='OpenAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='SaveAsAction' action='SaveAsAction'/><separator/><toolitem name='ImportAction' action='ImportAction'/><toolitem name='ExportAction' action='ExportAction'/><separator/><toolitem name='RunAction' action='RunAction'/><toolitem name='RunToLineAction' action='RunToLineAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 178; // Container child hpaned1.Gtk.Paned+PanedChild this.CommandsFrame = new global::Gtk.Frame (); this.CommandsFrame.Name = "CommandsFrame"; this.CommandsFrame.BorderWidth = ((uint)(3)); // Container child CommandsFrame.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(6)); this.GtkAlignment.TopPadding = ((uint)(6)); this.GtkAlignment.RightPadding = ((uint)(6)); this.GtkAlignment.BottomPadding = ((uint)(6)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport (); w4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.UIManager.AddUiFromString ("<ui><toolbar name='CommandsToolbar'/></ui>"); this.CommandsToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/CommandsToolbar"))); this.CommandsToolbar.Name = "CommandsToolbar"; this.CommandsToolbar.Orientation = ((global::Gtk.Orientation)(1)); this.CommandsToolbar.ShowArrow = false; this.CommandsToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(3)); this.CommandsToolbar.IconSize = ((global::Gtk.IconSize)(2)); w4.Add (this.CommandsToolbar); this.scrolledwindow1.Add (w4); this.GtkAlignment.Add (this.scrolledwindow1); this.CommandsFrame.Add (this.GtkAlignment); this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Commands</b>"); this.GtkLabel6.UseMarkup = true; this.CommandsFrame.LabelWidget = this.GtkLabel6; this.hpaned1.Add (this.CommandsFrame); global::Gtk.Paned.PanedChild w9 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.CommandsFrame])); w9.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 156; // Container child vpaned1.Gtk.Paned+PanedChild this.PipeFrame = new global::Gtk.Frame (); this.PipeFrame.Name = "PipeFrame"; this.PipeFrame.BorderWidth = ((uint)(3)); // Container child PipeFrame.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(6)); this.GtkAlignment2.TopPadding = ((uint)(6)); this.GtkAlignment2.RightPadding = ((uint)(6)); this.GtkAlignment2.BottomPadding = ((uint)(6)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.PipeTextView = new global::Gtk.TextView (); this.PipeTextView.TooltipMarkup = "Enter pipe commands here"; this.PipeTextView.CanFocus = true; this.PipeTextView.Name = "PipeTextView"; this.PipeTextView.AcceptsTab = false; this.PipeTextView.RightMargin = 3; this.GtkScrolledWindow.Add (this.PipeTextView); this.vbox3.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow])); w11.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Arguments"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.ArgsEntry = new global::Gtk.Entry (); this.ArgsEntry.TooltipMarkup = "Enter any pipe arguments here"; this.ArgsEntry.CanFocus = true; this.ArgsEntry.Name = "ArgsEntry"; this.ArgsEntry.IsEditable = true; this.ArgsEntry.InvisibleChar = '●'; this.hbox1.Add (this.ArgsEntry); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ArgsEntry])); w13.Position = 1; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.GtkAlignment2.Add (this.vbox3); this.PipeFrame.Add (this.GtkAlignment2); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Pipe</b>"); this.GtkLabel10.UseMarkup = true; this.PipeFrame.LabelWidget = this.GtkLabel10; this.vpaned1.Add (this.PipeFrame); global::Gtk.Paned.PanedChild w17 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.PipeFrame])); w17.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.TextFrame = new global::Gtk.Frame (); this.TextFrame.Name = "TextFrame"; this.TextFrame.BorderWidth = ((uint)(3)); // Container child TextFrame.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(6)); this.GtkAlignment1.TopPadding = ((uint)(6)); this.GtkAlignment1.RightPadding = ((uint)(6)); this.GtkAlignment1.BottomPadding = ((uint)(6)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.TextNotebook = new global::Gtk.Notebook (); this.TextNotebook.CanFocus = true; this.TextNotebook.Name = "TextNotebook"; this.TextNotebook.CurrentPage = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.InputTextView = new global::Gtk.TextView (); this.InputTextView.Buffer.Text = "replace this text\nwith the text you\nwant to edit."; this.InputTextView.TooltipMarkup = "Copy the text to process here"; this.InputTextView.CanFocus = true; this.InputTextView.Name = "InputTextView"; this.InputTextView.AcceptsTab = false; this.InputTextView.RightMargin = 3; this.GtkScrolledWindow1.Add (this.InputTextView); this.vbox2.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); w19.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileEntry = new global::Gtk.Entry (); this.InputFileEntry.TooltipMarkup = "Use browse button to select input text file"; this.InputFileEntry.CanFocus = true; this.InputFileEntry.Name = "InputFileEntry"; this.InputFileEntry.IsEditable = false; this.InputFileEntry.InvisibleChar = '●'; this.hbox2.Add (this.InputFileEntry); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileEntry])); w21.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.InputFileBrowseButton = new global::Gtk.Button (); this.InputFileBrowseButton.TooltipMarkup = "Browse for input text file"; this.InputFileBrowseButton.CanFocus = true; this.InputFileBrowseButton.Name = "InputFileBrowseButton"; this.InputFileBrowseButton.UseUnderline = true; this.InputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox2.Add (this.InputFileBrowseButton); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileBrowseButton])); w22.Position = 2; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.InputFileClearButton = new global::Gtk.Button (); this.InputFileClearButton.TooltipMarkup = "Clear input text file"; this.InputFileClearButton.CanFocus = true; this.InputFileClearButton.Name = "InputFileClearButton"; this.InputFileClearButton.UseUnderline = true; this.InputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox2.Add (this.InputFileClearButton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.InputFileClearButton])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.TextNotebook.Add (this.vbox2); // Container child TextNotebook.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.OutputTextView = new global::Gtk.TextView (); this.OutputTextView.TooltipMarkup = "Edited text is output here"; this.OutputTextView.CanFocus = true; this.OutputTextView.Name = "OutputTextView"; this.OutputTextView.AcceptsTab = false; this.OutputTextView.RightMargin = 3; this.GtkScrolledWindow2.Add (this.OutputTextView); this.vbox4.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); w27.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("File"); this.hbox3.Add (this.label3); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileEntry = new global::Gtk.Entry (); this.OutputFileEntry.TooltipMarkup = "Use browse button to select output text file"; this.OutputFileEntry.CanFocus = true; this.OutputFileEntry.Name = "OutputFileEntry"; this.OutputFileEntry.IsEditable = false; this.OutputFileEntry.InvisibleChar = '●'; this.hbox3.Add (this.OutputFileEntry); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileEntry])); w29.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileBrowseButton = new global::Gtk.Button (); this.OutputFileBrowseButton.TooltipMarkup = "Browse for output text file"; this.OutputFileBrowseButton.CanFocus = true; this.OutputFileBrowseButton.Name = "OutputFileBrowseButton"; this.OutputFileBrowseButton.UseUnderline = true; this.OutputFileBrowseButton.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox3.Add (this.OutputFileBrowseButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileBrowseButton])); w30.Position = 2; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.OutputFileClearButton = new global::Gtk.Button (); this.OutputFileClearButton.TooltipMarkup = "Clear output text file"; this.OutputFileClearButton.CanFocus = true; this.OutputFileClearButton.Name = "OutputFileClearButton"; this.OutputFileClearButton.UseUnderline = true; this.OutputFileClearButton.Label = global::Mono.Unix.Catalog.GetString ("Clear"); this.hbox3.Add (this.OutputFileClearButton); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.OutputFileClearButton])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.vbox4.Add (this.hbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox3])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.TextNotebook.Add (this.vbox4); global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.vbox4])); w33.Position = 1; // Container child TextNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.ErrorsTextView = new global::Gtk.TextView (); this.ErrorsTextView.TooltipMarkup = "Errors are reported here"; this.ErrorsTextView.CanFocus = true; this.ErrorsTextView.Name = "ErrorsTextView"; this.ErrorsTextView.Editable = false; this.ErrorsTextView.AcceptsTab = false; this.ErrorsTextView.RightMargin = 3; this.GtkScrolledWindow3.Add (this.ErrorsTextView); this.TextNotebook.Add (this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w35 = ((global::Gtk.Notebook.NotebookChild)(this.TextNotebook [this.GtkScrolledWindow3])); w35.Position = 2; this.GtkAlignment1.Add (this.TextNotebook); this.TextFrame.Add (this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label (); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Text</b>"); this.GtkLabel14.UseMarkup = true; this.TextFrame.LabelWidget = this.GtkLabel14; this.vpaned1.Add (this.TextFrame); this.hpaned1.Add (this.vpaned1); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w40.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.TheStatusBar = new global::Gtk.Statusbar (); this.TheStatusBar.Name = "TheStatusBar"; this.TheStatusBar.Spacing = 6; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarCursorPosLabel = new global::Gtk.Label (); this.StatusBarCursorPosLabel.Name = "StatusBarCursorPosLabel"; this.StatusBarCursorPosLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("(0, 0)"); this.TheStatusBar.Add (this.StatusBarCursorPosLabel); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarCursorPosLabel])); w41.Position = 0; w41.Expand = false; w41.Fill = false; w41.Padding = ((uint)(4)); // Container child TheStatusBar.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.TheStatusBar.Add (this.vseparator1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.vseparator1])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child TheStatusBar.Gtk.Box+BoxChild this.StatusBarTextLabel = new global::Gtk.Label (); this.StatusBarTextLabel.Name = "StatusBarTextLabel"; this.StatusBarTextLabel.LabelProp = global::Mono.Unix.Catalog.GetString (" "); this.TheStatusBar.Add (this.StatusBarTextLabel); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.TheStatusBar [this.StatusBarTextLabel])); w43.Position = 2; w43.Expand = false; w43.Fill = false; w43.Padding = ((uint)(4)); this.vbox1.Add (this.TheStatusBar); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.TheStatusBar])); w44.Position = 3; w44.Expand = false; w44.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 488; this.DefaultHeight = 458; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.NewAction.Activated += new global::System.EventHandler (this.NewAction_OnActivated); this.OpenAction.Activated += new global::System.EventHandler (this.OpenAction_OnActivated); this.SaveAction.Activated += new global::System.EventHandler (this.SaveAction_OnActivated); this.SaveAsAction.Activated += new global::System.EventHandler (this.SaveAsAction_OnActivated); this.ImportAction.Activated += new global::System.EventHandler (this.ImportAction_OnActivated); this.ExportAction.Activated += new global::System.EventHandler (this.ExportAction_OnActivated); this.ExitAction.Activated += new global::System.EventHandler (this.OnExit); this.CutAction.Activated += new global::System.EventHandler (this.Cut_OnActivated); this.CopyAction.Activated += new global::System.EventHandler (this.Copy_OnActivated); this.PasteAction.Activated += new global::System.EventHandler (this.Paste_OnActivated); this.DeleteAction.Activated += new global::System.EventHandler (this.Delete_OnActivated); this.SelectAllAction.Activated += new global::System.EventHandler (this.SelectAll_OnActivated); this.PreferencesAction.Activated += new global::System.EventHandler (this.Preferences_OnActivated); this.RunAction.Activated += new global::System.EventHandler (this.RunAction_OnActivated); this.RunToLineAction.Activated += new global::System.EventHandler (this.RunToLineAction_OnActivated); this.UserGuideAction.Activated += new global::System.EventHandler (this.UserGuide_OnActivated); this.AboutAction.Activated += new global::System.EventHandler (this.About_OnActivated); this.InsertCursorColAction.Activated += new global::System.EventHandler (this.InsertCursorCol_OnActivated); this.DemosAction.Activated += new global::System.EventHandler (this.Demos_OnActivated); this.PipeTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.PipeTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.PipeTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.PipeTextView.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.PipeTextView_OnKeyReleaseEvent); this.InputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.InputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.InputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.InputFileEntry.Changed += new global::System.EventHandler (this.InputFileEntry_OnChanged); this.InputFileBrowseButton.Clicked += new global::System.EventHandler (this.InputFileBrowseButton_OnClicked); this.InputFileClearButton.Clicked += new global::System.EventHandler (this.InputFileClearButton_Clicked); this.OutputTextView.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.TextView_OnButtonReleaseEvent); this.OutputTextView.MoveCursor += new global::Gtk.MoveCursorHandler (this.TextView_OnMoveCursor); this.OutputTextView.Focused += new global::Gtk.FocusedHandler (this.TextView_OnFocused); this.OutputFileEntry.Changed += new global::System.EventHandler (this.OutputFileEntry_OnChanged); this.OutputFileBrowseButton.Clicked += new global::System.EventHandler (this.OutputFileBrowseButton_OnClicked); this.OutputFileClearButton.Clicked += new global::System.EventHandler (this.OutputFileClearButton_Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.openAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.ViewAction = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View"); w1.Add(this.ViewAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", global::Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About"); w1.Add(this.aboutAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("_Save XML"), null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save XML"); w1.Add(this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction("iconsAction", global::Mono.Unix.Catalog.GetString("Icons"), null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Icons"); w1.Add(this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action("exportAsAction", global::Mono.Unix.Catalog.GetString("_Export As"), null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Export As"); w1.Add(this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action("exportAsRRAction", global::Mono.Unix.Catalog.GetString("RomRaider Def XML"), null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RomRaider Def XML"); w1.Add(this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action("plotExternalAction", global::Mono.Unix.Catalog.GetString("_Plot External (gnuplot)"), null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot"); w1.Add(this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action("checksumWindowAction", global::Mono.Unix.Catalog.GetString("Checksum Window"), null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Checksum Window"); w1.Add(this.checksumWindowAction, null); this.statisticsWindowAction = new global::Gtk.Action("statisticsWindowAction", global::Mono.Unix.Catalog.GetString("Statistics Window"), null, null); this.statisticsWindowAction.Sensitive = false; this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Statistics Window"); w1.Add(this.statisticsWindowAction, null); this.PlotAction = new global::Gtk.Action("PlotAction", global::Mono.Unix.Catalog.GetString("_Plot"), null, null); this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Plot"); w1.Add(this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action("createSVGFileAction", global::Mono.Unix.Catalog.GetString("Create SVG File"), null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Create SVG File"); w1.Add(this.createSVGFileAction, null); this.visualizationAction = new global::Gtk.Action("visualizationAction", global::Mono.Unix.Catalog.GetString("Visualization"), null, "gtk-refresh"); this.visualizationAction.Sensitive = false; this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Visualization"); w1.Add(this.visualizationAction, "<Control>space"); this.DataAction = new global::Gtk.Action("DataAction", global::Mono.Unix.Catalog.GetString("_Data"), null, null); this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Data"); w1.Add(this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString("Export Table as CSV"), null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Export Table as CSV"); w1.Add(this.exportTableAsCSVAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("ScoobyRom"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned(); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 200; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView(); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add(this.treeview2D); this.vpaned2D.Add(this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w4.Resize = false; w4.Shrink = false; this.notebook1.Add(this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("2D Tables"); this.notebook1.SetTabLabel(this.vpaned2D, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned(); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 200; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow(); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView(); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add(this.treeview3D); this.vpaned3D.Add(this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w7.Resize = false; w7.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow(); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add(this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w8.Resize = false; w8.Shrink = false; this.notebook1.Add(this.vpaned3D); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w9.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("3D Tables"); this.notebook1.SetTabLabel(this.vpaned3D, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add(this.progressbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w11.Position = 2; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler(this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler(this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler(this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler(this.OnROMChecksumsActionActivated); this.statisticsWindowAction.Activated += new global::System.EventHandler(this.OnStatisticsWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler(this.OnCreateSVGFileActionActivated); this.visualizationAction.Activated += new global::System.EventHandler(this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler(this.OnExportTableAsCSVActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler(this.OnNotebook1SwitchPage); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.RegexToolkit.RegexToolkitWindow this.Name = "MonoDevelop.RegexToolkit.RegexToolkitWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Regular Expression Toolkit"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child MonoDevelop.RegexToolkit.RegexToolkitWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 393; this.vpaned1.BorderWidth = ((uint)(6)); // Container child vpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 335; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; this.vbox6.BorderWidth = ((uint)(6)); // Container child vbox6.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 ("_Regular Expression"); this.label8.UseUnderline = true; this.vbox6.Add (this.label8); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label8])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.entryRegEx = new global::Gtk.Entry (); this.entryRegEx.CanFocus = true; this.entryRegEx.Name = "entryRegEx"; this.entryRegEx.IsEditable = true; this.entryRegEx.InvisibleChar = '●'; this.vbox6.Add (this.entryRegEx); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.entryRegEx])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbuttonReplace = new global::Gtk.CheckButton (); this.checkbuttonReplace.CanFocus = true; this.checkbuttonReplace.Name = "checkbuttonReplace"; this.checkbuttonReplace.Label = global::Mono.Unix.Catalog.GetString ("_Replace"); this.checkbuttonReplace.Active = true; this.checkbuttonReplace.DrawIndicator = true; this.checkbuttonReplace.UseUnderline = true; this.vbox3.Add (this.checkbuttonReplace); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.checkbuttonReplace])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.entryReplace = new global::Gtk.Entry (); this.entryReplace.CanFocus = true; this.entryReplace.Name = "entryReplace"; this.entryReplace.IsEditable = true; this.entryReplace.InvisibleChar = '●'; this.vbox3.Add (this.entryReplace); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.entryReplace])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.buttonStart = new global::Gtk.Button (); this.buttonStart.CanDefault = true; this.buttonStart.CanFocus = true; this.buttonStart.Name = "buttonStart"; this.buttonStart.UseUnderline = true; // Container child buttonStart.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox (); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Menu); w6.Add (w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label (); w9.LabelProp = global::Mono.Unix.Catalog.GetString ("_Start Regular Expression"); w9.UseUnderline = true; w6.Add (w9); w5.Add (w6); this.buttonStart.Add (w5); this.hbox7.Add (this.buttonStart); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonStart])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 0; w13.Expand = false; w13.Fill = false; this.vbox3.Add (this.hbox7); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w14.PackType = ((global::Gtk.PackType)(1)); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox6.Add (this.vbox3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.vbox3])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow5 = new global::Gtk.ScrolledWindow (); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.optionsTreeview = new global::Gtk.TreeView (); this.optionsTreeview.CanFocus = true; this.optionsTreeview.Name = "optionsTreeview"; this.scrolledwindow5.Add (this.optionsTreeview); this.vbox6.Add (this.scrolledwindow5); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow5])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 3; // Container child vbox6.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("_Options:"); this.label10.UseMarkup = true; this.label10.UseUnderline = true; this.vbox6.Add (this.label10); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label10])); w18.PackType = ((global::Gtk.PackType)(1)); w18.Position = 4; w18.Expand = false; w18.Fill = false; this.hpaned1.Add (this.vbox6); global::Gtk.Paned.PanedChild w19 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox6])); w19.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.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("_Elements:"); this.label11.UseMarkup = true; this.label11.UseUnderline = true; this.vbox4.Add (this.label11); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label11])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.elementsscrolledwindow = new global::Gtk.ScrolledWindow (); this.elementsscrolledwindow.CanFocus = true; this.elementsscrolledwindow.Name = "elementsscrolledwindow"; this.elementsscrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child elementsscrolledwindow.Gtk.Container+ContainerChild this.elementsTreeview = new global::Gtk.TreeView (); this.elementsTreeview.CanFocus = true; this.elementsTreeview.Name = "elementsTreeview"; this.elementsscrolledwindow.Add (this.elementsTreeview); this.vbox4.Add (this.elementsscrolledwindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.elementsscrolledwindow])); w22.Position = 1; this.hpaned1.Add (this.vbox4); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w24.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.HelpWidget = new global::Gtk.VBox (); this.HelpWidget.Name = "HelpWidget"; this.HelpWidget.Spacing = 6; this.HelpWidget.BorderWidth = ((uint)(6)); // Container child HelpWidget.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("_Input:"); this.label9.UseMarkup = true; this.label9.UseUnderline = true; this.HelpWidget.Add (this.label9); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.HelpWidget [this.label9])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child HelpWidget.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.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.inputTextview = new global::Gtk.TextView (); this.inputTextview.CanFocus = true; this.inputTextview.Name = "inputTextview"; this.scrolledwindow1.Add (this.inputTextview); this.hbox5.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.scrolledwindow1])); w27.Position = 0; this.HelpWidget.Add (this.hbox5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.HelpWidget [this.hbox5])); w28.Position = 1; this.vbox1.Add (this.HelpWidget); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.HelpWidget])); w29.Position = 1; this.vpaned1.Add (this.vbox1); global::Gtk.Paned.PanedChild w30 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.vbox1])); w30.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.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.resultsTreeview = new global::Gtk.TreeView (); this.resultsTreeview.CanFocus = true; this.resultsTreeview.Name = "resultsTreeview"; this.scrolledwindow2.Add (this.resultsTreeview); this.notebook2.Add (this.scrolledwindow2); // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Matches"); this.notebook2.SetTabLabel (this.scrolledwindow2, this.label3); this.label3.ShowAll (); // Container child notebook2.Gtk.Notebook+NotebookChild this.scrolledwindow4 = new global::Gtk.ScrolledWindow (); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.replaceResultTextview = new global::Gtk.TextView (); this.replaceResultTextview.CanFocus = true; this.replaceResultTextview.Name = "replaceResultTextview"; this.replaceResultTextview.Editable = false; this.replaceResultTextview.CursorVisible = false; this.scrolledwindow4.Add (this.replaceResultTextview); this.notebook2.Add (this.scrolledwindow4); global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.scrolledwindow4])); w34.Position = 1; // Notebook tab this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Replace"); this.notebook2.SetTabLabel (this.scrolledwindow4, this.label4); this.label4.ShowAll (); this.hbox4.Add (this.notebook2); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.notebook2])); w35.Position = 0; this.vpaned1.Add (this.hbox4); this.vbox2.Add (this.vpaned1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w37.Position = 0; // 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.labelStatus = new global::Gtk.Label (); this.labelStatus.Name = "labelStatus"; this.labelStatus.Xalign = 0F; this.labelStatus.UseMarkup = true; this.labelStatus.UseUnderline = true; this.hbox1.Add (this.labelStatus); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.labelStatus])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox1.Gtk.Box+BoxChild 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-close"; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w39.PackType = ((global::Gtk.PackType)(1)); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonLibrary = new global::Gtk.Button (); this.buttonLibrary.CanDefault = true; this.buttonLibrary.CanFocus = true; this.buttonLibrary.Name = "buttonLibrary"; this.buttonLibrary.UseUnderline = true; this.buttonLibrary.Label = global::Mono.Unix.Catalog.GetString ("Regex Library"); this.hbox1.Add (this.buttonLibrary); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonLibrary])); w40.PackType = ((global::Gtk.PackType)(1)); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w41.Position = 1; w41.Expand = false; w41.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 613; this.DefaultHeight = 623; this.label8.MnemonicWidget = this.inputTextview; this.label10.MnemonicWidget = this.optionsTreeview; this.label11.MnemonicWidget = this.elementsTreeview; this.label9.MnemonicWidget = this.inputTextview; this.labelStatus.MnemonicWidget = this.inputTextview; 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.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 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 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 MonoReports.Gui.Widgets.MainDesignView Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); this.executeAction = new global::Gtk.Action ("executeAction", null, null, "gtk-execute"); w2.Add (this.executeAction, null); this.UIManager.InsertActionGroup (w2, 0); this.Name = "MonoReports.Gui.Widgets.MainDesignView"; // Container child MonoReports.Gui.Widgets.MainDesignView.Gtk.Container+ContainerChild this.mainNotebook = new global::Gtk.Notebook (); this.mainNotebook.CanFocus = true; this.mainNotebook.Events = ((global::Gdk.EventMask)(52992)); this.mainNotebook.Name = "mainNotebook"; this.mainNotebook.CurrentPage = 2; // Container child mainNotebook.Gtk.Notebook+NotebookChild this.designScrolledWindow = new global::Gtk.ScrolledWindow (); this.designScrolledWindow.CanFocus = true; this.designScrolledWindow.Name = "designScrolledWindow"; this.designScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child designScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport (); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.drawingarea = new global::Gtk.DrawingArea (); this.drawingarea.CanFocus = true; this.drawingarea.Events = ((global::Gdk.EventMask)(69382)); this.drawingarea.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.drawingarea.Name = "drawingarea"; w3.Add (this.drawingarea); this.designScrolledWindow.Add (w3); this.mainNotebook.Add (this.designScrolledWindow); // Notebook tab this.designTitleLabel = new global::Gtk.Label (); this.designTitleLabel.Name = "designTitleLabel"; this.designTitleLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("desing"); this.mainNotebook.SetTabLabel (this.designScrolledWindow, this.designTitleLabel); this.designTitleLabel.ShowAll (); // Container child mainNotebook.Gtk.Notebook+NotebookChild this.previewVbox = new global::Gtk.VBox (); this.previewVbox.Name = "previewVbox"; this.previewVbox.Spacing = 6; // Container child previewVbox.Gtk.Box+BoxChild this.previewScrolledWindow = new global::Gtk.ScrolledWindow (); this.previewScrolledWindow.CanFocus = true; this.previewScrolledWindow.Name = "previewScrolledWindow"; this.previewScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child previewScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w7 = new global::Gtk.Viewport (); w7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.previewDrawingArea = new global::Gtk.DrawingArea (); this.previewDrawingArea.Events = ((global::Gdk.EventMask)(774)); this.previewDrawingArea.Name = "previewDrawingArea"; w7.Add (this.previewDrawingArea); this.previewScrolledWindow.Add (w7); this.previewVbox.Add (this.previewScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.previewVbox [this.previewScrolledWindow])); w10.Position = 0; // Container child previewVbox.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='previewToolbar'/></ui>"); this.previewToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/previewToolbar"))); this.previewToolbar.Name = "previewToolbar"; this.previewToolbar.ShowArrow = false; this.previewVbox.Add (this.previewToolbar); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.previewVbox [this.previewToolbar])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.mainNotebook.Add (this.previewVbox); global::Gtk.Notebook.NotebookChild w12 = ((global::Gtk.Notebook.NotebookChild)(this.mainNotebook [this.previewVbox])); w12.Position = 1; // Notebook tab this.previewTitleLabel = new global::Gtk.Label (); this.previewTitleLabel.Name = "previewTitleLabel"; this.previewTitleLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("preview"); this.mainNotebook.SetTabLabel (this.previewVbox, this.previewTitleLabel); this.previewTitleLabel.ShowAll (); // Container child mainNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 399; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.codeTextview = new global::Gtk.TextView (); this.codeTextview.CanFocus = true; this.codeTextview.Name = "codeTextview"; this.GtkScrolledWindow.Add (this.codeTextview); this.vpaned1.Add (this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w14 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow])); w14.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.outputTextview = new global::Gtk.TextView (); this.outputTextview.CanFocus = true; this.outputTextview.Name = "outputTextview"; this.GtkScrolledWindow1.Add (this.outputTextview); this.vpaned1.Add (this.GtkScrolledWindow1); this.vbox2.Add (this.vpaned1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w17.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='executeAction' action='executeAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add (this.toolbar1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.mainNotebook.Add (this.vbox2); global::Gtk.Notebook.NotebookChild w19 = ((global::Gtk.Notebook.NotebookChild)(this.mainNotebook [this.vbox2])); w19.Position = 2; // Notebook tab this.datasourceLabel = new global::Gtk.Label (); this.datasourceLabel.Name = "datasourceLabel"; this.datasourceLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("datasource"); this.mainNotebook.SetTabLabel (this.vbox2, this.datasourceLabel); this.datasourceLabel.ShowAll (); this.Add (this.mainNotebook); if ((this.Child != null)) { this.Child.ShowAll (); } w1.SetUiManager (UIManager); this.Hide (); this.executeAction.Activated += new global::System.EventHandler (this.OnExecuteActionActivated); this.mainNotebook.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnMainNotebookSwitchPage); this.drawingarea.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnDrawingareaButtonPressEvent); this.drawingarea.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnDrawingareaButtonReleaseEvent); this.drawingarea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler (this.OnDrawingareaMotionNotifyEvent); this.drawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingareaExposeEvent); this.drawingarea.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnDrawingareaKeyPressEvent); this.drawingarea.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnDrawingareaKeyReleaseEvent); this.previewDrawingArea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnPreviewDrawingareaExposeEvent); this.previewDrawingArea.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnDrawingareaButtonPressEvent); this.previewDrawingArea.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnDrawingareaButtonReleaseEvent); this.previewDrawingArea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler (this.OnDrawingareaMotionNotifyEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget huggle3.Forms.HuggleForm this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.MainSystemAction = new global::Gtk.Action ("MainSystemAction", global::Mono.Unix.Catalog.GetString ("[[main-system]]"), null, null); this.MainSystemAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.MainSystemAction, 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.MainSystemMessagesAction = new global::Gtk.Action ("MainSystemMessagesAction", global::Mono.Unix.Catalog.GetString ("[[main-system-messages]]"), null, null); this.MainSystemMessagesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Show new messages"); w1.Add (this.MainSystemMessagesAction, 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.MainSystemOptionsAction = new global::Gtk.Action ("MainSystemOptionsAction", global::Mono.Unix.Catalog.GetString ("[[main-system-options]]"), null, null); this.MainSystemOptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences"); w1.Add (this.MainSystemOptionsAction, null); this.MainSystemExitAction = new global::Gtk.Action ("MainSystemExitAction", global::Mono.Unix.Catalog.GetString ("[[main-system-exit]]"), null, null); this.MainSystemExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.MainSystemExitAction, null); this.MainQueueAction = new global::Gtk.Action ("MainQueueAction", global::Mono.Unix.Catalog.GetString ("[[main-queue]]"), null, null); this.MainQueueAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue]]"); w1.Add (this.MainQueueAction, null); this.MainGotoAction = new global::Gtk.Action ("MainGotoAction", global::Mono.Unix.Catalog.GetString ("[[main-goto]]"), null, null); this.MainGotoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-goto]]"); w1.Add (this.MainGotoAction, null); this.MainRevisionAction = new global::Gtk.Action ("MainRevisionAction", global::Mono.Unix.Catalog.GetString ("[[main-revision]]"), null, null); this.MainRevisionAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision]]"); w1.Add (this.MainRevisionAction, null); this.MainPageAction = new global::Gtk.Action ("MainPageAction", global::Mono.Unix.Catalog.GetString ("[[main-page]]"), null, null); this.MainPageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page]]"); w1.Add (this.MainPageAction, null); this.MainUserAction = new global::Gtk.Action ("MainUserAction", global::Mono.Unix.Catalog.GetString ("[[main-user]]"), null, null); this.MainUserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-user]]"); w1.Add (this.MainUserAction, null); this.MainBrowserAction = new global::Gtk.Action ("MainBrowserAction", global::Mono.Unix.Catalog.GetString ("[[main-browser]]"), null, null); this.MainBrowserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-browser]]"); w1.Add (this.MainBrowserAction, null); this.MainQueueNextAction = new global::Gtk.Action ("MainQueueNextAction", global::Mono.Unix.Catalog.GetString ("[[main-queue-next]]"), null, null); this.MainQueueNextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue-next]]"); w1.Add (this.MainQueueNextAction, null); this.MainQueueClearAction = new global::Gtk.Action ("MainQueueClearAction", global::Mono.Unix.Catalog.GetString ("[[main-queue-clear]]"), null, null); this.MainQueueClearAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue-clear]]"); w1.Add (this.MainQueueClearAction, null); this.MainQueueTrimAction = new global::Gtk.Action ("MainQueueTrimAction", global::Mono.Unix.Catalog.GetString ("[[main-queue-trim]]"), null, null); this.MainQueueTrimAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue-trim]]"); w1.Add (this.MainQueueTrimAction, null); this.MainQueueClearAllAction = new global::Gtk.Action ("MainQueueClearAllAction", global::Mono.Unix.Catalog.GetString ("[[main-queue-clear-all]]"), null, null); this.MainQueueClearAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue-clear-all]]"); w1.Add (this.MainQueueClearAllAction, null); this.MainQueueOptionsAction = new global::Gtk.Action ("MainQueueOptionsAction", global::Mono.Unix.Catalog.GetString ("[[main-queue-options]]"), null, null); this.MainQueueOptionsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-queue-options]]"); w1.Add (this.MainQueueOptionsAction, null); this.MainGotoTalkAction = new global::Gtk.Action ("MainGotoTalkAction", global::Mono.Unix.Catalog.GetString ("[[main-goto-talk]]"), null, null); this.MainGotoTalkAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-goto-talk]]"); w1.Add (this.MainGotoTalkAction, null); this.MainGotoMyContAction = new global::Gtk.Action ("MainGotoMyContAction", global::Mono.Unix.Catalog.GetString ("[[main-goto-my-cont]]"), null, null); this.MainGotoMyContAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-goto-my-cont]]"); w1.Add (this.MainGotoMyContAction, null); this.MainRevisionViewAction = new global::Gtk.Action ("MainRevisionViewAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-view]]"), null, null); this.MainRevisionViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-view]]"); w1.Add (this.MainRevisionViewAction, null); this.MainRevisionRevertAction = new global::Gtk.Action ("MainRevisionRevertAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-revert]]"), null, null); this.MainRevisionRevertAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-revert]]"); w1.Add (this.MainRevisionRevertAction, null); this.MainRevisionGoodAction = new global::Gtk.Action ("MainRevisionGoodAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-good]]"), null, null); this.MainRevisionGoodAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-good]]"); w1.Add (this.MainRevisionGoodAction, null); this.MainRevisionSightAction = new global::Gtk.Action ("MainRevisionSightAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-sight]]"), null, null); this.MainRevisionSightAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-sight]]"); w1.Add (this.MainRevisionSightAction, null); this.MainRevisionPreviousAction = new global::Gtk.Action ("MainRevisionPreviousAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-previous]]"), null, null); this.MainRevisionPreviousAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-previous]]"); w1.Add (this.MainRevisionPreviousAction, null); this.MainRevisionNextAction = new global::Gtk.Action ("MainRevisionNextAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-next]]"), null, null); this.MainRevisionNextAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-next]]"); w1.Add (this.MainRevisionNextAction, null); this.MainRevisionLatestAction = new global::Gtk.Action ("MainRevisionLatestAction", global::Mono.Unix.Catalog.GetString ("[[main-revision-latest]]"), null, null); this.MainRevisionLatestAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-revision-latest]]"); w1.Add (this.MainRevisionLatestAction, null); this.MainPageSwitchtotalkAction = new global::Gtk.Action ("MainPageSwitchtotalkAction", global::Mono.Unix.Catalog.GetString ("[[main-page-switchtotalk]]"), null, null); this.MainPageSwitchtotalkAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-switchtotalk]]"); w1.Add (this.MainPageSwitchtotalkAction, null); this.MainPageViewlatestAction = new global::Gtk.Action ("MainPageViewlatestAction", global::Mono.Unix.Catalog.GetString ("[[main-page-viewlatest]]"), null, null); this.MainPageViewlatestAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-viewlatest]]"); w1.Add (this.MainPageViewlatestAction, null); this.MainPageHistoryAction = new global::Gtk.Action ("MainPageHistoryAction", global::Mono.Unix.Catalog.GetString ("[[main-page-history]]"), null, null); this.MainPageHistoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-history]]"); w1.Add (this.MainPageHistoryAction, null); this.MainPageHistorypageAction = new global::Gtk.Action ("MainPageHistorypageAction", global::Mono.Unix.Catalog.GetString ("[[main-page-historypage]]"), null, null); this.MainPageHistorypageAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-historypage]]"); w1.Add (this.MainPageHistorypageAction, null); this.MainPageEditAction = new global::Gtk.Action ("MainPageEditAction", global::Mono.Unix.Catalog.GetString ("[[main-page-edit]]"), null, null); this.MainPageEditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-edit]]"); w1.Add (this.MainPageEditAction, null); this.MainPageTagAction = new global::Gtk.Action ("MainPageTagAction", global::Mono.Unix.Catalog.GetString ("[[main-page-tag]]"), null, null); this.MainPageTagAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-page-tag]]"); w1.Add (this.MainPageTagAction, null); this.MainUserShowAction = new global::Gtk.Action ("MainUserShowAction", global::Mono.Unix.Catalog.GetString ("[[main-user-show]]"), null, null); this.MainUserShowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-user-show]]"); w1.Add (this.MainUserShowAction, null); this.MainUserIgnoreAction = new global::Gtk.Action ("MainUserIgnoreAction", global::Mono.Unix.Catalog.GetString ("[[main-user-ignore]]"), null, null); this.MainUserIgnoreAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("[[main-user-ignore]]"); w1.Add (this.MainUserIgnoreAction, null); this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); w1.Add (this.goBackAction, null); this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); w1.Add (this.goForwardAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "huggle3.Forms.HuggleForm"; this.Title = global::Mono.Unix.Catalog.GetString ("HuggleForm"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child huggle3.Forms.HuggleForm.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=\'MainSystemAction\' action=\'MainSystemActi" + "on\'><menuitem name=\'MainSystemMessagesAction\' action=\'MainSystemMessagesAction\'/" + "><separator/><menuitem name=\'MainSystemOptionsAction\' action=\'MainSystemOptionsA" + "ction\'/><menuitem name=\'MainSystemExitAction\' action=\'MainSystemExitAction\'/></m" + "enu><menu name=\'MainQueueAction\' action=\'MainQueueAction\'><menuitem name=\'MainQu" + "eueNextAction\' action=\'MainQueueNextAction\'/><separator/><menuitem name=\'MainQue" + "ueTrimAction\' action=\'MainQueueTrimAction\'/><menuitem name=\'MainQueueClearAction" + "\' action=\'MainQueueClearAction\'/><menuitem name=\'MainQueueClearAllAction\' action" + "=\'MainQueueClearAllAction\'/><menuitem name=\'MainQueueOptionsAction\' action=\'Main" + "QueueOptionsAction\'/></menu><menu name=\'MainGotoAction\' action=\'MainGotoAction\'>" + "<menuitem name=\'MainGotoTalkAction\' action=\'MainGotoTalkAction\'/><menuitem name=" + "\'MainGotoMyContAction\' action=\'MainGotoMyContAction\'/></menu><menu name=\'MainRev" + "isionAction\' action=\'MainRevisionAction\'><menuitem name=\'MainRevisionViewAction\'" + " action=\'MainRevisionViewAction\'/><menuitem name=\'MainRevisionRevertAction\' acti" + "on=\'MainRevisionRevertAction\'/><menuitem name=\'MainRevisionGoodAction\' action=\'M" + "ainRevisionGoodAction\'/><menuitem name=\'MainRevisionSightAction\' action=\'MainRev" + "isionSightAction\'/><separator/><menuitem name=\'MainRevisionPreviousAction\' actio" + "n=\'MainRevisionPreviousAction\'/><menuitem name=\'MainRevisionNextAction\' action=\'" + "MainRevisionNextAction\'/><menuitem name=\'MainRevisionLatestAction\' action=\'MainR" + "evisionLatestAction\'/></menu><menu name=\'MainPageAction\' action=\'MainPageAction\'" + "><menuitem name=\'MainPageSwitchtotalkAction\' action=\'MainPageSwitchtotalkAction\'" + "/><separator/><menuitem name=\'MainPageViewlatestAction\' action=\'MainPageViewlate" + "stAction\'/><menuitem name=\'MainPageHistoryAction\' action=\'MainPageHistoryAction\'" + "/><menuitem name=\'MainPageHistorypageAction\' action=\'MainPageHistorypageAction\'/" + "><separator/><menuitem name=\'MainPageEditAction\' action=\'MainPageEditAction\'/><m" + "enuitem name=\'MainPageTagAction\' action=\'MainPageTagAction\'/></menu><menu name=\'" + "MainUserAction\' action=\'MainUserAction\'><menuitem name=\'MainUserShowAction\' acti" + "on=\'MainUserShowAction\'/><menuitem name=\'MainUserIgnoreAction\' action=\'MainUserI" + "gnoreAction\'/></menu><menu name=\'MainBrowserAction\' action=\'MainBrowserAction\'/>" + "<menu name=\'HelpAction\' action=\'HelpAction\'/></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'/></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar2\'><toolitem name=\'goBackAction\' action=\'goBackAction\'/" + "><toolitem name=\'goForwardAction\' action=\'goForwardAction\'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.vbox1.Add (this.toolbar2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar2])); w4.Position = 2; w4.Expand = false; w4.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 = 68; // Container child hpaned1.Gtk.Paned+PanedChild this.queuepanel1 = null; this.hpaned1.Add (this.queuepanel1); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.queuepanel1])); w5.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 = 215; // 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.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add (this.textview1); this.vpaned1.Add (this.GtkScrolledWindow); this.hpaned1.Add (this.vpaned1); this.vbox1.Add (this.hpaned1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hpaned1])); w9.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 w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 936; this.DefaultHeight = 500; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QS.HistoryLog.Dialogs.HistoryView global::Stetic.BinContainer.Attach(this); this.Name = "QS.HistoryLog.Dialogs.HistoryView"; // Container child QS.HistoryLog.Dialogs.HistoryView.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.buttonSearch = new global::Gtk.Button(); this.buttonSearch.CanFocus = true; this.buttonSearch.Name = "buttonSearch"; this.buttonSearch.UseUnderline = true; global::Gtk.Image w1 = new global::Gtk.Image(); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu); this.buttonSearch.Image = w1; this.table1.Add(this.buttonSearch); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.buttonSearch])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(5)); w2.LeftAttach = ((uint)(4)); w2.RightAttach = ((uint)(5)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboAction = new global::Gamma.Widgets.yEnumComboBox(); this.comboAction.Name = "comboAction"; this.comboAction.ShowSpecialStateAll = true; this.comboAction.ShowSpecialStateNot = false; this.comboAction.UseShortTitle = false; this.comboAction.DefaultFirst = false; this.table1.Add(this.comboAction); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.comboAction])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboProperty = new global::Gamma.Widgets.ySpecComboBox(); this.comboProperty.Name = "comboProperty"; this.comboProperty.AddIfNotExist = false; this.comboProperty.DefaultFirst = false; this.comboProperty.ShowSpecialStateAll = true; this.comboProperty.ShowSpecialStateNot = false; this.table1.Add(this.comboProperty); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboProperty])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboUsers = new global::Gtk.ComboBox(); this.comboUsers.Name = "comboUsers"; this.table1.Add(this.comboUsers); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.comboUsers])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.datacomboObject = new global::Gamma.Widgets.ySpecComboBox(); this.datacomboObject.Name = "datacomboObject"; this.datacomboObject.AddIfNotExist = false; this.datacomboObject.DefaultFirst = false; this.datacomboObject.ShowSpecialStateAll = true; this.datacomboObject.ShowSpecialStateNot = false; this.table1.Add(this.datacomboObject); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.datacomboObject])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entrySearchEntity = new global::Gtk.Entry(); this.entrySearchEntity.CanFocus = true; this.entrySearchEntity.Name = "entrySearchEntity"; this.entrySearchEntity.IsEditable = true; this.entrySearchEntity.InvisibleChar = '●'; this.table1.Add(this.entrySearchEntity); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchEntity])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entrySearchValue = new global::Gtk.Entry(); this.entrySearchValue.CanFocus = true; this.entrySearchValue.Name = "entrySearchValue"; this.entrySearchValue.IsEditable = true; this.entrySearchValue.InvisibleChar = '●'; this.table1.Add(this.entrySearchValue); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entrySearchValue])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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("Пользователь:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Действие с объектом:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.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("Поиск по изменениям:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 1F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Объект изменений:"); this.table1.Add(this.label6); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Реквизит объекта:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.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("Поиск по имени объекта:"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label9])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.selectperiod = new global::QSWidgetLib.SelectPeriod(); this.selectperiod.Events = ((global::Gdk.EventMask)(256)); this.selectperiod.Name = "selectperiod"; this.selectperiod.DateBegin = new global::System.DateTime(0); this.selectperiod.DateEnd = new global::System.DateTime(0); this.selectperiod.AutoDateSeparation = true; this.selectperiod.ShowToday = true; this.selectperiod.ShowWeek = true; this.selectperiod.ShowMonth = true; this.selectperiod.Show3Month = true; this.selectperiod.Show6Month = false; this.selectperiod.ShowYear = false; this.selectperiod.ShowAllTime = false; this.selectperiod.ShowCurWeek = false; this.selectperiod.ShowCurMonth = false; this.selectperiod.ShowCurQuarter = false; this.selectperiod.ShowCurYear = false; this.table1.Add(this.selectperiod); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.selectperiod])); w15.BottomAttach = ((uint)(3)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 203; // Container child vpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindowChangesets = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindowChangesets.Name = "GtkScrolledWindowChangesets"; this.GtkScrolledWindowChangesets.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowChangesets.Gtk.Container+ContainerChild this.datatreeChangesets = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChangesets.CanFocus = true; this.datatreeChangesets.Name = "datatreeChangesets"; this.GtkScrolledWindowChangesets.Add(this.datatreeChangesets); this.vpaned1.Add(this.GtkScrolledWindowChangesets); global::Gtk.Paned.PanedChild w18 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.GtkScrolledWindowChangesets])); w18.Resize = false; w18.Shrink = false; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Детали изменений:"); this.vbox3.Add(this.label7); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label7])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox3.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.datatreeChanges = new global::Gamma.GtkWidgets.yTreeView(); this.datatreeChanges.CanFocus = true; this.datatreeChanges.Name = "datatreeChanges"; this.GtkScrolledWindow1.Add(this.datatreeChanges); this.vbox3.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1])); w21.Position = 1; this.vpaned1.Add(this.vbox3); global::Gtk.Paned.PanedChild w22 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3])); w22.Resize = false; w22.Shrink = false; this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vpaned1])); w23.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.selectperiod.DatesChanged += new global::System.EventHandler(this.OnSelectperiodDatesChanged); this.entrySearchValue.Activated += new global::System.EventHandler(this.OnEntrySearchActivated); this.entrySearchEntity.Activated += new global::System.EventHandler(this.OnEntrySearchEntityActivated); this.datacomboObject.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnDatacomboObjectItemSelected); this.comboUsers.Changed += new global::System.EventHandler(this.OnComboUsersChanged); this.comboProperty.ItemSelected += new global::System.EventHandler <Gamma.Widgets.ItemSelectedEventArgs>(this.OnComboPropertyItemSelected); this.comboAction.Changed += new global::System.EventHandler(this.OnComboActionChanged); this.buttonSearch.Clicked += new global::System.EventHandler(this.OnButtonSearchClicked); }
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 MequantaStudio.SmartQuant.InstrumentDataWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.refreshAction = new global::Gtk.Action("refreshAction", null, null, "gtk-refresh"); w2.Add(this.refreshAction, null); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MequantaStudio.SmartQuant.InstrumentDataWidget"; // Container child MequantaStudio.SmartQuant.InstrumentDataWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='refreshAction' action='refreshAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox2.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 156; // 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.dsTvw = new global::Gtk.TreeView(); this.dsTvw.CanFocus = true; this.dsTvw.Name = "dsTvw"; this.GtkScrolledWindow.Add(this.dsTvw); this.vpaned1.Add(this.GtkScrolledWindow); global::Gtk.Paned.PanedChild w5 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.GtkScrolledWindow])); w5.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.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.detailTvw = new global::Gtk.TreeView(); this.detailTvw.CanFocus = true; this.detailTvw.Name = "detailTvw"; this.GtkScrolledWindow1.Add(this.detailTvw); this.notebook1.Add(this.GtkScrolledWindow1); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Data"); this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label3); this.label3.ShowAll(); this.vpaned1.Add(this.notebook1); this.vbox2.Add(this.vpaned1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vpaned1])); w9.Position = 1; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); 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.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 129; // Container child vpaned1.Gtk.Paned+PanedChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); this.frame1.Add(this.GtkAlignment); this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w2.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); this.frame2.Add(this.GtkAlignment1); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel1.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel1; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame2])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.eventbox2 = new global::Gtk.EventBox(); this.eventbox2.Name = "eventbox2"; // Container child eventbox2.Gtk.Container+ContainerChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("GtkExpander"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.eventbox2.Add(this.expander1); this.alignment1.Add(this.eventbox2); this.vbox1.Add(this.alignment1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.alignment1])); w7.Position = 2; this.vpaned1.Add(this.vbox1); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned1[this.vbox1])); w8.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.hbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w10.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Notebook tab global::Gtk.Label w11 = new global::Gtk.Label(); w11.Visible = true; this.notebook1.Add(w11); this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebook1.SetTabLabel(w11, this.label1); this.label1.ShowAll(); this.hbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.notebook1])); w12.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); this.frame3.Add(this.GtkAlignment2); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>GtkFrame</b>"); this.GtkLabel3.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel3; w13.Add(this.frame3); this.scrolledwindow1.Add(w13); this.hbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); w17.Position = 2; this.vpaned1.Add(this.hbox1); this.Add(this.vpaned1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quitAction, null); this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null); this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View"); w1.Add (this.ViewAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("_Save XML"), null, "gtk-save"); this.saveAction.Sensitive = false; this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save XML"); w1.Add (this.saveAction, null); this.iconsAction = new global::Gtk.ToggleAction ("iconsAction", global::Mono.Unix.Catalog.GetString ("Icons"), null, null); this.iconsAction.Sensitive = false; this.iconsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Icons"); w1.Add (this.iconsAction, "<Control>i"); this.exportAsAction = new global::Gtk.Action ("exportAsAction", global::Mono.Unix.Catalog.GetString ("_Export As"), null, null); this.exportAsAction.Sensitive = false; this.exportAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Export As"); w1.Add (this.exportAsAction, null); this.exportAsRRAction = new global::Gtk.Action ("exportAsRRAction", global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"), null, "gtk-save-as"); this.exportAsRRAction.Sensitive = false; this.exportAsRRAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("RomRaider Def XML"); w1.Add (this.exportAsRRAction, null); this.plotExternalAction = new global::Gtk.Action ("plotExternalAction", global::Mono.Unix.Catalog.GetString ("_Plot External (gnuplot)"), null, null); this.plotExternalAction.Sensitive = false; this.plotExternalAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot"); w1.Add (this.plotExternalAction, "<Control>p"); this.checksumWindowAction = new global::Gtk.Action ("checksumWindowAction", global::Mono.Unix.Catalog.GetString ("Checksum Window"), null, null); this.checksumWindowAction.Sensitive = false; this.checksumWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Checksum Window"); w1.Add (this.checksumWindowAction, null); this.statisticsWindowAction = new global::Gtk.Action ("statisticsWindowAction", global::Mono.Unix.Catalog.GetString ("Statistics Window"), null, null); this.statisticsWindowAction.Sensitive = false; this.statisticsWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Statistics Window"); w1.Add (this.statisticsWindowAction, null); this.PlotAction = new global::Gtk.Action ("PlotAction", global::Mono.Unix.Catalog.GetString ("_Plot"), null, null); this.PlotAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Plot"); w1.Add (this.PlotAction, null); this.createSVGFileAction = new global::Gtk.Action ("createSVGFileAction", global::Mono.Unix.Catalog.GetString ("Create SVG File"), null, null); this.createSVGFileAction.Sensitive = false; this.createSVGFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create SVG File"); w1.Add (this.createSVGFileAction, null); this.visualizationAction = new global::Gtk.Action ("visualizationAction", global::Mono.Unix.Catalog.GetString ("Visualization"), null, "gtk-refresh"); this.visualizationAction.Sensitive = false; this.visualizationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Visualization"); w1.Add (this.visualizationAction, "<Control>space"); this.DataAction = new global::Gtk.Action ("DataAction", global::Mono.Unix.Catalog.GetString ("_Data"), null, null); this.DataAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Data"); w1.Add (this.DataAction, null); this.exportTableAsCSVAction = new global::Gtk.Action ("exportTableAsCSVAction", global::Mono.Unix.Catalog.GetString ("Export Table as CSV"), null, null); this.exportTableAsCSVAction.Sensitive = false; this.exportTableAsCSVAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Table as CSV"); w1.Add (this.exportTableAsCSVAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ScoobyRom"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><menuitem name='saveAction' action='saveAction'/><separator/><menu name='exportAsAction' action='exportAsAction'><menuitem name='exportAsRRAction' action='exportAsRRAction'/></menu><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='visualizationAction' action='visualizationAction'/><menuitem name='iconsAction' action='iconsAction'/><menuitem name='checksumWindowAction' action='checksumWindowAction'/><menuitem name='statisticsWindowAction' action='statisticsWindowAction'/></menu><menu name='PlotAction' action='PlotAction'><menuitem name='plotExternalAction' action='plotExternalAction'/><menuitem name='createSVGFileAction' action='createSVGFileAction'/></menu><menu name='DataAction' action='DataAction'><menuitem name='exportTableAsCSVAction' action='exportTableAsCSVAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned2D = new global::Gtk.VPaned (); this.vpaned2D.CanFocus = true; this.vpaned2D.Name = "vpaned2D"; this.vpaned2D.Position = 200; // Container child vpaned2D.Gtk.Paned+PanedChild this.GtkScrolledWindowTV2D = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindowTV2D.Name = "GtkScrolledWindowTV2D"; this.GtkScrolledWindowTV2D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindowTV2D.Gtk.Container+ContainerChild this.treeview2D = new global::Gtk.TreeView (); this.treeview2D.CanFocus = true; this.treeview2D.Name = "treeview2D"; this.GtkScrolledWindowTV2D.Add (this.treeview2D); this.vpaned2D.Add (this.GtkScrolledWindowTV2D); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned2D [this.GtkScrolledWindowTV2D])); w4.Resize = false; w4.Shrink = false; this.notebook1.Add (this.vpaned2D); // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("2D Tables"); this.notebook1.SetTabLabel (this.vpaned2D, this.label1); this.label1.ShowAll (); // Container child notebook1.Gtk.Notebook+NotebookChild this.vpaned3D = new global::Gtk.VPaned (); this.vpaned3D.CanFocus = true; this.vpaned3D.Name = "vpaned3D"; this.vpaned3D.Position = 200; // Container child vpaned3D.Gtk.Paned+PanedChild this.ScrolledWindowTV3D = new global::Gtk.ScrolledWindow (); this.ScrolledWindowTV3D.Name = "ScrolledWindowTV3D"; this.ScrolledWindowTV3D.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ScrolledWindowTV3D.Gtk.Container+ContainerChild this.treeview3D = new global::Gtk.TreeView (); this.treeview3D.CanFocus = true; this.treeview3D.Name = "treeview3D"; this.ScrolledWindowTV3D.Add (this.treeview3D); this.vpaned3D.Add (this.ScrolledWindowTV3D); global::Gtk.Paned.PanedChild w7 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.ScrolledWindowTV3D])); w7.Resize = false; w7.Shrink = false; // Container child vpaned3D.Gtk.Paned+PanedChild this.scrolledwindowTable3D = new global::Gtk.ScrolledWindow (); this.scrolledwindowTable3D.CanFocus = true; this.scrolledwindowTable3D.Name = "scrolledwindowTable3D"; this.scrolledwindowTable3D.ShadowType = ((global::Gtk.ShadowType)(1)); this.vpaned3D.Add (this.scrolledwindowTable3D); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned3D [this.scrolledwindowTable3D])); w8.Resize = false; w8.Shrink = false; this.notebook1.Add (this.vpaned3D); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vpaned3D])); w9.Position = 1; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("3D Tables"); this.notebook1.SetTabLabel (this.vpaned3D, this.label2); this.label2.ShowAll (); this.vbox1.Add (this.notebook1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.notebook1])); w10.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.statusbar1.Add (this.progressbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.progressbar1])); w11.Position = 2; this.vbox1.Add (this.statusbar1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w12.PackType = ((global::Gtk.PackType)(1)); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 938; this.DefaultHeight = 702; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAbout); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.iconsAction.Activated += new global::System.EventHandler (this.OnIconsActionActivated); this.exportAsRRAction.Activated += new global::System.EventHandler (this.OnExportAsRRActionActivated); this.plotExternalAction.Activated += new global::System.EventHandler (this.OnPlotActionActivated); this.checksumWindowAction.Activated += new global::System.EventHandler (this.OnROMChecksumsActionActivated); this.statisticsWindowAction.Activated += new global::System.EventHandler (this.OnStatisticsWindowActionActivated); this.createSVGFileAction.Activated += new global::System.EventHandler (this.OnCreateSVGFileActionActivated); this.visualizationAction.Activated += new global::System.EventHandler (this.OnVisualizationAction); this.exportTableAsCSVAction.Activated += new global::System.EventHandler (this.OnExportTableAsCSVActionActivated); this.notebook1.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook1SwitchPage); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget lab07.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("Открыть"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Открыть"); w1.Add(this.openAction, "<Primary><Mod2>o"); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Сохранить схему"), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить схему"); w1.Add(this.saveAsAction, "<Primary><Mod2>s"); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("Сохранить картинку"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить картинку"); w1.Add(this.convertAction, "<Primary><Alt><Mod2>s"); this.indexAction = new global::Gtk.Action("indexAction", global::Mono.Unix.Catalog.GetString("Сохранить журнал"), null, "gtk-index"); this.indexAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Сохранить журнал"); w1.Add(this.indexAction, "<Alt><Mod2>s"); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Выйти"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Выйти"); w1.Add(this.quitAction, "<Primary><Mod2>q"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "lab07.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child lab07.MainWindow.Gtk.Container+ContainerChild this.vpaned = new global::Gtk.VPaned(); this.vpaned.CanFocus = true; this.vpaned.Name = "vpaned"; this.vpaned.Position = 320; // Container child vpaned.Gtk.Paned+PanedChild this.vboxUp = new global::Gtk.VBox(); this.vboxUp.Name = "vboxUp"; this.vboxUp.Spacing = 6; // Container child vboxUp.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolBar'><toolitem name='openAction' action='openAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='convertAction' action='convertAction'/><toolitem name='indexAction' action='indexAction'/><toolitem name='quitAction' action='quitAction'/></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)(2)); this.toolBar.IconSize = ((global::Gtk.IconSize)(1)); this.vboxUp.Add(this.toolBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.toolBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxUp.Gtk.Box+BoxChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.vboxUp.Add(this.drawingArea); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxUp[this.drawingArea])); w3.Position = 1; this.vpaned.Add(this.vboxUp); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.vpaned[this.vboxUp])); w4.Resize = false; // Container child vpaned.Gtk.Paned+PanedChild this.vboxDown = new global::Gtk.VBox(); this.vboxDown.Name = "vboxDown"; this.vboxDown.Spacing = 6; // Container child vboxDown.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.viewLogText = new global::Gtk.TextView(); this.viewLogText.CanFocus = true; this.viewLogText.Name = "viewLogText"; this.GtkScrolledWindow.Add(this.viewLogText); this.vboxDown.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.GtkScrolledWindow])); w6.Position = 0; // Container child vboxDown.Gtk.Box+BoxChild this.statusBar = new global::Gtk.Statusbar(); this.statusBar.Name = "statusBar"; this.statusBar.Spacing = 6; this.vboxDown.Add(this.statusBar); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxDown[this.statusBar])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vpaned.Add(this.vboxDown); this.Add(this.vpaned); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 697; this.DefaultHeight = 418; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.effectDelete); this.openAction.Activated += new global::System.EventHandler(this.effectLoadScheme); this.saveAsAction.Activated += new global::System.EventHandler(this.effectSaveScheme); this.convertAction.Activated += new global::System.EventHandler(this.effectSavePic); this.indexAction.Activated += new global::System.EventHandler(this.effectSaveLog); this.quitAction.Activated += new global::System.EventHandler(this.effectQuit); this.drawingArea.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.effectMotion); this.drawingArea.ExposeEvent += new global::Gtk.ExposeEventHandler(this.effectExpose); }
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.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"; this.scrolledLoading.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledLoading.Gtk.Container+ContainerChild global::Gtk.Viewport w4 = new global::Gtk.Viewport(); w4.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..."); w4.Add(this.label3); this.scrolledLoading.Add(w4); this.vbox4.Add(this.scrolledLoading); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLoading])); w7.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.scrolledLog = new global::Gtk.ScrolledWindow(); this.scrolledLog.Name = "scrolledLog"; this.scrolledLog.ShadowType = ((global::Gtk.ShadowType)(1)); // 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 w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scrolledLog])); w9.Position = 1; this.hpaned1.Add(this.vbox4); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox4])); w10.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.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // 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 w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.imageUser])); w11.Position = 0; w11.Expand = false; w11.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 w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelAuthor])); w12.Position = 0; w12.Expand = false; w12.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 w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelRevision])); w13.Position = 1; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w14.Position = 0; w14.Expand = false; w14.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 w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelDate])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w16.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); 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"; 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.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.scrolledwindowFiles.ShadowType = ((global::Gtk.ShadowType)(1)); 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 = 1; 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 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 MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.quitAction, null); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.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.FileAction1 = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction1, null); this.quitAction2 = new global::Gtk.Action("quitAction2", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction2, null); this.ViewAudioAction = new global::Gtk.Action("ViewAudioAction", global::Mono.Unix.Catalog.GetString("View Audio"), null, null); this.ViewAudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Audio"); w1.Add(this.ViewAudioAction, null); this.harddiskAction = new global::Gtk.Action("harddiskAction", global::Mono.Unix.Catalog.GetString("View Audio Files"), null, "gtk-harddisk"); this.harddiskAction.ShortLabel = global::Mono.Unix.Catalog.GetString("View Audio Files"); w1.Add(this.harddiskAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("NeoSPeech API GUI"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar2'><menu name='FileAction1' action='FileAction1'><menuitem name='harddiskAction' action='harddiskAction'/><menuitem name='quitAction2' action='quitAction2'/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox1.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vpaned4 = new global::Gtk.VPaned(); this.vpaned4.CanFocus = true; this.vpaned4.Name = "vpaned4"; this.vpaned4.Position = 91; // Container child vpaned4.Gtk.Paned+PanedChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.fixed6 = new global::Gtk.Fixed(); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.table4.Add(this.fixed6); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table4 [this.fixed6])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Text To Transform"); this.table4.Add(this.label2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2])); w4.XPadding = ((uint)(5)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add(this.table4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.GtkScrolledWindow.Add(this.textview2); this.vbox4.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow])); w7.Position = 1; this.vpaned4.Add(this.vbox4); global::Gtk.Paned.PanedChild w8 = ((global::Gtk.Paned.PanedChild)(this.vpaned4 [this.vbox4])); w8.Resize = false; // Container child vpaned4.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)(3)), ((uint)(6)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.combobox_input_format = global::Gtk.ComboBox.NewText(); this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("NORMAL")); this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("SSML")); this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("HTML")); this.combobox_input_format.AppendText(global::Mono.Unix.Catalog.GetString("EMAIL")); this.combobox_input_format.Name = "combobox_input_format"; this.combobox_input_format.Active = 0; this.table1.Add(this.combobox_input_format); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_input_format])); 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.combobox_output_format = global::Gtk.ComboBox.NewText(); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("Default")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("Wav")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("PCM")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("MULAW")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ALAW")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ADPCM")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("ASF")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("OGG")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("8BITWAV")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("AWAV")); this.combobox_output_format.AppendText(global::Mono.Unix.Catalog.GetString("MUWAV")); this.combobox_output_format.Name = "combobox_output_format"; this.combobox_output_format.Active = 0; this.table1.Add(this.combobox_output_format); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_output_format])); w10.LeftAttach = ((uint)(3)); w10.RightAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry_filename = new global::Gtk.Entry(); this.entry_filename.CanFocus = true; this.entry_filename.Name = "entry_filename"; this.entry_filename.Text = global::Mono.Unix.Catalog.GetString("output.wav"); this.entry_filename.IsEditable = true; this.entry_filename.InvisibleChar = '•'; this.table1.Add(this.entry_filename); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry_filename])); w11.LeftAttach = ((uint)(5)); w11.RightAttach = ((uint)(6)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Input Format"); this.label3.Justify = ((global::Gtk.Justification)(1)); this.label3.MaxWidthChars = 12; this.table1.Add(this.label3); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w12.XPadding = ((uint)(5)); 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("Output Format"); this.label4.Justify = ((global::Gtk.Justification)(1)); this.label4.MaxWidthChars = 13; this.table1.Add(this.label4); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); 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.LabelProp = global::Mono.Unix.Catalog.GetString("Filename"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w14.LeftAttach = ((uint)(4)); w14.RightAttach = ((uint)(5)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1])); w15.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.BorderWidth = ((uint)(9)); this.button3.Label = global::Mono.Unix.Catalog.GetString("Create Audio"); this.table2.Add(this.button3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.button3])); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed4 = new global::Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.table2.Add(this.fixed4); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed4])); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table2])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vpaned4.Add(this.vbox5); this.vbox1.Add(this.vpaned4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vpaned4])); w20.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 775; this.DefaultHeight = 381; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.harddiskAction.Activated += new global::System.EventHandler(this.view_files); this.combobox_output_format.Changed += new global::System.EventHandler(this.output_format_changed); this.combobox_input_format.Changed += new global::System.EventHandler(this.text_format_changed); this.button3.Clicked += new global::System.EventHandler(this.tts_call); }