Esempio n. 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Moscrif.IDE.Controls.DeviceControl
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Moscrif.IDE.Controls.DeviceControl";
     // Container child Moscrif.IDE.Controls.DeviceControl.Gtk.Container+ContainerChild
     this.table1               = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(8));
     // Container child table1.Gtk.Table+TableChild
     this.btnPublishBada              = new global::Gtk.Button();
     this.btnPublishBada.CanFocus     = true;
     this.btnPublishBada.Name         = "btnPublishBada";
     this.btnPublishBada.UseUnderline = true;
     this.btnPublishBada.Label        = global::Mono.Unix.Catalog.GetString("Publish");
     this.table1.Add(this.btnPublishBada);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.btnPublishBada]));
     w1.TopAttach    = ((uint)(6));
     w1.BottomAttach = ((uint)(7));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entTheme               = new global::Gtk.Entry();
     this.entTheme.CanFocus      = true;
     this.entTheme.Name          = "entTheme";
     this.entTheme.IsEditable    = true;
     this.entTheme.InvisibleChar = '●';
     this.table1.Add(this.entTheme);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entTheme]));
     w2.TopAttach    = ((uint)(5));
     w2.BottomAttach = ((uint)(6));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((global::Gtk.AttachOptions)(4));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.feOutput          = new global::Moscrif.IDE.Components.FileEntry();
     this.feOutput.Name     = "feOutput";
     this.feOutput.IsFolder = false;
     this.table1.Add(this.feOutput);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.feOutput]));
     w3.TopAttach    = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
     this.GtkScrolledWindow.HeightRequest = 126;
     this.GtkScrolledWindow.Name          = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType    = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nvFonts          = new global::Gtk.TreeView();
     this.nvFonts.CanFocus = true;
     this.nvFonts.Name     = "nvFonts";
     this.GtkScrolledWindow.Add(this.nvFonts);
     this.table1.Add(this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbFileName         = new global::Gtk.HBox();
     this.hbFileName.Name    = "hbFileName";
     this.hbFileName.Spacing = 6;
     // Container child hbFileName.Gtk.Box+BoxChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("File Name:");
     this.hbFileName.Add(this.label6);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbFileName[this.label6]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbFileName.Gtk.Box+BoxChild
     this.entrName               = new global::Gtk.Entry();
     this.entrName.CanFocus      = true;
     this.entrName.Name          = "entrName";
     this.entrName.IsEditable    = true;
     this.entrName.InvisibleChar = '●';
     this.hbFileName.Add(this.entrName);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbFileName[this.entrName]));
     w7.Position = 1;
     this.table1.Add(this.hbFileName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbFileName]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions    = ((global::Gtk.AttachOptions)(4));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cbSkin      = global::Gtk.ComboBox.NewText();
     this.cbSkin.Name = "cbSkin";
     this.hbox1.Add(this.cbSkin);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbSkin]));
     w9.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Resolution:");
     this.hbox1.Add(this.label5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label5]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entResolution = new global::Gtk.Entry();
     this.entResolution.WidthRequest  = 75;
     this.entResolution.CanFocus      = true;
     this.entResolution.Name          = "entResolution";
     this.entResolution.IsEditable    = true;
     this.entResolution.InvisibleChar = '●';
     this.hbox1.Add(this.entResolution);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entResolution]));
     w11.Position = 2;
     w11.Expand   = false;
     this.table1.Add(this.hbox1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1]));
     w12.TopAttach    = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chbCore               = new global::Gtk.CheckButton();
     this.chbCore.CanFocus      = true;
     this.chbCore.Name          = "chbCore";
     this.chbCore.Label         = global::Mono.Unix.Catalog.GetString("Core");
     this.chbCore.DrawIndicator = true;
     this.chbCore.UseUnderline  = true;
     this.table1.Add(this.chbCore);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.chbCore]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chbUi               = new global::Gtk.CheckButton();
     this.chbUi.CanFocus      = true;
     this.chbUi.Name          = "chbUi";
     this.chbUi.Label         = global::Mono.Unix.Catalog.GetString("Ui");
     this.chbUi.DrawIndicator = true;
     this.chbUi.UseUnderline  = true;
     this.table1.Add(this.chbUi);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.chbUi]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Skins");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w15.TopAttach    = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Theme");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Output");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.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("Fonts");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w18.TopAttach    = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.Add(this.table1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.btnPublishBada.Clicked += new global::System.EventHandler(this.OnBtnPublishBadaClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Moscrif.IDE.Controls.DeviceControl
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Moscrif.IDE.Controls.DeviceControl";
     // Container child Moscrif.IDE.Controls.DeviceControl.Gtk.Container+ContainerChild
     this.table1 = new global::Gtk.Table (((uint)(8)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(8));
     // Container child table1.Gtk.Table+TableChild
     this.btnPublishBada = new global::Gtk.Button ();
     this.btnPublishBada.CanFocus = true;
     this.btnPublishBada.Name = "btnPublishBada";
     this.btnPublishBada.UseUnderline = true;
     this.btnPublishBada.Label = global::Mono.Unix.Catalog.GetString ("Publish");
     this.table1.Add (this.btnPublishBada);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.btnPublishBada]));
     w1.TopAttach = ((uint)(6));
     w1.BottomAttach = ((uint)(7));
     w1.XOptions = ((global::Gtk.AttachOptions)(4));
     w1.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entTheme = new global::Gtk.Entry ();
     this.entTheme.CanFocus = true;
     this.entTheme.Name = "entTheme";
     this.entTheme.IsEditable = true;
     this.entTheme.InvisibleChar = '●';
     this.table1.Add (this.entTheme);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entTheme]));
     w2.TopAttach = ((uint)(5));
     w2.BottomAttach = ((uint)(6));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.feOutput = new global::Moscrif.IDE.Components.FileEntry ();
     this.feOutput.Name = "feOutput";
     this.feOutput.IsFolder = false;
     this.table1.Add (this.feOutput);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.feOutput]));
     w3.TopAttach = ((uint)(3));
     w3.BottomAttach = ((uint)(4));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.HeightRequest = 126;
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.nvFonts = new global::Gtk.TreeView ();
     this.nvFonts.CanFocus = true;
     this.nvFonts.Name = "nvFonts";
     this.GtkScrolledWindow.Add (this.nvFonts);
     this.table1.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbFileName = new global::Gtk.HBox ();
     this.hbFileName.Name = "hbFileName";
     this.hbFileName.Spacing = 6;
     // Container child hbFileName.Gtk.Box+BoxChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("File Name:");
     this.hbFileName.Add (this.label6);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbFileName[this.label6]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbFileName.Gtk.Box+BoxChild
     this.entrName = new global::Gtk.Entry ();
     this.entrName.CanFocus = true;
     this.entrName.Name = "entrName";
     this.entrName.IsEditable = true;
     this.entrName.InvisibleChar = '●';
     this.hbFileName.Add (this.entrName);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbFileName[this.entrName]));
     w7.Position = 1;
     this.table1.Add (this.hbFileName);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.hbFileName]));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.cbSkin = global::Gtk.ComboBox.NewText ();
     this.cbSkin.Name = "cbSkin";
     this.hbox1.Add (this.cbSkin);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbSkin]));
     w9.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Resolution:");
     this.hbox1.Add (this.label5);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label5]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entResolution = new global::Gtk.Entry ();
     this.entResolution.WidthRequest = 75;
     this.entResolution.CanFocus = true;
     this.entResolution.Name = "entResolution";
     this.entResolution.IsEditable = true;
     this.entResolution.InvisibleChar = '●';
     this.hbox1.Add (this.entResolution);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entResolution]));
     w11.Position = 2;
     w11.Expand = false;
     this.table1.Add (this.hbox1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox1]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chbCore = new global::Gtk.CheckButton ();
     this.chbCore.CanFocus = true;
     this.chbCore.Name = "chbCore";
     this.chbCore.Label = global::Mono.Unix.Catalog.GetString ("Core");
     this.chbCore.DrawIndicator = true;
     this.chbCore.UseUnderline = true;
     this.table1.Add (this.chbCore);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.chbCore]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chbUi = new global::Gtk.CheckButton ();
     this.chbUi.CanFocus = true;
     this.chbUi.Name = "chbUi";
     this.chbUi.Label = global::Mono.Unix.Catalog.GetString ("Ui");
     this.chbUi.DrawIndicator = true;
     this.chbUi.UseUnderline = true;
     this.table1.Add (this.chbUi);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.chbUi]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Skins");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
     w15.TopAttach = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Theme");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w16.TopAttach = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Output");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
     w17.TopAttach = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.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 ("Fonts");
     this.table1.Add (this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
     w18.TopAttach = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     this.Add (this.table1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.btnPublishBada.Clicked += new global::System.EventHandler (this.OnBtnPublishBadaClicked);
 }