protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.D.AddPathDialog this.Name = "MonoDevelop.D.AddPathDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Add Path"); this.Modal = true; // Internal child MonoDevelop.D.AddPathDialog.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.file_chooser_widget = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.file_chooser_widget.Name = "file_chooser_widget"; this.file_chooser_widget.ShowHidden = true; w1.Add(this.file_chooser_widget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.file_chooser_widget])); w2.Position = 0; // Internal child MonoDevelop.D.AddPathDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.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 w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 649; this.DefaultHeight = 436; this.Show(); 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 MonoDevelop.ValaBinding.AddPathDialog this.Name = "MonoDevelop.ValaBinding.AddPathDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Add Path"); this.Modal = true; // Internal child MonoDevelop.ValaBinding.AddPathDialog.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.file_chooser_widget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.file_chooser_widget.Name = "file_chooser_widget"; this.file_chooser_widget.ShowHidden = true; w1.Add (this.file_chooser_widget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.file_chooser_widget])); w2.Position = 0; // Internal child MonoDevelop.ValaBinding.AddPathDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 6; w3.BorderWidth = ((uint)(5)); w3.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 w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 649; this.DefaultHeight = 436; this.Show (); 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 SSLMaker.fileBrowser this.Name = "SSLMaker.fileBrowser"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child SSLMaker.fileBrowser.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.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.filechooserwidget2 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.alignment1.Add(this.filechooserwidget2); w1.Add(this.alignment1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment1])); w3.Position = 0; // Internal child SSLMaker.fileBrowser.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonCancel])); w5.Expand = false; w5.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 w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonOk])); w6.Position = 1; w6.Expand = false; w6.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 649; this.DefaultHeight = 431; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MyTest.SelectTestFileDlg this.Name = "MyTest.SelectTestFileDlg"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MyTest.SelectTestFileDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.testFileChooserDlg = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.testFileChooserDlg.Name = "testFileChooserDlg"; w1.Add(this.testFileChooserDlg); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.testFileChooserDlg])); w2.Position = 0; // Internal child MyTest.SelectTestFileDlg.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.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-quit"; this.AddActionWidget(this.buttonCancel, -2); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.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-open"; this.AddActionWidget(this.buttonOk, -3); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 552; this.DefaultHeight = 445; this.Show(); this.testFileChooserDlg.CurrentFolderChanged += new global::System.EventHandler(this.ConfineToTestDirectory); this.buttonOk.Activated += new global::System.EventHandler(this.BtnOpenClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget SSLMaker.fileBrowser this.Name = "SSLMaker.fileBrowser"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child SSLMaker.fileBrowser.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.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.filechooserwidget2 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.alignment1.Add (this.filechooserwidget2); w1.Add (this.alignment1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment1])); w3.Position = 0; // Internal child SSLMaker.fileBrowser.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonCancel])); w5.Expand = false; w5.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 w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonOk])); w6.Position = 1; w6.Expand = false; w6.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 649; this.DefaultHeight = 431; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget YoutubeDLGui.FolderChooserDialog this.Name = "YoutubeDLGui.FolderChooserDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child YoutubeDLGui.FolderChooserDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.folderChooserWidget = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.folderChooserWidget.Name = "folderChooserWidget"; w1.Add(this.folderChooserWidget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.folderChooserWidget])); w2.Position = 0; // Internal child YoutubeDLGui.FolderChooserDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.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 w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel])); w4.Expand = false; w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 787; this.DefaultHeight = 540; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget UltimateArchiverZ.FileChooserDialog this.Name = "UltimateArchiverZ.FileChooserDialog"; this.Title = global::Mono.Unix.Catalog.GetString("dialog1"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child UltimateArchiverZ.FileChooserDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.Name = "filechooserwidget1"; w1.Add(this.filechooserwidget1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.filechooserwidget1])); w2.Position = 0; // Internal child UltimateArchiverZ.FileChooserDialog.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.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 w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 820; this.DefaultHeight = 455; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ryuk.FilePicker this.Name = "ryuk.FilePicker"; this.Title = global::Mono.Unix.Catalog.GetString("FilePicker"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ryuk.FilePicker.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.filechooserwidget4 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget4.Name = "filechooserwidget4"; this.vbox5.Add(this.filechooserwidget4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.filechooserwidget4])); w1.Position = 0; // 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.button11 = new global::Gtk.Button(); this.button11.CanFocus = true; this.button11.UseUnderline = true; this.button11.Label = global::Mono.Unix.Catalog.GetString("Cancel"); this.hbox2.Add(this.button11); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.button11])); w2.Position = 0; // Container child hbox2.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("Choose"); this.hbox2.Add(this.button9); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.button9])); w3.Position = 1; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add(this.vbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 482; this.DefaultHeight = 366; this.Show(); this.filechooserwidget4.UpdatePreview += new global::System.EventHandler(this.filePicked); this.button11.Clicked += new global::System.EventHandler(this.cancelSelection); this.button9.Clicked += new global::System.EventHandler(this.chooseFile); }
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 guiTesting.fileOpen this.Name = "guiTesting.fileOpen"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child guiTesting.fileOpen.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.Name = "filechooserwidget1"; w1.Add (this.filechooserwidget1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.filechooserwidget1])); w2.Position = 0; // Internal child guiTesting.fileOpen.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.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 w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonCancel])); w4.Expand = false; w4.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 w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk])); w5.Position = 1; w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget KursachAttemp2.View.FileChoosing this.Name = "KursachAttemp2.View.FileChoosing"; this.Title = global::Mono.Unix.Catalog.GetString("FileChoosing"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child KursachAttemp2.View.FileChoosing.Gtk.Container+ContainerChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.filechooserwidget4 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.filechooserwidget4.Name = "filechooserwidget4"; this.vbox7.Add(this.filechooserwidget4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.filechooserwidget4])); w1.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.help_label = new global::Gtk.Label(); this.help_label.Name = "help_label"; this.help_label.LabelProp = global::Mono.Unix.Catalog.GetString("Please, choose a lable where data is stored"); this.hbox4.Add(this.help_label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.help_label])); w2.Position = 0; w2.Expand = false; // Container child hbox4.Gtk.Box+BoxChild this.choose_file = new global::Gtk.Button(); this.choose_file.CanFocus = true; this.choose_file.Name = "choose_file"; this.choose_file.UseUnderline = true; this.choose_file.Label = global::Mono.Unix.Catalog.GetString("Ok"); this.hbox4.Add(this.choose_file); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.choose_file])); w3.Position = 1; this.vbox7.Add(this.hbox4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.hbox4])); w4.Position = 1; w4.Expand = false; this.Add(this.vbox7); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 594; this.DefaultHeight = 380; this.Show(); this.choose_file.Clicked += new global::System.EventHandler(this.return_path); }
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 MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox1.Add (this.filechooserwidget1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.filechooserwidget1])); w1.Position = 0; // 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.exportButton = new global::Gtk.Button (); this.exportButton.CanFocus = true; this.exportButton.Name = "exportButton"; this.exportButton.UseUnderline = true; this.exportButton.Label = global::Mono.Unix.Catalog.GetString ("Start"); this.hbox1.Add (this.exportButton); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.exportButton])); w2.Position = 0; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.exportButton.Clicked += new global::System.EventHandler (this.OnExportButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget QuaverToManiaConverter.FileExplorer this.Name = "QuaverToManiaConverter.FileExplorer"; this.Title = global::Mono.Unix.Catalog.GetString("FileExplorer"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child QuaverToManiaConverter.FileExplorer.Gtk.Container+ContainerChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.Name = "filechooserwidget1"; this.Add(this.filechooserwidget1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 818; this.DefaultHeight = 519; this.Show(); this.filechooserwidget1.FileActivated += new global::System.EventHandler(this.OnFilechooserwidget1FileActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MaxbukAdmin.EditDialog this.Name = "MaxbukAdmin.EditDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MaxbukAdmin.EditDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 3; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name"); w1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; w1.Add (this.entry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.entry1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Path"); w1.Add (this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.label2])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this._chooseFolder = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this._chooseFolder.Name = "_chooseFolder"; w1.Add (this._chooseFolder); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this._chooseFolder])); w5.Position = 3; // Internal child MaxbukAdmin.EditDialog.ActionArea global::Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.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 w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel])); w7.Expand = false; w7.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 w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget XR.Baboon.FindSourceFileDialog this.Name = "XR.Baboon.FindSourceFileDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Select File Location"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-directory", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child XR.Baboon.FindSourceFileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xpad = 3; this.label1.Ypad = 3; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Locate missing sources"); this.label1.UseMarkup = true; 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.assemblyName = new global::Gtk.Label (); this.assemblyName.Name = "assemblyName"; this.assemblyName.Xpad = 3; this.assemblyName.Ypad = 3; this.assemblyName.Xalign = 0F; this.assemblyName.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Foo.Bar.Whatever Version=0.0.0</b>"); this.assemblyName.UseMarkup = true; this.vbox2.Add (this.assemblyName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.assemblyName])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.missingFilePath = new global::Gtk.Label (); this.missingFilePath.Name = "missingFilePath"; this.missingFilePath.Xpad = 3; this.missingFilePath.Ypad = 3; this.missingFilePath.Xalign = 0F; this.missingFilePath.LabelProp = global::Mono.Unix.Catalog.GetString ("this/is/a/path/to/a/missing/source/file.cs"); this.missingFilePath.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.vbox2.Add (this.missingFilePath); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.missingFilePath])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fileChooser = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(2))); this.fileChooser.Name = "fileChooser"; this.vbox2.Add (this.fileChooser); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fileChooser])); w5.Position = 3; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w6.Position = 0; // Internal child XR.Baboon.FindSourceFileDialog.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 10; w7.BorderWidth = ((uint)(5)); w7.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 w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel])); w8.Expand = false; w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 630; this.DefaultHeight = 466; 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.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Quit"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.dialogQuestionAction, null); this.zoomInAction1 = new global::Gtk.Action("zoomInAction1", null, null, "gtk-zoom-in"); w1.Add(this.zoomInAction1, null); this.zoomInAction = new global::Gtk.Action("zoomInAction", null, null, "gtk-zoom-in"); w1.Add(this.zoomInAction, null); this.zoomOutAction = new global::Gtk.Action("zoomOutAction", null, null, "gtk-zoom-out"); w1.Add(this.zoomOutAction, null); this.zoomOutAction1 = new global::Gtk.Action("zoomOutAction1", null, null, "gtk-zoom-out"); w1.Add(this.zoomOutAction1, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.MainmenuHelpAction = new global::Gtk.Action("MainmenuHelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, "gtk-help"); this.MainmenuHelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.MainmenuHelpAction, null); this.helpAction = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.helpAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction = new global::Gtk.Action("protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueA" + "ction", global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"), null, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction.ShortLabel = global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"); w1.Add(this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1 = new global::Gtk.Action("protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueA" + "ction1", global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"), null, null); this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("protected void OnDeleteEvent(object sender, DeleteEventArgs a)\n\t{\n\t\tApplication.Q" + "uit();\n\t\ta.RetVal = true;\n\t}\n\n\n"); w1.Add(this.protectedVoidOnDeleteEventObjectSenderDeleteEventArgsAApplicationQuitARetValTrueAction1, null); this.MenuoptionAbout = new global::Gtk.Action("MenuoptionAbout", global::Mono.Unix.Catalog.GetString("About"), null, "gtk-about"); this.MenuoptionAbout.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.MenuoptionAbout, null); this.ResetLayoutAction = new global::Gtk.Action("ResetLayoutAction", global::Mono.Unix.Catalog.GetString("Reset layout"), null, null); this.ResetLayoutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Reset layout"); w1.Add(this.ResetLayoutAction, null); this.OnResetLayoutAction = new global::Gtk.Action("OnResetLayoutAction", global::Mono.Unix.Catalog.GetString("OnResetLayout"), null, null); this.OnResetLayoutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("OnResetLayout"); w1.Add(this.OnResetLayoutAction, null); this.clearAction = new global::Gtk.Action("clearAction", null, null, "gtk-clear"); w1.Add(this.clearAction, null); this.clearAction1 = new global::Gtk.Action("clearAction1", global::Mono.Unix.Catalog.GetString("_Reset layout"), null, "gtk-clear"); this.clearAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Reset layout"); w1.Add(this.clearAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.OuterVBox = new global::Gtk.VBox(); this.OuterVBox.Events = ((global::Gdk.EventMask)(32768)); this.OuterVBox.Name = "OuterVBox"; this.OuterVBox.Spacing = 6; // Container child OuterVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='ProgramMenubar'><menu name='FileAction' action='FileAction'><menuitem name='clearAction1' action='clearAction1'/><menuitem name='quitAction' action='quitAction'/></menu><menu name='MainmenuHelpAction' action='MainmenuHelpAction'><menuitem name='MenuoptionAbout' action='MenuoptionAbout'/></menu></menubar></ui>"); this.ProgramMenubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/ProgramMenubar"))); this.ProgramMenubar.Name = "ProgramMenubar"; this.OuterVBox.Add(this.ProgramMenubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.OuterVBox[this.ProgramMenubar])); w2.Position = 0; w2.Expand = false; // Container child OuterVBox.Gtk.Box+BoxChild this.TabsheetMsgboxDividor = new global::Gtk.VPaned(); this.TabsheetMsgboxDividor.CanFocus = true; this.TabsheetMsgboxDividor.Name = "TabsheetMsgboxDividor"; this.TabsheetMsgboxDividor.Position = 646; this.TabsheetMsgboxDividor.BorderWidth = ((uint)(4)); // Container child TabsheetMsgboxDividor.Gtk.Paned+PanedChild this.MainTabNotebook = new global::Gtk.Notebook(); this.MainTabNotebook.CanFocus = true; this.MainTabNotebook.Name = "MainTabNotebook"; this.MainTabNotebook.CurrentPage = 0; // Container child MainTabNotebook.Gtk.Notebook+NotebookChild this.WorkbenchHPaneD = new global::Gtk.HPaned(); this.WorkbenchHPaneD.CanFocus = true; this.WorkbenchHPaneD.Name = "WorkbenchHPaneD"; this.WorkbenchHPaneD.Position = 502; // Container child WorkbenchHPaneD.Gtk.Paned+PanedChild this.WorkbenchLeftVPaneD = new global::Gtk.VPaned(); this.WorkbenchLeftVPaneD.CanFocus = true; this.WorkbenchLeftVPaneD.Name = "WorkbenchLeftVPaneD"; this.WorkbenchLeftVPaneD.Position = 274; // Container child WorkbenchLeftVPaneD.Gtk.Paned+PanedChild this.InputImageFileSelector = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.InputImageFileSelector.Name = "InputImageFileSelector"; this.WorkbenchLeftVPaneD.Add(this.InputImageFileSelector); global::Gtk.Paned.PanedChild w3 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchLeftVPaneD[this.InputImageFileSelector])); w3.Resize = false; // Container child WorkbenchLeftVPaneD.Gtk.Paned+PanedChild this.InputImageVBox = new global::Gtk.VBox(); this.InputImageVBox.Name = "InputImageVBox"; this.InputImageVBox.Spacing = 6; // Container child InputImageVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'InputImageToolbar\'><toolitem name=\'zoomInAction\' action=\'zoomI" + "nAction\'/><toolitem name=\'zoomOutAction\' action=\'zoomOutAction\'/></toolbar></ui>" + ""); this.InputImageToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/InputImageToolbar"))); this.InputImageToolbar.Name = "InputImageToolbar"; this.InputImageToolbar.ShowArrow = false; this.InputImageVBox.Add(this.InputImageToolbar); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.InputImageVBox[this.InputImageToolbar])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child InputImageVBox.Gtk.Box+BoxChild this.InputimageWindow = new global::Gtk.ScrolledWindow(); this.InputimageWindow.CanFocus = true; this.InputimageWindow.Name = "InputimageWindow"; this.InputimageWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child InputimageWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w5 = new global::Gtk.Viewport(); w5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.InputImageDisplay = new global::Gtk.Image(); this.InputImageDisplay.Name = "InputImageDisplay"; w5.Add(this.InputImageDisplay); this.InputimageWindow.Add(w5); this.InputImageVBox.Add(this.InputimageWindow); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.InputImageVBox[this.InputimageWindow])); w8.Position = 1; this.WorkbenchLeftVPaneD.Add(this.InputImageVBox); this.WorkbenchHPaneD.Add(this.WorkbenchLeftVPaneD); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchHPaneD[this.WorkbenchLeftVPaneD])); w10.Resize = false; // Container child WorkbenchHPaneD.Gtk.Paned+PanedChild this.WorkbenchRightVPaneD = new global::Gtk.VPaned(); this.WorkbenchRightVPaneD.CanFocus = true; this.WorkbenchRightVPaneD.Name = "WorkbenchRightVPaneD"; this.WorkbenchRightVPaneD.Position = 49; // Container child WorkbenchRightVPaneD.Gtk.Paned+PanedChild this.TilesetSelector = global::Gtk.ComboBox.NewText(); this.TilesetSelector.Name = "TilesetSelector"; this.WorkbenchRightVPaneD.Add(this.TilesetSelector); global::Gtk.Paned.PanedChild w11 = ((global::Gtk.Paned.PanedChild)(this.WorkbenchRightVPaneD[this.TilesetSelector])); w11.Resize = false; // Container child WorkbenchRightVPaneD.Gtk.Paned+PanedChild this.PreviewImageVBox = new global::Gtk.VBox(); this.PreviewImageVBox.Name = "PreviewImageVBox"; this.PreviewImageVBox.Spacing = 6; // Container child PreviewImageVBox.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'PreviewImageToolbar\'><toolitem name=\'zoomInAction1\' action=\'zo" + "omInAction1\'/><toolitem name=\'zoomOutAction1\' action=\'zoomOutAction1\'/></toolbar" + "></ui>"); this.PreviewImageToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/PreviewImageToolbar"))); this.PreviewImageToolbar.Name = "PreviewImageToolbar"; this.PreviewImageToolbar.ShowArrow = false; this.PreviewImageVBox.Add(this.PreviewImageToolbar); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.PreviewImageVBox[this.PreviewImageToolbar])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child PreviewImageVBox.Gtk.Box+BoxChild this.PreviewImageWindow = new global::Gtk.ScrolledWindow(); this.PreviewImageWindow.CanFocus = true; this.PreviewImageWindow.Name = "PreviewImageWindow"; this.PreviewImageWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child PreviewImageWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w13 = new global::Gtk.Viewport(); w13.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.PreviewImageDisplay = new global::Gtk.Image(); this.PreviewImageDisplay.Name = "PreviewImageDisplay"; w13.Add(this.PreviewImageDisplay); this.PreviewImageWindow.Add(w13); this.PreviewImageVBox.Add(this.PreviewImageWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.PreviewImageVBox[this.PreviewImageWindow])); w16.Position = 1; this.WorkbenchRightVPaneD.Add(this.PreviewImageVBox); this.WorkbenchHPaneD.Add(this.WorkbenchRightVPaneD); this.MainTabNotebook.Add(this.WorkbenchHPaneD); // Notebook tab this.WorkbenchTab = new global::Gtk.Label(); this.WorkbenchTab.Name = "WorkbenchTab"; this.WorkbenchTab.LabelProp = global::Mono.Unix.Catalog.GetString("Workbench"); this.MainTabNotebook.SetTabLabel(this.WorkbenchHPaneD, this.WorkbenchTab); this.WorkbenchTab.ShowAll(); // Container child MainTabNotebook.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.TilesetTextContent = new global::Gtk.TextView(); this.TilesetTextContent.CanFocus = true; this.TilesetTextContent.Name = "TilesetTextContent"; this.GtkScrolledWindow3.Add(this.TilesetTextContent); this.MainTabNotebook.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.MainTabNotebook[this.GtkScrolledWindow3])); w21.Position = 1; // Notebook tab this.TilesetsTab = new global::Gtk.Label(); this.TilesetsTab.Name = "TilesetsTab"; this.TilesetsTab.LabelProp = global::Mono.Unix.Catalog.GetString("Tilesets"); this.MainTabNotebook.SetTabLabel(this.GtkScrolledWindow3, this.TilesetsTab); this.TilesetsTab.ShowAll(); // Notebook tab global::Gtk.Label w22 = new global::Gtk.Label(); w22.Visible = true; this.MainTabNotebook.Add(w22); this.ExportTab = new global::Gtk.Label(); this.ExportTab.Name = "ExportTab"; this.ExportTab.LabelProp = global::Mono.Unix.Catalog.GetString("Export"); this.MainTabNotebook.SetTabLabel(w22, this.ExportTab); this.ExportTab.ShowAll(); this.TabsheetMsgboxDividor.Add(this.MainTabNotebook); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.TabsheetMsgboxDividor[this.MainTabNotebook])); w23.Resize = false; // Container child TabsheetMsgboxDividor.Gtk.Paned+PanedChild this.MessageBoxPane = new global::Gtk.ScrolledWindow(); this.MessageBoxPane.Name = "MessageBoxPane"; this.MessageBoxPane.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child MessageBoxPane.Gtk.Container+ContainerChild this.MessagesBox = new global::Gtk.TextView(); this.MessagesBox.HeightRequest = 32; this.MessagesBox.Name = "MessagesBox"; this.MessageBoxPane.Add(this.MessagesBox); this.TabsheetMsgboxDividor.Add(this.MessageBoxPane); this.OuterVBox.Add(this.TabsheetMsgboxDividor); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.OuterVBox[this.TabsheetMsgboxDividor])); w26.PackType = ((global::Gtk.PackType)(1)); w26.Position = 1; this.Add(this.OuterVBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 981; this.DefaultHeight = 891; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.zoomInAction.Activated += new global::System.EventHandler(this.OnInputImageZoomin); this.helpAction.Activated += new global::System.EventHandler(this.ShowAbout); this.quitAction.Activated += new global::System.EventHandler(this.QuitRequested); this.MenuoptionAbout.Activated += new global::System.EventHandler(this.ShowAbout); this.clearAction1.Activated += new global::System.EventHandler(this.OnResetLayout); this.InputImageFileSelector.SelectionChanged += new global::System.EventHandler(this.OnInputImageFileSelectorSelectionChanged); this.TilesetSelector.Changed += new global::System.EventHandler(this.OnTilesetSelectorChanged); this.WorkbenchTab.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnTabExpose); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MyTestCreator.SelectTestToEncryptDlg this.Name = "MyTestCreator.SelectTestToEncryptDlg"; this.Title = global::Mono.Unix.Catalog.GetString("MyTest Composer"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MyTestCreator.SelectTestToEncryptDlg.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.TestFileChooser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.TestFileChooser.Name = "TestFileChooser"; w1.Add(this.TestFileChooser); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.TestFileChooser])); w2.Position = 0; // Internal child MyTestCreator.SelectTestToEncryptDlg.ActionArea global::Gtk.HButtonBox w3 = this.ActionArea; w3.Name = "dialog1_ActionArea"; w3.Spacing = 10; w3.BorderWidth = ((uint)(5)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnQuit = new global::Gtk.Button(); this.btnQuit.CanDefault = true; this.btnQuit.CanFocus = true; this.btnQuit.Name = "btnQuit"; this.btnQuit.UseStock = true; this.btnQuit.UseUnderline = true; this.btnQuit.Label = "gtk-quit"; this.AddActionWidget(this.btnQuit, 0); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.btnQuit])); w4.Expand = false; w4.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnRestore = new global::Gtk.Button(); this.btnRestore.CanFocus = true; this.btnRestore.Name = "btnRestore"; this.btnRestore.UseUnderline = true; this.btnRestore.Label = global::Mono.Unix.Catalog.GetString("Исходный текст"); global::Gtk.Image w5 = new global::Gtk.Image(); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-undo", global::Gtk.IconSize.Menu); this.btnRestore.Image = w5; this.AddActionWidget(this.btnRestore, 0); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.btnRestore])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.btnCompile = new global::Gtk.Button(); this.btnCompile.CanDefault = true; this.btnCompile.CanFocus = true; this.btnCompile.Name = "btnCompile"; this.btnCompile.UseUnderline = true; this.btnCompile.Label = global::Mono.Unix.Catalog.GetString("Скомпоновать"); global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); this.btnCompile.Image = w7; this.AddActionWidget(this.btnCompile, -10); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.btnCompile])); w8.Position = 2; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 769; this.DefaultHeight = 565; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDelete); this.btnQuit.Clicked += new global::System.EventHandler(this.BtnQuit); this.btnRestore.Clicked += new global::System.EventHandler(this.BtnDecomposeClick); this.btnCompile.Clicked += new global::System.EventHandler(this.BtnComposeClick); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoGame.Tools.Pipeline.CollectionEditorDialog this.Name = "MonoGame.Tools.Pipeline.CollectionEditorDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Reference Editor"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoGame.Tools.Pipeline.CollectionEditorDialog.VBox #if GTK2 global::Gtk.VBox w1 = this.VBox; #elif GTK3 global::Gtk.Box w1 = this.ContentArea; #endif w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 573; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); #if GTK3 this.filechooserwidget1.Expand = true; #endif this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox2.Add (this.filechooserwidget1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.filechooserwidget1])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox2.Add (this.alignment1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment1])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button (); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseStock = true; this.button9.UseUnderline = true; this.button9.Label = "gtk-add"; this.hbox2.Add (this.button9); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button9])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned1.Add (this.vbox2); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w6.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox1.Add (this.alignment2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment2])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button (); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseStock = true; this.button10.UseUnderline = true; this.button10.Label = "gtk-remove"; this.hbox1.Add (this.button10); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button10])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox3.Add (this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.EnableSearch = false; this.treeview1.HeadersVisible = false; this.GtkScrolledWindow2.Add (this.treeview1); this.vbox3.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow2])); w11.Position = 1; this.hpaned1.Add (this.vbox3); w1.Add (this.hpaned1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w13.Position = 0; // Internal child MonoGame.Tools.Pipeline.CollectionEditorDialog.ActionArea #if GTK2 global::Gtk.HButtonBox w14 = this.ActionArea; #elif GTK3 global::Gtk.ButtonBox w14 = this.ActionArea; #endif w14.Name = "dialog1_ActionArea"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonCancel])); w15.Expand = false; w15.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"; w14.Add (this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 800; this.DefaultHeight = 397; this.Show (); this.Response += new global::Gtk.ResponseHandler (this.OnResponse); this.filechooserwidget1.FileActivated += new global::System.EventHandler (this.AddFileEvent); this.button9.Clicked += new global::System.EventHandler (this.AddFileEvent); this.button10.Clicked += new global::System.EventHandler (this.RemoveFileEvent); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.openAction = new global::Gtk.Action("openAction", global::Mono.Unix.Catalog.GetString("_Open"), global::Mono.Unix.Catalog.GetString("Open nes rom"), "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open"); w1.Add(this.openAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit"); w1.Add(this.quitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.helpAction = new global::Gtk.Action("helpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.helpAction, "F1"); this.AboutMyNesGTKAction = new global::Gtk.Action("AboutMyNesGTKAction", global::Mono.Unix.Catalog.GetString("_About My Nes GTK"), null, "MyNesIcon"); this.AboutMyNesGTKAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About My Nes GTK"); w1.Add(this.AboutMyNesGTKAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", global::Mono.Unix.Catalog.GetString("_Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Settings"); w1.Add(this.SettingsAction, null); this.VideoAction = new global::Gtk.Action("VideoAction", global::Mono.Unix.Catalog.GetString("_Video"), global::Mono.Unix.Catalog.GetString("Configure emulation video settings"), "VideoSettings"); this.VideoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Video"); w1.Add(this.VideoAction, "<Primary><Alt>v"); this.AudioAction = new global::Gtk.Action("AudioAction", global::Mono.Unix.Catalog.GetString("Audio"), global::Mono.Unix.Catalog.GetString("Configure emulation audio settings"), "Audio"); this.AudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Audio"); w1.Add(this.AudioAction, "<Primary><Alt>a"); this.PathsAction = new global::Gtk.Action("PathsAction", global::Mono.Unix.Catalog.GetString("_Paths"), global::Mono.Unix.Catalog.GetString("Configure emulation paths settings"), "Paths"); this.PathsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Paths"); w1.Add(this.PathsAction, "<Primary><Alt>p"); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", global::Mono.Unix.Catalog.GetString("_Preferences"), global::Mono.Unix.Catalog.GetString("Configure emulation preferences ..."), "Preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Preferences"); w1.Add(this.PreferencesAction, "<Primary><Alt>q"); this.openAction1 = new global::Gtk.Action("openAction1", global::Mono.Unix.Catalog.GetString("Open rom"), global::Mono.Unix.Catalog.GetString("Open rom"), "gtk-open"); this.openAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Open rom"); w1.Add(this.openAction1, null); this.VideoSettingsAction = new global::Gtk.Action("VideoSettingsAction", global::Mono.Unix.Catalog.GetString("Video Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation video"), "VideoSettings"); this.VideoSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Video Settings"); w1.Add(this.VideoSettingsAction, null); this.AudioSettingsAction = new global::Gtk.Action("AudioSettingsAction", global::Mono.Unix.Catalog.GetString("Audio Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation audio"), "Audio"); this.AudioSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Audio Settings"); w1.Add(this.AudioSettingsAction, null); this.PathsSettingsAction = new global::Gtk.Action("PathsSettingsAction", global::Mono.Unix.Catalog.GetString("Paths Settings"), global::Mono.Unix.Catalog.GetString("Configure emulation paths settings"), "Paths"); this.PathsSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Paths Settings"); w1.Add(this.PathsSettingsAction, null); this.PreferencesAction1 = new global::Gtk.Action("PreferencesAction1", global::Mono.Unix.Catalog.GetString("Preferences"), global::Mono.Unix.Catalog.GetString("Emulation preferences"), "Preferences"); this.PreferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Preferences"); w1.Add(this.PreferencesAction1, null); this.helpAction1 = new global::Gtk.Action("helpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, "gtk-help"); this.helpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.helpAction1, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), global::Mono.Unix.Catalog.GetString("About My Nes GTK"), "MyNesIcon"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.PaletteAction = new global::Gtk.Action("PaletteAction", global::Mono.Unix.Catalog.GetString("_Palette"), global::Mono.Unix.Catalog.GetString("Configure emu color palettes"), "Palette"); this.PaletteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Palette"); w1.Add(this.PaletteAction, "<Primary><Alt>w"); this.PaletteAction1 = new global::Gtk.Action("PaletteAction1", global::Mono.Unix.Catalog.GetString("Palette"), global::Mono.Unix.Catalog.GetString("Configure emu color palettes"), "Palette"); this.PaletteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Palette"); w1.Add(this.PaletteAction1, null); this.InputAction = new global::Gtk.Action("InputAction", global::Mono.Unix.Catalog.GetString("_Input"), null, "Input"); this.InputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Input"); w1.Add(this.InputAction, "<Primary><Alt>e"); this.InputAction1 = new global::Gtk.Action("InputAction1", global::Mono.Unix.Catalog.GetString("Input"), global::Mono.Unix.Catalog.GetString("Configure input"), "Input"); this.InputAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Input"); w1.Add(this.InputAction1, null); this.copyAction = new global::Gtk.Action("copyAction", global::Mono.Unix.Catalog.GetString("Copy"), global::Mono.Unix.Catalog.GetString("Copy info to clipboard"), "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Copy"); w1.Add(this.copyAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Save"), global::Mono.Unix.Catalog.GetString("Save info to text file"), "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.saveAction, null); this.refreshAction = new global::Gtk.Action("refreshAction", global::Mono.Unix.Catalog.GetString("Refresh"), global::Mono.Unix.Catalog.GetString("Refresh selected file info"), "gtk-refresh"); this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Refresh"); w1.Add(this.refreshAction, null); this.goBackAction = new global::Gtk.Action("goBackAction", global::Mono.Unix.Catalog.GetString("Previous"), global::Mono.Unix.Catalog.GetString("Show the previous image"), "gtk-go-back"); this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Previous"); w1.Add(this.goBackAction, null); this.goForwardAction = new global::Gtk.Action("goForwardAction", global::Mono.Unix.Catalog.GetString("Next"), global::Mono.Unix.Catalog.GetString("Show the next snap"), "gtk-go-forward"); this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Next"); w1.Add(this.goForwardAction, null); this.openAction2 = new global::Gtk.Action("openAction2", global::Mono.Unix.Catalog.GetString("Open location"), global::Mono.Unix.Catalog.GetString("Open image folder"), "gtk-open"); this.openAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Open location"); w1.Add(this.openAction2, null); this.PlayAction = new global::Gtk.Action("PlayAction", global::Mono.Unix.Catalog.GetString("Play"), global::Mono.Unix.Catalog.GetString("Play selected game"), "Play"); this.PlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Play"); w1.Add(this.PlayAction, null); this.StopAction = new global::Gtk.Action("StopAction", global::Mono.Unix.Catalog.GetString("Stop"), global::Mono.Unix.Catalog.GetString("Stop current game"), "Stop"); this.StopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Stop"); w1.Add(this.StopAction, null); this.EmulationAction = new global::Gtk.Action("EmulationAction", global::Mono.Unix.Catalog.GetString("_Emulation"), null, null); this.EmulationAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Emulation"); w1.Add(this.EmulationAction, null); this.PlaySelectedAction = new global::Gtk.Action("PlaySelectedAction", global::Mono.Unix.Catalog.GetString("_Play selected"), null, "Play"); this.PlaySelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Play selected"); w1.Add(this.PlaySelectedAction, "<Primary>space"); this.StopSelectedAction = new global::Gtk.Action("StopSelectedAction", global::Mono.Unix.Catalog.GetString("_Stop selected"), null, "Stop"); this.StopSelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Stop selected"); w1.Add(this.StopSelectedAction, "<Primary>x"); this.deleteAction = new global::Gtk.Action("deleteAction", global::Mono.Unix.Catalog.GetString("Delete"), global::Mono.Unix.Catalog.GetString("Delete this snapshot file"), "gtk-delete"); this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Delete"); w1.Add(this.deleteAction, null); this.RecentAction = new global::Gtk.Action("RecentAction", global::Mono.Unix.Catalog.GetString("Recent"), null, null); this.RecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Recent"); w1.Add(this.RecentAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("My Nes GTK"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("MyNesGTK.resources.MyNes.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EmulationAction' action='EmulationAction'><menuitem name='PlaySelectedAction' action='PlaySelectedAction'/><menuitem name='StopSelectedAction' action='StopSelectedAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='VideoAction' action='VideoAction'/><menuitem name='PaletteAction' action='PaletteAction'/><menuitem name='AudioAction' action='AudioAction'/><menuitem name='InputAction' action='InputAction'/><menuitem name='PathsAction' action='PathsAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><separator/><menuitem name='AboutMyNesGTKAction' action='AboutMyNesGTKAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='openAction1' action='openAction1'/><separator/><toolitem name='VideoSettingsAction' action='VideoSettingsAction'/><toolitem name='PaletteAction1' action='PaletteAction1'/><toolitem name='AudioSettingsAction' action='AudioSettingsAction'/><toolitem name='InputAction1' action='InputAction1'/><toolitem name='PathsSettingsAction' action='PathsSettingsAction'/><toolitem name='PreferencesAction1' action='PreferencesAction1'/><separator/><toolitem name='PlayAction' action='PlayAction'/><toolitem name='StopAction' action='StopAction'/><separator/><toolitem name='AboutAction' action='AboutAction'/><toolitem name='helpAction1' action='helpAction1'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hpaned1hpaned1 = new global::Gtk.HPaned(); this.hpaned1hpaned1.CanFocus = true; this.hpaned1hpaned1.Name = "hpaned1hpaned1"; this.hpaned1hpaned1.Position = 431; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.hpaned1hpaned1.Add(this.filechooserwidget2); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1hpaned1 [this.filechooserwidget2])); w4.Resize = false; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned(); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 207; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar2\'><toolitem name=\'refreshAction\' action=\'refreshAction" + "\'/><toolitem name=\'saveAction\' action=\'saveAction\'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.vbox2.Add(this.toolbar2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView(); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow2.Add(this.treeview2); this.vbox2.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow2])); w7.Position = 1; this.notebook2.Add(this.vbox2); // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Game Info"); this.notebook2.SetTabLabel(this.vbox2, this.label2); this.label2.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Add"); this.table1.Add(this.button1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.button1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Remove"); this.table1.Add(this.button2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.button2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Reload"); this.table1.Add(this.button3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.button3])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Save"); this.table1.Add(this.button4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.button4])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_enable_gg = new global::Gtk.CheckButton(); this.checkbutton_enable_gg.CanFocus = true; this.checkbutton_enable_gg.Name = "checkbutton_enable_gg"; this.checkbutton_enable_gg.Label = global::Mono.Unix.Catalog.GetString("Enable game genie for this game"); this.checkbutton_enable_gg.DrawIndicator = true; this.checkbutton_enable_gg.UseUnderline = true; this.table1.Add(this.checkbutton_enable_gg); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_enable_gg])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_gg_codes = global::Gtk.ComboBox.NewText(); this.combobox_gg_codes.Name = "combobox_gg_codes"; this.table1.Add(this.combobox_gg_codes); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_gg_codes])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Codes:"); this.table1.Add(this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Notes: \n. Check the \"Enable game genie for this game\" to start selected game with" + " game genie.\n. Press Reload to load the game genie codes for this game from the " + "saved file.\n. After editing the Game Genie codes you must save via Save button t" + "o apply them."); this.label5.Wrap = true; this.table1.Add(this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table1); global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table1])); w17.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Game Genie"); this.notebook2.SetTabLabel(this.table1, this.label3); this.label3.ShowAll(); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.checkbutton_loadstate = new global::Gtk.CheckButton(); this.checkbutton_loadstate.CanFocus = true; this.checkbutton_loadstate.Name = "checkbutton_loadstate"; this.checkbutton_loadstate.Label = global::Mono.Unix.Catalog.GetString("Load state at game start"); this.checkbutton_loadstate.DrawIndicator = true; this.checkbutton_loadstate.UseUnderline = true; this.table2.Add(this.checkbutton_loadstate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkbutton_loadstate])); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.combobox_state = global::Gtk.ComboBox.NewText(); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 0")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 1")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 2")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 3")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 4")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 5")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 6")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 7")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 8")); this.combobox_state.AppendText(global::Mono.Unix.Catalog.GetString("Slot 9")); this.combobox_state.Name = "combobox_state"; this.combobox_state.Active = 0; this.table2.Add(this.combobox_state); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.combobox_state])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.image_state = new global::Gtk.Image(); this.image_state.Name = "image_state"; this.image_state.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("MyNesGTK.resources.MyNesImage.png"); this.table2.Add(this.image_state); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.image_state])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("State slot:"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add(this.table2); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w22.Position = 2; // Notebook tab this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("State"); this.notebook2.SetTabLabel(this.table2, this.label1); this.label1.ShowAll(); this.vpaned1.Add(this.notebook2); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.notebook2])); w23.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar3'><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='openAction2' action='openAction2'/></toolbar></ui>"); this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar3"))); this.toolbar3.Name = "toolbar3"; this.toolbar3.ShowArrow = false; this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar3.IconSize = ((global::Gtk.IconSize)(2)); this.vbox3.Add(this.toolbar3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.image_snap = new global::Gtk.Image(); this.image_snap.Name = "image_snap"; this.vbox3.Add(this.image_snap); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.image_snap])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox3.Add(this.statusbar1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.statusbar1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.notebook1.Add(this.vbox3); // Notebook tab this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Snapshots"); this.notebook1.SetTabLabel(this.vbox3, this.label7); this.label7.ShowAll(); this.vpaned1.Add(this.notebook1); this.hpaned1hpaned1.Add(this.vpaned1); this.hbox1.Add(this.hpaned1hpaned1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hpaned1hpaned1])); w30.Position = 0; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 916; this.DefaultHeight = 594; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.helpAction.Activated += new global::System.EventHandler(this.OnHelpActionActivated); this.AboutMyNesGTKAction.Activated += new global::System.EventHandler(this.OnAboutMyNesGTKActionActivated); this.VideoAction.Activated += new global::System.EventHandler(this.OnVideoActionActivated); this.AudioAction.Activated += new global::System.EventHandler(this.OnAudioActionActivated); this.PathsAction.Activated += new global::System.EventHandler(this.OnPathsActionActivated); this.PreferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.openAction1.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.VideoSettingsAction.Activated += new global::System.EventHandler(this.OnVideoActionActivated); this.AudioSettingsAction.Activated += new global::System.EventHandler(this.OnAudioActionActivated); this.PathsSettingsAction.Activated += new global::System.EventHandler(this.OnPathsActionActivated); this.PreferencesAction1.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.helpAction1.Activated += new global::System.EventHandler(this.OnHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutMyNesGTKActionActivated); this.PaletteAction.Activated += new global::System.EventHandler(this.OnPaletteActionActivated); this.PaletteAction1.Activated += new global::System.EventHandler(this.OnPaletteActionActivated); this.InputAction.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.InputAction1.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.copyAction.Activated += new global::System.EventHandler(this.OnCopyActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.refreshAction.Activated += new global::System.EventHandler(this.OnRefreshActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated); this.openAction2.Activated += new global::System.EventHandler(this.OnOpenAction2Activated); this.PlayAction.Activated += new global::System.EventHandler(this.PlaySelected); this.StopAction.Activated += new global::System.EventHandler(this.StopSelected); this.StopSelectedAction.Activated += new global::System.EventHandler(this.StopSelected); this.deleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated); this.filechooserwidget2.FileActivated += new global::System.EventHandler(this.OnFilechooserwidget2FileActivated); this.filechooserwidget2.SelectionChanged += new global::System.EventHandler(this.OnFilechooserwidget2SelectionChanged); this.button4.Pressed += new global::System.EventHandler(this.OnButton4Pressed); this.button3.Pressed += new global::System.EventHandler(this.OnButton3Pressed); this.button2.Pressed += new global::System.EventHandler(this.OnButton2Pressed); this.button1.Pressed += new global::System.EventHandler(this.OnButton1Pressed); this.combobox_state.Changed += new global::System.EventHandler(this.OnComboboxStateChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoGame.Tools.Pipeline.CollectionEditorDialog this.Name = "MonoGame.Tools.Pipeline.CollectionEditorDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Reference Editor"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoGame.Tools.Pipeline.CollectionEditorDialog.VBox #if GTK2 global::Gtk.VBox w1 = this.VBox; #elif GTK3 global::Gtk.Box w1 = this.ContentArea; #endif w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 573; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); #if GTK3 this.filechooserwidget1.Expand = true; #endif this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox2.Add(this.filechooserwidget1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.filechooserwidget1])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox2.Add(this.alignment1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.alignment1])); w3.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseStock = true; this.button9.UseUnderline = true; this.button9.Label = "gtk-add"; this.hbox2.Add(this.button9); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button9])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w6 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w6.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.alignment2 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox1.Add(this.alignment2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment2])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseStock = true; this.button10.UseUnderline = true; this.button10.Label = "gtk-remove"; this.hbox1.Add(this.button10); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button10])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.treeview1.EnableSearch = false; this.treeview1.HeadersVisible = false; this.GtkScrolledWindow2.Add(this.treeview1); this.vbox3.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow2])); w11.Position = 1; this.hpaned1.Add(this.vbox3); w1.Add(this.hpaned1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.hpaned1])); w13.Position = 0; // Internal child MonoGame.Tools.Pipeline.CollectionEditorDialog.ActionArea #if GTK2 global::Gtk.HButtonBox w14 = this.ActionArea; #elif GTK3 global::Gtk.ButtonBox w14 = this.ActionArea; #endif w14.Name = "dialog1_ActionArea"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonCancel])); w15.Expand = false; w15.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"; w14.Add(this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 800; this.DefaultHeight = 397; this.Show(); this.Response += new global::Gtk.ResponseHandler(this.OnResponse); this.filechooserwidget1.FileActivated += new global::System.EventHandler(this.AddFileEvent); this.button9.Clicked += new global::System.EventHandler(this.AddFileEvent); this.button10.Clicked += new global::System.EventHandler(this.RemoveFileEvent); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.ExportGPXDialog this.WidthRequest = 750; this.HeightRequest = 500; this.Name = "ocmgtk.ExportGPXDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Export GPX..."); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ExportGPXDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 1; this.notebook1.TabPos = ((global::Gtk.PositionType)(0)); // Container child notebook1.Gtk.Notebook+NotebookChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.BorderWidth = ((uint)(6)); // Container child alignment1.Gtk.Container+ContainerChild this.fileChooser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(1))); this.fileChooser.Name = "fileChooser"; this.fileChooser.DoOverwriteConfirmation = true; this.alignment1.Add(this.fileChooser); this.notebook1.Add(this.alignment1); // Notebook tab this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("File"); this.notebook1.SetTabLabel(this.alignment1, this.label2); this.label2.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame4.BorderWidth = ((uint)(6)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment15 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment15.Name = "GtkAlignment15"; this.GtkAlignment15.LeftPadding = ((uint)(12)); // Container child GtkAlignment15.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.limitCheck = new global::Gtk.CheckButton(); this.limitCheck.CanFocus = true; this.limitCheck.Name = "limitCheck"; this.limitCheck.Label = global::Mono.Unix.Catalog.GetString("Limit Number of Geocaches"); this.limitCheck.DrawIndicator = true; this.limitCheck.UseUnderline = true; this.hbox1.Add(this.limitCheck); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.limitCheck])); w4.Position = 0; w4.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.limitEntry = new global::Gtk.Entry(); this.limitEntry.CanFocus = true; this.limitEntry.Name = "limitEntry"; this.limitEntry.Text = "1000"; this.limitEntry.IsEditable = true; this.limitEntry.InvisibleChar = '•'; this.hbox1.Add(this.limitEntry); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.limitEntry])); w5.Position = 1; this.vbox5.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.includeChildrenCheck = new global::Gtk.CheckButton(); this.includeChildrenCheck.CanFocus = true; this.includeChildrenCheck.Name = "includeChildrenCheck"; this.includeChildrenCheck.Label = global::Mono.Unix.Catalog.GetString("Include Child Waypoints"); this.includeChildrenCheck.Active = true; this.includeChildrenCheck.DrawIndicator = true; this.includeChildrenCheck.UseUnderline = true; this.vbox5.Add(this.includeChildrenCheck); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.includeChildrenCheck])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.exportPaperlessDetails = new global::Gtk.CheckButton(); this.exportPaperlessDetails.CanFocus = true; this.exportPaperlessDetails.Name = "exportPaperlessDetails"; this.exportPaperlessDetails.Label = global::Mono.Unix.Catalog.GetString("Export Paperless Caching Details"); this.exportPaperlessDetails.Active = true; this.exportPaperlessDetails.DrawIndicator = true; this.exportPaperlessDetails.UseUnderline = true; this.vbox5.Add(this.exportPaperlessDetails); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.exportPaperlessDetails])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Export Extra Fields in GPX"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox5.Add(this.checkbutton1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.checkbutton1])); w9.Position = 3; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.customSymbolsCheck = new global::Gtk.CheckButton(); this.customSymbolsCheck.CanFocus = true; this.customSymbolsCheck.Name = "customSymbolsCheck"; this.customSymbolsCheck.Label = global::Mono.Unix.Catalog.GetString("Use Custom Waypoint Symbols"); this.customSymbolsCheck.DrawIndicator = true; this.customSymbolsCheck.UseUnderline = true; this.vbox5.Add(this.customSymbolsCheck); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.customSymbolsCheck])); w10.Position = 4; w10.Expand = false; w10.Fill = false; this.GtkAlignment15.Add(this.vbox5); this.frame4.Add(this.GtkAlignment15); this.GtkLabel25 = new global::Gtk.Label(); this.GtkLabel25.Name = "GtkLabel25"; this.GtkLabel25.LabelProp = global::Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel25.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel25; this.vbox4.Add(this.frame4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.frame4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.paperlessFrame = new global::Gtk.Frame(); this.paperlessFrame.Name = "paperlessFrame"; this.paperlessFrame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child paperlessFrame.Gtk.Container+ContainerChild this.GtkAlignment12 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment12.Name = "GtkAlignment12"; this.GtkAlignment12.LeftPadding = ((uint)(12)); // Container child GtkAlignment12.Gtk.Container+ContainerChild this.table5 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); this.table5.BorderWidth = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.attrCheck = new global::Gtk.CheckButton(); this.attrCheck.CanFocus = true; this.attrCheck.Name = "attrCheck"; this.attrCheck.Label = global::Mono.Unix.Catalog.GetString("Include Attributes in Description"); this.attrCheck.DrawIndicator = true; this.attrCheck.UseUnderline = true; this.table5.Add(this.attrCheck); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5 [this.attrCheck])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitCheck = new global::Gtk.CheckButton(); this.logLimitCheck.CanFocus = true; this.logLimitCheck.Name = "logLimitCheck"; this.logLimitCheck.Label = global::Mono.Unix.Catalog.GetString("Limit Number of Logs"); this.logLimitCheck.DrawIndicator = true; this.logLimitCheck.UseUnderline = true; this.table5.Add(this.logLimitCheck); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table5 [this.logLimitCheck])); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.logLimitEntry = new global::Gtk.Entry(); this.logLimitEntry.Sensitive = false; this.logLimitEntry.CanFocus = true; this.logLimitEntry.Name = "logLimitEntry"; this.logLimitEntry.Text = global::Mono.Unix.Catalog.GetString("5"); this.logLimitEntry.IsEditable = true; this.logLimitEntry.InvisibleChar = '•'; this.table5.Add(this.logLimitEntry); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table5 [this.logLimitEntry])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.usePlainTextCheck = new global::Gtk.CheckButton(); this.usePlainTextCheck.CanFocus = true; this.usePlainTextCheck.Name = "usePlainTextCheck"; this.usePlainTextCheck.Label = global::Mono.Unix.Catalog.GetString("Convert HTML to Plain Text"); this.usePlainTextCheck.DrawIndicator = true; this.usePlainTextCheck.UseUnderline = true; this.table5.Add(this.usePlainTextCheck); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table5 [this.usePlainTextCheck])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.RightAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment12.Add(this.table5); this.paperlessFrame.Add(this.GtkAlignment12); this.GtkLabel20 = new global::Gtk.Label(); this.GtkLabel20.Name = "GtkLabel20"; this.GtkLabel20.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Paperless Options</b>"); this.GtkLabel20.UseMarkup = true; this.paperlessFrame.LabelWidget = this.GtkLabel20; this.vbox4.Add(this.paperlessFrame); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.paperlessFrame])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.waypointFrame = new global::Gtk.Frame(); this.waypointFrame.Name = "waypointFrame"; this.waypointFrame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child waypointFrame.Gtk.Container+ContainerChild this.GtkAlignment11 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment11.Name = "GtkAlignment11"; this.GtkAlignment11.LeftPadding = ((uint)(12)); // Container child GtkAlignment11.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); this.table3.BorderWidth = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.descMode = global::Gtk.ComboBox.NewText(); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Hint")); this.descMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code/Size/Type")); this.descMode.Name = "descMode"; this.descMode.Active = 0; this.table3.Add(this.descMode); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.descMode])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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("Waypoint Name Format:"); this.table3.Add(this.label1); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1])); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.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("Waypoint Description Format:"); this.table3.Add(this.label5); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.nameMode = global::Gtk.ComboBox.NewText(); this.nameMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Code")); this.nameMode.AppendText(global::Mono.Unix.Catalog.GetString("Cache Name")); this.nameMode.Name = "nameMode"; this.nameMode.Active = 0; this.table3.Add(this.nameMode); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.nameMode])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment11.Add(this.table3); this.waypointFrame.Add(this.GtkAlignment11); this.GtkLabel21 = new global::Gtk.Label(); this.GtkLabel21.Name = "GtkLabel21"; this.GtkLabel21.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Waypoint Options</b>"); this.GtkLabel21.UseMarkup = true; this.waypointFrame.LabelWidget = this.GtkLabel21; this.vbox4.Add(this.waypointFrame); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.waypointFrame])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.notebook1.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.vbox4])); w28.Position = 1; // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Options"); this.notebook1.SetTabLabel(this.vbox4, this.label4); this.label4.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.waypointSymbolWidget = null; this.notebook1.Add(this.waypointSymbolWidget); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.waypointSymbolWidget])); w29.Position = 2; // Notebook tab this.symbolsPage = new global::Gtk.Label(); this.symbolsPage.Name = "symbolsPage"; this.symbolsPage.LabelProp = global::Mono.Unix.Catalog.GetString("Waypoint Symbols"); this.notebook1.SetTabLabel(this.waypointSymbolWidget, this.symbolsPage); this.symbolsPage.ShowAll(); w1.Add(this.notebook1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(w1 [this.notebook1])); w30.Position = 0; // Internal child ocmgtk.ExportGPXDialog.ActionArea global::Gtk.HButtonBox w31 = this.ActionArea; w31.Name = "dialog1_ActionArea"; w31.Spacing = 10; w31.BorderWidth = ((uint)(5)); w31.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 w32 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w31 [this.buttonCancel])); w32.Expand = false; w32.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 w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w31 [this.buttonOk])); w33.Position = 1; w33.Expand = false; w33.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 762; this.DefaultHeight = 527; this.Show(); this.limitCheck.Toggled += new global::System.EventHandler(this.OnLimitToggle); this.exportPaperlessDetails.Toggled += new global::System.EventHandler(this.OnPaperlessToggle); this.logLimitCheck.Toggled += new global::System.EventHandler(this.OnLogLimitToggle); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("StatDisk"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.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("Este programa es capaz de analizar el rendimiento de escritura de un medio de almacenamiento\ncualquiera.\nPara continuar con el test, es necesario proporcionar algunos datos."); this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Ubicación del primer medio de almacenamiento A a comparar donde almacenar los ficheros (asegurate de tener privilegios de escritura sobre ella)"); this.hbox9.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label2])); w2.Position = 0; this.hbox3.Add(this.hbox9); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox9])); w3.Position = 0; w3.Expand = false; w3.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; this.hbox2.Add(this.vbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox3])); w5.Position = 0; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w6.Position = 1; w6.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.dialogoRuta = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.dialogoRuta.Name = "dialogoRuta"; this.vbox4.Add(this.dialogoRuta); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.dialogoRuta])); w7.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Ubicación del segundo medio de almacenamiento B a comparar donde almacenar los ficheros (asegurate de tener privilegios de escritura sobre ella)"); this.vbox4.Add(this.label5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label5])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.dialogoRuta1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.dialogoRuta1.Name = "dialogoRuta1"; this.vbox4.Add(this.dialogoRuta1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.dialogoRuta1])); w9.Position = 2; // Container child vbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Tamaño de fichero a crear en MB"); this.vbox4.Add(this.label4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label4])); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.spinTamanoFichero = new global::Gtk.SpinButton(1, 1024, 0.5); this.spinTamanoFichero.CanFocus = true; this.spinTamanoFichero.Name = "spinTamanoFichero"; this.spinTamanoFichero.Adjustment.PageIncrement = 10; this.spinTamanoFichero.ClimbRate = 1; this.spinTamanoFichero.Digits = ((uint)(2)); this.spinTamanoFichero.Numeric = true; this.spinTamanoFichero.Value = 5.5; this.vbox4.Add(this.spinTamanoFichero); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.spinTamanoFichero])); w11.Position = 4; w11.Expand = false; w11.Fill = false; // Container child vbox4.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("Número de ficheros a crear"); this.vbox4.Add(this.label3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label3])); w12.Position = 5; w12.Expand = false; w12.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.spinNumeroFicheros = new global::Gtk.SpinButton(1, 300, 1); this.spinNumeroFicheros.CanFocus = true; this.spinNumeroFicheros.Name = "spinNumeroFicheros"; this.spinNumeroFicheros.Adjustment.PageIncrement = 10; this.spinNumeroFicheros.ClimbRate = 1; this.spinNumeroFicheros.Numeric = true; this.spinNumeroFicheros.Value = 1; this.vbox4.Add(this.spinNumeroFicheros); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.spinNumeroFicheros])); w13.Position = 6; w13.Expand = false; w13.Fill = false; this.vbox2.Add(this.vbox4); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox4])); w14.Position = 2; // 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.botonSalir = new global::Gtk.Button(); this.botonSalir.CanFocus = true; this.botonSalir.Name = "botonSalir"; this.botonSalir.UseUnderline = true; this.botonSalir.Label = global::Mono.Unix.Catalog.GetString("Salir"); this.hbox1.Add(this.botonSalir); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.botonSalir])); w15.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; this.hbox1.Add(this.hbox6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox6])); w16.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.botonCalcular = new global::Gtk.Button(); this.botonCalcular.CanFocus = true; this.botonCalcular.Name = "botonCalcular"; this.botonCalcular.UseUnderline = true; this.botonCalcular.Label = global::Mono.Unix.Catalog.GetString("Calcular"); this.hbox1.Add(this.botonCalcular); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.botonCalcular])); w17.Position = 2; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w18.Position = 3; w18.Expand = false; w18.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w19.Position = 0; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.botonSalir.Clicked += new global::System.EventHandler(this.OnBotonSalirClicked); this.botonCalcular.Clicked += new global::System.EventHandler(this.OnBotonCalcularClicked); }
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 Launchpad.Utilities.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 640; this.HeightRequest = 384; this.Name = "Launchpad.Utilities.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Launchpad Utilities - Manifest"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("Launchpad.Utilities.Resources.Icons8-Android-Industry-Engineering.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Launchpad.Utilities.MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'/></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox3.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.alignment14 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment14.Name = "alignment14"; this.alignment14.LeftPadding = ((uint)(8)); this.alignment14.RightPadding = ((uint)(8)); // Container child alignment14.Gtk.Container+ContainerChild this.fileChooser = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(2))); this.fileChooser.Name = "fileChooser"; this.fileChooser.LocalOnly = false; this.alignment14.Add (this.fileChooser); this.vbox3.Add (this.alignment14); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment14])); w4.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.alignment12 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment12.Name = "alignment12"; // Container child alignment12.Gtk.Container+ContainerChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; this.alignment12.Add (this.hseparator3); this.vbox3.Add (this.alignment12); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment12])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.alignment18 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment18.Name = "alignment18"; this.alignment18.LeftPadding = ((uint)(8)); // Container child alignment18.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Progress: "); this.alignment18.Add (this.label4); this.hbox4.Add (this.alignment18); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment18])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.alignment19 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment19.Name = "alignment19"; this.alignment19.RightPadding = ((uint)(8)); // Container child alignment19.Gtk.Container+ContainerChild this.progressLabel = new global::Gtk.Label (); this.progressLabel.Name = "progressLabel"; this.progressLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("/some/file/path : 1 out of 100"); this.alignment19.Add (this.progressLabel); this.hbox4.Add (this.alignment19); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment19])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.alignment17 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment17.Name = "alignment17"; this.alignment17.LeftPadding = ((uint)(8)); this.alignment17.RightPadding = ((uint)(8)); // Container child alignment17.Gtk.Container+ContainerChild this.progressbar = new global::Gtk.ProgressBar (); this.progressbar.Name = "progressbar"; this.alignment17.Add (this.progressbar); this.vbox3.Add (this.alignment17); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment17])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.alignment15 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment15.Name = "alignment15"; this.alignment15.RightPadding = ((uint)(8)); this.alignment15.BottomPadding = ((uint)(8)); // Container child alignment15.Gtk.Container+ContainerChild this.generateManifestButton = new global::Gtk.Button (); this.generateManifestButton.CanFocus = true; this.generateManifestButton.Name = "generateManifestButton"; this.generateManifestButton.UseUnderline = true; this.generateManifestButton.Label = global::Mono.Unix.Catalog.GetString ("Generate Manifest"); this.alignment15.Add (this.generateManifestButton); this.hbox3.Add (this.alignment15); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment15])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 0; w15.Expand = false; w15.Fill = false; this.vbox3.Add (this.hbox3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w16.Position = 6; w16.Expand = false; w16.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 640; this.DefaultHeight = 384; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.generateManifestButton.Clicked += new global::System.EventHandler (this.OnGenerateManifestButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction1 = new global::Gtk.Action("FileAction1", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction1, null); this.ExitAction1 = new global::Gtk.Action("ExitAction1", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'FileAction1\' action=\'FileAction1\'><menui" + "tem name=\'ExitAction1\' action=\'ExitAction1\'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.filechooserwidget1 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget1.WidthRequest = 400; this.filechooserwidget1.HeightRequest = 350; this.filechooserwidget1.Name = "filechooserwidget1"; this.vbox6.Add(this.filechooserwidget1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.filechooserwidget1])); w3.Position = 0; // Container child vbox6.Gtk.Box+BoxChild this.CheckFile1 = new global::Gtk.Button(); this.CheckFile1.CanFocus = true; this.CheckFile1.Name = "CheckFile1"; this.CheckFile1.UseUnderline = true; this.CheckFile1.Label = global::Mono.Unix.Catalog.GetString("Check File .txt 1"); this.vbox6.Add(this.CheckFile1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.CheckFile1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.HeightRequest = 200; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow2.Add(this.textview1); this.vbox6.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.GtkScrolledWindow2])); w6.Position = 2; // Container child vbox6.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.btnRead1 = new global::Gtk.Button(); this.btnRead1.CanFocus = true; this.btnRead1.Name = "btnRead1"; this.btnRead1.UseUnderline = true; this.btnRead1.Label = global::Mono.Unix.Catalog.GetString("Read File 1"); this.vbox10.Add(this.btnRead1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.btnRead1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.vbox6.Add(this.vbox10); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.vbox10])); w8.Position = 3; w8.Expand = false; w8.Fill = false; this.hbox3.Add(this.vbox6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox6])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.WidthRequest = 400; this.filechooserwidget2.HeightRequest = 350; this.filechooserwidget2.Name = "filechooserwidget2"; this.vbox8.Add(this.filechooserwidget2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.filechooserwidget2])); w10.Position = 0; // Container child vbox8.Gtk.Box+BoxChild this.CheckFile2 = new global::Gtk.Button(); this.CheckFile2.CanFocus = true; this.CheckFile2.Name = "CheckFile2"; this.CheckFile2.UseUnderline = true; this.CheckFile2.Label = global::Mono.Unix.Catalog.GetString("Check File .txt 2"); this.vbox8.Add(this.CheckFile2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.CheckFile2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.GtkScrolledWindow5 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.HeightRequest = 200; this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.GtkScrolledWindow5.Add(this.textview2); this.vbox8.Add(this.GtkScrolledWindow5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.GtkScrolledWindow5])); w13.Position = 2; // Container child vbox8.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.btnRead2 = new global::Gtk.Button(); this.btnRead2.CanFocus = true; this.btnRead2.Name = "btnRead2"; this.btnRead2.UseUnderline = true; this.btnRead2.Label = global::Mono.Unix.Catalog.GetString("Read File 2"); this.vbox11.Add(this.btnRead2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.btnRead2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.vbox8.Add(this.vbox11); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.vbox11])); w15.Position = 3; w15.Expand = false; w15.Fill = false; this.hbox3.Add(this.vbox8); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox8])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox15 = new global::Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.Spacing = 6; // Container child vbox15.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Logs:"); this.vbox15.Add(this.label1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.label1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.GtkScrolledWindow6 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow6.Name = "GtkScrolledWindow6"; this.GtkScrolledWindow6.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow6.Gtk.Container+ContainerChild this.textview3 = new global::Gtk.TextView(); this.textview3.WidthRequest = 400; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.textview3.Editable = false; this.GtkScrolledWindow6.Add(this.textview3); this.vbox15.Add(this.GtkScrolledWindow6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.GtkScrolledWindow6])); w19.Position = 1; // Container child vbox15.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.vbox3.Add(this.image1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.image1])); w20.Position = 0; w20.Expand = false; w20.Fill = false; this.vbox15.Add(this.vbox3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.vbox3])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.hbox3.Add(this.vbox15); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vbox15])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.vbox4.Add(this.hbox3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w23.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Batas Waktu :"); this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label2])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.hbox1.Add(this.entry1); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entry1])); w25.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Solve"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.button1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox4.Add(this.hbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox4])); w28.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 800; // 1225; this.DefaultHeight = 600; // 932; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ExitAction1.Activated += new global::System.EventHandler(this.exit); this.CheckFile1.Pressed += new global::System.EventHandler(this.Check1); this.btnRead1.Pressed += new global::System.EventHandler(this.Read1); this.CheckFile2.Pressed += new global::System.EventHandler(this.Check2); this.btnRead2.Pressed += new global::System.EventHandler(this.Read2); this.button1.Pressed += new global::System.EventHandler(this.Solve); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget XR.Baboon.FindSourceFileDialog this.Name = "XR.Baboon.FindSourceFileDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Select File Location"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-directory", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child XR.Baboon.FindSourceFileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xpad = 3; this.label1.Ypad = 3; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Locate missing sources"); this.label1.UseMarkup = true; 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.assemblyName = new global::Gtk.Label(); this.assemblyName.Name = "assemblyName"; this.assemblyName.Xpad = 3; this.assemblyName.Ypad = 3; this.assemblyName.Xalign = 0F; this.assemblyName.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Foo.Bar.Whatever Version=0.0.0</b>"); this.assemblyName.UseMarkup = true; this.vbox2.Add(this.assemblyName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.assemblyName])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.missingFilePath = new global::Gtk.Label(); this.missingFilePath.Name = "missingFilePath"; this.missingFilePath.Xpad = 3; this.missingFilePath.Ypad = 3; this.missingFilePath.Xalign = 0F; this.missingFilePath.LabelProp = global::Mono.Unix.Catalog.GetString("this/is/a/path/to/a/missing/source/file.cs"); this.missingFilePath.Ellipsize = ((global::Pango.EllipsizeMode)(1)); this.vbox2.Add(this.missingFilePath); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.missingFilePath])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fileChooser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.fileChooser.Name = "fileChooser"; this.vbox2.Add(this.fileChooser); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fileChooser])); w5.Position = 3; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w6.Position = 0; // Internal child XR.Baboon.FindSourceFileDialog.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 10; w7.BorderWidth = ((uint)(5)); w7.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 w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonCancel])); w8.Expand = false; w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 630; this.DefaultHeight = 466; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Trilogic.FolderSelector this.Name = "Trilogic.FolderSelector"; this.Title = global::Mono.Unix.Catalog.GetString ("FolderSelector"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Container child Trilogic.FolderSelector.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.fileChooser = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(2))); this.fileChooser.Name = "fileChooser"; this.vbox1.Add (this.fileChooser); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fileChooser])); w1.Position = 0; // 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.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 w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryFolder])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonOK = new global::Gtk.Button (); this.buttonOK.WidthRequest = 80; this.buttonOK.CanFocus = true; this.buttonOK.Name = "buttonOK"; this.buttonOK.UseUnderline = true; this.buttonOK.Label = global::Mono.Unix.Catalog.GetString ("_OK"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); this.buttonOK.Image = w3; this.hbox1.Add (this.buttonOK); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOK])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.WidthRequest = 80; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Cancel"); global::Gtk.Image w5 = new global::Gtk.Image (); w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w5; this.hbox1.Add (this.buttonCancel); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 637; this.DefaultHeight = 442; this.Show (); this.ResizeChecked += new global::System.EventHandler (this.WindowResize); this.fileChooser.SelectionChanged += new global::System.EventHandler (this.FileChooserSelectionChanged); this.buttonOK.Clicked += new global::System.EventHandler (this.ButtonOKClicked); this.buttonCancel.Clicked += new global::System.EventHandler (this.ButtonCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File"); w1.Add (this.FileAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Open"), global::Mono.Unix.Catalog.GetString ("Open nes rom"), "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit"); w1.Add (this.quitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.HelpAction, null); this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help"); w1.Add (this.helpAction, "F1"); this.AboutMyNesGTKAction = new global::Gtk.Action ("AboutMyNesGTKAction", global::Mono.Unix.Catalog.GetString ("_About My Nes GTK"), null, "MyNesIcon"); this.AboutMyNesGTKAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About My Nes GTK"); w1.Add (this.AboutMyNesGTKAction, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("_Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Settings"); w1.Add (this.SettingsAction, null); this.VideoAction = new global::Gtk.Action ("VideoAction", global::Mono.Unix.Catalog.GetString ("_Video"), global::Mono.Unix.Catalog.GetString ("Configure emulation video settings"), "VideoSettings"); this.VideoAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Video"); w1.Add (this.VideoAction, "<Primary><Alt>v"); this.AudioAction = new global::Gtk.Action ("AudioAction", global::Mono.Unix.Catalog.GetString ("Audio"), global::Mono.Unix.Catalog.GetString ("Configure emulation audio settings"), "Audio"); this.AudioAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Audio"); w1.Add (this.AudioAction, "<Primary><Alt>a"); this.PathsAction = new global::Gtk.Action ("PathsAction", global::Mono.Unix.Catalog.GetString ("_Paths"), global::Mono.Unix.Catalog.GetString ("Configure emulation paths settings"), "Paths"); this.PathsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Paths"); w1.Add (this.PathsAction, "<Primary><Alt>p"); this.PreferencesAction = new global::Gtk.Action ("PreferencesAction", global::Mono.Unix.Catalog.GetString ("_Preferences"), global::Mono.Unix.Catalog.GetString ("Configure emulation preferences ..."), "Preferences"); this.PreferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Preferences"); w1.Add (this.PreferencesAction, "<Primary><Alt>q"); this.openAction1 = new global::Gtk.Action ("openAction1", global::Mono.Unix.Catalog.GetString ("Open rom"), global::Mono.Unix.Catalog.GetString ("Open rom"), "gtk-open"); this.openAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open rom"); w1.Add (this.openAction1, null); this.VideoSettingsAction = new global::Gtk.Action ("VideoSettingsAction", global::Mono.Unix.Catalog.GetString ("Video Settings"), global::Mono.Unix.Catalog.GetString ("Configure emulation video"), "VideoSettings"); this.VideoSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Video Settings"); w1.Add (this.VideoSettingsAction, null); this.AudioSettingsAction = new global::Gtk.Action ("AudioSettingsAction", global::Mono.Unix.Catalog.GetString ("Audio Settings"), global::Mono.Unix.Catalog.GetString ("Configure emulation audio"), "Audio"); this.AudioSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Audio Settings"); w1.Add (this.AudioSettingsAction, null); this.PathsSettingsAction = new global::Gtk.Action ("PathsSettingsAction", global::Mono.Unix.Catalog.GetString ("Paths Settings"), global::Mono.Unix.Catalog.GetString ("Configure emulation paths settings"), "Paths"); this.PathsSettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Paths Settings"); w1.Add (this.PathsSettingsAction, null); this.PreferencesAction1 = new global::Gtk.Action ("PreferencesAction1", global::Mono.Unix.Catalog.GetString ("Preferences"), global::Mono.Unix.Catalog.GetString ("Emulation preferences"), "Preferences"); this.PreferencesAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Preferences"); w1.Add (this.PreferencesAction1, null); this.helpAction1 = new global::Gtk.Action ("helpAction1", global::Mono.Unix.Catalog.GetString ("Help"), null, "gtk-help"); this.helpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.helpAction1, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), global::Mono.Unix.Catalog.GetString ("About My Nes GTK"), "MyNesIcon"); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.PaletteAction = new global::Gtk.Action ("PaletteAction", global::Mono.Unix.Catalog.GetString ("_Palette"), global::Mono.Unix.Catalog.GetString ("Configure emu color palettes"), "Palette"); this.PaletteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Palette"); w1.Add (this.PaletteAction, "<Primary><Alt>w"); this.PaletteAction1 = new global::Gtk.Action ("PaletteAction1", global::Mono.Unix.Catalog.GetString ("Palette"), global::Mono.Unix.Catalog.GetString ("Configure emu color palettes"), "Palette"); this.PaletteAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Palette"); w1.Add (this.PaletteAction1, null); this.InputAction = new global::Gtk.Action ("InputAction", global::Mono.Unix.Catalog.GetString ("_Input"), null, "Input"); this.InputAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Input"); w1.Add (this.InputAction, "<Primary><Alt>e"); this.InputAction1 = new global::Gtk.Action ("InputAction1", global::Mono.Unix.Catalog.GetString ("Input"), global::Mono.Unix.Catalog.GetString ("Configure input"), "Input"); this.InputAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Input"); w1.Add (this.InputAction1, null); this.copyAction = new global::Gtk.Action ("copyAction", global::Mono.Unix.Catalog.GetString ("Copy"), global::Mono.Unix.Catalog.GetString ("Copy info to clipboard"), "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Copy"); w1.Add (this.copyAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save"), global::Mono.Unix.Catalog.GetString ("Save info to text file"), "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save"); w1.Add (this.saveAction, null); this.refreshAction = new global::Gtk.Action ("refreshAction", global::Mono.Unix.Catalog.GetString ("Refresh"), global::Mono.Unix.Catalog.GetString ("Refresh selected file info"), "gtk-refresh"); this.refreshAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Refresh"); w1.Add (this.refreshAction, null); this.goBackAction = new global::Gtk.Action ("goBackAction", global::Mono.Unix.Catalog.GetString ("Previous"), global::Mono.Unix.Catalog.GetString ("Show the previous image"), "gtk-go-back"); this.goBackAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Previous"); w1.Add (this.goBackAction, null); this.goForwardAction = new global::Gtk.Action ("goForwardAction", global::Mono.Unix.Catalog.GetString ("Next"), global::Mono.Unix.Catalog.GetString ("Show the next snap"), "gtk-go-forward"); this.goForwardAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Next"); w1.Add (this.goForwardAction, null); this.openAction2 = new global::Gtk.Action ("openAction2", global::Mono.Unix.Catalog.GetString ("Open location"), global::Mono.Unix.Catalog.GetString ("Open image folder"), "gtk-open"); this.openAction2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open location"); w1.Add (this.openAction2, null); this.PlayAction = new global::Gtk.Action ("PlayAction", global::Mono.Unix.Catalog.GetString ("Play"), global::Mono.Unix.Catalog.GetString ("Play selected game"), "Play"); this.PlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Play"); w1.Add (this.PlayAction, null); this.StopAction = new global::Gtk.Action ("StopAction", global::Mono.Unix.Catalog.GetString ("Stop"), global::Mono.Unix.Catalog.GetString ("Stop current game"), "Stop"); this.StopAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop"); w1.Add (this.StopAction, null); this.EmulationAction = new global::Gtk.Action ("EmulationAction", global::Mono.Unix.Catalog.GetString ("_Emulation"), null, null); this.EmulationAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Emulation"); w1.Add (this.EmulationAction, null); this.PlaySelectedAction = new global::Gtk.Action ("PlaySelectedAction", global::Mono.Unix.Catalog.GetString ("_Play selected"), null, "Play"); this.PlaySelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Play selected"); w1.Add (this.PlaySelectedAction, "<Primary>space"); this.StopSelectedAction = new global::Gtk.Action ("StopSelectedAction", global::Mono.Unix.Catalog.GetString ("_Stop selected"), null, "Stop"); this.StopSelectedAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Stop selected"); w1.Add (this.StopSelectedAction, "<Primary>x"); this.deleteAction = new global::Gtk.Action ("deleteAction", global::Mono.Unix.Catalog.GetString ("Delete"), global::Mono.Unix.Catalog.GetString ("Delete this snapshot file"), "gtk-delete"); this.deleteAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Delete"); w1.Add (this.deleteAction, null); this.RecentAction = new global::Gtk.Action ("RecentAction", global::Mono.Unix.Catalog.GetString ("Recent"), null, null); this.RecentAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Recent"); w1.Add (this.RecentAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("My Nes GTK"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("MyNesGTK.resources.MyNes.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='openAction' action='openAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='EmulationAction' action='EmulationAction'><menuitem name='PlaySelectedAction' action='PlaySelectedAction'/><menuitem name='StopSelectedAction' action='StopSelectedAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='VideoAction' action='VideoAction'/><menuitem name='PaletteAction' action='PaletteAction'/><menuitem name='AudioAction' action='AudioAction'/><menuitem name='InputAction' action='InputAction'/><menuitem name='PathsAction' action='PathsAction'/><menuitem name='PreferencesAction' action='PreferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><separator/><menuitem name='AboutMyNesGTKAction' action='AboutMyNesGTKAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add (this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar1'><toolitem name='openAction1' action='openAction1'/><separator/><toolitem name='VideoSettingsAction' action='VideoSettingsAction'/><toolitem name='PaletteAction1' action='PaletteAction1'/><toolitem name='AudioSettingsAction' action='AudioSettingsAction'/><toolitem name='InputAction1' action='InputAction1'/><toolitem name='PathsSettingsAction' action='PathsSettingsAction'/><toolitem name='PreferencesAction1' action='PreferencesAction1'/><separator/><toolitem name='PlayAction' action='PlayAction'/><toolitem name='StopAction' action='StopAction'/><separator/><toolitem name='AboutAction' action='AboutAction'/><toolitem name='helpAction1' action='helpAction1'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.hpaned1hpaned1 = new global::Gtk.HPaned (); this.hpaned1hpaned1.CanFocus = true; this.hpaned1hpaned1.Name = "hpaned1hpaned1"; this.hpaned1hpaned1.Position = 431; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.filechooserwidget2 = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.filechooserwidget2.Name = "filechooserwidget2"; this.hpaned1hpaned1.Add (this.filechooserwidget2); global::Gtk.Paned.PanedChild w4 = ((global::Gtk.Paned.PanedChild)(this.hpaned1hpaned1 [this.filechooserwidget2])); w4.Resize = false; // Container child hpaned1hpaned1.Gtk.Paned+PanedChild this.vpaned1 = new global::Gtk.VPaned (); this.vpaned1.CanFocus = true; this.vpaned1.Name = "vpaned1"; this.vpaned1.Position = 207; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook2 = new global::Gtk.Notebook (); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar2\'><toolitem name=\'refreshAction\' action=\'refreshAction" + "\'/><toolitem name=\'saveAction\' action=\'saveAction\'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.vbox2.Add (this.toolbar2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView (); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow2.Add (this.treeview2); this.vbox2.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow2])); w7.Position = 1; this.notebook2.Add (this.vbox2); // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Game Info"); this.notebook2.SetTabLabel (this.vbox2, this.label2); this.label2.ShowAll (); // Container child notebook2.Gtk.Notebook+NotebookChild this.table1 = new global::Gtk.Table (((uint)(5)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Add"); this.table1.Add (this.button1); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.button1])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button2 = new global::Gtk.Button (); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString ("Remove"); this.table1.Add (this.button2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.button2])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button3 = new global::Gtk.Button (); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString ("Reload"); this.table1.Add (this.button3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.button3])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button4 = new global::Gtk.Button (); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString ("Save"); this.table1.Add (this.button4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.button4])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_enable_gg = new global::Gtk.CheckButton (); this.checkbutton_enable_gg.CanFocus = true; this.checkbutton_enable_gg.Name = "checkbutton_enable_gg"; this.checkbutton_enable_gg.Label = global::Mono.Unix.Catalog.GetString ("Enable game genie for this game"); this.checkbutton_enable_gg.DrawIndicator = true; this.checkbutton_enable_gg.UseUnderline = true; this.table1.Add (this.checkbutton_enable_gg); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_enable_gg])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_gg_codes = global::Gtk.ComboBox.NewText (); this.combobox_gg_codes.Name = "combobox_gg_codes"; this.table1.Add (this.combobox_gg_codes); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_gg_codes])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Codes:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Notes: \n. Check the \"Enable game genie for this game\" to start selected game with" + " game genie.\n. Press Reload to load the game genie codes for this game from the " + "saved file.\n. After editing the Game Genie codes you must save via Save button t" + "o apply them."); this.label5.Wrap = true; this.table1.Add (this.label5); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add (this.table1); global::Gtk.Notebook.NotebookChild w17 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table1])); w17.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Game Genie"); this.notebook2.SetTabLabel (this.table1, this.label3); this.label3.ShowAll (); // Container child notebook2.Gtk.Notebook+NotebookChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.checkbutton_loadstate = new global::Gtk.CheckButton (); this.checkbutton_loadstate.CanFocus = true; this.checkbutton_loadstate.Name = "checkbutton_loadstate"; this.checkbutton_loadstate.Label = global::Mono.Unix.Catalog.GetString ("Load state at game start"); this.checkbutton_loadstate.DrawIndicator = true; this.checkbutton_loadstate.UseUnderline = true; this.table2.Add (this.checkbutton_loadstate); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkbutton_loadstate])); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.combobox_state = global::Gtk.ComboBox.NewText (); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 0")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 1")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 2")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 3")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 4")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 5")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 6")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 7")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 8")); this.combobox_state.AppendText (global::Mono.Unix.Catalog.GetString ("Slot 9")); this.combobox_state.Name = "combobox_state"; this.combobox_state.Active = 0; this.table2.Add (this.combobox_state); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.combobox_state])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.image_state = new global::Gtk.Image (); this.image_state.Name = "image_state"; this.image_state.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("MyNesGTK.resources.MyNesImage.png"); this.table2.Add (this.image_state); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.image_state])); w20.TopAttach = ((uint)(2)); w20.BottomAttach = ((uint)(3)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("State slot:"); this.table2.Add (this.label6); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebook2.Add (this.table2); global::Gtk.Notebook.NotebookChild w22 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.table2])); w22.Position = 2; // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("State"); this.notebook2.SetTabLabel (this.table2, this.label1); this.label1.ShowAll (); this.vpaned1.Add (this.notebook2); global::Gtk.Paned.PanedChild w23 = ((global::Gtk.Paned.PanedChild)(this.vpaned1 [this.notebook2])); w23.Resize = false; // Container child vpaned1.Gtk.Paned+PanedChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar3'><toolitem name='goBackAction' action='goBackAction'/><toolitem name='goForwardAction' action='goForwardAction'/><separator/><toolitem name='deleteAction' action='deleteAction'/><toolitem name='openAction2' action='openAction2'/></toolbar></ui>"); this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar3"))); this.toolbar3.Name = "toolbar3"; this.toolbar3.ShowArrow = false; this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar3.IconSize = ((global::Gtk.IconSize)(2)); this.vbox3.Add (this.toolbar3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.image_snap = new global::Gtk.Image (); this.image_snap.Name = "image_snap"; this.vbox3.Add (this.image_snap); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.image_snap])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox3.Add (this.statusbar1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.statusbar1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.notebook1.Add (this.vbox3); // Notebook tab this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Snapshots"); this.notebook1.SetTabLabel (this.vbox3, this.label7); this.label7.ShowAll (); this.vpaned1.Add (this.notebook1); this.hpaned1hpaned1.Add (this.vpaned1); this.hbox1.Add (this.hpaned1hpaned1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hpaned1hpaned1])); w30.Position = 0; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 2; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 916; this.DefaultHeight = 594; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.AboutMyNesGTKAction.Activated += new global::System.EventHandler (this.OnAboutMyNesGTKActionActivated); this.VideoAction.Activated += new global::System.EventHandler (this.OnVideoActionActivated); this.AudioAction.Activated += new global::System.EventHandler (this.OnAudioActionActivated); this.PathsAction.Activated += new global::System.EventHandler (this.OnPathsActionActivated); this.PreferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.openAction1.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.VideoSettingsAction.Activated += new global::System.EventHandler (this.OnVideoActionActivated); this.AudioSettingsAction.Activated += new global::System.EventHandler (this.OnAudioActionActivated); this.PathsSettingsAction.Activated += new global::System.EventHandler (this.OnPathsActionActivated); this.PreferencesAction1.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.helpAction1.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutMyNesGTKActionActivated); this.PaletteAction.Activated += new global::System.EventHandler (this.OnPaletteActionActivated); this.PaletteAction1.Activated += new global::System.EventHandler (this.OnPaletteActionActivated); this.InputAction.Activated += new global::System.EventHandler (this.OnInputActionActivated); this.InputAction1.Activated += new global::System.EventHandler (this.OnInputActionActivated); this.copyAction.Activated += new global::System.EventHandler (this.OnCopyActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.refreshAction.Activated += new global::System.EventHandler (this.OnRefreshActionActivated); this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); this.openAction2.Activated += new global::System.EventHandler (this.OnOpenAction2Activated); this.PlayAction.Activated += new global::System.EventHandler (this.PlaySelected); this.StopAction.Activated += new global::System.EventHandler (this.StopSelected); this.StopSelectedAction.Activated += new global::System.EventHandler (this.StopSelected); this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); this.filechooserwidget2.FileActivated += new global::System.EventHandler (this.OnFilechooserwidget2FileActivated); this.filechooserwidget2.SelectionChanged += new global::System.EventHandler (this.OnFilechooserwidget2SelectionChanged); this.button4.Pressed += new global::System.EventHandler (this.OnButton4Pressed); this.button3.Pressed += new global::System.EventHandler (this.OnButton3Pressed); this.button2.Pressed += new global::System.EventHandler (this.OnButton2Pressed); this.button1.Pressed += new global::System.EventHandler (this.OnButton1Pressed); this.combobox_state.Changed += new global::System.EventHandler (this.OnComboboxStateChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Launchpad.Utilities.UnixUI.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 640; this.HeightRequest = 384; this.Name = "Launchpad.Utilities.UnixUI.MainWindow"; this.Title = LocalizationCatalog.GetString("Launchpad Utilities - Manifest"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Launchpad.Utilities.Resources.Icons8-Android-Industry-Engineering.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Launchpad.Utilities.UnixUI.MainWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'/></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox3.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.alignment14 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment14.Name = "alignment14"; this.alignment14.LeftPadding = ((uint)(8)); this.alignment14.RightPadding = ((uint)(8)); // Container child alignment14.Gtk.Container+ContainerChild this.fileChooser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(2))); this.fileChooser.Name = "fileChooser"; this.fileChooser.LocalOnly = false; this.alignment14.Add(this.fileChooser); this.vbox3.Add(this.alignment14); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment14])); w4.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.alignment12 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment12.Name = "alignment12"; // Container child alignment12.Gtk.Container+ContainerChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.alignment12.Add(this.hseparator3); this.vbox3.Add(this.alignment12); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment12])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.alignment18 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment18.Name = "alignment18"; this.alignment18.LeftPadding = ((uint)(8)); // Container child alignment18.Gtk.Container+ContainerChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = LocalizationCatalog.GetString("Progress: "); this.alignment18.Add(this.label4); this.hbox4.Add(this.alignment18); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment18])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.alignment19 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment19.Name = "alignment19"; this.alignment19.RightPadding = ((uint)(8)); // Container child alignment19.Gtk.Container+ContainerChild this.progressLabel = new global::Gtk.Label(); this.progressLabel.Name = "progressLabel"; this.progressLabel.LabelProp = LocalizationCatalog.GetString("/some/file/path : 1 out of 100"); this.alignment19.Add(this.progressLabel); this.hbox4.Add(this.alignment19); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.alignment19])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.alignment17 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment17.Name = "alignment17"; this.alignment17.LeftPadding = ((uint)(8)); this.alignment17.RightPadding = ((uint)(8)); // Container child alignment17.Gtk.Container+ContainerChild this.progressbar = new global::Gtk.ProgressBar(); this.progressbar.Name = "progressbar"; this.alignment17.Add(this.progressbar); this.vbox3.Add(this.alignment17); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.alignment17])); w13.Position = 4; w13.Expand = false; w13.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.alignment15 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment15.Name = "alignment15"; this.alignment15.RightPadding = ((uint)(8)); this.alignment15.BottomPadding = ((uint)(8)); // Container child alignment15.Gtk.Container+ContainerChild this.generateGameManifestButton = new global::Gtk.Button(); this.generateGameManifestButton.CanFocus = true; this.generateGameManifestButton.Name = "generateGameManifestButton"; this.generateGameManifestButton.UseUnderline = true; this.generateGameManifestButton.Label = LocalizationCatalog.GetString("Generate Game Manifest"); this.alignment15.Add(this.generateGameManifestButton); this.hbox3.Add(this.alignment15); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment15])); w15.PackType = ((global::Gtk.PackType)(1)); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.RightPadding = ((uint)(8)); this.alignment1.BottomPadding = ((uint)(8)); // Container child alignment1.Gtk.Container+ContainerChild this.generateLaunchpadManifestButton = new global::Gtk.Button(); this.generateLaunchpadManifestButton.CanFocus = true; this.generateLaunchpadManifestButton.Name = "generateLaunchpadManifestButton"; this.generateLaunchpadManifestButton.UseUnderline = true; this.generateLaunchpadManifestButton.Label = LocalizationCatalog.GetString("Generate Launchpad Manifest"); this.alignment1.Add(this.generateLaunchpadManifestButton); this.hbox3.Add(this.alignment1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment1])); w17.PackType = ((global::Gtk.PackType)(1)); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w18.Position = 5; w18.Expand = false; w18.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 640; this.DefaultHeight = 384; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.generateLaunchpadManifestButton.Clicked += new global::System.EventHandler(this.OnGenerateLaunchpadManifestButtonClicked); this.generateGameManifestButton.Clicked += new global::System.EventHandler(this.OnGenerateGameManifestButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Gui.CustomFileChooserDialog this.Name = "Gui.CustomFileChooserDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("CustomFileChooserDialog"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 640; this.DefaultHeight = 480; this.Decorated = false; // Container child Gui.CustomFileChooserDialog.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(1)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.fileChooser = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(1))); this.fileChooser.Name = "fileChooser"; this.table1.Add (this.fileChooser); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.fileChooser])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxButtons = new global::Gtk.HBox (); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; // Container child hboxButtons.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.WidthRequest = 100; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString ("Cancel"); this.hboxButtons.Add (this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.btnCancel])); w2.PackType = ((global::Gtk.PackType)(1)); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.btnOk = new global::Gtk.Button (); this.btnOk.WidthRequest = 100; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseUnderline = true; this.btnOk.Label = global::Mono.Unix.Catalog.GetString ("Ok"); this.hboxButtons.Add (this.btnOk); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.btnOk])); w3.PackType = ((global::Gtk.PackType)(1)); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table1.Add (this.hboxButtons); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxButtons])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } 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 ocmgtk.ImportDialog this.WidthRequest = 700; this.HeightRequest = 500; this.Name = "ocmgtk.ImportDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Import GPX/LOC/ZIP.."); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.ImportDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.fileWidget = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.fileWidget.Name = "fileWidget"; w1.Add(this.fileWidget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.fileWidget])); w2.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.oldLogsCheck = new global::Gtk.CheckButton(); this.oldLogsCheck.CanFocus = true; this.oldLogsCheck.Name = "oldLogsCheck"; this.oldLogsCheck.Label = global::Mono.Unix.Catalog.GetString("Purge old cache logs"); this.oldLogsCheck.DrawIndicator = true; this.oldLogsCheck.UseUnderline = true; this.vbox2.Add(this.oldLogsCheck); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.oldLogsCheck])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.statusCheck = new global::Gtk.CheckButton(); this.statusCheck.CanFocus = true; this.statusCheck.Name = "statusCheck"; this.statusCheck.Label = global::Mono.Unix.Catalog.GetString("Do not overwrite existing found status in database"); this.statusCheck.DrawIndicator = true; this.statusCheck.UseUnderline = true; this.vbox2.Add(this.statusCheck); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusCheck])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.gsakFieldsCheck = new global::Gtk.CheckButton(); this.gsakFieldsCheck.CanFocus = true; this.gsakFieldsCheck.Name = "gsakFieldsCheck"; this.gsakFieldsCheck.Label = global::Mono.Unix.Catalog.GetString("Ignore GSAK/OCM extra fields in GPX file"); this.gsakFieldsCheck.DrawIndicator = true; this.gsakFieldsCheck.UseUnderline = true; this.vbox2.Add(this.gsakFieldsCheck); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.gsakFieldsCheck])); w5.Position = 2; w5.Expand = false; w5.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.addToListCheck = new global::Gtk.CheckButton(); this.addToListCheck.CanFocus = true; this.addToListCheck.Name = "addToListCheck"; this.addToListCheck.Label = global::Mono.Unix.Catalog.GetString("Add to bookmark list:"); this.addToListCheck.DrawIndicator = true; this.addToListCheck.UseUnderline = true; this.hbox1.Add(this.addToListCheck); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addToListCheck])); w6.Position = 0; w6.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.bmCombo = global::Gtk.ComboBox.NewText(); this.bmCombo.Sensitive = false; this.bmCombo.Name = "bmCombo"; this.hbox1.Add(this.bmCombo); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.bmCombo])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.addBmrkButton = new global::Gtk.Button(); this.addBmrkButton.CanFocus = true; this.addBmrkButton.Name = "addBmrkButton"; // Container child addBmrkButton.Gtk.Container+ContainerChild this.image20 = new global::Gtk.Image(); this.image20.Sensitive = false; this.image20.Name = "image20"; this.image20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); this.addBmrkButton.Add(this.image20); this.hbox1.Add(this.addBmrkButton); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.addBmrkButton])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w10.Position = 3; w10.Expand = false; w10.Fill = false; this.expander1.Add(this.vbox2); this.GtkLabel17 = new global::Gtk.Label(); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("Options"); this.GtkLabel17.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel17; w1.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.expander1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(6)); // Internal child ocmgtk.ImportDialog.ActionArea global::Gtk.HButtonBox w13 = this.ActionArea; w13.Name = "dialog1_ActionArea"; w13.Spacing = 10; w13.BorderWidth = ((uint)(5)); w13.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 w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonCancel])); w14.Expand = false; w14.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-open"; this.AddActionWidget(this.buttonOk, -3); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk])); w15.Position = 1; w15.Expand = false; w15.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 721; this.DefaultHeight = 527; this.Show(); this.fileWidget.FileActivated += new global::System.EventHandler(this.OnFileActivated); this.addToListCheck.Toggled += new global::System.EventHandler(this.OnAddToBmrkToggle); this.addBmrkButton.Clicked += new global::System.EventHandler(this.OnAddClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "stock_fullscreen", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.FileChooserWidget = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.FileChooserWidget.HeightRequest = 0; this.FileChooserWidget.Name = "FileChooserWidget"; this.vbox2.Add(this.FileChooserWidget); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.FileChooserWidget])); w2.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow3 = new global::Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.ImageView = new global::Gtk.Image(); this.ImageView.HeightRequest = 400; this.ImageView.Name = "ImageView"; w3.Add(this.ImageView); this.scrolledwindow3.Add(w3); this.vbox2.Add(this.scrolledwindow3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow3])); w6.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox6 = new global::Gtk.HButtonBox(); this.hbuttonbox6.HeightRequest = 50; this.hbuttonbox6.Name = "hbuttonbox6"; this.hbuttonbox6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox6.Gtk.ButtonBox+ButtonBoxChild this.PrevBtn = new global::Gtk.Button(); this.PrevBtn.CanFocus = true; this.PrevBtn.Name = "PrevBtn"; this.PrevBtn.UseUnderline = true; this.PrevBtn.Label = global::Mono.Unix.Catalog.GetString("Prev"); this.hbuttonbox6.Add(this.PrevBtn); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox6[this.PrevBtn])); w7.Expand = false; w7.Fill = false; // Container child hbuttonbox6.Gtk.ButtonBox+ButtonBoxChild this.NextBtn = new global::Gtk.Button(); this.NextBtn.CanFocus = true; this.NextBtn.Name = "NextBtn"; this.NextBtn.UseUnderline = true; this.NextBtn.Label = global::Mono.Unix.Catalog.GetString("Next"); this.hbuttonbox6.Add(this.NextBtn); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox6[this.NextBtn])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.vbox2.Add(this.hbuttonbox6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox6])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1085; this.DefaultHeight = 823; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.FileChooserWidget.CurrentFolderChanged += new global::System.EventHandler(this.onFolderChanged); this.FileChooserWidget.SelectionChanged += new global::System.EventHandler(this.onFileSelected); this.PrevBtn.Clicked += new global::System.EventHandler(this.OnPrevClick); this.NextBtn.Clicked += new global::System.EventHandler(this.OnNextClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Simple PSEGet"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 400; this.DefaultHeight = 500; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.notebook2 = new global::Gtk.Notebook(); this.notebook2.CanFocus = true; this.notebook2.Name = "notebook2"; this.notebook2.CurrentPage = 0; this.notebook2.ShowBorder = false; // Container child notebook2.Gtk.Notebook+NotebookChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.expDownloadAndConvert1 = new global::Gtk.Expander(null); this.expDownloadAndConvert1.CanFocus = true; this.expDownloadAndConvert1.Name = "expDownloadAndConvert1"; // Container child expDownloadAndConvert1.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Download From "); this.hbox7.Add(this.label14); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label14])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.edtDownloadLink = new global::Gtk.Entry(); this.edtDownloadLink.CanFocus = true; this.edtDownloadLink.Name = "edtDownloadLink"; this.edtDownloadLink.Text = global::Mono.Unix.Catalog.GetString("http://www.pse.com.ph/html/Quotations/2011"); this.edtDownloadLink.IsEditable = true; this.edtDownloadLink.InvisibleChar = '●'; this.hbox7.Add(this.edtDownloadLink); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.edtDownloadLink])); w2.Position = 1; this.vbox3.Add(this.hbox7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("From"); this.hbox3.Add(this.label15); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label15])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.edtFrom = new global::Gtk.Entry(); this.edtFrom.CanFocus = true; this.edtFrom.Name = "edtFrom"; this.edtFrom.IsEditable = true; this.edtFrom.InvisibleChar = '●'; this.hbox3.Add(this.edtFrom); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.edtFrom])); w5.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.label17 = new global::Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = global::Mono.Unix.Catalog.GetString("To"); this.hbox3.Add(this.label17); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label17])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.edtTo = new global::Gtk.Entry(); this.edtTo.CanFocus = true; this.edtTo.Name = "edtTo"; this.edtTo.IsEditable = true; this.edtTo.InvisibleChar = '●'; this.hbox3.Add(this.edtTo); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.edtTo])); w7.Position = 3; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.expDownloadAndConvert1.Add(this.vbox3); this.expDownloadAndConvert = new global::Gtk.Label(); this.expDownloadAndConvert.Name = "expDownloadAndConvert"; this.expDownloadAndConvert.LabelProp = global::Mono.Unix.Catalog.GetString("Download And Convert"); this.expDownloadAndConvert.UseUnderline = true; this.expDownloadAndConvert1.LabelWidget = this.expDownloadAndConvert; this.vbox1.Add(this.expDownloadAndConvert1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expDownloadAndConvert1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expConvertFromFiles = new global::Gtk.Expander(null); this.expConvertFromFiles.CanFocus = true; this.expConvertFromFiles.Name = "expConvertFromFiles"; this.expConvertFromFiles.Expanded = true; this.expConvertFromFiles.BorderWidth = ((uint)(3)); // Container child expConvertFromFiles.Gtk.Container+ContainerChild this.listSelectedFiles = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this.listSelectedFiles.WidthRequest = 0; this.listSelectedFiles.HeightRequest = 300; this.listSelectedFiles.Name = "listSelectedFiles"; this.listSelectedFiles.SelectMultiple = true; this.expConvertFromFiles.Add(this.listSelectedFiles); this.GtkLabel13 = new global::Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = global::Mono.Unix.Catalog.GetString("Convert From File(s)"); this.GtkLabel13.UseUnderline = true; this.expConvertFromFiles.LabelWidget = this.GtkLabel13; this.vbox1.Add(this.expConvertFromFiles); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expConvertFromFiles])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.expHistoricalData = new global::Gtk.Expander(null); this.expHistoricalData.CanFocus = true; this.expHistoricalData.Name = "expHistoricalData"; // Container child expHistoricalData.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbuttonbox1 = new global::Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnSelectAll = new global::Gtk.Button(); this.btnSelectAll.CanFocus = true; this.btnSelectAll.Name = "btnSelectAll"; this.btnSelectAll.UseUnderline = true; this.btnSelectAll.Label = global::Mono.Unix.Catalog.GetString("Select All"); this.vbuttonbox1.Add(this.btnSelectAll); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.btnSelectAll])); w13.Expand = false; w13.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnUnselectAll = new global::Gtk.Button(); this.btnUnselectAll.CanFocus = true; this.btnUnselectAll.Name = "btnUnselectAll"; this.btnUnselectAll.UseUnderline = true; this.btnUnselectAll.Label = global::Mono.Unix.Catalog.GetString("Unselect All"); this.vbuttonbox1.Add(this.btnUnselectAll); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.btnUnselectAll])); w14.Position = 1; w14.Expand = false; w14.Fill = false; this.hbox1.Add(this.vbuttonbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1])); w15.Position = 0; w15.Expand = false; w15.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.historicalStockListTreeview = new global::Gtk.TreeView(); this.historicalStockListTreeview.WidthRequest = 200; this.historicalStockListTreeview.HeightRequest = 150; this.historicalStockListTreeview.CanFocus = true; this.historicalStockListTreeview.Name = "historicalStockListTreeview"; this.GtkScrolledWindow2.Add(this.historicalStockListTreeview); this.hbox1.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow2])); w17.Position = 1; // 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.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Years "); this.hbox2.Add(this.label12); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label12])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.edtNumYears = new global::Gtk.Entry(); this.edtNumYears.WidthRequest = 20; this.edtNumYears.CanFocus = true; this.edtNumYears.Name = "edtNumYears"; this.edtNumYears.Text = global::Mono.Unix.Catalog.GetString("20"); this.edtNumYears.IsEditable = true; this.edtNumYears.InvisibleChar = '●'; this.hbox2.Add(this.edtNumYears); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.edtNumYears])); w19.Position = 1; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Single File"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox5.Add(this.checkbutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.checkbutton1])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w22.Position = 2; this.expHistoricalData.Add(this.hbox1); this.GtkLabel11 = new global::Gtk.Label(); this.GtkLabel11.Name = "GtkLabel11"; this.GtkLabel11.LabelProp = global::Mono.Unix.Catalog.GetString("Download Historical Data"); this.GtkLabel11.UseUnderline = true; this.expHistoricalData.LabelWidget = this.GtkLabel11; this.vbox1.Add(this.expHistoricalData); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.expHistoricalData])); w24.Position = 2; w24.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.LabelXalign = 0.5F; this.frame1.LabelYalign = 0F; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("Output Directory"); this.hbox5.Add(this.label16); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label16])); w25.Position = 0; w25.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.edtOutputDir = new global::Gtk.Entry(); this.edtOutputDir.CanFocus = true; this.edtOutputDir.Name = "edtOutputDir"; this.edtOutputDir.IsEditable = true; this.edtOutputDir.InvisibleChar = '●'; this.hbox5.Add(this.edtOutputDir); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.edtOutputDir])); w26.Position = 1; this.vbox6.Add(this.hbox5); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox5])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.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("Date Format"); this.hbox6.Add(this.label1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label1])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.edtDateFormat = new global::Gtk.Entry(); this.edtDateFormat.CanFocus = true; this.edtDateFormat.Name = "edtDateFormat"; this.edtDateFormat.Text = global::Mono.Unix.Catalog.GetString("MM/DD/YYYY"); this.edtDateFormat.IsEditable = true; this.edtDateFormat.InvisibleChar = '●'; this.hbox6.Add(this.edtDateFormat); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.edtDateFormat])); w29.Position = 1; w29.Expand = false; this.vbox6.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox6])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.combo1 = global::Gtk.ComboBox.NewText(); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo1.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo1.Name = "combo1"; this.combo1.Active = 0; this.table1.Add(this.combo1); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo1])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo2 = global::Gtk.ComboBox.NewText(); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo2.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo2.Name = "combo2"; this.combo2.Active = 1; this.table1.Add(this.combo2); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo2])); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo3 = global::Gtk.ComboBox.NewText(); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo3.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo3.Name = "combo3"; this.combo3.Active = 2; this.table1.Add(this.combo3); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo3])); w33.LeftAttach = ((uint)(3)); w33.RightAttach = ((uint)(4)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo4 = global::Gtk.ComboBox.NewText(); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo4.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo4.Name = "combo4"; this.combo4.Active = 3; this.table1.Add(this.combo4); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo4])); w34.LeftAttach = ((uint)(4)); w34.RightAttach = ((uint)(5)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo5 = global::Gtk.ComboBox.NewText(); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo5.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo5.Name = "combo5"; this.combo5.Active = 4; this.table1.Add(this.combo5); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo5])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo6 = global::Gtk.ComboBox.NewText(); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo6.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo6.Name = "combo6"; this.combo6.Active = 5; this.table1.Add(this.combo6); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo6])); w36.TopAttach = ((uint)(1)); w36.BottomAttach = ((uint)(2)); w36.LeftAttach = ((uint)(2)); w36.RightAttach = ((uint)(3)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo7 = global::Gtk.ComboBox.NewText(); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo7.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo7.Name = "combo7"; this.combo7.Active = 6; this.table1.Add(this.combo7); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo7])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.LeftAttach = ((uint)(3)); w37.RightAttach = ((uint)(4)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combo8 = global::Gtk.ComboBox.NewText(); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("SYMBOL")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("DATE")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("OPEN")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("HIGH")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("LOW")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("CLOSE")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("VOLUME")); this.combo8.AppendText(global::Mono.Unix.Catalog.GetString("NFB/S")); this.combo8.Name = "combo8"; this.combo8.Active = 7; this.table1.Add(this.combo8); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.combo8])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(4)); w38.RightAttach = ((uint)(5)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Format "); this.table1.Add(this.label6); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox6.Add(this.table1); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.table1])); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.GtkAlignment8.Add(this.vbox6); this.frame1.Add(this.GtkAlignment8); this.GtkLabel17 = new global::Gtk.Label(); this.GtkLabel17.WidthRequest = 114; this.GtkLabel17.HeightRequest = 240; this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Output Settings</b>"); this.GtkLabel17.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel17; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w43.Position = 3; w43.Expand = false; w43.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Delimiter\n"); this.fixed2.Add(this.label7); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label7])); w44.X = 15; w44.Y = 10; // Container child fixed2.Gtk.Fixed+FixedChild this.edtDelimiter = new global::Gtk.Entry(); this.edtDelimiter.WidthRequest = 50; this.edtDelimiter.CanFocus = true; this.edtDelimiter.Name = "edtDelimiter"; this.edtDelimiter.Text = global::Mono.Unix.Catalog.GetString(","); this.edtDelimiter.IsEditable = true; this.edtDelimiter.InvisibleChar = '●'; this.fixed2.Add(this.edtDelimiter); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.edtDelimiter])); w45.X = 80; w45.Y = 7; // Container child fixed2.Gtk.Fixed+FixedChild this.chkIndexAsValue = new global::Gtk.CheckButton(); this.chkIndexAsValue.CanFocus = true; this.chkIndexAsValue.Name = "chkIndexAsValue"; this.chkIndexAsValue.Label = global::Mono.Unix.Catalog.GetString("Index Value as Volume"); this.chkIndexAsValue.Active = true; this.chkIndexAsValue.DrawIndicator = true; this.chkIndexAsValue.UseUnderline = true; this.fixed2.Add(this.chkIndexAsValue); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.chkIndexAsValue])); w46.X = 265; w46.Y = 7; this.vbox1.Add(this.fixed2); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed2])); w47.Position = 4; w47.Expand = false; w47.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbuttonbox1 = new global::Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.BorderWidth = ((uint)(9)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.btnGiveIt = new global::Gtk.Button(); this.btnGiveIt.CanFocus = true; this.btnGiveIt.Name = "btnGiveIt"; this.btnGiveIt.UseUnderline = true; this.btnGiveIt.Label = global::Mono.Unix.Catalog.GetString("Give it to me!"); this.hbuttonbox1.Add(this.btnGiveIt); global::Gtk.ButtonBox.ButtonBoxChild w48 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.btnGiveIt])); w48.Expand = false; w48.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild 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("Goodbye"); this.hbuttonbox1.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.button2])); w49.Position = 1; w49.Expand = false; w49.Fill = false; this.vbox1.Add(this.hbuttonbox1); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox1])); w50.Position = 5; w50.Expand = false; w50.Fill = false; this.vbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox1])); w51.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.vbox2.Add(this.labelStatus); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelStatus])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.notebook2.Add(this.vbox2); // Notebook tab this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Converter"); this.notebook2.SetTabLabel(this.vbox2, this.label3); this.label3.ShowAll(); // Container child notebook2.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.textview1 = new global::Gtk.TextView(); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow3.Add(this.textview1); this.notebook2.Add(this.GtkScrolledWindow3); global::Gtk.Notebook.NotebookChild w55 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.GtkScrolledWindow3])); w55.Position = 1; // Notebook tab this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("About"); this.notebook2.SetTabLabel(this.GtkScrolledWindow3, this.label13); this.label13.ShowAll(); this.Add(this.notebook2); if ((this.Child != null)) { this.Child.ShowAll(); } this.expDownloadAndConvert1.Hide(); this.expHistoricalData.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.notebook2.ChangeCurrentPage += new global::Gtk.ChangeCurrentPageHandler(this.notebook_ChangeCurrentPage); this.expDownloadAndConvert1.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.expConvertFromFiles.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.expHistoricalData.Activated += new global::System.EventHandler(this.OnExpDownloadAndConvert1Activated); this.btnSelectAll.Clicked += new global::System.EventHandler(this.btnSelectAll_Click); this.btnUnselectAll.Clicked += new global::System.EventHandler(this.btnUnselectAll_Click); this.btnGiveIt.Clicked += new global::System.EventHandler(this.OnBtnGiveItClicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.copyAction = new global::Gtk.Action ("copyAction", global::Mono.Unix.Catalog.GetString ("File"), null, "gtk-copy"); this.copyAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.copyAction, 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)); this.BorderWidth = ((uint)(9)); // 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=\'copyAction\' action=\'copyAction\'/></t" + "oolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add (this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(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.fchSDCard = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.fchSDCard.Name = "fchSDCard"; this.table1.Add (this.fchSDCard); // Container child table1.Gtk.Table+TableChild this.fchTarget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(0))); this.fchTarget.Name = "fchTarget"; this.table1.Add (this.fchTarget); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.fchTarget])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild 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.btnCopy = new global::Gtk.Button (); this.btnCopy.CanFocus = true; this.btnCopy.Name = "btnCopy"; this.btnCopy.UseUnderline = true; this.btnCopy.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.table2.Add (this.btnCopy); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.btnCopy])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.table1.Add (this.table2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.table2])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1])); w7.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.Name = "progressbar1"; this.hbox2.Add (this.progressbar1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.progressbar1])); w8.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.labelFilesCount = new global::Gtk.Label (); this.labelFilesCount.Name = "labelFilesCount"; this.labelFilesCount.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.hbox2.Add (this.labelFilesCount); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelFilesCount])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 1053; this.DefaultHeight = 695; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.copyAction.Activated += new global::System.EventHandler (this.OnButton1Clicked); this.btnCopy.Clicked += new global::System.EventHandler (this.OnButton1Clicked); this.fchSDCard.CurrentFolderChanged += new global::System.EventHandler (this.OnFchSDCardCurrentFolderChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget FontTool.FontBuildWindow this.WidthRequest = 600; this.HeightRequest = 400; this.Name = "FontTool.FontBuildWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Save"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; // Container child FontTool.FontBuildWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook (); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.fileSaveWidget = new global::Gtk.FileChooserWidget (((global::Gtk.FileChooserAction)(1))); this.fileSaveWidget.Name = "fileSaveWidget"; this.notebook1.Add (this.fileSaveWidget); global::Gtk.Notebook.NotebookChild w1 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.fileSaveWidget])); w1.MenuLabel = ""; // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.WidthRequest = 80; this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Save"); this.notebook1.SetTabLabel (this.fileSaveWidget, this.label2); this.label2.ShowAll (); // 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 global::Gtk.Viewport w2 = new global::Gtk.Viewport (); w2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.drawingarea3 = new global::Gtk.DrawingArea (); this.drawingarea3.Name = "drawingarea3"; w2.Add (this.drawingarea3); this.scrolledwindow1.Add (w2); this.notebook1.Add (this.scrolledwindow1); global::Gtk.Notebook.NotebookChild w5 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.scrolledwindow1])); w5.Position = 1; // Notebook tab this.label3 = new global::Gtk.Label (); this.label3.WidthRequest = 80; this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview"); this.notebook1.SetTabLabel (this.scrolledwindow1, this.label3); this.label3.ShowAll (); this.vbox2.Add (this.notebook1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebook1])); w6.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.eWidth = new global::Gtk.Entry (); this.eWidth.WidthRequest = 60; this.eWidth.Name = "eWidth"; this.eWidth.IsEditable = false; this.eWidth.InvisibleChar = '●'; this.hbox3.Add (this.eWidth); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.eWidth])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lX = new global::Gtk.Label (); this.lX.Name = "lX"; this.lX.LabelProp = global::Mono.Unix.Catalog.GetString ("X"); this.hbox3.Add (this.lX); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lX])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.eHeight = new global::Gtk.Entry (); this.eHeight.WidthRequest = 60; this.eHeight.Name = "eHeight"; this.eHeight.IsEditable = false; this.eHeight.InvisibleChar = '●'; this.hbox3.Add (this.eHeight); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.eHeight])); w9.Position = 2; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.btnSave = new global::Gtk.Button (); this.btnSave.WidthRequest = 80; this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString ("Save"); this.hbox3.Add (this.btnSave); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnSave])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 3; w10.Expand = false; w10.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.WidthRequest = 80; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString ("Cancel"); this.hbox3.Add (this.btnCancel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnCancel])); w11.PackType = ((global::Gtk.PackType)(1)); w11.Position = 4; w11.Expand = false; w11.Fill = false; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 600; this.DefaultHeight = 400; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MaxbukAdmin.EditDialog this.Name = "MaxbukAdmin.EditDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MaxbukAdmin.EditDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 3; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name"); w1.Add(this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; w1.Add(this.entry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.entry1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Path"); w1.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.label2])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this._chooseFolder = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(0))); this._chooseFolder.Name = "_chooseFolder"; w1.Add(this._chooseFolder); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this._chooseFolder])); w5.Position = 3; // Internal child MaxbukAdmin.EditDialog.ActionArea global::Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.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 w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel])); w7.Expand = false; w7.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 w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Gui.CustomFileChooserDialog this.Name = "Gui.CustomFileChooserDialog"; this.Title = global::Mono.Unix.Catalog.GetString("CustomFileChooserDialog"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 640; this.DefaultHeight = 480; this.Decorated = false; // Container child Gui.CustomFileChooserDialog.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(1)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.fileChooser = new global::Gtk.FileChooserWidget(((global::Gtk.FileChooserAction)(1))); this.fileChooser.Name = "fileChooser"; this.table1.Add(this.fileChooser); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.fileChooser])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hboxButtons = new global::Gtk.HBox(); this.hboxButtons.Name = "hboxButtons"; this.hboxButtons.Spacing = 6; // Container child hboxButtons.Gtk.Box+BoxChild this.btnCancel = new global::Gtk.Button(); this.btnCancel.WidthRequest = 100; this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString("Cancel"); this.hboxButtons.Add(this.btnCancel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.btnCancel])); w2.PackType = ((global::Gtk.PackType)(1)); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hboxButtons.Gtk.Box+BoxChild this.btnOk = new global::Gtk.Button(); this.btnOk.WidthRequest = 100; this.btnOk.CanFocus = true; this.btnOk.Name = "btnOk"; this.btnOk.UseUnderline = true; this.btnOk.Label = global::Mono.Unix.Catalog.GetString("Ok"); this.hboxButtons.Add(this.btnOk); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hboxButtons [this.btnOk])); w3.PackType = ((global::Gtk.PackType)(1)); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.table1.Add(this.hboxButtons); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.hboxButtons])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }