Esempio n. 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.AddFolderDialog
     this.Name           = "MonoGame.Tools.Pipeline.AddFolderDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(4));
     // Internal child MonoGame.Tools.Pipeline.AddFolderDialog.VBox
     #if GTK2
     global::Gtk.VBox w1 = this.VBox;
     #elif GTK3
     global::Gtk.Box w1 = this.ContentArea;
     #endif
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.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("The folder <b>%folder</b> is outside of the target directory. What would you like to do?");
     this.label1.Wrap      = true;
     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.radiobutton1               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Copy the folder to the directory"));
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     w1.Add(this.radiobutton1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.radiobutton1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.radiobutton2               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Add a link to the folder"));
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     w1.Add(this.radiobutton2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.radiobutton2]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     w1.Add(this.alignment1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment1]));
     w5.Position = 3;
     // Internal child MonoGame.Tools.Pipeline.AddFolderDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w6 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w6 = this.ActionArea;
     #endif
     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";
     w6.Add(this.buttonOk);
     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  = 411;
     this.DefaultHeight = 216;
     this.Show();
     this.Response         += new global::Gtk.ResponseHandler(this.OnResponse);
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.NewTemplateDialog
     this.WidthRequest   = 340;
     this.Name           = "MonoGame.Tools.Pipeline.NewTemplateDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoGame.Tools.Pipeline.NewTemplateDialog.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.vbox2      = new global::Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView();
     #if GTK3
     this.treeview1.Expand = true;
     #endif
     this.treeview1.CanFocus       = true;
     this.treeview1.Name           = "treeview1";
     this.treeview1.HeadersVisible = false;
     this.GtkScrolledWindow.Add(this.treeview1);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w3.Position = 0;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name:");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.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 w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entry1]));
     w5.Position = 1;
     this.vbox2.Add(this.hbox1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Only Letters, numbers, space and \"_\" are allowed.");
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     w1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
     w8.Position = 0;
     // Internal child MonoGame.Tools.Pipeline.NewTemplateDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w9 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w9 = this.ActionArea;
     #endif
     w9.Name        = "dialog1_ActionArea";
     w9.Spacing     = 10;
     w9.BorderWidth = ((uint)(5));
     w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonCancel]));
     w10.Expand = false;
     w10.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.Sensitive    = false;
     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";
     w9.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w9 [this.buttonOk]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 340;
     this.DefaultHeight = 352;
     this.label2.Hide();
     this.Show();
     this.Response += new global::Gtk.ResponseHandler(this.OnResponse);
     this.treeview1.CursorChanged += new global::System.EventHandler(this.OnTreeview1CursorChanged);
     this.entry1.Changed          += new global::System.EventHandler(this.OnEntry1Changed);
     this.buttonOk.Clicked        += new global::System.EventHandler(this.OnButtonOkClicked);
 }
 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);
 }
Esempio n. 4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.AddFileDialog
     this.Name           = "MonoGame.Tools.Pipeline.AddFileDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Add File Action");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(4));
     // Internal child MonoGame.Tools.Pipeline.AddFileDialog.VBox
     #if GTK2
     global::Gtk.VBox w1 = this.VBox;
     #elif GTK3
     global::Gtk.Box w1 = this.ContentArea;
     #endif
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.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("The file <b>%file</b> is outside of the target directory. What would you like to do?");
     this.label1.Wrap      = true;
     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.radiobuttonCopy               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Copy the file to the directory"));
     this.radiobuttonCopy.CanFocus      = true;
     this.radiobuttonCopy.Name          = "radiobuttonCopy";
     this.radiobuttonCopy.Active        = true;
     this.radiobuttonCopy.DrawIndicator = true;
     this.radiobuttonCopy.UseUnderline  = true;
     w1.Add(this.radiobuttonCopy);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.radiobuttonCopy]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.radiobuttonLink               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Add a link to the file"));
     this.radiobuttonLink.CanFocus      = true;
     this.radiobuttonLink.Name          = "radiobuttonLink";
     this.radiobuttonLink.DrawIndicator = true;
     this.radiobuttonLink.UseUnderline  = true;
     this.radiobuttonLink.Group         = this.radiobuttonCopy.Group;
     w1.Add(this.radiobuttonLink);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.radiobuttonLink]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.radiobuttonSkip               = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Skip adding the file"));
     this.radiobuttonSkip.CanFocus      = true;
     this.radiobuttonSkip.Name          = "radiobuttonSkip";
     this.radiobuttonSkip.DrawIndicator = true;
     this.radiobuttonSkip.UseUnderline  = true;
     this.radiobuttonSkip.Group         = this.radiobuttonCopy.Group;
     w1.Add(this.radiobuttonSkip);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.radiobuttonSkip]));
     w5.Position = 3;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child dialog1_VBox.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("Use the same action for all selected files");
     this.checkbutton1.DrawIndicator = true;
     this.checkbutton1.UseUnderline  = true;
     w1.Add(this.checkbutton1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.checkbutton1]));
     w6.PackType = ((global::Gtk.PackType)(1));
     w6.Position = 5;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     w1.Add(this.alignment1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.alignment1]));
     w7.PackType = ((global::Gtk.PackType)(1));
     w7.Position = 6;
     // Internal child MonoGame.Tools.Pipeline.AddFileDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w8 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w8 = this.ActionArea;
     #endif
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 10;
     w8.BorderWidth = ((uint)(5));
     w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.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";
     w8.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 398;
     this.DefaultHeight = 261;
     this.Show();
     this.Response         += new global::Gtk.ResponseHandler(this.OnResponse);
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.YesNoCancelDialog
     this.Name           = "MonoGame.Tools.Pipeline.YesNoCancelDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoGame.Tools.Pipeline.YesNoCancelDialog.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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image1        = new global::Gtk.Image();
     this.image1.Name   = "image1";
     this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-question", global::Gtk.IconSize.Dialog);
     this.hbox1.Add(this.image1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.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("label1");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w3.Position = 1;
     w1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Internal child MonoGame.Tools.Pipeline.YesNoCancelDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w5 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w5 = this.ActionArea;
     #endif
     w5.Name        = "dialog1_ActionArea";
     w5.Spacing     = 10;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     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-yes";
     this.AddActionWidget(this.button9, -8);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.button9]));
     w6.Expand = false;
     w6.Fill   = false;
     // 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-no";
     this.AddActionWidget(this.buttonCancel, -9);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel]));
     w7.Position = 1;
     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-cancel";
     this.AddActionWidget(this.buttonOk, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonOk]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 373;
     this.DefaultHeight = 96;
     this.Show();
     this.Response += new global::Gtk.ResponseHandler(this.OnResponse);
 }
