protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Docking.Components.VirtualListView global::Stetic.BinContainer.Attach(this); this.Name = "Docking.Components.VirtualListView"; // Container child Docking.Components.VirtualListView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 1; // Container child hbox1.Gtk.Box+BoxChild this.drawingarea = new global::Gtk.DrawingArea(); this.drawingarea.CanFocus = true; this.drawingarea.Events = ((global::Gdk.EventMask)(2113796)); this.drawingarea.Name = "drawingarea"; this.hbox1.Add(this.drawingarea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.drawingarea])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vscrollbar1 = new global::Gtk.VScrollbar(null); this.vscrollbar1.Name = "vscrollbar1"; this.vscrollbar1.Adjustment.Upper = 100; this.vscrollbar1.Adjustment.PageIncrement = 10; this.vscrollbar1.Adjustment.PageSize = 10; this.vscrollbar1.Adjustment.StepIncrement = 1; this.hbox1.Add(this.vscrollbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vscrollbar1])); w2.Position = 1; 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; // Container child vbox1.Gtk.Box+BoxChild this.hscrollbar1 = new global::Gtk.HScrollbar(null); this.hscrollbar1.Name = "hscrollbar1"; this.hscrollbar1.Adjustment.Upper = 100; this.hscrollbar1.Adjustment.PageIncrement = 10; this.hscrollbar1.Adjustment.PageSize = 10; this.hscrollbar1.Adjustment.StepIncrement = 1; this.vbox1.Add(this.hscrollbar1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hscrollbar1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.drawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnDrawingareaExposeEvent); this.vscrollbar1.ValueChanged += new global::System.EventHandler(this.OnVscrollbar1ValueChanged); this.hscrollbar1.ValueChanged += new global::System.EventHandler(this.OnHscrollbar1ValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Dialog.DrawingTool this.Name = "LongoMatch.Gui.Dialog.DrawingTool"; this.Title = global::Mono.Unix.Catalog.GetString("Drawing Tool"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "longomatch", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 800; this.DefaultHeight = 1; this.Gravity = ((global::Gdk.Gravity)(5)); this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child LongoMatch.Gui.Dialog.DrawingTool.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; this.leftbox.Spacing = 6; // Container child leftbox.Gtk.Box+BoxChild this.toolslabel = new global::Gtk.Label(); this.toolslabel.Name = "toolslabel"; this.toolslabel.Xalign = 0F; this.toolslabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Tools</b>"); this.toolslabel.UseMarkup = true; this.leftbox.Add(this.toolslabel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.toolslabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.toolstable = new global::Gtk.Table(((uint)(7)), ((uint)(2)), true); this.toolstable.Name = "toolstable"; this.toolstable.RowSpacing = ((uint)(6)); this.toolstable.ColumnSpacing = ((uint)(6)); // Container child toolstable.Gtk.Table+TableChild this.anglebutton = new global::Gtk.RadioButton(""); this.anglebutton.TooltipMarkup = "Angle tool"; this.anglebutton.CanFocus = true; this.anglebutton.Name = "anglebutton"; this.anglebutton.DrawIndicator = false; this.anglebutton.UseUnderline = true; this.anglebutton.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.anglebutton.Remove(this.anglebutton.Child); // Container child anglebutton.Gtk.Container+ContainerChild this.anglebuttonimage = new global::Gtk.Image(); this.anglebuttonimage.Name = "anglebuttonimage"; this.anglebutton.Add(this.anglebuttonimage); this.toolstable.Add(this.anglebutton); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.toolstable [this.anglebutton])); w4.TopAttach = ((uint)(6)); w4.BottomAttach = ((uint)(7)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.crossbutton = new global::Gtk.RadioButton(""); this.crossbutton.TooltipMarkup = "Cross tool"; this.crossbutton.CanFocus = true; this.crossbutton.Name = "crossbutton"; this.crossbutton.DrawIndicator = false; this.crossbutton.UseUnderline = true; this.crossbutton.Group = this.anglebutton.Group; this.crossbutton.Remove(this.crossbutton.Child); // Container child crossbutton.Gtk.Container+ContainerChild this.crossbuttonimage = new global::Gtk.Image(); this.crossbuttonimage.Name = "crossbuttonimage"; this.crossbutton.Add(this.crossbuttonimage); this.toolstable.Add(this.crossbutton); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.toolstable [this.crossbutton])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.ellipsebutton = new global::Gtk.RadioButton(""); this.ellipsebutton.TooltipMarkup = "Ellipse tool"; this.ellipsebutton.CanFocus = true; this.ellipsebutton.Name = "ellipsebutton"; this.ellipsebutton.DrawIndicator = false; this.ellipsebutton.UseUnderline = true; this.ellipsebutton.Group = this.anglebutton.Group; this.ellipsebutton.Remove(this.ellipsebutton.Child); // Container child ellipsebutton.Gtk.Container+ContainerChild this.ellipsebuttonimage = new global::Gtk.Image(); this.ellipsebuttonimage.Name = "ellipsebuttonimage"; this.ellipsebutton.Add(this.ellipsebuttonimage); this.toolstable.Add(this.ellipsebutton); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.toolstable [this.ellipsebutton])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.ellipsefilledbutton = new global::Gtk.RadioButton(""); this.ellipsefilledbutton.TooltipMarkup = "Filled ellipse"; this.ellipsefilledbutton.CanFocus = true; this.ellipsefilledbutton.Name = "ellipsefilledbutton"; this.ellipsefilledbutton.DrawIndicator = false; this.ellipsefilledbutton.UseUnderline = true; this.ellipsefilledbutton.Group = this.anglebutton.Group; this.ellipsefilledbutton.Remove(this.ellipsefilledbutton.Child); // Container child ellipsefilledbutton.Gtk.Container+ContainerChild this.ellipsefilledbuttonimage = new global::Gtk.Image(); this.ellipsefilledbuttonimage.Name = "ellipsefilledbuttonimage"; this.ellipsefilledbutton.Add(this.ellipsefilledbuttonimage); this.toolstable.Add(this.ellipsefilledbutton); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.toolstable [this.ellipsefilledbutton])); w10.TopAttach = ((uint)(4)); w10.BottomAttach = ((uint)(5)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.eraserbutton = new global::Gtk.RadioButton(""); this.eraserbutton.TooltipMarkup = "Rubber tool"; this.eraserbutton.CanFocus = true; this.eraserbutton.Name = "eraserbutton"; this.eraserbutton.DrawIndicator = false; this.eraserbutton.UseUnderline = true; this.eraserbutton.Group = this.anglebutton.Group; this.eraserbutton.Remove(this.eraserbutton.Child); // Container child eraserbutton.Gtk.Container+ContainerChild this.eraserbuttonimage = new global::Gtk.Image(); this.eraserbuttonimage.Name = "eraserbuttonimage"; this.eraserbutton.Add(this.eraserbuttonimage); this.toolstable.Add(this.eraserbutton); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.toolstable [this.eraserbutton])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.linebutton = new global::Gtk.RadioButton(""); this.linebutton.TooltipMarkup = "Line tool"; this.linebutton.CanFocus = true; this.linebutton.Name = "linebutton"; this.linebutton.DrawIndicator = false; this.linebutton.UseUnderline = true; this.linebutton.Group = this.anglebutton.Group; this.linebutton.Remove(this.linebutton.Child); // Container child linebutton.Gtk.Container+ContainerChild this.linebuttonimage = new global::Gtk.Image(); this.linebuttonimage.Name = "linebuttonimage"; this.linebutton.Add(this.linebuttonimage); this.toolstable.Add(this.linebutton); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.toolstable [this.linebutton])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.numberbutton = new global::Gtk.RadioButton(""); this.numberbutton.TooltipMarkup = "Index tool"; this.numberbutton.CanFocus = true; this.numberbutton.Name = "numberbutton"; this.numberbutton.DrawIndicator = false; this.numberbutton.UseUnderline = true; this.numberbutton.Group = this.anglebutton.Group; this.numberbutton.Remove(this.numberbutton.Child); // Container child numberbutton.Gtk.Container+ContainerChild this.numberbuttonimage = new global::Gtk.Image(); this.numberbuttonimage.Name = "numberbuttonimage"; this.numberbutton.Add(this.numberbuttonimage); this.toolstable.Add(this.numberbutton); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.toolstable [this.numberbutton])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.penbutton = new global::Gtk.RadioButton(""); this.penbutton.TooltipMarkup = "Pencil tool"; this.penbutton.CanFocus = true; this.penbutton.Name = "penbutton"; this.penbutton.DrawIndicator = false; this.penbutton.UseUnderline = true; this.penbutton.Group = this.anglebutton.Group; this.penbutton.Remove(this.penbutton.Child); // Container child penbutton.Gtk.Container+ContainerChild this.penbuttonimage = new global::Gtk.Image(); this.penbuttonimage.Name = "penbuttonimage"; this.penbutton.Add(this.penbuttonimage); this.toolstable.Add(this.penbutton); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.toolstable [this.penbutton])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.playerbutton = new global::Gtk.RadioButton(""); this.playerbutton.TooltipMarkup = "Player tool"; this.playerbutton.CanFocus = true; this.playerbutton.Name = "playerbutton"; this.playerbutton.DrawIndicator = false; this.playerbutton.UseUnderline = true; this.playerbutton.Group = this.anglebutton.Group; this.playerbutton.Remove(this.playerbutton.Child); // Container child playerbutton.Gtk.Container+ContainerChild this.playerbuttonimage = new global::Gtk.Image(); this.playerbuttonimage.Name = "playerbuttonimage"; this.playerbutton.Add(this.playerbuttonimage); this.toolstable.Add(this.playerbutton); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.toolstable [this.playerbutton])); w20.TopAttach = ((uint)(5)); w20.BottomAttach = ((uint)(6)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.rectanglebutton = new global::Gtk.RadioButton(""); this.rectanglebutton.TooltipMarkup = "Rectangle tool"; this.rectanglebutton.CanFocus = true; this.rectanglebutton.Name = "rectanglebutton"; this.rectanglebutton.DrawIndicator = false; this.rectanglebutton.UseUnderline = true; this.rectanglebutton.Group = this.anglebutton.Group; this.rectanglebutton.Remove(this.rectanglebutton.Child); // Container child rectanglebutton.Gtk.Container+ContainerChild this.rectanglebuttonimage = new global::Gtk.Image(); this.rectanglebuttonimage.Name = "rectanglebuttonimage"; this.rectanglebutton.Add(this.rectanglebuttonimage); this.toolstable.Add(this.rectanglebutton); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.toolstable [this.rectanglebutton])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.rectanglefilledbutton = new global::Gtk.RadioButton(""); this.rectanglefilledbutton.TooltipMarkup = "Filled rectangle tool"; this.rectanglefilledbutton.CanFocus = true; this.rectanglefilledbutton.Name = "rectanglefilledbutton"; this.rectanglefilledbutton.DrawIndicator = false; this.rectanglefilledbutton.UseUnderline = true; this.rectanglefilledbutton.Group = this.anglebutton.Group; this.rectanglefilledbutton.Remove(this.rectanglefilledbutton.Child); // Container child rectanglefilledbutton.Gtk.Container+ContainerChild this.rectanglefilledbuttonimage = new global::Gtk.Image(); this.rectanglefilledbuttonimage.Name = "rectanglefilledbuttonimage"; this.rectanglefilledbutton.Add(this.rectanglefilledbuttonimage); this.toolstable.Add(this.rectanglefilledbutton); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.toolstable [this.rectanglefilledbutton])); w24.TopAttach = ((uint)(4)); w24.BottomAttach = ((uint)(5)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.selectbutton = new global::Gtk.RadioButton(""); this.selectbutton.TooltipMarkup = "Selection tool"; this.selectbutton.CanFocus = true; this.selectbutton.Name = "selectbutton"; this.selectbutton.DrawIndicator = false; this.selectbutton.UseUnderline = true; this.selectbutton.Group = this.anglebutton.Group; this.selectbutton.Remove(this.selectbutton.Child); // Container child selectbutton.Gtk.Container+ContainerChild this.selectbuttonimage = new global::Gtk.Image(); this.selectbuttonimage.Name = "selectbuttonimage"; this.selectbutton.Add(this.selectbuttonimage); this.toolstable.Add(this.selectbutton); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.toolstable [this.selectbutton])); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.textbutton = new global::Gtk.RadioButton(""); this.textbutton.TooltipMarkup = "Text tool"; this.textbutton.CanFocus = true; this.textbutton.Name = "textbutton"; this.textbutton.DrawIndicator = false; this.textbutton.UseUnderline = true; this.textbutton.Group = this.anglebutton.Group; this.textbutton.Remove(this.textbutton.Child); // Container child textbutton.Gtk.Container+ContainerChild this.textbuttonimage = new global::Gtk.Image(); this.textbuttonimage.Name = "textbuttonimage"; this.textbutton.Add(this.textbuttonimage); this.toolstable.Add(this.textbutton); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.toolstable [this.textbutton])); w28.TopAttach = ((uint)(1)); w28.BottomAttach = ((uint)(2)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child toolstable.Gtk.Table+TableChild this.zoombutton = new global::Gtk.RadioButton(""); this.zoombutton.TooltipMarkup = "Index tool"; this.zoombutton.CanFocus = true; this.zoombutton.Name = "zoombutton"; this.zoombutton.DrawIndicator = false; this.zoombutton.UseUnderline = true; this.zoombutton.Group = this.anglebutton.Group; this.zoombutton.Remove(this.zoombutton.Child); // Container child zoombutton.Gtk.Container+ContainerChild this.zoombuttonimage = new global::Gtk.Image(); this.zoombuttonimage.Name = "zoombuttonimage"; this.zoombutton.Add(this.zoombuttonimage); this.toolstable.Add(this.zoombutton); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.toolstable [this.zoombutton])); w30.TopAttach = ((uint)(6)); w30.BottomAttach = ((uint)(7)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); this.leftbox.Add(this.toolstable); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.toolstable])); w31.Position = 1; w31.Expand = false; // Container child leftbox.Gtk.Box+BoxChild this.zoombox = new global::Gtk.HBox(); this.zoombox.Name = "zoombox"; this.zoombox.Spacing = 6; // Container child zoombox.Gtk.Box+BoxChild this.zoomlabel = new global::Gtk.Label(); this.zoomlabel.Name = "zoomlabel"; this.zoomlabel.LabelProp = "100%"; this.zoombox.Add(this.zoomlabel); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.zoombox [this.zoomlabel])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child zoombox.Gtk.Box+BoxChild this.zoomscalebox = new global::Gtk.HBox(); this.zoomscalebox.Name = "zoomscalebox"; this.zoomscalebox.Spacing = 6; // Container child zoomscalebox.Gtk.Box+BoxChild this.zoomoutimage = new global::Gtk.Image(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomscalebox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.zoomscalebox [this.zoomoutimage])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child zoomscalebox.Gtk.Box+BoxChild this.zoomscale = new global::Gtk.HScale(null); this.zoomscale.Name = "zoomscale"; this.zoomscale.Adjustment.Upper = 100; this.zoomscale.Adjustment.PageIncrement = 10; this.zoomscale.Adjustment.StepIncrement = 1; this.zoomscale.Adjustment.Value = 12; this.zoomscale.DrawValue = false; this.zoomscale.Digits = 0; this.zoomscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomscalebox.Add(this.zoomscale); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.zoomscalebox [this.zoomscale])); w34.Position = 1; // Container child zoomscalebox.Gtk.Box+BoxChild this.zoominimage = new global::Gtk.Image(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomscalebox.Add(this.zoominimage); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.zoomscalebox [this.zoominimage])); w35.Position = 2; w35.Expand = false; w35.Fill = false; this.zoombox.Add(this.zoomscalebox); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.zoombox [this.zoomscalebox])); w36.Position = 1; this.leftbox.Add(this.zoombox); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.zoombox])); w37.Position = 2; w37.Expand = false; w37.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.linesframe = new global::Gtk.Frame(); this.linesframe.Name = "linesframe"; this.linesframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child linesframe.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.colorbutton = new global::Gtk.ColorButton(); this.colorbutton.Events = ((global::Gdk.EventMask)(784)); this.colorbutton.Name = "colorbutton"; this.table1.Add(this.colorbutton); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton])); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.colorslabel = new global::Gtk.Label(); this.colorslabel.Name = "colorslabel"; this.colorslabel.Xalign = 0F; this.colorslabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Color</b>"); this.colorslabel.UseMarkup = true; this.table1.Add(this.colorslabel); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorslabel])); w39.XOptions = ((global::Gtk.AttachOptions)(4)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Size</b>"); this.label3.UseMarkup = true; this.table1.Add(this.label3); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Style</b>"); this.label4.UseMarkup = true; this.table1.Add(this.label4); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w41.TopAttach = ((uint)(2)); w41.BottomAttach = ((uint)(3)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Type</b>"); this.label5.UseMarkup = true; this.table1.Add(this.label5); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w42.TopAttach = ((uint)(3)); w42.BottomAttach = ((uint)(4)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.linesizespinbutton = new global::Gtk.SpinButton(2, 20, 1); this.linesizespinbutton.Name = "linesizespinbutton"; this.linesizespinbutton.Adjustment.PageIncrement = 10; this.linesizespinbutton.ClimbRate = 1; this.linesizespinbutton.Numeric = true; this.linesizespinbutton.Value = 4; this.table1.Add(this.linesizespinbutton); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table1 [this.linesizespinbutton])); w43.TopAttach = ((uint)(1)); w43.BottomAttach = ((uint)(2)); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.stylecombobox = global::Gtk.ComboBox.NewText(); this.stylecombobox.TooltipMarkup = "Change the line style"; this.stylecombobox.Name = "stylecombobox"; this.table1.Add(this.stylecombobox); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table1 [this.stylecombobox])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.typecombobox = global::Gtk.ComboBox.NewText(); this.typecombobox.TooltipMarkup = "Change the line style"; this.typecombobox.Name = "typecombobox"; this.table1.Add(this.typecombobox); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table1 [this.typecombobox])); w45.TopAttach = ((uint)(3)); w45.BottomAttach = ((uint)(4)); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment4.Add(this.table1); this.linesframe.Add(this.GtkAlignment4); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Lines</b>"); this.GtkLabel4.UseMarkup = true; this.linesframe.LabelWidget = this.GtkLabel4; this.leftbox.Add(this.linesframe); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.linesframe])); w48.Position = 3; w48.Expand = false; w48.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.textframe = new global::Gtk.Frame(); this.textframe.Name = "textframe"; this.textframe.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child textframe.Gtk.Container+ContainerChild this.GtkAlignment13 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment13.Name = "GtkAlignment13"; this.GtkAlignment13.LeftPadding = ((uint)(12)); // Container child GtkAlignment13.Gtk.Container+ContainerChild this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.backgroundcolorbutton = new global::Gtk.ColorButton(); this.backgroundcolorbutton.Events = ((global::Gdk.EventMask)(784)); this.backgroundcolorbutton.Name = "backgroundcolorbutton"; this.table4.Add(this.backgroundcolorbutton); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table4 [this.backgroundcolorbutton])); w49.TopAttach = ((uint)(1)); w49.BottomAttach = ((uint)(2)); w49.LeftAttach = ((uint)(1)); w49.RightAttach = ((uint)(2)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.backgroundcolorslabel2 = new global::Gtk.Label(); this.backgroundcolorslabel2.Name = "backgroundcolorslabel2"; this.backgroundcolorslabel2.Xalign = 0F; this.backgroundcolorslabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Background</b>"); this.backgroundcolorslabel2.UseMarkup = true; this.table4.Add(this.backgroundcolorslabel2); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table4 [this.backgroundcolorslabel2])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.backgroundcolorslabel3 = new global::Gtk.Label(); this.backgroundcolorslabel3.Name = "backgroundcolorslabel3"; this.backgroundcolorslabel3.Xalign = 0F; this.backgroundcolorslabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Size</b>"); this.backgroundcolorslabel3.UseMarkup = true; this.table4.Add(this.backgroundcolorslabel3); global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table4 [this.backgroundcolorslabel3])); w51.TopAttach = ((uint)(2)); w51.BottomAttach = ((uint)(3)); w51.XOptions = ((global::Gtk.AttachOptions)(4)); w51.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.textcolorbutton = new global::Gtk.ColorButton(); this.textcolorbutton.Events = ((global::Gdk.EventMask)(784)); this.textcolorbutton.Name = "textcolorbutton"; this.table4.Add(this.textcolorbutton); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table4 [this.textcolorbutton])); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.textcolorslabel2 = new global::Gtk.Label(); this.textcolorslabel2.Name = "textcolorslabel2"; this.textcolorslabel2.Xalign = 0F; this.textcolorslabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Color</b>"); this.textcolorslabel2.UseMarkup = true; this.table4.Add(this.textcolorslabel2); global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table4 [this.textcolorslabel2])); w53.XOptions = ((global::Gtk.AttachOptions)(4)); w53.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.textspinbutton = new global::Gtk.SpinButton(6, 100, 1); this.textspinbutton.Name = "textspinbutton"; this.textspinbutton.Adjustment.PageIncrement = 10; this.textspinbutton.ClimbRate = 1; this.textspinbutton.Numeric = true; this.textspinbutton.Value = 12; this.table4.Add(this.textspinbutton); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table4 [this.textspinbutton])); w54.TopAttach = ((uint)(2)); w54.BottomAttach = ((uint)(3)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment13.Add(this.table4); this.textframe.Add(this.GtkAlignment13); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Text</b>"); this.GtkLabel5.UseMarkup = true; this.textframe.LabelWidget = this.GtkLabel5; this.leftbox.Add(this.textframe); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.textframe])); w57.Position = 4; w57.Expand = false; w57.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.clearbutton = new global::Gtk.Button(); this.clearbutton.TooltipMarkup = "Clear all drawings"; this.clearbutton.CanFocus = true; this.clearbutton.Name = "clearbutton"; this.clearbutton.UseUnderline = true; global::Gtk.Image w58 = new global::Gtk.Image(); w58.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.LargeToolbar); this.clearbutton.Image = w58; this.leftbox.Add(this.clearbutton); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.clearbutton])); w59.PackType = ((global::Gtk.PackType)(1)); w59.Position = 5; w59.Expand = false; w59.Fill = false; this.vbox2.Add(this.leftbox); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.leftbox])); w60.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.savetoprojectbutton = new global::Gtk.Button(); this.savetoprojectbutton.CanFocus = true; this.savetoprojectbutton.Name = "savetoprojectbutton"; this.savetoprojectbutton.UseUnderline = true; this.savetoprojectbutton.Label = global::Mono.Unix.Catalog.GetString("Save to Project"); global::Gtk.Image w61 = new global::Gtk.Image(); w61.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.savetoprojectbutton.Image = w61; this.vbox2.Add(this.savetoprojectbutton); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.savetoprojectbutton])); w62.PackType = ((global::Gtk.PackType)(1)); w62.Position = 1; w62.Expand = false; w62.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.savebutton = new global::Gtk.Button(); this.savebutton.CanFocus = true; this.savebutton.Name = "savebutton"; this.savebutton.UseUnderline = true; this.savebutton.Label = global::Mono.Unix.Catalog.GetString("Save to File"); global::Gtk.Image w63 = new global::Gtk.Image(); w63.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-save", global::Gtk.IconSize.Menu); this.savebutton.Image = w63; this.vbox2.Add(this.savebutton); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.savebutton])); w64.PackType = ((global::Gtk.PackType)(1)); w64.Position = 2; w64.Expand = false; w64.Fill = false; this.hbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.drawingarea = new global::Gtk.DrawingArea(); this.drawingarea.Name = "drawingarea"; this.vbox4.Add(this.drawingarea); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.drawingarea])); w66.Position = 0; // Container child vbox4.Gtk.Box+BoxChild this.wscrollbar = new global::Gtk.HScrollbar(null); this.wscrollbar.Name = "wscrollbar"; this.wscrollbar.Adjustment.Upper = 100; this.wscrollbar.Adjustment.PageIncrement = 10; this.wscrollbar.Adjustment.PageSize = 10; this.wscrollbar.Adjustment.StepIncrement = 1; this.vbox4.Add(this.wscrollbar); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.wscrollbar])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.hbox3.Add(this.vbox4); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox4])); w68.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hscrollbar = new global::Gtk.VScrollbar(null); this.hscrollbar.Name = "hscrollbar"; this.hscrollbar.Adjustment.Upper = 100; this.hscrollbar.Adjustment.PageIncrement = 10; this.hscrollbar.Adjustment.PageSize = 10; this.hscrollbar.Adjustment.StepIncrement = 1; this.vbox5.Add(this.hscrollbar); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hscrollbar])); w69.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.vbox5.Add(this.alignment1); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.alignment1])); w70.Position = 1; w70.Expand = false; w70.Fill = false; this.hbox3.Add(this.vbox5); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox5])); w71.Position = 1; w71.Expand = false; w71.Fill = false; this.hbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox3])); w72.Position = 1; w1.Add(this.hbox1); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); w73.Position = 0; // Internal child LongoMatch.Gui.Dialog.DrawingTool.ActionArea global::Gtk.HButtonBox w74 = this.ActionArea; w74.Name = "dialog1_ActionArea"; w74.Spacing = 6; w74.BorderWidth = ((uint)(5)); w74.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.closebutton = new global::Gtk.Button(); this.closebutton.CanFocus = true; this.closebutton.Name = "closebutton"; this.closebutton.UseUnderline = true; this.closebutton.Label = global::Mono.Unix.Catalog.GetString("Close"); global::Gtk.Image w75 = new global::Gtk.Image(); w75.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu); this.closebutton.Image = w75; this.AddActionWidget(this.closebutton, 0); global::Gtk.ButtonBox.ButtonBoxChild w76 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w74 [this.closebutton])); w76.Expand = false; w76.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.anglebutton.Hide(); this.savetoprojectbutton.Hide(); this.closebutton.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("ArnoldC Interpreter"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child 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.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.choose_file = new global::Gtk.Button(); this.choose_file.WidthRequest = 139; 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("Choose FIle"); this.hbox4.Add(this.choose_file); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.choose_file])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.file_name = new global::Gtk.Label(); this.file_name.WidthRequest = 148; this.file_name.Name = "file_name"; this.file_name.LabelProp = global::Mono.Unix.Catalog.GetString("No file chosen"); this.hbox4.Add(this.file_name); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.file_name])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.hbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.lexemes = new global::Gtk.Label(); this.lexemes.WidthRequest = 278; this.lexemes.Name = "lexemes"; this.lexemes.LabelProp = global::Mono.Unix.Catalog.GetString("LEXEMES"); this.hbox5.Add(this.lexemes); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.lexemes])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.syymbol_table = new global::Gtk.Label(); this.syymbol_table.WidthRequest = 289; this.syymbol_table.Name = "syymbol_table"; this.syymbol_table.LabelProp = global::Mono.Unix.Catalog.GetString("SYMBOL TABLE"); this.hbox5.Add(this.syymbol_table); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.syymbol_table])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.hbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox5])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox3.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.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.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView(); this.textview1.WidthRequest = 0; this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.hbox3.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.GtkScrolledWindow])); w9.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.classification_column = new global::Gtk.Label(); this.classification_column.WidthRequest = 131; this.classification_column.Name = "classification_column"; this.classification_column.LabelProp = global::Mono.Unix.Catalog.GetString("Classification"); this.table1.Add(this.classification_column); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.classification_column])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lexeme_column = new global::Gtk.Label(); this.lexeme_column.WidthRequest = 117; this.lexeme_column.Name = "lexeme_column"; this.lexeme_column.LabelProp = global::Mono.Unix.Catalog.GetString("Lexeme"); this.table1.Add(this.lexeme_column); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.lexeme_column])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox3.Add(this.table1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.table1])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.lexeme_scrollbar = new global::Gtk.VScrollbar(null); this.lexeme_scrollbar.Name = "lexeme_scrollbar"; this.lexeme_scrollbar.Adjustment.Upper = 100D; this.lexeme_scrollbar.Adjustment.PageIncrement = 10D; this.lexeme_scrollbar.Adjustment.PageSize = 10D; this.lexeme_scrollbar.Adjustment.StepIncrement = 1D; this.hbox3.Add(this.lexeme_scrollbar); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.lexeme_scrollbar])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.identifier_column = new global::Gtk.Label(); this.identifier_column.WidthRequest = 132; this.identifier_column.Name = "identifier_column"; this.identifier_column.LabelProp = global::Mono.Unix.Catalog.GetString("Identifier"); this.table2.Add(this.identifier_column); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.identifier_column])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.value_column = new global::Gtk.Label(); this.value_column.WidthRequest = 141; this.value_column.Name = "value_column"; this.value_column.LabelProp = global::Mono.Unix.Catalog.GetString("Value"); this.table2.Add(this.value_column); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.value_column])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox3.Add(this.table2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.table2])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w17.Position = 1; // Container child vbox3.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.execute_button = new global::Gtk.Button(); this.execute_button.CanFocus = true; this.execute_button.Name = "execute_button"; this.execute_button.UseUnderline = true; this.execute_button.Label = global::Mono.Unix.Catalog.GetString("EXECUTE"); this.vbox4.Add(this.execute_button); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.execute_button])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox4.Add(this.hseparator1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.hseparator1])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox3.Add(this.vbox4); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vbox4])); w20.Position = 2; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 872; this.DefaultHeight = 492; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.choose_file.Clicked += new global::System.EventHandler(this.open_file_dialog); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Wallet.Log global::Stetic.BinContainer.Attach(this); this.Name = "Wallet.Log"; // Container child Wallet.Log.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.eventbox4 = new global::Gtk.EventBox(); this.eventbox4.WidthRequest = 10; this.eventbox4.Name = "eventbox4"; this.hbox1.Add(this.eventbox4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.eventbox4])); w1.Position = 0; w1.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.listHeaders = new global::Gtk.TreeView(); this.listHeaders.Name = "listHeaders"; this.listHeaders.HeadersVisible = false; this.hbox1.Add(this.listHeaders); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.listHeaders])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.eventbox1 = new global::Gtk.EventBox(); this.eventbox1.WidthRequest = 30; this.eventbox1.Name = "eventbox1"; this.hbox1.Add(this.eventbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.eventbox1])); w3.Position = 2; w3.Expand = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w4.Position = 0; w4.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.eventbox7 = new global::Gtk.EventBox(); this.eventbox7.WidthRequest = 10; this.eventbox7.Name = "eventbox7"; this.hbox2.Add(this.eventbox7); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.eventbox7])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.listTransactions = new global::Gtk.TreeView(); this.listTransactions.Name = "listTransactions"; this.listTransactions.EnableSearch = false; this.listTransactions.HeadersVisible = false; this.listTransactions.RulesHint = true; this.GtkScrolledWindow.Add(this.listTransactions); this.hbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow])); w7.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.vscrollbar2 = new global::Gtk.VScrollbar(null); this.vscrollbar2.WidthRequest = 30; this.vscrollbar2.Name = "vscrollbar2"; this.vscrollbar2.Adjustment.Upper = 100D; this.vscrollbar2.Adjustment.PageIncrement = 10D; this.vscrollbar2.Adjustment.PageSize = 10D; this.vscrollbar2.Adjustment.StepIncrement = 1D; this.hbox2.Add(this.vscrollbar2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vscrollbar2])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 1; this.hbox4.Add(this.vbox1); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.vbox1])); w10.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.WidthRequest = 20; this.label13.Name = "label13"; this.hbox4.Add(this.label13); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.label13])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.hbox4); 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.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenAction, null); this.InfoAction = new global::Gtk.Action("InfoAction", global::Mono.Unix.Catalog.GetString("Info"), null, null); this.InfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Info"); w1.Add(this.InfoAction, null); this.DateiAction = new global::Gtk.Action("DateiAction", global::Mono.Unix.Catalog.GetString("Datei"), null, null); this.DateiAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Datei"); w1.Add(this.DateiAction, null); this.InfoAction1 = new global::Gtk.Action("InfoAction1", global::Mono.Unix.Catalog.GetString("Info"), null, null); this.InfoAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Info"); w1.Add(this.InfoAction1, 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.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.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar3\'><menu name=\'DateiAction\' action=\'DateiAction\'/><menu" + " name=\'InfoAction1\' action=\'InfoAction1\'><menuitem name=\'AboutAction\' action=\'Ab" + "outAction\'/></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.fixed1.Add(this.menubar3); // Container child fixed1.Gtk.Fixed+FixedChild this.TrackScrolledWindow = new global::Gtk.ScrolledWindow(); this.TrackScrolledWindow.WidthRequest = 702; this.TrackScrolledWindow.HeightRequest = 227; this.TrackScrolledWindow.Name = "TrackScrolledWindow"; this.TrackScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child TrackScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.DrawingTrack = new global::Gtk.DrawingArea(); this.DrawingTrack.WidthRequest = 1000; this.DrawingTrack.HeightRequest = 262; this.DrawingTrack.Events = ((global::Gdk.EventMask)(2)); this.DrawingTrack.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.DrawingTrack.Name = "DrawingTrack"; w3.Add(this.DrawingTrack); this.TrackScrolledWindow.Add(w3); this.fixed1.Add(this.TrackScrolledWindow); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.TrackScrolledWindow])); w6.X = 28; w6.Y = 52; // Container child fixed1.Gtk.Fixed+FixedChild this.drawingarea1 = new global::Gtk.DrawingArea(); this.drawingarea1.WidthRequest = 782; this.drawingarea1.HeightRequest = 218; this.drawingarea1.Name = "drawingarea1"; this.fixed1.Add(this.drawingarea1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.drawingarea1])); w7.X = 26; w7.Y = 315; // Container child fixed1.Gtk.Fixed+FixedChild this.vscrollbarTrack = new global::Gtk.VScrollbar(null); this.vscrollbarTrack.HeightRequest = 209; this.vscrollbarTrack.Name = "vscrollbarTrack"; this.vscrollbarTrack.Adjustment.Upper = 100D; this.vscrollbarTrack.Adjustment.PageIncrement = 1D; this.vscrollbarTrack.Adjustment.PageSize = 1D; this.vscrollbarTrack.Adjustment.StepIncrement = 1D; this.fixed1.Add(this.vscrollbarTrack); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.vscrollbarTrack])); w8.X = 831; w8.Y = 339; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1131; this.DefaultHeight = 582; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.DrawingTrack.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnDrawingTrackExposeEvent); this.DrawingTrack.DragBegin += new global::Gtk.DragBeginHandler(this.OnDrawingTrackDragBegin); this.drawingarea1.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnDrawingarea1ExposeEvent); this.vscrollbarTrack.ValueChanged += new global::System.EventHandler(this.OnVscrollbarTrackValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Docking.Widgets.VirtualListView global::Stetic.BinContainer.Attach (this); this.Events = ((global::Gdk.EventMask)(3072)); this.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.Name = "Docking.Widgets.VirtualListView"; // Container child Docking.Widgets.VirtualListView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.findwidget = new global::Docking.Widgets.Find (); this.findwidget.Events = ((global::Gdk.EventMask)(256)); this.findwidget.Name = "findwidget"; this.vbox1.Add (this.findwidget); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.findwidget])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 1; // Container child hbox2.Gtk.Box+BoxChild this.drawingarea = new global::Gtk.DrawingArea (); this.drawingarea.CanFocus = true; this.drawingarea.Events = ((global::Gdk.EventMask)(2116868)); this.drawingarea.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.drawingarea.Name = "drawingarea"; this.hbox2.Add (this.drawingarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.drawingarea])); w2.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vscrollbar1 = new global::Gtk.VScrollbar (null); this.vscrollbar1.Name = "vscrollbar1"; this.vscrollbar1.Adjustment.Upper = 100; this.vscrollbar1.Adjustment.PageIncrement = 10; this.vscrollbar1.Adjustment.PageSize = 10; this.vscrollbar1.Adjustment.StepIncrement = 1; this.hbox2.Add (this.vscrollbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vscrollbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hscrollbar1 = new global::Gtk.HScrollbar (null); this.hscrollbar1.Name = "hscrollbar1"; this.hscrollbar1.Adjustment.Upper = 100; this.hscrollbar1.Adjustment.PageIncrement = 10; this.hscrollbar1.Adjustment.PageSize = 10; this.hscrollbar1.Adjustment.StepIncrement = 1; this.vbox1.Add (this.hscrollbar1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hscrollbar1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.drawingarea.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingareaExposeEvent); this.vscrollbar1.ValueChanged += new global::System.EventHandler (this.OnVscrollbar1ValueChanged); this.hscrollbar1.ValueChanged += new global::System.EventHandler (this.OnHscrollbar1ValueChanged); }
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.QuitButton = new global::Gtk.Action("QuitButton", null, global::Mono.Unix.Catalog.GetString("Exit"), "gtk-quit"); w1.Add(this.QuitButton, null); this.RunButton = new global::Gtk.Action("RunButton", null, global::Mono.Unix.Catalog.GetString("Run Simulation"), "gtk-media-play"); w1.Add(this.RunButton, null); this.PauseButton = new global::Gtk.Action("PauseButton", null, global::Mono.Unix.Catalog.GetString("Stop Simulation"), "gtk-media-stop"); w1.Add(this.PauseButton, null); this.SaveButton = new global::Gtk.Action("SaveButton", null, global::Mono.Unix.Catalog.GetString("Save Turmite Image"), "gtk-save"); w1.Add(this.SaveButton, null); this.ClearButton = new global::Gtk.Action("ClearButton", null, global::Mono.Unix.Catalog.GetString("Remove All Turmites"), "gtk-delete"); w1.Add(this.ClearButton, null); this.ShowButton = new global::Gtk.Action("ShowButton", null, global::Mono.Unix.Catalog.GetString("Show/Hide Turmite Head Locations"), "gtk-find"); w1.Add(this.ShowButton, null); this.TurmiteAddButton = new global::Gtk.ToggleAction("TurmiteAddButton", null, global::Mono.Unix.Catalog.GetString("Add Turmite"), "gtk-edit"); this.TurmiteAddButton.DrawAsRadio = true; w1.Add(this.TurmiteAddButton, null); this.CopyProgramButton = new global::Gtk.Action("CopyProgramButton", null, global::Mono.Unix.Catalog.GetString("Copy Program"), "gtk-copy"); w1.Add(this.CopyProgramButton, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("GTK Turmites"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("Turmites.dna.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 1280; this.DefaultHeight = 700; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 1280; this.MainLayout.HeightRequest = 700; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.MainNoteBook = new global::Gtk.Notebook(); this.MainNoteBook.WidthRequest = 800; this.MainNoteBook.HeightRequest = 600; this.MainNoteBook.CanFocus = true; this.MainNoteBook.Name = "MainNoteBook"; this.MainNoteBook.CurrentPage = 0; // Container child MainNoteBook.Gtk.Notebook+NotebookChild this.pageWorldLayout = new global::Gtk.Fixed(); this.pageWorldLayout.Name = "pageWorldLayout"; this.pageWorldLayout.HasWindow = false; // Container child pageWorldLayout.Gtk.Fixed+FixedChild this.WorldEventBox = new global::Gtk.EventBox(); this.WorldEventBox.WidthRequest = 640; this.WorldEventBox.HeightRequest = 480; this.WorldEventBox.Name = "WorldEventBox"; // Container child WorldEventBox.Gtk.Container+ContainerChild this.WorldImage = new global::Gtk.Image(); this.WorldImage.WidthRequest = 640; this.WorldImage.HeightRequest = 480; this.WorldImage.Name = "WorldImage"; this.WorldEventBox.Add(this.WorldImage); this.pageWorldLayout.Add(this.WorldEventBox); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.pageWorldLayout[this.WorldEventBox])); w3.X = 80; w3.Y = 40; // Container child pageWorldLayout.Gtk.Fixed+FixedChild this.WorldImageScrollY = new global::Gtk.VScrollbar(null); this.WorldImageScrollY.HeightRequest = 480; this.WorldImageScrollY.Name = "WorldImageScrollY"; this.WorldImageScrollY.Adjustment.Upper = 100D; this.WorldImageScrollY.Adjustment.PageIncrement = 10D; this.WorldImageScrollY.Adjustment.PageSize = 10D; this.WorldImageScrollY.Adjustment.StepIncrement = 1D; this.pageWorldLayout.Add(this.WorldImageScrollY); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.pageWorldLayout[this.WorldImageScrollY])); w4.X = 40; w4.Y = 40; // Container child pageWorldLayout.Gtk.Fixed+FixedChild this.WorldImageScrollX = new global::Gtk.HScrollbar(null); this.WorldImageScrollX.WidthRequest = 640; this.WorldImageScrollX.Name = "WorldImageScrollX"; this.WorldImageScrollX.Adjustment.Upper = 100D; this.WorldImageScrollX.Adjustment.PageIncrement = 10D; this.WorldImageScrollX.Adjustment.PageSize = 10D; this.WorldImageScrollX.Adjustment.StepIncrement = 1D; this.pageWorldLayout.Add(this.WorldImageScrollX); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.pageWorldLayout[this.WorldImageScrollX])); w5.X = 80; w5.Y = 540; this.MainNoteBook.Add(this.pageWorldLayout); // Notebook tab this.pageLabelWorld = new global::Gtk.Label(); this.pageLabelWorld.Name = "pageLabelWorld"; this.pageLabelWorld.LabelProp = global::Mono.Unix.Catalog.GetString("World"); this.MainNoteBook.SetTabLabel(this.pageWorldLayout, this.pageLabelWorld); this.pageLabelWorld.ShowAll(); this.MainLayout.Add(this.MainNoteBook); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.MainNoteBook])); w7.X = 20; w7.Y = 60; // Container child MainLayout.Gtk.Fixed+FixedChild this.PropertiesNotebook = new global::Gtk.Notebook(); this.PropertiesNotebook.WidthRequest = 400; this.PropertiesNotebook.HeightRequest = 600; this.PropertiesNotebook.CanFocus = true; this.PropertiesNotebook.Name = "PropertiesNotebook"; this.PropertiesNotebook.CurrentPage = 0; // Container child PropertiesNotebook.Gtk.Notebook+NotebookChild this.PropertiesPageLayout = new global::Gtk.Fixed(); this.PropertiesPageLayout.WidthRequest = 60; this.PropertiesPageLayout.Name = "PropertiesPageLayout"; this.PropertiesPageLayout.HasWindow = false; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.PropertiesPageWorldLabel = new global::Gtk.Label(); this.PropertiesPageWorldLabel.Name = "PropertiesPageWorldLabel"; this.PropertiesPageWorldLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>World</b>"); this.PropertiesPageWorldLabel.UseMarkup = true; this.PropertiesPageLayout.Add(this.PropertiesPageWorldLabel); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.PropertiesPageWorldLabel])); w8.X = 10; w8.Y = 10; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.WorldLabelWidth = new global::Gtk.Label(); this.WorldLabelWidth.WidthRequest = 60; this.WorldLabelWidth.Name = "WorldLabelWidth"; this.WorldLabelWidth.LabelProp = global::Mono.Unix.Catalog.GetString("Width"); this.WorldLabelWidth.Justify = ((global::Gtk.Justification)(1)); this.PropertiesPageLayout.Add(this.WorldLabelWidth); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.WorldLabelWidth])); w9.X = 10; w9.Y = 45; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.WorldWidth = new global::Gtk.SpinButton(640D, 10000D, 1D); this.WorldWidth.WidthRequest = 150; this.WorldWidth.CanFocus = true; this.WorldWidth.Name = "WorldWidth"; this.WorldWidth.Adjustment.PageIncrement = 1D; this.WorldWidth.ClimbRate = 1D; this.WorldWidth.Numeric = true; this.WorldWidth.Value = 640D; this.PropertiesPageLayout.Add(this.WorldWidth); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.WorldWidth])); w10.X = 80; w10.Y = 40; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.WorldHeight = new global::Gtk.SpinButton(480D, 10000D, 1D); this.WorldHeight.WidthRequest = 150; this.WorldHeight.CanFocus = true; this.WorldHeight.Name = "WorldHeight"; this.WorldHeight.Adjustment.PageIncrement = 1D; this.WorldHeight.ClimbRate = 1D; this.WorldHeight.Numeric = true; this.WorldHeight.Value = 480D; this.PropertiesPageLayout.Add(this.WorldHeight); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.WorldHeight])); w11.X = 80; w11.Y = 80; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.WorldLabelHeight = new global::Gtk.Label(); this.WorldLabelHeight.WidthRequest = 60; this.WorldLabelHeight.Name = "WorldLabelHeight"; this.WorldLabelHeight.LabelProp = global::Mono.Unix.Catalog.GetString("Height"); this.WorldLabelHeight.Justify = ((global::Gtk.Justification)(1)); this.PropertiesPageLayout.Add(this.WorldLabelHeight); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.WorldLabelHeight])); w12.X = 10; w12.Y = 85; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmitesLabel = new global::Gtk.Label(); this.TurmitesLabel.Name = "TurmitesLabel"; this.TurmitesLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Turmites</b>"); this.TurmitesLabel.UseMarkup = true; this.PropertiesPageLayout.Add(this.TurmitesLabel); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmitesLabel])); w13.X = 10; w13.Y = 120; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmitesList = global::Gtk.ComboBox.NewText(); this.TurmitesList.WidthRequest = 220; this.TurmitesList.Name = "TurmitesList"; this.PropertiesPageLayout.Add(this.TurmitesList); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmitesList])); w14.X = 13; w14.Y = 140; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLabelHead = new global::Gtk.Label(); this.TurmiteLabelHead.Name = "TurmiteLabelHead"; this.TurmiteLabelHead.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Head</b>"); this.TurmiteLabelHead.UseMarkup = true; this.PropertiesPageLayout.Add(this.TurmiteLabelHead); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLabelHead])); w15.X = 40; w15.Y = 180; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteHeadX = new global::Gtk.SpinButton(0D, 10000D, 1D); this.TurmiteHeadX.WidthRequest = 150; this.TurmiteHeadX.CanFocus = true; this.TurmiteHeadX.Name = "TurmiteHeadX"; this.TurmiteHeadX.Adjustment.PageIncrement = 1D; this.TurmiteHeadX.ClimbRate = 1D; this.TurmiteHeadX.Numeric = true; this.PropertiesPageLayout.Add(this.TurmiteHeadX); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteHeadX])); w16.X = 80; w16.Y = 200; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteHeadY = new global::Gtk.SpinButton(0D, 10000D, 1D); this.TurmiteHeadY.WidthRequest = 150; this.TurmiteHeadY.CanFocus = true; this.TurmiteHeadY.Name = "TurmiteHeadY"; this.TurmiteHeadY.Adjustment.PageIncrement = 1D; this.TurmiteHeadY.ClimbRate = 1D; this.TurmiteHeadY.Numeric = true; this.PropertiesPageLayout.Add(this.TurmiteHeadY); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteHeadY])); w17.X = 80; w17.Y = 240; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLabelHeadX = new global::Gtk.Label(); this.TurmiteLabelHeadX.WidthRequest = 20; this.TurmiteLabelHeadX.Name = "TurmiteLabelHeadX"; this.TurmiteLabelHeadX.LabelProp = global::Mono.Unix.Catalog.GetString("X"); this.TurmiteLabelHeadX.Justify = ((global::Gtk.Justification)(1)); this.PropertiesPageLayout.Add(this.TurmiteLabelHeadX); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLabelHeadX])); w18.X = 50; w18.Y = 205; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLabelHeadY = new global::Gtk.Label(); this.TurmiteLabelHeadY.WidthRequest = 20; this.TurmiteLabelHeadY.Name = "TurmiteLabelHeadY"; this.TurmiteLabelHeadY.LabelProp = global::Mono.Unix.Catalog.GetString("Y"); this.TurmiteLabelHeadY.Justify = ((global::Gtk.Justification)(1)); this.PropertiesPageLayout.Add(this.TurmiteLabelHeadY); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLabelHeadY])); w19.X = 50; w19.Y = 245; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLabelSource = new global::Gtk.Label(); this.TurmiteLabelSource.Name = "TurmiteLabelSource"; this.TurmiteLabelSource.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Program</b>"); this.TurmiteLabelSource.UseMarkup = true; this.PropertiesPageLayout.Add(this.TurmiteLabelSource); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLabelSource])); w20.X = 10; w20.Y = 275; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.TurmiteProgram = new global::Gtk.TextView(); this.TurmiteProgram.WidthRequest = 150; this.TurmiteProgram.HeightRequest = 100; this.TurmiteProgram.CanFocus = true; this.TurmiteProgram.Name = "TurmiteProgram"; this.GtkScrolledWindow.Add(this.TurmiteProgram); this.PropertiesPageLayout.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.GtkScrolledWindow])); w22.X = 78; w22.Y = 280; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteColor = new global::Gtk.ColorButton(); this.TurmiteColor.WidthRequest = 150; this.TurmiteColor.CanFocus = true; this.TurmiteColor.Events = ((global::Gdk.EventMask)(784)); this.TurmiteColor.Name = "TurmiteColor"; this.PropertiesPageLayout.Add(this.TurmiteColor); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteColor])); w23.X = 80; w23.Y = 410; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLabelColor = new global::Gtk.Label(); this.TurmiteLabelColor.WidthRequest = 50; this.TurmiteLabelColor.Name = "TurmiteLabelColor"; this.TurmiteLabelColor.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Color</b>"); this.TurmiteLabelColor.UseMarkup = true; this.TurmiteLabelColor.Justify = ((global::Gtk.Justification)(1)); this.PropertiesPageLayout.Add(this.TurmiteLabelColor); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLabelColor])); w24.X = 25; w24.Y = 418; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><toolbar name=\'TurmiteToolBar\'><toolitem name=\'TurmiteAddButton\' action=\'Turm" + "iteAddButton\'/></toolbar></ui>"); this.TurmiteToolBar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/TurmiteToolBar"))); this.TurmiteToolBar.Name = "TurmiteToolBar"; this.TurmiteToolBar.ShowArrow = false; this.TurmiteToolBar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.PropertiesPageLayout.Add(this.TurmiteToolBar); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteToolBar])); w25.X = 240; w25.Y = 135; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TL = new global::Gtk.CheckButton(); this.TL.Name = "TL"; this.TL.Label = ""; this.TL.DrawIndicator = true; this.TL.UseUnderline = true; this.TL.FocusOnClick = false; this.PropertiesPageLayout.Add(this.TL); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TL])); w26.X = 260; w26.Y = 292; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelNeighborhood = new global::Gtk.Label(); this.LabelNeighborhood.Name = "LabelNeighborhood"; this.LabelNeighborhood.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Neighborhood</b>"); this.LabelNeighborhood.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelNeighborhood); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelNeighborhood])); w27.X = 260; w27.Y = 275; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TM = new global::Gtk.CheckButton(); this.TM.CanFocus = true; this.TM.Name = "TM"; this.TM.Label = ""; this.TM.DrawIndicator = true; this.TM.UseUnderline = true; this.TM.FocusOnClick = false; this.PropertiesPageLayout.Add(this.TM); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TM])); w28.X = 290; w28.Y = 292; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TR = new global::Gtk.CheckButton(); this.TR.Name = "TR"; this.TR.Label = ""; this.TR.DrawIndicator = true; this.TR.UseUnderline = true; this.TR.FocusOnClick = false; this.PropertiesPageLayout.Add(this.TR); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TR])); w29.X = 320; w29.Y = 292; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.ML = new global::Gtk.CheckButton(); this.ML.Name = "ML"; this.ML.Label = ""; this.ML.DrawIndicator = true; this.ML.UseUnderline = true; this.ML.FocusOnClick = false; this.PropertiesPageLayout.Add(this.ML); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.ML])); w30.X = 260; w30.Y = 322; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelCenter = new global::Gtk.Label(); this.LabelCenter.Name = "LabelCenter"; this.LabelCenter.LabelProp = global::Mono.Unix.Catalog.GetString("<b>T</b>"); this.LabelCenter.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelCenter); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelCenter])); w31.X = 295; w31.Y = 325; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.MR = new global::Gtk.CheckButton(); this.MR.Name = "MR"; this.MR.Label = ""; this.MR.DrawIndicator = true; this.MR.UseUnderline = true; this.MR.FocusOnClick = false; this.PropertiesPageLayout.Add(this.MR); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.MR])); w32.X = 320; w32.Y = 322; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.BL = new global::Gtk.CheckButton(); this.BL.Name = "BL"; this.BL.Label = ""; this.BL.DrawIndicator = true; this.BL.UseUnderline = true; this.BL.FocusOnClick = false; this.PropertiesPageLayout.Add(this.BL); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.BL])); w33.X = 260; w33.Y = 352; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.BM = new global::Gtk.CheckButton(); this.BM.Name = "BM"; this.BM.Label = ""; this.BM.DrawIndicator = true; this.BM.UseUnderline = true; this.BM.FocusOnClick = false; this.PropertiesPageLayout.Add(this.BM); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.BM])); w34.X = 290; w34.Y = 352; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.BR = new global::Gtk.CheckButton(); this.BR.Name = "BR"; this.BR.Label = ""; this.BR.DrawIndicator = true; this.BR.UseUnderline = true; this.BR.FocusOnClick = false; this.PropertiesPageLayout.Add(this.BR); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.BR])); w35.X = 320; w35.Y = 352; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelStates = new global::Gtk.Label(); this.LabelStates.Name = "LabelStates"; this.LabelStates.LabelProp = global::Mono.Unix.Catalog.GetString("<b>States</b>"); this.LabelStates.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelStates); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelStates])); w36.X = 260; w36.Y = 210; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteStates = new global::Gtk.SpinButton(0D, 100D, 1D); this.TurmiteStates.WidthRequest = 100; this.TurmiteStates.CanFocus = true; this.TurmiteStates.Name = "TurmiteStates"; this.TurmiteStates.Adjustment.PageIncrement = 1D; this.TurmiteStates.ClimbRate = 1D; this.TurmiteStates.Numeric = true; this.TurmiteStates.Value = 2D; this.PropertiesPageLayout.Add(this.TurmiteStates); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteStates])); w37.X = 260; w37.Y = 240; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.TurmiteLibrary = global::Gtk.ComboBox.NewText(); this.TurmiteLibrary.WidthRequest = 220; this.TurmiteLibrary.Name = "TurmiteLibrary"; this.PropertiesPageLayout.Add(this.TurmiteLibrary); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.TurmiteLibrary])); w38.X = 13; w38.Y = 520; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelTurmiteLibrary = new global::Gtk.Label(); this.LabelTurmiteLibrary.Name = "LabelTurmiteLibrary"; this.LabelTurmiteLibrary.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Turmite Library</b>"); this.LabelTurmiteLibrary.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelTurmiteLibrary); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelTurmiteLibrary])); w39.X = 13; w39.Y = 500; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><toolbar name=\'LibraryToolbar\'><toolitem name=\'CopyProgramButton\' action=\'Cop" + "yProgramButton\'/></toolbar></ui>"); this.LibraryToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/LibraryToolbar"))); this.LibraryToolbar.Name = "LibraryToolbar"; this.LibraryToolbar.ShowArrow = false; this.LibraryToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.PropertiesPageLayout.Add(this.LibraryToolbar); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LibraryToolbar])); w40.X = 244; w40.Y = 515; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.AddButton = new global::Gtk.Button(); this.AddButton.Name = "AddButton"; this.AddButton.UseUnderline = true; this.AddButton.Label = global::Mono.Unix.Catalog.GetString("Add Turmite"); this.PropertiesPageLayout.Add(this.AddButton); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.AddButton])); w41.X = 238; w41.Y = 412; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.Cyclic = new global::Gtk.CheckButton(); this.Cyclic.Name = "Cyclic"; this.Cyclic.Label = global::Mono.Unix.Catalog.GetString("Cyclic?"); this.Cyclic.DrawIndicator = true; this.Cyclic.UseUnderline = true; this.Cyclic.FocusOnClick = false; this.PropertiesPageLayout.Add(this.Cyclic); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.Cyclic])); w42.X = 260; w42.Y = 382; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.WorldEpoch = new global::Gtk.Entry(); this.WorldEpoch.WidthRequest = 120; this.WorldEpoch.Name = "WorldEpoch"; this.WorldEpoch.IsEditable = false; this.WorldEpoch.InvisibleChar = '•'; this.PropertiesPageLayout.Add(this.WorldEpoch); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.WorldEpoch])); w43.X = 250; w43.Y = 40; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelEpoch = new global::Gtk.Label(); this.LabelEpoch.Name = "LabelEpoch"; this.LabelEpoch.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Epoch</b>"); this.LabelEpoch.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelEpoch); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelEpoch])); w44.X = 250; w44.Y = 10; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.Age = new global::Gtk.Entry(); this.Age.WidthRequest = 100; this.Age.Name = "Age"; this.Age.IsEditable = false; this.Age.InvisibleChar = '•'; this.PropertiesPageLayout.Add(this.Age); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.Age])); w45.X = 81; w45.Y = 460; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.Birth = new global::Gtk.Entry(); this.Birth.WidthRequest = 100; this.Birth.Name = "Birth"; this.Birth.IsEditable = false; this.Birth.InvisibleChar = '•'; this.PropertiesPageLayout.Add(this.Birth); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.Birth])); w46.X = 250; w46.Y = 460; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelAge = new global::Gtk.Label(); this.LabelAge.Name = "LabelAge"; this.LabelAge.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Age</b>"); this.LabelAge.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelAge); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelAge])); w47.X = 40; w47.Y = 465; // Container child PropertiesPageLayout.Gtk.Fixed+FixedChild this.LabelBirth = new global::Gtk.Label(); this.LabelBirth.Name = "LabelBirth"; this.LabelBirth.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Birth</b>"); this.LabelBirth.UseMarkup = true; this.PropertiesPageLayout.Add(this.LabelBirth); global::Gtk.Fixed.FixedChild w48 = ((global::Gtk.Fixed.FixedChild)(this.PropertiesPageLayout[this.LabelBirth])); w48.X = 200; w48.Y = 465; this.PropertiesNotebook.Add(this.PropertiesPageLayout); // Notebook tab this.PropertiesPageLabel = new global::Gtk.Label(); this.PropertiesPageLabel.Name = "PropertiesPageLabel"; this.PropertiesPageLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Properties"); this.PropertiesNotebook.SetTabLabel(this.PropertiesPageLayout, this.PropertiesPageLabel); this.PropertiesPageLabel.ShowAll(); this.MainLayout.Add(this.PropertiesNotebook); global::Gtk.Fixed.FixedChild w50 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.PropertiesNotebook])); w50.X = 840; w50.Y = 60; // Container child MainLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString(@"<ui><toolbar name='MainToolbar'><toolitem name='RunButton' action='RunButton'/><toolitem name='PauseButton' action='PauseButton'/><toolitem name='SaveButton' action='SaveButton'/><toolitem name='ClearButton' action='ClearButton'/><toolitem name='ShowButton' action='ShowButton'/><separator/><toolitem name='QuitButton' action='QuitButton'/></toolbar></ui>"); this.MainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/MainToolbar"))); this.MainToolbar.HeightRequest = 40; this.MainToolbar.Name = "MainToolbar"; this.MainToolbar.ShowArrow = false; this.MainToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.MainToolbar.IconSize = ((global::Gtk.IconSize)(3)); this.MainLayout.Add(this.MainToolbar); global::Gtk.Fixed.FixedChild w51 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.MainToolbar])); w51.X = 20; w51.Y = 10; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitButton.Activated += new global::System.EventHandler(this.OnQuitButtonClicked); this.RunButton.Activated += new global::System.EventHandler(this.OnRunButtonClicked); this.PauseButton.Activated += new global::System.EventHandler(this.OnPauseButtonClicked); this.SaveButton.Activated += new global::System.EventHandler(this.OnSaveButtonClicked); this.ClearButton.Activated += new global::System.EventHandler(this.OnClearButtonClicked); this.ShowButton.Activated += new global::System.EventHandler(this.OnShowButtonClicked); this.CopyProgramButton.Activated += new global::System.EventHandler(this.OnCopyProgramButtonClicked); this.WorldEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnWorldEventBoxButtonPressEvent); this.WorldEventBox.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnWorldEventBoxButtonReleaseEvent); this.WorldEventBox.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.OnWorldEventBoxMotionNotifyEvent); this.WorldImageScrollY.ValueChanged += new global::System.EventHandler(this.OnWorldImageScrollYValueChanged); this.WorldImageScrollX.ValueChanged += new global::System.EventHandler(this.OnWorldImageScrollXValueChanged); this.WorldWidth.ValueChanged += new global::System.EventHandler(this.OnWorldWidthValueChanged); this.WorldHeight.ValueChanged += new global::System.EventHandler(this.OnWorldHeightValueChanged); this.TurmitesList.Changed += new global::System.EventHandler(this.OnTurmitesListChanged); this.AddButton.Clicked += new global::System.EventHandler(this.OnAddButtonClicked); }
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.OpenButton = new global::Gtk.Action("OpenButton", null, global::Mono.Unix.Catalog.GetString("Open Image"), "gtk-open"); w1.Add(this.OpenButton, null); this.SaveButton = new global::Gtk.Action("SaveButton", null, global::Mono.Unix.Catalog.GetString("Save Filtered Image"), "gtk-save"); w1.Add(this.SaveButton, null); this.QuitButton = new global::Gtk.Action("QuitButton", null, global::Mono.Unix.Catalog.GetString("Exit PixelFilter"), "gtk-quit"); w1.Add(this.QuitButton, null); this.AddFilterButton = new global::Gtk.Action("AddFilterButton", null, global::Mono.Unix.Catalog.GetString("Add to Queue"), "gtk-ok"); w1.Add(this.AddFilterButton, null); this.ApplyFiltersButton = new global::Gtk.Action("ApplyFiltersButton", null, global::Mono.Unix.Catalog.GetString("Apply Filters"), "gtk-media-play"); w1.Add(this.ApplyFiltersButton, null); this.FilterUpButton = new global::Gtk.Action("FilterUpButton", null, global::Mono.Unix.Catalog.GetString("Move Filter Up in the Queue"), "gtk-go-up"); w1.Add(this.FilterUpButton, null); this.FilterDownButton = new global::Gtk.Action("FilterDownButton", null, global::Mono.Unix.Catalog.GetString("Move Filter Down in the Queue"), "gtk-go-down"); w1.Add(this.FilterDownButton, null); this.DeleteFilterButton = new global::Gtk.Action("DeleteFilterButton", null, global::Mono.Unix.Catalog.GetString("Remove Filter from the Queue"), "gtk-remove"); w1.Add(this.DeleteFilterButton, null); this.ClearQueueButton = new global::Gtk.Action("ClearQueueButton", null, global::Mono.Unix.Catalog.GetString("Clear Filter Queue"), "gtk-delete"); w1.Add(this.ClearQueueButton, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 750; this.HeightRequest = 700; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("PixelFilterMono.PixelFilter64.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.DefaultWidth = 750; this.DefaultHeight = 700; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 750; this.MainLayout.HeightRequest = 700; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.InputScrollY = new global::Gtk.VScrollbar(null); this.InputScrollY.HeightRequest = 256; this.InputScrollY.Name = "InputScrollY"; this.InputScrollY.Adjustment.Upper = 20480D; this.InputScrollY.Adjustment.PageIncrement = 1D; this.InputScrollY.Adjustment.PageSize = 1D; this.InputScrollY.Adjustment.StepIncrement = 1D; this.MainLayout.Add(this.InputScrollY); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.InputScrollY])); w2.X = 30; w2.Y = 100; // Container child MainLayout.Gtk.Fixed+FixedChild this.InputScrollX = new global::Gtk.HScrollbar(null); this.InputScrollX.WidthRequest = 256; this.InputScrollX.Name = "InputScrollX"; this.InputScrollX.Adjustment.Upper = 20480D; this.InputScrollX.Adjustment.PageIncrement = 1D; this.InputScrollX.Adjustment.PageSize = 1D; this.InputScrollX.Adjustment.StepIncrement = 1D; this.MainLayout.Add(this.InputScrollX); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.InputScrollX])); w3.X = 70; w3.Y = 396; // Container child MainLayout.Gtk.Fixed+FixedChild this.OutputImage = new global::Gtk.Image(); this.OutputImage.WidthRequest = 256; this.OutputImage.HeightRequest = 256; this.OutputImage.Name = "OutputImage"; this.MainLayout.Add(this.OutputImage); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.OutputImage])); w4.X = 426; w4.Y = 100; // Container child MainLayout.Gtk.Fixed+FixedChild this.OutputScrollY = new global::Gtk.VScrollbar(null); this.OutputScrollY.HeightRequest = 256; this.OutputScrollY.Name = "OutputScrollY"; this.OutputScrollY.Adjustment.Upper = 20480D; this.OutputScrollY.Adjustment.PageIncrement = 1D; this.OutputScrollY.Adjustment.PageSize = 1D; this.OutputScrollY.Adjustment.StepIncrement = 1D; this.MainLayout.Add(this.OutputScrollY); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.OutputScrollY])); w5.X = 386; w5.Y = 100; // Container child MainLayout.Gtk.Fixed+FixedChild this.OutputScrollX = new global::Gtk.HScrollbar(null); this.OutputScrollX.WidthRequest = 256; this.OutputScrollX.Name = "OutputScrollX"; this.OutputScrollX.Adjustment.Upper = 20480D; this.OutputScrollX.Adjustment.PageIncrement = 1D; this.OutputScrollX.Adjustment.PageSize = 1D; this.OutputScrollX.Adjustment.StepIncrement = 1D; this.MainLayout.Add(this.OutputScrollX); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.OutputScrollX])); w6.X = 426; w6.Y = 396; // Container child MainLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><toolbar name=\'MainToolbar\'><toolitem name=\'OpenButton\' action=\'OpenButton\'/>" + "<toolitem name=\'SaveButton\' action=\'SaveButton\'/><toolitem name=\'QuitButton\' act" + "ion=\'QuitButton\'/></toolbar></ui>"); this.MainToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/MainToolbar"))); this.MainToolbar.Name = "MainToolbar"; this.MainToolbar.ShowArrow = false; this.MainToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.MainLayout.Add(this.MainToolbar); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.MainToolbar])); w7.X = 70; w7.Y = 20; // Container child MainLayout.Gtk.Fixed+FixedChild this.InputImage = new global::Gtk.Image(); this.InputImage.WidthRequest = 256; this.InputImage.HeightRequest = 256; this.InputImage.Name = "InputImage"; this.MainLayout.Add(this.InputImage); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.InputImage])); w8.X = 70; w8.Y = 100; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelInput = new global::Gtk.Label(); this.LabelInput.Name = "LabelInput"; this.LabelInput.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Input</b>"); this.LabelInput.UseMarkup = true; this.MainLayout.Add(this.LabelInput); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelInput])); w9.X = 70; w9.Y = 80; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelOutput = new global::Gtk.Label(); this.LabelOutput.Name = "LabelOutput"; this.LabelOutput.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Output</b>"); this.LabelOutput.UseMarkup = true; this.MainLayout.Add(this.LabelOutput); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelOutput])); w10.X = 426; w10.Y = 80; // Container child MainLayout.Gtk.Fixed+FixedChild this.FilterBox = global::Gtk.ComboBox.NewText(); this.FilterBox.WidthRequest = 220; this.FilterBox.Name = "FilterBox"; this.MainLayout.Add(this.FilterBox); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.FilterBox])); w11.X = 70; w11.Y = 456; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelFilters = new global::Gtk.Label(); this.LabelFilters.Name = "LabelFilters"; this.LabelFilters.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Filters</b>"); this.LabelFilters.UseMarkup = true; this.MainLayout.Add(this.LabelFilters); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelFilters])); w12.X = 70; w12.Y = 426; // Container child MainLayout.Gtk.Fixed+FixedChild this.FilterDescriptionWindow = new global::Gtk.ScrolledWindow(); this.FilterDescriptionWindow.WidthRequest = 220; this.FilterDescriptionWindow.HeightRequest = 70; this.FilterDescriptionWindow.Name = "FilterDescriptionWindow"; this.FilterDescriptionWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child FilterDescriptionWindow.Gtk.Container+ContainerChild this.FilterDescription = new global::Gtk.TextView(); this.FilterDescription.Name = "FilterDescription"; this.FilterDescription.Editable = false; this.FilterDescription.CursorVisible = false; this.FilterDescription.AcceptsTab = false; this.FilterDescription.WrapMode = ((global::Gtk.WrapMode)(2)); this.FilterDescriptionWindow.Add(this.FilterDescription); this.MainLayout.Add(this.FilterDescriptionWindow); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.FilterDescriptionWindow])); w14.X = 70; w14.Y = 536; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelFilterDescription = new global::Gtk.Label(); this.LabelFilterDescription.Name = "LabelFilterDescription"; this.LabelFilterDescription.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Description</b>"); this.LabelFilterDescription.UseMarkup = true; this.MainLayout.Add(this.LabelFilterDescription); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelFilterDescription])); w15.X = 70; w15.Y = 506; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelParameterName = new global::Gtk.Label(); this.LabelParameterName.Name = "LabelParameterName"; this.LabelParameterName.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Parameter Name</b>"); this.LabelParameterName.UseMarkup = true; this.MainLayout.Add(this.LabelParameterName); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelParameterName])); w16.X = 70; w16.Y = 620; // Container child MainLayout.Gtk.Fixed+FixedChild this.FilterParameters = global::Gtk.ComboBox.NewText(); this.FilterParameters.WidthRequest = 170; this.FilterParameters.Name = "FilterParameters"; this.MainLayout.Add(this.FilterParameters); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.FilterParameters])); w17.X = 70; w17.Y = 640; // Container child MainLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><toolbar name=\'FilterToolbar\'><toolitem name=\'AddFilterButton\' action=\'AddFil" + "terButton\'/></toolbar></ui>"); this.FilterToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/FilterToolbar"))); this.FilterToolbar.Name = "FilterToolbar"; this.FilterToolbar.ShowArrow = false; this.FilterToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.MainLayout.Add(this.FilterToolbar); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.FilterToolbar])); w18.X = 250; w18.Y = 635; // Container child MainLayout.Gtk.Fixed+FixedChild this.FilterQueueWindow = new global::Gtk.ScrolledWindow(); this.FilterQueueWindow.WidthRequest = 356; this.FilterQueueWindow.HeightRequest = 150; this.FilterQueueWindow.Name = "FilterQueueWindow"; this.FilterQueueWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child FilterQueueWindow.Gtk.Container+ContainerChild this.FilterQueueBox = new global::Gtk.TextView(); this.FilterQueueBox.CanFocus = true; this.FilterQueueBox.Name = "FilterQueueBox"; this.FilterQueueBox.Editable = false; this.FilterQueueBox.AcceptsTab = false; this.FilterQueueWindow.Add(this.FilterQueueBox); this.MainLayout.Add(this.FilterQueueWindow); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.FilterQueueWindow])); w20.X = 326; w20.Y = 456; // Container child MainLayout.Gtk.Fixed+FixedChild this.LabelQueue = new global::Gtk.Label(); this.LabelQueue.Name = "LabelQueue"; this.LabelQueue.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Queue</b>"); this.LabelQueue.UseMarkup = true; this.MainLayout.Add(this.LabelQueue); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.LabelQueue])); w21.X = 326; w21.Y = 426; // Container child MainLayout.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString(@"<ui><toolbar name='QueueToolbar'><toolitem name='ApplyFiltersButton' action='ApplyFiltersButton'/><toolitem name='FilterUpButton' action='FilterUpButton'/><toolitem name='FilterDownButton' action='FilterDownButton'/><toolitem name='DeleteFilterButton' action='DeleteFilterButton'/><toolitem name='ClearQueueButton' action='ClearQueueButton'/></toolbar></ui>"); this.QueueToolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/QueueToolbar"))); this.QueueToolbar.Name = "QueueToolbar"; this.QueueToolbar.ShowArrow = false; this.QueueToolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.MainLayout.Add(this.QueueToolbar); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.QueueToolbar])); w22.X = 326; w22.Y = 635; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.OpenButton.Activated += new global::System.EventHandler(this.OnOpenButtonClicked); this.SaveButton.Activated += new global::System.EventHandler(this.OnSaveButtonClicked); this.QuitButton.Activated += new global::System.EventHandler(this.OnQuitButtonClicked); this.AddFilterButton.Activated += new global::System.EventHandler(this.OnAddFilterButtonClicked); this.ApplyFiltersButton.Activated += new global::System.EventHandler(this.OnApplyFiltersButtonClicked); this.FilterUpButton.Activated += new global::System.EventHandler(this.OnFilterUpButtonClicked); this.FilterDownButton.Activated += new global::System.EventHandler(this.OnFilterDownButtonClicked); this.DeleteFilterButton.Activated += new global::System.EventHandler(this.OnRemoveFilterButtonClicked); this.ClearQueueButton.Activated += new global::System.EventHandler(this.OnClearQueueButtonClicked); this.InputScrollY.ValueChanged += new global::System.EventHandler(this.OnInputScrollYValueChanged); this.InputScrollX.ValueChanged += new global::System.EventHandler(this.OnInputScrollXValueChanged); this.OutputScrollY.ValueChanged += new global::System.EventHandler(this.OnOutputScrollYValueChanged); this.OutputScrollX.ValueChanged += new global::System.EventHandler(this.OnOutputScrollXValueChanged); this.FilterBox.Changed += new global::System.EventHandler(this.OnFilterBoxChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 800; this.HeightRequest = 600; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("DeepLearnMAC (BETA)"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("DeepLearnMono.DeepLearn.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 800; this.MainLayout.HeightRequest = 600; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.MainNotebook = new global::Gtk.Notebook(); this.MainNotebook.WidthRequest = 640; this.MainNotebook.HeightRequest = 480; this.MainNotebook.CanFocus = true; this.MainNotebook.Name = "MainNotebook"; this.MainNotebook.CurrentPage = 0; // Container child MainNotebook.Gtk.Notebook+NotebookChild this.LayoutClassify = new global::Gtk.Fixed(); this.LayoutClassify.Name = "LayoutClassify"; this.LayoutClassify.HasWindow = false; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.DigitEventBox = new global::Gtk.EventBox(); this.DigitEventBox.WidthRequest = 256; this.DigitEventBox.HeightRequest = 256; this.DigitEventBox.Name = "DigitEventBox"; this.DigitEventBox.BorderWidth = ((uint)(1)); // Container child DigitEventBox.Gtk.Container+ContainerChild this.DigitBox = new global::Gtk.Image(); this.DigitBox.WidthRequest = 256; this.DigitBox.HeightRequest = 256; this.DigitBox.Name = "DigitBox"; this.DigitEventBox.Add(this.DigitBox); this.LayoutClassify.Add(this.DigitEventBox); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.DigitEventBox])); w2.X = 30; w2.Y = 30; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ButtonClassify = new global::Gtk.Button(); this.ButtonClassify.WidthRequest = 160; this.ButtonClassify.CanFocus = true; this.ButtonClassify.Name = "ButtonClassify"; this.ButtonClassify.UseUnderline = true; this.ButtonClassify.Label = global::Mono.Unix.Catalog.GetString("Classify"); this.LayoutClassify.Add(this.ButtonClassify); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ButtonClassify])); w3.X = 330; w3.Y = 335; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.LoadButton = new global::Gtk.Button(); this.LoadButton.WidthRequest = 100; this.LoadButton.CanFocus = true; this.LoadButton.Name = "LoadButton"; this.LoadButton.UseUnderline = true; this.LoadButton.Label = global::Mono.Unix.Catalog.GetString("Load"); this.LayoutClassify.Add(this.LoadButton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.LoadButton])); w4.X = 166; w4.Y = 300; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ClearButton = new global::Gtk.Button(); this.ClearButton.WidthRequest = 100; this.ClearButton.CanFocus = true; this.ClearButton.Name = "ClearButton"; this.ClearButton.UseUnderline = true; this.ClearButton.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.LayoutClassify.Add(this.ClearButton); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ClearButton])); w5.X = 50; w5.Y = 300; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ClassificationScoresLabel = new global::Gtk.Label(); this.ClassificationScoresLabel.Name = "ClassificationScoresLabel"; this.ClassificationScoresLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Classification Scores</b>"); this.ClassificationScoresLabel.UseMarkup = true; this.LayoutClassify.Add(this.ClassificationScoresLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ClassificationScoresLabel])); w6.X = 332; w6.Y = 10; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability1 = new global::Gtk.Entry(); this.Probability1.CanFocus = true; this.Probability1.Name = "Probability1"; this.Probability1.IsEditable = false; this.Probability1.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability1])); w7.X = 330; w7.Y = 60; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ProbabilityZ = new global::Gtk.Entry(); this.ProbabilityZ.CanFocus = true; this.ProbabilityZ.Name = "ProbabilityZ"; this.ProbabilityZ.IsEditable = false; this.ProbabilityZ.InvisibleChar = '●'; this.LayoutClassify.Add(this.ProbabilityZ); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ProbabilityZ])); w8.X = 330; w8.Y = 30; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability2 = new global::Gtk.Entry(); this.Probability2.CanFocus = true; this.Probability2.Name = "Probability2"; this.Probability2.IsEditable = false; this.Probability2.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability2])); w9.X = 330; w9.Y = 90; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability3 = new global::Gtk.Entry(); this.Probability3.CanFocus = true; this.Probability3.Name = "Probability3"; this.Probability3.IsEditable = false; this.Probability3.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability3); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability3])); w10.X = 330; w10.Y = 120; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability4 = new global::Gtk.Entry(); this.Probability4.CanFocus = true; this.Probability4.Name = "Probability4"; this.Probability4.IsEditable = false; this.Probability4.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability4); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability4])); w11.X = 330; w11.Y = 150; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability5 = new global::Gtk.Entry(); this.Probability5.CanFocus = true; this.Probability5.Name = "Probability5"; this.Probability5.IsEditable = false; this.Probability5.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability5); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability5])); w12.X = 330; w12.Y = 180; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability6 = new global::Gtk.Entry(); this.Probability6.CanFocus = true; this.Probability6.Name = "Probability6"; this.Probability6.IsEditable = false; this.Probability6.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability6); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability6])); w13.X = 330; w13.Y = 210; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability7 = new global::Gtk.Entry(); this.Probability7.CanFocus = true; this.Probability7.Name = "Probability7"; this.Probability7.IsEditable = false; this.Probability7.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability7); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability7])); w14.X = 330; w14.Y = 240; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability8 = new global::Gtk.Entry(); this.Probability8.CanFocus = true; this.Probability8.Name = "Probability8"; this.Probability8.IsEditable = false; this.Probability8.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability8); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability8])); w15.X = 330; w15.Y = 270; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Probability9 = new global::Gtk.Entry(); this.Probability9.CanFocus = true; this.Probability9.Name = "Probability9"; this.Probability9.IsEditable = false; this.Probability9.InvisibleChar = '●'; this.LayoutClassify.Add(this.Probability9); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Probability9])); w16.X = 330; w16.Y = 300; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.LabelZ = new global::Gtk.Label(); this.LabelZ.Name = "LabelZ"; this.LabelZ.LabelProp = global::Mono.Unix.Catalog.GetString("0:"); this.LayoutClassify.Add(this.LabelZ); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.LabelZ])); w17.X = 315; w17.Y = 35; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label1 = new global::Gtk.Label(); this.Label1.Name = "Label1"; this.Label1.LabelProp = global::Mono.Unix.Catalog.GetString("1:"); this.LayoutClassify.Add(this.Label1); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label1])); w18.X = 315; w18.Y = 65; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label2 = new global::Gtk.Label(); this.Label2.Name = "Label2"; this.Label2.LabelProp = global::Mono.Unix.Catalog.GetString("2:"); this.LayoutClassify.Add(this.Label2); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label2])); w19.X = 315; w19.Y = 95; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label3 = new global::Gtk.Label(); this.Label3.Name = "Label3"; this.Label3.LabelProp = global::Mono.Unix.Catalog.GetString("3:"); this.LayoutClassify.Add(this.Label3); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label3])); w20.X = 315; w20.Y = 125; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label4 = new global::Gtk.Label(); this.Label4.Name = "Label4"; this.Label4.LabelProp = global::Mono.Unix.Catalog.GetString("4:"); this.LayoutClassify.Add(this.Label4); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label4])); w21.X = 315; w21.Y = 155; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label5 = new global::Gtk.Label(); this.Label5.Name = "Label5"; this.Label5.LabelProp = global::Mono.Unix.Catalog.GetString("5:"); this.LayoutClassify.Add(this.Label5); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label5])); w22.X = 315; w22.Y = 185; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label6 = new global::Gtk.Label(); this.Label6.Name = "Label6"; this.Label6.LabelProp = global::Mono.Unix.Catalog.GetString("6:"); this.LayoutClassify.Add(this.Label6); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label6])); w23.X = 315; w23.Y = 215; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label7 = new global::Gtk.Label(); this.Label7.Name = "Label7"; this.Label7.LabelProp = global::Mono.Unix.Catalog.GetString("7:"); this.LayoutClassify.Add(this.Label7); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label7])); w24.X = 315; w24.Y = 245; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label8 = new global::Gtk.Label(); this.Label8.Name = "Label8"; this.Label8.LabelProp = global::Mono.Unix.Catalog.GetString("8:"); this.LayoutClassify.Add(this.Label8); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label8])); w25.X = 315; w25.Y = 275; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.Label9 = new global::Gtk.Label(); this.Label9.Name = "Label9"; this.Label9.LabelProp = global::Mono.Unix.Catalog.GetString("9:"); this.LayoutClassify.Add(this.Label9); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.Label9])); w26.X = 315; w26.Y = 305; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ScoreBox = new global::Gtk.Entry(); this.ScoreBox.WidthRequest = 100; this.ScoreBox.HeightRequest = 70; this.ScoreBox.Name = "ScoreBox"; this.ScoreBox.Text = global::Mono.Unix.Catalog.GetString("00.00 %"); this.ScoreBox.IsEditable = false; this.ScoreBox.InvisibleChar = '●'; this.ScoreBox.Xalign = 0.5F; this.LayoutClassify.Add(this.ScoreBox); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ScoreBox])); w27.X = 500; w27.Y = 30; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ScoreBoxLabel = new global::Gtk.Label(); this.ScoreBoxLabel.Name = "ScoreBoxLabel"; this.ScoreBoxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Score</b>"); this.ScoreBoxLabel.UseMarkup = true; this.ScoreBoxLabel.Justify = ((global::Gtk.Justification)(2)); this.LayoutClassify.Add(this.ScoreBoxLabel); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ScoreBoxLabel])); w28.X = 530; w28.Y = 10; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ClassificationLabel = new global::Gtk.Label(); this.ClassificationLabel.Name = "ClassificationLabel"; this.ClassificationLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Digit</b>"); this.ClassificationLabel.UseMarkup = true; this.LayoutClassify.Add(this.ClassificationLabel); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ClassificationLabel])); w29.X = 530; w29.Y = 130; // Container child LayoutClassify.Gtk.Fixed+FixedChild this.ClassificationBox = new global::Gtk.Entry(); this.ClassificationBox.WidthRequest = 100; this.ClassificationBox.HeightRequest = 70; this.ClassificationBox.Name = "ClassificationBox"; this.ClassificationBox.Text = global::Mono.Unix.Catalog.GetString("0"); this.ClassificationBox.IsEditable = false; this.ClassificationBox.InvisibleChar = '●'; this.ClassificationBox.Xalign = 0.5F; this.LayoutClassify.Add(this.ClassificationBox); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.LayoutClassify[this.ClassificationBox])); w30.X = 500; w30.Y = 150; this.MainNotebook.Add(this.LayoutClassify); // Notebook tab this.PageClassify = new global::Gtk.Label(); this.PageClassify.Name = "PageClassify"; this.PageClassify.LabelProp = global::Mono.Unix.Catalog.GetString("Classify"); this.MainNotebook.SetTabLabel(this.LayoutClassify, this.PageClassify); this.PageClassify.ShowAll(); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.LayoutNetwork = new global::Gtk.Fixed(); this.LayoutNetwork.Name = "LayoutNetwork"; this.LayoutNetwork.HasWindow = false; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.NetworksLayersLabel = new global::Gtk.Label(); this.NetworksLayersLabel.Name = "NetworksLayersLabel"; this.NetworksLayersLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Network Layers</b>"); this.NetworksLayersLabel.UseMarkup = true; this.LayoutNetwork.Add(this.NetworksLayersLabel); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.NetworksLayersLabel])); w32.X = 30; w32.Y = 10; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.NetworkLayers = global::Gtk.ComboBox.NewText(); this.NetworkLayers.WidthRequest = 210; this.NetworkLayers.Name = "NetworkLayers"; this.LayoutNetwork.Add(this.NetworkLayers); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.NetworkLayers])); w33.X = 30; w33.Y = 30; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationMap = new global::Gtk.Image(); this.ActivationMap.WidthRequest = 128; this.ActivationMap.HeightRequest = 128; this.ActivationMap.Name = "ActivationMap"; this.LayoutNetwork.Add(this.ActivationMap); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationMap])); w34.X = 30; w34.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationMapLabel = new global::Gtk.Label(); this.ActivationMapLabel.Name = "ActivationMapLabel"; this.ActivationMapLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Activation</b>"); this.ActivationMapLabel.UseMarkup = true; this.LayoutNetwork.Add(this.ActivationMapLabel); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationMapLabel])); w35.X = 30; w35.Y = 75; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationMapsTextBox = new global::Gtk.Entry(); this.ActivationMapsTextBox.WidthRequest = 30; this.ActivationMapsTextBox.HeightRequest = 30; this.ActivationMapsTextBox.Name = "ActivationMapsTextBox"; this.ActivationMapsTextBox.IsEditable = false; this.ActivationMapsTextBox.InvisibleChar = '●'; this.ActivationMapsTextBox.Xalign = 0.5F; this.LayoutNetwork.Add(this.ActivationMapsTextBox); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationMapsTextBox])); w36.X = 128; w36.Y = 70; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationMapScroll = new global::Gtk.HScrollbar(null); this.ActivationMapScroll.WidthRequest = 128; this.ActivationMapScroll.HeightRequest = 30; this.ActivationMapScroll.Name = "ActivationMapScroll"; this.ActivationMapScroll.Adjustment.Upper = 100D; this.ActivationMapScroll.Adjustment.PageIncrement = 1D; this.ActivationMapScroll.Adjustment.PageSize = 1D; this.ActivationMapScroll.Adjustment.StepIncrement = 1D; this.LayoutNetwork.Add(this.ActivationMapScroll); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationMapScroll])); w37.X = 30; w37.Y = 230; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationXLabel = new global::Gtk.Label(); this.ActivationXLabel.Name = "ActivationXLabel"; this.ActivationXLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>X</b>"); this.ActivationXLabel.UseMarkup = true; this.LayoutNetwork.Add(this.ActivationXLabel); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationXLabel])); w38.X = 180; w38.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationX = new global::Gtk.Entry(); this.ActivationX.WidthRequest = 30; this.ActivationX.HeightRequest = 30; this.ActivationX.Name = "ActivationX"; this.ActivationX.IsEditable = false; this.ActivationX.InvisibleChar = '●'; this.ActivationX.Xalign = 0.5F; this.LayoutNetwork.Add(this.ActivationX); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationX])); w39.X = 170; w39.Y = 120; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationYLabel = new global::Gtk.Label(); this.ActivationYLabel.Name = "ActivationYLabel"; this.ActivationYLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Y</b>"); this.ActivationYLabel.UseMarkup = true; this.LayoutNetwork.Add(this.ActivationYLabel); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationYLabel])); w40.X = 180; w40.Y = 160; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.ActivationY = new global::Gtk.Entry(); this.ActivationY.WidthRequest = 30; this.ActivationY.HeightRequest = 30; this.ActivationY.Name = "ActivationY"; this.ActivationY.IsEditable = false; this.ActivationY.InvisibleChar = '●'; this.ActivationY.Xalign = 0.5F; this.LayoutNetwork.Add(this.ActivationY); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.ActivationY])); w41.X = 170; w41.Y = 180; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureVectorLabel = new global::Gtk.Label(); this.FeatureVectorLabel.Name = "FeatureVectorLabel"; this.FeatureVectorLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Feature Vector</b>"); this.FeatureVectorLabel.UseMarkup = true; this.LayoutNetwork.Add(this.FeatureVectorLabel); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureVectorLabel])); w42.X = 30; w42.Y = 270; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureVector = new global::Gtk.Image(); this.FeatureVector.WidthRequest = 150; this.FeatureVector.HeightRequest = 50; this.FeatureVector.Name = "FeatureVector"; this.LayoutNetwork.Add(this.FeatureVector); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureVector])); w43.X = 30; w43.Y = 295; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.Weights = new global::Gtk.Image(); this.Weights.WidthRequest = 150; this.Weights.HeightRequest = 50; this.Weights.Name = "Weights"; this.LayoutNetwork.Add(this.Weights); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.Weights])); w44.X = 220; w44.Y = 295; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.WeightsLabel = new global::Gtk.Label(); this.WeightsLabel.Name = "WeightsLabel"; this.WeightsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Weights</b>"); this.WeightsLabel.UseMarkup = true; this.LayoutNetwork.Add(this.WeightsLabel); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.WeightsLabel])); w45.X = 220; w45.Y = 270; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.OutputLabel = new global::Gtk.Label(); this.OutputLabel.Name = "OutputLabel"; this.OutputLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Output</b>"); this.OutputLabel.UseMarkup = true; this.LayoutNetwork.Add(this.OutputLabel); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.OutputLabel])); w46.X = 30; w46.Y = 360; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.Output = new global::Gtk.Image(); this.Output.WidthRequest = 150; this.Output.HeightRequest = 50; this.Output.Name = "Output"; this.LayoutNetwork.Add(this.Output); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.Output])); w47.X = 30; w47.Y = 385; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.NetworkBiasLabel = new global::Gtk.Label(); this.NetworkBiasLabel.Name = "NetworkBiasLabel"; this.NetworkBiasLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Network Bias</b>"); this.NetworkBiasLabel.UseMarkup = true; this.LayoutNetwork.Add(this.NetworkBiasLabel); global::Gtk.Fixed.FixedChild w48 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.NetworkBiasLabel])); w48.X = 410; w48.Y = 270; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.NetworkBias = new global::Gtk.Image(); this.NetworkBias.WidthRequest = 150; this.NetworkBias.HeightRequest = 50; this.NetworkBias.Name = "NetworkBias"; this.LayoutNetwork.Add(this.NetworkBias); global::Gtk.Fixed.FixedChild w49 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.NetworkBias])); w49.X = 410; w49.Y = 295; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMap = new global::Gtk.Image(); this.FeatureMap.WidthRequest = 128; this.FeatureMap.HeightRequest = 128; this.FeatureMap.Name = "FeatureMap"; this.LayoutNetwork.Add(this.FeatureMap); global::Gtk.Fixed.FixedChild w50 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMap])); w50.X = 260; w50.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapLabel = new global::Gtk.Label(); this.FeatureMapLabel.Name = "FeatureMapLabel"; this.FeatureMapLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Feature Map</b>"); this.FeatureMapLabel.UseMarkup = true; this.LayoutNetwork.Add(this.FeatureMapLabel); global::Gtk.Fixed.FixedChild w51 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapLabel])); w51.X = 260; w51.Y = 75; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapJ = new global::Gtk.VScrollbar(null); this.FeatureMapJ.WidthRequest = 30; this.FeatureMapJ.HeightRequest = 128; this.FeatureMapJ.Name = "FeatureMapJ"; this.FeatureMapJ.Adjustment.Upper = 100D; this.FeatureMapJ.Adjustment.PageIncrement = 1D; this.FeatureMapJ.Adjustment.PageSize = 1D; this.FeatureMapJ.Adjustment.StepIncrement = 1D; this.FeatureMapJ.Adjustment.Value = 0.765625D; this.LayoutNetwork.Add(this.FeatureMapJ); global::Gtk.Fixed.FixedChild w52 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapJ])); w52.X = 220; w52.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapI = new global::Gtk.HScrollbar(null); this.FeatureMapI.WidthRequest = 128; this.FeatureMapI.HeightRequest = 30; this.FeatureMapI.Name = "FeatureMapI"; this.FeatureMapI.Adjustment.Upper = 100D; this.FeatureMapI.Adjustment.PageIncrement = 1D; this.FeatureMapI.Adjustment.PageSize = 1D; this.FeatureMapI.Adjustment.StepIncrement = 1D; this.LayoutNetwork.Add(this.FeatureMapI); global::Gtk.Fixed.FixedChild w53 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapI])); w53.X = 260; w53.Y = 230; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapIText = new global::Gtk.Entry(); this.FeatureMapIText.WidthRequest = 30; this.FeatureMapIText.HeightRequest = 30; this.FeatureMapIText.Name = "FeatureMapIText"; this.FeatureMapIText.IsEditable = false; this.FeatureMapIText.InvisibleChar = '●'; this.FeatureMapIText.Xalign = 0.5F; this.LayoutNetwork.Add(this.FeatureMapIText); global::Gtk.Fixed.FixedChild w54 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapIText])); w54.X = 400; w54.Y = 120; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapILabel = new global::Gtk.Label(); this.FeatureMapILabel.Name = "FeatureMapILabel"; this.FeatureMapILabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>I</b>"); this.FeatureMapILabel.UseMarkup = true; this.FeatureMapILabel.Justify = ((global::Gtk.Justification)(2)); this.LayoutNetwork.Add(this.FeatureMapILabel); global::Gtk.Fixed.FixedChild w55 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapILabel])); w55.X = 410; w55.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapXText = new global::Gtk.Entry(); this.FeatureMapXText.WidthRequest = 30; this.FeatureMapXText.HeightRequest = 30; this.FeatureMapXText.Name = "FeatureMapXText"; this.FeatureMapXText.IsEditable = false; this.FeatureMapXText.InvisibleChar = '●'; this.FeatureMapXText.Xalign = 0.5F; this.LayoutNetwork.Add(this.FeatureMapXText); global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapXText])); w56.X = 400; w56.Y = 180; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapXLabel = new global::Gtk.Label(); this.FeatureMapXLabel.Name = "FeatureMapXLabel"; this.FeatureMapXLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>X</b>"); this.FeatureMapXLabel.UseMarkup = true; this.FeatureMapXLabel.Justify = ((global::Gtk.Justification)(2)); this.LayoutNetwork.Add(this.FeatureMapXLabel); global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapXLabel])); w57.X = 410; w57.Y = 160; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapJText = new global::Gtk.Entry(); this.FeatureMapJText.WidthRequest = 30; this.FeatureMapJText.HeightRequest = 30; this.FeatureMapJText.Name = "FeatureMapJText"; this.FeatureMapJText.IsEditable = false; this.FeatureMapJText.InvisibleChar = '●'; this.FeatureMapJText.Xalign = 0.5F; this.LayoutNetwork.Add(this.FeatureMapJText); global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapJText])); w58.X = 440; w58.Y = 120; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapYText = new global::Gtk.Entry(); this.FeatureMapYText.WidthRequest = 30; this.FeatureMapYText.HeightRequest = 30; this.FeatureMapYText.Name = "FeatureMapYText"; this.FeatureMapYText.IsEditable = false; this.FeatureMapYText.InvisibleChar = '●'; this.FeatureMapYText.Xalign = 0.5F; this.LayoutNetwork.Add(this.FeatureMapYText); global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapYText])); w59.X = 440; w59.Y = 180; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapJLabel = new global::Gtk.Label(); this.FeatureMapJLabel.Name = "FeatureMapJLabel"; this.FeatureMapJLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>J</b>"); this.FeatureMapJLabel.UseMarkup = true; this.FeatureMapJLabel.Justify = ((global::Gtk.Justification)(2)); this.LayoutNetwork.Add(this.FeatureMapJLabel); global::Gtk.Fixed.FixedChild w60 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapJLabel])); w60.X = 450; w60.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.FeatureMapYLabel = new global::Gtk.Label(); this.FeatureMapYLabel.Name = "FeatureMapYLabel"; this.FeatureMapYLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Y</b>"); this.FeatureMapYLabel.UseMarkup = true; this.FeatureMapYLabel.Justify = ((global::Gtk.Justification)(2)); this.LayoutNetwork.Add(this.FeatureMapYLabel); global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.FeatureMapYLabel])); w61.X = 450; w61.Y = 160; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.BiasMap = new global::Gtk.Image(); this.BiasMap.WidthRequest = 128; this.BiasMap.HeightRequest = 128; this.BiasMap.Name = "BiasMap"; this.LayoutNetwork.Add(this.BiasMap); global::Gtk.Fixed.FixedChild w62 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.BiasMap])); w62.X = 482; w62.Y = 100; // Container child LayoutNetwork.Gtk.Fixed+FixedChild this.BiasLabel = new global::Gtk.Label(); this.BiasLabel.Name = "BiasLabel"; this.BiasLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Bias</b>"); this.BiasLabel.UseMarkup = true; this.LayoutNetwork.Add(this.BiasLabel); global::Gtk.Fixed.FixedChild w63 = ((global::Gtk.Fixed.FixedChild)(this.LayoutNetwork[this.BiasLabel])); w63.X = 482; w63.Y = 75; this.MainNotebook.Add(this.LayoutNetwork); global::Gtk.Notebook.NotebookChild w64 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook[this.LayoutNetwork])); w64.Position = 1; // Notebook tab this.PageNetwork = new global::Gtk.Label(); this.PageNetwork.Name = "PageNetwork"; this.PageNetwork.LabelProp = global::Mono.Unix.Catalog.GetString("Network"); this.MainNotebook.SetTabLabel(this.LayoutNetwork, this.PageNetwork); this.PageNetwork.ShowAll(); this.MainLayout.Add(this.MainNotebook); global::Gtk.Fixed.FixedChild w65 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.MainNotebook])); w65.X = 80; w65.Y = 60; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.DigitEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.OnDigitEventBoxButtonPressEvent); this.DigitEventBox.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.OnDigitEventBoxButtonReleaseEvent); this.DigitEventBox.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.OnDigitEventBoxMotionNotifyEvent); this.ButtonClassify.Clicked += new global::System.EventHandler(this.OnButtonClassifyClicked); this.LoadButton.Clicked += new global::System.EventHandler(this.OnLoadButtonClicked); this.ClearButton.Clicked += new global::System.EventHandler(this.OnClearButtonClicked); this.NetworkLayers.Changed += new global::System.EventHandler(this.OnNetworkLayersChanged); this.ActivationMapScroll.ValueChanged += new global::System.EventHandler(this.OnActivationMapScrollValueChanged); this.FeatureMapJ.ValueChanged += new global::System.EventHandler(this.OnFeatureMapJValueChanged); this.FeatureMapI.ValueChanged += new global::System.EventHandler(this.OnFeatureMapIValueChanged); }