Esempio n. 6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.ColorPickerDialog
     this.Name           = "MonoGame.Tools.Pipeline.ColorPickerDialog";
     this.Title          = global::Mono.Unix.Catalog.GetString("Color Picker");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.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.colorselection1                   = new global::Gtk.ColorSelection();
     this.colorselection1.Name              = "colorselection1";
     this.colorselection1.HasPalette        = true;
     this.colorselection1.HasOpacityControl = true;
     w1.Add(this.colorselection1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.colorselection1]));
     w2.Position = 0;
     // Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w3 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w3 = this.ActionArea;
     #endif
     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";
     w3.Add(this.buttonOk);
     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  = 511;
     this.DefaultHeight = 334;
     this.Show();
     this.Response         += new global::Gtk.ResponseHandler(this.OnResponse);
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
Esempio n. 7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.TextEditorDialog
     this.Name           = "MonoGame.Tools.Pipeline.TextEditorDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(4));
     // Internal child MonoGame.Tools.Pipeline.TextEditorDialog.VBox
     #if GTK2
     global::Gtk.VBox w1 = this.VBox;
     #elif GTK3
     global::Gtk.Box w1 = this.ContentArea;
     #endif
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 4;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2");
     w1.Add(this.label2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label2]));
     w2.Position = 0;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.entry1 = new global::Gtk.Entry();
     #if GTK3
     entry1.Expand = true;
     #endif
     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;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label3 = new global::Gtk.Label();
     this.label3.HeightRequest = 0;
     this.label3.Name          = "label3";
     this.label3.LabelProp     = global::Mono.Unix.Catalog.GetString("Only Letters, numbers, space and \"_\" are allowed.");
     w1.Add(this.label3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.label3]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     // Internal child MonoGame.Tools.Pipeline.TextEditorDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w5 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w5 = this.ActionArea;
     #endif
     w5.Name        = "dialog1_ActionArea";
     w5.Spacing     = 10;
     w5.BorderWidth = ((uint)(5));
     w5.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 w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel]));
     w6.Expand = false;
     w6.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.Sensitive    = false;
     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";
     w5.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonOk]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 367;
     this.DefaultHeight = 143;
     this.label3.Hide();
     this.Show();
     this.Response         += new global::Gtk.ResponseHandler(this.OnResponse);
     this.entry1.Changed   += new global::System.EventHandler(this.OnEntry1Changed);
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
Esempio n. 8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.AboutDialog
     this.Name           = "MonoGame.Tools.Pipeline.AboutDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoGame.Tools.Pipeline.AboutDialog.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)(4));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 10;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image1        = new global::Gtk.Image();
     this.image1.Name   = "image1";
     this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("MonoGame.Tools.Pipeline.App.ico");
     this.hbox1.Add(this.image1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.image1]));
     w2.Position = 0;
     w2.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 11;
     // 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("label1");
     this.vbox2.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1]));
     w3.Position = 0;
     w3.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2");
     this.vbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.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("label3");
     this.vbox2.Add(this.label3);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label3]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.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("label4");
     this.vbox2.Add(this.label4);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label4]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1 = new global::Gtk.TextView();
     #if GTK3
     this.textview1.Expand = true;
     #endif
     this.textview1.CanFocus = true;
     this.textview1.Name     = "textview1";
     this.textview1.Editable = false;
     this.GtkScrolledWindow.Add(this.textview1);
     this.vbox2.Add(this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
     w8.Position = 4;
     this.hbox1.Add(this.vbox2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
     w9.Position = 1;
     w1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
     w10.Position = 0;
     // Internal child MonoGame.Tools.Pipeline.AboutDialog.ActionArea
     #if GTK2
     global::Gtk.HButtonBox w11 = this.ActionArea;
     #elif GTK3
     global::Gtk.ButtonBox w11 = this.ActionArea;
     #endif
     w11.Name        = "dialog1_ActionArea";
     w11.Spacing     = 10;
     w11.BorderWidth = ((uint)(5));
     w11.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w11 [this.buttonOk]));
     w12.Expand = false;
     w12.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 482;
     this.DefaultHeight = 328;
     this.Show();
     this.Response += new global::Gtk.ResponseHandler(this.OnResponse);
 }