protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("OLED Brightness Tweak"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(5)); // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Brightness"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.brightnessRange = new global::Gtk.HScale(null); this.brightnessRange.CanFocus = true; this.brightnessRange.Name = "brightnessRange"; this.brightnessRange.Adjustment.Upper = 100; this.brightnessRange.Adjustment.PageIncrement = 10; this.brightnessRange.Adjustment.StepIncrement = 1; this.brightnessRange.Adjustment.Value = 50; this.brightnessRange.DrawValue = false; this.brightnessRange.Digits = 0; this.brightnessRange.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.brightnessRange); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.brightnessRange])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Tweak"); this.hbox1.Add(this.button1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 41; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.OnTweakEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DeSERt.BrightnessPreview this.WidthRequest = 630; this.HeightRequest = 470; this.Name = "DeSERt.BrightnessPreview"; this.Title = global::Mono.Unix.Catalog.GetString("BrightnessPreview"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("DeSERt.DeSERt-Icon.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.DestroyWithParent = true; // Container child DeSERt.BrightnessPreview.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.PreviewImage = new global::Gtk.Image(); this.PreviewImage.WidthRequest = 600; this.PreviewImage.HeightRequest = 400; this.PreviewImage.Name = "PreviewImage"; this.fixed2.Add(this.PreviewImage); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PreviewImage])); w1.X = 15; w1.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.PrevImgSlide = new global::Gtk.HScale(null); this.PrevImgSlide.WidthRequest = 600; this.PrevImgSlide.CanFocus = true; this.PrevImgSlide.Name = "PrevImgSlide"; this.PrevImgSlide.Adjustment.Lower = 1D; this.PrevImgSlide.Adjustment.Upper = 100D; this.PrevImgSlide.Adjustment.PageIncrement = 10D; this.PrevImgSlide.Adjustment.StepIncrement = 1D; this.PrevImgSlide.Adjustment.Value = 1D; this.PrevImgSlide.DrawValue = true; this.PrevImgSlide.Digits = 0; this.PrevImgSlide.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed2.Add(this.PrevImgSlide); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PrevImgSlide])); w2.X = 10; w2.Y = 420; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 644; this.DefaultHeight = 507; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.PrevImgSlide.ValueChanged += new global::System.EventHandler(this.OnPrevImgSlideValueChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget DeSERt.BrightnessPreview this.WidthRequest = 630; this.HeightRequest = 470; this.Name = "DeSERt.BrightnessPreview"; this.Title = global::Mono.Unix.Catalog.GetString ("BrightnessPreview"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DeSERt.DeSERt-Icon.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.DestroyWithParent = true; // Container child DeSERt.BrightnessPreview.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.PreviewImage = new global::Gtk.Image (); this.PreviewImage.WidthRequest = 600; this.PreviewImage.HeightRequest = 400; this.PreviewImage.Name = "PreviewImage"; this.fixed2.Add (this.PreviewImage); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PreviewImage])); w1.X = 15; w1.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.PrevImgSlide = new global::Gtk.HScale (null); this.PrevImgSlide.WidthRequest = 600; this.PrevImgSlide.CanFocus = true; this.PrevImgSlide.Name = "PrevImgSlide"; this.PrevImgSlide.Adjustment.Lower = 1D; this.PrevImgSlide.Adjustment.Upper = 100D; this.PrevImgSlide.Adjustment.PageIncrement = 10D; this.PrevImgSlide.Adjustment.StepIncrement = 1D; this.PrevImgSlide.Adjustment.Value = 1D; this.PrevImgSlide.DrawValue = true; this.PrevImgSlide.Digits = 0; this.PrevImgSlide.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed2.Add (this.PrevImgSlide); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.PrevImgSlide])); w2.X = 10; w2.Y = 420; this.Add (this.fixed2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 644; this.DefaultHeight = 507; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.PrevImgSlide.ValueChanged += new global::System.EventHandler (this.OnPrevImgSlideValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget cubectl.widget_sub_speed global::Stetic.BinContainer.Attach (this); this.Name = "cubectl.widget_sub_speed"; // Container child cubectl.widget_sub_speed.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Speed Control"); this.vbox3.Add (this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget OpenLauncher.ASlider global::Stetic.BinContainer.Attach (this); this.Name = "OpenLauncher.ASlider"; // Container child OpenLauncher.ASlider.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0f, 0f, 1f, 1f); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.slider = new global::Gtk.HScale (null); this.slider.CanFocus = true; this.slider.Name = "slider"; this.slider.Adjustment.Upper = 100; this.slider.Adjustment.PageIncrement = 10; this.slider.Adjustment.StepIncrement = 1; this.slider.DrawValue = true; this.slider.Digits = 0; this.slider.ValuePos = ((global::Gtk.PositionType)(2)); this.GtkAlignment.Add (this.slider); this.frame1.Add (this.GtkAlignment); this.sliderLabel = new global::Gtk.Label (); this.sliderLabel.Name = "sliderLabel"; this.sliderLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>GtkFrame</b>"); this.sliderLabel.UseMarkup = true; this.frame1.LabelWidget = this.sliderLabel; this.Add (this.frame1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.slider.FormatValue += new global::Gtk.FormatValueHandler (this.OnSliderFormatValue); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ConsensusHierarchy.TemperatureWindow this.Name = "ConsensusHierarchy.TemperatureWindow"; this.Title = global::Mono.Unix.Catalog.GetString("TemperatureWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ConsensusHierarchy.TemperatureWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.WidthRequest = 350; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 0.0001D; this.hscale1.Adjustment.Upper = 2D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 0.5D; this.hscale1.Adjustment.Value = 0.006D; this.hscale1.DrawValue = true; this.hscale1.Digits = 5; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add(this.hscale1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w1.X = 2; w1.Y = 4; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 365; this.DefaultHeight = 52; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget ConsensusHierarchy.TemperatureWindow this.Name = "ConsensusHierarchy.TemperatureWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("TemperatureWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child ConsensusHierarchy.TemperatureWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.WidthRequest = 350; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 0.0001D; this.hscale1.Adjustment.Upper = 2D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 0.5D; this.hscale1.Adjustment.Value = 0.006D; this.hscale1.DrawValue = true; this.hscale1.Digits = 5; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add (this.hscale1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w1.X = 2; w1.Y = 4; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 365; this.DefaultHeight = 52; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("VLCia"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.cbox = global::Gtk.ComboBox.NewText(); this.cbox.Sensitive = false; this.cbox.Name = "cbox"; this.hbox1.Add(this.cbox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbox])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.refresh = new global::Gtk.Button(); this.refresh.CanFocus = true; this.refresh.Name = "refresh"; this.refresh.UseUnderline = true; this.refresh.Label = global::Mono.Unix.Catalog.GetString("Refresh"); this.hbox1.Add(this.refresh); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.refresh])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.url = new global::Gtk.Button(); global::Gtk.Tooltips w3 = new Gtk.Tooltips(); w3.SetTip(this.url, "Copies to clipboard", "Copies to clipboard"); this.url.CanFocus = true; this.url.Name = "url"; this.url.UseUnderline = true; this.url.Label = global::Mono.Unix.Catalog.GetString("URL"); this.hbox1.Add(this.url); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.url])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.play = new global::Gtk.Button(); this.play.CanFocus = true; this.play.Name = "play"; this.play.UseUnderline = true; this.play.Label = global::Mono.Unix.Catalog.GetString("Play"); this.hbox2.Add(this.play); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.play])); w6.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.pause = new global::Gtk.Button(); this.pause.CanFocus = true; this.pause.Name = "pause"; this.pause.UseUnderline = true; this.pause.Label = global::Mono.Unix.Catalog.GetString("Pause"); this.hbox2.Add(this.pause); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.pause])); w7.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.stop = new global::Gtk.Button(); this.stop.CanFocus = true; this.stop.Name = "stop"; this.stop.UseUnderline = true; this.stop.Label = global::Mono.Unix.Catalog.GetString("Stop"); this.hbox2.Add(this.stop); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.stop])); w8.Position = 2; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scale = new global::Gtk.HScale(null); this.scale.HeightRequest = 55; this.scale.Sensitive = false; this.scale.CanFocus = true; this.scale.Name = "scale"; this.scale.Adjustment.Upper = 0.01D; this.scale.Adjustment.PageIncrement = 5D; this.scale.Adjustment.StepIncrement = 0.5D; this.scale.DrawValue = true; this.scale.Digits = 0; this.scale.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox1.Add(this.scale); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.scale])); w10.Position = 2; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.txt = new global::Gtk.Label(); this.txt.Name = "txt"; this.txt.LabelProp = global::Mono.Unix.Catalog.GetString("Welcome"); this.txt.Selectable = true; this.vbox2.Add(this.txt); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.txt])); w11.Position = 0; w11.Expand = false; w11.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w12.Position = 3; w12.Expand = false; w12.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 172; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.cbox.Changed += new global::System.EventHandler(this.Combochanged); this.refresh.Clicked += new global::System.EventHandler(this.Refresh); this.url.Clicked += new global::System.EventHandler(this.Url); this.play.Clicked += new global::System.EventHandler(this.Play); this.pause.Clicked += new global::System.EventHandler(this.Pause); this.stop.Clicked += new global::System.EventHandler(this.Stop); this.scale.ValueChanged += new global::System.EventHandler(this.OnScaleValueChanged); this.scale.FocusGrabbed += new global::System.EventHandler(this.OnScaleFocusGrabbed); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame1.BorderWidth = ((uint)(9)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.button_address_ok = new global::Gtk.Button (); this.button_address_ok.CanFocus = true; this.button_address_ok.Name = "button_address_ok"; this.button_address_ok.UseUnderline = true; this.button_address_ok.Label = global::Mono.Unix.Catalog.GetString ("OK"); this.table2.Add (this.button_address_ok); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table2 [this.button_address_ok])); w1.TopAttach = ((uint)(5)); w1.BottomAttach = ((uint)(6)); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.checkbutton_loop = new global::Gtk.CheckButton (); this.checkbutton_loop.CanFocus = true; this.checkbutton_loop.Name = "checkbutton_loop"; this.checkbutton_loop.Label = global::Mono.Unix.Catalog.GetString ("Loop"); this.checkbutton_loop.DrawIndicator = true; this.checkbutton_loop.UseUnderline = true; this.table2.Add (this.checkbutton_loop); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkbutton_loop])); w2.TopAttach = ((uint)(5)); w2.BottomAttach = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_address = new global::Gtk.Entry (); this.entry_address.CanFocus = true; this.entry_address.Name = "entry_address"; this.entry_address.IsEditable = true; this.entry_address.InvisibleChar = '•'; this.entry_address.Xalign = 1F; this.table2.Add (this.entry_address); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_address])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_address = new global::Gtk.Entry (); this.entry_winamp_address.CanFocus = true; this.entry_winamp_address.Name = "entry_winamp_address"; this.entry_winamp_address.Text = global::Mono.Unix.Catalog.GetString ("localhost"); this.entry_winamp_address.IsEditable = true; this.entry_winamp_address.InvisibleChar = '•'; this.entry_winamp_address.Xalign = 1F; this.table2.Add (this.entry_winamp_address); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_address])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_pass = new global::Gtk.Entry (); this.entry_winamp_pass.CanFocus = true; this.entry_winamp_pass.Name = "entry_winamp_pass"; this.entry_winamp_pass.Text = global::Mono.Unix.Catalog.GetString ("pass"); this.entry_winamp_pass.IsEditable = true; this.entry_winamp_pass.InvisibleChar = '•'; this.entry_winamp_pass.Xalign = 1F; this.table2.Add (this.entry_winamp_pass); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_pass])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_port = new global::Gtk.Entry (); this.entry_winamp_port.WidthRequest = 80; this.entry_winamp_port.CanFocus = true; this.entry_winamp_port.Name = "entry_winamp_port"; this.entry_winamp_port.Text = global::Mono.Unix.Catalog.GetString ("4800"); this.entry_winamp_port.IsEditable = true; this.entry_winamp_port.MaxLength = 5; this.entry_winamp_port.InvisibleChar = '•'; this.table2.Add (this.entry_winamp_port); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_port])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(3)); w6.RightAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hscale_shift_speed = new global::Gtk.HScale (null); this.hscale_shift_speed.CanFocus = true; this.hscale_shift_speed.Name = "hscale_shift_speed"; this.hscale_shift_speed.Adjustment.Upper = 100; this.hscale_shift_speed.Adjustment.PageIncrement = 1; this.hscale_shift_speed.Adjustment.StepIncrement = 1; this.hscale_shift_speed.DrawValue = true; this.hscale_shift_speed.Digits = 0; this.hscale_shift_speed.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add (this.hscale_shift_speed); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.hscale_shift_speed])); w7.TopAttach = ((uint)(5)); w7.BottomAttach = ((uint)(6)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label_address = new global::Gtk.Label (); this.label_address.Name = "label_address"; this.label_address.LabelProp = global::Mono.Unix.Catalog.GetString ("Ledmatrix Adresse"); this.table2.Add (this.label_address); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.label_address])); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Winamp Adresse"); this.table2.Add (this.label2); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Winamp Pass"); this.table2.Add (this.label3); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString (":"); this.table2.Add (this.label4); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add (this.table2); this.frame1.Add (this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Einstellungen</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vbox1.Add (this.frame1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.WidthRequest = 600; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView (); this.treeview2.HeightRequest = 150; this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.treeview2.Reorderable = true; this.GtkScrolledWindow.Add (this.treeview2); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w16.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("%c\tCenter\t\t\t%h\tStunde\t\t%a\tArtist\n%g\tGrün\t\t\t%m\tMinute\t\t%t\tTitle\n%r\tRot\t\t\t\t%s\tSekunde\t\t%2%T Tree\n%o\tOrange\t\t\t\t\t\t\t%R\tRSS Feed\n%n\tZeilenumbruch\t%D\tTag\t\t\t%1\tSchrift mini\n%+\tEin Pixel tiefer\t%M\tMonat\t\t%8\tSchrift klein\n%-\tEin Pixel höher\t%Y\tJahr\t\t\t%2\tSchrift gross"); this.vbox1.Add (this.label1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 737; this.DefaultHeight = 603; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.hscale_shift_speed.ValueChanged += new global::System.EventHandler (this.hscale_shift_speed_changed); this.entry_address.Activated += new global::System.EventHandler (this.on_entry_address_activated); this.checkbutton_loop.Toggled += new global::System.EventHandler (this.on_checkbox_loop_toggled); this.button_address_ok.Clicked += new global::System.EventHandler (this.on_entry_address_activated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Ovládání TV"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; this.hbox7.BorderWidth = ((uint)(11)); // Container child hbox7.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox (); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Zařízení:</b>"); this.label3.UseMarkup = true; this.hbox13.Add (this.label3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label3])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.dev = new global::Gtk.Entry (); this.dev.CanFocus = true; this.dev.Name = "dev"; this.dev.IsEditable = true; this.dev.InvisibleChar = '•'; this.hbox13.Add (this.dev); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.dev])); w2.Position = 1; // Container child hbox13.Gtk.Box+BoxChild this.button51 = new global::Gtk.Button (); this.button51.CanFocus = true; this.button51.Name = "button51"; this.button51.UseUnderline = true; this.button51.Label = global::Mono.Unix.Catalog.GetString ("Init"); global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); this.button51.Image = w3; this.hbox13.Add (this.button51); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.button51])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.ready = new global::Gtk.Image (); this.ready.Name = "ready"; this.ready.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-disconnect", global::Gtk.IconSize.Button); this.hbox13.Add (this.ready); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.ready])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.vbox10.Add (this.hbox13); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox13])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment24 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment24.Name = "GtkAlignment24"; this.GtkAlignment24.LeftPadding = ((uint)(12)); // Container child GtkAlignment24.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(6)); // Container child vbox2.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox (); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.fixed32 = new global::Gtk.Fixed (); this.fixed32.Name = "fixed32"; this.fixed32.HasWindow = false; this.hbox12.Add (this.fixed32); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.fixed32])); w7.Position = 0; // Container child hbox12.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.tvrad = new global::Gtk.Button (); this.tvrad.WidthRequest = 80; this.tvrad.CanFocus = true; this.tvrad.Name = "tvrad"; this.tvrad.UseUnderline = true; this.tvrad.Label = global::Mono.Unix.Catalog.GetString ("TV/Rad"); global::Gtk.Image w8 = new global::Gtk.Image (); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_playlist", global::Gtk.IconSize.Button); this.tvrad.Image = w8; this.vbox3.Add (this.tvrad); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.tvrad])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.avmode = new global::Gtk.Button (); this.avmode.WidthRequest = 80; this.avmode.CanFocus = true; this.avmode.Name = "avmode"; this.avmode.UseUnderline = true; this.avmode.Label = global::Mono.Unix.Catalog.GetString ("AV Mód"); global::Gtk.Image w10 = new global::Gtk.Image (); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_edit", global::Gtk.IconSize.Button); this.avmode.Image = w10; this.vbox3.Add (this.avmode); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.avmode])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hbox1.Add (this.vbox3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.power = new global::Gtk.Button (); this.power.CanFocus = true; this.power.Name = "power"; this.power.UseUnderline = true; global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_exit", global::Gtk.IconSize.Dialog); this.power.Image = w13; this.hbox1.Add (this.power); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.power])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.input = new global::Gtk.Button (); this.input.WidthRequest = 80; this.input.CanFocus = true; this.input.Name = "input"; this.input.UseUnderline = true; this.input.Label = global::Mono.Unix.Catalog.GetString ("Vstup"); global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Button); this.input.Image = w15; this.vbox4.Add (this.input); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.input])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.energysaving = new global::Gtk.Button (); this.energysaving.WidthRequest = 80; this.energysaving.CanFocus = true; this.energysaving.Name = "energysaving"; this.energysaving.UseUnderline = true; this.energysaving.Label = global::Mono.Unix.Catalog.GetString ("Eko"); global::Gtk.Image w17 = new global::Gtk.Image (); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_weather-sunny", global::Gtk.IconSize.Button); this.energysaving.Image = w17; this.vbox4.Add (this.energysaving); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.energysaving])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.hbox1.Add (this.vbox4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.hbox12.Add (this.hbox1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.hbox1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.fixed33 = new global::Gtk.Fixed (); this.fixed33.Name = "fixed33"; this.fixed33.HasWindow = false; this.hbox12.Add (this.fixed33); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.fixed33])); w21.Position = 2; this.vbox2.Add (this.hbox12); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox12])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator (); this.hseparator3.Name = "hseparator3"; this.vbox2.Add (this.hseparator3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator3])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(3)), ((uint)(5)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(3)); this.table3.ColumnSpacing = ((uint)(3)); // Container child table3.Gtk.Table+TableChild this.fixed10 = new global::Gtk.Fixed (); this.fixed10.Name = "fixed10"; this.fixed10.HasWindow = false; this.table3.Add (this.fixed10); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed10])); w24.LeftAttach = ((uint)(4)); w24.RightAttach = ((uint)(5)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fixed11 = new global::Gtk.Fixed (); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; this.table3.Add (this.fixed11); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed11])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(4)); w25.RightAttach = ((uint)(5)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fixed12 = new global::Gtk.Fixed (); this.fixed12.Name = "fixed12"; this.fixed12.HasWindow = false; this.table3.Add (this.fixed12); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed12])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.LeftAttach = ((uint)(4)); w26.RightAttach = ((uint)(5)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fixed13 = new global::Gtk.Fixed (); this.fixed13.Name = "fixed13"; this.fixed13.HasWindow = false; this.table3.Add (this.fixed13); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed13])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fixed14 = new global::Gtk.Fixed (); this.fixed14.Name = "fixed14"; this.fixed14.HasWindow = false; this.table3.Add (this.fixed14); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed14])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fixed9 = new global::Gtk.Fixed (); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; this.table3.Add (this.fixed9); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table3 [this.fixed9])); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n1 = new global::Gtk.Button (); this.n1.WidthRequest = 30; this.n1.HeightRequest = 30; this.n1.CanFocus = true; this.n1.Name = "n1"; this.n1.UseUnderline = true; this.n1.Label = global::Mono.Unix.Catalog.GetString ("1"); this.table3.Add (this.n1); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table3 [this.n1])); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n2 = new global::Gtk.Button (); this.n2.WidthRequest = 30; this.n2.HeightRequest = 30; this.n2.CanFocus = true; this.n2.Name = "n2"; this.n2.UseUnderline = true; this.n2.Label = global::Mono.Unix.Catalog.GetString ("2"); this.table3.Add (this.n2); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table3 [this.n2])); w31.LeftAttach = ((uint)(2)); w31.RightAttach = ((uint)(3)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n3 = new global::Gtk.Button (); this.n3.WidthRequest = 30; this.n3.HeightRequest = 30; this.n3.CanFocus = true; this.n3.Name = "n3"; this.n3.UseUnderline = true; this.n3.Label = global::Mono.Unix.Catalog.GetString ("3"); this.table3.Add (this.n3); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table3 [this.n3])); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((global::Gtk.AttachOptions)(4)); w32.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n4 = new global::Gtk.Button (); this.n4.WidthRequest = 30; this.n4.HeightRequest = 30; this.n4.CanFocus = true; this.n4.Name = "n4"; this.n4.UseUnderline = true; this.n4.Label = global::Mono.Unix.Catalog.GetString ("4"); this.table3.Add (this.n4); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table3 [this.n4])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n5 = new global::Gtk.Button (); this.n5.WidthRequest = 30; this.n5.HeightRequest = 30; this.n5.CanFocus = true; this.n5.Name = "n5"; this.n5.UseUnderline = true; this.n5.Label = global::Mono.Unix.Catalog.GetString ("5"); this.table3.Add (this.n5); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table3 [this.n5])); w34.TopAttach = ((uint)(1)); w34.BottomAttach = ((uint)(2)); w34.LeftAttach = ((uint)(2)); w34.RightAttach = ((uint)(3)); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n6 = new global::Gtk.Button (); this.n6.WidthRequest = 30; this.n6.HeightRequest = 30; this.n6.CanFocus = true; this.n6.Name = "n6"; this.n6.UseUnderline = true; this.n6.Label = global::Mono.Unix.Catalog.GetString ("6"); this.table3.Add (this.n6); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table3 [this.n6])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(3)); w35.RightAttach = ((uint)(4)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n7 = new global::Gtk.Button (); this.n7.WidthRequest = 30; this.n7.HeightRequest = 30; this.n7.CanFocus = true; this.n7.Name = "n7"; this.n7.UseUnderline = true; this.n7.Label = global::Mono.Unix.Catalog.GetString ("7"); this.table3.Add (this.n7); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table3 [this.n7])); w36.TopAttach = ((uint)(2)); w36.BottomAttach = ((uint)(3)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n8 = new global::Gtk.Button (); this.n8.WidthRequest = 30; this.n8.HeightRequest = 30; this.n8.CanFocus = true; this.n8.Name = "n8"; this.n8.UseUnderline = true; this.n8.Label = global::Mono.Unix.Catalog.GetString ("8"); this.table3.Add (this.n8); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table3 [this.n8])); w37.TopAttach = ((uint)(2)); w37.BottomAttach = ((uint)(3)); w37.LeftAttach = ((uint)(2)); w37.RightAttach = ((uint)(3)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.n9 = new global::Gtk.Button (); this.n9.WidthRequest = 30; this.n9.HeightRequest = 30; this.n9.CanFocus = true; this.n9.Name = "n9"; this.n9.UseUnderline = true; this.n9.Label = global::Mono.Unix.Catalog.GetString ("9"); this.table3.Add (this.n9); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table3 [this.n9])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.LeftAttach = ((uint)(3)); w38.RightAttach = ((uint)(4)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table3])); w39.Position = 2; w39.Expand = false; w39.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table (((uint)(3)), ((uint)(6)), false); this.table2.Name = "table2"; // Container child table2.Gtk.Table+TableChild this.blue = new global::Gtk.Button (); this.blue.WidthRequest = 68; this.blue.CanFocus = true; this.blue.Name = "blue"; this.blue.UseUnderline = true; global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TVControl.blue.png"); this.blue.Image = w40; this.table2.Add (this.blue); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table2 [this.blue])); w41.LeftAttach = ((uint)(4)); w41.RightAttach = ((uint)(5)); w41.XOptions = ((global::Gtk.AttachOptions)(4)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.epg = new global::Gtk.Button (); this.epg.WidthRequest = 68; this.epg.CanFocus = true; this.epg.Name = "epg"; this.epg.UseUnderline = true; this.epg.Label = global::Mono.Unix.Catalog.GetString ("EPG"); this.table2.Add (this.epg); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.epg])); w42.TopAttach = ((uint)(2)); w42.BottomAttach = ((uint)(3)); w42.LeftAttach = ((uint)(3)); w42.RightAttach = ((uint)(4)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed28 = new global::Gtk.Fixed (); this.fixed28.Name = "fixed28"; this.fixed28.HasWindow = false; this.table2.Add (this.fixed28); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed28])); w43.TopAttach = ((uint)(1)); w43.BottomAttach = ((uint)(2)); w43.LeftAttach = ((uint)(5)); w43.RightAttach = ((uint)(6)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed31 = new global::Gtk.Fixed (); this.fixed31.Name = "fixed31"; this.fixed31.HasWindow = false; this.table2.Add (this.fixed31); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed31])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.LeftAttach = ((uint)(5)); w44.RightAttach = ((uint)(6)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed34 = new global::Gtk.Fixed (); this.fixed34.Name = "fixed34"; this.fixed34.HasWindow = false; this.table2.Add (this.fixed34); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed34])); w45.TopAttach = ((uint)(1)); w45.BottomAttach = ((uint)(2)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed35 = new global::Gtk.Fixed (); this.fixed35.Name = "fixed35"; this.fixed35.HasWindow = false; this.table2.Add (this.fixed35); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed35])); w46.TopAttach = ((uint)(2)); w46.BottomAttach = ((uint)(3)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed6 = new global::Gtk.Fixed (); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.table2.Add (this.fixed6); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed6])); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.fixed7 = new global::Gtk.Fixed (); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; this.table2.Add (this.fixed7); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.fixed7])); w48.LeftAttach = ((uint)(5)); w48.RightAttach = ((uint)(6)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.green = new global::Gtk.Button (); this.green.WidthRequest = 68; this.green.CanFocus = true; this.green.Name = "green"; this.green.UseUnderline = true; global::Gtk.Image w49 = new global::Gtk.Image (); w49.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TVControl.green.png"); this.green.Image = w49; this.table2.Add (this.green); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.green])); w50.LeftAttach = ((uint)(2)); w50.RightAttach = ((uint)(3)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.info = new global::Gtk.Button (); this.info.WidthRequest = 68; this.info.CanFocus = true; this.info.Name = "info"; this.info.UseUnderline = true; this.info.Label = global::Mono.Unix.Catalog.GetString ("Info"); global::Gtk.Image w51 = new global::Gtk.Image (); w51.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-info", global::Gtk.IconSize.Button); this.info.Image = w51; this.table2.Add (this.info); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table2 [this.info])); w52.TopAttach = ((uint)(2)); w52.BottomAttach = ((uint)(3)); w52.LeftAttach = ((uint)(2)); w52.RightAttach = ((uint)(3)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.markfav = new global::Gtk.Button (); this.markfav.WidthRequest = 68; this.markfav.CanFocus = true; this.markfav.Name = "markfav"; this.markfav.UseUnderline = true; this.markfav.Label = global::Mono.Unix.Catalog.GetString ("Oblíb."); global::Gtk.Image w53 = new global::Gtk.Image (); w53.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_add-bookmark", global::Gtk.IconSize.Button); this.markfav.Image = w53; this.table2.Add (this.markfav); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table2 [this.markfav])); w54.TopAttach = ((uint)(2)); w54.BottomAttach = ((uint)(3)); w54.LeftAttach = ((uint)(4)); w54.RightAttach = ((uint)(5)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.qmenu = new global::Gtk.Button (); this.qmenu.WidthRequest = 68; this.qmenu.CanFocus = true; this.qmenu.Name = "qmenu"; this.qmenu.UseUnderline = true; this.qmenu.Label = global::Mono.Unix.Catalog.GetString ("Q.Menu"); this.table2.Add (this.qmenu); global::Gtk.Table.TableChild w55 = ((global::Gtk.Table.TableChild)(this.table2 [this.qmenu])); w55.TopAttach = ((uint)(2)); w55.BottomAttach = ((uint)(3)); w55.LeftAttach = ((uint)(1)); w55.RightAttach = ((uint)(2)); w55.XOptions = ((global::Gtk.AttachOptions)(4)); w55.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.red = new global::Gtk.Button (); this.red.WidthRequest = 68; this.red.CanFocus = true; this.red.Name = "red"; this.red.UseUnderline = true; global::Gtk.Image w56 = new global::Gtk.Image (); w56.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TVControl.red.png"); this.red.Image = w56; this.table2.Add (this.red); global::Gtk.Table.TableChild w57 = ((global::Gtk.Table.TableChild)(this.table2 [this.red])); w57.LeftAttach = ((uint)(1)); w57.RightAttach = ((uint)(2)); w57.XOptions = ((global::Gtk.AttachOptions)(4)); w57.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.simplink = new global::Gtk.Button (); this.simplink.WidthRequest = 68; this.simplink.CanFocus = true; this.simplink.Name = "simplink"; this.simplink.UseUnderline = true; this.simplink.Label = global::Mono.Unix.Catalog.GetString ("SimpLink"); this.table2.Add (this.simplink); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.table2 [this.simplink])); w58.TopAttach = ((uint)(1)); w58.BottomAttach = ((uint)(2)); w58.LeftAttach = ((uint)(4)); w58.RightAttach = ((uint)(5)); w58.XOptions = ((global::Gtk.AttachOptions)(4)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.subtitle = new global::Gtk.Button (); this.subtitle.WidthRequest = 68; this.subtitle.CanFocus = true; this.subtitle.Name = "subtitle"; this.subtitle.UseUnderline = true; this.subtitle.Label = global::Mono.Unix.Catalog.GetString ("Titulky"); this.table2.Add (this.subtitle); global::Gtk.Table.TableChild w59 = ((global::Gtk.Table.TableChild)(this.table2 [this.subtitle])); w59.TopAttach = ((uint)(1)); w59.BottomAttach = ((uint)(2)); w59.LeftAttach = ((uint)(3)); w59.RightAttach = ((uint)(4)); w59.XOptions = ((global::Gtk.AttachOptions)(4)); w59.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.text = new global::Gtk.Button (); this.text.WidthRequest = 68; this.text.CanFocus = true; this.text.Name = "text"; this.text.UseUnderline = true; this.text.Label = global::Mono.Unix.Catalog.GetString ("Text"); global::Gtk.Image w60 = new global::Gtk.Image (); w60.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-file", global::Gtk.IconSize.Button); this.text.Image = w60; this.table2.Add (this.text); global::Gtk.Table.TableChild w61 = ((global::Gtk.Table.TableChild)(this.table2 [this.text])); w61.TopAttach = ((uint)(1)); w61.BottomAttach = ((uint)(2)); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((global::Gtk.AttachOptions)(4)); w61.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.topt = new global::Gtk.Button (); this.topt.WidthRequest = 68; this.topt.CanFocus = true; this.topt.Name = "topt"; this.topt.UseUnderline = true; this.topt.Label = global::Mono.Unix.Catalog.GetString ("T. Opt"); this.table2.Add (this.topt); global::Gtk.Table.TableChild w62 = ((global::Gtk.Table.TableChild)(this.table2 [this.topt])); w62.TopAttach = ((uint)(1)); w62.BottomAttach = ((uint)(2)); w62.LeftAttach = ((uint)(2)); w62.RightAttach = ((uint)(3)); w62.XOptions = ((global::Gtk.AttachOptions)(4)); w62.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.yellow = new global::Gtk.Button (); this.yellow.WidthRequest = 68; this.yellow.CanFocus = true; this.yellow.Name = "yellow"; this.yellow.UseUnderline = true; global::Gtk.Image w63 = new global::Gtk.Image (); w63.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("TVControl.yellow.png"); this.yellow.Image = w63; this.table2.Add (this.yellow); global::Gtk.Table.TableChild w64 = ((global::Gtk.Table.TableChild)(this.table2 [this.yellow])); w64.LeftAttach = ((uint)(3)); w64.RightAttach = ((uint)(4)); w64.XOptions = ((global::Gtk.AttachOptions)(4)); w64.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table2); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w65.PackType = ((global::Gtk.PackType)(1)); w65.Position = 3; w65.Expand = false; w65.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox18 = new global::Gtk.HBox (); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 6; // Container child hbox18.Gtk.Box+BoxChild this.fixed36 = new global::Gtk.Fixed (); this.fixed36.Name = "fixed36"; this.fixed36.HasWindow = false; this.hbox18.Add (this.fixed36); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.fixed36])); w66.Position = 0; // Container child hbox18.Gtk.Box+BoxChild this.bwd = new global::Gtk.Button (); this.bwd.WidthRequest = 90; this.bwd.CanFocus = true; this.bwd.Name = "bwd"; this.bwd.UseUnderline = true; this.bwd.Label = global::Mono.Unix.Catalog.GetString ("Dozadu"); global::Gtk.Image w67 = new global::Gtk.Image (); w67.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-rewind", global::Gtk.IconSize.Button); this.bwd.Image = w67; this.hbox18.Add (this.bwd); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.bwd])); w68.Position = 1; w68.Expand = false; w68.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.fwd = new global::Gtk.Button (); this.fwd.WidthRequest = 90; this.fwd.CanFocus = true; this.fwd.Name = "fwd"; this.fwd.UseUnderline = true; this.fwd.Label = global::Mono.Unix.Catalog.GetString ("Dopředu"); global::Gtk.Image w69 = new global::Gtk.Image (); w69.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-forward", global::Gtk.IconSize.Button); this.fwd.Image = w69; this.hbox18.Add (this.fwd); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.fwd])); w70.Position = 2; w70.Expand = false; w70.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.fixed37 = new global::Gtk.Fixed (); this.fixed37.Name = "fixed37"; this.fixed37.HasWindow = false; this.hbox18.Add (this.fixed37); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.fixed37])); w71.Position = 3; this.vbox2.Add (this.hbox18); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox18])); w72.PackType = ((global::Gtk.PackType)(1)); w72.Position = 4; w72.Expand = false; w72.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox17 = new global::Gtk.HBox (); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox17.Add (this.fixed5); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.fixed5])); w73.Position = 0; // Container child hbox17.Gtk.Box+BoxChild this.play = new global::Gtk.Button (); this.play.WidthRequest = 80; this.play.CanFocus = true; this.play.Name = "play"; this.play.UseUnderline = true; this.play.Label = global::Mono.Unix.Catalog.GetString ("Přehrát"); global::Gtk.Image w74 = new global::Gtk.Image (); w74.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button); this.play.Image = w74; this.hbox17.Add (this.play); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.play])); w75.Position = 1; w75.Expand = false; w75.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.pause = new global::Gtk.Button (); this.pause.WidthRequest = 80; this.pause.CanFocus = true; this.pause.Name = "pause"; this.pause.UseUnderline = true; this.pause.Label = global::Mono.Unix.Catalog.GetString ("Pauza"); global::Gtk.Image w76 = new global::Gtk.Image (); w76.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button); this.pause.Image = w76; this.hbox17.Add (this.pause); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.pause])); w77.Position = 2; w77.Expand = false; w77.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.stop = new global::Gtk.Button (); this.stop.WidthRequest = 80; this.stop.CanFocus = true; this.stop.Name = "stop"; this.stop.UseUnderline = true; this.stop.Label = global::Mono.Unix.Catalog.GetString ("Stop"); global::Gtk.Image w78 = new global::Gtk.Image (); w78.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-stop", global::Gtk.IconSize.Button); this.stop.Image = w78; this.hbox17.Add (this.stop); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.stop])); w79.Position = 3; w79.Expand = false; w79.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox17.Add (this.fixed1); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.fixed1])); w80.Position = 4; this.vbox2.Add (this.hbox17); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox17])); w81.PackType = ((global::Gtk.PackType)(1)); w81.Position = 5; w81.Expand = false; w81.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator (); this.hseparator4.Name = "hseparator4"; this.vbox2.Add (this.hseparator4); global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator4])); w82.PackType = ((global::Gtk.PackType)(1)); w82.Position = 6; w82.Expand = false; w82.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.menu = new global::Gtk.Button (); this.menu.WidthRequest = 70; this.menu.CanFocus = true; this.menu.Name = "menu"; this.menu.UseUnderline = true; this.menu.Label = global::Mono.Unix.Catalog.GetString ("Menu"); global::Gtk.Image w83 = new global::Gtk.Image (); w83.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Button); this.menu.Image = w83; this.hbox11.Add (this.menu); global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.menu])); w84.Position = 0; w84.Expand = false; w84.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.ratio = new global::Gtk.Button (); this.ratio.CanFocus = true; this.ratio.Name = "ratio"; this.ratio.UseUnderline = true; this.ratio.Label = global::Mono.Unix.Catalog.GetString ("Poměr obrazu"); this.hbox11.Add (this.ratio); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.ratio])); w85.Position = 1; w85.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.exit = new global::Gtk.Button (); this.exit.WidthRequest = 70; this.exit.CanFocus = true; this.exit.Name = "exit"; this.exit.UseUnderline = true; this.exit.Label = global::Mono.Unix.Catalog.GetString ("Exit"); global::Gtk.Image w86 = new global::Gtk.Image (); w86.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-no", global::Gtk.IconSize.Button); this.exit.Image = w86; this.hbox11.Add (this.exit); global::Gtk.Box.BoxChild w87 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.exit])); w87.Position = 2; w87.Expand = false; w87.Fill = false; this.vbox2.Add (this.hbox11); global::Gtk.Box.BoxChild w88 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox11])); w88.PackType = ((global::Gtk.PackType)(1)); w88.Position = 7; w88.Expand = false; w88.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(5)), false); this.table1.Name = "table1"; // Container child table1.Gtk.Table+TableChild this.down = new global::Gtk.Button (); this.down.CanFocus = true; this.down.Name = "down"; this.down.UseUnderline = true; global::Gtk.Image w89 = new global::Gtk.Image (); w89.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_down", global::Gtk.IconSize.Menu); this.down.Image = w89; this.table1.Add (this.down); global::Gtk.Table.TableChild w90 = ((global::Gtk.Table.TableChild)(this.table1 [this.down])); w90.TopAttach = ((uint)(2)); w90.BottomAttach = ((uint)(3)); w90.LeftAttach = ((uint)(2)); w90.RightAttach = ((uint)(3)); w90.XOptions = ((global::Gtk.AttachOptions)(4)); w90.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed20 = new global::Gtk.Fixed (); this.fixed20.Name = "fixed20"; this.fixed20.HasWindow = false; this.table1.Add (this.fixed20); global::Gtk.Table.TableChild w91 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed20])); w91.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed21 = new global::Gtk.Fixed (); this.fixed21.Name = "fixed21"; this.fixed21.HasWindow = false; this.table1.Add (this.fixed21); global::Gtk.Table.TableChild w92 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed21])); w92.LeftAttach = ((uint)(4)); w92.RightAttach = ((uint)(5)); w92.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed22 = new global::Gtk.Fixed (); this.fixed22.Name = "fixed22"; this.fixed22.HasWindow = false; this.table1.Add (this.fixed22); global::Gtk.Table.TableChild w93 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed22])); w93.TopAttach = ((uint)(1)); w93.BottomAttach = ((uint)(2)); w93.LeftAttach = ((uint)(4)); w93.RightAttach = ((uint)(5)); w93.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed23 = new global::Gtk.Fixed (); this.fixed23.Name = "fixed23"; this.fixed23.HasWindow = false; this.table1.Add (this.fixed23); global::Gtk.Table.TableChild w94 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed23])); w94.TopAttach = ((uint)(2)); w94.BottomAttach = ((uint)(3)); w94.LeftAttach = ((uint)(4)); w94.RightAttach = ((uint)(5)); w94.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed24 = new global::Gtk.Fixed (); this.fixed24.Name = "fixed24"; this.fixed24.HasWindow = false; this.table1.Add (this.fixed24); global::Gtk.Table.TableChild w95 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed24])); w95.TopAttach = ((uint)(1)); w95.BottomAttach = ((uint)(2)); w95.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed25 = new global::Gtk.Fixed (); this.fixed25.Name = "fixed25"; this.fixed25.HasWindow = false; this.table1.Add (this.fixed25); global::Gtk.Table.TableChild w96 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed25])); w96.TopAttach = ((uint)(2)); w96.BottomAttach = ((uint)(3)); w96.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed26 = new global::Gtk.Fixed (); this.fixed26.Name = "fixed26"; this.fixed26.HasWindow = false; this.table1.Add (this.fixed26); global::Gtk.Table.TableChild w97 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed26])); w97.LeftAttach = ((uint)(1)); w97.RightAttach = ((uint)(2)); w97.XOptions = ((global::Gtk.AttachOptions)(4)); w97.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed27 = new global::Gtk.Fixed (); this.fixed27.Name = "fixed27"; this.fixed27.HasWindow = false; this.table1.Add (this.fixed27); global::Gtk.Table.TableChild w98 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed27])); w98.LeftAttach = ((uint)(3)); w98.RightAttach = ((uint)(4)); w98.XOptions = ((global::Gtk.AttachOptions)(4)); w98.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed29 = new global::Gtk.Fixed (); this.fixed29.Name = "fixed29"; this.fixed29.HasWindow = false; this.table1.Add (this.fixed29); global::Gtk.Table.TableChild w99 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed29])); w99.TopAttach = ((uint)(2)); w99.BottomAttach = ((uint)(3)); w99.LeftAttach = ((uint)(1)); w99.RightAttach = ((uint)(2)); w99.XOptions = ((global::Gtk.AttachOptions)(4)); w99.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fixed30 = new global::Gtk.Fixed (); this.fixed30.Name = "fixed30"; this.fixed30.HasWindow = false; this.table1.Add (this.fixed30); global::Gtk.Table.TableChild w100 = ((global::Gtk.Table.TableChild)(this.table1 [this.fixed30])); w100.TopAttach = ((uint)(2)); w100.BottomAttach = ((uint)(3)); w100.LeftAttach = ((uint)(3)); w100.RightAttach = ((uint)(4)); w100.XOptions = ((global::Gtk.AttachOptions)(4)); w100.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.left = new global::Gtk.Button (); this.left.CanFocus = true; this.left.Name = "left"; this.left.UseUnderline = true; global::Gtk.Image w101 = new global::Gtk.Image (); w101.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_left", global::Gtk.IconSize.Menu); this.left.Image = w101; this.table1.Add (this.left); global::Gtk.Table.TableChild w102 = ((global::Gtk.Table.TableChild)(this.table1 [this.left])); w102.TopAttach = ((uint)(1)); w102.BottomAttach = ((uint)(2)); w102.LeftAttach = ((uint)(1)); w102.RightAttach = ((uint)(2)); w102.XOptions = ((global::Gtk.AttachOptions)(4)); w102.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.ok = new global::Gtk.Button (); this.ok.CanFocus = true; this.ok.Name = "ok"; this.ok.UseUnderline = true; global::Gtk.Image w103 = new global::Gtk.Image (); w103.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); this.ok.Image = w103; this.table1.Add (this.ok); global::Gtk.Table.TableChild w104 = ((global::Gtk.Table.TableChild)(this.table1 [this.ok])); w104.TopAttach = ((uint)(1)); w104.BottomAttach = ((uint)(2)); w104.LeftAttach = ((uint)(2)); w104.RightAttach = ((uint)(3)); w104.XOptions = ((global::Gtk.AttachOptions)(4)); w104.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.right = new global::Gtk.Button (); this.right.CanFocus = true; this.right.Name = "right"; this.right.UseUnderline = true; global::Gtk.Image w105 = new global::Gtk.Image (); w105.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_right", global::Gtk.IconSize.Menu); this.right.Image = w105; this.table1.Add (this.right); global::Gtk.Table.TableChild w106 = ((global::Gtk.Table.TableChild)(this.table1 [this.right])); w106.TopAttach = ((uint)(1)); w106.BottomAttach = ((uint)(2)); w106.LeftAttach = ((uint)(3)); w106.RightAttach = ((uint)(4)); w106.XOptions = ((global::Gtk.AttachOptions)(4)); w106.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.up = new global::Gtk.Button (); this.up.CanFocus = true; this.up.Name = "up"; this.up.UseUnderline = true; global::Gtk.Image w107 = new global::Gtk.Image (); w107.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_up", global::Gtk.IconSize.Menu); this.up.Image = w107; this.table1.Add (this.up); global::Gtk.Table.TableChild w108 = ((global::Gtk.Table.TableChild)(this.table1 [this.up])); w108.LeftAttach = ((uint)(2)); w108.RightAttach = ((uint)(3)); w108.XOptions = ((global::Gtk.AttachOptions)(4)); w108.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add (this.table1); global::Gtk.Box.BoxChild w109 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); w109.PackType = ((global::Gtk.PackType)(1)); w109.Position = 8; w109.Expand = false; w109.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox2.Add (this.hseparator2); global::Gtk.Box.BoxChild w110 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w110.PackType = ((global::Gtk.PackType)(1)); w110.Position = 9; w110.Expand = false; w110.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.fixed17 = new global::Gtk.Fixed (); this.fixed17.Name = "fixed17"; this.fixed17.HasWindow = false; this.hbox9.Add (this.fixed17); global::Gtk.Box.BoxChild w111 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed17])); w111.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.vup = new global::Gtk.Button (); this.vup.CanFocus = true; this.vup.Name = "vup"; this.vup.UseUnderline = true; global::Gtk.Image w112 = new global::Gtk.Image (); w112.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_up", global::Gtk.IconSize.Menu); this.vup.Image = w112; this.vbox7.Add (this.vup); global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vup])); w113.Position = 0; w113.Expand = false; w113.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.image31 = new global::Gtk.Image (); this.image31.Name = "image31"; this.image31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button); this.vbox7.Add (this.image31); global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.image31])); w114.Position = 1; w114.Expand = false; w114.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.vdown = new global::Gtk.Button (); this.vdown.CanFocus = true; this.vdown.Name = "vdown"; this.vdown.UseUnderline = true; global::Gtk.Image w115 = new global::Gtk.Image (); w115.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_down", global::Gtk.IconSize.Menu); this.vdown.Image = w115; this.vbox7.Add (this.vdown); global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.vdown])); w116.PackType = ((global::Gtk.PackType)(1)); w116.Position = 2; w116.Expand = false; w116.Fill = false; this.hbox9.Add (this.vbox7); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox7])); w117.Position = 1; w117.Expand = false; w117.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.fixed18 = new global::Gtk.Fixed (); this.fixed18.HeightRequest = 23; this.fixed18.Name = "fixed18"; this.fixed18.HasWindow = false; this.vbox8.Add (this.fixed18); global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fixed18])); w118.Position = 0; w118.Expand = false; w118.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.mute = new global::Gtk.Button (); this.mute.CanFocus = true; this.mute.Name = "mute"; this.mute.UseUnderline = true; global::Gtk.Image w119 = new global::Gtk.Image (); w119.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button); this.mute.Image = w119; this.vbox8.Add (this.mute); global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.mute])); w120.Position = 1; w120.Expand = false; w120.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.fixed19 = new global::Gtk.Fixed (); this.fixed19.Name = "fixed19"; this.fixed19.HasWindow = false; this.vbox8.Add (this.fixed19); global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fixed19])); w121.Position = 2; w121.Expand = false; w121.Fill = false; this.hbox9.Add (this.vbox8); global::Gtk.Box.BoxChild w122 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox8])); w122.Position = 2; w122.Expand = false; w122.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.pup = new global::Gtk.Button (); this.pup.CanFocus = true; this.pup.Name = "pup"; this.pup.UseUnderline = true; global::Gtk.Image w123 = new global::Gtk.Image (); w123.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_up", global::Gtk.IconSize.Menu); this.pup.Image = w123; this.vbox6.Add (this.pup); global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.pup])); w124.Position = 0; w124.Expand = false; w124.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.image37 = new global::Gtk.Image (); this.image37.Name = "image37"; this.image37.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu); this.vbox6.Add (this.image37); global::Gtk.Box.BoxChild w125 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.image37])); w125.Position = 1; w125.Expand = false; w125.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.pdown = new global::Gtk.Button (); this.pdown.CanFocus = true; this.pdown.Name = "pdown"; this.pdown.UseUnderline = true; global::Gtk.Image w126 = new global::Gtk.Image (); w126.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_down", global::Gtk.IconSize.Menu); this.pdown.Image = w126; this.vbox6.Add (this.pdown); global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.pdown])); w127.PackType = ((global::Gtk.PackType)(1)); w127.Position = 2; w127.Expand = false; w127.Fill = false; this.hbox9.Add (this.vbox6); global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbox6])); w128.Position = 3; w128.Expand = false; w128.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed16 = new global::Gtk.Fixed (); this.fixed16.Name = "fixed16"; this.fixed16.HasWindow = false; this.hbox9.Add (this.fixed16); global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed16])); w129.Position = 4; this.vbox2.Add (this.hbox9); global::Gtk.Box.BoxChild w130 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox9])); w130.PackType = ((global::Gtk.PackType)(1)); w130.Position = 10; w130.Expand = false; w130.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator (); this.hseparator5.Name = "hseparator5"; this.vbox2.Add (this.hseparator5); global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator5])); w131.PackType = ((global::Gtk.PackType)(1)); w131.Position = 11; w131.Expand = false; w131.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 3; // Container child hbox10.Gtk.Box+BoxChild this.fixed8 = new global::Gtk.Fixed (); this.fixed8.Name = "fixed8"; this.fixed8.HasWindow = false; this.hbox10.Add (this.fixed8); global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed8])); w132.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.list = new global::Gtk.Button (); this.list.WidthRequest = 64; this.list.CanFocus = true; this.list.Name = "list"; this.list.UseUnderline = true; this.list.Label = global::Mono.Unix.Catalog.GetString ("List"); global::Gtk.Image w133 = new global::Gtk.Image (); w133.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-index", global::Gtk.IconSize.Button); this.list.Image = w133; this.hbox10.Add (this.list); global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.list])); w134.Position = 1; w134.Expand = false; w134.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.n = new global::Gtk.Button (); this.n.WidthRequest = 30; this.n.HeightRequest = 30; this.n.CanFocus = true; this.n.Name = "n"; this.n.UseUnderline = true; this.n.Label = global::Mono.Unix.Catalog.GetString ("0"); this.hbox10.Add (this.n); global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.n])); w135.Position = 2; w135.Expand = false; w135.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.qview = new global::Gtk.Button (); this.qview.WidthRequest = 64; this.qview.CanFocus = true; this.qview.Name = "qview"; this.qview.UseUnderline = true; this.qview.Label = global::Mono.Unix.Catalog.GetString ("Zpět"); global::Gtk.Image w136 = new global::Gtk.Image (); w136.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-jump-to", global::Gtk.IconSize.Button); this.qview.Image = w136; this.hbox10.Add (this.qview); global::Gtk.Box.BoxChild w137 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.qview])); w137.Position = 3; w137.Expand = false; w137.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.fixed15 = new global::Gtk.Fixed (); this.fixed15.Name = "fixed15"; this.fixed15.HasWindow = false; this.hbox10.Add (this.fixed15); global::Gtk.Box.BoxChild w138 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.fixed15])); w138.Position = 4; this.vbox2.Add (this.hbox10); global::Gtk.Box.BoxChild w139 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox10])); w139.PackType = ((global::Gtk.PackType)(1)); w139.Position = 12; w139.Expand = false; w139.Fill = false; this.GtkAlignment24.Add (this.vbox2); this.frame2.Add (this.GtkAlignment24); this.GtkLabel46 = new global::Gtk.Label (); this.GtkLabel46.Name = "GtkLabel46"; this.GtkLabel46.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Ovladač</b>"); this.GtkLabel46.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel46; this.vbox10.Add (this.frame2); global::Gtk.Box.BoxChild w142 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.frame2])); w142.Position = 1; w142.Expand = false; w142.Fill = false; this.hbox7.Add (this.vbox10); global::Gtk.Box.BoxChild w143 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox10])); w143.Position = 0; w143.Expand = false; w143.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1.Name = "vseparator1"; this.hbox7.Add (this.vseparator1); global::Gtk.Box.BoxChild w144 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vseparator1])); w144.Position = 1; w144.Expand = false; w144.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Stav TV:</b>"); this.label1.UseMarkup = true; this.hbox2.Add (this.label1); global::Gtk.Box.BoxChild w145 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1])); w145.Position = 0; w145.Expand = false; w145.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.tvstate = new global::Gtk.Label (); this.tvstate.Name = "tvstate"; this.tvstate.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Neznámý</i>"); this.tvstate.UseMarkup = true; this.hbox2.Add (this.tvstate); global::Gtk.Box.BoxChild w146 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.tvstate])); w146.Position = 1; w146.Expand = false; w146.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.tvimage = new global::Gtk.Image (); this.tvimage.Name = "tvimage"; this.tvimage.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-no", global::Gtk.IconSize.LargeToolbar); this.hbox2.Add (this.tvimage); global::Gtk.Box.BoxChild w147 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.tvimage])); w147.Position = 2; w147.Expand = false; w147.Fill = false; this.vbox9.Add (this.hbox2); global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox2])); w148.Position = 0; w148.Expand = false; w148.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox9.Add (this.hseparator1); global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator1])); w149.Position = 1; w149.Expand = false; w149.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Poměr obrazu:</b>"); this.label4.UseMarkup = true; this.hbox4.Add (this.label4); global::Gtk.Box.BoxChild w150 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4])); w150.Position = 0; w150.Expand = false; w150.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.aspect = new global::Gtk.Label (); this.aspect.Name = "aspect"; this.aspect.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Neznámý</i>"); this.aspect.UseMarkup = true; this.hbox4.Add (this.aspect); global::Gtk.Box.BoxChild w151 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.aspect])); w151.Position = 1; w151.Expand = false; w151.Fill = false; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w152 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w152.Position = 0; w152.Expand = false; w152.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.aspectselect = global::Gtk.ComboBox.NewText (); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("16:9")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("4:3")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("14:9")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("Přiblížený")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("Originál")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("Jen skenovat")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("Plná šířka")); this.aspectselect.AppendText (global::Mono.Unix.Catalog.GetString ("Cinema Zoom 1")); this.aspectselect.Name = "aspectselect"; this.aspectselect.Active = 0; this.hbox3.Add (this.aspectselect); global::Gtk.Box.BoxChild w153 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.aspectselect])); w153.Position = 0; w153.Expand = false; w153.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.aspectsend = new global::Gtk.Button (); this.aspectsend.CanFocus = true; this.aspectsend.Name = "aspectsend"; this.aspectsend.UseUnderline = true; this.aspectsend.Label = global::Mono.Unix.Catalog.GetString ("OK"); global::Gtk.Image w154 = new global::Gtk.Image (); w154.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); this.aspectsend.Image = w154; this.hbox3.Add (this.aspectsend); global::Gtk.Box.BoxChild w155 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.aspectsend])); w155.Position = 1; w155.Expand = false; w155.Fill = false; this.vbox1.Add (this.hbox3); global::Gtk.Box.BoxChild w156 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w156.Position = 1; w156.Expand = false; w156.Fill = false; this.vbox9.Add (this.vbox1); global::Gtk.Box.BoxChild w157 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox1])); w157.Position = 2; w157.Expand = false; w157.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator (); this.hseparator6.Name = "hseparator6"; this.vbox9.Add (this.hseparator6); global::Gtk.Box.BoxChild w158 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator6])); w158.Position = 3; w158.Expand = false; w158.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox (); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Hlasitost:</b>"); this.label5.UseMarkup = true; this.hbox6.Add (this.label5); global::Gtk.Box.BoxChild w159 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label5])); w159.Position = 0; w159.Expand = false; w159.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.volumeview = new global::Gtk.Label (); this.volumeview.Name = "volumeview"; this.volumeview.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Neznámá</i>"); this.volumeview.UseMarkup = true; this.hbox6.Add (this.volumeview); global::Gtk.Box.BoxChild w160 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.volumeview])); w160.Position = 1; w160.Expand = false; w160.Fill = false; this.vbox11.Add (this.hbox6); global::Gtk.Box.BoxChild w161 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox6])); w161.Position = 0; w161.Expand = false; w161.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox5.Add (this.fixed2); global::Gtk.Box.BoxChild w162 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed2])); w162.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.volumeselect = new global::Gtk.SpinButton (0, 20, 1); this.volumeselect.CanFocus = true; this.volumeselect.Name = "volumeselect"; this.volumeselect.Adjustment.PageIncrement = 5; this.volumeselect.ClimbRate = 1; this.volumeselect.Numeric = true; this.volumeselect.Value = 6; this.hbox5.Add (this.volumeselect); global::Gtk.Box.BoxChild w163 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.volumeselect])); w163.Position = 1; w163.Expand = false; w163.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.volumesend = new global::Gtk.Button (); this.volumesend.CanFocus = true; this.volumesend.Name = "volumesend"; this.volumesend.UseUnderline = true; this.volumesend.Label = global::Mono.Unix.Catalog.GetString ("OK"); global::Gtk.Image w164 = new global::Gtk.Image (); w164.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); this.volumesend.Image = w164; this.hbox5.Add (this.volumesend); global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.volumesend])); w165.Position = 2; w165.Expand = false; w165.Fill = false; this.vbox11.Add (this.hbox5); global::Gtk.Box.BoxChild w166 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox5])); w166.Position = 1; w166.Expand = false; w166.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.volumescroll = new global::Gtk.HScale (null); this.volumescroll.CanFocus = true; this.volumescroll.Name = "volumescroll"; this.volumescroll.Adjustment.Upper = 20; this.volumescroll.Adjustment.PageIncrement = 5; this.volumescroll.Adjustment.StepIncrement = 1; this.volumescroll.Adjustment.Value = 6; this.volumescroll.DrawValue = true; this.volumescroll.Digits = 0; this.volumescroll.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox11.Add (this.volumescroll); global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.volumescroll])); w167.PackType = ((global::Gtk.PackType)(1)); w167.Position = 2; w167.Expand = false; w167.Fill = false; this.vbox9.Add (this.vbox11); global::Gtk.Box.BoxChild w168 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox11])); w168.Position = 4; w168.Expand = false; w168.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator7 = new global::Gtk.HSeparator (); this.hseparator7.Name = "hseparator7"; this.vbox9.Add (this.hseparator7); global::Gtk.Box.BoxChild w169 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator7])); w169.Position = 5; w169.Expand = false; w169.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vbox12 = new global::Gtk.VBox (); this.vbox12.Name = "vbox12"; this.vbox12.Spacing = 6; // Container child vbox12.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox (); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Program:</b>"); this.label6.UseMarkup = true; this.hbox14.Add (this.label6); global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label6])); w170.Position = 0; w170.Expand = false; w170.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.programview = new global::Gtk.Label (); this.programview.Name = "programview"; this.programview.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Neznámý</i>"); this.programview.UseMarkup = true; this.hbox14.Add (this.programview); global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.programview])); w171.Position = 1; w171.Expand = false; w171.Fill = false; this.vbox12.Add (this.hbox14); global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.hbox14])); w172.Position = 0; w172.Expand = false; w172.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox8.Add (this.fixed3); global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed3])); w173.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.programselect = new global::Gtk.SpinButton (0, 255, 1); this.programselect.CanFocus = true; this.programselect.Name = "programselect"; this.programselect.Adjustment.PageIncrement = 10; this.programselect.ClimbRate = 1; this.programselect.Numeric = true; this.hbox8.Add (this.programselect); global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.programselect])); w174.Position = 1; w174.Expand = false; w174.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.programbut = new global::Gtk.Button (); this.programbut.CanFocus = true; this.programbut.Name = "programbut"; this.programbut.UseUnderline = true; this.programbut.Label = global::Mono.Unix.Catalog.GetString ("OK"); global::Gtk.Image w175 = new global::Gtk.Image (); w175.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); this.programbut.Image = w175; this.hbox8.Add (this.programbut); global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.programbut])); w176.Position = 2; w176.Expand = false; w176.Fill = false; this.vbox12.Add (this.hbox8); global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.hbox8])); w177.Position = 1; w177.Expand = false; w177.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Pozn.: Pouze čísla kanálů</i>"); this.label2.UseMarkup = true; this.vbox12.Add (this.label2); global::Gtk.Box.BoxChild w178 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.label2])); w178.PackType = ((global::Gtk.PackType)(1)); w178.Position = 2; w178.Expand = false; w178.Fill = false; this.vbox9.Add (this.vbox12); global::Gtk.Box.BoxChild w179 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox12])); w179.Position = 6; w179.Expand = false; w179.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator8 = new global::Gtk.HSeparator (); this.hseparator8.Name = "hseparator8"; this.vbox9.Add (this.hseparator8); global::Gtk.Box.BoxChild w180 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator8])); w180.Position = 7; w180.Expand = false; w180.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox (); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Vstup:</b>"); this.label7.UseMarkup = true; this.hbox15.Add (this.label7); global::Gtk.Box.BoxChild w181 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.label7])); w181.Position = 0; w181.Expand = false; w181.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.inputview = new global::Gtk.Label (); this.inputview.Name = "inputview"; this.inputview.LabelProp = global::Mono.Unix.Catalog.GetString ("<i>Neznámý</i>"); this.inputview.UseMarkup = true; this.hbox15.Add (this.inputview); global::Gtk.Box.BoxChild w182 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.inputview])); w182.Position = 1; w182.Expand = false; w182.Fill = false; this.vbox5.Add (this.hbox15); global::Gtk.Box.BoxChild w183 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox15])); w183.Position = 0; w183.Expand = false; w183.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox16 = new global::Gtk.HBox (); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.hbox16.Add (this.fixed4); global::Gtk.Box.BoxChild w184 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.fixed4])); w184.Position = 0; // Container child hbox16.Gtk.Box+BoxChild this.inputselect = global::Gtk.ComboBox.NewText (); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("DTV")); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("AV1")); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("AV2")); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("HDMI")); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("RGB")); this.inputselect.AppendText (global::Mono.Unix.Catalog.GetString ("Komponentní")); this.inputselect.Name = "inputselect"; this.inputselect.Active = 0; this.hbox16.Add (this.inputselect); global::Gtk.Box.BoxChild w185 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.inputselect])); w185.Position = 1; w185.Expand = false; w185.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.inputsend = new global::Gtk.Button (); this.inputsend.CanFocus = true; this.inputsend.Name = "inputsend"; this.inputsend.UseUnderline = true; this.inputsend.Label = global::Mono.Unix.Catalog.GetString ("OK"); global::Gtk.Image w186 = new global::Gtk.Image (); w186.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Button); this.inputsend.Image = w186; this.hbox16.Add (this.inputsend); global::Gtk.Box.BoxChild w187 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.inputsend])); w187.Position = 2; w187.Expand = false; w187.Fill = false; this.vbox5.Add (this.hbox16); global::Gtk.Box.BoxChild w188 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox16])); w188.Position = 1; w188.Expand = false; w188.Fill = false; this.vbox9.Add (this.vbox5); global::Gtk.Box.BoxChild w189 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox5])); w189.Position = 8; w189.Expand = false; w189.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.autoconf = new global::Gtk.Button (); this.autoconf.Sensitive = false; this.autoconf.CanFocus = true; this.autoconf.Name = "autoconf"; this.autoconf.UseUnderline = true; this.autoconf.Label = global::Mono.Unix.Catalog.GetString ("Autokonfigurace obrazu"); global::Gtk.Image w190 = new global::Gtk.Image (); w190.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_properties", global::Gtk.IconSize.Button); this.autoconf.Image = w190; this.vbox9.Add (this.autoconf); global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.autoconf])); w191.Position = 9; w191.Expand = false; w191.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator9 = new global::Gtk.HSeparator (); this.hseparator9.Name = "hseparator9"; this.vbox9.Add (this.hseparator9); global::Gtk.Box.BoxChild w192 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator9])); w192.Position = 10; w192.Expand = false; w192.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.vbox13 = new global::Gtk.VBox (); this.vbox13.Name = "vbox13"; this.vbox13.Spacing = 6; // Container child vbox13.Gtk.Box+BoxChild this.quit = new global::Gtk.Button (); this.quit.CanFocus = true; this.quit.Name = "quit"; this.quit.UseStock = true; this.quit.UseUnderline = true; this.quit.Label = "gtk-quit"; this.vbox13.Add (this.quit); global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.quit])); w193.PackType = ((global::Gtk.PackType)(1)); w193.Position = 1; w193.Expand = false; w193.Fill = false; // Container child vbox13.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button (); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.Label = global::Mono.Unix.Catalog.GetString ("O programu"); this.vbox13.Add (this.button3); global::Gtk.Box.BoxChild w194 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.button3])); w194.PackType = ((global::Gtk.PackType)(1)); w194.Position = 2; w194.Expand = false; w194.Fill = false; this.vbox9.Add (this.vbox13); global::Gtk.Box.BoxChild w195 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox13])); w195.Position = 11; this.hbox7.Add (this.vbox9); global::Gtk.Box.BoxChild w196 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox9])); w196.Position = 2; w196.Expand = false; w196.Fill = false; this.Add (this.hbox7); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 602; this.DefaultHeight = 705; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button51.Clicked += new global::System.EventHandler (this.inith); this.tvrad.Clicked += new global::System.EventHandler (this.handleKey); this.avmode.Clicked += new global::System.EventHandler (this.handleKey); this.power.Clicked += new global::System.EventHandler (this.handleKey); this.input.Clicked += new global::System.EventHandler (this.handleKey); this.energysaving.Clicked += new global::System.EventHandler (this.handleKey); this.n9.Clicked += new global::System.EventHandler (this.handleKey); this.n8.Clicked += new global::System.EventHandler (this.handleKey); this.n7.Clicked += new global::System.EventHandler (this.handleKey); this.n6.Clicked += new global::System.EventHandler (this.handleKey); this.n5.Clicked += new global::System.EventHandler (this.handleKey); this.n4.Clicked += new global::System.EventHandler (this.handleKey); this.n3.Clicked += new global::System.EventHandler (this.handleKey); this.n2.Clicked += new global::System.EventHandler (this.handleKey); this.n1.Clicked += new global::System.EventHandler (this.handleKey); this.list.Clicked += new global::System.EventHandler (this.handleKey); this.n.Clicked += new global::System.EventHandler (this.handleKey); this.qview.Clicked += new global::System.EventHandler (this.handleKey); this.vup.Clicked += new global::System.EventHandler (this.handleKey); this.vdown.Clicked += new global::System.EventHandler (this.handleKey); this.mute.Clicked += new global::System.EventHandler (this.handleKey); this.pup.Clicked += new global::System.EventHandler (this.handleKey); this.pdown.Clicked += new global::System.EventHandler (this.handleKey); this.up.Clicked += new global::System.EventHandler (this.handleKey); this.right.Clicked += new global::System.EventHandler (this.handleKey); this.ok.Clicked += new global::System.EventHandler (this.handleKey); this.left.Clicked += new global::System.EventHandler (this.handleKey); this.down.Clicked += new global::System.EventHandler (this.handleKey); this.menu.Clicked += new global::System.EventHandler (this.handleKey); this.ratio.Clicked += new global::System.EventHandler (this.handleKey); this.exit.Clicked += new global::System.EventHandler (this.handleKey); this.play.Clicked += new global::System.EventHandler (this.handleKey); this.pause.Clicked += new global::System.EventHandler (this.handleKey); this.stop.Clicked += new global::System.EventHandler (this.handleKey); this.bwd.Clicked += new global::System.EventHandler (this.handleKey); this.fwd.Clicked += new global::System.EventHandler (this.handleKey); this.yellow.Clicked += new global::System.EventHandler (this.handleKey); this.topt.Clicked += new global::System.EventHandler (this.handleKey); this.text.Clicked += new global::System.EventHandler (this.handleKey); this.subtitle.Clicked += new global::System.EventHandler (this.handleKey); this.simplink.Clicked += new global::System.EventHandler (this.handleKey); this.red.Clicked += new global::System.EventHandler (this.handleKey); this.qmenu.Clicked += new global::System.EventHandler (this.handleKey); this.markfav.Clicked += new global::System.EventHandler (this.handleKey); this.info.Clicked += new global::System.EventHandler (this.handleKey); this.green.Clicked += new global::System.EventHandler (this.handleKey); this.epg.Clicked += new global::System.EventHandler (this.handleKey); this.blue.Clicked += new global::System.EventHandler (this.handleKey); this.aspectsend.Clicked += new global::System.EventHandler (this.sendDirect); this.volumeselect.Changed += new global::System.EventHandler (this.sendDirect); this.volumesend.Clicked += new global::System.EventHandler (this.sendDirect); this.volumescroll.ValueChanged += new global::System.EventHandler (this.sendDirect); this.programselect.Changed += new global::System.EventHandler (this.sendDirect); this.programbut.Clicked += new global::System.EventHandler (this.sendDirect); this.inputsend.Clicked += new global::System.EventHandler (this.sendDirect); this.autoconf.Clicked += new global::System.EventHandler (this.sendDirect); this.button3.Clicked += new global::System.EventHandler (this.abouth); this.quit.Clicked += new global::System.EventHandler (this.quith); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Equal Tempered Note<->Frequency Converter"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(20)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.lblAnchorNote = new global::Gtk.Label(); this.lblAnchorNote.Name = "lblAnchorNote"; this.lblAnchorNote.LabelProp = global::Mono.Unix.Catalog.GetString(" Anchor Note"); this.hbox3.Add(this.lblAnchorNote); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblAnchorNote])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.cmbAnchorNote = global::Gtk.ComboBox.NewText(); this.cmbAnchorNote.Name = "cmbAnchorNote"; this.hbox3.Add(this.cmbAnchorNote); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.cmbAnchorNote])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.cmbAnchorOctave = global::Gtk.ComboBox.NewText(); this.cmbAnchorOctave.Name = "cmbAnchorOctave"; this.hbox3.Add(this.cmbAnchorOctave); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.cmbAnchorOctave])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entAnchorFrequency = new global::Gtk.Entry(); this.entAnchorFrequency.CanFocus = true; this.entAnchorFrequency.Name = "entAnchorFrequency"; this.entAnchorFrequency.IsEditable = true; this.entAnchorFrequency.InvisibleChar = '●'; this.hbox3.Add(this.entAnchorFrequency); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entAnchorFrequency])); w4.PackType = ((global::Gtk.PackType)(1)); w4.Position = 3; // Container child hbox3.Gtk.Box+BoxChild this.lblAnchorFrequency = new global::Gtk.Label(); this.lblAnchorFrequency.Name = "lblAnchorFrequency"; this.lblAnchorFrequency.LabelProp = global::Mono.Unix.Catalog.GetString(" Anchor Frequency (Hz)"); this.hbox3.Add(this.lblAnchorFrequency); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblAnchorFrequency])); w5.PackType = ((global::Gtk.PackType)(1)); w5.Position = 4; w5.Expand = false; w5.Fill = false; this.vbox.Add(this.hbox3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox3])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.lblFrequency = new global::Gtk.Label(); this.lblFrequency.Name = "lblFrequency"; this.lblFrequency.Xpad = 38; this.lblFrequency.LabelProp = global::Mono.Unix.Catalog.GetString("Frequency (Hz)"); this.hbox2.Add(this.lblFrequency); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.lblFrequency])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entFrequency = new global::Gtk.Entry(); this.entFrequency.CanDefault = true; this.entFrequency.CanFocus = true; this.entFrequency.Name = "entFrequency"; this.entFrequency.IsEditable = true; this.entFrequency.InvisibleChar = '●'; this.entFrequency.Xalign = 0.01F; this.hbox2.Add(this.entFrequency); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entFrequency])); w8.Position = 1; this.vbox7.Add(this.hbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hscFrequency = new global::Gtk.HScale(null); this.hscFrequency.CanFocus = true; this.hscFrequency.Name = "hscFrequency"; this.hscFrequency.Adjustment.Lower = 16; this.hscFrequency.Adjustment.Upper = 8000; this.hscFrequency.Adjustment.PageIncrement = 10; this.hscFrequency.Adjustment.StepIncrement = 1; this.hscFrequency.DrawValue = false; this.hscFrequency.Digits = 4; this.hscFrequency.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox7.Add(this.hscFrequency); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hscFrequency])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox.Add(this.vbox7); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox [this.vbox7])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.lblNote = new global::Gtk.Label(); this.lblNote.Name = "lblNote"; this.lblNote.LabelProp = global::Mono.Unix.Catalog.GetString("Note"); this.vbox4.Add(this.lblNote); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblNote])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.cmbNote = global::Gtk.ComboBox.NewText(); this.cmbNote.Name = "cmbNote"; this.vbox4.Add(this.cmbNote); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.cmbNote])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.hbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.lblOctave = new global::Gtk.Label(); this.lblOctave.Name = "lblOctave"; this.lblOctave.LabelProp = global::Mono.Unix.Catalog.GetString("Octave"); this.vbox5.Add(this.lblOctave); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.lblOctave])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.cmbOctave = global::Gtk.ComboBox.NewText(); this.cmbOctave.Name = "cmbOctave"; this.vbox5.Add(this.cmbOctave); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.cmbOctave])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox1.Add(this.vbox5); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.lblOffset = new global::Gtk.Label(); this.lblOffset.Name = "lblOffset"; this.lblOffset.LabelProp = global::Mono.Unix.Catalog.GetString("Offset (Hz)"); this.vbox6.Add(this.lblOffset); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.lblOffset])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.entOffset = new global::Gtk.Entry(); this.entOffset.CanDefault = true; this.entOffset.CanFocus = true; this.entOffset.Name = "entOffset"; this.entOffset.IsEditable = false; this.entOffset.InvisibleChar = '●'; this.vbox6.Add(this.entOffset); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.entOffset])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.hbox1.Add(this.vbox6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox6])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.vbox.Add(this.hbox1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox1])); w21.Position = 2; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.entFrequency.HasDefault = true; this.entOffset.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.SynchronizationWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.SynchronizationWidget"; // Container child LongoMatch.Gui.Component.SynchronizationWidget.Gtk.Container+ContainerChild this.headereventbox = new global::Gtk.EventBox(); this.headereventbox.Name = "headereventbox"; // Container child headereventbox.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.videoplayerbox = new global::Gtk.HBox(); this.videoplayerbox.Name = "videoplayerbox"; this.videoplayerbox.Spacing = 6; this.vbox1.Add(this.videoplayerbox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.videoplayerbox])); w1.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.labels_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.labels_alignment.Name = "labels_alignment"; // Container child labels_alignment.Gtk.Container+ContainerChild this.labels_vbox = new global::Gtk.VBox(); this.labels_vbox.Name = "labels_vbox"; // Container child labels_vbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea(); this.labelsarea.Name = "labelsarea"; this.labels_vbox.Add(this.labelsarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.labels_vbox[this.labelsarea])); w2.Position = 0; // Container child labels_vbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox(); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::VAS.UI.Helpers.ImageView(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.zoomhbox[this.zoomoutimage])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomscale = new global::Gtk.HScale(null); this.zoomscale.CanFocus = true; this.zoomscale.Name = "zoomscale"; this.zoomscale.Adjustment.Upper = 100; this.zoomscale.Adjustment.PageIncrement = 10; this.zoomscale.Adjustment.StepIncrement = 1; this.zoomscale.DrawValue = false; this.zoomscale.Digits = 0; this.zoomscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add(this.zoomscale); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.zoomhbox[this.zoomscale])); w4.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::VAS.UI.Helpers.ImageView(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add(this.zoominimage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.zoomhbox[this.zoominimage])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.labels_vbox.Add(this.zoomhbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.labels_vbox[this.zoomhbox])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.labels_alignment.Add(this.labels_vbox); this.hbox5.Add(this.labels_alignment); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labels_alignment])); w8.Position = 0; w8.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; // Container child vbox9.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox9.Add(this.timerulearea); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.timerulearea])); w9.Position = 0; w9.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.HeightRequest = 50; this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.scrolledwindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(0)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w10 = new global::Gtk.Viewport(); w10.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea(); this.timelinearea.Name = "timelinearea"; w10.Add(this.timelinearea); this.scrolledwindow2.Add(w10); this.vbox9.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.scrolledwindow2])); w13.Position = 1; this.hbox5.Add(this.vbox9); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.vbox9])); w14.Position = 1; this.vbox1.Add(this.hbox5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.headereventbox.Add(this.vbox1); this.Add(this.headereventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("LOL"); w1.Add (this.FileAction, null); this.CloseAction = new global::Gtk.Action ("CloseAction", global::Mono.Unix.Catalog.GetString ("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.CloseAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.AboutAction = new global::Gtk.Action ("AboutAction", global::Mono.Unix.Catalog.GetString ("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); w1.Add (this.AboutAction, null); this.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.HeightRequest = 360; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.colorSaturation = new global::ColorPicker.ColorSaturation (); this.colorSaturation.WidthRequest = 128; this.colorSaturation.HeightRequest = 14; this.colorSaturation.Name = "colorSaturation"; this.fixed1.Add (this.colorSaturation); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSaturation])); w2.X = 8; w2.Y = 168; // Container child fixed1.Gtk.Fixed+FixedChild this.colorBrightness = new global::ColorPicker.ColorBrightness (); this.colorBrightness.WidthRequest = 14; this.colorBrightness.HeightRequest = 128; this.colorBrightness.Name = "colorBrightness"; this.fixed1.Add (this.colorBrightness); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorBrightness])); w3.X = 142; w3.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.colorSquare = new global::ColorPicker.ColorSquare (); this.colorSquare.WidthRequest = 128; this.colorSquare.HeightRequest = 128; this.colorSquare.Name = "colorSquare"; this.fixed1.Add (this.colorSquare); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSquare])); w4.X = 8; w4.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar1\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'CloseAction\' action=\'CloseAction\'/></menu><menu name=\'HelpAction\' action" + "=\'HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu></menuba" + "r></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1"))); this.menubar1.WidthRequest = 452; this.menubar1.Name = "menubar1"; this.fixed1.Add (this.menubar1); // Container child fixed1.Gtk.Fixed+FixedChild this.colorSpectrum = new global::ColorPicker.ColorSpectrum (); this.colorSpectrum.WidthRequest = 256; this.colorSpectrum.HeightRequest = 128; this.colorSpectrum.Name = "colorSpectrum"; this.colorSpectrum.Red = ((ushort)(0)); this.colorSpectrum.Green = ((ushort)(0)); this.colorSpectrum.Blue = ((ushort)(0)); this.fixed1.Add (this.colorSpectrum); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSpectrum])); w6.X = 8; w6.Y = 220; // Container child fixed1.Gtk.Fixed+FixedChild this.redScale = new global::Gtk.HScale (null); this.redScale.WidthRequest = 128; this.redScale.CanFocus = true; this.redScale.Name = "redScale"; this.redScale.Adjustment.Upper = 255D; this.redScale.Adjustment.PageIncrement = 10D; this.redScale.Adjustment.StepIncrement = 1D; this.redScale.Adjustment.Value = 255D; this.redScale.DrawValue = true; this.redScale.Digits = 0; this.redScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add (this.redScale); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.redScale])); w7.X = 276; w7.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Red"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w8.X = 233; w8.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.greenScale = new global::Gtk.HScale (null); this.greenScale.WidthRequest = 128; this.greenScale.CanFocus = true; this.greenScale.Name = "greenScale"; this.greenScale.Adjustment.Upper = 255D; this.greenScale.Adjustment.PageIncrement = 10D; this.greenScale.Adjustment.StepIncrement = 1D; this.greenScale.Adjustment.Value = 255D; this.greenScale.DrawValue = true; this.greenScale.Digits = 0; this.greenScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add (this.greenScale); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.greenScale])); w9.X = 276; w9.Y = 74; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Green"); this.fixed1.Add (this.label2); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w10.X = 229; w10.Y = 89; // Container child fixed1.Gtk.Fixed+FixedChild this.blueScale = new global::Gtk.HScale (null); this.blueScale.WidthRequest = 128; this.blueScale.CanFocus = true; this.blueScale.Name = "blueScale"; this.blueScale.Adjustment.Upper = 255D; this.blueScale.Adjustment.PageIncrement = 10D; this.blueScale.Adjustment.StepIncrement = 1D; this.blueScale.Adjustment.Value = 255D; this.blueScale.DrawValue = true; this.blueScale.Digits = 0; this.blueScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add (this.blueScale); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.blueScale])); w11.X = 276; w11.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Blue"); this.fixed1.Add (this.label3); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w12.X = 235; w12.Y = 136; // Container child fixed1.Gtk.Fixed+FixedChild this.alphaScale = new global::Gtk.HScale (null); this.alphaScale.WidthRequest = 128; this.alphaScale.CanFocus = true; this.alphaScale.Name = "alphaScale"; this.alphaScale.Adjustment.Upper = 255D; this.alphaScale.Adjustment.PageIncrement = 10D; this.alphaScale.Adjustment.StepIncrement = 1D; this.alphaScale.Adjustment.Value = 255D; this.alphaScale.DrawValue = true; this.alphaScale.Digits = 0; this.alphaScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add (this.alphaScale); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.alphaScale])); w13.X = 276; w13.Y = 163; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Alpha"); this.fixed1.Add (this.label4); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w14.X = 230; w14.Y = 180; // Container child fixed1.Gtk.Fixed+FixedChild this.alphaView = new global::ColorPicker.AlphaView (); this.alphaView.WidthRequest = 60; this.alphaView.HeightRequest = 60; this.alphaView.Name = "alphaView"; this.fixed1.Add (this.alphaView); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.alphaView])); w15.X = 280; w15.Y = 220; // Container child fixed1.Gtk.Fixed+FixedChild this.colorView = new global::Gtk.DrawingArea (); this.colorView.WidthRequest = 60; this.colorView.HeightRequest = 60; this.colorView.Name = "colorView"; this.fixed1.Add (this.colorView); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorView])); w16.X = 280; w16.Y = 288; // Container child fixed1.Gtk.Fixed+FixedChild this.colorCode = new global::Gtk.Entry (); this.colorCode.WidthRequest = 80; this.colorCode.CanFocus = true; this.colorCode.Name = "colorCode"; this.colorCode.Text = global::Mono.Unix.Catalog.GetString ("#FFFFFF"); this.colorCode.IsEditable = true; this.colorCode.MaxLength = 7; this.colorCode.InvisibleChar = '●'; this.fixed1.Add (this.colorCode); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorCode])); w17.X = 356; w17.Y = 305; // Container child fixed1.Gtk.Fixed+FixedChild this.aColorCode = new global::Gtk.Entry (); this.aColorCode.WidthRequest = 80; this.aColorCode.CanFocus = true; this.aColorCode.Name = "aColorCode"; this.aColorCode.Text = global::Mono.Unix.Catalog.GetString ("#FFFFFFFF"); this.aColorCode.IsEditable = true; this.aColorCode.MaxLength = 9; this.aColorCode.InvisibleChar = '●'; this.fixed1.Add (this.aColorCode); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.aColorCode])); w18.X = 356; w18.Y = 237; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 466; this.DefaultHeight = 404; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.CloseAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.redScale.ValueChanged += new global::System.EventHandler (this.OnRedScaleValueChanged); this.greenScale.ValueChanged += new global::System.EventHandler (this.OnGreenScaleValueChanged); this.blueScale.ValueChanged += new global::System.EventHandler (this.OnBlueScaleValueChanged); this.alphaScale.ValueChanged += new global::System.EventHandler (this.OnAlphaScaleValueChanged); this.colorCode.Changed += new global::System.EventHandler (this.OnColorCodeChanged); this.aColorCode.Changed += new global::System.EventHandler (this.OnAColorCodeChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.PlayerBin global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.PlayerBin"; // Container child LongoMatch.Gui.PlayerBin.Gtk.Container+ContainerChild this.mainbox = new global::Gtk.HBox (); this.mainbox.Name = "mainbox"; this.mainbox.Spacing = 6; // Container child mainbox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.videobox = new global::Gtk.HBox (); this.videobox.Name = "videobox"; this.videobox.Spacing = 6; this.vbox2.Add (this.videobox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.videobox])); w1.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.controlsbox = new global::Gtk.HBox (); this.controlsbox.Name = "controlsbox"; this.controlsbox.Spacing = 6; // Container child controlsbox.Gtk.Box+BoxChild this.buttonsbox = new global::Gtk.HBox (); this.buttonsbox.Name = "buttonsbox"; this.buttonsbox.Homogeneous = true; // Container child buttonsbox.Gtk.Box+BoxChild this.closebutton = new global::Gtk.Button (); this.closebutton.Name = "closebutton"; this.closebutton.UseUnderline = true; // Container child closebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w3 = new global::Gtk.HBox (); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Dnd); w3.Add (w4); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w6 = new global::Gtk.Label (); w3.Add (w6); w2.Add (w3); //this.closebutton.Add (w2); //this.buttonsbox.Add (this.closebutton); //global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.closebutton])); //w10.Position = 0; //w10.Expand = false; //w10.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.drawbutton = new global::Gtk.Button (); this.drawbutton.Name = "drawbutton"; this.drawbutton.UseUnderline = true; // Container child drawbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w12 = new global::Gtk.HBox (); w12.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w13 = new global::Gtk.Image (); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Menu); w12.Add (w13); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w15 = new global::Gtk.Label (); w12.Add (w15); w11.Add (w12); //this.drawbutton.Add (w11); //this.buttonsbox.Add (this.drawbutton); //global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.drawbutton])); //w19.Position = 1; //w19.Expand = false; //w19.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.playbutton = new global::Gtk.Button (); this.playbutton.Name = "playbutton"; this.playbutton.UseUnderline = true; this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child playbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w21 = new global::Gtk.HBox (); w21.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w22 = new global::Gtk.Image (); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button); w21.Add (w22); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w24 = new global::Gtk.Label (); w21.Add (w24); w20.Add (w21); this.playbutton.Add (w20); this.buttonsbox.Add (this.playbutton); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.playbutton])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.pausebutton = new global::Gtk.Button (); this.pausebutton.Name = "pausebutton"; this.pausebutton.UseUnderline = true; this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child pausebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w30 = new global::Gtk.HBox (); w30.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w31 = new global::Gtk.Image (); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button); w30.Add (w31); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w33 = new global::Gtk.Label (); w30.Add (w33); w29.Add (w30); this.pausebutton.Add (w29); this.buttonsbox.Add (this.pausebutton); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.pausebutton])); w37.Position = 3; w37.Expand = false; w37.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.prevbutton = new global::Gtk.Button (); this.prevbutton.Name = "prevbutton"; this.prevbutton.UseUnderline = true; this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child prevbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w39 = new global::Gtk.HBox (); w39.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w40 = new global::Gtk.Image (); w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-previous", global::Gtk.IconSize.Button); w39.Add (w40); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w42 = new global::Gtk.Label (); w39.Add (w42); w38.Add (w39); this.prevbutton.Add (w38); this.buttonsbox.Add (this.prevbutton); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.prevbutton])); w46.Position = 4; w46.Expand = false; w46.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.nextbutton = new global::Gtk.Button (); this.nextbutton.Sensitive = false; this.nextbutton.Name = "nextbutton"; this.nextbutton.UseUnderline = true; this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child nextbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w47 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w48 = new global::Gtk.HBox (); w48.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w49 = new global::Gtk.Image (); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-next", global::Gtk.IconSize.Button); w48.Add (w49); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w51 = new global::Gtk.Label (); w48.Add (w51); w47.Add (w48); this.nextbutton.Add (w47); this.buttonsbox.Add (this.nextbutton); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.buttonsbox[this.nextbutton])); w55.Position = 5; w55.Expand = false; w55.Fill = false; this.controlsbox.Add (this.buttonsbox); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.controlsbox[this.buttonsbox])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.tlabel = new global::Gtk.Label (); this.tlabel.Name = "tlabel"; this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Time:"); this.controlsbox.Add (this.tlabel); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.controlsbox[this.tlabel])); w57.Position = 1; w57.Expand = false; w57.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.timescale = new global::Gtk.HScale (null); this.timescale.Name = "timescale"; this.timescale.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.timescale.Adjustment.Upper = 1; this.timescale.Adjustment.PageIncrement = 1; this.timescale.Adjustment.StepIncrement = 1; this.timescale.Adjustment.Value = 1; this.timescale.DrawValue = false; this.timescale.Digits = 0; this.timescale.ValuePos = ((global::Gtk.PositionType)(2)); this.controlsbox.Add (this.timescale); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.controlsbox[this.timescale])); w58.Position = 2; // Container child controlsbox.Gtk.Box+BoxChild this.timelabel = new global::Gtk.Label (); this.timelabel.Name = "timelabel"; this.controlsbox.Add (this.timelabel); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.controlsbox[this.timelabel])); w59.Position = 3; w59.Expand = false; // Container child controlsbox.Gtk.Box+BoxChild this.volumebutton = new global::Gtk.Button (); this.volumebutton.Name = "volumebutton"; this.volumebutton.UseUnderline = true; this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child volumebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w60 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w61 = new global::Gtk.HBox (); w61.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w62 = new global::Gtk.Image (); w62.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button); w61.Add (w62); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w64 = new global::Gtk.Label (); w61.Add (w64); w60.Add (w61); //this.volumebutton.Add (w60); //this.controlsbox.Add (this.volumebutton); //global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.controlsbox[this.volumebutton])); //w68.Position = 4; //w68.Expand = false; //w68.Fill = false; this.vbox2.Add (this.controlsbox); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.controlsbox])); w69.Position = 1; w69.Expand = false; this.mainbox.Add (this.vbox2); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.mainbox[this.vbox2])); w70.Position = 0; // Container child mainbox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vscale1 = new global::Gtk.VScale (null); this.vscale1.WidthRequest = 45; this.vscale1.Sensitive = false; this.vscale1.Name = "vscale1"; this.vscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.vscale1.Inverted = true; this.vscale1.Adjustment.Lower = 1; this.vscale1.Adjustment.Upper = 28; this.vscale1.Adjustment.PageIncrement = 3; this.vscale1.Adjustment.PageSize = 1; this.vscale1.Adjustment.StepIncrement = 1; this.vscale1.Adjustment.Value = 25; this.vscale1.DrawValue = true; this.vscale1.Digits = 0; this.vscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add (this.vscale1); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.vscale1])); w71.Position = 0; this.mainbox.Add (this.vbox3); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.mainbox[this.vbox3])); w72.Position = 1; w72.Expand = false; w72.Fill = false; this.Add (this.mainbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.closebutton.Hide (); this.prevbutton.Hide (); this.nextbutton.Hide (); this.controlsbox.Hide (); this.Show (); this.closebutton.Clicked += new global::System.EventHandler (this.OnClosebuttonClicked); this.drawbutton.Clicked += new global::System.EventHandler (this.OnDrawButtonClicked); this.playbutton.Clicked += new global::System.EventHandler (this.OnPlaybuttonClicked); this.pausebutton.Clicked += new global::System.EventHandler (this.OnPausebuttonClicked); this.prevbutton.Clicked += new global::System.EventHandler (this.OnPrevbuttonClicked); this.nextbutton.Clicked += new global::System.EventHandler (this.OnNextbuttonClicked); this.timescale.ValueChanged += new global::System.EventHandler (this.OnTimescaleValueChanged); this.timescale.AdjustBounds += new global::Gtk.AdjustBoundsHandler (this.OnTimescaleAdjustBounds); this.volumebutton.Clicked += new global::System.EventHandler (this.OnVolumebuttonClicked); this.vscale1.FormatValue += new global::Gtk.FormatValueHandler (this.OnVscale1FormatValue); this.vscale1.ValueChanged += new global::System.EventHandler (this.OnVscale1ValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget mainWindow.MainWindow this.Name = "mainWindow.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child mainWindow.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.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100; this.hscale1.Adjustment.PageIncrement = 10; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 39.5804195804196; this.hscale1.DrawValue = false; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed9 = new global::Gtk.Fixed(); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; // Container child fixed9.Gtk.Fixed+FixedChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseStock = true; this.button10.UseUnderline = true; this.button10.FocusOnClick = false; this.button10.Relief = ((global::Gtk.ReliefStyle)(2)); this.button10.Label = "gtk-media-stop"; this.fixed9.Add(this.button10); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button10])); w3.X = 227; // Container child fixed9.Gtk.Fixed+FixedChild this.button11 = new global::Gtk.Button(); this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseStock = true; this.button11.UseUnderline = true; this.button11.Relief = ((global::Gtk.ReliefStyle)(2)); this.button11.Label = "gtk-media-previous"; this.fixed9.Add(this.button11); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button11])); w4.X = 4; // Container child fixed9.Gtk.Fixed+FixedChild this.button12 = new global::Gtk.Button(); this.button12.CanFocus = true; this.button12.Name = "button12"; this.button12.UseStock = true; this.button12.UseUnderline = true; this.button12.Relief = ((global::Gtk.ReliefStyle)(2)); this.button12.Label = "gtk-media-play"; this.fixed9.Add(this.button12); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button12])); w5.X = 108; // Container child fixed9.Gtk.Fixed+FixedChild this.button13 = new global::Gtk.Button(); this.button13.CanFocus = true; this.button13.Name = "button13"; this.button13.UseStock = true; this.button13.UseUnderline = true; this.button13.Relief = ((global::Gtk.ReliefStyle)(2)); this.button13.Label = "gtk-media-next"; this.fixed9.Add(this.button13); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed9 [this.button13])); w6.X = 331; this.vbox3.Add(this.fixed9); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed9])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed11 = new global::Gtk.Fixed(); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; // Container child fixed11.Gtk.Fixed+FixedChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.WidthRequest = 150; this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Upper = 100; this.hscale2.Adjustment.PageIncrement = 10; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = false; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed11.Add(this.hscale2); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.hscale2])); w8.X = 116; // Container child fixed11.Gtk.Fixed+FixedChild this.button15 = new global::Gtk.Button(); this.button15.CanFocus = true; this.button15.Name = "button15"; this.button15.UseUnderline = true; this.button15.Label = global::Mono.Unix.Catalog.GetString("shuffle"); global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-ascending", global::Gtk.IconSize.Menu); this.button15.Image = w9; this.fixed11.Add(this.button15); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.button15])); w10.X = 1; // Container child fixed11.Gtk.Fixed+FixedChild this.button16 = new global::Gtk.Button(); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; global::Gtk.Image w11 = new global::Gtk.Image(); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-refresh", global::Gtk.IconSize.Menu); this.button16.Image = w11; this.fixed11.Add(this.button16); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.button16])); w12.X = 82; // Container child fixed11.Gtk.Fixed+FixedChild this.hscale3 = new global::Gtk.HScale(null); this.hscale3.WidthRequest = 90; this.hscale3.CanFocus = true; this.hscale3.Name = "hscale3"; this.hscale3.Adjustment.Upper = 100; this.hscale3.Adjustment.PageIncrement = 10; this.hscale3.Adjustment.StepIncrement = 1; this.hscale3.Adjustment.Value = 50; this.hscale3.DrawValue = false; this.hscale3.Digits = 0; this.hscale3.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed11.Add(this.hscale3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.hscale3])); w13.X = 269; // Container child fixed11.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("EQ"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-unindent", global::Gtk.IconSize.Menu); this.togglebutton2.Image = w14; this.fixed11.Add(this.togglebutton2); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.togglebutton2])); w15.X = 410; // Container child fixed11.Gtk.Fixed+FixedChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; this.togglebutton1.Label = global::Mono.Unix.Catalog.GetString("PL"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-descending", global::Gtk.IconSize.Menu); this.togglebutton1.Image = w16; this.fixed11.Add(this.togglebutton1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.togglebutton1])); w17.X = 368; this.vbox3.Add(this.fixed11); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed11])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed10 = new global::Gtk.Fixed(); this.fixed10.Name = "fixed10"; this.fixed10.HasWindow = false; // Container child fixed10.Gtk.Fixed+FixedChild this.button14 = new global::Gtk.Button(); this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseStock = true; this.button14.UseUnderline = true; this.button14.Relief = ((global::Gtk.ReliefStyle)(2)); this.button14.Label = "gtk-open"; this.fixed10.Add(this.button14); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button14])); w19.X = 4; // Container child fixed10.Gtk.Fixed+FixedChild this.button19 = new global::Gtk.Button(); this.button19.CanFocus = true; this.button19.Name = "button19"; this.button19.UseUnderline = true; this.button19.Label = global::Mono.Unix.Catalog.GetString("test"); global::Gtk.Image w20 = new global::Gtk.Image(); w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-about", global::Gtk.IconSize.Menu); this.button19.Image = w20; this.fixed10.Add(this.button19); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button19])); w21.X = 250; // Container child fixed10.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Очистить"); global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu); this.button1.Image = w22; this.fixed10.Add(this.button1); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button1])); w23.X = 156; // Container child fixed10.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Folder"); this.fixed10.Add(this.button2); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed10 [this.button2])); w24.X = 77; this.vbox3.Add(this.fixed10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed10])); w25.Position = 4; w25.Expand = false; w25.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 456; this.DefaultHeight = 182; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.hscale1.ValueChanged += new global::System.EventHandler(this.OnHscale1ValueChanged); this.button10.Clicked += new global::System.EventHandler(this.OnButton10Clicked); this.button11.Clicked += new global::System.EventHandler(this.OnButton11Clicked); this.button12.Clicked += new global::System.EventHandler(this.OnButton12Clicked); this.button13.Clicked += new global::System.EventHandler(this.OnButton13Clicked); this.button15.Clicked += new global::System.EventHandler(this.OnButton15Clicked); this.button16.Clicked += new global::System.EventHandler(this.OnButton16Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); this.button14.Clicked += new global::System.EventHandler(this.OnButton14Clicked); this.button19.Clicked += new global::System.EventHandler(this.OnButton19Clicked); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MonoCloud"); this.Icon = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.BorderWidth = ((uint)(3)); // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.HeightRequest = 36; this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.hbox5.BorderWidth = ((uint)(3)); // Container child hbox5.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Volume"); this.hbox5.Add (this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.VolumeControl = new global::Gtk.HScale (null); this.VolumeControl.WidthRequest = 150; this.VolumeControl.CanFocus = true; this.VolumeControl.Name = "VolumeControl"; this.VolumeControl.Adjustment.Upper = 1; this.VolumeControl.Adjustment.PageIncrement = 0.1; this.VolumeControl.Adjustment.StepIncrement = 0.01; this.VolumeControl.Adjustment.Value = 0.8; this.VolumeControl.DrawValue = false; this.VolumeControl.Digits = 0; this.VolumeControl.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox5.Add (this.VolumeControl); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.VolumeControl])); w2.Position = 1; w2.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.HeightRequest = 40; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 5; this.hbox4.BorderWidth = ((uint)(2)); // Container child hbox4.Gtk.Box+BoxChild this.SearchTextBox = new global::Gtk.Entry (); this.SearchTextBox.CanFocus = true; this.SearchTextBox.Name = "SearchTextBox"; this.SearchTextBox.IsEditable = true; this.SearchTextBox.InvisibleChar = '•'; this.hbox4.Add (this.SearchTextBox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.SearchTextBox])); w3.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.SearchButton = new global::Gtk.Button (); this.SearchButton.CanFocus = true; this.SearchButton.Events = ((global::Gdk.EventMask)(512)); this.SearchButton.Name = "SearchButton"; this.SearchButton.UseUnderline = true; // Container child SearchButton.Gtk.Container+ContainerChild global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w5 = new global::Gtk.HBox (); w5.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "search", global::Gtk.IconSize.Menu); w5.Add (w6); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w8 = new global::Gtk.Label (); w8.LabelProp = global::Mono.Unix.Catalog.GetString ("Search"); w8.UseUnderline = true; w5.Add (w8); w4.Add (w5); this.SearchButton.Add (w4); this.hbox4.Add (this.SearchButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.SearchButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox5.Add (this.hbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.hbox4])); w13.Position = 2; this.vbox2.Add (this.hbox5); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.SearchResults = new global::Gtk.TreeView (); this.SearchResults.CanFocus = true; this.SearchResults.Name = "SearchResults"; this.SearchResults.SearchColumn = 2; this.GtkScrolledWindow.Add (this.SearchResults); this.hbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w16.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.WidthRequest = 200; this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.Artwork = new global::Gtk.Image (); this.Artwork.WidthRequest = 200; this.Artwork.HeightRequest = 200; this.Artwork.Name = "Artwork"; this.fixed2.Add (this.Artwork); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.Artwork])); w17.Y = 42; // Container child fixed2.Gtk.Fixed+FixedChild this.TrackInfo = new global::Gtk.Label (); this.TrackInfo.WidthRequest = 200; this.TrackInfo.HeightRequest = 40; this.TrackInfo.Name = "TrackInfo"; this.TrackInfo.Xalign = 0f; this.TrackInfo.Yalign = 0f; this.TrackInfo.Wrap = true; this.fixed2.Add (this.TrackInfo); // Container child fixed2.Gtk.Fixed+FixedChild this.Avatar = new global::Gtk.Image (); this.Avatar.WidthRequest = 50; this.Avatar.HeightRequest = 50; this.Avatar.Name = "Avatar"; this.fixed2.Add (this.Avatar); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.Avatar])); w19.Y = 250; // Container child fixed2.Gtk.Fixed+FixedChild this.UploadedBy = new global::Gtk.Label (); this.UploadedBy.WidthRequest = 145; this.UploadedBy.HeightRequest = 50; this.UploadedBy.Name = "UploadedBy"; this.UploadedBy.Xalign = 0f; this.UploadedBy.Yalign = 0f; this.UploadedBy.Wrap = true; this.fixed2.Add (this.UploadedBy); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.UploadedBy])); w20.X = 55; w20.Y = 250; this.hbox1.Add (this.fixed2); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.fixed2])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w22.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.bottomBar = new global::Gtk.HBox (); this.bottomBar.Name = "bottomBar"; this.bottomBar.Spacing = 6; this.bottomBar.BorderWidth = ((uint)(4)); // Container child bottomBar.Gtk.Box+BoxChild this.Waveform = new global::Gtk.Image (); this.Waveform.WidthRequest = 550; this.Waveform.HeightRequest = 80; this.Waveform.Name = "Waveform"; this.Waveform.Xpad = 4; this.Waveform.Xalign = 0f; this.bottomBar.Add (this.Waveform); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.bottomBar[this.Waveform])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child bottomBar.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.bottomBar.Add (this.fixed1); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.bottomBar[this.fixed1])); w24.Position = 1; // Container child bottomBar.Gtk.Box+BoxChild this.ControlButtons = new global::Gtk.HBox (); this.ControlButtons.WidthRequest = 130; this.ControlButtons.Name = "ControlButtons"; this.ControlButtons.Spacing = 2; this.ControlButtons.BorderWidth = ((uint)(6)); this.bottomBar.Add (this.ControlButtons); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.bottomBar[this.ControlButtons])); w25.Position = 2; w25.Fill = false; w25.Padding = ((uint)(30)); this.vbox2.Add (this.bottomBar); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.bottomBar])); w26.Position = 2; w26.Expand = false; w26.Fill = false; w26.Padding = ((uint)(4)); // Container child vbox2.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar (); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.statusbar2.BorderWidth = ((uint)(3)); // Container child statusbar2.Gtk.Box+BoxChild this.TimecodeLabel = new global::Gtk.Label (); this.TimecodeLabel.WidthRequest = 100; this.TimecodeLabel.Name = "TimecodeLabel"; this.TimecodeLabel.Xalign = 0f; this.statusbar2.Add (this.TimecodeLabel); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.TimecodeLabel])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child statusbar2.Gtk.Box+BoxChild this.Status = new global::Gtk.Label (); this.Status.WidthRequest = 450; this.Status.Name = "Status"; this.Status.Xalign = 0f; this.statusbar2.Add (this.Status); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.statusbar2[this.Status])); w28.Position = 2; this.vbox2.Add (this.statusbar2); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.statusbar2])); w29.Position = 3; w29.Expand = false; w29.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 768; this.DefaultHeight = 499; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MyNesGTK.Dialog_Palettes this.Name = "MyNesGTK.Dialog_Palettes"; this.Title = global::Mono.Unix.Catalog.GetString ("Palettes Settings"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("MyNesGTK.resources.color_wheel.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MyNesGTK.Dialog_Palettes.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(12)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button16 = new global::Gtk.Button (); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; this.button16.Label = global::Mono.Unix.Catalog.GetString ("Load"); this.table1.Add (this.button16); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.button16])); w2.TopAttach = ((uint)(8)); w2.BottomAttach = ((uint)(9)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button17 = new global::Gtk.Button (); this.button17.CanFocus = true; this.button17.Name = "button17"; this.button17.UseUnderline = true; this.button17.Label = global::Mono.Unix.Catalog.GetString ("Save"); this.table1.Add (this.button17); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.button17])); w3.TopAttach = ((uint)(9)); w3.BottomAttach = ((uint)(10)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button18 = new global::Gtk.Button (); this.button18.CanFocus = true; this.button18.Name = "button18"; this.button18.UseUnderline = true; this.button18.Label = global::Mono.Unix.Catalog.GetString ("Flat all"); this.table1.Add (this.button18); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.button18])); w4.TopAttach = ((uint)(10)); w4.BottomAttach = ((uint)(11)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button19 = new global::Gtk.Button (); this.button19.CanFocus = true; this.button19.Name = "button19"; this.button19.UseUnderline = true; this.button19.Label = global::Mono.Unix.Catalog.GetString ("Save as .pal"); this.table1.Add (this.button19); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.button19])); w5.TopAttach = ((uint)(11)); w5.BottomAttach = ((uint)(12)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_paletteOf = global::Gtk.ComboBox.NewText (); this.combobox_paletteOf.AppendText (global::Mono.Unix.Catalog.GetString ("NTSC")); this.combobox_paletteOf.AppendText (global::Mono.Unix.Catalog.GetString ("PAL")); this.combobox_paletteOf.Name = "combobox_paletteOf"; this.combobox_paletteOf.Active = 0; this.table1.Add (this.combobox_paletteOf); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_paletteOf])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_selection = global::Gtk.ComboBox.NewText (); this.combobox_selection.AppendText (global::Mono.Unix.Catalog.GetString ("AUTO")); this.combobox_selection.AppendText (global::Mono.Unix.Catalog.GetString ("Always NTSC")); this.combobox_selection.AppendText (global::Mono.Unix.Catalog.GetString ("Always PALB")); this.combobox_selection.Name = "combobox_selection"; this.combobox_selection.Active = 0; this.table1.Add (this.combobox_selection); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_selection])); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_Brightness = new global::Gtk.HScale (null); this.hscale_Brightness.CanFocus = true; this.hscale_Brightness.Name = "hscale_Brightness"; this.hscale_Brightness.Adjustment.Lower = 500D; this.hscale_Brightness.Adjustment.Upper = 2000D; this.hscale_Brightness.Adjustment.PageIncrement = 10D; this.hscale_Brightness.Adjustment.StepIncrement = 1D; this.hscale_Brightness.Adjustment.Value = 1000D; this.hscale_Brightness.DrawValue = false; this.hscale_Brightness.Digits = 0; this.hscale_Brightness.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_Brightness); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_Brightness])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_Contrast = new global::Gtk.HScale (null); this.hscale_Contrast.CanFocus = true; this.hscale_Contrast.Name = "hscale_Contrast"; this.hscale_Contrast.Adjustment.Lower = 500D; this.hscale_Contrast.Adjustment.Upper = 2000D; this.hscale_Contrast.Adjustment.PageIncrement = 10D; this.hscale_Contrast.Adjustment.StepIncrement = 1D; this.hscale_Contrast.Adjustment.Value = 1000D; this.hscale_Contrast.DrawValue = false; this.hscale_Contrast.Digits = 0; this.hscale_Contrast.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_Contrast); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_Contrast])); w9.TopAttach = ((uint)(5)); w9.BottomAttach = ((uint)(6)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_Gamma = new global::Gtk.HScale (null); this.hscale_Gamma.CanFocus = true; this.hscale_Gamma.Name = "hscale_Gamma"; this.hscale_Gamma.Adjustment.Lower = 1000D; this.hscale_Gamma.Adjustment.Upper = 2500D; this.hscale_Gamma.Adjustment.PageIncrement = 10D; this.hscale_Gamma.Adjustment.StepIncrement = 1D; this.hscale_Gamma.Adjustment.Value = 1800D; this.hscale_Gamma.DrawValue = false; this.hscale_Gamma.Digits = 0; this.hscale_Gamma.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_Gamma); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_Gamma])); w10.TopAttach = ((uint)(7)); w10.BottomAttach = ((uint)(8)); 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.hscale_Hue = new global::Gtk.HScale (null); this.hscale_Hue.CanFocus = true; this.hscale_Hue.Name = "hscale_Hue"; this.hscale_Hue.Adjustment.Lower = -1000D; this.hscale_Hue.Adjustment.Upper = 1000D; this.hscale_Hue.Adjustment.PageIncrement = 10D; this.hscale_Hue.Adjustment.StepIncrement = 1D; this.hscale_Hue.DrawValue = false; this.hscale_Hue.Digits = 0; this.hscale_Hue.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_Hue); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_Hue])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_Saturation = new global::Gtk.HScale (null); this.hscale_Saturation.CanFocus = true; this.hscale_Saturation.Name = "hscale_Saturation"; this.hscale_Saturation.Adjustment.Upper = 5000D; this.hscale_Saturation.Adjustment.PageIncrement = 10D; this.hscale_Saturation.Adjustment.StepIncrement = 1D; this.hscale_Saturation.Adjustment.Value = 1000D; this.hscale_Saturation.DrawValue = false; this.hscale_Saturation.Digits = 0; this.hscale_Saturation.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_Saturation); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_Saturation])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.image1 = new global::Gtk.Image (); this.image1.Name = "image1"; this.table1.Add (this.image1); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.image1])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(12)); w13.LeftAttach = ((uint)(3)); w13.RightAttach = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this.label_Brightness = new global::Gtk.Label (); this.label_Brightness.Name = "label_Brightness"; this.label_Brightness.LabelProp = global::Mono.Unix.Catalog.GetString ("1"); this.table1.Add (this.label_Brightness); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label_Brightness])); w14.TopAttach = ((uint)(6)); w14.BottomAttach = ((uint)(7)); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label_Contrast = new global::Gtk.Label (); this.label_Contrast.Name = "label_Contrast"; this.label_Contrast.LabelProp = global::Mono.Unix.Catalog.GetString ("1"); this.table1.Add (this.label_Contrast); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label_Contrast])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label_Gamma = new global::Gtk.Label (); this.label_Gamma.Name = "label_Gamma"; this.label_Gamma.LabelProp = global::Mono.Unix.Catalog.GetString ("9"); this.table1.Add (this.label_Gamma); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label_Gamma])); w16.TopAttach = ((uint)(7)); w16.BottomAttach = ((uint)(8)); w16.LeftAttach = ((uint)(2)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label_Hue = new global::Gtk.Label (); this.label_Hue.Name = "label_Hue"; this.label_Hue.LabelProp = global::Mono.Unix.Catalog.GetString ("0"); this.table1.Add (this.label_Hue); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.label_Hue])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label_Saturation = new global::Gtk.Label (); this.label_Saturation.Name = "label_Saturation"; this.label_Saturation.LabelProp = global::Mono.Unix.Catalog.GetString ("1"); this.table1.Add (this.label_Saturation); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.label_Saturation])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Edit palette of:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Gamma:"); this.table1.Add (this.label11); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11])); w20.TopAttach = ((uint)(7)); w20.BottomAttach = ((uint)(8)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Preview:"); this.table1.Add (this.label13); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(3)); w21.RightAttach = ((uint)(4)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Colors:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Saturation:"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Palette selection:"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Hue:"); this.table1.Add (this.label5); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Contrast:"); this.table1.Add (this.label7); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w26.TopAttach = ((uint)(5)); w26.BottomAttach = ((uint)(6)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label (); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Brightness:"); this.table1.Add (this.label9); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w27.TopAttach = ((uint)(6)); w27.BottomAttach = ((uint)(7)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Internal child MyNesGTK.Dialog_Palettes.ActionArea global::Gtk.HButtonBox w29 = this.ActionArea; w29.Name = "dialog1_ActionArea"; w29.Spacing = 10; w29.BorderWidth = ((uint)(5)); w29.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w29 [this.buttonCancel])); w30.Expand = false; w30.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w29 [this.buttonOk])); w31.Position = 1; w31.Expand = false; w31.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 809; this.DefaultHeight = 486; this.Show (); this.hscale_Saturation.ValueChanged += new global::System.EventHandler (this.OnHscaleSaturationValueChanged); this.hscale_Hue.ValueChanged += new global::System.EventHandler (this.OnHscaleHueValueChanged); this.hscale_Gamma.ValueChanged += new global::System.EventHandler (this.OnHscaleGammaValueChanged); this.hscale_Contrast.ValueChanged += new global::System.EventHandler (this.OnHscaleContrastValueChanged); this.hscale_Brightness.ValueChanged += new global::System.EventHandler (this.OnHscaleBrightnessValueChanged); this.combobox_paletteOf.Changed += new global::System.EventHandler (this.OnComboboxPaletteOfChanged); this.button19.Pressed += new global::System.EventHandler (this.OnButton19Pressed); this.button18.Pressed += new global::System.EventHandler (this.OnButton18Pressed); this.button17.Pressed += new global::System.EventHandler (this.OnButton17Pressed); this.button16.Pressed += new global::System.EventHandler (this.OnButton16Pressed); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Cairo.R7.Bubbles.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.resetAction = new global::Gtk.Action ("resetAction", null, null, "gtk-refresh"); this.resetAction.IsImportant = true; this.resetAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Reset"); w1.Add (this.resetAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "Cairo.R7.Bubbles.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Cairo.R7.Bubbles"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Cairo.R7.Bubbles.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar2'><toolitem name='resetAction' action='resetAction'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2"))); this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.vbox1.Add (this.toolbar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Speed:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.scaleSpeed = new global::Gtk.HScale (null); this.scaleSpeed.CanFocus = true; this.scaleSpeed.Name = "scaleSpeed"; this.scaleSpeed.Adjustment.Upper = 10; this.scaleSpeed.Adjustment.PageIncrement = 2; this.scaleSpeed.Adjustment.StepIncrement = 1; this.scaleSpeed.Adjustment.Value = 2; this.scaleSpeed.DrawValue = true; this.scaleSpeed.Digits = 0; this.scaleSpeed.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox1.Add (this.scaleSpeed); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.scaleSpeed])); w4.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1.Name = "hseparator1"; this.vbox1.Add (this.hseparator1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.drawingarea1 = new global::Gtk.DrawingArea (); this.drawingarea1.Name = "drawingarea1"; this.vbox1.Add (this.drawingarea1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.drawingarea1])); w7.Position = 3; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 476; this.DefaultHeight = 433; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.resetAction.Activated += new global::System.EventHandler (this.OnResetActionActivated); this.scaleSpeed.ValueChanged += new global::System.EventHandler (this.OnScaleSpeedValueChanged); this.drawingarea1.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnDrawingarea1ExposeEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.PlayerView global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.PlayerView"; // Container child LongoMatch.Gui.PlayerView.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.mainbox = new global::Gtk.HBox (); this.mainbox.Name = "mainbox"; this.mainbox.Spacing = 6; // Container child mainbox.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.videowindow = new global::LongoMatch.Gui.VideoWindow (); this.videowindow.Events = ((global::Gdk.EventMask)(256)); this.videowindow.Name = "videowindow"; this.videowindow.Ready = false; this.hbox3.Add (this.videowindow); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.videowindow])); w1.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.blackboarddrawingarea = new global::Gtk.DrawingArea (); this.blackboarddrawingarea.Name = "blackboarddrawingarea"; this.hbox3.Add (this.blackboarddrawingarea); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.blackboarddrawingarea])); w2.Position = 1; this.mainbox.Add (this.hbox3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.hbox3])); w3.Position = 0; // Container child mainbox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.ratescale = new global::Gtk.VScale (null); this.ratescale.TooltipMarkup = "Playback speed"; this.ratescale.WidthRequest = 36; this.ratescale.Sensitive = false; this.ratescale.Name = "ratescale"; this.ratescale.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.ratescale.Inverted = true; this.ratescale.Adjustment.Lower = 1; this.ratescale.Adjustment.Upper = 30; this.ratescale.Adjustment.PageIncrement = 3; this.ratescale.Adjustment.PageSize = 1; this.ratescale.Adjustment.StepIncrement = 1; this.ratescale.Adjustment.Value = 25; this.ratescale.DrawValue = true; this.ratescale.Digits = 0; this.ratescale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox5.Add (this.ratescale); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ratescale])); w4.Position = 0; this.mainbox.Add (this.vbox5); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox3.Add (this.mainbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox])); w6.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.lightbackgroundeventbox = new global::Gtk.EventBox (); this.lightbackgroundeventbox.Name = "lightbackgroundeventbox"; // Container child lightbackgroundeventbox.Gtk.Container+ContainerChild this.controlsbox = new global::Gtk.HBox (); this.controlsbox.Name = "controlsbox"; this.controlsbox.Spacing = 6; // Container child controlsbox.Gtk.Box+BoxChild this.buttonsbox = new global::Gtk.HBox (); this.buttonsbox.Name = "buttonsbox"; this.buttonsbox.Homogeneous = true; // Container child buttonsbox.Gtk.Box+BoxChild this.closebutton = new global::Gtk.Button (); this.closebutton.TooltipMarkup = "Close loaded event"; this.closebutton.Name = "closebutton"; this.closebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child closebutton.Gtk.Container+ContainerChild this.closebuttonimage = new global::Gtk.Image (); this.closebuttonimage.Name = "closebuttonimage"; this.closebutton.Add (this.closebuttonimage); this.buttonsbox.Add (this.closebutton); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.closebutton])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.drawbutton = new global::Gtk.Button (); this.drawbutton.TooltipMarkup = "Draw frame"; this.drawbutton.Name = "drawbutton"; this.drawbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child drawbutton.Gtk.Container+ContainerChild this.drawbuttonimage = new global::Gtk.Image (); this.drawbuttonimage.Name = "drawbuttonimage"; this.drawbutton.Add (this.drawbuttonimage); this.buttonsbox.Add (this.drawbutton); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.playbutton = new global::Gtk.Button (); this.playbutton.TooltipMarkup = "Play"; this.playbutton.Name = "playbutton"; this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child playbutton.Gtk.Container+ContainerChild this.playbuttonimage = new global::Gtk.Image (); this.playbuttonimage.Name = "playbuttonimage"; this.playbutton.Add (this.playbuttonimage); this.buttonsbox.Add (this.playbutton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.pausebutton = new global::Gtk.Button (); this.pausebutton.TooltipMarkup = "Pause"; this.pausebutton.Name = "pausebutton"; this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child pausebutton.Gtk.Container+ContainerChild this.pausebuttonimage = new global::Gtk.Image (); this.pausebuttonimage.Name = "pausebuttonimage"; this.pausebutton.Add (this.pausebuttonimage); this.buttonsbox.Add (this.pausebutton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.prevbutton = new global::Gtk.Button (); this.prevbutton.TooltipMarkup = "Previous"; this.prevbutton.Name = "prevbutton"; this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child prevbutton.Gtk.Container+ContainerChild this.prevbuttonimage = new global::Gtk.Image (); this.prevbuttonimage.Name = "prevbuttonimage"; this.prevbutton.Add (this.prevbuttonimage); this.buttonsbox.Add (this.prevbutton); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.nextbutton = new global::Gtk.Button (); this.nextbutton.TooltipMarkup = "Next"; this.nextbutton.Sensitive = false; this.nextbutton.Name = "nextbutton"; this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child nextbutton.Gtk.Container+ContainerChild this.nextbuttonimage = new global::Gtk.Image (); this.nextbuttonimage.Name = "nextbuttonimage"; this.nextbutton.Add (this.nextbuttonimage); this.buttonsbox.Add (this.nextbutton); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton])); w18.Position = 5; w18.Expand = false; w18.Fill = false; this.controlsbox.Add (this.buttonsbox); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.jumplabel = new global::Gtk.Label (); this.jumplabel.Name = "jumplabel"; this.jumplabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Jump (s):"); this.hbox1.Add (this.jumplabel); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.jumpspinbutton = new global::Gtk.SpinButton (1, 100, 1); this.jumpspinbutton.TooltipMarkup = "Jump in seconds. Hold the Shift key with the direction keys to activate it."; this.jumpspinbutton.Name = "jumpspinbutton"; this.jumpspinbutton.Adjustment.PageIncrement = 10; this.jumpspinbutton.ClimbRate = 1; this.jumpspinbutton.Numeric = true; this.jumpspinbutton.Value = 10; this.hbox1.Add (this.jumpspinbutton); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.controlsbox.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.tlabel = new global::Gtk.Label (); this.tlabel.Name = "tlabel"; this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Time:"); this.controlsbox.Add (this.tlabel); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel])); w23.Position = 2; w23.Expand = false; w23.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.timescale = new global::Gtk.HScale (null); this.timescale.Name = "timescale"; this.timescale.Adjustment.Upper = 1; this.timescale.Adjustment.PageIncrement = 1; this.timescale.Adjustment.StepIncrement = 1; this.timescale.DrawValue = false; this.timescale.Digits = 0; this.timescale.ValuePos = ((global::Gtk.PositionType)(2)); this.controlsbox.Add (this.timescale); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale])); w24.Position = 3; // Container child controlsbox.Gtk.Box+BoxChild this.timelabel = new global::Gtk.Label (); this.timelabel.Name = "timelabel"; this.controlsbox.Add (this.timelabel); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel])); w25.Position = 4; w25.Expand = false; // Container child controlsbox.Gtk.Box+BoxChild this.volumebutton = new global::Gtk.Button (); this.volumebutton.TooltipMarkup = "Volume"; this.volumebutton.Name = "volumebutton"; this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child volumebutton.Gtk.Container+ContainerChild this.volumebuttonimage = new global::Gtk.Image (); this.volumebuttonimage.Name = "volumebuttonimage"; this.volumebutton.Add (this.volumebuttonimage); this.controlsbox.Add (this.volumebutton); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton])); w27.Position = 5; w27.Expand = false; w27.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.detachbutton = new global::Gtk.Button (); this.detachbutton.TooltipMarkup = "Detach window"; this.detachbutton.Name = "detachbutton"; this.detachbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child detachbutton.Gtk.Container+ContainerChild this.detachbuttonimage = new global::Gtk.Image (); this.detachbuttonimage.Name = "detachbuttonimage"; this.detachbutton.Add (this.detachbuttonimage); this.controlsbox.Add (this.detachbutton); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.detachbutton])); w29.Position = 6; w29.Expand = false; w29.Fill = false; this.lightbackgroundeventbox.Add (this.controlsbox); this.vbox3.Add (this.lightbackgroundeventbox); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lightbackgroundeventbox])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.videowindow.Hide (); this.blackboarddrawingarea.Hide (); this.closebutton.Hide (); this.prevbutton.Hide (); this.nextbutton.Hide (); this.controlsbox.Hide (); this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Component.Timeline global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.Component.Timeline"; // Container child LongoMatch.Gui.Component.Timeline.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.leftbox = new global::Gtk.VBox (); this.leftbox.Name = "leftbox"; // Container child leftbox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.HeightRequest = 30; this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.focusbutton = new global::Gtk.Button (); this.focusbutton.Name = "focusbutton"; // Container child focusbutton.Gtk.Container+ContainerChild this.focusbuttonimage = new global::Gtk.Image (); this.focusbuttonimage.Name = "focusbuttonimage"; this.focusbutton.Add (this.focusbuttonimage); this.focusbutton.Label = null; this.hbox2.Add (this.focusbutton); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.focusbutton])); w2.Position = 0; this.leftbox.Add (this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea (); this.labelsarea.Name = "labelsarea"; this.leftbox.Add (this.labelsarea); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.labelsarea])); w4.Position = 1; // Container child leftbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox (); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::Gtk.Image (); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add (this.zoomoutimage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomoutimage])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.focusscale = new global::Gtk.HScale (null); this.focusscale.CanFocus = true; this.focusscale.Name = "focusscale"; this.focusscale.Inverted = true; this.focusscale.Adjustment.Upper = 100; this.focusscale.Adjustment.PageIncrement = 10; this.focusscale.Adjustment.StepIncrement = 1; this.focusscale.DrawValue = false; this.focusscale.Digits = 0; this.focusscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add (this.focusscale); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.focusscale])); w6.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::Gtk.Image (); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add (this.zoominimage); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoominimage])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.leftbox.Add (this.zoomhbox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.zoomhbox])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.hbox1.Add (this.leftbox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.leftbox])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea (); this.timerulearea.Name = "timerulearea"; this.vbox1.Add (this.timerulearea); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.timerulearea])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport (); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea (); this.timelinearea.Name = "timelinearea"; w11.Add (this.timelinearea); this.scrolledwindow1.Add (w11); this.vbox1.Add (this.scrolledwindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scrolledwindow1])); w14.Position = 1; this.hbox1.Add (this.vbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w15.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MyNesGTK.Dialog_Audio this.Name = "MyNesGTK.Dialog_Audio"; this.Title = global::Mono.Unix.Catalog.GetString("Audio Settings"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("MyNesGTK.resources.sound.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MyNesGTK.Dialog_Audio.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(9)), ((uint)(2)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button162 = new global::Gtk.Button(); this.button162.CanFocus = true; this.button162.Name = "button162"; this.button162.UseUnderline = true; this.button162.Label = global::Mono.Unix.Catalog.GetString("Reset to defaults"); this.table1.Add(this.button162); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.button162])); w2.TopAttach = ((uint)(8)); w2.BottomAttach = ((uint)(9)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_dmc = new global::Gtk.CheckButton(); this.checkbutton_dmc.CanFocus = true; this.checkbutton_dmc.Name = "checkbutton_dmc"; this.checkbutton_dmc.Label = global::Mono.Unix.Catalog.GetString("Channel DMC Enabled"); this.checkbutton_dmc.DrawIndicator = true; this.checkbutton_dmc.UseUnderline = true; this.table1.Add(this.checkbutton_dmc); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_dmc])); w3.TopAttach = ((uint)(7)); w3.BottomAttach = ((uint)(8)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_enablePlayback = new global::Gtk.CheckButton(); this.checkbutton_enablePlayback.CanFocus = true; this.checkbutton_enablePlayback.Name = "checkbutton_enablePlayback"; this.checkbutton_enablePlayback.Label = global::Mono.Unix.Catalog.GetString("Audio playback enabled"); this.checkbutton_enablePlayback.DrawIndicator = true; this.checkbutton_enablePlayback.UseUnderline = true; this.table1.Add(this.checkbutton_enablePlayback); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_enablePlayback])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_noz = new global::Gtk.CheckButton(); this.checkbutton_noz.CanFocus = true; this.checkbutton_noz.Name = "checkbutton_noz"; this.checkbutton_noz.Label = global::Mono.Unix.Catalog.GetString("Channel Noise Enabled"); this.checkbutton_noz.DrawIndicator = true; this.checkbutton_noz.UseUnderline = true; this.table1.Add(this.checkbutton_noz); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_noz])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_sq1 = new global::Gtk.CheckButton(); this.checkbutton_sq1.CanFocus = true; this.checkbutton_sq1.Name = "checkbutton_sq1"; this.checkbutton_sq1.Label = global::Mono.Unix.Catalog.GetString("Channel Square 1 Enabled"); this.checkbutton_sq1.DrawIndicator = true; this.checkbutton_sq1.UseUnderline = true; this.table1.Add(this.checkbutton_sq1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_sq1])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_sq2 = new global::Gtk.CheckButton(); this.checkbutton_sq2.CanFocus = true; this.checkbutton_sq2.Name = "checkbutton_sq2"; this.checkbutton_sq2.Label = global::Mono.Unix.Catalog.GetString("Channel Square 2 Enabled"); this.checkbutton_sq2.DrawIndicator = true; this.checkbutton_sq2.UseUnderline = true; this.table1.Add(this.checkbutton_sq2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_sq2])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_trl = new global::Gtk.CheckButton(); this.checkbutton_trl.CanFocus = true; this.checkbutton_trl.Name = "checkbutton_trl"; this.checkbutton_trl.Label = global::Mono.Unix.Catalog.GetString("Channel Triangle Enabled"); this.checkbutton_trl.DrawIndicator = true; this.checkbutton_trl.UseUnderline = true; this.table1.Add(this.checkbutton_trl); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_trl])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_fequency = global::Gtk.ComboBox.NewText(); this.combobox_fequency.AppendText(global::Mono.Unix.Catalog.GetString("44100")); this.combobox_fequency.AppendText(global::Mono.Unix.Catalog.GetString("48000")); this.combobox_fequency.Name = "combobox_fequency"; this.combobox_fequency.Active = 0; this.table1.Add(this.combobox_fequency); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_fequency])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_volume = new global::Gtk.HScale(null); this.hscale_volume.CanFocus = true; this.hscale_volume.Name = "hscale_volume"; this.hscale_volume.Adjustment.Upper = 100D; this.hscale_volume.Adjustment.PageIncrement = 10D; this.hscale_volume.Adjustment.StepIncrement = 1D; this.hscale_volume.Adjustment.Value = 100D; this.hscale_volume.DrawValue = true; this.hscale_volume.Digits = 0; this.hscale_volume.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add(this.hscale_volume); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_volume])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); 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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Volume"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Frequency"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Internal child MyNesGTK.Dialog_Audio.ActionArea global::Gtk.HButtonBox w14 = this.ActionArea; w14.Name = "dialog1_ActionArea"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonCancel])); w15.Expand = false; w15.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 456; this.DefaultHeight = 475; this.Show(); this.button162.Pressed += new global::System.EventHandler(this.OnButton162Pressed); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.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)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox(); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox(); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox(); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox(); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add(this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add(this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText(); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("Young")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("strong")); this.comboboxentry1.AppendText(global::Mono.Unix.Catalog.GetString("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add(this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add(this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add(this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add(this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton(0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add(this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar(); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton(); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString("GtkToggleButton"); this.fixed1.Add(this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.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.textview3 = new global::Gtk.TextView(); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add(this.textview3); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add(this.fixed1); this.vboxClient.Add(this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add(this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add(this.vboxClient); this.eventboxNonClient.Add(this.eventboxClient); this.Add(this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Pinta.Gui.Widgets.HScaleSpinButtonWidget global::Stetic.BinContainer.Attach (this); this.Name = "Pinta.Gui.Widgets.HScaleSpinButtonWidget"; // Container child Pinta.Gui.Widgets.HScaleSpinButtonWidget.Gtk.Container+ContainerChild this.vbox = new global::Gtk.VBox (); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child 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.label = new global::Gtk.Label (); this.label.Name = "label"; this.label.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.hbox1.Add (this.label); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hseparator = new global::Gtk.HSeparator (); this.hseparator.Name = "hseparator"; this.hbox1.Add (this.hseparator); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hseparator])); w2.Position = 1; this.vbox.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hscale = new global::Gtk.HScale (null); this.hscale.CanFocus = true; this.hscale.Name = "hscale"; this.hscale.Adjustment.Upper = 100; this.hscale.Adjustment.PageIncrement = 10; this.hscale.Adjustment.StepIncrement = 1; this.hscale.DrawValue = false; this.hscale.Digits = 0; this.hscale.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add (this.hscale); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale])); w4.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.spin = new global::Gtk.SpinButton (0, 100, 1); this.spin.CanFocus = true; this.spin.Name = "spin"; this.spin.Adjustment.PageIncrement = 10; this.spin.ClimbRate = 1; this.spin.Numeric = true; this.hbox2.Add (this.spin); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.spin])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.button = new global::Gtk.Button (); this.button.CanFocus = true; this.button.Name = "button"; this.button.UseUnderline = true; // Container child button.Gtk.Container+ContainerChild global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w7 = new global::Gtk.HBox (); w7.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w8 = new global::Gtk.Image (); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon ( this, "gtk-go-back", global::Gtk.IconSize.Menu ); w7.Add (w8); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w10 = new global::Gtk.Label (); w7.Add (w10); w6.Add (w7); this.button.Add (w6); this.hbox2.Add (this.button); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox.Add (this.hbox2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox [this.hbox2])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.Add (this.vbox); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("LOL"); w1.Add(this.FileAction, null); this.CloseAction = new global::Gtk.Action("CloseAction", global::Mono.Unix.Catalog.GetString("Close"), null, null); this.CloseAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.CloseAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.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.HeightRequest = 360; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.colorSaturation = new global::ColorPicker.ColorSaturation(); this.colorSaturation.WidthRequest = 128; this.colorSaturation.HeightRequest = 14; this.colorSaturation.Name = "colorSaturation"; this.fixed1.Add(this.colorSaturation); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSaturation])); w2.X = 8; w2.Y = 168; // Container child fixed1.Gtk.Fixed+FixedChild this.colorBrightness = new global::ColorPicker.ColorBrightness(); this.colorBrightness.WidthRequest = 14; this.colorBrightness.HeightRequest = 128; this.colorBrightness.Name = "colorBrightness"; this.fixed1.Add(this.colorBrightness); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorBrightness])); w3.X = 142; w3.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.colorSquare = new global::ColorPicker.ColorSquare(); this.colorSquare.WidthRequest = 128; this.colorSquare.HeightRequest = 128; this.colorSquare.Name = "colorSquare"; this.fixed1.Add(this.colorSquare); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSquare])); w4.X = 8; w4.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'CloseAction\' action=\'CloseAction\'/></menu><menu name=\'HelpAction\' action" + "=\'HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu></menuba" + "r></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.WidthRequest = 452; this.menubar1.Name = "menubar1"; this.fixed1.Add(this.menubar1); // Container child fixed1.Gtk.Fixed+FixedChild this.colorSpectrum = new global::ColorPicker.ColorSpectrum(); this.colorSpectrum.WidthRequest = 256; this.colorSpectrum.HeightRequest = 128; this.colorSpectrum.Name = "colorSpectrum"; this.colorSpectrum.Red = ((ushort)(0)); this.colorSpectrum.Green = ((ushort)(0)); this.colorSpectrum.Blue = ((ushort)(0)); this.fixed1.Add(this.colorSpectrum); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorSpectrum])); w6.X = 8; w6.Y = 220; // Container child fixed1.Gtk.Fixed+FixedChild this.redScale = new global::Gtk.HScale(null); this.redScale.WidthRequest = 128; this.redScale.CanFocus = true; this.redScale.Name = "redScale"; this.redScale.Adjustment.Upper = 255D; this.redScale.Adjustment.PageIncrement = 10D; this.redScale.Adjustment.StepIncrement = 1D; this.redScale.Adjustment.Value = 255D; this.redScale.DrawValue = true; this.redScale.Digits = 0; this.redScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add(this.redScale); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.redScale])); w7.X = 276; w7.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Red"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w8.X = 233; w8.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.greenScale = new global::Gtk.HScale(null); this.greenScale.WidthRequest = 128; this.greenScale.CanFocus = true; this.greenScale.Name = "greenScale"; this.greenScale.Adjustment.Upper = 255D; this.greenScale.Adjustment.PageIncrement = 10D; this.greenScale.Adjustment.StepIncrement = 1D; this.greenScale.Adjustment.Value = 255D; this.greenScale.DrawValue = true; this.greenScale.Digits = 0; this.greenScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add(this.greenScale); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.greenScale])); w9.X = 276; w9.Y = 74; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Green"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w10.X = 229; w10.Y = 89; // Container child fixed1.Gtk.Fixed+FixedChild this.blueScale = new global::Gtk.HScale(null); this.blueScale.WidthRequest = 128; this.blueScale.CanFocus = true; this.blueScale.Name = "blueScale"; this.blueScale.Adjustment.Upper = 255D; this.blueScale.Adjustment.PageIncrement = 10D; this.blueScale.Adjustment.StepIncrement = 1D; this.blueScale.Adjustment.Value = 255D; this.blueScale.DrawValue = true; this.blueScale.Digits = 0; this.blueScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add(this.blueScale); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.blueScale])); w11.X = 276; w11.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Blue"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w12.X = 235; w12.Y = 136; // Container child fixed1.Gtk.Fixed+FixedChild this.alphaScale = new global::Gtk.HScale(null); this.alphaScale.WidthRequest = 128; this.alphaScale.CanFocus = true; this.alphaScale.Name = "alphaScale"; this.alphaScale.Adjustment.Upper = 255D; this.alphaScale.Adjustment.PageIncrement = 10D; this.alphaScale.Adjustment.StepIncrement = 1D; this.alphaScale.Adjustment.Value = 255D; this.alphaScale.DrawValue = true; this.alphaScale.Digits = 0; this.alphaScale.ValuePos = ((global::Gtk.PositionType)(2)); this.fixed1.Add(this.alphaScale); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.alphaScale])); w13.X = 276; w13.Y = 163; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Alpha"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w14.X = 230; w14.Y = 180; // Container child fixed1.Gtk.Fixed+FixedChild this.alphaView = new global::ColorPicker.AlphaView(); this.alphaView.WidthRequest = 60; this.alphaView.HeightRequest = 60; this.alphaView.Name = "alphaView"; this.fixed1.Add(this.alphaView); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.alphaView])); w15.X = 280; w15.Y = 220; // Container child fixed1.Gtk.Fixed+FixedChild this.colorView = new global::Gtk.DrawingArea(); this.colorView.WidthRequest = 60; this.colorView.HeightRequest = 60; this.colorView.Name = "colorView"; this.fixed1.Add(this.colorView); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorView])); w16.X = 280; w16.Y = 288; // Container child fixed1.Gtk.Fixed+FixedChild this.colorCode = new global::Gtk.Entry(); this.colorCode.WidthRequest = 80; this.colorCode.CanFocus = true; this.colorCode.Name = "colorCode"; this.colorCode.Text = global::Mono.Unix.Catalog.GetString("#FFFFFF"); this.colorCode.IsEditable = true; this.colorCode.MaxLength = 7; this.colorCode.InvisibleChar = '●'; this.fixed1.Add(this.colorCode); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.colorCode])); w17.X = 356; w17.Y = 305; // Container child fixed1.Gtk.Fixed+FixedChild this.aColorCode = new global::Gtk.Entry(); this.aColorCode.WidthRequest = 80; this.aColorCode.CanFocus = true; this.aColorCode.Name = "aColorCode"; this.aColorCode.Text = global::Mono.Unix.Catalog.GetString("#FFFFFFFF"); this.aColorCode.IsEditable = true; this.aColorCode.MaxLength = 9; this.aColorCode.InvisibleChar = '●'; this.fixed1.Add(this.aColorCode); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.aColorCode])); w18.X = 356; w18.Y = 237; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 466; this.DefaultHeight = 404; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.CloseAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.redScale.ValueChanged += new global::System.EventHandler(this.OnRedScaleValueChanged); this.greenScale.ValueChanged += new global::System.EventHandler(this.OnGreenScaleValueChanged); this.blueScale.ValueChanged += new global::System.EventHandler(this.OnBlueScaleValueChanged); this.alphaScale.ValueChanged += new global::System.EventHandler(this.OnAlphaScaleValueChanged); this.colorCode.Changed += new global::System.EventHandler(this.OnColorCodeChanged); this.aColorCode.Changed += new global::System.EventHandler(this.OnAColorCodeChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget DeSERtMain this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.MenuAction = new global::Gtk.Action ("MenuAction", global::Mono.Unix.Catalog.GetString ("Menu"), null, null); this.MenuAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Menu"); w1.Add (this.MenuAction, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, null); this.SettingsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.SettingsAction, null); this.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.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.newAction = new global::Gtk.Action ("newAction", global::Mono.Unix.Catalog.GetString ("New Project"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("New Project"); w1.Add (this.newAction, null); this.saveAction = new global::Gtk.Action ("saveAction", global::Mono.Unix.Catalog.GetString ("Save Project"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Project"); w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", global::Mono.Unix.Catalog.GetString ("Save Project To"), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save Project To"); w1.Add (this.saveAsAction, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open Project"), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Project"); w1.Add (this.openAction, null); this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.quitAction, null); this.helpAction = new global::Gtk.Action ("helpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, "gtk-help"); this.helpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.helpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("_About"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_About"); w1.Add (this.aboutAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", global::Mono.Unix.Catalog.GetString ("Settings"), null, "gtk-preferences"); this.preferencesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.preferencesAction, null); this.ExtrasAction = new global::Gtk.Action ("ExtrasAction", global::Mono.Unix.Catalog.GetString ("Extras"), null, null); this.ExtrasAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Extras"); w1.Add (this.ExtrasAction, null); this.CreateFilterAction = new global::Gtk.Action ("CreateFilterAction", global::Mono.Unix.Catalog.GetString ("Create Filter"), null, null); this.CreateFilterAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add Filter"); w1.Add (this.CreateFilterAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.WidthRequest = 910; this.HeightRequest = 520; this.Name = "DeSERtMain"; this.Title = global::Mono.Unix.Catalog.GetString ("DeSERt"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("DeSERt.DeSERt-Icon.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 900; this.DefaultHeight = 500; // Container child DeSERtMain.Gtk.Container+ContainerChild this.BG = new global::Gtk.Fixed (); this.BG.Name = "BG"; this.BG.HasWindow = false; // Container child BG.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString (@"<ui><menubar name='Menu'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='preferencesAction' action='preferencesAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='ExtrasAction' action='ExtrasAction'><menuitem name='CreateFilterAction' action='CreateFilterAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.Menu = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/Menu"))); this.Menu.WidthRequest = 920; this.Menu.Name = "Menu"; this.BG.Add (this.Menu); // Container child BG.Gtk.Fixed+FixedChild this.MainNotebook = new global::Gtk.Notebook (); this.MainNotebook.WidthRequest = 900; this.MainNotebook.HeightRequest = 450; this.MainNotebook.CanFocus = true; this.MainNotebook.Name = "MainNotebook"; this.MainNotebook.CurrentPage = 1; // Container child MainNotebook.Gtk.Notebook+NotebookChild this.BGLoading = new global::Gtk.Fixed (); this.BGLoading.Name = "BGLoading"; this.BGLoading.HasWindow = false; // Container child BGLoading.Gtk.Fixed+FixedChild this.ValueTableScroll = new global::Gtk.ScrolledWindow (); this.ValueTableScroll.WidthRequest = 650; this.ValueTableScroll.HeightRequest = 400; this.ValueTableScroll.Name = "ValueTableScroll"; this.ValueTableScroll.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child ValueTableScroll.Gtk.Container+ContainerChild this.ValueTable = new global::Gtk.TreeView (); this.ValueTable.CanFocus = true; this.ValueTable.Name = "ValueTable"; this.ValueTable.EnableSearch = false; this.ValueTableScroll.Add (this.ValueTable); this.BGLoading.Add (this.ValueTableScroll); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ValueTableScroll])); w4.X = 235; w4.Y = 10; // Container child BGLoading.Gtk.Fixed+FixedChild this.ImageOpenButton = new global::Gtk.Button (); this.ImageOpenButton.WidthRequest = 150; this.ImageOpenButton.HeightRequest = 35; this.ImageOpenButton.CanFocus = true; this.ImageOpenButton.Name = "ImageOpenButton"; this.ImageOpenButton.UseUnderline = true; // Container child ImageOpenButton.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox (); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image (); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); w6.Add (w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label (); w9.LabelProp = global::Mono.Unix.Catalog.GetString ("Add Image(s)"); w9.UseUnderline = true; w6.Add (w9); w5.Add (w6); this.ImageOpenButton.Add (w5); this.BGLoading.Add (this.ImageOpenButton); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ImageOpenButton])); w13.X = 40; w13.Y = 30; // Container child BGLoading.Gtk.Fixed+FixedChild this.ProcOpenButton = new global::Gtk.Button (); this.ProcOpenButton.WidthRequest = 150; this.ProcOpenButton.HeightRequest = 35; this.ProcOpenButton.CanFocus = true; this.ProcOpenButton.Name = "ProcOpenButton"; this.ProcOpenButton.UseUnderline = true; // Container child ProcOpenButton.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox (); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image (); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); w15.Add (w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label (); w18.LabelProp = global::Mono.Unix.Catalog.GetString ("Open PP3"); w18.UseUnderline = true; w15.Add (w18); w14.Add (w15); this.ProcOpenButton.Add (w14); this.BGLoading.Add (this.ProcOpenButton); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.ProcOpenButton])); w22.X = 40; w22.Y = 80; // Container child BGLoading.Gtk.Fixed+FixedChild this.CalculateButton = new global::Gtk.Button (); this.CalculateButton.WidthRequest = 180; this.CalculateButton.HeightRequest = 30; this.CalculateButton.CanFocus = true; this.CalculateButton.Name = "CalculateButton"; this.CalculateButton.UseUnderline = true; // Container child CalculateButton.Gtk.Container+ContainerChild global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w24 = new global::Gtk.HBox (); w24.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w25 = new global::Gtk.Image (); w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-execute", global::Gtk.IconSize.Menu); w24.Add (w25); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w27 = new global::Gtk.Label (); w27.LabelProp = global::Mono.Unix.Catalog.GetString ("Calculate Brightness"); w27.UseUnderline = true; w24.Add (w27); w23.Add (w24); this.CalculateButton.Add (w23); this.BGLoading.Add (this.CalculateButton); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.CalculateButton])); w31.X = 25; w31.Y = 325; // Container child BGLoading.Gtk.Fixed+FixedChild this.PreviewImg = new global::Gtk.Image (); this.PreviewImg.WidthRequest = 160; this.PreviewImg.HeightRequest = 120; this.PreviewImg.Name = "PreviewImg"; this.BGLoading.Add (this.PreviewImg); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.BGLoading [this.PreviewImg])); w32.X = 35; w32.Y = 175; this.MainNotebook.Add (this.BGLoading); // Notebook tab this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Loading"); this.MainNotebook.SetTabLabel (this.BGLoading, this.label2); this.label2.ShowAll (); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.EditingBG = new global::Gtk.Fixed (); this.EditingBG.Name = "EditingBG"; this.EditingBG.HasWindow = false; // Container child EditingBG.Gtk.Fixed+FixedChild this.XValBox = new global::Gtk.Entry (); this.XValBox.WidthRequest = 60; this.XValBox.CanFocus = true; this.XValBox.Name = "XValBox"; this.XValBox.Text = global::Mono.Unix.Catalog.GetString ("0"); this.XValBox.IsEditable = true; this.XValBox.InvisibleChar = '?'; this.EditingBG.Add (this.XValBox); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.XValBox])); w34.X = 110; w34.Y = 350; // Container child EditingBG.Gtk.Fixed+FixedChild this.YValBox = new global::Gtk.Entry (); this.YValBox.WidthRequest = 60; this.YValBox.CanFocus = true; this.YValBox.Name = "YValBox"; this.YValBox.Text = global::Mono.Unix.Catalog.GetString ("0"); this.YValBox.IsEditable = true; this.YValBox.InvisibleChar = '?'; this.EditingBG.Add (this.YValBox); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.YValBox])); w35.X = 110; w35.Y = 380; // Container child EditingBG.Gtk.Fixed+FixedChild this.Ylabel = new global::Gtk.Label (); this.Ylabel.Name = "Ylabel"; this.Ylabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Y:"); this.EditingBG.Add (this.Ylabel); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.Ylabel])); w36.X = 90; w36.Y = 385; // Container child EditingBG.Gtk.Fixed+FixedChild this.Xlabel = new global::Gtk.Label (); this.Xlabel.Name = "Xlabel"; this.Xlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("X:"); this.EditingBG.Add (this.Xlabel); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.Xlabel])); w37.X = 90; w37.Y = 355; // Container child EditingBG.Gtk.Fixed+FixedChild this.GraphEvents = new global::Gtk.EventBox (); this.GraphEvents.WidthRequest = 700; this.GraphEvents.HeightRequest = 400; this.GraphEvents.Name = "GraphEvents"; // Container child GraphEvents.Gtk.Container+ContainerChild this.GraphArea = new global::Gtk.Image (); this.GraphArea.Name = "GraphArea"; this.GraphEvents.Add (this.GraphArea); this.EditingBG.Add (this.GraphEvents); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.GraphEvents])); w39.X = 185; w39.Y = 10; // Container child EditingBG.Gtk.Fixed+FixedChild this.CurveSelectBox = global::Gtk.ComboBox.NewText (); this.CurveSelectBox.WidthRequest = 150; this.CurveSelectBox.Name = "CurveSelectBox"; this.EditingBG.Add (this.CurveSelectBox); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.CurveSelectBox])); w40.X = 15; w40.Y = 20; // Container child EditingBG.Gtk.Fixed+FixedChild this.BrScale = new global::Gtk.HScale (null); this.BrScale.WidthRequest = 160; this.BrScale.CanFocus = true; this.BrScale.Name = "BrScale"; this.BrScale.Adjustment.Lower = -300D; this.BrScale.Adjustment.Upper = 400D; this.BrScale.Adjustment.PageIncrement = 5D; this.BrScale.Adjustment.StepIncrement = 1D; this.BrScale.Adjustment.Value = 100D; this.BrScale.DrawValue = false; this.BrScale.Digits = 2; this.BrScale.ValuePos = ((global::Gtk.PositionType)(2)); this.EditingBG.Add (this.BrScale); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.BrScale])); w41.X = 10; w41.Y = 85; // Container child EditingBG.Gtk.Fixed+FixedChild this.EndToStartButton = new global::Gtk.Button (); this.EndToStartButton.WidthRequest = 75; this.EndToStartButton.HeightRequest = 20; this.EndToStartButton.CanFocus = true; this.EndToStartButton.Name = "EndToStartButton"; this.EndToStartButton.UseUnderline = true; this.EndToStartButton.Label = global::Mono.Unix.Catalog.GetString ("End = Start"); this.EditingBG.Add (this.EndToStartButton); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.EndToStartButton])); w42.X = 10; w42.Y = 140; // Container child EditingBG.Gtk.Fixed+FixedChild this.StartToEndButton = new global::Gtk.Button (); this.StartToEndButton.WidthRequest = 75; this.StartToEndButton.HeightRequest = 20; this.StartToEndButton.CanFocus = true; this.StartToEndButton.Name = "StartToEndButton"; this.StartToEndButton.UseUnderline = true; this.StartToEndButton.Label = global::Mono.Unix.Catalog.GetString ("Start = End"); this.EditingBG.Add (this.StartToEndButton); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.StartToEndButton])); w43.X = 95; w43.Y = 140; // Container child EditingBG.Gtk.Fixed+FixedChild this.ResetCurveButton = new global::Gtk.Button (); this.ResetCurveButton.WidthRequest = 75; this.ResetCurveButton.HeightRequest = 20; this.ResetCurveButton.CanFocus = true; this.ResetCurveButton.Name = "ResetCurveButton"; this.ResetCurveButton.UseUnderline = true; this.ResetCurveButton.Label = global::Mono.Unix.Catalog.GetString ("Reset Curve"); this.EditingBG.Add (this.ResetCurveButton); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.ResetCurveButton])); w44.X = 10; w44.Y = 170; // Container child EditingBG.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Brightness Scale:"); this.EditingBG.Add (this.label3); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label3])); w45.X = 5; w45.Y = 65; // Container child EditingBG.Gtk.Fixed+FixedChild this.BrScaleEntry = new global::Gtk.Entry (); this.BrScaleEntry.WidthRequest = 60; this.BrScaleEntry.CanFocus = true; this.BrScaleEntry.Name = "BrScaleEntry"; this.BrScaleEntry.Text = global::Mono.Unix.Catalog.GetString ("100,00"); this.BrScaleEntry.IsEditable = true; this.BrScaleEntry.InvisibleChar = '?'; this.EditingBG.Add (this.BrScaleEntry); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.BrScaleEntry])); w46.X = 105; w46.Y = 55; // Container child EditingBG.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Startindex:"); this.EditingBG.Add (this.label4); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label4])); w47.X = 55; w47.Y = 255; // Container child EditingBG.Gtk.Fixed+FixedChild this.PreviewRenderButton = new global::Gtk.Button (); this.PreviewRenderButton.WidthRequest = 160; this.PreviewRenderButton.CanFocus = true; this.PreviewRenderButton.Name = "PreviewRenderButton"; this.PreviewRenderButton.UseUnderline = true; // Container child PreviewRenderButton.Gtk.Container+ContainerChild global::Gtk.Alignment w48 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w49 = new global::Gtk.HBox (); w49.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w50 = new global::Gtk.Image (); w50.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-refresh", global::Gtk.IconSize.Menu); w49.Add (w50); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w52 = new global::Gtk.Label (); w52.LabelProp = global::Mono.Unix.Catalog.GetString ("Brightness Preview"); w52.UseUnderline = true; w49.Add (w52); w48.Add (w49); this.PreviewRenderButton.Add (w48); this.EditingBG.Add (this.PreviewRenderButton); global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PreviewRenderButton])); w56.X = 10; w56.Y = 220; // Container child EditingBG.Gtk.Fixed+FixedChild this.PrevCountSpin = new global::Gtk.SpinButton (2D, 100D, 1D); this.PrevCountSpin.CanFocus = true; this.PrevCountSpin.Name = "PrevCountSpin"; this.PrevCountSpin.Adjustment.PageIncrement = 10D; this.PrevCountSpin.ClimbRate = 1D; this.PrevCountSpin.Numeric = true; this.PrevCountSpin.Value = 2D; this.EditingBG.Add (this.PrevCountSpin); global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PrevCountSpin])); w57.X = 120; w57.Y = 285; // Container child EditingBG.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Count:"); this.EditingBG.Add (this.label5); global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.label5])); w58.X = 74; w58.Y = 290; // Container child EditingBG.Gtk.Fixed+FixedChild this.PrevIndexSpin = new global::Gtk.SpinButton (1D, 100D, 1D); this.PrevIndexSpin.CanFocus = true; this.PrevIndexSpin.Name = "PrevIndexSpin"; this.PrevIndexSpin.Adjustment.PageIncrement = 10D; this.PrevIndexSpin.ClimbRate = 1D; this.PrevIndexSpin.Numeric = true; this.PrevIndexSpin.Value = 1D; this.EditingBG.Add (this.PrevIndexSpin); global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.EditingBG [this.PrevIndexSpin])); w59.X = 120; w59.Y = 250; this.MainNotebook.Add (this.EditingBG); global::Gtk.Notebook.NotebookChild w60 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.EditingBG])); w60.Position = 1; // Notebook tab this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Editing"); this.MainNotebook.SetTabLabel (this.EditingBG, this.label1); this.label1.ShowAll (); this.BG.Add (this.MainNotebook); global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.MainNotebook])); w61.Y = 25; // Container child BG.Gtk.Fixed+FixedChild this.SaveButton = new global::Gtk.Button (); this.SaveButton.WidthRequest = 100; this.SaveButton.HeightRequest = 30; this.SaveButton.CanFocus = true; this.SaveButton.Name = "SaveButton"; this.SaveButton.UseUnderline = true; // Container child SaveButton.Gtk.Container+ContainerChild global::Gtk.Alignment w62 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w63 = new global::Gtk.HBox (); w63.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w64 = new global::Gtk.Image (); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu); w63.Add (w64); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w66 = new global::Gtk.Label (); w66.LabelProp = global::Mono.Unix.Catalog.GetString ("Save Images"); w66.UseUnderline = true; w63.Add (w66); w62.Add (w63); this.SaveButton.Add (w62); this.BG.Add (this.SaveButton); global::Gtk.Fixed.FixedChild w70 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.SaveButton])); w70.X = 795; w70.Y = 480; // Container child BG.Gtk.Fixed+FixedChild this.ProgressBar = new global::Gtk.ProgressBar (); this.ProgressBar.Name = "ProgressBar"; this.BG.Add (this.ProgressBar); global::Gtk.Fixed.FixedChild w71 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.ProgressBar])); w71.X = 10; w71.Y = 485; // Container child BG.Gtk.Fixed+FixedChild this.TimeLabel = new global::Gtk.Label (); this.TimeLabel.Name = "TimeLabel"; this.TimeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0h 0m 0s left"); this.BG.Add (this.TimeLabel); global::Gtk.Fixed.FixedChild w72 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.TimeLabel])); w72.X = 179; w72.Y = 490; // Container child BG.Gtk.Fixed+FixedChild this.InfoLabel = new global::Gtk.Label (); this.InfoLabel.Name = "InfoLabel"; this.InfoLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Ready to do work!"); this.BG.Add (this.InfoLabel); global::Gtk.Fixed.FixedChild w73 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.InfoLabel])); w73.X = 298; w73.Y = 490; // Container child BG.Gtk.Fixed+FixedChild this.CancelButton = new global::Gtk.Button (); this.CancelButton.WidthRequest = 100; this.CancelButton.HeightRequest = 30; this.CancelButton.CanFocus = true; this.CancelButton.Name = "CancelButton"; this.CancelButton.UseUnderline = true; // Container child CancelButton.Gtk.Container+ContainerChild global::Gtk.Alignment w74 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w75 = new global::Gtk.HBox (); w75.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w76 = new global::Gtk.Image (); w76.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu); w75.Add (w76); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w78 = new global::Gtk.Label (); w78.LabelProp = global::Mono.Unix.Catalog.GetString ("Cancel"); w78.UseUnderline = true; w75.Add (w78); w74.Add (w75); this.CancelButton.Add (w74); this.BG.Add (this.CancelButton); global::Gtk.Fixed.FixedChild w82 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.CancelButton])); w82.X = 685; w82.Y = 480; // Container child BG.Gtk.Fixed+FixedChild this.FinishedDoBox = global::Gtk.ComboBox.NewText (); this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Do Nothing")); this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Close DeSERt")); this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Suspend")); this.FinishedDoBox.AppendText (global::Mono.Unix.Catalog.GetString ("Shut Down")); this.FinishedDoBox.WidthRequest = 120; this.FinishedDoBox.HeightRequest = 25; this.FinishedDoBox.Name = "FinishedDoBox"; this.FinishedDoBox.Active = 0; this.BG.Add (this.FinishedDoBox); global::Gtk.Fixed.FixedChild w83 = ((global::Gtk.Fixed.FixedChild)(this.BG [this.FinishedDoBox])); w83.X = 545; w83.Y = 485; this.Add (this.BG); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnExposeEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.CreateFilterAction.Activated += new global::System.EventHandler (this.OnCreateFilterActionActivated); this.ValueTable.CursorChanged += new global::System.EventHandler (this.OnValueTableCursorChanged); this.ImageOpenButton.Clicked += new global::System.EventHandler (this.OnImageOpenButtonClicked); this.ProcOpenButton.Clicked += new global::System.EventHandler (this.OnProcOpenButtonClicked); this.CalculateButton.Clicked += new global::System.EventHandler (this.OnCalculateButtonClicked); this.XValBox.TextInserted += new global::Gtk.TextInsertedHandler (this.OnXValBoxTextInserted); this.YValBox.TextInserted += new global::Gtk.TextInsertedHandler (this.OnYValBoxTextInserted); this.GraphEvents.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnGraphEventsButtonPressEvent); this.GraphEvents.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnGraphEventsButtonReleaseEvent); this.CurveSelectBox.Changed += new global::System.EventHandler (this.OnCurveSelectBoxChanged); this.BrScale.ValueChanged += new global::System.EventHandler (this.OnBrScaleValueChanged); this.EndToStartButton.Clicked += new global::System.EventHandler (this.OnEndToStartButtonClicked); this.StartToEndButton.Clicked += new global::System.EventHandler (this.OnStartToEndButtonClicked); this.ResetCurveButton.Clicked += new global::System.EventHandler (this.OnResetCurveButtonClicked); this.BrScaleEntry.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnBrScaleEntryKeyPressEvent); this.PreviewRenderButton.Clicked += new global::System.EventHandler (this.OnPreviewRenderButtonClicked); this.PrevIndexSpin.Changed += new global::System.EventHandler (this.OnPrevIndexSpinChanged); this.SaveButton.Clicked += new global::System.EventHandler (this.OnSaveButtonClicked); this.CancelButton.Clicked += new global::System.EventHandler (this.OnCancelButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Tip Calculator"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(24)); // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Check Total"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.hbox1.Add (this.entry1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entry1])); w2.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Waiter Score"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 10; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 4; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add (this.hscale1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale1])); w5.Position = 1; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Get Tip!"); this.hbox3.Add (this.button1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.textview1 = new global::Gtk.Label (); this.textview1.WidthRequest = 250; this.textview1.Name = "textview1"; this.textview1.LabelProp = global::Mono.Unix.Catalog.GetString ("Your suggested tip..."); this.textview1.Wrap = true; this.vbox2.Add (this.textview1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.textview1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox1.Add (this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox1.Add (this.fixed1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed1])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox1.Add (this.fixed2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed2])); w12.Position = 4; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.vbox1.Add (this.fixed3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed3])); w13.Position = 5; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.vbox1.Add (this.fixed4); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed4])); w14.Position = 6; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed (); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.vbox1.Add (this.fixed6); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.fixed6])); w15.Position = 8; w15.Expand = false; w15.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 300; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LapseStudioGtkUI.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.MenuAction = new global::Gtk.Action("MenuAction", "Menu", null, null); this.MenuAction.ShortLabel = "Menu"; w1.Add(this.MenuAction, null); this.newAction = new global::Gtk.Action("newAction", "New Project", null, "gtk-new"); this.newAction.ShortLabel = "New Project"; w1.Add(this.newAction, null); this.openAction = new global::Gtk.Action("openAction", "Open Project", null, "gtk-open"); this.openAction.ShortLabel = "Open Project"; w1.Add(this.openAction, null); this.saveAction = new global::Gtk.Action("saveAction", "Save Project", null, "gtk-save"); this.saveAction.ShortLabel = "Save Project"; w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", "Save Project As", null, "gtk-save-as"); this.saveAsAction.ShortLabel = "Save Project As"; w1.Add(this.saveAsAction, null); this.quitAction = new global::Gtk.Action("quitAction", "Quit", null, "gtk-quit"); this.quitAction.ShortLabel = "Quit"; w1.Add(this.quitAction, null); this.SettingsAction = new global::Gtk.Action("SettingsAction", "Settings", null, null); this.SettingsAction.ShortLabel = "Settings"; w1.Add(this.SettingsAction, null); this.preferencesAction = new global::Gtk.Action("preferencesAction", "General Settings", null, "gtk-preferences"); this.preferencesAction.ShortLabel = "General Settings"; w1.Add(this.preferencesAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", "Help", null, null); this.HelpAction.ShortLabel = "Help"; w1.Add(this.HelpAction, null); this.helpAction = new global::Gtk.Action("helpAction", "Help", null, "gtk-help"); this.helpAction.ShortLabel = "Help"; w1.Add(this.helpAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", "About", null, "gtk-about"); this.aboutAction.ShortLabel = "About"; w1.Add(this.aboutAction, null); this.AddAction = new global::Gtk.Action("AddAction", null, "Add Frames", "Add"); w1.Add(this.AddAction, null); this.CalculateAction = new global::Gtk.Action("CalculateAction", null, "Calculate Brightnes", "Calculate"); w1.Add(this.CalculateAction, null); this.ReloadAction = new global::Gtk.Action("ReloadAction", null, "Reload XMP", "Reload"); w1.Add(this.ReloadAction, null); this.SaveAction = new global::Gtk.Action("SaveAction", null, "Process Frames", "Save"); w1.Add(this.SaveAction, null); this.CancelAction = new global::Gtk.Action("CancelAction", null, "Cancel", "Cancel"); w1.Add(this.CancelAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "LapseStudioGtkUI.MainWindow"; this.Title = "LapseStudio"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child LapseStudioGtkUI.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='MainMenuBar'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.MainMenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MainMenuBar"))); this.MainMenuBar.Name = "MainMenuBar"; this.vbox1.Add(this.MainMenuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainMenuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='MainToolBar'><toolitem name='AddAction' action='AddAction'/><toolitem name='CalculateAction' action='CalculateAction'/><toolitem name='ReloadAction' action='ReloadAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='CancelAction' action='CancelAction'/></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.MainToolBar.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add(this.MainToolBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainToolBar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.MainNotebook = new global::Gtk.Notebook(); this.MainNotebook.CanFocus = true; this.MainNotebook.Name = "MainNotebook"; this.MainNotebook.CurrentPage = 0; // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.FileTree = new global::Gtk.TreeView(); this.FileTree.CanFocus = true; this.FileTree.Name = "FileTree"; this.GtkScrolledWindow.Add(this.FileTree); this.hbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w5.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.ThumbViewList = new global::Gtk.Image(); this.ThumbViewList.WidthRequest = 160; this.ThumbViewList.HeightRequest = 120; this.ThumbViewList.Name = "ThumbViewList"; this.vbox2.Add(this.ThumbViewList); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ThumbViewList])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox2.Add(this.fixed2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed2])); w7.Position = 1; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.MainNotebook.Add(this.hbox2); // Notebook tab this.TabPageLabel1 = new global::Gtk.Label(); this.TabPageLabel1.Name = "TabPageLabel1"; this.TabPageLabel1.LabelProp = "Files"; this.MainNotebook.SetTabLabel(this.hbox2, this.TabPageLabel1); this.TabPageLabel1.ShowAll(); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.fixed3 = new global::Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.MainNotebook.Add(this.fixed3); global::Gtk.Notebook.NotebookChild w10 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.fixed3])); w10.Position = 1; // Notebook tab this.TabPageLabel2 = new global::Gtk.Label(); this.TabPageLabel2.Name = "TabPageLabel2"; this.TabPageLabel2.LabelProp = "Calculation"; this.MainNotebook.SetTabLabel(this.fixed3, this.TabPageLabel2); this.TabPageLabel2.ShowAll(); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.YToStartButton = new global::Gtk.Button(); this.YToStartButton.WidthRequest = 75; this.YToStartButton.CanFocus = true; this.YToStartButton.Name = "YToStartButton"; this.YToStartButton.UseUnderline = true; this.YToStartButton.Label = "Y To Start"; this.vbox4.Add(this.YToStartButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.YToStartButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.AlignXButton = new global::Gtk.Button(); this.AlignXButton.WidthRequest = 75; this.AlignXButton.CanFocus = true; this.AlignXButton.Name = "AlignXButton"; this.AlignXButton.UseUnderline = true; this.AlignXButton.Label = "Align X"; this.vbox4.Add(this.AlignXButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.AlignXButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox4.Add(this.vbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(2)); // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.YToEndButton = new global::Gtk.Button(); this.YToEndButton.WidthRequest = 75; this.YToEndButton.CanFocus = true; this.YToEndButton.Name = "YToEndButton"; this.YToEndButton.UseUnderline = true; this.YToEndButton.Label = "Y To End"; this.vbox5.Add(this.YToEndButton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.YToEndButton])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.ResetGraphButton = new global::Gtk.Button(); this.ResetGraphButton.WidthRequest = 75; this.ResetGraphButton.CanFocus = true; this.ResetGraphButton.Name = "ResetGraphButton"; this.ResetGraphButton.UseUnderline = true; this.ResetGraphButton.Label = "Reset"; this.vbox5.Add(this.ResetGraphButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ResetGraphButton])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox4.Add(this.vbox5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox5])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbox3.Add(this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w17.Position = 0; w17.Expand = false; w17.Fill = false; w17.Padding = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.ThumbViewGraph = new global::Gtk.Image(); this.ThumbViewGraph.WidthRequest = 160; this.ThumbViewGraph.HeightRequest = 120; this.ThumbViewGraph.Name = "ThumbViewGraph"; this.vbox3.Add(this.ThumbViewGraph); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbViewGraph])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.FrameSelectScale = new global::Gtk.HScale(null); this.FrameSelectScale.CanFocus = true; this.FrameSelectScale.Name = "FrameSelectScale"; this.FrameSelectScale.Adjustment.Upper = 100D; this.FrameSelectScale.Adjustment.PageIncrement = 10D; this.FrameSelectScale.Adjustment.StepIncrement = 1D; this.FrameSelectScale.DrawValue = true; this.FrameSelectScale.Digits = 0; this.FrameSelectScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add(this.FrameSelectScale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.FrameSelectScale])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditButton = new global::Gtk.Button(); this.ThumbEditButton.Sensitive = false; this.ThumbEditButton.CanFocus = true; this.ThumbEditButton.Name = "ThumbEditButton"; this.ThumbEditButton.UseUnderline = true; this.ThumbEditButton.Label = "Edit Thumbs"; this.vbox3.Add(this.ThumbEditButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditButton])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditView = new global::Gtk.Image(); this.ThumbEditView.WidthRequest = 160; this.ThumbEditView.HeightRequest = 120; this.ThumbEditView.Name = "ThumbEditView"; this.vbox3.Add(this.ThumbEditView); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditView])); w21.Position = 4; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.BrightnessScale = new global::Gtk.HScale(null); this.BrightnessScale.Sensitive = false; this.BrightnessScale.CanFocus = true; this.BrightnessScale.Name = "BrightnessScale"; this.BrightnessScale.Adjustment.Lower = -100D; this.BrightnessScale.Adjustment.Upper = 100D; this.BrightnessScale.Adjustment.PageIncrement = 10D; this.BrightnessScale.Adjustment.StepIncrement = 1D; this.BrightnessScale.DrawValue = true; this.BrightnessScale.Digits = 0; this.BrightnessScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add(this.BrightnessScale); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.BrightnessScale])); w22.Position = 5; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.vbox3.Add(this.fixed4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed4])); w23.Position = 6; this.hbox3.Add(this.vbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.MainGraph = new global::LapseStudioGtkUI.Graph(); this.MainGraph.Events = ((global::Gdk.EventMask)(256)); this.MainGraph.Name = "MainGraph"; this.hbox3.Add(this.MainGraph); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.MainGraph])); w25.Position = 1; this.MainNotebook.Add(this.hbox3); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.hbox3])); w26.Position = 2; // Notebook tab this.TabPageLabel3 = new global::Gtk.Label(); this.TabPageLabel3.Name = "TabPageLabel3"; this.TabPageLabel3.LabelProp = "Graph"; this.MainNotebook.SetTabLabel(this.hbox3, this.TabPageLabel3); this.TabPageLabel3.ShowAll(); this.vbox1.Add(this.MainNotebook); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainNotebook])); w27.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.MainProgressBar = new global::Gtk.ProgressBar(); this.MainProgressBar.WidthRequest = 160; this.MainProgressBar.Name = "MainProgressBar"; this.hbox1.Add(this.MainProgressBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.MainProgressBar])); w28.Position = 0; w28.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.StatusLabel = new global::Gtk.Label(); this.StatusLabel.Name = "StatusLabel"; this.StatusLabel.LabelProp = "Everything ok"; this.hbox1.Add(this.StatusLabel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StatusLabel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; w29.Padding = ((uint)(20)); // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add(this.fixed1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1])); w30.Position = 2; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 816; this.DefaultHeight = 662; this.Show(); this.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnExposeEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.OnNewActionActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); this.saveAsAction.Activated += new global::System.EventHandler(this.OnSaveAsActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.preferencesAction.Activated += new global::System.EventHandler(this.OnPreferencesActionActivated); this.helpAction.Activated += new global::System.EventHandler(this.OnHelpActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.AddAction.Activated += new global::System.EventHandler(this.OnAddActionActivated); this.CalculateAction.Activated += new global::System.EventHandler(this.OnCalculateActionActivated); this.ReloadAction.Activated += new global::System.EventHandler(this.OnReloadActionActivated); this.SaveAction.Activated += new global::System.EventHandler(this.OnProcessActionActivated); this.CancelAction.Activated += new global::System.EventHandler(this.OnCancelActionActivated); this.YToStartButton.Clicked += new global::System.EventHandler(this.OnYToStartButtonClicked); this.AlignXButton.Clicked += new global::System.EventHandler(this.OnAlignXButtonClicked); this.YToEndButton.Clicked += new global::System.EventHandler(this.OnYToEndButtonClicked); this.ResetGraphButton.Clicked += new global::System.EventHandler(this.OnResetGraphButtonClicked); this.FrameSelectScale.ValueChanged += new global::System.EventHandler(this.OnFrameSelectScaleValueChanged); this.BrightnessScale.ValueChanged += new global::System.EventHandler(this.OnBrightnessScaleValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander(null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar(); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add(this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Minimaler Beginn"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Maximales Ende"); this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Suchen"); this.hbox2.Add(this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; 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 = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add(this.vbox3); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView(); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add(this.treeview1); this.expander1.Add(this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add(this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton(); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox(); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image(); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add(w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label(); w17.LabelProp = global::Mono.Unix.Catalog.GetString("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); this.togglebutton1.Add(w13); this.hbox1.Add(this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show(); this.hscale2.ValueChanged += new global::System.EventHandler(this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler(this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LongoMatch.Gui.Component.SynchronizationWidget global::Stetic.BinContainer.Attach(this); this.Name = "LongoMatch.Gui.Component.SynchronizationWidget"; // Container child LongoMatch.Gui.Component.SynchronizationWidget.Gtk.Container+ContainerChild this.headereventbox = new global::Gtk.EventBox(); this.headereventbox.Name = "headereventbox"; // Container child headereventbox.Gtk.Container+ContainerChild this.vpaned2 = new global::Gtk.VPaned(); this.vpaned2.CanFocus = true; this.vpaned2.Name = "vpaned2"; this.vpaned2.Position = 400; // Container child vpaned2.Gtk.Paned+PanedChild this.playbins_hbox = new global::Gtk.HBox(); this.playbins_hbox.Name = "playbins_hbox"; this.playbins_hbox.Homogeneous = true; this.playbins_hbox.Spacing = 15; this.playbins_hbox.BorderWidth = ((uint)(15)); // Container child playbins_hbox.Gtk.Box+BoxChild this.main_cam_vbox = new global::Gtk.VBox(); this.main_cam_vbox.Name = "main_cam_vbox"; this.main_cam_vbox.Spacing = 6; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.main_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.main_cam_playerbin.Name = "main_cam_playerbin"; this.main_cam_vbox.Add(this.main_cam_playerbin); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_playerbin])); w1.Position = 0; // Container child main_cam_vbox.Gtk.Box+BoxChild this.main_cam_hbox = new global::Gtk.HBox(); this.main_cam_hbox.Name = "main_cam_hbox"; this.main_cam_hbox.Spacing = 6; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_label = new global::Gtk.Label(); this.main_cam_label.Name = "main_cam_label"; this.main_cam_label.Xalign = 0F; this.main_cam_hbox.Add(this.main_cam_label); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_label])); w2.Position = 0; // Container child main_cam_hbox.Gtk.Box+BoxChild this.main_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.main_cam_audio_alignment.Name = "main_cam_audio_alignment"; this.main_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child main_cam_audio_alignment.Gtk.Container+ContainerChild this.main_cam_audio_button = new global::Gtk.ToggleButton(); this.main_cam_audio_button.CanFocus = true; this.main_cam_audio_button.Name = "main_cam_audio_button"; this.main_cam_audio_button.Active = true; // Container child main_cam_audio_button.Gtk.Container+ContainerChild this.main_cam_audio_button_image = new global::Gtk.Image(); this.main_cam_audio_button_image.Name = "main_cam_audio_button_image"; this.main_cam_audio_button.Add(this.main_cam_audio_button_image); this.main_cam_audio_alignment.Add(this.main_cam_audio_button); this.main_cam_hbox.Add(this.main_cam_audio_alignment); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.main_cam_hbox [this.main_cam_audio_alignment])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.main_cam_vbox.Add(this.main_cam_hbox); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.main_cam_vbox [this.main_cam_hbox])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.playbins_hbox.Add(this.main_cam_vbox); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.main_cam_vbox])); w7.Position = 0; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_vbox = new global::Gtk.VBox(); this.sec_cam_vbox.Name = "sec_cam_vbox"; this.sec_cam_vbox.Spacing = 6; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_playerbin = new global::LongoMatch.Gui.PlayerView(); this.sec_cam_playerbin.Events = ((global::Gdk.EventMask)(256)); this.sec_cam_playerbin.Name = "sec_cam_playerbin"; this.sec_cam_vbox.Add(this.sec_cam_playerbin); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_playerbin])); w8.Position = 0; // Container child sec_cam_vbox.Gtk.Box+BoxChild this.sec_cam_hbox = new global::Gtk.HBox(); this.sec_cam_hbox.Name = "sec_cam_hbox"; this.sec_cam_hbox.Spacing = 6; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_label = new global::Gtk.Label(); this.sec_cam_label.Name = "sec_cam_label"; this.sec_cam_label.Xalign = 0F; this.sec_cam_label.UseMarkup = true; this.sec_cam_hbox.Add(this.sec_cam_label); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_label])); w9.Position = 0; // Container child sec_cam_hbox.Gtk.Box+BoxChild this.sec_cam_audio_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.sec_cam_audio_alignment.Name = "sec_cam_audio_alignment"; this.sec_cam_audio_alignment.RightPadding = ((uint)(50)); // Container child sec_cam_audio_alignment.Gtk.Container+ContainerChild this.sec_cam_audio_button = new global::Gtk.ToggleButton(); this.sec_cam_audio_button.CanFocus = true; this.sec_cam_audio_button.Name = "sec_cam_audio_button"; // Container child sec_cam_audio_button.Gtk.Container+ContainerChild this.sec_cam_audio_button_image = new global::Gtk.Image(); this.sec_cam_audio_button_image.Name = "sec_cam_audio_button_image"; this.sec_cam_audio_button.Add(this.sec_cam_audio_button_image); this.sec_cam_audio_alignment.Add(this.sec_cam_audio_button); this.sec_cam_hbox.Add(this.sec_cam_audio_alignment); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.sec_cam_hbox [this.sec_cam_audio_alignment])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.sec_cam_vbox.Add(this.sec_cam_hbox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.sec_cam_vbox [this.sec_cam_hbox])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.playbins_hbox.Add(this.sec_cam_vbox); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_vbox])); w14.Position = 1; // Container child playbins_hbox.Gtk.Box+BoxChild this.sec_cam_didactic_label = new global::Gtk.Label(); this.sec_cam_didactic_label.Name = "sec_cam_didactic_label"; this.playbins_hbox.Add(this.sec_cam_didactic_label); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.playbins_hbox [this.sec_cam_didactic_label])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vpaned2.Add(this.playbins_hbox); global::Gtk.Paned.PanedChild w16 = ((global::Gtk.Paned.PanedChild)(this.vpaned2 [this.playbins_hbox])); w16.Resize = false; // Container child vpaned2.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.labels_alignment = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.labels_alignment.Name = "labels_alignment"; // Container child labels_alignment.Gtk.Container+ContainerChild this.labels_vbox = new global::Gtk.VBox(); this.labels_vbox.Name = "labels_vbox"; // Container child labels_vbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea(); this.labelsarea.Name = "labelsarea"; this.labels_vbox.Add(this.labelsarea); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.labelsarea])); w17.Position = 0; // Container child labels_vbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox(); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::Gtk.Image(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomoutimage])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomscale = new global::Gtk.HScale(null); this.zoomscale.CanFocus = true; this.zoomscale.Name = "zoomscale"; this.zoomscale.Adjustment.Upper = 100; this.zoomscale.Adjustment.PageIncrement = 10; this.zoomscale.Adjustment.StepIncrement = 1; this.zoomscale.DrawValue = false; this.zoomscale.Digits = 0; this.zoomscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add(this.zoomscale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomscale])); w19.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::Gtk.Image(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add(this.zoominimage); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoominimage])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.labels_vbox.Add(this.zoomhbox); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.labels_vbox [this.zoomhbox])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.labels_alignment.Add(this.labels_vbox); this.hbox5.Add(this.labels_alignment); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.labels_alignment])); w23.Position = 0; w23.Expand = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; // Container child vbox9.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox9.Add(this.timerulearea); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.timerulearea])); w24.Position = 0; w24.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow(); this.scrolledwindow2.HeightRequest = 50; this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((global::Gtk.PolicyType)(0)); this.scrolledwindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(0)); // Container child scrolledwindow2.Gtk.Container+ContainerChild global::Gtk.Viewport w25 = new global::Gtk.Viewport(); w25.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea(); this.timelinearea.Name = "timelinearea"; w25.Add(this.timelinearea); this.scrolledwindow2.Add(w25); this.vbox9.Add(this.scrolledwindow2); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.scrolledwindow2])); w28.Position = 1; this.hbox5.Add(this.vbox9); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox9])); w29.Position = 1; this.vpaned2.Add(this.hbox5); this.headereventbox.Add(this.vpaned2); this.Add(this.headereventbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.sec_cam_vbox.Hide(); this.sec_cam_didactic_label.Hide(); this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Pong.Preferencias this.Name = "Pong.Preferencias"; this.Title = global::Mono.Unix.Catalog.GetString ("Preferências do bPong"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child Pong.Preferencias.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame (); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); this.GtkAlignment2.BorderWidth = ((uint)(6)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.twoPlayer = new global::Gtk.CheckButton (); this.twoPlayer.CanFocus = true; this.twoPlayer.Name = "twoPlayer"; this.twoPlayer.Label = global::Mono.Unix.Catalog.GetString ("Dois jogadores humanos"); this.twoPlayer.DrawIndicator = true; this.twoPlayer.UseUnderline = true; this.twoPlayer.FocusOnClick = false; this.GtkAlignment2.Add (this.twoPlayer); this.frame1.Add (this.GtkAlignment2); this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Jogadores</b>"); this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.vbox1.Add (this.frame1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame (); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); this.GtkAlignment3.BorderWidth = ((uint)(6)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.difFacil = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Fácil")); this.difFacil.CanFocus = true; this.difFacil.Name = "difFacil"; this.difFacil.DrawIndicator = true; this.difFacil.UseUnderline = true; this.difFacil.FocusOnClick = false; this.difFacil.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.hbox1.Add (this.difFacil); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.difFacil])); w5.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.difMedio = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Médio")); this.difMedio.CanFocus = true; this.difMedio.Name = "difMedio"; this.difMedio.DrawIndicator = true; this.difMedio.UseUnderline = true; this.difMedio.FocusOnClick = false; this.difMedio.Group = this.difFacil.Group; this.hbox1.Add (this.difMedio); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.difMedio])); w6.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.difDificil = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Difícil")); this.difDificil.CanFocus = true; this.difDificil.Name = "difDificil"; this.difDificil.DrawIndicator = true; this.difDificil.UseUnderline = true; this.difDificil.FocusOnClick = false; this.difDificil.Group = this.difFacil.Group; this.hbox1.Add (this.difDificil); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.difDificil])); w7.Position = 2; // Container child hbox1.Gtk.Box+BoxChild this.difBot = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Bot")); this.difBot.CanFocus = true; this.difBot.Name = "difBot"; this.difBot.DrawIndicator = true; this.difBot.UseUnderline = true; this.difBot.FocusOnClick = false; this.difBot.Group = this.difFacil.Group; this.hbox1.Add (this.difBot); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.difBot])); w8.Position = 3; this.GtkAlignment3.Add (this.hbox1); this.frame2.Add (this.GtkAlignment3); this.GtkLabel20 = new global::Gtk.Label (); this.GtkLabel20.Name = "GtkLabel20"; this.GtkLabel20.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Dificuldade</b>"); this.GtkLabel20.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel20; this.vbox1.Add (this.frame2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame (); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); this.GtkAlignment4.BorderWidth = ((uint)(6)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.velBola = new global::Gtk.HScale (null); this.velBola.CanFocus = true; this.velBola.Name = "velBola"; this.velBola.Adjustment.Lower = 1; this.velBola.Adjustment.Upper = 10; this.velBola.Adjustment.PageIncrement = 10; this.velBola.Adjustment.StepIncrement = 1; this.velBola.Adjustment.Value = 5; this.velBola.DrawValue = true; this.velBola.Digits = 0; this.velBola.ValuePos = ((global::Gtk.PositionType)(2)); this.GtkAlignment4.Add (this.velBola); this.frame3.Add (this.GtkAlignment4); this.GtkLabel8 = new global::Gtk.Label (); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Velocidade da bola</b>"); this.GtkLabel8.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel8; this.vbox1.Add (this.frame3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame3])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame (); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment5 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); this.GtkAlignment5.BorderWidth = ((uint)(6)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.comboCores = global::Gtk.ComboBox.NewText (); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Clássico")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Preto e laranja")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Azul e branco")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Verde e branco")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Cores da Alemanha")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Cores da Itália")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Cores do Brasil")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Cores do Japão")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Para meninas")); this.comboCores.AppendText (global::Mono.Unix.Catalog.GetString ("Invertido")); this.comboCores.Name = "comboCores"; this.comboCores.Active = 0; this.comboCores.FocusOnClick = false; this.GtkAlignment5.Add (this.comboCores); this.frame4.Add (this.GtkAlignment5); this.GtkLabel9 = new global::Gtk.Label (); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Esquema de cores</b>"); this.GtkLabel9.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel9; this.vbox1.Add (this.frame4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame4])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame5 = new global::Gtk.Frame (); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); this.GtkAlignment6.BorderWidth = ((uint)(6)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.controleMouse = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Mouse")); this.controleMouse.CanFocus = true; this.controleMouse.Name = "controleMouse"; this.controleMouse.DrawIndicator = true; this.controleMouse.UseUnderline = true; this.controleMouse.FocusOnClick = false; this.controleMouse.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.vbox2.Add (this.controleMouse); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.controleMouse])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.controleTeclado = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Teclado")); this.controleTeclado.CanFocus = true; this.controleTeclado.Name = "controleTeclado"; this.controleTeclado.DrawIndicator = true; this.controleTeclado.UseUnderline = true; this.controleTeclado.FocusOnClick = false; this.controleTeclado.Group = this.controleMouse.Group; this.vbox2.Add (this.controleTeclado); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.controleTeclado])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.GtkAlignment6.Add (this.vbox2); this.frame5.Add (this.GtkAlignment6); this.GtkLabel12 = new global::Gtk.Label (); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Controles</b>"); this.GtkLabel12.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel12; this.vbox1.Add (this.frame5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame5])); w22.Position = 4; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame6 = new global::Gtk.Frame (); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); this.GtkAlignment7.BorderWidth = ((uint)(6)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.placarMax = new global::Gtk.HScale (null); this.placarMax.CanFocus = true; this.placarMax.Name = "placarMax"; this.placarMax.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.placarMax.Adjustment.Upper = 99; this.placarMax.Adjustment.PageIncrement = 10; this.placarMax.Adjustment.StepIncrement = 1; this.placarMax.DrawValue = true; this.placarMax.Digits = 0; this.placarMax.ValuePos = ((global::Gtk.PositionType)(2)); this.GtkAlignment7.Add (this.placarMax); this.frame6.Add (this.GtkAlignment7); this.GtkLabel16 = new global::Gtk.Label (); this.GtkLabel16.Name = "GtkLabel16"; this.GtkLabel16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Duração máxima da partida (em pontos)</b>"); this.GtkLabel16.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel16; this.vbox1.Add (this.frame6); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame6])); w25.Position = 5; w25.Expand = false; w25.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame7 = new global::Gtk.Frame (); this.frame7.Name = "frame7"; this.frame7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame7.Gtk.Container+ContainerChild this.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); this.GtkAlignment8.BorderWidth = ((uint)(6)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.mostraPlacar = new global::Gtk.CheckButton (); this.mostraPlacar.CanFocus = true; this.mostraPlacar.Name = "mostraPlacar"; this.mostraPlacar.Label = global::Mono.Unix.Catalog.GetString ("Exibir placar"); this.mostraPlacar.Active = true; this.mostraPlacar.DrawIndicator = true; this.mostraPlacar.UseUnderline = true; this.mostraPlacar.FocusOnClick = false; this.GtkAlignment8.Add (this.mostraPlacar); this.frame7.Add (this.GtkAlignment8); this.GtkLabel18 = new global::Gtk.Label (); this.GtkLabel18.Name = "GtkLabel18"; this.GtkLabel18.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Placar</b>"); this.GtkLabel18.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel18; this.vbox1.Add (this.frame7); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame7])); w28.Position = 6; w28.Expand = false; w28.Fill = false; w1.Add (this.vbox1); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox1])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame8 = new global::Gtk.Frame (); this.frame8.Name = "frame8"; this.frame8.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame8.Gtk.Container+ContainerChild this.GtkAlignment9 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment9.Name = "GtkAlignment9"; this.GtkAlignment9.LeftPadding = ((uint)(12)); this.GtkAlignment9.BorderWidth = ((uint)(6)); // Container child GtkAlignment9.Gtk.Container+ContainerChild this.tocaSons = new global::Gtk.CheckButton (); this.tocaSons.CanFocus = true; this.tocaSons.Name = "tocaSons"; this.tocaSons.Label = global::Mono.Unix.Catalog.GetString ("Reproduzir sons"); this.tocaSons.Active = true; this.tocaSons.DrawIndicator = true; this.tocaSons.UseUnderline = true; this.tocaSons.FocusOnClick = false; this.GtkAlignment9.Add (this.tocaSons); this.frame8.Add (this.GtkAlignment9); this.GtkLabel21 = new global::Gtk.Label (); this.GtkLabel21.Name = "GtkLabel21"; this.GtkLabel21.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Sons</b>"); this.GtkLabel21.UseMarkup = true; this.frame8.LabelWidget = this.GtkLabel21; w1.Add (this.frame8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(w1 [this.frame8])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame9 = new global::Gtk.Frame (); this.frame9.Name = "frame9"; this.frame9.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame9.Gtk.Container+ContainerChild this.GtkAlignment10 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment10.Name = "GtkAlignment10"; this.GtkAlignment10.LeftPadding = ((uint)(12)); this.GtkAlignment10.BorderWidth = ((uint)(6)); // Container child GtkAlignment10.Gtk.Container+ContainerChild this.exibirPonteiro = new global::Gtk.CheckButton (); this.exibirPonteiro.CanFocus = true; this.exibirPonteiro.Name = "exibirPonteiro"; this.exibirPonteiro.Label = global::Mono.Unix.Catalog.GetString ("Exibir ponteiro do mouse"); this.exibirPonteiro.DrawIndicator = true; this.exibirPonteiro.UseUnderline = true; this.exibirPonteiro.FocusOnClick = false; this.GtkAlignment10.Add (this.exibirPonteiro); this.frame9.Add (this.GtkAlignment10); this.GtkLabel23 = new global::Gtk.Label (); this.GtkLabel23.Name = "GtkLabel23"; this.GtkLabel23.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Ponteiro</b>"); this.GtkLabel23.UseMarkup = true; this.frame9.LabelWidget = this.GtkLabel23; w1.Add (this.frame9); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(w1 [this.frame9])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Internal child Pong.Preferencias.ActionArea global::Gtk.HButtonBox w36 = this.ActionArea; w36.Name = "dialog1_ActionArea"; w36.Spacing = 10; w36.BorderWidth = ((uint)(5)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.FocusOnClick = false; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w36 [this.buttonCancel])); w37.Expand = false; w37.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w38 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w36 [this.buttonOk])); w38.Position = 1; w38.Expand = false; w38.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 325; this.DefaultHeight = 728; this.buttonOk.HasDefault = true; this.Show (); this.twoPlayer.Toggled += new global::System.EventHandler (this.OpcaoJogadoresMudou); this.buttonCancel.Clicked += new global::System.EventHandler (this.Cancelar); this.buttonOk.Clicked += new global::System.EventHandler (this.OK); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MyNesGTK.Dialog_Audio this.Name = "MyNesGTK.Dialog_Audio"; this.Title = global::Mono.Unix.Catalog.GetString ("Audio Settings"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("MyNesGTK.resources.sound.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child MyNesGTK.Dialog_Audio.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table (((uint)(9)), ((uint)(2)), true); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button162 = new global::Gtk.Button (); this.button162.CanFocus = true; this.button162.Name = "button162"; this.button162.UseUnderline = true; this.button162.Label = global::Mono.Unix.Catalog.GetString ("Reset to defaults"); this.table1.Add (this.button162); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.button162])); w2.TopAttach = ((uint)(8)); w2.BottomAttach = ((uint)(9)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_dmc = new global::Gtk.CheckButton (); this.checkbutton_dmc.CanFocus = true; this.checkbutton_dmc.Name = "checkbutton_dmc"; this.checkbutton_dmc.Label = global::Mono.Unix.Catalog.GetString ("Channel DMC Enabled"); this.checkbutton_dmc.DrawIndicator = true; this.checkbutton_dmc.UseUnderline = true; this.table1.Add (this.checkbutton_dmc); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_dmc])); w3.TopAttach = ((uint)(7)); w3.BottomAttach = ((uint)(8)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_enablePlayback = new global::Gtk.CheckButton (); this.checkbutton_enablePlayback.CanFocus = true; this.checkbutton_enablePlayback.Name = "checkbutton_enablePlayback"; this.checkbutton_enablePlayback.Label = global::Mono.Unix.Catalog.GetString ("Audio playback enabled"); this.checkbutton_enablePlayback.DrawIndicator = true; this.checkbutton_enablePlayback.UseUnderline = true; this.table1.Add (this.checkbutton_enablePlayback); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_enablePlayback])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_noz = new global::Gtk.CheckButton (); this.checkbutton_noz.CanFocus = true; this.checkbutton_noz.Name = "checkbutton_noz"; this.checkbutton_noz.Label = global::Mono.Unix.Catalog.GetString ("Channel Noise Enabled"); this.checkbutton_noz.DrawIndicator = true; this.checkbutton_noz.UseUnderline = true; this.table1.Add (this.checkbutton_noz); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_noz])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_sq1 = new global::Gtk.CheckButton (); this.checkbutton_sq1.CanFocus = true; this.checkbutton_sq1.Name = "checkbutton_sq1"; this.checkbutton_sq1.Label = global::Mono.Unix.Catalog.GetString ("Channel Square 1 Enabled"); this.checkbutton_sq1.DrawIndicator = true; this.checkbutton_sq1.UseUnderline = true; this.table1.Add (this.checkbutton_sq1); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_sq1])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_sq2 = new global::Gtk.CheckButton (); this.checkbutton_sq2.CanFocus = true; this.checkbutton_sq2.Name = "checkbutton_sq2"; this.checkbutton_sq2.Label = global::Mono.Unix.Catalog.GetString ("Channel Square 2 Enabled"); this.checkbutton_sq2.DrawIndicator = true; this.checkbutton_sq2.UseUnderline = true; this.table1.Add (this.checkbutton_sq2); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_sq2])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton_trl = new global::Gtk.CheckButton (); this.checkbutton_trl.CanFocus = true; this.checkbutton_trl.Name = "checkbutton_trl"; this.checkbutton_trl.Label = global::Mono.Unix.Catalog.GetString ("Channel Triangle Enabled"); this.checkbutton_trl.DrawIndicator = true; this.checkbutton_trl.UseUnderline = true; this.table1.Add (this.checkbutton_trl); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbutton_trl])); w8.TopAttach = ((uint)(6)); w8.BottomAttach = ((uint)(7)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.combobox_fequency = global::Gtk.ComboBox.NewText (); this.combobox_fequency.AppendText (global::Mono.Unix.Catalog.GetString ("44100")); this.combobox_fequency.AppendText (global::Mono.Unix.Catalog.GetString ("48000")); this.combobox_fequency.Name = "combobox_fequency"; this.combobox_fequency.Active = 0; this.table1.Add (this.combobox_fequency); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.combobox_fequency])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscale_volume = new global::Gtk.HScale (null); this.hscale_volume.CanFocus = true; this.hscale_volume.Name = "hscale_volume"; this.hscale_volume.Adjustment.Upper = 100D; this.hscale_volume.Adjustment.PageIncrement = 10D; this.hscale_volume.Adjustment.StepIncrement = 1D; this.hscale_volume.Adjustment.Value = 100D; this.hscale_volume.DrawValue = true; this.hscale_volume.Digits = 0; this.hscale_volume.ValuePos = ((global::Gtk.PositionType)(2)); this.table1.Add (this.hscale_volume); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscale_volume])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); 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.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Volume"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Frequency"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add (this.table1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Internal child MyNesGTK.Dialog_Audio.ActionArea global::Gtk.HButtonBox w14 = this.ActionArea; w14.Name = "dialog1_ActionArea"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonCancel])); w15.Expand = false; w15.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 456; this.DefaultHeight = 475; this.Show (); this.button162.Pressed += new global::System.EventHandler (this.OnButton162Pressed); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget EliAssaltoAnfibio.MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.SImulazioneAction = new global::Gtk.Action("SImulazioneAction", "SImulazione", null, null); this.SImulazioneAction.ShortLabel = "SImulazione"; w1.Add(this.SImulazioneAction, null); this.StartAction = new global::Gtk.Action("StartAction", "Start", null, null); this.StartAction.ShortLabel = "Start"; w1.Add(this.StartAction, null); this.ResetAction = new global::Gtk.Action("ResetAction", "Reset", null, null); this.ResetAction.ShortLabel = "Reset"; w1.Add(this.ResetAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", "Quit", null, null); this.QuitAction.ShortLabel = "Quit"; w1.Add(this.QuitAction, null); this.MenuSimulazioneAction = new global::Gtk.Action("MenuSimulazioneAction", "Menu Simulazione", null, null); this.MenuSimulazioneAction.ShortLabel = "Simulazione"; w1.Add(this.MenuSimulazioneAction, null); this.StartAction1 = new global::Gtk.Action("StartAction1", "Start", null, null); this.StartAction1.ShortLabel = "Start"; w1.Add(this.StartAction1, null); this.ResetAction1 = new global::Gtk.Action("ResetAction1", "Reset", null, null); this.ResetAction1.ShortLabel = "Reset"; w1.Add(this.ResetAction1, null); this.QuitAction1 = new global::Gtk.Action("QuitAction1", "Quit", null, null); this.QuitAction1.ShortLabel = "Quit"; w1.Add(this.QuitAction1, null); this.VisualizzaAction = new global::Gtk.Action("VisualizzaAction", "Visualizza", null, null); this.VisualizzaAction.ShortLabel = "Visualizza"; w1.Add(this.VisualizzaAction, null); this.informationWindowAction = new global::Gtk.Action("informationWindowAction", "information window ", null, null); this.informationWindowAction.ShortLabel = "information window "; w1.Add(this.informationWindowAction, null); this.onAction = new global::Gtk.RadioAction("onAction", "on", null, null, 0); this.onAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.onAction.ShortLabel = "on"; w1.Add(this.onAction, null); this.offAction = new global::Gtk.RadioAction("offAction", "off", null, null, 0); this.offAction.Group = this.onAction.Group; this.offAction.ShortLabel = "off"; w1.Add(this.offAction, null); this.OpzioniSimulazioneAction = new global::Gtk.Action("OpzioniSimulazioneAction", "Opzioni simulazione", null, null); this.OpzioniSimulazioneAction.ShortLabel = "Opzioni simulazione"; w1.Add(this.OpzioniSimulazioneAction, null); this.giornoNotteAction = new global::Gtk.Action("giornoNotteAction", "giorno/notte", null, null); this.giornoNotteAction.ShortLabel = "giorno/notte"; w1.Add(this.giornoNotteAction, null); this.giornoAction = new global::Gtk.RadioAction("giornoAction", "giorno", null, null, 0); this.giornoAction.Group = this.offAction.Group; this.giornoAction.ShortLabel = "giorno"; w1.Add(this.giornoAction, null); this.giornoAction2 = new global::Gtk.RadioAction("giornoAction2", "giorno", null, null, 0); this.giornoAction2.Group = this.offAction.Group; this.giornoAction2.ShortLabel = "notte"; w1.Add(this.giornoAction2, null); this.notteAction = new global::Gtk.RadioAction("notteAction", "notte", null, null, 0); this.notteAction.Group = this.giornoAction2.Group; this.notteAction.ShortLabel = "notte"; w1.Add(this.notteAction, null); this.giornoNotteAction1 = new global::Gtk.Action("giornoNotteAction1", "giorno/notte", null, null); this.giornoNotteAction1.ShortLabel = "giorno/notte"; w1.Add(this.giornoNotteAction1, null); this.giornoAction3 = new global::Gtk.RadioAction("giornoAction3", "giorno", null, null, 0); this.giornoAction3.Group = this.giornoAction2.Group; this.giornoAction3.ShortLabel = "giorno"; w1.Add(this.giornoAction3, null); this.notteAction1 = new global::Gtk.RadioAction("notteAction1", "notte", null, null, 0); this.notteAction1.Group = this.giornoAction2.Group; this.notteAction1.ShortLabel = "notte"; w1.Add(this.notteAction1, null); this.KKAction = new global::Gtk.RadioAction("KKAction", "KK", null, null, 0); this.KKAction.Group = this.giornoAction2.Group; this.KKAction.ShortLabel = "KK"; w1.Add(this.KKAction, null); this.giornoNotteAction2 = new global::Gtk.Action("giornoNotteAction2", "giorno/notte", null, null); this.giornoNotteAction2.ShortLabel = "GIORNO/NOTTE"; w1.Add(this.giornoNotteAction2, null); this.giornoAction4 = new global::Gtk.RadioAction("giornoAction4", "giorno", null, null, 0); this.giornoAction4.Group = this.giornoAction2.Group; this.giornoAction4.ShortLabel = "giorno"; w1.Add(this.giornoAction4, null); this.notteAction2 = new global::Gtk.RadioAction("notteAction2", "notte", null, null, 0); this.notteAction2.Group = this.giornoAction2.Group; this.notteAction2.ShortLabel = "notte"; w1.Add(this.notteAction2, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "EliAssaltoAnfibio.MainWindow"; this.Title = "INITIAL SETUP"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child EliAssaltoAnfibio.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.hseparator11 = new global::Gtk.HSeparator(); this.hseparator11.Name = "hseparator11"; this.vbox1.Add(this.hseparator11); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator11])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar3'><menu name='MenuSimulazioneAction' action='MenuSimulazioneAction'><menuitem name='StartAction1' action='StartAction1'/><menuitem name='ResetAction1' action='ResetAction1'/><menuitem name='QuitAction1' action='QuitAction1'/></menu><menu name='VisualizzaAction' action='VisualizzaAction'><menu name='informationWindowAction' action='informationWindowAction'><menuitem name='onAction' action='onAction'/><menuitem name='offAction' action='offAction'/></menu></menu><menu name='OpzioniSimulazioneAction' action='OpzioniSimulazioneAction'><menu name='giornoNotteAction2' action='giornoNotteAction2'><menuitem name='giornoAction4' action='giornoAction4'/><menuitem name='notteAction2' action='notteAction2'/></menu></menu></menubar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox3.Add(this.menubar3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.menubar3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator12 = new global::Gtk.HSeparator(); this.hseparator12.Name = "hseparator12"; this.vbox3.Add(this.hseparator12); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator12])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.WidthRequest = 100; this.label1.Name = "label1"; this.label1.LabelProp = "ELICOTTERI"; this.label1.Wrap = true; this.hbox2.Add(this.label1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1])); w5.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.TooltipMarkup = "INSERISCI IL NUMERO DI ELICOTTERI CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETT" + "ATO IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 1D; this.hscale1.Adjustment.Upper = 10D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.PageSize = 1D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 1D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.hscale1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale1])); w6.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.WidthRequest = 100; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = "CONFERMA"; this.hbox6.Add(this.button1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button1])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button(); this.button5.WidthRequest = 90; this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = "OPZIONI"; this.hbox6.Add(this.button5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button5])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseUnderline = true; this.button10.Label = "VISUALIZZA ELENCO"; this.hbox6.Add(this.button10); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button10])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.hbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox6])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox6.Add(this.hbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbox6.Add(this.hseparator6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hseparator6])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.WidthRequest = 100; this.label2.Name = "label2"; this.label2.LabelProp = "TRUPPE"; this.label2.Wrap = true; this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w13.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.TooltipMarkup = "INSERISCI IL NUMERO DI TRUPPE CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO " + "IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1D; this.hscale2.Adjustment.Upper = 500D; this.hscale2.Adjustment.PageIncrement = 10D; this.hscale2.Adjustment.StepIncrement = 1D; this.hscale2.Adjustment.Value = 1D; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.hscale2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hscale2])); w14.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.WidthRequest = 100; this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = "CONFERMA"; this.hbox7.Add(this.button2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.button6 = new global::Gtk.Button(); this.button6.WidthRequest = 90; this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = "OPZIONI"; this.hbox7.Add(this.button6); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button6])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox1.Add(this.hbox7); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hbox7])); w17.Position = 2; w17.Expand = false; w17.Fill = false; this.vbox6.Add(this.hbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox1])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox5.Add(this.vbox6); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vbox6])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox5.Add(this.hseparator5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator5])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.WidthRequest = 100; this.label3.Name = "label3"; this.label3.LabelProp = "ALTRO CARGO"; this.label3.Wrap = true; this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3])); w21.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.hscale3 = new global::Gtk.HScale(null); this.hscale3.TooltipMarkup = "INSERISCI IL NUMERO DI ELEMENTI CARGO CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA C" + "CETTATO IL NUMERO NON PUO\' ESSERE CAMBIATO"; this.hscale3.CanFocus = true; this.hscale3.Name = "hscale3"; this.hscale3.Adjustment.Upper = 10D; this.hscale3.Adjustment.PageIncrement = 10D; this.hscale3.Adjustment.StepIncrement = 1D; this.hscale3.DrawValue = true; this.hscale3.Digits = 0; this.hscale3.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox3.Add(this.hscale3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hscale3])); w22.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.WidthRequest = 100; this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = "CONFERMA"; this.hbox8.Add(this.button3); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button3])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.button7 = new global::Gtk.Button(); this.button7.WidthRequest = 90; this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseUnderline = true; this.button7.Label = "OPZIONI"; this.hbox8.Add(this.button7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button7])); w24.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.button14 = new global::Gtk.Button(); this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseUnderline = true; this.button14.Label = "VISUALIZZA ELENCO"; this.hbox8.Add(this.button14); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button14])); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.hbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox8])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox5.Add(this.hbox3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox3])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.vbox5); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w28.Position = 2; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox3.Add(this.hseparator3); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator3])); w29.Position = 3; w29.Expand = false; w29.Fill = false; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w30.Position = 1; w30.Expand = false; w30.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 100; this.label4.HeightRequest = 0; this.label4.Name = "label4"; this.label4.LabelProp = "DISTANZA LANDING ZONE"; this.label4.Wrap = true; this.hbox4.Add(this.label4); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label4])); w31.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hscale4 = new global::Gtk.HScale(null); this.hscale4.TooltipMarkup = "INSERIRE LA DISTANZA DALLA LZ IN LINEA D\'ARIA"; this.hscale4.CanFocus = true; this.hscale4.Name = "hscale4"; this.hscale4.Adjustment.Lower = 15D; this.hscale4.Adjustment.Upper = 100D; this.hscale4.Adjustment.PageIncrement = 10D; this.hscale4.Adjustment.StepIncrement = 1D; this.hscale4.Adjustment.Value = 50D; this.hscale4.DrawValue = true; this.hscale4.Digits = 0; this.hscale4.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox4.Add(this.hscale4); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hscale4])); w32.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.WidthRequest = 100; this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = "CONFERMA"; this.hbox9.Add(this.button4); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.button4])); w33.Position = 0; w33.Expand = false; w33.Fill = false; this.hbox4.Add(this.hbox9); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox9])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.vbox4.Add(this.hbox4); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator10 = new global::Gtk.HSeparator(); this.hseparator10.Name = "hseparator10"; this.vbox4.Add(this.hseparator10); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator10])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Homogeneous = true; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.WidthRequest = 100; this.label11.Name = "label11"; this.label11.LabelProp = "SPOT DISPONIBILI"; this.label11.Wrap = true; this.label11.Justify = ((global::Gtk.Justification)(2)); this.label11.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox10.Add(this.label11); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.label11])); w37.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.hscale5 = new global::Gtk.HScale(null); this.hscale5.TooltipMarkup = "INSERISCI GLI SPOT CHE PARTECIPANO ALL\'OPERAZIONE, UNA VOLTA CCETTATO IL NUMERO N" + "ON PUO\' ESSERE CAMBIATO"; this.hscale5.CanFocus = true; this.hscale5.Name = "hscale5"; this.hscale5.Adjustment.Lower = 1D; this.hscale5.Adjustment.Upper = 8D; this.hscale5.Adjustment.PageIncrement = 10D; this.hscale5.Adjustment.StepIncrement = 1D; this.hscale5.Adjustment.Value = 1D; this.hscale5.DrawValue = true; this.hscale5.Digits = 0; this.hscale5.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox10.Add(this.hscale5); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hscale5])); w38.Position = 1; // Container child hbox10.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.button12 = new global::Gtk.Button(); this.button12.WidthRequest = 100; this.button12.CanFocus = true; this.button12.Name = "button12"; this.button12.UseUnderline = true; this.button12.Label = "CONFERMA"; this.hbox11.Add(this.button12); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button12])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.button11 = new global::Gtk.Button(); this.button11.WidthRequest = 90; this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseUnderline = true; this.button11.Label = "OPZIONI"; this.hbox11.Add(this.button11); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button11])); w40.Position = 1; // Container child hbox11.Gtk.Box+BoxChild this.button16 = new global::Gtk.Button(); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; this.button16.Label = "VISUALIZZA ELENCO"; this.hbox11.Add(this.button16); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button16])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.hbox10.Add(this.hbox11); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.hbox11])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.vbox4.Add(this.hbox10); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox10])); w43.Position = 2; w43.Expand = false; w43.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbox4.Add(this.hseparator4); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator4])); w44.Position = 3; w44.Expand = false; w44.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.HeightRequest = 60; this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox(); this.hbox13.HeightRequest = 50; this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.TooltipMarkup = "INIZIA LA SIMULAZIONE"; this.button9.WidthRequest = 150; this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; this.button9.Label = "START"; this.hbox13.Add(this.button9); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.button9])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox(); this.hbox14.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 170; this.label5.Name = "label5"; this.label5.LabelProp = "ELI"; this.label5.Wrap = true; this.label5.Justify = ((global::Gtk.Justification)(2)); this.label5.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label5); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label5])); w46.Position = 0; // Container child hbox14.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 170; this.label6.Name = "label6"; this.label6.LabelProp = "TRUPPE"; this.label6.Wrap = true; this.label6.Justify = ((global::Gtk.Justification)(3)); this.label6.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.hbox14.Add(this.label6); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label6])); w47.Position = 1; w47.Expand = false; w47.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.WidthRequest = 170; this.label7.Name = "label7"; this.label7.LabelProp = "ALTRO CARGO"; this.label7.Wrap = true; this.label7.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label7); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label7])); w48.Position = 2; w48.Expand = false; w48.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.WidthRequest = 170; this.label8.Name = "label8"; this.label8.LabelProp = "DISTANZA"; this.label8.Wrap = true; this.label8.Justify = ((global::Gtk.Justification)(2)); this.label8.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label8); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label8])); w49.Position = 3; w49.Expand = false; w49.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.WidthRequest = 170; this.label12.Name = "label12"; this.label12.LabelProp = "SPOT"; this.label12.Wrap = true; this.label12.Justify = ((global::Gtk.Justification)(2)); this.label12.Ellipsize = ((global::Pango.EllipsizeMode)(2)); this.hbox14.Add(this.label12); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label12])); w50.Position = 4; w50.Expand = false; w50.Fill = false; this.hbox13.Add(this.hbox14); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.hbox14])); w51.Position = 1; w51.Fill = false; this.vbox7.Add(this.hbox13); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox13])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hseparator7 = new global::Gtk.HSeparator(); this.hseparator7.Name = "hseparator7"; this.vbox7.Add(this.hseparator7); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hseparator7])); w53.Position = 1; w53.Expand = false; w53.Fill = false; this.vbox4.Add(this.vbox7); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox7])); w54.PackType = ((global::Gtk.PackType)(1)); w54.Position = 4; w54.Expand = false; w54.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w55.Position = 2; w55.Expand = false; w55.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1203; this.DefaultHeight = 418; this.label11.MnemonicWidget = this.button10; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.StartAction1.Activated += new global::System.EventHandler(this.OnStartAction1Activated); this.ResetAction1.Activated += new global::System.EventHandler(this.OnResetAction1Activated); this.QuitAction1.Activated += new global::System.EventHandler(this.OnQuitAction1Activated); this.onAction.Toggled += new global::System.EventHandler(this.OnOnActionToggled); this.offAction.Toggled += new global::System.EventHandler(this.OnOffActionToggled); this.giornoAction2.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated); this.notteAction.Activated += new global::System.EventHandler(this.OnNotteActionActivated); this.giornoAction4.Activated += new global::System.EventHandler(this.OnGiornoAction2Activated); this.notteAction2.Activated += new global::System.EventHandler(this.OnNotteActionActivated); this.button1.Released += new global::System.EventHandler(this.OnButton1Released); this.button5.Released += new global::System.EventHandler(this.OnButton5Released); this.button10.Released += new global::System.EventHandler(this.OnButton10Released); this.button2.Released += new global::System.EventHandler(this.OnButton2Released); this.button6.Released += new global::System.EventHandler(this.OnButton6Released); this.button3.Released += new global::System.EventHandler(this.OnButton3Released); this.button7.Released += new global::System.EventHandler(this.OnButton7Released); this.button14.Released += new global::System.EventHandler(this.OnButton14Released); this.button4.Released += new global::System.EventHandler(this.OnButton4Released); this.button12.Released += new global::System.EventHandler(this.OnButton12Released); this.button11.Released += new global::System.EventHandler(this.OnButton11Released); this.button16.Released += new global::System.EventHandler(this.OnButton16Released); this.button9.Released += new global::System.EventHandler(this.OnButton9Released); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.WidthRequest = 570; this.HeightRequest = 355; this.Name = "MainWindow"; this.Title = "MonoBrick Remote"; this.Icon = global::Gdk.Pixbuf.LoadFromResource ("PCRemote.monobrickIcon64.png"); this.TypeHint = ((global::Gdk.WindowTypeHint)(7)); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.image4 = new global::Gtk.Image (); this.image4.Name = "image4"; this.image4.Xalign = 0F; this.image4.Yalign = 0F; this.image4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("PCRemote.header.png"); this.vbox4.Add (this.image4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.image4])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.Pages = new global::Gtk.Notebook (); this.Pages.CanFocus = true; this.Pages.Name = "Pages"; this.Pages.CurrentPage = 1; this.Pages.EnablePopup = true; this.Pages.TabPos = ((global::Gtk.PositionType)(1)); this.Pages.ShowBorder = false; this.Pages.BorderWidth = ((uint)(6)); // Container child Pages.Gtk.Notebook+NotebookChild this.connectionContainer = new global::Gtk.Fixed (); this.connectionContainer.Name = "connectionContainer"; this.connectionContainer.HasWindow = false; // Container child connectionContainer.Gtk.Fixed+FixedChild this.brickNameFrame = new global::Gtk.Frame (); this.brickNameFrame.WidthRequest = 220; this.brickNameFrame.HeightRequest = 85; this.brickNameFrame.Name = "brickNameFrame"; // Container child brickNameFrame.Gtk.Container+ContainerChild this.table15 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table15.WidthRequest = 0; this.table15.Name = "table15"; // Container child table15.Gtk.Table+TableChild this.label38 = new global::Gtk.Label (); this.label38.Name = "label38"; this.label38.LabelProp = "Name: "; this.table15.Add (this.label38); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table15 [this.label38])); w2.XPadding = ((uint)(3)); w2.YPadding = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table15.Gtk.Table+TableChild this.setNameButton = new global::Gtk.Button (); this.setNameButton.CanFocus = true; this.setNameButton.Name = "setNameButton"; this.setNameButton.UseUnderline = true; this.setNameButton.Yalign = 1F; this.setNameButton.Label = "Set Name"; this.table15.Add (this.setNameButton); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table15 [this.setNameButton])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XPadding = ((uint)(5)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table15.Gtk.Table+TableChild this.setNameEntry = new global::Gtk.Entry (); this.setNameEntry.WidthRequest = 25; this.setNameEntry.CanFocus = true; this.setNameEntry.Name = "setNameEntry"; this.setNameEntry.Text = "Name..."; this.setNameEntry.IsEditable = true; this.setNameEntry.MaxLength = 15; this.setNameEntry.InvisibleChar = '●'; this.table15.Add (this.setNameEntry); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table15 [this.setNameEntry])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XPadding = ((uint)(12)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table15.Gtk.Table+TableChild this.showBrickNameLabel = new global::Gtk.Label (); this.showBrickNameLabel.WidthRequest = 125; this.showBrickNameLabel.Name = "showBrickNameLabel"; this.showBrickNameLabel.LabelProp = "Some Name"; this.table15.Add (this.showBrickNameLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table15 [this.showBrickNameLabel])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XPadding = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); this.brickNameFrame.Add (this.table15); this.brickNameLabel = new global::Gtk.Label (); this.brickNameLabel.Name = "brickNameLabel"; this.brickNameLabel.LabelProp = "<b>Brick Name</b>"; this.brickNameLabel.UseMarkup = true; this.brickNameFrame.LabelWidget = this.brickNameLabel; this.connectionContainer.Add (this.brickNameFrame); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.connectionContainer [this.brickNameFrame])); w7.X = 260; w7.Y = 10; // Container child connectionContainer.Gtk.Fixed+FixedChild this.connecionFrame = new global::Gtk.Frame (); this.connecionFrame.WidthRequest = 220; this.connecionFrame.HeightRequest = 240; this.connecionFrame.Name = "connecionFrame"; // Container child connecionFrame.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; // Container child vbox5.Gtk.Box+BoxChild this.table5 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.ColumnSpacing = ((uint)(4)); this.table5.BorderWidth = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.bluetoothRadiobutton = new global::Gtk.RadioButton ("Bluetooth"); this.bluetoothRadiobutton.CanFocus = true; this.bluetoothRadiobutton.Name = "bluetoothRadiobutton"; this.bluetoothRadiobutton.DrawIndicator = true; this.bluetoothRadiobutton.UseUnderline = true; this.bluetoothRadiobutton.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.table5.Add (this.bluetoothRadiobutton); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table5 [this.bluetoothRadiobutton])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.comportCombobox = global::Gtk.ComboBox.NewText (); this.comportCombobox.WidthRequest = 110; this.comportCombobox.HeightRequest = 30; this.comportCombobox.Name = "comportCombobox"; this.table5.Add (this.comportCombobox); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table5 [this.comportCombobox])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hbuttonbox13 = new global::Gtk.HButtonBox (); this.hbuttonbox13.Name = "hbuttonbox13"; this.table5.Add (this.hbuttonbox13); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table5 [this.hbuttonbox13])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.hbuttonbox14 = new global::Gtk.HButtonBox (); this.hbuttonbox14.Name = "hbuttonbox14"; this.table5.Add (this.hbuttonbox14); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table5 [this.hbuttonbox14])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.ipAddressLabel = new global::Gtk.Label (); this.ipAddressLabel.WidthRequest = 80; this.ipAddressLabel.Name = "ipAddressLabel"; this.ipAddressLabel.Xalign = 1F; this.ipAddressLabel.LabelProp = "Address: "; this.ipAddressLabel.Justify = ((global::Gtk.Justification)(2)); this.table5.Add (this.ipAddressLabel); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table5 [this.ipAddressLabel])); w12.TopAttach = ((uint)(4)); w12.BottomAttach = ((uint)(5)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.ipEntry = new global::Gtk.Entry (); this.ipEntry.WidthRequest = 110; this.ipEntry.CanFocus = true; this.ipEntry.Name = "ipEntry"; this.ipEntry.Text = "192.168.1.43"; this.ipEntry.IsEditable = true; this.ipEntry.InvisibleChar = '●'; this.table5.Add (this.ipEntry); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table5 [this.ipEntry])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.networkRadiobutton = new global::Gtk.RadioButton ("Network"); this.networkRadiobutton.CanFocus = true; this.networkRadiobutton.Name = "networkRadiobutton"; this.networkRadiobutton.DrawIndicator = true; this.networkRadiobutton.UseUnderline = true; this.networkRadiobutton.Group = this.bluetoothRadiobutton.Group; this.table5.Add (this.networkRadiobutton); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table5 [this.networkRadiobutton])); w14.TopAttach = ((uint)(2)); w14.BottomAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.portLabel = new global::Gtk.Label (); this.portLabel.Name = "portLabel"; this.portLabel.LabelProp = "Port:"; this.portLabel.Justify = ((global::Gtk.Justification)(2)); this.table5.Add (this.portLabel); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table5 [this.portLabel])); w15.TopAttach = ((uint)(5)); w15.BottomAttach = ((uint)(6)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.portSpinbutton = new global::Gtk.SpinButton (0, 49152, 1); this.portSpinbutton.WidthRequest = 110; this.portSpinbutton.CanFocus = true; this.portSpinbutton.Name = "portSpinbutton"; this.portSpinbutton.Adjustment.PageIncrement = 10; this.portSpinbutton.ClimbRate = 1; this.portSpinbutton.Numeric = true; this.portSpinbutton.Value = 1500; this.table5.Add (this.portSpinbutton); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table5 [this.portSpinbutton])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.USBRadiobutton = new global::Gtk.RadioButton ("USB"); this.USBRadiobutton.CanFocus = true; this.USBRadiobutton.Name = "USBRadiobutton"; this.USBRadiobutton.DrawIndicator = true; this.USBRadiobutton.UseUnderline = true; this.USBRadiobutton.Group = this.bluetoothRadiobutton.Group; this.table5.Add (this.USBRadiobutton); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table5 [this.USBRadiobutton])); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.waitForConnectioncheckbutton = new global::Gtk.CheckButton (); this.waitForConnectioncheckbutton.CanFocus = true; this.waitForConnectioncheckbutton.Name = "waitForConnectioncheckbutton"; this.waitForConnectioncheckbutton.Label = "Wait for connection"; this.waitForConnectioncheckbutton.DrawIndicator = true; this.waitForConnectioncheckbutton.UseUnderline = true; this.table5.Add (this.waitForConnectioncheckbutton); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table5 [this.waitForConnectioncheckbutton])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(0)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add (this.table5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table5])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox17 = new global::Gtk.HBox (); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.connectButton = new global::Gtk.Button (); this.connectButton.CanFocus = true; this.connectButton.Name = "connectButton"; this.connectButton.UseUnderline = true; this.connectButton.Label = "Connect"; this.hbox17.Add (this.connectButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.connectButton])); w20.Position = 0; w20.Expand = false; w20.Fill = false; w20.Padding = ((uint)(17)); // Container child hbox17.Gtk.Box+BoxChild this.disconnectButton = new global::Gtk.Button (); this.disconnectButton.WidthRequest = 95; this.disconnectButton.HeightRequest = 25; this.disconnectButton.CanFocus = true; this.disconnectButton.Name = "disconnectButton"; this.disconnectButton.UseUnderline = true; this.disconnectButton.Label = "Disconnect"; this.hbox17.Add (this.disconnectButton); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox17 [this.disconnectButton])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbox5.Add (this.hbox17); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox17])); w22.Position = 1; w22.Expand = false; w22.Fill = false; w22.Padding = ((uint)(10)); this.connecionFrame.Add (this.vbox5); this.connectionLabel = new global::Gtk.Label (); this.connectionLabel.Name = "connectionLabel"; this.connectionLabel.LabelProp = "<b>Connection</b>"; this.connectionLabel.UseMarkup = true; this.connecionFrame.LabelWidget = this.connectionLabel; this.connectionContainer.Add (this.connecionFrame); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.connectionContainer [this.connecionFrame])); w24.X = 20; w24.Y = 10; // Container child connectionContainer.Gtk.Fixed+FixedChild this.deviceInfoFrame = new global::Gtk.Frame (); this.deviceInfoFrame.WidthRequest = 220; this.deviceInfoFrame.HeightRequest = 155; this.deviceInfoFrame.Name = "deviceInfoFrame"; // Container child deviceInfoFrame.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Homogeneous = true; this.vbox2.BorderWidth = ((uint)(1)); // Container child vbox2.Gtk.Box+BoxChild this.hbox18 = new global::Gtk.HBox (); this.hbox18.WidthRequest = 30; this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 6; // Container child hbox18.Gtk.Box+BoxChild this.label15 = new global::Gtk.Label (); this.label15.Name = "label15"; this.label15.Xpad = 4; this.label15.Ypad = 2; this.label15.LabelProp = "Firmware version:"; this.hbox18.Add (this.label15); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.label15])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.hbuttonbox7 = new global::Gtk.HButtonBox (); this.hbuttonbox7.Name = "hbuttonbox7"; this.hbox18.Add (this.hbuttonbox7); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.hbuttonbox7])); w26.Position = 1; // Container child hbox18.Gtk.Box+BoxChild this.firmwareLabel = new global::Gtk.Label (); this.firmwareLabel.Name = "firmwareLabel"; this.firmwareLabel.LabelProp = "1.06"; this.hbox18.Add (this.firmwareLabel); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox18 [this.firmwareLabel])); w27.Position = 2; w27.Padding = ((uint)(6)); this.vbox2.Add (this.hbox18); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox18])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox (); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.label14 = new global::Gtk.Label (); this.label14.Name = "label14"; this.label14.Xpad = 4; this.label14.Xalign = 0F; this.label14.Yalign = 0F; this.label14.LabelProp = "Free Flash:"; this.hbox19.Add (this.label14); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.label14])); w29.Position = 0; w29.Expand = false; w29.Fill = false; w29.Padding = ((uint)(2)); // Container child hbox19.Gtk.Box+BoxChild this.hbuttonbox10 = new global::Gtk.HButtonBox (); this.hbuttonbox10.WidthRequest = 2; this.hbuttonbox10.Name = "hbuttonbox10"; this.hbox19.Add (this.hbuttonbox10); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.hbuttonbox10])); w30.Position = 1; // Container child hbox19.Gtk.Box+BoxChild this.freeFlashLabel = new global::Gtk.Label (); this.freeFlashLabel.Name = "freeFlashLabel"; this.freeFlashLabel.LabelProp = "123456 bytes"; this.hbox19.Add (this.freeFlashLabel); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox19 [this.freeFlashLabel])); w31.Position = 2; w31.Padding = ((uint)(12)); this.vbox2.Add (this.hbox19); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox19])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox20 = new global::Gtk.HBox (); this.hbox20.Name = "hbox20"; this.hbox20.Spacing = 6; // Container child hbox20.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label (); this.label20.Name = "label20"; this.label20.Xpad = 4; this.label20.Ypad = 4; this.label20.LabelProp = "Addr:"; this.hbox20.Add (this.label20); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox20 [this.label20])); w33.Position = 0; w33.Expand = false; w33.Fill = false; w33.Padding = ((uint)(2)); // Container child hbox20.Gtk.Box+BoxChild this.hbuttonbox18 = new global::Gtk.HButtonBox (); this.hbuttonbox18.Name = "hbuttonbox18"; this.hbox20.Add (this.hbuttonbox18); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox20 [this.hbuttonbox18])); w34.Position = 1; // Container child hbox20.Gtk.Box+BoxChild this.bluetoothAddressLabel = new global::Gtk.Label (); this.bluetoothAddressLabel.Name = "bluetoothAddressLabel"; this.bluetoothAddressLabel.Xalign = 1F; this.bluetoothAddressLabel.LabelProp = "45:45:45:45:45:45"; this.hbox20.Add (this.bluetoothAddressLabel); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox20 [this.bluetoothAddressLabel])); w35.Position = 2; w35.Expand = false; w35.Padding = ((uint)(13)); this.vbox2.Add (this.hbox20); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox20])); w36.Position = 2; w36.Expand = false; w36.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox21 = new global::Gtk.HBox (); this.hbox21.Name = "hbox21"; this.hbox21.Spacing = 6; // Container child hbox21.Gtk.Box+BoxChild this.label16 = new global::Gtk.Label (); this.label16.Name = "label16"; this.label16.Xpad = 4; this.label16.LabelProp = "Battery:"; this.hbox21.Add (this.label16); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.label16])); w37.Position = 0; w37.Expand = false; w37.Fill = false; w37.Padding = ((uint)(2)); // Container child hbox21.Gtk.Box+BoxChild this.hbuttonbox15 = new global::Gtk.HButtonBox (); this.hbuttonbox15.Name = "hbuttonbox15"; this.hbox21.Add (this.hbuttonbox15); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.hbuttonbox15])); w38.Position = 1; // Container child hbox21.Gtk.Box+BoxChild this.batteryProgressbar = new global::Gtk.ProgressBar (); this.batteryProgressbar.WidthRequest = 120; this.batteryProgressbar.Name = "batteryProgressbar"; this.batteryProgressbar.Text = "4567 mV"; this.hbox21.Add (this.batteryProgressbar); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.batteryProgressbar])); w39.Position = 2; // Container child hbox21.Gtk.Box+BoxChild this.hbuttonbox17 = new global::Gtk.HButtonBox (); this.hbuttonbox17.Name = "hbuttonbox17"; this.hbox21.Add (this.hbuttonbox17); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox21 [this.hbuttonbox17])); w40.Position = 3; this.vbox2.Add (this.hbox21); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox21])); w41.Position = 3; w41.Expand = false; w41.Fill = false; this.deviceInfoFrame.Add (this.vbox2); this.deviceInformationLabel = new global::Gtk.Label (); this.deviceInformationLabel.Name = "deviceInformationLabel"; this.deviceInformationLabel.LabelProp = "<b>Device Infomation</b>"; this.deviceInformationLabel.UseMarkup = true; this.deviceInfoFrame.LabelWidget = this.deviceInformationLabel; this.connectionContainer.Add (this.deviceInfoFrame); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.connectionContainer [this.deviceInfoFrame])); w43.X = 260; w43.Y = 95; this.Pages.Add (this.connectionContainer); global::Gtk.Notebook.NotebookChild w44 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.connectionContainer])); w44.TabFill = false; // Notebook tab this.brickLabel = new global::Gtk.Label (); this.brickLabel.Name = "brickLabel"; this.brickLabel.LabelProp = "Brick"; this.Pages.SetTabLabel (this.connectionContainer, this.brickLabel); this.brickLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.sensorContainer = new global::Gtk.Fixed (); this.sensorContainer.Name = "sensorContainer"; this.sensorContainer.HasWindow = false; // Container child sensorContainer.Gtk.Fixed+FixedChild this.frame1 = new global::Gtk.Frame (); this.frame1.WidthRequest = 225; this.frame1.HeightRequest = 90; this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Homogeneous = true; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.sensor1Combobox = global::Gtk.ComboBox.NewText (); this.sensor1Combobox.AppendText ("NXT Light Inactive Pct"); this.sensor1Combobox.WidthRequest = 205; this.sensor1Combobox.HeightRequest = 30; this.sensor1Combobox.Name = "sensor1Combobox"; this.sensor1Combobox.Active = 0; this.hbox1.Add (this.sensor1Combobox); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.sensor1Combobox])); w45.Position = 0; w45.Expand = false; w45.Fill = false; w45.Padding = ((uint)(5)); this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 8; // Container child hbox2.Gtk.Box+BoxChild this.readSensor1Button = new global::Gtk.Button (); this.readSensor1Button.WidthRequest = 60; this.readSensor1Button.CanFocus = true; this.readSensor1Button.Name = "readSensor1Button"; this.readSensor1Button.UseUnderline = true; this.readSensor1Button.Label = "Read"; this.hbox2.Add (this.readSensor1Button); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.readSensor1Button])); w47.Position = 0; w47.Expand = false; w47.Fill = false; w47.Padding = ((uint)(4)); // Container child hbox2.Gtk.Box+BoxChild this.sensor1ValueEntry = new global::Gtk.Entry (); this.sensor1ValueEntry.WidthRequest = 130; this.sensor1ValueEntry.CanFocus = true; this.sensor1ValueEntry.Name = "sensor1ValueEntry"; this.sensor1ValueEntry.IsEditable = false; this.sensor1ValueEntry.InvisibleChar = '●'; this.hbox2.Add (this.sensor1ValueEntry); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.sensor1ValueEntry])); w48.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.hbuttonbox11 = new global::Gtk.HButtonBox (); this.hbuttonbox11.Name = "hbuttonbox11"; this.hbox2.Add (this.hbuttonbox11); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbuttonbox11])); w49.Position = 2; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w50.Position = 1; w50.Expand = false; w50.Fill = false; this.frame1.Add (this.vbox1); this.GtkLabel10 = new global::Gtk.Label (); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = "<b>Sensor 1</b>"; this.GtkLabel10.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel10; this.sensorContainer.Add (this.frame1); global::Gtk.Fixed.FixedChild w52 = ((global::Gtk.Fixed.FixedChild)(this.sensorContainer [this.frame1])); w52.X = 20; w52.Y = 10; // Container child sensorContainer.Gtk.Fixed+FixedChild this.frame2 = new global::Gtk.Frame (); this.frame2.WidthRequest = 225; this.frame2.HeightRequest = 90; this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.vbox12 = new global::Gtk.VBox (); this.vbox12.Name = "vbox12"; this.vbox12.Homogeneous = true; // Container child vbox12.Gtk.Box+BoxChild this.hbox22 = new global::Gtk.HBox (); this.hbox22.Name = "hbox22"; this.hbox22.Spacing = 6; // Container child hbox22.Gtk.Box+BoxChild this.sensor2Combobox = global::Gtk.ComboBox.NewText (); this.sensor2Combobox.AppendText ("NXT Light Inactive Pct"); this.sensor2Combobox.WidthRequest = 205; this.sensor2Combobox.HeightRequest = 30; this.sensor2Combobox.Name = "sensor2Combobox"; this.sensor2Combobox.Active = 0; this.hbox22.Add (this.sensor2Combobox); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox22 [this.sensor2Combobox])); w53.Position = 0; w53.Expand = false; w53.Fill = false; w53.Padding = ((uint)(5)); this.vbox12.Add (this.hbox22); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.hbox22])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.hbox23 = new global::Gtk.HBox (); this.hbox23.Name = "hbox23"; this.hbox23.Spacing = 8; // Container child hbox23.Gtk.Box+BoxChild this.readSensor2Button = new global::Gtk.Button (); this.readSensor2Button.WidthRequest = 60; this.readSensor2Button.CanFocus = true; this.readSensor2Button.Name = "readSensor2Button"; this.readSensor2Button.UseUnderline = true; this.readSensor2Button.Label = "Read"; this.hbox23.Add (this.readSensor2Button); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox23 [this.readSensor2Button])); w55.Position = 0; w55.Expand = false; w55.Fill = false; w55.Padding = ((uint)(4)); // Container child hbox23.Gtk.Box+BoxChild this.sensor2ValueEntry = new global::Gtk.Entry (); this.sensor2ValueEntry.WidthRequest = 130; this.sensor2ValueEntry.CanFocus = true; this.sensor2ValueEntry.Name = "sensor2ValueEntry"; this.sensor2ValueEntry.IsEditable = false; this.sensor2ValueEntry.InvisibleChar = '●'; this.hbox23.Add (this.sensor2ValueEntry); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox23 [this.sensor2ValueEntry])); w56.Position = 1; // Container child hbox23.Gtk.Box+BoxChild this.hbuttonbox9 = new global::Gtk.HButtonBox (); this.hbuttonbox9.Name = "hbuttonbox9"; this.hbox23.Add (this.hbuttonbox9); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox23 [this.hbuttonbox9])); w57.Position = 2; this.vbox12.Add (this.hbox23); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox12 [this.hbox23])); w58.Position = 1; w58.Expand = false; w58.Fill = false; this.frame2.Add (this.vbox12); this.GtkLabel12 = new global::Gtk.Label (); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = "<b>Sensor 2</b>"; this.GtkLabel12.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel12; this.sensorContainer.Add (this.frame2); global::Gtk.Fixed.FixedChild w60 = ((global::Gtk.Fixed.FixedChild)(this.sensorContainer [this.frame2])); w60.X = 20; w60.Y = 100; // Container child sensorContainer.Gtk.Fixed+FixedChild this.frame3 = new global::Gtk.Frame (); this.frame3.WidthRequest = 225; this.frame3.HeightRequest = 90; this.frame3.Name = "frame3"; // Container child frame3.Gtk.Container+ContainerChild this.vbox13 = new global::Gtk.VBox (); this.vbox13.Name = "vbox13"; this.vbox13.Homogeneous = true; // Container child vbox13.Gtk.Box+BoxChild this.hbox24 = new global::Gtk.HBox (); this.hbox24.Name = "hbox24"; this.hbox24.Spacing = 6; // Container child hbox24.Gtk.Box+BoxChild this.sensor3Combobox = global::Gtk.ComboBox.NewText (); this.sensor3Combobox.AppendText ("NXT Light Inactive Pct"); this.sensor3Combobox.WidthRequest = 205; this.sensor3Combobox.HeightRequest = 30; this.sensor3Combobox.Name = "sensor3Combobox"; this.sensor3Combobox.Active = 0; this.hbox24.Add (this.sensor3Combobox); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox24 [this.sensor3Combobox])); w61.Position = 0; w61.Expand = false; w61.Fill = false; w61.Padding = ((uint)(5)); this.vbox13.Add (this.hbox24); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox24])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child vbox13.Gtk.Box+BoxChild this.hbox25 = new global::Gtk.HBox (); this.hbox25.Name = "hbox25"; this.hbox25.Spacing = 8; // Container child hbox25.Gtk.Box+BoxChild this.readSensor3Button = new global::Gtk.Button (); this.readSensor3Button.WidthRequest = 60; this.readSensor3Button.CanFocus = true; this.readSensor3Button.Name = "readSensor3Button"; this.readSensor3Button.UseUnderline = true; this.readSensor3Button.Label = "Read"; this.hbox25.Add (this.readSensor3Button); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox25 [this.readSensor3Button])); w63.Position = 0; w63.Expand = false; w63.Fill = false; w63.Padding = ((uint)(4)); // Container child hbox25.Gtk.Box+BoxChild this.sensor3ValueEntry = new global::Gtk.Entry (); this.sensor3ValueEntry.WidthRequest = 130; this.sensor3ValueEntry.CanFocus = true; this.sensor3ValueEntry.Name = "sensor3ValueEntry"; this.sensor3ValueEntry.IsEditable = false; this.sensor3ValueEntry.InvisibleChar = '●'; this.hbox25.Add (this.sensor3ValueEntry); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox25 [this.sensor3ValueEntry])); w64.Position = 1; // Container child hbox25.Gtk.Box+BoxChild this.hbuttonbox12 = new global::Gtk.HButtonBox (); this.hbuttonbox12.Name = "hbuttonbox12"; this.hbox25.Add (this.hbuttonbox12); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox25 [this.hbuttonbox12])); w65.Position = 2; this.vbox13.Add (this.hbox25); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox25])); w66.Position = 1; w66.Expand = false; w66.Fill = false; this.frame3.Add (this.vbox13); this.GtkLabel14 = new global::Gtk.Label (); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = "<b>Sensor 3</b>"; this.GtkLabel14.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel14; this.sensorContainer.Add (this.frame3); global::Gtk.Fixed.FixedChild w68 = ((global::Gtk.Fixed.FixedChild)(this.sensorContainer [this.frame3])); w68.X = 255; w68.Y = 10; // Container child sensorContainer.Gtk.Fixed+FixedChild this.frame4 = new global::Gtk.Frame (); this.frame4.WidthRequest = 225; this.frame4.HeightRequest = 90; this.frame4.Name = "frame4"; // Container child frame4.Gtk.Container+ContainerChild this.vbox14 = new global::Gtk.VBox (); this.vbox14.Name = "vbox14"; this.vbox14.Homogeneous = true; // Container child vbox14.Gtk.Box+BoxChild this.hbox26 = new global::Gtk.HBox (); this.hbox26.Name = "hbox26"; this.hbox26.Spacing = 6; // Container child hbox26.Gtk.Box+BoxChild this.sensor4Combobox = global::Gtk.ComboBox.NewText (); this.sensor4Combobox.AppendText ("NXT Light Inactive Pct"); this.sensor4Combobox.WidthRequest = 205; this.sensor4Combobox.HeightRequest = 30; this.sensor4Combobox.Name = "sensor4Combobox"; this.sensor4Combobox.Active = 0; this.hbox26.Add (this.sensor4Combobox); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.hbox26 [this.sensor4Combobox])); w69.Position = 0; w69.Expand = false; w69.Fill = false; w69.Padding = ((uint)(5)); this.vbox14.Add (this.hbox26); global::Gtk.Box.BoxChild w70 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox26])); w70.Position = 0; w70.Expand = false; w70.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.hbox27 = new global::Gtk.HBox (); this.hbox27.Name = "hbox27"; this.hbox27.Spacing = 8; // Container child hbox27.Gtk.Box+BoxChild this.readSensor4Button = new global::Gtk.Button (); this.readSensor4Button.WidthRequest = 60; this.readSensor4Button.CanFocus = true; this.readSensor4Button.Name = "readSensor4Button"; this.readSensor4Button.UseUnderline = true; this.readSensor4Button.Label = "Read"; this.hbox27.Add (this.readSensor4Button); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox27 [this.readSensor4Button])); w71.Position = 0; w71.Expand = false; w71.Fill = false; w71.Padding = ((uint)(4)); // Container child hbox27.Gtk.Box+BoxChild this.sensor4ValueEntry = new global::Gtk.Entry (); this.sensor4ValueEntry.WidthRequest = 130; this.sensor4ValueEntry.CanFocus = true; this.sensor4ValueEntry.Name = "sensor4ValueEntry"; this.sensor4ValueEntry.IsEditable = false; this.sensor4ValueEntry.InvisibleChar = '●'; this.hbox27.Add (this.sensor4ValueEntry); global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox27 [this.sensor4ValueEntry])); w72.Position = 1; // Container child hbox27.Gtk.Box+BoxChild this.hbuttonbox8 = new global::Gtk.HButtonBox (); this.hbuttonbox8.Name = "hbuttonbox8"; this.hbox27.Add (this.hbuttonbox8); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox27 [this.hbuttonbox8])); w73.Position = 2; this.vbox14.Add (this.hbox27); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox14 [this.hbox27])); w74.Position = 1; w74.Expand = false; w74.Fill = false; this.frame4.Add (this.vbox14); this.GtkLabel17 = new global::Gtk.Label (); this.GtkLabel17.Name = "GtkLabel17"; this.GtkLabel17.LabelProp = "<b>Sensor 4</b>"; this.GtkLabel17.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel17; this.sensorContainer.Add (this.frame4); global::Gtk.Fixed.FixedChild w76 = ((global::Gtk.Fixed.FixedChild)(this.sensorContainer [this.frame4])); w76.X = 255; w76.Y = 100; // Container child sensorContainer.Gtk.Fixed+FixedChild this.frame16 = new global::Gtk.Frame (); this.frame16.WidthRequest = 460; this.frame16.HeightRequest = 70; this.frame16.Name = "frame16"; // Container child frame16.Gtk.Container+ContainerChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.vbox20 = new global::Gtk.VBox (); this.vbox20.Name = "vbox20"; this.vbox20.Spacing = 6; this.vbox20.BorderWidth = ((uint)(2)); // Container child vbox20.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed (); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.vbox20.Add (this.fixed6); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.fixed6])); w77.Position = 0; w77.Expand = false; w77.Fill = false; // Container child vbox20.Gtk.Box+BoxChild this.hbox28 = new global::Gtk.HBox (); this.hbox28.Name = "hbox28"; this.hbox28.Spacing = 6; // Container child hbox28.Gtk.Box+BoxChild this.readSensorTogglebutton = new global::Gtk.Button (); this.readSensorTogglebutton.WidthRequest = 40; this.readSensorTogglebutton.CanFocus = true; this.readSensorTogglebutton.Name = "readSensorTogglebutton"; this.readSensorTogglebutton.UseUnderline = true; this.readSensorTogglebutton.Label = "Poll"; this.hbox28.Add (this.readSensorTogglebutton); global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.hbox28 [this.readSensorTogglebutton])); w78.Position = 0; w78.Expand = false; w78.Fill = false; // Container child hbox28.Gtk.Box+BoxChild this.pollOptionsCombobox = global::Gtk.ComboBox.NewText (); this.pollOptionsCombobox.WidthRequest = 80; this.pollOptionsCombobox.Name = "pollOptionsCombobox"; this.hbox28.Add (this.pollOptionsCombobox); global::Gtk.Box.BoxChild w79 = ((global::Gtk.Box.BoxChild)(this.hbox28 [this.pollOptionsCombobox])); w79.Position = 1; w79.Expand = false; w79.Fill = false; // Container child hbox28.Gtk.Box+BoxChild this.setSensorLogNameButton = new global::Gtk.Button (); this.setSensorLogNameButton.WidthRequest = 130; this.setSensorLogNameButton.CanFocus = true; this.setSensorLogNameButton.Name = "setSensorLogNameButton"; this.setSensorLogNameButton.Label = null; this.hbox28.Add (this.setSensorLogNameButton); global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.hbox28 [this.setSensorLogNameButton])); w80.Position = 2; // Container child hbox28.Gtk.Box+BoxChild this.sensorLogCheckbutton = new global::Gtk.CheckButton (); this.sensorLogCheckbutton.WidthRequest = 50; this.sensorLogCheckbutton.CanFocus = true; this.sensorLogCheckbutton.Name = "sensorLogCheckbutton"; this.sensorLogCheckbutton.Label = "Save"; this.sensorLogCheckbutton.DrawIndicator = true; this.sensorLogCheckbutton.UseUnderline = true; this.hbox28.Add (this.sensorLogCheckbutton); global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.hbox28 [this.sensorLogCheckbutton])); w81.PackType = ((global::Gtk.PackType)(1)); w81.Position = 3; this.vbox20.Add (this.hbox28); global::Gtk.Box.BoxChild w82 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.hbox28])); w82.Position = 1; w82.Expand = false; w82.Fill = false; // Container child vbox20.Gtk.Box+BoxChild this.fixed8 = new global::Gtk.Fixed (); this.fixed8.Name = "fixed8"; this.fixed8.HasWindow = false; this.vbox20.Add (this.fixed8); global::Gtk.Box.BoxChild w83 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.fixed8])); w83.Position = 2; w83.Expand = false; w83.Fill = false; this.hbox11.Add (this.vbox20); global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.vbox20])); w84.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table3.Name = "table3"; // Container child table3.Gtk.Table+TableChild this.readSensor1checkbutton = new global::Gtk.CheckButton (); this.readSensor1checkbutton.CanFocus = true; this.readSensor1checkbutton.Name = "readSensor1checkbutton"; this.readSensor1checkbutton.Label = "S1"; this.readSensor1checkbutton.DrawIndicator = true; this.readSensor1checkbutton.UseUnderline = true; this.table3.Add (this.readSensor1checkbutton); global::Gtk.Table.TableChild w85 = ((global::Gtk.Table.TableChild)(this.table3 [this.readSensor1checkbutton])); w85.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.readSensor2checkbutton = new global::Gtk.CheckButton (); this.readSensor2checkbutton.CanFocus = true; this.readSensor2checkbutton.Name = "readSensor2checkbutton"; this.readSensor2checkbutton.Label = "S2"; this.readSensor2checkbutton.DrawIndicator = true; this.readSensor2checkbutton.UseUnderline = true; this.table3.Add (this.readSensor2checkbutton); global::Gtk.Table.TableChild w86 = ((global::Gtk.Table.TableChild)(this.table3 [this.readSensor2checkbutton])); w86.TopAttach = ((uint)(1)); w86.BottomAttach = ((uint)(2)); w86.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.readSensor3checkbutton = new global::Gtk.CheckButton (); this.readSensor3checkbutton.CanFocus = true; this.readSensor3checkbutton.Name = "readSensor3checkbutton"; this.readSensor3checkbutton.Label = "S3"; this.readSensor3checkbutton.DrawIndicator = true; this.readSensor3checkbutton.UseUnderline = true; this.table3.Add (this.readSensor3checkbutton); global::Gtk.Table.TableChild w87 = ((global::Gtk.Table.TableChild)(this.table3 [this.readSensor3checkbutton])); w87.LeftAttach = ((uint)(1)); w87.RightAttach = ((uint)(2)); w87.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.readSensor4checkbutton = new global::Gtk.CheckButton (); this.readSensor4checkbutton.CanFocus = true; this.readSensor4checkbutton.Name = "readSensor4checkbutton"; this.readSensor4checkbutton.Label = "S4"; this.readSensor4checkbutton.DrawIndicator = true; this.readSensor4checkbutton.UseUnderline = true; this.table3.Add (this.readSensor4checkbutton); global::Gtk.Table.TableChild w88 = ((global::Gtk.Table.TableChild)(this.table3 [this.readSensor4checkbutton])); w88.TopAttach = ((uint)(1)); w88.BottomAttach = ((uint)(2)); w88.LeftAttach = ((uint)(1)); w88.RightAttach = ((uint)(2)); w88.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox11.Add (this.table3); global::Gtk.Box.BoxChild w89 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.table3])); w89.Position = 1; this.frame16.Add (this.hbox11); this.GtkLabel58 = new global::Gtk.Label (); this.GtkLabel58.Name = "GtkLabel58"; this.GtkLabel58.LabelProp = "<b>Poll and Log to file</b>"; this.GtkLabel58.UseMarkup = true; this.frame16.LabelWidget = this.GtkLabel58; this.sensorContainer.Add (this.frame16); global::Gtk.Fixed.FixedChild w91 = ((global::Gtk.Fixed.FixedChild)(this.sensorContainer [this.frame16])); w91.X = 20; w91.Y = 190; this.Pages.Add (this.sensorContainer); global::Gtk.Notebook.NotebookChild w92 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.sensorContainer])); w92.Position = 1; // Notebook tab this.sensorLabel = new global::Gtk.Label (); this.sensorLabel.Name = "sensorLabel"; this.sensorLabel.LabelProp = "Sensors"; this.Pages.SetTabLabel (this.sensorContainer, this.sensorLabel); this.sensorLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.motorContainer = new global::Gtk.Fixed (); this.motorContainer.Name = "motorContainer"; this.motorContainer.HasWindow = false; // Container child motorContainer.Gtk.Fixed+FixedChild this.frame9 = new global::Gtk.Frame (); this.frame9.WidthRequest = 145; this.frame9.HeightRequest = 240; this.frame9.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild this.vbox17 = new global::Gtk.VBox (); this.vbox17.Name = "vbox17"; // Container child vbox17.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Homogeneous = true; // Container child hbox5.Gtk.Box+BoxChild this.motorAFwdButton = new global::Gtk.Button (); this.motorAFwdButton.WidthRequest = 40; this.motorAFwdButton.CanFocus = true; this.motorAFwdButton.Name = "motorAFwdButton"; this.motorAFwdButton.UseUnderline = true; this.motorAFwdButton.BorderWidth = ((uint)(2)); // Container child motorAFwdButton.Gtk.Container+ContainerChild global::Gtk.Alignment w93 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w94 = new global::Gtk.HBox (); w94.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w95 = new global::Gtk.Image (); w95.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Button); w94.Add (w95); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w97 = new global::Gtk.Label (); w94.Add (w97); w93.Add (w94); this.motorAFwdButton.Add (w93); this.hbox5.Add (this.motorAFwdButton); global::Gtk.Box.BoxChild w101 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.motorAFwdButton])); w101.Position = 0; w101.Expand = false; w101.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 2; // Container child vbox3.Gtk.Box+BoxChild this.motorABrakeButton = new global::Gtk.Button (); this.motorABrakeButton.CanFocus = true; this.motorABrakeButton.Name = "motorABrakeButton"; this.motorABrakeButton.UseUnderline = true; this.motorABrakeButton.Label = "Brake"; this.vbox3.Add (this.motorABrakeButton); global::Gtk.Box.BoxChild w102 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.motorABrakeButton])); w102.Position = 0; w102.Expand = false; w102.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.motorAOffButton = new global::Gtk.Button (); this.motorAOffButton.CanFocus = true; this.motorAOffButton.Name = "motorAOffButton"; this.motorAOffButton.UseUnderline = true; this.motorAOffButton.Label = "Off"; this.vbox3.Add (this.motorAOffButton); global::Gtk.Box.BoxChild w103 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.motorAOffButton])); w103.Position = 1; w103.Expand = false; w103.Fill = false; this.hbox5.Add (this.vbox3); global::Gtk.Box.BoxChild w104 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox3])); w104.Position = 1; w104.Expand = false; w104.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.motorARevButton = new global::Gtk.Button (); this.motorARevButton.WidthRequest = 40; this.motorARevButton.CanFocus = true; this.motorARevButton.Name = "motorARevButton"; this.motorARevButton.UseUnderline = true; this.motorARevButton.BorderWidth = ((uint)(2)); // Container child motorARevButton.Gtk.Container+ContainerChild global::Gtk.Alignment w105 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w106 = new global::Gtk.HBox (); w106.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w107 = new global::Gtk.Image (); w107.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); w106.Add (w107); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w109 = new global::Gtk.Label (); w106.Add (w109); w105.Add (w106); this.motorARevButton.Add (w105); this.hbox5.Add (this.motorARevButton); global::Gtk.Box.BoxChild w113 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.motorARevButton])); w113.Position = 2; w113.Expand = false; w113.Fill = false; this.vbox17.Add (this.hbox5); global::Gtk.Box.BoxChild w114 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.hbox5])); w114.Position = 0; w114.Expand = false; w114.Fill = false; // Container child vbox17.Gtk.Box+BoxChild this.hbox16 = new global::Gtk.HBox (); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.motorAStopCheckbutton = new global::Gtk.CheckButton (); this.motorAStopCheckbutton.CanFocus = true; this.motorAStopCheckbutton.Name = "motorAStopCheckbutton"; this.motorAStopCheckbutton.Label = "Off on release"; this.motorAStopCheckbutton.Active = true; this.motorAStopCheckbutton.DrawIndicator = true; this.motorAStopCheckbutton.UseUnderline = true; this.hbox16.Add (this.motorAStopCheckbutton); global::Gtk.Box.BoxChild w115 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.motorAStopCheckbutton])); w115.Position = 0; w115.Padding = ((uint)(2)); // Container child hbox16.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox16.Add (this.fixed2); global::Gtk.Box.BoxChild w116 = ((global::Gtk.Box.BoxChild)(this.hbox16 [this.fixed2])); w116.Position = 1; this.vbox17.Add (this.hbox16); global::Gtk.Box.BoxChild w117 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.hbox16])); w117.Position = 1; w117.Expand = false; w117.Fill = false; // Container child vbox17.Gtk.Box+BoxChild this.hbox43 = new global::Gtk.HBox (); this.hbox43.Name = "hbox43"; this.hbox43.Spacing = 6; // Container child hbox43.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label (); this.label10.Name = "label10"; this.label10.Xpad = 4; this.label10.LabelProp = "Speed:"; this.hbox43.Add (this.label10); global::Gtk.Box.BoxChild w118 = ((global::Gtk.Box.BoxChild)(this.hbox43 [this.label10])); w118.Position = 0; w118.Expand = false; w118.Fill = false; // Container child hbox43.Gtk.Box+BoxChild this.motorASpeedScale = new global::Gtk.HScale (null); this.motorASpeedScale.CanFocus = true; this.motorASpeedScale.Name = "motorASpeedScale"; this.motorASpeedScale.Adjustment.Upper = 100; this.motorASpeedScale.Adjustment.PageIncrement = 10; this.motorASpeedScale.Adjustment.StepIncrement = 1; this.motorASpeedScale.Adjustment.Value = 93; this.motorASpeedScale.DrawValue = true; this.motorASpeedScale.Digits = 0; this.motorASpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox43.Add (this.motorASpeedScale); global::Gtk.Box.BoxChild w119 = ((global::Gtk.Box.BoxChild)(this.hbox43 [this.motorASpeedScale])); w119.Position = 1; this.vbox17.Add (this.hbox43); global::Gtk.Box.BoxChild w120 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.hbox43])); w120.Position = 2; w120.Expand = false; w120.Fill = false; // Container child vbox17.Gtk.Box+BoxChild this.vbox21 = new global::Gtk.VBox (); this.vbox21.Name = "vbox21"; this.vbox21.Spacing = 4; // Container child vbox21.Gtk.Box+BoxChild this.vbox22 = new global::Gtk.VBox (); this.vbox22.Name = "vbox22"; this.vbox22.Spacing = 6; // Container child vbox22.Gtk.Box+BoxChild this.hbox32 = new global::Gtk.HBox (); this.hbox32.Name = "hbox32"; this.hbox32.Spacing = 6; // Container child hbox32.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label (); this.label6.Name = "label6"; this.label6.Xpad = 4; this.label6.LabelProp = "Tacho:"; this.label6.WidthChars = 6; this.hbox32.Add (this.label6); global::Gtk.Box.BoxChild w121 = ((global::Gtk.Box.BoxChild)(this.hbox32 [this.label6])); w121.Position = 0; w121.Expand = false; w121.Fill = false; // Container child hbox32.Gtk.Box+BoxChild this.motorATachoEntry = new global::Gtk.Entry (); this.motorATachoEntry.WidthRequest = 73; this.motorATachoEntry.CanFocus = true; this.motorATachoEntry.Name = "motorATachoEntry"; this.motorATachoEntry.Text = "0"; this.motorATachoEntry.IsEditable = true; this.motorATachoEntry.InvisibleChar = '●'; this.motorATachoEntry.Xalign = 1F; this.hbox32.Add (this.motorATachoEntry); global::Gtk.Box.BoxChild w122 = ((global::Gtk.Box.BoxChild)(this.hbox32 [this.motorATachoEntry])); w122.Position = 1; // Container child hbox32.Gtk.Box+BoxChild this.fixed35 = new global::Gtk.Fixed (); this.fixed35.Name = "fixed35"; this.fixed35.HasWindow = false; this.hbox32.Add (this.fixed35); global::Gtk.Box.BoxChild w123 = ((global::Gtk.Box.BoxChild)(this.hbox32 [this.fixed35])); w123.Position = 2; this.vbox22.Add (this.hbox32); global::Gtk.Box.BoxChild w124 = ((global::Gtk.Box.BoxChild)(this.vbox22 [this.hbox32])); w124.Position = 0; w124.Expand = false; w124.Fill = false; // Container child vbox22.Gtk.Box+BoxChild this.hbox39 = new global::Gtk.HBox (); this.hbox39.Name = "hbox39"; this.hbox39.Spacing = 6; // Container child hbox39.Gtk.Box+BoxChild this.fixed36 = new global::Gtk.Fixed (); this.fixed36.Name = "fixed36"; this.fixed36.HasWindow = false; this.hbox39.Add (this.fixed36); global::Gtk.Box.BoxChild w125 = ((global::Gtk.Box.BoxChild)(this.hbox39 [this.fixed36])); w125.Position = 0; // Container child hbox39.Gtk.Box+BoxChild this.motorAReadTachoButton = new global::Gtk.Button (); this.motorAReadTachoButton.WidthRequest = 130; this.motorAReadTachoButton.HeightRequest = 26; this.motorAReadTachoButton.CanFocus = true; this.motorAReadTachoButton.Name = "motorAReadTachoButton"; this.motorAReadTachoButton.UseUnderline = true; this.motorAReadTachoButton.Label = "Read Tacho"; this.hbox39.Add (this.motorAReadTachoButton); global::Gtk.Box.BoxChild w126 = ((global::Gtk.Box.BoxChild)(this.hbox39 [this.motorAReadTachoButton])); w126.Position = 1; w126.Expand = false; w126.Fill = false; // Container child hbox39.Gtk.Box+BoxChild this.fixed37 = new global::Gtk.Fixed (); this.fixed37.Name = "fixed37"; this.fixed37.HasWindow = false; this.hbox39.Add (this.fixed37); global::Gtk.Box.BoxChild w127 = ((global::Gtk.Box.BoxChild)(this.hbox39 [this.fixed37])); w127.Position = 2; this.vbox22.Add (this.hbox39); global::Gtk.Box.BoxChild w128 = ((global::Gtk.Box.BoxChild)(this.vbox22 [this.hbox39])); w128.Position = 1; w128.Expand = false; w128.Fill = false; // Container child vbox22.Gtk.Box+BoxChild this.hbox40 = new global::Gtk.HBox (); this.hbox40.Name = "hbox40"; this.hbox40.Spacing = 6; // Container child hbox40.Gtk.Box+BoxChild this.fixed38 = new global::Gtk.Fixed (); this.fixed38.Name = "fixed38"; this.fixed38.HasWindow = false; this.hbox40.Add (this.fixed38); global::Gtk.Box.BoxChild w129 = ((global::Gtk.Box.BoxChild)(this.hbox40 [this.fixed38])); w129.Position = 0; // Container child hbox40.Gtk.Box+BoxChild this.motorAMoveToButton = new global::Gtk.Button (); this.motorAMoveToButton.WidthRequest = 75; this.motorAMoveToButton.HeightRequest = 26; this.motorAMoveToButton.CanFocus = true; this.motorAMoveToButton.Name = "motorAMoveToButton"; this.motorAMoveToButton.UseUnderline = true; this.motorAMoveToButton.Label = "Move To"; this.hbox40.Add (this.motorAMoveToButton); global::Gtk.Box.BoxChild w130 = ((global::Gtk.Box.BoxChild)(this.hbox40 [this.motorAMoveToButton])); w130.Position = 1; w130.Expand = false; w130.Fill = false; // Container child hbox40.Gtk.Box+BoxChild this.motorAResetTachoButton = new global::Gtk.Button (); this.motorAResetTachoButton.WidthRequest = 53; this.motorAResetTachoButton.HeightRequest = 26; this.motorAResetTachoButton.CanFocus = true; this.motorAResetTachoButton.Name = "motorAResetTachoButton"; this.motorAResetTachoButton.UseUnderline = true; this.motorAResetTachoButton.Label = "Reset"; this.hbox40.Add (this.motorAResetTachoButton); global::Gtk.Box.BoxChild w131 = ((global::Gtk.Box.BoxChild)(this.hbox40 [this.motorAResetTachoButton])); w131.Position = 2; w131.Expand = false; w131.Fill = false; // Container child hbox40.Gtk.Box+BoxChild this.fixed39 = new global::Gtk.Fixed (); this.fixed39.Name = "fixed39"; this.fixed39.HasWindow = false; this.hbox40.Add (this.fixed39); global::Gtk.Box.BoxChild w132 = ((global::Gtk.Box.BoxChild)(this.hbox40 [this.fixed39])); w132.Position = 3; this.vbox22.Add (this.hbox40); global::Gtk.Box.BoxChild w133 = ((global::Gtk.Box.BoxChild)(this.vbox22 [this.hbox40])); w133.Position = 2; w133.Expand = false; w133.Fill = false; this.vbox21.Add (this.vbox22); global::Gtk.Box.BoxChild w134 = ((global::Gtk.Box.BoxChild)(this.vbox21 [this.vbox22])); w134.Position = 0; w134.Expand = false; w134.Fill = false; this.vbox17.Add (this.vbox21); global::Gtk.Box.BoxChild w135 = ((global::Gtk.Box.BoxChild)(this.vbox17 [this.vbox21])); w135.Position = 3; w135.Expand = false; w135.Fill = false; this.frame9.Add (this.vbox17); this.GtkLabel29 = new global::Gtk.Label (); this.GtkLabel29.Name = "GtkLabel29"; this.GtkLabel29.LabelProp = "<b>Motor A</b>"; this.GtkLabel29.UseMarkup = true; this.frame9.LabelWidget = this.GtkLabel29; this.motorContainer.Add (this.frame9); global::Gtk.Fixed.FixedChild w137 = ((global::Gtk.Fixed.FixedChild)(this.motorContainer [this.frame9])); w137.X = 20; w137.Y = 10; // Container child motorContainer.Gtk.Fixed+FixedChild this.frame10 = new global::Gtk.Frame (); this.frame10.WidthRequest = 145; this.frame10.HeightRequest = 240; this.frame10.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild this.vbox8 = new global::Gtk.VBox (); this.vbox8.Name = "vbox8"; // Container child vbox8.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Homogeneous = true; // Container child hbox6.Gtk.Box+BoxChild this.motorBFwdButton = new global::Gtk.Button (); this.motorBFwdButton.WidthRequest = 40; this.motorBFwdButton.CanFocus = true; this.motorBFwdButton.Name = "motorBFwdButton"; this.motorBFwdButton.UseUnderline = true; this.motorBFwdButton.BorderWidth = ((uint)(2)); // Container child motorBFwdButton.Gtk.Container+ContainerChild global::Gtk.Alignment w138 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w139 = new global::Gtk.HBox (); w139.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w140 = new global::Gtk.Image (); w140.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Button); w139.Add (w140); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w142 = new global::Gtk.Label (); w139.Add (w142); w138.Add (w139); this.motorBFwdButton.Add (w138); this.hbox6.Add (this.motorBFwdButton); global::Gtk.Box.BoxChild w146 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.motorBFwdButton])); w146.Position = 0; w146.Expand = false; w146.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox (); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 2; // Container child vbox6.Gtk.Box+BoxChild this.motorBBrakeButton = new global::Gtk.Button (); this.motorBBrakeButton.CanFocus = true; this.motorBBrakeButton.Name = "motorBBrakeButton"; this.motorBBrakeButton.UseUnderline = true; this.motorBBrakeButton.Label = "Brake"; this.vbox6.Add (this.motorBBrakeButton); global::Gtk.Box.BoxChild w147 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.motorBBrakeButton])); w147.Position = 0; w147.Expand = false; w147.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.motorBOffButton = new global::Gtk.Button (); this.motorBOffButton.CanFocus = true; this.motorBOffButton.Name = "motorBOffButton"; this.motorBOffButton.UseUnderline = true; this.motorBOffButton.Label = "Off"; this.vbox6.Add (this.motorBOffButton); global::Gtk.Box.BoxChild w148 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.motorBOffButton])); w148.Position = 1; w148.Expand = false; w148.Fill = false; this.hbox6.Add (this.vbox6); global::Gtk.Box.BoxChild w149 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vbox6])); w149.Position = 1; w149.Expand = false; w149.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.motorBRevButton = new global::Gtk.Button (); this.motorBRevButton.WidthRequest = 40; this.motorBRevButton.CanFocus = true; this.motorBRevButton.Name = "motorBRevButton"; this.motorBRevButton.UseUnderline = true; this.motorBRevButton.BorderWidth = ((uint)(2)); // Container child motorBRevButton.Gtk.Container+ContainerChild global::Gtk.Alignment w150 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w151 = new global::Gtk.HBox (); w151.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w152 = new global::Gtk.Image (); w152.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); w151.Add (w152); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w154 = new global::Gtk.Label (); w151.Add (w154); w150.Add (w151); this.motorBRevButton.Add (w150); this.hbox6.Add (this.motorBRevButton); global::Gtk.Box.BoxChild w158 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.motorBRevButton])); w158.Position = 2; w158.Expand = false; w158.Fill = false; this.vbox8.Add (this.hbox6); global::Gtk.Box.BoxChild w159 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox6])); w159.Position = 0; w159.Expand = false; w159.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox (); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.motorBStopCheckbutton = new global::Gtk.CheckButton (); this.motorBStopCheckbutton.CanFocus = true; this.motorBStopCheckbutton.Name = "motorBStopCheckbutton"; this.motorBStopCheckbutton.Label = "Off on release"; this.motorBStopCheckbutton.Active = true; this.motorBStopCheckbutton.DrawIndicator = true; this.motorBStopCheckbutton.UseUnderline = true; this.hbox12.Add (this.motorBStopCheckbutton); global::Gtk.Box.BoxChild w160 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.motorBStopCheckbutton])); w160.Position = 0; w160.Padding = ((uint)(2)); // Container child hbox12.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox12.Add (this.fixed3); global::Gtk.Box.BoxChild w161 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.fixed3])); w161.Position = 1; this.vbox8.Add (this.hbox12); global::Gtk.Box.BoxChild w162 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox12])); w162.Position = 1; w162.Expand = false; w162.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.hbox44 = new global::Gtk.HBox (); this.hbox44.Name = "hbox44"; this.hbox44.Spacing = 6; // Container child hbox44.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label (); this.label11.Name = "label11"; this.label11.Xpad = 4; this.label11.LabelProp = "Speed:"; this.hbox44.Add (this.label11); global::Gtk.Box.BoxChild w163 = ((global::Gtk.Box.BoxChild)(this.hbox44 [this.label11])); w163.Position = 0; w163.Expand = false; w163.Fill = false; // Container child hbox44.Gtk.Box+BoxChild this.motorBSpeedScale = new global::Gtk.HScale (null); this.motorBSpeedScale.CanFocus = true; this.motorBSpeedScale.Name = "motorBSpeedScale"; this.motorBSpeedScale.Adjustment.Upper = 100; this.motorBSpeedScale.Adjustment.PageIncrement = 10; this.motorBSpeedScale.Adjustment.StepIncrement = 1; this.motorBSpeedScale.DrawValue = true; this.motorBSpeedScale.Digits = 0; this.motorBSpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox44.Add (this.motorBSpeedScale); global::Gtk.Box.BoxChild w164 = ((global::Gtk.Box.BoxChild)(this.hbox44 [this.motorBSpeedScale])); w164.Position = 1; this.vbox8.Add (this.hbox44); global::Gtk.Box.BoxChild w165 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox44])); w165.Position = 2; w165.Expand = false; w165.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 4; // Container child vbox9.Gtk.Box+BoxChild this.vbox18 = new global::Gtk.VBox (); this.vbox18.Name = "vbox18"; this.vbox18.Spacing = 6; // Container child vbox18.Gtk.Box+BoxChild this.hbox30 = new global::Gtk.HBox (); this.hbox30.Name = "hbox30"; this.hbox30.Spacing = 6; // Container child hbox30.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.Xpad = 4; this.label4.LabelProp = "Tacho:"; this.label4.WidthChars = 6; this.hbox30.Add (this.label4); global::Gtk.Box.BoxChild w166 = ((global::Gtk.Box.BoxChild)(this.hbox30 [this.label4])); w166.Position = 0; w166.Expand = false; w166.Fill = false; // Container child hbox30.Gtk.Box+BoxChild this.motorBTachoEntry = new global::Gtk.Entry (); this.motorBTachoEntry.WidthRequest = 73; this.motorBTachoEntry.CanFocus = true; this.motorBTachoEntry.Name = "motorBTachoEntry"; this.motorBTachoEntry.Text = "0"; this.motorBTachoEntry.IsEditable = true; this.motorBTachoEntry.InvisibleChar = '●'; this.motorBTachoEntry.Xalign = 1F; this.hbox30.Add (this.motorBTachoEntry); global::Gtk.Box.BoxChild w167 = ((global::Gtk.Box.BoxChild)(this.hbox30 [this.motorBTachoEntry])); w167.Position = 1; // Container child hbox30.Gtk.Box+BoxChild this.fixed25 = new global::Gtk.Fixed (); this.fixed25.Name = "fixed25"; this.fixed25.HasWindow = false; this.hbox30.Add (this.fixed25); global::Gtk.Box.BoxChild w168 = ((global::Gtk.Box.BoxChild)(this.hbox30 [this.fixed25])); w168.Position = 2; this.vbox18.Add (this.hbox30); global::Gtk.Box.BoxChild w169 = ((global::Gtk.Box.BoxChild)(this.vbox18 [this.hbox30])); w169.Position = 0; w169.Expand = false; w169.Fill = false; // Container child vbox18.Gtk.Box+BoxChild this.hbox35 = new global::Gtk.HBox (); this.hbox35.Name = "hbox35"; this.hbox35.Spacing = 6; // Container child hbox35.Gtk.Box+BoxChild this.fixed26 = new global::Gtk.Fixed (); this.fixed26.Name = "fixed26"; this.fixed26.HasWindow = false; this.hbox35.Add (this.fixed26); global::Gtk.Box.BoxChild w170 = ((global::Gtk.Box.BoxChild)(this.hbox35 [this.fixed26])); w170.Position = 0; // Container child hbox35.Gtk.Box+BoxChild this.motorBReadTachoButton = new global::Gtk.Button (); this.motorBReadTachoButton.WidthRequest = 130; this.motorBReadTachoButton.HeightRequest = 26; this.motorBReadTachoButton.CanFocus = true; this.motorBReadTachoButton.Name = "motorBReadTachoButton"; this.motorBReadTachoButton.UseUnderline = true; this.motorBReadTachoButton.Label = "Read Tacho"; this.hbox35.Add (this.motorBReadTachoButton); global::Gtk.Box.BoxChild w171 = ((global::Gtk.Box.BoxChild)(this.hbox35 [this.motorBReadTachoButton])); w171.Position = 1; w171.Expand = false; w171.Fill = false; // Container child hbox35.Gtk.Box+BoxChild this.fixed27 = new global::Gtk.Fixed (); this.fixed27.Name = "fixed27"; this.fixed27.HasWindow = false; this.hbox35.Add (this.fixed27); global::Gtk.Box.BoxChild w172 = ((global::Gtk.Box.BoxChild)(this.hbox35 [this.fixed27])); w172.Position = 2; this.vbox18.Add (this.hbox35); global::Gtk.Box.BoxChild w173 = ((global::Gtk.Box.BoxChild)(this.vbox18 [this.hbox35])); w173.Position = 1; w173.Expand = false; w173.Fill = false; // Container child vbox18.Gtk.Box+BoxChild this.hbox36 = new global::Gtk.HBox (); this.hbox36.Name = "hbox36"; this.hbox36.Spacing = 6; // Container child hbox36.Gtk.Box+BoxChild this.fixed28 = new global::Gtk.Fixed (); this.fixed28.Name = "fixed28"; this.fixed28.HasWindow = false; this.hbox36.Add (this.fixed28); global::Gtk.Box.BoxChild w174 = ((global::Gtk.Box.BoxChild)(this.hbox36 [this.fixed28])); w174.Position = 0; // Container child hbox36.Gtk.Box+BoxChild this.motorBMoveToButton = new global::Gtk.Button (); this.motorBMoveToButton.WidthRequest = 75; this.motorBMoveToButton.HeightRequest = 26; this.motorBMoveToButton.CanFocus = true; this.motorBMoveToButton.Name = "motorBMoveToButton"; this.motorBMoveToButton.UseUnderline = true; this.motorBMoveToButton.Label = "Move To"; this.hbox36.Add (this.motorBMoveToButton); global::Gtk.Box.BoxChild w175 = ((global::Gtk.Box.BoxChild)(this.hbox36 [this.motorBMoveToButton])); w175.Position = 1; w175.Expand = false; w175.Fill = false; // Container child hbox36.Gtk.Box+BoxChild this.motorBResetTachoButton = new global::Gtk.Button (); this.motorBResetTachoButton.WidthRequest = 53; this.motorBResetTachoButton.HeightRequest = 26; this.motorBResetTachoButton.CanFocus = true; this.motorBResetTachoButton.Name = "motorBResetTachoButton"; this.motorBResetTachoButton.UseUnderline = true; this.motorBResetTachoButton.Label = "Reset"; this.hbox36.Add (this.motorBResetTachoButton); global::Gtk.Box.BoxChild w176 = ((global::Gtk.Box.BoxChild)(this.hbox36 [this.motorBResetTachoButton])); w176.Position = 2; w176.Expand = false; w176.Fill = false; // Container child hbox36.Gtk.Box+BoxChild this.fixed29 = new global::Gtk.Fixed (); this.fixed29.Name = "fixed29"; this.fixed29.HasWindow = false; this.hbox36.Add (this.fixed29); global::Gtk.Box.BoxChild w177 = ((global::Gtk.Box.BoxChild)(this.hbox36 [this.fixed29])); w177.Position = 3; this.vbox18.Add (this.hbox36); global::Gtk.Box.BoxChild w178 = ((global::Gtk.Box.BoxChild)(this.vbox18 [this.hbox36])); w178.Position = 2; w178.Expand = false; w178.Fill = false; this.vbox9.Add (this.vbox18); global::Gtk.Box.BoxChild w179 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.vbox18])); w179.Position = 0; w179.Expand = false; w179.Fill = false; this.vbox8.Add (this.vbox9); global::Gtk.Box.BoxChild w180 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.vbox9])); w180.Position = 3; w180.Expand = false; w180.Fill = false; this.frame10.Add (this.vbox8); this.GtkLabel38 = new global::Gtk.Label (); this.GtkLabel38.Name = "GtkLabel38"; this.GtkLabel38.LabelProp = "<b>Motor B</b>"; this.GtkLabel38.UseMarkup = true; this.frame10.LabelWidget = this.GtkLabel38; this.motorContainer.Add (this.frame10); global::Gtk.Fixed.FixedChild w182 = ((global::Gtk.Fixed.FixedChild)(this.motorContainer [this.frame10])); w182.X = 178; w182.Y = 10; // Container child motorContainer.Gtk.Fixed+FixedChild this.frame11 = new global::Gtk.Frame (); this.frame11.WidthRequest = 145; this.frame11.HeightRequest = 240; this.frame11.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.Name = "vbox10"; // Container child vbox10.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Homogeneous = true; // Container child hbox7.Gtk.Box+BoxChild this.motorCFwdButton = new global::Gtk.Button (); this.motorCFwdButton.WidthRequest = 40; this.motorCFwdButton.CanFocus = true; this.motorCFwdButton.Name = "motorCFwdButton"; this.motorCFwdButton.UseUnderline = true; this.motorCFwdButton.BorderWidth = ((uint)(2)); // Container child motorCFwdButton.Gtk.Container+ContainerChild global::Gtk.Alignment w183 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w184 = new global::Gtk.HBox (); w184.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w185 = new global::Gtk.Image (); w185.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Button); w184.Add (w185); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w187 = new global::Gtk.Label (); w184.Add (w187); w183.Add (w184); this.motorCFwdButton.Add (w183); this.hbox7.Add (this.motorCFwdButton); global::Gtk.Box.BoxChild w191 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.motorCFwdButton])); w191.Position = 0; w191.Expand = false; w191.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox (); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 2; // Container child vbox7.Gtk.Box+BoxChild this.motorCBrakeButton = new global::Gtk.Button (); this.motorCBrakeButton.CanFocus = true; this.motorCBrakeButton.Name = "motorCBrakeButton"; this.motorCBrakeButton.UseUnderline = true; this.motorCBrakeButton.Label = "Brake"; this.vbox7.Add (this.motorCBrakeButton); global::Gtk.Box.BoxChild w192 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.motorCBrakeButton])); w192.Position = 0; w192.Expand = false; w192.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.motorCOffButton = new global::Gtk.Button (); this.motorCOffButton.CanFocus = true; this.motorCOffButton.Name = "motorCOffButton"; this.motorCOffButton.UseUnderline = true; this.motorCOffButton.Label = "Off"; this.vbox7.Add (this.motorCOffButton); global::Gtk.Box.BoxChild w193 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.motorCOffButton])); w193.Position = 1; w193.Expand = false; w193.Fill = false; this.hbox7.Add (this.vbox7); global::Gtk.Box.BoxChild w194 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.vbox7])); w194.Position = 1; w194.Expand = false; w194.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.motorCRevButton = new global::Gtk.Button (); this.motorCRevButton.WidthRequest = 40; this.motorCRevButton.CanFocus = true; this.motorCRevButton.Name = "motorCRevButton"; this.motorCRevButton.UseUnderline = true; this.motorCRevButton.BorderWidth = ((uint)(2)); // Container child motorCRevButton.Gtk.Container+ContainerChild global::Gtk.Alignment w195 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w196 = new global::Gtk.HBox (); w196.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w197 = new global::Gtk.Image (); w197.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); w196.Add (w197); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w199 = new global::Gtk.Label (); w196.Add (w199); w195.Add (w196); this.motorCRevButton.Add (w195); this.hbox7.Add (this.motorCRevButton); global::Gtk.Box.BoxChild w203 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.motorCRevButton])); w203.Position = 2; w203.Expand = false; w203.Fill = false; this.vbox10.Add (this.hbox7); global::Gtk.Box.BoxChild w204 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox7])); w204.Position = 0; w204.Expand = false; w204.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox15 = new global::Gtk.HBox (); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.motorCStopCheckbutton = new global::Gtk.CheckButton (); this.motorCStopCheckbutton.CanFocus = true; this.motorCStopCheckbutton.Name = "motorCStopCheckbutton"; this.motorCStopCheckbutton.Label = "Off on release"; this.motorCStopCheckbutton.Active = true; this.motorCStopCheckbutton.DrawIndicator = true; this.motorCStopCheckbutton.UseUnderline = true; this.hbox15.Add (this.motorCStopCheckbutton); global::Gtk.Box.BoxChild w205 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.motorCStopCheckbutton])); w205.Position = 0; w205.Padding = ((uint)(2)); // Container child hbox15.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.hbox15.Add (this.fixed4); global::Gtk.Box.BoxChild w206 = ((global::Gtk.Box.BoxChild)(this.hbox15 [this.fixed4])); w206.Position = 1; this.vbox10.Add (this.hbox15); global::Gtk.Box.BoxChild w207 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox15])); w207.Position = 1; w207.Expand = false; w207.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox45 = new global::Gtk.HBox (); this.hbox45.Name = "hbox45"; this.hbox45.Spacing = 6; // Container child hbox45.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label (); this.label12.Name = "label12"; this.label12.Xpad = 4; this.label12.LabelProp = "Speed:"; this.hbox45.Add (this.label12); global::Gtk.Box.BoxChild w208 = ((global::Gtk.Box.BoxChild)(this.hbox45 [this.label12])); w208.Position = 0; w208.Expand = false; w208.Fill = false; // Container child hbox45.Gtk.Box+BoxChild this.motorCSpeedScale = new global::Gtk.HScale (null); this.motorCSpeedScale.CanFocus = true; this.motorCSpeedScale.Name = "motorCSpeedScale"; this.motorCSpeedScale.Adjustment.Upper = 100; this.motorCSpeedScale.Adjustment.PageIncrement = 10; this.motorCSpeedScale.Adjustment.StepIncrement = 1; this.motorCSpeedScale.DrawValue = true; this.motorCSpeedScale.Digits = 0; this.motorCSpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox45.Add (this.motorCSpeedScale); global::Gtk.Box.BoxChild w209 = ((global::Gtk.Box.BoxChild)(this.hbox45 [this.motorCSpeedScale])); w209.Position = 1; this.vbox10.Add (this.hbox45); global::Gtk.Box.BoxChild w210 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox45])); w210.Position = 2; w210.Expand = false; w210.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox (); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 4; // Container child vbox11.Gtk.Box+BoxChild this.vbox19 = new global::Gtk.VBox (); this.vbox19.Name = "vbox19"; this.vbox19.Spacing = 6; // Container child vbox19.Gtk.Box+BoxChild this.hbox31 = new global::Gtk.HBox (); this.hbox31.Name = "hbox31"; this.hbox31.Spacing = 6; // Container child hbox31.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.Xpad = 4; this.label5.LabelProp = "Tacho:"; this.label5.WidthChars = 6; this.hbox31.Add (this.label5); global::Gtk.Box.BoxChild w211 = ((global::Gtk.Box.BoxChild)(this.hbox31 [this.label5])); w211.Position = 0; w211.Expand = false; w211.Fill = false; // Container child hbox31.Gtk.Box+BoxChild this.motorCTachoEntry = new global::Gtk.Entry (); this.motorCTachoEntry.WidthRequest = 73; this.motorCTachoEntry.CanFocus = true; this.motorCTachoEntry.Name = "motorCTachoEntry"; this.motorCTachoEntry.Text = "0"; this.motorCTachoEntry.IsEditable = true; this.motorCTachoEntry.InvisibleChar = '●'; this.motorCTachoEntry.Xalign = 1F; this.hbox31.Add (this.motorCTachoEntry); global::Gtk.Box.BoxChild w212 = ((global::Gtk.Box.BoxChild)(this.hbox31 [this.motorCTachoEntry])); w212.Position = 1; // Container child hbox31.Gtk.Box+BoxChild this.fixed30 = new global::Gtk.Fixed (); this.fixed30.Name = "fixed30"; this.fixed30.HasWindow = false; this.hbox31.Add (this.fixed30); global::Gtk.Box.BoxChild w213 = ((global::Gtk.Box.BoxChild)(this.hbox31 [this.fixed30])); w213.Position = 2; this.vbox19.Add (this.hbox31); global::Gtk.Box.BoxChild w214 = ((global::Gtk.Box.BoxChild)(this.vbox19 [this.hbox31])); w214.Position = 0; w214.Expand = false; w214.Fill = false; // Container child vbox19.Gtk.Box+BoxChild this.hbox37 = new global::Gtk.HBox (); this.hbox37.Name = "hbox37"; this.hbox37.Spacing = 6; // Container child hbox37.Gtk.Box+BoxChild this.fixed31 = new global::Gtk.Fixed (); this.fixed31.Name = "fixed31"; this.fixed31.HasWindow = false; this.hbox37.Add (this.fixed31); global::Gtk.Box.BoxChild w215 = ((global::Gtk.Box.BoxChild)(this.hbox37 [this.fixed31])); w215.Position = 0; // Container child hbox37.Gtk.Box+BoxChild this.motorCReadTachoButton = new global::Gtk.Button (); this.motorCReadTachoButton.WidthRequest = 130; this.motorCReadTachoButton.HeightRequest = 26; this.motorCReadTachoButton.CanFocus = true; this.motorCReadTachoButton.Name = "motorCReadTachoButton"; this.motorCReadTachoButton.UseUnderline = true; this.motorCReadTachoButton.Label = "Read Tacho"; this.hbox37.Add (this.motorCReadTachoButton); global::Gtk.Box.BoxChild w216 = ((global::Gtk.Box.BoxChild)(this.hbox37 [this.motorCReadTachoButton])); w216.Position = 1; w216.Expand = false; w216.Fill = false; // Container child hbox37.Gtk.Box+BoxChild this.fixed32 = new global::Gtk.Fixed (); this.fixed32.Name = "fixed32"; this.fixed32.HasWindow = false; this.hbox37.Add (this.fixed32); global::Gtk.Box.BoxChild w217 = ((global::Gtk.Box.BoxChild)(this.hbox37 [this.fixed32])); w217.Position = 2; this.vbox19.Add (this.hbox37); global::Gtk.Box.BoxChild w218 = ((global::Gtk.Box.BoxChild)(this.vbox19 [this.hbox37])); w218.Position = 1; w218.Expand = false; w218.Fill = false; // Container child vbox19.Gtk.Box+BoxChild this.hbox38 = new global::Gtk.HBox (); this.hbox38.Name = "hbox38"; this.hbox38.Spacing = 6; // Container child hbox38.Gtk.Box+BoxChild this.fixed33 = new global::Gtk.Fixed (); this.fixed33.Name = "fixed33"; this.fixed33.HasWindow = false; this.hbox38.Add (this.fixed33); global::Gtk.Box.BoxChild w219 = ((global::Gtk.Box.BoxChild)(this.hbox38 [this.fixed33])); w219.Position = 0; // Container child hbox38.Gtk.Box+BoxChild this.motorCMoveToButton = new global::Gtk.Button (); this.motorCMoveToButton.WidthRequest = 75; this.motorCMoveToButton.HeightRequest = 26; this.motorCMoveToButton.CanFocus = true; this.motorCMoveToButton.Name = "motorCMoveToButton"; this.motorCMoveToButton.UseUnderline = true; this.motorCMoveToButton.Label = "Move To"; this.hbox38.Add (this.motorCMoveToButton); global::Gtk.Box.BoxChild w220 = ((global::Gtk.Box.BoxChild)(this.hbox38 [this.motorCMoveToButton])); w220.Position = 1; w220.Expand = false; w220.Fill = false; // Container child hbox38.Gtk.Box+BoxChild this.motorCResetTachoButton = new global::Gtk.Button (); this.motorCResetTachoButton.WidthRequest = 53; this.motorCResetTachoButton.HeightRequest = 26; this.motorCResetTachoButton.CanFocus = true; this.motorCResetTachoButton.Name = "motorCResetTachoButton"; this.motorCResetTachoButton.UseUnderline = true; this.motorCResetTachoButton.Label = "Reset"; this.hbox38.Add (this.motorCResetTachoButton); global::Gtk.Box.BoxChild w221 = ((global::Gtk.Box.BoxChild)(this.hbox38 [this.motorCResetTachoButton])); w221.Position = 2; w221.Expand = false; w221.Fill = false; // Container child hbox38.Gtk.Box+BoxChild this.fixed34 = new global::Gtk.Fixed (); this.fixed34.Name = "fixed34"; this.fixed34.HasWindow = false; this.hbox38.Add (this.fixed34); global::Gtk.Box.BoxChild w222 = ((global::Gtk.Box.BoxChild)(this.hbox38 [this.fixed34])); w222.Position = 3; this.vbox19.Add (this.hbox38); global::Gtk.Box.BoxChild w223 = ((global::Gtk.Box.BoxChild)(this.vbox19 [this.hbox38])); w223.Position = 2; w223.Expand = false; w223.Fill = false; this.vbox11.Add (this.vbox19); global::Gtk.Box.BoxChild w224 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.vbox19])); w224.Position = 0; w224.Expand = false; w224.Fill = false; this.vbox10.Add (this.vbox11); global::Gtk.Box.BoxChild w225 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.vbox11])); w225.Position = 3; w225.Expand = false; w225.Fill = false; this.frame11.Add (this.vbox10); this.GtkLabel47 = new global::Gtk.Label (); this.GtkLabel47.Name = "GtkLabel47"; this.GtkLabel47.LabelProp = "<b>Motor C</b>"; this.GtkLabel47.UseMarkup = true; this.frame11.LabelWidget = this.GtkLabel47; this.motorContainer.Add (this.frame11); global::Gtk.Fixed.FixedChild w227 = ((global::Gtk.Fixed.FixedChild)(this.motorContainer [this.frame11])); w227.X = 335; w227.Y = 10; this.Pages.Add (this.motorContainer); global::Gtk.Notebook.NotebookChild w228 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.motorContainer])); w228.Position = 2; // Notebook tab this.motorLabel = new global::Gtk.Label (); this.motorLabel.Name = "motorLabel"; this.motorLabel.LabelProp = "Motors"; this.Pages.SetTabLabel (this.motorContainer, this.motorLabel); this.motorLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.filesContainer = new global::Gtk.Fixed (); this.filesContainer.Name = "filesContainer"; this.filesContainer.HasWindow = false; // Container child filesContainer.Gtk.Fixed+FixedChild this.frame6 = new global::Gtk.Frame (); this.frame6.WidthRequest = 180; this.frame6.HeightRequest = 55; this.frame6.Name = "frame6"; // Container child frame6.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; this.hbox3.BorderWidth = ((uint)(2)); // Container child hbox3.Gtk.Box+BoxChild this.uploadFileChooserButton = new global::Gtk.FileChooserButton ("Select a File", ((global::Gtk.FileChooserAction)(0))); this.uploadFileChooserButton.Name = "uploadFileChooserButton"; this.hbox3.Add (this.uploadFileChooserButton); global::Gtk.Box.BoxChild w229 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.uploadFileChooserButton])); w229.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.uploadFileButton = new global::Gtk.Button (); this.uploadFileButton.WidthRequest = 40; this.uploadFileButton.CanFocus = true; this.uploadFileButton.Name = "uploadFileButton"; this.uploadFileButton.UseUnderline = true; // Container child uploadFileButton.Gtk.Container+ContainerChild global::Gtk.Alignment w230 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w231 = new global::Gtk.HBox (); w231.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w232 = new global::Gtk.Image (); w232.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-top", global::Gtk.IconSize.Button); w231.Add (w232); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w234 = new global::Gtk.Label (); w231.Add (w234); w230.Add (w231); this.uploadFileButton.Add (w230); this.hbox3.Add (this.uploadFileButton); global::Gtk.Box.BoxChild w238 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.uploadFileButton])); w238.Position = 1; w238.Expand = false; w238.Fill = false; this.frame6.Add (this.hbox3); this.GtkLabel50 = new global::Gtk.Label (); this.GtkLabel50.Name = "GtkLabel50"; this.GtkLabel50.LabelProp = "<b>Upload file</b>"; this.GtkLabel50.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel50; this.filesContainer.Add (this.frame6); global::Gtk.Fixed.FixedChild w240 = ((global::Gtk.Fixed.FixedChild)(this.filesContainer [this.frame6])); w240.X = 300; w240.Y = 10; // Container child filesContainer.Gtk.Fixed+FixedChild this.frame7 = new global::Gtk.Frame (); this.frame7.WidthRequest = 180; this.frame7.HeightRequest = 55; this.frame7.Name = "frame7"; // Container child frame7.Gtk.Container+ContainerChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 4; this.hbox4.BorderWidth = ((uint)(2)); // Container child hbox4.Gtk.Box+BoxChild this.downloadFolderButton = new global::Gtk.Button (); this.downloadFolderButton.CanFocus = true; this.downloadFolderButton.Name = "downloadFolderButton"; this.downloadFolderButton.Label = null; this.hbox4.Add (this.downloadFolderButton); global::Gtk.Box.BoxChild w241 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.downloadFolderButton])); w241.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.downloadFileButton = new global::Gtk.Button (); this.downloadFileButton.WidthRequest = 40; this.downloadFileButton.CanFocus = true; this.downloadFileButton.Name = "downloadFileButton"; this.downloadFileButton.UseUnderline = true; // Container child downloadFileButton.Gtk.Container+ContainerChild global::Gtk.Alignment w242 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w243 = new global::Gtk.HBox (); w243.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w244 = new global::Gtk.Image (); w244.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-bottom", global::Gtk.IconSize.Button); w243.Add (w244); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w246 = new global::Gtk.Label (); w243.Add (w246); w242.Add (w243); this.downloadFileButton.Add (w242); this.hbox4.Add (this.downloadFileButton); global::Gtk.Box.BoxChild w250 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.downloadFileButton])); w250.Position = 1; w250.Expand = false; w250.Fill = false; this.frame7.Add (this.hbox4); this.GtkLabel52 = new global::Gtk.Label (); this.GtkLabel52.Name = "GtkLabel52"; this.GtkLabel52.LabelProp = "<b>Download file</b>"; this.GtkLabel52.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel52; this.filesContainer.Add (this.frame7); global::Gtk.Fixed.FixedChild w252 = ((global::Gtk.Fixed.FixedChild)(this.filesContainer [this.frame7])); w252.X = 300; w252.Y = 65; // Container child filesContainer.Gtk.Fixed+FixedChild this.frame12 = new global::Gtk.Frame (); this.frame12.WidthRequest = 180; this.frame12.HeightRequest = 130; this.frame12.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild this.vbox15 = new global::Gtk.VBox (); this.vbox15.Name = "vbox15"; this.vbox15.Homogeneous = true; this.vbox15.Spacing = 5; this.vbox15.BorderWidth = ((uint)(4)); // Container child vbox15.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 2; // Container child hbox8.Gtk.Box+BoxChild this.startFileButton = new global::Gtk.Button (); this.startFileButton.WidthRequest = 80; this.startFileButton.HeightRequest = 33; this.startFileButton.CanFocus = true; this.startFileButton.Name = "startFileButton"; this.startFileButton.UseUnderline = true; // Container child startFileButton.Gtk.Container+ContainerChild global::Gtk.Alignment w253 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w254 = new global::Gtk.HBox (); w254.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w255 = new global::Gtk.Image (); w255.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button); w254.Add (w255); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w257 = new global::Gtk.Label (); w257.LabelProp = "Start"; w257.UseUnderline = true; w254.Add (w257); w253.Add (w254); this.startFileButton.Add (w253); this.hbox8.Add (this.startFileButton); global::Gtk.Box.BoxChild w261 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.startFileButton])); w261.Position = 0; w261.Expand = false; w261.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed7 = new global::Gtk.Fixed (); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; this.hbox8.Add (this.fixed7); global::Gtk.Box.BoxChild w262 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed7])); w262.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.stopFileButton = new global::Gtk.Button (); this.stopFileButton.WidthRequest = 82; this.stopFileButton.HeightRequest = 33; this.stopFileButton.CanFocus = true; this.stopFileButton.Name = "stopFileButton"; this.stopFileButton.UseUnderline = true; // Container child stopFileButton.Gtk.Container+ContainerChild global::Gtk.Alignment w263 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w264 = new global::Gtk.HBox (); w264.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w265 = new global::Gtk.Image (); w265.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-stop", global::Gtk.IconSize.Button); w264.Add (w265); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w267 = new global::Gtk.Label (); w267.LabelProp = "Stop"; w267.UseUnderline = true; w264.Add (w267); w263.Add (w264); this.stopFileButton.Add (w263); this.hbox8.Add (this.stopFileButton); global::Gtk.Box.BoxChild w271 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.stopFileButton])); w271.Position = 2; w271.Expand = false; w271.Fill = false; this.vbox15.Add (this.hbox8); global::Gtk.Box.BoxChild w272 = ((global::Gtk.Box.BoxChild)(this.vbox15 [this.hbox8])); w272.Position = 0; w272.Expand = false; w272.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 4; // Container child hbox9.Gtk.Box+BoxChild this.deleteFileButton = new global::Gtk.Button (); this.deleteFileButton.WidthRequest = 80; this.deleteFileButton.HeightRequest = 30; this.deleteFileButton.CanFocus = true; this.deleteFileButton.Name = "deleteFileButton"; this.deleteFileButton.UseUnderline = true; this.deleteFileButton.Label = "Delete"; this.hbox9.Add (this.deleteFileButton); global::Gtk.Box.BoxChild w273 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.deleteFileButton])); w273.Position = 0; w273.Expand = false; w273.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox9.Add (this.fixed5); global::Gtk.Box.BoxChild w274 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed5])); w274.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.formatButton = new global::Gtk.Button (); this.formatButton.WidthRequest = 82; this.formatButton.HeightRequest = 30; this.formatButton.CanFocus = true; this.formatButton.Name = "formatButton"; this.formatButton.UseUnderline = true; this.formatButton.Label = "Format"; this.hbox9.Add (this.formatButton); global::Gtk.Box.BoxChild w275 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.formatButton])); w275.Position = 2; w275.Expand = false; w275.Fill = false; this.vbox15.Add (this.hbox9); global::Gtk.Box.BoxChild w276 = ((global::Gtk.Box.BoxChild)(this.vbox15 [this.hbox9])); w276.Position = 1; w276.Expand = false; w276.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 4; // Container child hbox10.Gtk.Box+BoxChild this.refreshfilelistButton = new global::Gtk.Button (); this.refreshfilelistButton.WidthRequest = 168; this.refreshfilelistButton.HeightRequest = 30; this.refreshfilelistButton.CanFocus = true; this.refreshfilelistButton.Name = "refreshfilelistButton"; this.refreshfilelistButton.UseUnderline = true; this.refreshfilelistButton.Label = "Refresh File List"; this.hbox10.Add (this.refreshfilelistButton); global::Gtk.Box.BoxChild w277 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.refreshfilelistButton])); w277.Position = 0; w277.Expand = false; w277.Fill = false; this.vbox15.Add (this.hbox10); global::Gtk.Box.BoxChild w278 = ((global::Gtk.Box.BoxChild)(this.vbox15 [this.hbox10])); w278.Position = 2; w278.Expand = false; w278.Fill = false; this.frame12.Add (this.vbox15); this.GtkLabel59 = new global::Gtk.Label (); this.GtkLabel59.Name = "GtkLabel59"; this.GtkLabel59.LabelProp = "<b>Actions</b>"; this.GtkLabel59.UseMarkup = true; this.frame12.LabelWidget = this.GtkLabel59; this.filesContainer.Add (this.frame12); global::Gtk.Fixed.FixedChild w280 = ((global::Gtk.Fixed.FixedChild)(this.filesContainer [this.frame12])); w280.X = 300; w280.Y = 120; // Container child filesContainer.Gtk.Fixed+FixedChild this.frame5 = new global::Gtk.Frame (); this.frame5.WidthRequest = 270; this.frame5.HeightRequest = 240; this.frame5.Name = "frame5"; // Container child frame5.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.WidthRequest = 200; this.GtkScrolledWindow.HeightRequest = 200; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.FileNodeView = new global::Gtk.NodeView (); this.FileNodeView.WidthRequest = 0; this.FileNodeView.CanFocus = true; this.FileNodeView.Name = "FileNodeView"; this.GtkScrolledWindow.Add (this.FileNodeView); this.frame5.Add (this.GtkScrolledWindow); this.GtkLabel60 = new global::Gtk.Label (); this.GtkLabel60.Name = "GtkLabel60"; this.GtkLabel60.LabelProp = "<b>NXT Files</b>"; this.GtkLabel60.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel60; this.filesContainer.Add (this.frame5); global::Gtk.Fixed.FixedChild w283 = ((global::Gtk.Fixed.FixedChild)(this.filesContainer [this.frame5])); w283.X = 20; w283.Y = 10; this.Pages.Add (this.filesContainer); global::Gtk.Notebook.NotebookChild w284 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.filesContainer])); w284.Position = 3; // Notebook tab this.filesLabel = new global::Gtk.Label (); this.filesLabel.Name = "filesLabel"; this.filesLabel.LabelProp = "Files"; this.Pages.SetTabLabel (this.filesContainer, this.filesLabel); this.filesLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.mailboxContainer = new global::Gtk.Fixed (); this.mailboxContainer.Name = "mailboxContainer"; this.mailboxContainer.HasWindow = false; // Container child mailboxContainer.Gtk.Fixed+FixedChild this.frame18 = new global::Gtk.Frame (); this.frame18.WidthRequest = 460; this.frame18.Name = "frame18"; // Container child frame18.Gtk.Container+ContainerChild this.vbox26 = new global::Gtk.VBox (); this.vbox26.Name = "vbox26"; this.vbox26.Spacing = 6; this.vbox26.BorderWidth = ((uint)(6)); // Container child vbox26.Gtk.Box+BoxChild this.hbox50 = new global::Gtk.HBox (); this.hbox50.Name = "hbox50"; this.hbox50.Spacing = 6; // Container child hbox50.Gtk.Box+BoxChild this.outboxMessage = new global::Gtk.Entry (); this.outboxMessage.CanFocus = true; this.outboxMessage.Name = "outboxMessage"; this.outboxMessage.IsEditable = true; this.outboxMessage.InvisibleChar = '●'; this.hbox50.Add (this.outboxMessage); global::Gtk.Box.BoxChild w285 = ((global::Gtk.Box.BoxChild)(this.hbox50 [this.outboxMessage])); w285.Position = 0; this.vbox26.Add (this.hbox50); global::Gtk.Box.BoxChild w286 = ((global::Gtk.Box.BoxChild)(this.vbox26 [this.hbox50])); w286.Position = 0; w286.Expand = false; w286.Fill = false; // Container child vbox26.Gtk.Box+BoxChild this.hbox51 = new global::Gtk.HBox (); this.hbox51.Name = "hbox51"; this.hbox51.Spacing = 8; // Container child hbox51.Gtk.Box+BoxChild this.sendMessageButton = new global::Gtk.Button (); this.sendMessageButton.WidthRequest = 110; this.sendMessageButton.CanFocus = true; this.sendMessageButton.Name = "sendMessageButton"; this.sendMessageButton.UseUnderline = true; this.sendMessageButton.Label = "Send Message"; this.hbox51.Add (this.sendMessageButton); global::Gtk.Box.BoxChild w287 = ((global::Gtk.Box.BoxChild)(this.hbox51 [this.sendMessageButton])); w287.Position = 0; w287.Expand = false; w287.Fill = false; // Container child hbox51.Gtk.Box+BoxChild this.outboxMailboxCombobox = global::Gtk.ComboBox.NewText (); this.outboxMailboxCombobox.WidthRequest = 100; this.outboxMailboxCombobox.Name = "outboxMailboxCombobox"; this.hbox51.Add (this.outboxMailboxCombobox); global::Gtk.Box.BoxChild w288 = ((global::Gtk.Box.BoxChild)(this.hbox51 [this.outboxMailboxCombobox])); w288.Position = 1; w288.Expand = false; w288.Fill = false; // Container child hbox51.Gtk.Box+BoxChild this.outboxFormatCombobox = global::Gtk.ComboBox.NewText (); this.outboxFormatCombobox.WidthRequest = 80; this.outboxFormatCombobox.Name = "outboxFormatCombobox"; this.hbox51.Add (this.outboxFormatCombobox); global::Gtk.Box.BoxChild w289 = ((global::Gtk.Box.BoxChild)(this.hbox51 [this.outboxFormatCombobox])); w289.Position = 2; w289.Expand = false; w289.Fill = false; // Container child hbox51.Gtk.Box+BoxChild this.fixed11 = new global::Gtk.Fixed (); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; this.hbox51.Add (this.fixed11); global::Gtk.Box.BoxChild w290 = ((global::Gtk.Box.BoxChild)(this.hbox51 [this.fixed11])); w290.Position = 3; this.vbox26.Add (this.hbox51); global::Gtk.Box.BoxChild w291 = ((global::Gtk.Box.BoxChild)(this.vbox26 [this.hbox51])); w291.Position = 1; w291.Expand = false; w291.Fill = false; // Container child vbox26.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox26.Add (this.hseparator2); global::Gtk.Box.BoxChild w292 = ((global::Gtk.Box.BoxChild)(this.vbox26 [this.hseparator2])); w292.Position = 2; w292.Expand = false; w292.Fill = false; // Container child vbox26.Gtk.Box+BoxChild this.hbox60 = new global::Gtk.HBox (); this.hbox60.Name = "hbox60"; this.hbox60.Homogeneous = true; this.hbox60.Spacing = 6; // Container child hbox60.Gtk.Box+BoxChild this.loadMessageButton = new global::Gtk.Button (); this.loadMessageButton.CanFocus = true; this.loadMessageButton.Name = "loadMessageButton"; this.loadMessageButton.UseUnderline = true; this.loadMessageButton.Label = "Load Message Settings"; this.hbox60.Add (this.loadMessageButton); global::Gtk.Box.BoxChild w293 = ((global::Gtk.Box.BoxChild)(this.hbox60 [this.loadMessageButton])); w293.Position = 0; w293.Expand = false; w293.Fill = false; // Container child hbox60.Gtk.Box+BoxChild this.saveMessageButton = new global::Gtk.Button (); this.saveMessageButton.CanFocus = true; this.saveMessageButton.Name = "saveMessageButton"; this.saveMessageButton.UseUnderline = true; this.saveMessageButton.Label = "Save Message Settings"; this.hbox60.Add (this.saveMessageButton); global::Gtk.Box.BoxChild w294 = ((global::Gtk.Box.BoxChild)(this.hbox60 [this.saveMessageButton])); w294.Position = 1; w294.Expand = false; w294.Fill = false; // Container child hbox60.Gtk.Box+BoxChild this.outboxMessageSettingsCombobox = global::Gtk.ComboBox.NewText (); this.outboxMessageSettingsCombobox.WidthRequest = 120; this.outboxMessageSettingsCombobox.Name = "outboxMessageSettingsCombobox"; this.hbox60.Add (this.outboxMessageSettingsCombobox); global::Gtk.Box.BoxChild w295 = ((global::Gtk.Box.BoxChild)(this.hbox60 [this.outboxMessageSettingsCombobox])); w295.Position = 2; w295.Expand = false; w295.Fill = false; this.vbox26.Add (this.hbox60); global::Gtk.Box.BoxChild w296 = ((global::Gtk.Box.BoxChild)(this.vbox26 [this.hbox60])); w296.Position = 3; w296.Expand = false; w296.Fill = false; this.frame18.Add (this.vbox26); this.GtkLabel68 = new global::Gtk.Label (); this.GtkLabel68.Name = "GtkLabel68"; this.GtkLabel68.LabelProp = "<b>Outbox</b>"; this.GtkLabel68.UseMarkup = true; this.frame18.LabelWidget = this.GtkLabel68; this.mailboxContainer.Add (this.frame18); global::Gtk.Fixed.FixedChild w298 = ((global::Gtk.Fixed.FixedChild)(this.mailboxContainer [this.frame18])); w298.X = 20; w298.Y = 10; // Container child mailboxContainer.Gtk.Fixed+FixedChild this.frame19 = new global::Gtk.Frame (); this.frame19.WidthRequest = 460; this.frame19.Name = "frame19"; // Container child frame19.Gtk.Container+ContainerChild this.vbox27 = new global::Gtk.VBox (); this.vbox27.Name = "vbox27"; this.vbox27.Spacing = 6; this.vbox27.BorderWidth = ((uint)(6)); // Container child vbox27.Gtk.Box+BoxChild this.hbox58 = new global::Gtk.HBox (); this.hbox58.Name = "hbox58"; this.hbox58.Spacing = 6; // Container child hbox58.Gtk.Box+BoxChild this.inboxMessage = new global::Gtk.Entry (); this.inboxMessage.CanFocus = true; this.inboxMessage.Name = "inboxMessage"; this.inboxMessage.IsEditable = false; this.inboxMessage.InvisibleChar = '●'; this.hbox58.Add (this.inboxMessage); global::Gtk.Box.BoxChild w299 = ((global::Gtk.Box.BoxChild)(this.hbox58 [this.inboxMessage])); w299.Position = 0; this.vbox27.Add (this.hbox58); global::Gtk.Box.BoxChild w300 = ((global::Gtk.Box.BoxChild)(this.vbox27 [this.hbox58])); w300.Position = 0; w300.Expand = false; w300.Fill = false; // Container child vbox27.Gtk.Box+BoxChild this.hbox59 = new global::Gtk.HBox (); this.hbox59.Name = "hbox59"; this.hbox59.Spacing = 8; // Container child hbox59.Gtk.Box+BoxChild this.readMessageButton = new global::Gtk.Button (); this.readMessageButton.WidthRequest = 110; this.readMessageButton.CanFocus = true; this.readMessageButton.Name = "readMessageButton"; this.readMessageButton.UseUnderline = true; this.readMessageButton.Label = "Read Message"; this.hbox59.Add (this.readMessageButton); global::Gtk.Box.BoxChild w301 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.readMessageButton])); w301.Position = 0; w301.Expand = false; w301.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.inboxMailboxCombobox = global::Gtk.ComboBox.NewText (); this.inboxMailboxCombobox.WidthRequest = 100; this.inboxMailboxCombobox.Name = "inboxMailboxCombobox"; this.hbox59.Add (this.inboxMailboxCombobox); global::Gtk.Box.BoxChild w302 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.inboxMailboxCombobox])); w302.Position = 1; w302.Expand = false; w302.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.inboxFormatCombobox = global::Gtk.ComboBox.NewText (); this.inboxFormatCombobox.WidthRequest = 80; this.inboxFormatCombobox.Name = "inboxFormatCombobox"; this.hbox59.Add (this.inboxFormatCombobox); global::Gtk.Box.BoxChild w303 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.inboxFormatCombobox])); w303.Position = 2; w303.Expand = false; w303.Fill = false; // Container child hbox59.Gtk.Box+BoxChild this.removeMessageCheckbutton = new global::Gtk.CheckButton (); this.removeMessageCheckbutton.CanFocus = true; this.removeMessageCheckbutton.Name = "removeMessageCheckbutton"; this.removeMessageCheckbutton.Label = "Remove Message"; this.removeMessageCheckbutton.DrawIndicator = true; this.removeMessageCheckbutton.UseUnderline = true; this.hbox59.Add (this.removeMessageCheckbutton); global::Gtk.Box.BoxChild w304 = ((global::Gtk.Box.BoxChild)(this.hbox59 [this.removeMessageCheckbutton])); w304.Position = 3; this.vbox27.Add (this.hbox59); global::Gtk.Box.BoxChild w305 = ((global::Gtk.Box.BoxChild)(this.vbox27 [this.hbox59])); w305.Position = 1; w305.Expand = false; w305.Fill = false; this.frame19.Add (this.vbox27); this.GtkLabel79 = new global::Gtk.Label (); this.GtkLabel79.Name = "GtkLabel79"; this.GtkLabel79.LabelProp = "<b>Inbox</b>"; this.GtkLabel79.UseMarkup = true; this.frame19.LabelWidget = this.GtkLabel79; this.mailboxContainer.Add (this.frame19); global::Gtk.Fixed.FixedChild w307 = ((global::Gtk.Fixed.FixedChild)(this.mailboxContainer [this.frame19])); w307.X = 20; w307.Y = 161; this.Pages.Add (this.mailboxContainer); global::Gtk.Notebook.NotebookChild w308 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.mailboxContainer])); w308.Position = 4; // Notebook tab this.mailboxLabel = new global::Gtk.Label (); this.mailboxLabel.Name = "mailboxLabel"; this.mailboxLabel.LabelProp = "Mailbox"; this.Pages.SetTabLabel (this.mailboxContainer, this.mailboxLabel); this.mailboxLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.keyboardContainer = new global::Gtk.Fixed (); this.keyboardContainer.Name = "keyboardContainer"; this.keyboardContainer.HasWindow = false; // Container child keyboardContainer.Gtk.Fixed+FixedChild this.frame8 = new global::Gtk.Frame (); this.frame8.WidthRequest = 230; this.frame8.HeightRequest = 240; this.frame8.Name = "frame8"; // Container child frame8.Gtk.Container+ContainerChild this.vbox16 = new global::Gtk.VBox (); this.vbox16.Name = "vbox16"; this.vbox16.Homogeneous = true; this.vbox16.Spacing = 2; this.vbox16.BorderWidth = ((uint)(3)); // Container child vbox16.Gtk.Box+BoxChild this.hbox41 = new global::Gtk.HBox (); this.hbox41.Name = "hbox41"; // Container child hbox41.Gtk.Box+BoxChild this.label18 = new global::Gtk.Label (); this.label18.WidthRequest = 55; this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = "Left:"; this.hbox41.Add (this.label18); global::Gtk.Box.BoxChild w309 = ((global::Gtk.Box.BoxChild)(this.hbox41 [this.label18])); w309.Position = 0; w309.Expand = false; w309.Fill = false; // Container child hbox41.Gtk.Box+BoxChild this.leftMotorCombobox = global::Gtk.ComboBox.NewText (); this.leftMotorCombobox.AppendText ("Out A"); this.leftMotorCombobox.AppendText (""); this.leftMotorCombobox.WidthRequest = 78; this.leftMotorCombobox.HeightRequest = 30; this.leftMotorCombobox.Name = "leftMotorCombobox"; this.leftMotorCombobox.Active = 0; this.hbox41.Add (this.leftMotorCombobox); global::Gtk.Box.BoxChild w310 = ((global::Gtk.Box.BoxChild)(this.hbox41 [this.leftMotorCombobox])); w310.Position = 1; w310.Expand = false; w310.Fill = false; // Container child hbox41.Gtk.Box+BoxChild this.leftMotorReverseCheckbutton = new global::Gtk.CheckButton (); this.leftMotorReverseCheckbutton.CanFocus = true; this.leftMotorReverseCheckbutton.Name = "leftMotorReverseCheckbutton"; this.leftMotorReverseCheckbutton.Label = "Reverse"; this.leftMotorReverseCheckbutton.DrawIndicator = true; this.leftMotorReverseCheckbutton.UseUnderline = true; this.hbox41.Add (this.leftMotorReverseCheckbutton); global::Gtk.Box.BoxChild w311 = ((global::Gtk.Box.BoxChild)(this.hbox41 [this.leftMotorReverseCheckbutton])); w311.Position = 2; this.vbox16.Add (this.hbox41); global::Gtk.Box.BoxChild w312 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox41])); w312.Position = 0; w312.Expand = false; w312.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox (); this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label (); this.label8.WidthRequest = 55; this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = "Right:"; this.hbox13.Add (this.label8); global::Gtk.Box.BoxChild w313 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.label8])); w313.Position = 0; w313.Expand = false; w313.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.rightMotorCombobox = global::Gtk.ComboBox.NewText (); this.rightMotorCombobox.AppendText ("Out A"); this.rightMotorCombobox.AppendText (""); this.rightMotorCombobox.WidthRequest = 78; this.rightMotorCombobox.HeightRequest = 30; this.rightMotorCombobox.Name = "rightMotorCombobox"; this.rightMotorCombobox.Active = 0; this.hbox13.Add (this.rightMotorCombobox); global::Gtk.Box.BoxChild w314 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.rightMotorCombobox])); w314.Position = 1; w314.Expand = false; w314.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.rightMotorReverseCheckbutton = new global::Gtk.CheckButton (); this.rightMotorReverseCheckbutton.CanFocus = true; this.rightMotorReverseCheckbutton.Name = "rightMotorReverseCheckbutton"; this.rightMotorReverseCheckbutton.Label = "Reverse"; this.rightMotorReverseCheckbutton.DrawIndicator = true; this.rightMotorReverseCheckbutton.UseUnderline = true; this.hbox13.Add (this.rightMotorReverseCheckbutton); global::Gtk.Box.BoxChild w315 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.rightMotorReverseCheckbutton])); w315.Position = 2; this.vbox16.Add (this.hbox13); global::Gtk.Box.BoxChild w316 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox13])); w316.Position = 1; w316.Expand = false; w316.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox14 = new global::Gtk.HBox (); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 4; // Container child hbox14.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = "Turn percent:"; this.hbox14.Add (this.label3); global::Gtk.Box.BoxChild w317 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.label3])); w317.Position = 0; w317.Expand = false; w317.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.vehicleTurnRatioScale = new global::Gtk.HScale (null); this.vehicleTurnRatioScale.CanFocus = true; this.vehicleTurnRatioScale.Name = "vehicleTurnRatioScale"; this.vehicleTurnRatioScale.Adjustment.Upper = 100; this.vehicleTurnRatioScale.Adjustment.PageIncrement = 10; this.vehicleTurnRatioScale.Adjustment.StepIncrement = 1; this.vehicleTurnRatioScale.Adjustment.Value = 47; this.vehicleTurnRatioScale.DrawValue = true; this.vehicleTurnRatioScale.Digits = 0; this.vehicleTurnRatioScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox14.Add (this.vehicleTurnRatioScale); global::Gtk.Box.BoxChild w318 = ((global::Gtk.Box.BoxChild)(this.hbox14 [this.vehicleTurnRatioScale])); w318.Position = 1; this.vbox16.Add (this.hbox14); global::Gtk.Box.BoxChild w319 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox14])); w319.Position = 2; w319.Expand = false; w319.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox16.Add (this.fixed1); global::Gtk.Box.BoxChild w320 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.fixed1])); w320.Position = 3; w320.Expand = false; w320.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox34 = new global::Gtk.HBox (); this.hbox34.Name = "hbox34"; this.hbox34.Spacing = 6; // Container child hbox34.Gtk.Box+BoxChild this.hbox33 = new global::Gtk.HBox (); this.hbox33.Name = "hbox33"; this.hbox33.Spacing = 45; // Container child hbox33.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label (); this.label7.Name = "label7"; this.label7.LabelProp = "Speed:"; this.hbox33.Add (this.label7); global::Gtk.Box.BoxChild w321 = ((global::Gtk.Box.BoxChild)(this.hbox33 [this.label7])); w321.Position = 0; w321.Expand = false; w321.Fill = false; // Container child hbox33.Gtk.Box+BoxChild this.vehicleSpeedScale = new global::Gtk.HScale (null); this.vehicleSpeedScale.CanFocus = true; this.vehicleSpeedScale.Name = "vehicleSpeedScale"; this.vehicleSpeedScale.Adjustment.Upper = 100; this.vehicleSpeedScale.Adjustment.PageIncrement = 10; this.vehicleSpeedScale.Adjustment.StepIncrement = 1; this.vehicleSpeedScale.Adjustment.Value = 57; this.vehicleSpeedScale.DrawValue = true; this.vehicleSpeedScale.Digits = 0; this.vehicleSpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox33.Add (this.vehicleSpeedScale); global::Gtk.Box.BoxChild w322 = ((global::Gtk.Box.BoxChild)(this.hbox33 [this.vehicleSpeedScale])); w322.Position = 1; this.hbox34.Add (this.hbox33); global::Gtk.Box.BoxChild w323 = ((global::Gtk.Box.BoxChild)(this.hbox34 [this.hbox33])); w323.Position = 0; this.vbox16.Add (this.hbox34); global::Gtk.Box.BoxChild w324 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox34])); w324.Position = 4; w324.Expand = false; w324.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox48 = new global::Gtk.HBox (); this.hbox48.Name = "hbox48"; this.hbox48.Spacing = 13; // Container child hbox48.Gtk.Box+BoxChild this.label17 = new global::Gtk.Label (); this.label17.Name = "label17"; this.label17.LabelProp = "Spin speed:"; this.hbox48.Add (this.label17); global::Gtk.Box.BoxChild w325 = ((global::Gtk.Box.BoxChild)(this.hbox48 [this.label17])); w325.Position = 0; w325.Expand = false; w325.Fill = false; // Container child hbox48.Gtk.Box+BoxChild this.spinSpeedScale = new global::Gtk.HScale (null); this.spinSpeedScale.CanFocus = true; this.spinSpeedScale.Name = "spinSpeedScale"; this.spinSpeedScale.Adjustment.Upper = 100; this.spinSpeedScale.Adjustment.PageIncrement = 10; this.spinSpeedScale.Adjustment.StepIncrement = 1; this.spinSpeedScale.Adjustment.Value = 33; this.spinSpeedScale.DrawValue = true; this.spinSpeedScale.Digits = 0; this.spinSpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox48.Add (this.spinSpeedScale); global::Gtk.Box.BoxChild w326 = ((global::Gtk.Box.BoxChild)(this.hbox48 [this.spinSpeedScale])); w326.Position = 1; this.vbox16.Add (this.hbox48); global::Gtk.Box.BoxChild w327 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox48])); w327.Position = 5; w327.Expand = false; w327.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox47 = new global::Gtk.HBox (); this.hbox47.Name = "hbox47"; this.hbox47.Spacing = 6; // Container child hbox47.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label (); this.label13.Name = "label13"; this.label13.LabelProp = "Motor speed:"; this.hbox47.Add (this.label13); global::Gtk.Box.BoxChild w328 = ((global::Gtk.Box.BoxChild)(this.hbox47 [this.label13])); w328.Position = 0; w328.Expand = false; w328.Fill = false; // Container child hbox47.Gtk.Box+BoxChild this.motor3SpeedScale = new global::Gtk.HScale (null); this.motor3SpeedScale.CanFocus = true; this.motor3SpeedScale.Name = "motor3SpeedScale"; this.motor3SpeedScale.Adjustment.Upper = 100; this.motor3SpeedScale.Adjustment.PageIncrement = 10; this.motor3SpeedScale.Adjustment.StepIncrement = 1; this.motor3SpeedScale.Adjustment.Value = 38; this.motor3SpeedScale.DrawValue = true; this.motor3SpeedScale.Digits = 0; this.motor3SpeedScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox47.Add (this.motor3SpeedScale); global::Gtk.Box.BoxChild w329 = ((global::Gtk.Box.BoxChild)(this.hbox47 [this.motor3SpeedScale])); w329.Position = 1; this.vbox16.Add (this.hbox47); global::Gtk.Box.BoxChild w330 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox47])); w330.PackType = ((global::Gtk.PackType)(1)); w330.Position = 6; w330.Expand = false; w330.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.hbox46 = new global::Gtk.HBox (); this.hbox46.Name = "hbox46"; // Container child hbox46.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label (); this.label19.WidthRequest = 55; this.label19.Name = "label19"; this.label19.Xalign = 0F; this.label19.LabelProp = "Motor:"; this.hbox46.Add (this.label19); global::Gtk.Box.BoxChild w331 = ((global::Gtk.Box.BoxChild)(this.hbox46 [this.label19])); w331.Position = 0; w331.Expand = false; w331.Fill = false; // Container child hbox46.Gtk.Box+BoxChild this.motor3Combobox = global::Gtk.ComboBox.NewText (); this.motor3Combobox.AppendText ("Out A"); this.motor3Combobox.AppendText (""); this.motor3Combobox.WidthRequest = 78; this.motor3Combobox.HeightRequest = 30; this.motor3Combobox.Name = "motor3Combobox"; this.motor3Combobox.Active = 0; this.hbox46.Add (this.motor3Combobox); global::Gtk.Box.BoxChild w332 = ((global::Gtk.Box.BoxChild)(this.hbox46 [this.motor3Combobox])); w332.Position = 1; w332.Expand = false; w332.Fill = false; // Container child hbox46.Gtk.Box+BoxChild this.motor3ReverseCheckbutton = new global::Gtk.CheckButton (); this.motor3ReverseCheckbutton.CanFocus = true; this.motor3ReverseCheckbutton.Name = "motor3ReverseCheckbutton"; this.motor3ReverseCheckbutton.Label = "Reverse"; this.motor3ReverseCheckbutton.DrawIndicator = true; this.motor3ReverseCheckbutton.UseUnderline = true; this.hbox46.Add (this.motor3ReverseCheckbutton); global::Gtk.Box.BoxChild w333 = ((global::Gtk.Box.BoxChild)(this.hbox46 [this.motor3ReverseCheckbutton])); w333.Position = 2; this.vbox16.Add (this.hbox46); global::Gtk.Box.BoxChild w334 = ((global::Gtk.Box.BoxChild)(this.vbox16 [this.hbox46])); w334.PackType = ((global::Gtk.PackType)(1)); w334.Position = 7; w334.Expand = false; w334.Fill = false; this.frame8.Add (this.vbox16); this.GtkLabel70 = new global::Gtk.Label (); this.GtkLabel70.Name = "GtkLabel70"; this.GtkLabel70.LabelProp = "<b>Vehicle settings</b>"; this.GtkLabel70.UseMarkup = true; this.frame8.LabelWidget = this.GtkLabel70; this.keyboardContainer.Add (this.frame8); global::Gtk.Fixed.FixedChild w336 = ((global::Gtk.Fixed.FixedChild)(this.keyboardContainer [this.frame8])); w336.X = 250; w336.Y = 10; // Container child keyboardContainer.Gtk.Fixed+FixedChild this.frame15 = new global::Gtk.Frame (); this.frame15.WidthRequest = 220; this.frame15.HeightRequest = 200; this.frame15.Name = "frame15"; // Container child frame15.Gtk.Container+ContainerChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.WidthRequest = 200; this.GtkScrolledWindow1.HeightRequest = 200; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.commandNodeView = new global::Gtk.NodeView (); this.commandNodeView.WidthRequest = 0; this.commandNodeView.CanFocus = true; this.commandNodeView.Name = "commandNodeView"; this.GtkScrolledWindow1.Add (this.commandNodeView); this.frame15.Add (this.GtkScrolledWindow1); this.GtkLabel71 = new global::Gtk.Label (); this.GtkLabel71.Name = "GtkLabel71"; this.GtkLabel71.LabelProp = "<b>Commands</b>"; this.GtkLabel71.UseMarkup = true; this.frame15.LabelWidget = this.GtkLabel71; this.keyboardContainer.Add (this.frame15); global::Gtk.Fixed.FixedChild w339 = ((global::Gtk.Fixed.FixedChild)(this.keyboardContainer [this.frame15])); w339.X = 20; w339.Y = 10; // Container child keyboardContainer.Gtk.Fixed+FixedChild this.assignCommandsButton = new global::Gtk.Button (); this.assignCommandsButton.CanFocus = true; this.assignCommandsButton.Name = "assignCommandsButton"; this.assignCommandsButton.UseUnderline = true; this.assignCommandsButton.Label = "Assign key"; this.keyboardContainer.Add (this.assignCommandsButton); global::Gtk.Fixed.FixedChild w340 = ((global::Gtk.Fixed.FixedChild)(this.keyboardContainer [this.assignCommandsButton])); w340.X = 23; w340.Y = 219; // Container child keyboardContainer.Gtk.Fixed+FixedChild this.enableKeyboardInput = new global::Gtk.CheckButton (); this.enableKeyboardInput.CanFocus = true; this.enableKeyboardInput.Name = "enableKeyboardInput"; this.enableKeyboardInput.Label = "Use Keyboad"; this.enableKeyboardInput.DrawIndicator = true; this.enableKeyboardInput.UseUnderline = true; this.keyboardContainer.Add (this.enableKeyboardInput); global::Gtk.Fixed.FixedChild w341 = ((global::Gtk.Fixed.FixedChild)(this.keyboardContainer [this.enableKeyboardInput])); w341.X = 125; w341.Y = 222; this.Pages.Add (this.keyboardContainer); global::Gtk.Notebook.NotebookChild w342 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.keyboardContainer])); w342.Position = 5; // Notebook tab this.keyboardLabel = new global::Gtk.Label (); this.keyboardLabel.Name = "keyboardLabel"; this.keyboardLabel.LabelProp = "Keys"; this.keyboardLabel.UseMarkup = true; this.keyboardLabel.Wrap = true; this.Pages.SetTabLabel (this.keyboardContainer, this.keyboardLabel); this.keyboardLabel.ShowAll (); // Container child Pages.Gtk.Notebook+NotebookChild this.tunnelContainer = new global::Gtk.Fixed (); this.tunnelContainer.Name = "tunnelContainer"; this.tunnelContainer.HasWindow = false; // Container child tunnelContainer.Gtk.Fixed+FixedChild this.frame14 = new global::Gtk.Frame (); this.frame14.WidthRequest = 285; this.frame14.HeightRequest = 140; this.frame14.Name = "frame14"; // Container child frame14.Gtk.Container+ContainerChild this.vbox24 = new global::Gtk.VBox (); this.vbox24.Name = "vbox24"; this.vbox24.Spacing = 12; this.vbox24.BorderWidth = ((uint)(8)); // Container child vbox24.Gtk.Box+BoxChild this.hbox53 = new global::Gtk.HBox (); this.hbox53.Name = "hbox53"; this.hbox53.Spacing = 6; // Container child hbox53.Gtk.Box+BoxChild this.fixed13 = new global::Gtk.Fixed (); this.fixed13.Name = "fixed13"; this.fixed13.HasWindow = false; this.hbox53.Add (this.fixed13); global::Gtk.Box.BoxChild w343 = ((global::Gtk.Box.BoxChild)(this.hbox53 [this.fixed13])); w343.Position = 0; // Container child hbox53.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.WidthRequest = 275; this.GtkScrolledWindow2.HeightRequest = 61; this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.VscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow2.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.textview1 = new global::Gtk.TextView (); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.textview1.CursorVisible = false; this.GtkScrolledWindow2.Add (this.textview1); this.hbox53.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w345 = ((global::Gtk.Box.BoxChild)(this.hbox53 [this.GtkScrolledWindow2])); w345.Position = 1; // Container child hbox53.Gtk.Box+BoxChild this.fixed12 = new global::Gtk.Fixed (); this.fixed12.Name = "fixed12"; this.fixed12.HasWindow = false; this.hbox53.Add (this.fixed12); global::Gtk.Box.BoxChild w346 = ((global::Gtk.Box.BoxChild)(this.hbox53 [this.fixed12])); w346.Position = 2; this.vbox24.Add (this.hbox53); global::Gtk.Box.BoxChild w347 = ((global::Gtk.Box.BoxChild)(this.vbox24 [this.hbox53])); w347.Position = 0; w347.Expand = false; w347.Fill = false; // Container child vbox24.Gtk.Box+BoxChild this.hbox54 = new global::Gtk.HBox (); this.hbox54.Name = "hbox54"; // Container child hbox54.Gtk.Box+BoxChild this.fixed9 = new global::Gtk.Fixed (); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; this.hbox54.Add (this.fixed9); global::Gtk.Box.BoxChild w348 = ((global::Gtk.Box.BoxChild)(this.hbox54 [this.fixed9])); w348.Position = 0; // Container child hbox54.Gtk.Box+BoxChild this.speakButton = new global::Gtk.Button (); this.speakButton.WidthRequest = 178; this.speakButton.HeightRequest = 30; this.speakButton.CanFocus = true; this.speakButton.Name = "speakButton"; this.speakButton.UseUnderline = true; this.speakButton.Label = "Say Sentence"; this.hbox54.Add (this.speakButton); global::Gtk.Box.BoxChild w349 = ((global::Gtk.Box.BoxChild)(this.hbox54 [this.speakButton])); w349.Position = 1; w349.Expand = false; w349.Fill = false; // Container child hbox54.Gtk.Box+BoxChild this.fixed14 = new global::Gtk.Fixed (); this.fixed14.Name = "fixed14"; this.fixed14.HasWindow = false; this.hbox54.Add (this.fixed14); global::Gtk.Box.BoxChild w350 = ((global::Gtk.Box.BoxChild)(this.hbox54 [this.fixed14])); w350.Position = 2; this.vbox24.Add (this.hbox54); global::Gtk.Box.BoxChild w351 = ((global::Gtk.Box.BoxChild)(this.vbox24 [this.hbox54])); w351.Position = 1; w351.Expand = false; w351.Fill = false; this.frame14.Add (this.vbox24); this.GtkLabel75 = new global::Gtk.Label (); this.GtkLabel75.Name = "GtkLabel75"; this.GtkLabel75.LabelProp = "<b>Text to speech</b>"; this.GtkLabel75.UseMarkup = true; this.frame14.LabelWidget = this.GtkLabel75; this.tunnelContainer.Add (this.frame14); global::Gtk.Fixed.FixedChild w353 = ((global::Gtk.Fixed.FixedChild)(this.tunnelContainer [this.frame14])); w353.X = 195; w353.Y = 10; // Container child tunnelContainer.Gtk.Fixed+FixedChild this.frame17 = new global::Gtk.Frame (); this.frame17.WidthRequest = 460; this.frame17.Name = "frame17"; // Container child frame17.Gtk.Container+ContainerChild this.vbox25 = new global::Gtk.VBox (); this.vbox25.Name = "vbox25"; this.vbox25.Spacing = 6; // Container child vbox25.Gtk.Box+BoxChild this.hbox57 = new global::Gtk.HBox (); this.hbox57.Name = "hbox57"; this.hbox57.Homogeneous = true; this.hbox57.BorderWidth = ((uint)(4)); // Container child hbox57.Gtk.Box+BoxChild this.hbox42 = new global::Gtk.HBox (); this.hbox42.Name = "hbox42"; this.hbox42.Spacing = 8; // Container child hbox42.Gtk.Box+BoxChild this.label21 = new global::Gtk.Label (); this.label21.WidthRequest = 90; this.label21.Name = "label21"; this.label21.Xalign = 0F; this.label21.LabelProp = "RTSP Port:"; this.hbox42.Add (this.label21); global::Gtk.Box.BoxChild w354 = ((global::Gtk.Box.BoxChild)(this.hbox42 [this.label21])); w354.Position = 0; w354.Expand = false; w354.Fill = false; // Container child hbox42.Gtk.Box+BoxChild this.rtspPortLabel = new global::Gtk.Label (); this.rtspPortLabel.Name = "rtspPortLabel"; this.rtspPortLabel.LabelProp = "N/A"; this.hbox42.Add (this.rtspPortLabel); global::Gtk.Box.BoxChild w355 = ((global::Gtk.Box.BoxChild)(this.hbox42 [this.rtspPortLabel])); w355.Position = 1; w355.Expand = false; w355.Fill = false; this.hbox57.Add (this.hbox42); global::Gtk.Box.BoxChild w356 = ((global::Gtk.Box.BoxChild)(this.hbox57 [this.hbox42])); w356.Position = 0; w356.Expand = false; w356.Fill = false; // Container child hbox57.Gtk.Box+BoxChild this.hbox49 = new global::Gtk.HBox (); this.hbox49.Name = "hbox49"; this.hbox49.Spacing = 8; // Container child hbox49.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label (); this.label9.WidthRequest = 90; this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = "Image Port:"; this.hbox49.Add (this.label9); global::Gtk.Box.BoxChild w357 = ((global::Gtk.Box.BoxChild)(this.hbox49 [this.label9])); w357.Position = 0; w357.Expand = false; w357.Fill = false; // Container child hbox49.Gtk.Box+BoxChild this.imagePortLabel = new global::Gtk.Label (); this.imagePortLabel.Name = "imagePortLabel"; this.imagePortLabel.LabelProp = "N/A"; this.hbox49.Add (this.imagePortLabel); global::Gtk.Box.BoxChild w358 = ((global::Gtk.Box.BoxChild)(this.hbox49 [this.imagePortLabel])); w358.Position = 1; w358.Expand = false; w358.Fill = false; this.hbox57.Add (this.hbox49); global::Gtk.Box.BoxChild w359 = ((global::Gtk.Box.BoxChild)(this.hbox57 [this.hbox49])); w359.Position = 1; w359.Expand = false; w359.Fill = false; // Container child hbox57.Gtk.Box+BoxChild this.hbox52 = new global::Gtk.HBox (); this.hbox52.Name = "hbox52"; this.hbox52.Spacing = 8; // Container child hbox52.Gtk.Box+BoxChild this.dataRateLabel = new global::Gtk.Label (); this.dataRateLabel.WidthRequest = 70; this.dataRateLabel.Name = "dataRateLabel"; this.dataRateLabel.Xalign = 1F; this.dataRateLabel.LabelProp = "0"; this.dataRateLabel.Justify = ((global::Gtk.Justification)(1)); this.dataRateLabel.MaxWidthChars = 0; this.hbox52.Add (this.dataRateLabel); global::Gtk.Box.BoxChild w360 = ((global::Gtk.Box.BoxChild)(this.hbox52 [this.dataRateLabel])); w360.Position = 0; w360.Expand = false; w360.Fill = false; // Container child hbox52.Gtk.Box+BoxChild this.label23 = new global::Gtk.Label (); this.label23.Name = "label23"; this.label23.Xalign = 0F; this.label23.LabelProp = "kB/Sec"; this.hbox52.Add (this.label23); global::Gtk.Box.BoxChild w361 = ((global::Gtk.Box.BoxChild)(this.hbox52 [this.label23])); w361.Position = 1; w361.Expand = false; w361.Fill = false; this.hbox57.Add (this.hbox52); global::Gtk.Box.BoxChild w362 = ((global::Gtk.Box.BoxChild)(this.hbox57 [this.hbox52])); w362.Position = 2; w362.Expand = false; w362.Fill = false; this.vbox25.Add (this.hbox57); global::Gtk.Box.BoxChild w363 = ((global::Gtk.Box.BoxChild)(this.vbox25 [this.hbox57])); w363.Position = 0; w363.Expand = false; w363.Fill = false; // Container child vbox25.Gtk.Box+BoxChild this.hbox56 = new global::Gtk.HBox (); this.hbox56.Name = "hbox56"; this.hbox56.Homogeneous = true; this.hbox56.BorderWidth = ((uint)(4)); // Container child hbox56.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = "Network caching:"; this.hbox56.Add (this.label2); global::Gtk.Box.BoxChild w364 = ((global::Gtk.Box.BoxChild)(this.hbox56 [this.label2])); w364.Position = 0; w364.Expand = false; w364.Fill = false; // Container child hbox56.Gtk.Box+BoxChild this.networkCachingCombobox = global::Gtk.ComboBox.NewText (); this.networkCachingCombobox.AppendText ("Rotate 180"); this.networkCachingCombobox.AppendText ("Rotate 90 CW"); this.networkCachingCombobox.AppendText ("Rotate 90 CCW"); this.networkCachingCombobox.Name = "networkCachingCombobox"; this.networkCachingCombobox.Active = 0; this.hbox56.Add (this.networkCachingCombobox); global::Gtk.Box.BoxChild w365 = ((global::Gtk.Box.BoxChild)(this.hbox56 [this.networkCachingCombobox])); w365.Position = 1; w365.Expand = false; w365.Fill = false; // Container child hbox56.Gtk.Box+BoxChild this.startStreamButton = new global::Gtk.Button (); this.startStreamButton.WidthRequest = 120; this.startStreamButton.CanFocus = true; this.startStreamButton.Name = "startStreamButton"; this.startStreamButton.UseUnderline = true; this.startStreamButton.Label = "Start Stream"; this.hbox56.Add (this.startStreamButton); global::Gtk.Box.BoxChild w366 = ((global::Gtk.Box.BoxChild)(this.hbox56 [this.startStreamButton])); w366.Position = 2; w366.Expand = false; w366.Fill = false; this.vbox25.Add (this.hbox56); global::Gtk.Box.BoxChild w367 = ((global::Gtk.Box.BoxChild)(this.vbox25 [this.hbox56])); w367.Position = 1; w367.Expand = false; w367.Fill = false; this.frame17.Add (this.vbox25); this.GtkLabel77 = new global::Gtk.Label (); this.GtkLabel77.Name = "GtkLabel77"; this.GtkLabel77.LabelProp = "<b>Streaming</b>"; this.GtkLabel77.UseMarkup = true; this.frame17.LabelWidget = this.GtkLabel77; this.tunnelContainer.Add (this.frame17); global::Gtk.Fixed.FixedChild w369 = ((global::Gtk.Fixed.FixedChild)(this.tunnelContainer [this.frame17])); w369.X = 20; w369.Y = 150; // Container child tunnelContainer.Gtk.Fixed+FixedChild this.frame13 = new global::Gtk.Frame (); this.frame13.WidthRequest = 165; this.frame13.HeightRequest = 140; this.frame13.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild this.vbox23 = new global::Gtk.VBox (); this.vbox23.Name = "vbox23"; this.vbox23.Spacing = 6; this.vbox23.BorderWidth = ((uint)(4)); // Container child vbox23.Gtk.Box+BoxChild this.hbox55 = new global::Gtk.HBox (); this.hbox55.Name = "hbox55"; this.hbox55.Spacing = 9; // Container child hbox55.Gtk.Box+BoxChild this.toggleLightButton = new global::Gtk.Button (); this.toggleLightButton.CanFocus = true; this.toggleLightButton.Name = "toggleLightButton"; this.toggleLightButton.UseUnderline = true; this.toggleLightButton.Label = "Toggle light"; this.hbox55.Add (this.toggleLightButton); global::Gtk.Box.BoxChild w370 = ((global::Gtk.Box.BoxChild)(this.hbox55 [this.toggleLightButton])); w370.Position = 0; w370.Expand = false; w370.Fill = false; // Container child hbox55.Gtk.Box+BoxChild this.gpsButton = new global::Gtk.Button (); this.gpsButton.CanFocus = true; this.gpsButton.Name = "gpsButton"; this.gpsButton.UseUnderline = true; this.gpsButton.Label = "GPS"; this.hbox55.Add (this.gpsButton); global::Gtk.Box.BoxChild w371 = ((global::Gtk.Box.BoxChild)(this.hbox55 [this.gpsButton])); w371.Position = 1; w371.Expand = false; w371.Fill = false; this.vbox23.Add (this.hbox55); global::Gtk.Box.BoxChild w372 = ((global::Gtk.Box.BoxChild)(this.vbox23 [this.hbox55])); w372.Position = 0; w372.Expand = false; w372.Fill = false; // Container child vbox23.Gtk.Box+BoxChild this.gpsCoordinate1 = new global::Gtk.Entry (); this.gpsCoordinate1.CanFocus = true; this.gpsCoordinate1.Name = "gpsCoordinate1"; this.gpsCoordinate1.Text = "N 57° 38.9471"; this.gpsCoordinate1.IsEditable = true; this.gpsCoordinate1.InvisibleChar = '●'; this.vbox23.Add (this.gpsCoordinate1); global::Gtk.Box.BoxChild w373 = ((global::Gtk.Box.BoxChild)(this.vbox23 [this.gpsCoordinate1])); w373.Position = 2; w373.Expand = false; w373.Fill = false; // Container child vbox23.Gtk.Box+BoxChild this.gpsCoordinate2 = new global::Gtk.Entry (); this.gpsCoordinate2.CanFocus = true; this.gpsCoordinate2.Name = "gpsCoordinate2"; this.gpsCoordinate2.Text = "E 10° 24.4465"; this.gpsCoordinate2.IsEditable = true; this.gpsCoordinate2.InvisibleChar = '●'; this.vbox23.Add (this.gpsCoordinate2); global::Gtk.Box.BoxChild w374 = ((global::Gtk.Box.BoxChild)(this.vbox23 [this.gpsCoordinate2])); w374.Position = 3; w374.Expand = false; w374.Fill = false; this.frame13.Add (this.vbox23); this.GtkLabel81 = new global::Gtk.Label (); this.GtkLabel81.Name = "GtkLabel81"; this.GtkLabel81.LabelProp = "<b>Miscellaneous</b>"; this.GtkLabel81.UseMarkup = true; this.frame13.LabelWidget = this.GtkLabel81; this.tunnelContainer.Add (this.frame13); global::Gtk.Fixed.FixedChild w376 = ((global::Gtk.Fixed.FixedChild)(this.tunnelContainer [this.frame13])); w376.X = 20; w376.Y = 10; this.Pages.Add (this.tunnelContainer); global::Gtk.Notebook.NotebookChild w377 = ((global::Gtk.Notebook.NotebookChild)(this.Pages [this.tunnelContainer])); w377.Position = 6; // Notebook tab this.tunnelLabel = new global::Gtk.Label (); this.tunnelLabel.Name = "tunnelLabel"; this.tunnelLabel.LabelProp = "Tunnel"; this.Pages.SetTabLabel (this.tunnelContainer, this.tunnelLabel); this.tunnelLabel.ShowAll (); this.vbox4.Add (this.Pages); global::Gtk.Box.BoxChild w378 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.Pages])); w378.Position = 1; // Container child vbox4.Gtk.Box+BoxChild this.hbox29 = new global::Gtk.HBox (); this.hbox29.Name = "hbox29"; this.hbox29.Spacing = 6; // Container child hbox29.Gtk.Box+BoxChild this.statusImage = new global::Gtk.Image (); this.statusImage.WidthRequest = 35; this.statusImage.Name = "statusImage"; this.statusImage.Xpad = 8; this.statusImage.Xalign = 0F; this.hbox29.Add (this.statusImage); global::Gtk.Box.BoxChild w379 = ((global::Gtk.Box.BoxChild)(this.hbox29 [this.statusImage])); w379.Position = 0; w379.Expand = false; w379.Fill = false; // Container child hbox29.Gtk.Box+BoxChild this.sendStatusbar = new global::Gtk.Statusbar (); this.sendStatusbar.WidthRequest = 130; this.sendStatusbar.Name = "sendStatusbar"; this.sendStatusbar.Spacing = 2; this.sendStatusbar.HasResizeGrip = false; this.hbox29.Add (this.sendStatusbar); global::Gtk.Box.BoxChild w380 = ((global::Gtk.Box.BoxChild)(this.hbox29 [this.sendStatusbar])); w380.Position = 1; // Container child hbox29.Gtk.Box+BoxChild this.replyStatusbar = new global::Gtk.Statusbar (); this.replyStatusbar.WidthRequest = 260; this.replyStatusbar.Name = "replyStatusbar"; this.replyStatusbar.Spacing = 6; this.replyStatusbar.HasResizeGrip = false; this.hbox29.Add (this.replyStatusbar); global::Gtk.Box.BoxChild w381 = ((global::Gtk.Box.BoxChild)(this.hbox29 [this.replyStatusbar])); w381.Position = 2; // Container child hbox29.Gtk.Box+BoxChild this.hbuttonbox16 = new global::Gtk.HButtonBox (); this.hbuttonbox16.WidthRequest = 45; this.hbuttonbox16.Name = "hbuttonbox16"; this.hbox29.Add (this.hbuttonbox16); global::Gtk.Box.BoxChild w382 = ((global::Gtk.Box.BoxChild)(this.hbox29 [this.hbuttonbox16])); w382.Position = 3; this.vbox4.Add (this.hbox29); global::Gtk.Box.BoxChild w383 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox29])); w383.Position = 2; w383.Expand = false; w383.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.fixed15 = new global::Gtk.Fixed (); this.fixed15.Name = "fixed15"; this.fixed15.HasWindow = false; this.vbox4.Add (this.fixed15); global::Gtk.Box.BoxChild w384 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.fixed15])); w384.Position = 3; w384.Expand = false; w384.Fill = false; this.Add (this.vbox4); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 590; this.DefaultHeight = 427; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnKeyPressEvent); this.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnKeyReleaseEvent); this.Pages.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnPagesSwitchPage); this.setNameButton.Clicked += new global::System.EventHandler (this.OnSetNameButtonClicked); this.waitForConnectioncheckbutton.Toggled += new global::System.EventHandler (this.OnWaitForConnectioncheckbuttonToggled); this.portSpinbutton.Changed += new global::System.EventHandler (this.OnPortSpinbuttonChanged); this.ipEntry.Changed += new global::System.EventHandler (this.OnIpEntryChanged); this.comportCombobox.Changed += new global::System.EventHandler (this.OnComportComboboxChanged); this.connectButton.Clicked += new global::System.EventHandler (this.OnConnectButtonClicked); this.disconnectButton.Clicked += new global::System.EventHandler (this.OnDisconnectButtonClicked); this.sensor1Combobox.Changed += new global::System.EventHandler (this.OnSensor1ComboboxChanged); this.readSensor1Button.Clicked += new global::System.EventHandler (this.OnReadSensor1ButtonClicked); this.sensor2Combobox.Changed += new global::System.EventHandler (this.OnSensor2ComboboxChanged); this.readSensor2Button.Clicked += new global::System.EventHandler (this.OnReadSensor2ButtonClicked); this.sensor3Combobox.Changed += new global::System.EventHandler (this.OnSensor3ComboboxChanged); this.readSensor3Button.Clicked += new global::System.EventHandler (this.OnReadSensor3ButtonClicked); this.sensor4Combobox.Changed += new global::System.EventHandler (this.OnSensor4ComboboxChanged); this.readSensor4Button.Clicked += new global::System.EventHandler (this.OnReadSensor4ButtonClicked); this.readSensorTogglebutton.Clicked += new global::System.EventHandler (this.OnReadSensorTogglebuttonClicked); this.pollOptionsCombobox.Changed += new global::System.EventHandler (this.OnPollOptionsComboboxChanged); this.setSensorLogNameButton.Clicked += new global::System.EventHandler (this.OnSetLogFileNameClicked); this.sensorLogCheckbutton.Toggled += new global::System.EventHandler (this.OnSensorLogCheckbuttonToggled); this.readSensor4checkbutton.Toggled += new global::System.EventHandler (this.OnReadSensor4checkbuttonToggled); this.readSensor3checkbutton.Toggled += new global::System.EventHandler (this.OnReadSensor3checkbuttonToggled); this.readSensor2checkbutton.Toggled += new global::System.EventHandler (this.OnReadSensor2checkbuttonToggled); this.readSensor1checkbutton.Toggled += new global::System.EventHandler (this.OnReadSensor1checkbuttonToggled); this.motorAFwdButton.Pressed += new global::System.EventHandler (this.OnMotorAFwdButtonPressed); this.motorAFwdButton.Released += new global::System.EventHandler (this.OnMotorAFwdButtonReleased); this.motorABrakeButton.Pressed += new global::System.EventHandler (this.OnMotorABrakeButtonPressed); this.motorAOffButton.Pressed += new global::System.EventHandler (this.OnMotorAOffButtonPressed); this.motorARevButton.Pressed += new global::System.EventHandler (this.OnMotorARevButtonPressed); this.motorARevButton.Released += new global::System.EventHandler (this.OnMotorARevButtonReleased); this.motorAReadTachoButton.Pressed += new global::System.EventHandler (this.OnMotorAReadTachoButtonPressed); this.motorAMoveToButton.Pressed += new global::System.EventHandler (this.OnMotorAMoveToButtonPressed); this.motorAResetTachoButton.Pressed += new global::System.EventHandler (this.OnMotorAResetTachoButtonPressed); this.uploadFileButton.Pressed += new global::System.EventHandler (this.OnUploadFileButtonPressed); this.downloadFolderButton.Pressed += new global::System.EventHandler (this.OnDownloadFolderClicked); this.downloadFileButton.Pressed += new global::System.EventHandler (this.OnDownloadFileButtonPressed); this.startFileButton.Pressed += new global::System.EventHandler (this.OnStartFileButtonPressed); this.stopFileButton.Pressed += new global::System.EventHandler (this.OnStopFileButtonPressed); this.deleteFileButton.Pressed += new global::System.EventHandler (this.OnDeleteFileButtonPressed); this.formatButton.Pressed += new global::System.EventHandler (this.OnFormatButtonPressed); this.refreshfilelistButton.Pressed += new global::System.EventHandler (this.OnRefreshfilelistButtonPressed); this.sendMessageButton.Clicked += new global::System.EventHandler (this.OnSendMessageButtonClicked); this.outboxFormatCombobox.Changed += new global::System.EventHandler (this.OnOutboxFormatComboboxChanged); this.loadMessageButton.Clicked += new global::System.EventHandler (this.OnLoadMessageButtonClicked); this.saveMessageButton.Clicked += new global::System.EventHandler (this.OnSaveMessageButtonClicked); this.readMessageButton.Clicked += new global::System.EventHandler (this.OnReadMessageButtonClicked); this.inboxFormatCombobox.Changed += new global::System.EventHandler (this.OnInboxFormatComboboxChanged); this.leftMotorCombobox.Changed += new global::System.EventHandler (this.OnLeftMotorComboboxChanged); this.leftMotorReverseCheckbutton.Toggled += new global::System.EventHandler (this.OnLeftMotorReverseCheckbuttonToggled); this.rightMotorCombobox.Changed += new global::System.EventHandler (this.OnRightMotorComboboxChanged); this.rightMotorReverseCheckbutton.Toggled += new global::System.EventHandler (this.OnRightMotorReverseCheckbuttonToggled); this.vehicleTurnRatioScale.ValueChanged += new global::System.EventHandler (this.OnVehicleTurnRatioScaleValueChanged); this.vehicleSpeedScale.ValueChanged += new global::System.EventHandler (this.OnVehicleSpeedScaleValueChanged); this.spinSpeedScale.ValueChanged += new global::System.EventHandler (this.OnSpinSpeedScaleValueChanged); this.motor3Combobox.Changed += new global::System.EventHandler (this.OnMotor3ComboboxChanged); this.motor3ReverseCheckbutton.Toggled += new global::System.EventHandler (this.OnMotor3ReverseCheckbuttonToggled); this.motor3SpeedScale.ValueChanged += new global::System.EventHandler (this.OnMotor3SpeedScaleValueChanged); this.commandNodeView.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnCommandNodeViewButtonPressEvent); this.assignCommandsButton.Clicked += new global::System.EventHandler (this.OnAssignCommandsButtonClicked); this.enableKeyboardInput.Toggled += new global::System.EventHandler (this.OnEnableKeyboardInputToggled); this.startStreamButton.Clicked += new global::System.EventHandler (this.OnStartStreamButtonClicked); }
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.dndAction = new global::Gtk.Action("dndAction", global::Mono.Unix.Catalog.GetString("Arquivo"), null, "gtk-dnd"); this.dndAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Arquivo"); w1.Add(this.dndAction, null); this.newAction = new global::Gtk.Action("newAction", global::Mono.Unix.Catalog.GetString("Novo Arquivo"), null, "gtk-new"); this.newAction.ShortLabel = global::Mono.Unix.Catalog.GetString("New"); w1.Add(this.newAction, null); this.editAction = new global::Gtk.Action("editAction", global::Mono.Unix.Catalog.GetString("Abrir..."), null, "gtk-edit"); this.editAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.editAction, null); this.saveAction = new global::Gtk.Action("saveAction", global::Mono.Unix.Catalog.GetString("Salvar"), null, "gtk-save"); this.saveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.saveAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", global::Mono.Unix.Catalog.GetString("Salvar Como..."), null, "gtk-save-as"); this.saveAsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save as"); w1.Add(this.saveAsAction, null); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", global::Mono.Unix.Catalog.GetString("Simulação"), null, "gtk-media-play"); this.mediaPlayAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Simulação"); w1.Add(this.mediaPlayAction, null); this.directoryAction = new global::Gtk.Action("directoryAction", global::Mono.Unix.Catalog.GetString("Exportar"), null, "gtk-directory"); this.directoryAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exportar"); w1.Add(this.directoryAction, null); this.PNGAction = new global::Gtk.Action("PNGAction", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction, null); this.SVGAction = new global::Gtk.Action("SVGAction", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction, null); this.LogLogAction = new global::Gtk.Action("LogLogAction", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null); this.LogLogAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".json"); w1.Add(this.LogLogAction, null); this.quitAction = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("Fechar"), null, "gtk-quit"); this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Fechar"); w1.Add(this.quitAction, null); this.LogTxtAction = new global::Gtk.Action("LogTxtAction", global::Mono.Unix.Catalog.GetString("Log: .txt"), null, null); this.LogTxtAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .txt"); w1.Add(this.LogTxtAction, null); this.orientationPortraitAction = new global::Gtk.Action("orientationPortraitAction", global::Mono.Unix.Catalog.GetString("Importar"), null, "gtk-orientation-portrait"); this.orientationPortraitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Importar"); w1.Add(this.orientationPortraitAction, null); this.LogLogAction1 = new global::Gtk.Action("LogLogAction1", global::Mono.Unix.Catalog.GetString("Log: .log"), null, null); this.LogLogAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Log .json"); w1.Add(this.LogLogAction1, null); this.CompatibilidadeAction = new global::Gtk.Action("CompatibilidadeAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, null); this.CompatibilidadeAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade"); w1.Add(this.CompatibilidadeAction, null); this.TxtParaJsonAction = new global::Gtk.Action("TxtParaJsonAction", global::Mono.Unix.Catalog.GetString(".txt para .json"), null, null); this.TxtParaJsonAction.ShortLabel = global::Mono.Unix.Catalog.GetString(".txt para .json"); w1.Add(this.TxtParaJsonAction, null); this.findAndReplaceAction = new global::Gtk.Action("findAndReplaceAction", global::Mono.Unix.Catalog.GetString("Compatibilidade"), null, "gtk-find-and-replace"); this.findAndReplaceAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Compatibilidade"); w1.Add(this.findAndReplaceAction, null); this.convertAction = new global::Gtk.Action("convertAction", global::Mono.Unix.Catalog.GetString("TXT para PRB"), null, "gtk-convert"); this.convertAction.ShortLabel = global::Mono.Unix.Catalog.GetString("TXT para PRB"); w1.Add(this.convertAction, null); this.FCFSAction = new global::Gtk.Action("FCFSAction", global::Mono.Unix.Catalog.GetString("FCFS"), null, null); this.FCFSAction.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS"); w1.Add(this.FCFSAction, null); this.PNGAction1 = new global::Gtk.Action("PNGAction1", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction1, null); this.SVGAction1 = new global::Gtk.Action("SVGAction1", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction1.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction1, null); this.FCFSAction1 = new global::Gtk.Action("FCFSAction1", global::Mono.Unix.Catalog.GetString("FCFS"), null, null); this.FCFSAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("FCFS"); w1.Add(this.FCFSAction1, null); this.SJFAction = new global::Gtk.Action("SJFAction", global::Mono.Unix.Catalog.GetString("SJF"), null, null); this.SJFAction.ShortLabel = global::Mono.Unix.Catalog.GetString("SJF"); w1.Add(this.SJFAction, null); this.RRAction = new global::Gtk.Action("RRAction", global::Mono.Unix.Catalog.GetString("RR"), null, null); this.RRAction.ShortLabel = global::Mono.Unix.Catalog.GetString("RR"); w1.Add(this.RRAction, null); this.PNGAction2 = new global::Gtk.Action("PNGAction2", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction2, null); this.SVGAction2 = new global::Gtk.Action("SVGAction2", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction2.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction2, null); this.PNGAction3 = new global::Gtk.Action("PNGAction3", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction3, null); this.SVGAction3 = new global::Gtk.Action("SVGAction3", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction3.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction3, null); this.PNGAction4 = new global::Gtk.Action("PNGAction4", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction4, null); this.SVGAction4 = new global::Gtk.Action("SVGAction4", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction4.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction4, null); this.TodosAction = new global::Gtk.Action("TodosAction", global::Mono.Unix.Catalog.GetString("Todos"), null, null); this.TodosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Todos"); w1.Add(this.TodosAction, null); this.PNGAction5 = new global::Gtk.Action("PNGAction5", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction5, null); this.SVGAction5 = new global::Gtk.Action("SVGAction5", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction5.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction5, null); this.BenchmarkAction = new global::Gtk.Action("BenchmarkAction", global::Mono.Unix.Catalog.GetString("Benchmark"), null, null); this.BenchmarkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Comparação"); w1.Add(this.BenchmarkAction, null); this.PNGAction6 = new global::Gtk.Action("PNGAction6", global::Mono.Unix.Catalog.GetString(".PNG"), null, null); this.PNGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".PNG"); w1.Add(this.PNGAction6, null); this.SVGAction6 = new global::Gtk.Action("SVGAction6", global::Mono.Unix.Catalog.GetString(".SVG"), null, null); this.SVGAction6.ShortLabel = global::Mono.Unix.Catalog.GetString(".SVG"); w1.Add(this.SVGAction6, null); this.dialogQuestionAction = new global::Gtk.Action("dialogQuestionAction", global::Mono.Unix.Catalog.GetString("Ajuda"), null, "gtk-dialog-question"); this.dialogQuestionAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.dialogQuestionAction, null); this.dialogInfoAction = new global::Gtk.Action("dialogInfoAction", global::Mono.Unix.Catalog.GetString("Sobre"), null, "gtk-dialog-info"); this.dialogInfoAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Sobre"); w1.Add(this.dialogInfoAction, null); this.AjudaAction1 = new global::Gtk.Action("AjudaAction1", global::Mono.Unix.Catalog.GetString("Ajuda"), null, null); this.AjudaAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.AjudaAction1, null); this.connectAction = new global::Gtk.Action("connectAction", global::Mono.Unix.Catalog.GetString("Documentação"), null, "gtk-connect"); this.connectAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Ajuda"); w1.Add(this.connectAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Scheduler#"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("SchedulerSharp.icon512.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar3\'><menu name=\'dndAction\' action=\'dndAction\'><menuitem " + "name=\'newAction\' action=\'newAction\'/><menuitem name=\'editAction\' action=\'editAct" + "ion\'/><menuitem name=\'saveAction\' action=\'saveAction\'/><menuitem name=\'saveAsAct" + "ion\' action=\'saveAsAction\'/><menuitem name=\'quitAction\' action=\'quitAction\'/></m" + "enu><menu name=\'mediaPlayAction\' action=\'mediaPlayAction\'><menu name=\'directoryA" + "ction\' action=\'directoryAction\'><menu name=\'FCFSAction1\' action=\'FCFSAction1\'><m" + "enuitem name=\'PNGAction2\' action=\'PNGAction2\'/><menuitem name=\'SVGAction2\' actio" + "n=\'SVGAction2\'/></menu><menu name=\'SJFAction\' action=\'SJFAction\'><menuitem name=" + "\'PNGAction3\' action=\'PNGAction3\'/><menuitem name=\'SVGAction3\' action=\'SVGAction3" + "\'/></menu><menu name=\'RRAction\' action=\'RRAction\'><menuitem name=\'PNGAction4\' ac" + "tion=\'PNGAction4\'/><menuitem name=\'SVGAction4\' action=\'SVGAction4\'/></menu><menu" + " name=\'BenchmarkAction\' action=\'BenchmarkAction\'><menuitem name=\'PNGAction6\' act" + "ion=\'PNGAction6\'/><menuitem name=\'SVGAction6\' action=\'SVGAction6\'/></menu><menu " + "name=\'TodosAction\' action=\'TodosAction\'><menuitem name=\'PNGAction5\' action=\'PNGA" + "ction5\'/><menuitem name=\'SVGAction5\' action=\'SVGAction5\'/></menu><menuitem name=" + "\'LogLogAction\' action=\'LogLogAction\'/><menuitem name=\'LogTxtAction\' action=\'LogT" + "xtAction\'/></menu><menu name=\'orientationPortraitAction\' action=\'orientationPort" + "raitAction\'><menuitem name=\'LogLogAction1\' action=\'LogLogAction1\'/></menu></menu" + "><menu name=\'findAndReplaceAction\' action=\'findAndReplaceAction\'><menuitem name=" + "\'convertAction\' action=\'convertAction\'/></menu><menu name=\'dialogQuestionAction\'" + " action=\'dialogQuestionAction\'><menuitem name=\'connectAction\' action=\'connectAct" + "ion\'/><menuitem name=\'dialogInfoAction\' action=\'dialogInfoAction\'/></menu></menu" + "bar></ui>"); this.menubar3 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar3"))); this.menubar3.Name = "menubar3"; this.vbox1.Add(this.menubar3); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new global::Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.simulatorBox = new global::Gtk.VBox(); this.simulatorBox.Name = "simulatorBox"; this.simulatorBox.Spacing = 6; // Container child simulatorBox.Gtk.Box+BoxChild this.menuBox = new global::Gtk.HBox(); this.menuBox.Name = "menuBox"; this.menuBox.Spacing = 6; // Container child menuBox.Gtk.Box+BoxChild this.SchedulerCombobox = global::Gtk.ComboBox.NewText(); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("FCFS")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("SJF")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("RR")); this.SchedulerCombobox.AppendText(global::Mono.Unix.Catalog.GetString("Benchmark")); this.SchedulerCombobox.WidthRequest = 160; this.SchedulerCombobox.Name = "SchedulerCombobox"; this.SchedulerCombobox.Active = 0; this.menuBox.Add(this.SchedulerCombobox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.SchedulerCombobox])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child menuBox.Gtk.Box+BoxChild this.directoryEntry = global::Gtk.ComboBox.NewText(); this.directoryEntry.Name = "directoryEntry"; this.menuBox.Add(this.directoryEntry); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.menuBox[this.directoryEntry])); w4.Position = 1; this.simulatorBox.Add(this.menuBox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.menuBox])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.quantumBox = new global::Gtk.HBox(); this.quantumBox.Name = "quantumBox"; this.quantumBox.Spacing = 6; // Container child quantumBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Quantum"); this.label1.Justify = ((global::Gtk.Justification)(2)); this.quantumBox.Add(this.label1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.label1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child quantumBox.Gtk.Box+BoxChild this.quantumScale = new global::Gtk.HScale(null); this.quantumScale.CanFocus = true; this.quantumScale.Name = "quantumScale"; this.quantumScale.Adjustment.Lower = 1D; this.quantumScale.Adjustment.Upper = 100D; this.quantumScale.Adjustment.PageIncrement = 10D; this.quantumScale.Adjustment.StepIncrement = 1D; this.quantumScale.Adjustment.Value = 1D; this.quantumScale.DrawValue = true; this.quantumScale.Digits = 0; this.quantumScale.ValuePos = ((global::Gtk.PositionType)(1)); this.quantumBox.Add(this.quantumScale); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.quantumBox[this.quantumScale])); w7.Position = 1; this.simulatorBox.Add(this.quantumBox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.quantumBox])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.plotBox = new global::Gtk.HPaned(); this.plotBox.CanFocus = true; this.plotBox.Name = "plotBox"; this.plotBox.Position = 328; this.simulatorBox.Add(this.plotBox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.plotBox])); w9.Position = 2; // Container child simulatorBox.Gtk.Box+BoxChild this.mediaBox = new global::Gtk.HBox(); this.mediaBox.Name = "mediaBox"; this.mediaBox.Spacing = 6; // Container child mediaBox.Gtk.Box+BoxChild this.previewButton = new global::Gtk.Button(); this.previewButton.CanFocus = true; this.previewButton.Name = "previewButton"; this.previewButton.UseUnderline = true; this.previewButton.Label = global::Mono.Unix.Catalog.GetString("Retroceder"); global::Gtk.Image w10 = new global::Gtk.Image(); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", global::Gtk.IconSize.Button); this.previewButton.Image = w10; this.mediaBox.Add(this.previewButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.previewButton])); w11.Position = 0; // Container child mediaBox.Gtk.Box+BoxChild this.pauseButton = new global::Gtk.Button(); this.pauseButton.CanFocus = true; this.pauseButton.Name = "pauseButton"; this.pauseButton.UseUnderline = true; this.pauseButton.Label = global::Mono.Unix.Catalog.GetString("Pausar/Continuar"); global::Gtk.Image w12 = new global::Gtk.Image(); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Button); this.pauseButton.Image = w12; this.mediaBox.Add(this.pauseButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.pauseButton])); w13.Position = 1; // Container child mediaBox.Gtk.Box+BoxChild this.playButton = new global::Gtk.Button(); this.playButton.CanFocus = true; this.playButton.Name = "playButton"; this.playButton.UseUnderline = true; this.playButton.Label = global::Mono.Unix.Catalog.GetString("Iniciar"); global::Gtk.Image w14 = new global::Gtk.Image(); w14.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Button); this.playButton.Image = w14; this.mediaBox.Add(this.playButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.playButton])); w15.Position = 2; // Container child mediaBox.Gtk.Box+BoxChild this.nextButton = new global::Gtk.Button(); this.nextButton.CanFocus = true; this.nextButton.Name = "nextButton"; this.nextButton.UseUnderline = true; this.nextButton.Label = global::Mono.Unix.Catalog.GetString("Avançar"); global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-next", global::Gtk.IconSize.Button); this.nextButton.Image = w16; this.mediaBox.Add(this.nextButton); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.mediaBox[this.nextButton])); w17.Position = 3; this.simulatorBox.Add(this.mediaBox); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.mediaBox])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child simulatorBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.progressFCFS = new global::Gtk.ProgressBar(); this.progressFCFS.Name = "progressFCFS"; this.progressFCFS.Text = global::Mono.Unix.Catalog.GetString("FCFS"); this.hbox1.Add(this.progressFCFS); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressFCFS])); w19.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.progressSJF = new global::Gtk.ProgressBar(); this.progressSJF.Name = "progressSJF"; this.progressSJF.Text = global::Mono.Unix.Catalog.GetString("SJF"); this.hbox1.Add(this.progressSJF); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressSJF])); w20.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.progressRR = new global::Gtk.ProgressBar(); this.progressRR.Name = "progressRR"; this.progressRR.Text = global::Mono.Unix.Catalog.GetString("RR"); this.hbox1.Add(this.progressRR); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.progressRR])); w21.Position = 2; this.simulatorBox.Add(this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.simulatorBox[this.hbox1])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 4; w22.Expand = false; w22.Fill = false; this.notebook1.Add(this.simulatorBox); // Notebook tab this.simuPageText = new global::Gtk.Label(); this.simuPageText.Name = "simuPageText"; this.simuPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Simulação"); this.notebook1.SetTabLabel(this.simulatorBox, this.simuPageText); this.simuPageText.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.creatorBox = new global::Gtk.VBox(); this.creatorBox.Name = "creatorBox"; this.creatorBox.Spacing = 6; // Container child creatorBox.Gtk.Box+BoxChild this.cMenuBox = new global::Gtk.HBox(); this.cMenuBox.Name = "cMenuBox"; this.cMenuBox.Spacing = 6; // Container child cMenuBox.Gtk.Box+BoxChild this.dirCreatorEntry = global::Gtk.ComboBox.NewText(); this.dirCreatorEntry.Name = "dirCreatorEntry"; this.cMenuBox.Add(this.dirCreatorEntry); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.cMenuBox[this.dirCreatorEntry])); w24.Position = 0; this.creatorBox.Add(this.cMenuBox); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.cMenuBox])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child creatorBox.Gtk.Box+BoxChild this.scrolledWindow = new global::Gtk.ScrolledWindow(); this.scrolledWindow.CanFocus = true; this.scrolledWindow.Name = "scrolledWindow"; this.scrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.creatorBox.Add(this.scrolledWindow); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.scrolledWindow])); w26.Position = 1; // Container child creatorBox.Gtk.Box+BoxChild this.settingsBox = new global::Gtk.HBox(); this.settingsBox.Name = "settingsBox"; this.settingsBox.Spacing = 6; // Container child settingsBox.Gtk.Box+BoxChild this.addCreatorButton = new global::Gtk.Button(); this.addCreatorButton.CanFocus = true; this.addCreatorButton.Name = "addCreatorButton"; this.addCreatorButton.UseUnderline = true; this.addCreatorButton.Label = global::Mono.Unix.Catalog.GetString("Adicionar"); global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Button); this.addCreatorButton.Image = w27; this.settingsBox.Add(this.addCreatorButton); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.addCreatorButton])); w28.Position = 0; // Container child settingsBox.Gtk.Box+BoxChild this.removeCreatorButton = new global::Gtk.Button(); this.removeCreatorButton.CanFocus = true; this.removeCreatorButton.Name = "removeCreatorButton"; this.removeCreatorButton.UseUnderline = true; this.removeCreatorButton.Label = global::Mono.Unix.Catalog.GetString("Remover"); global::Gtk.Image w29 = new global::Gtk.Image(); w29.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "stock_delete", global::Gtk.IconSize.Button); this.removeCreatorButton.Image = w29; this.settingsBox.Add(this.removeCreatorButton); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.settingsBox[this.removeCreatorButton])); w30.Position = 1; this.creatorBox.Add(this.settingsBox); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.creatorBox[this.settingsBox])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.notebook1.Add(this.creatorBox); global::Gtk.Notebook.NotebookChild w32 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.creatorBox])); w32.Position = 1; // Notebook tab this.creationPageText = new global::Gtk.Label(); this.creationPageText.Name = "creationPageText"; this.creationPageText.LabelProp = global::Mono.Unix.Catalog.GetString("Criação"); this.notebook1.SetTabLabel(this.creatorBox, this.creationPageText); this.creationPageText.ShowAll(); this.vbox1.Add(this.notebook1); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w33.Position = 1; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler(this.NewEvent); this.editAction.Activated += new global::System.EventHandler(this.EditButtonEvent); this.saveAction.Activated += new global::System.EventHandler(this.SaveEvent); this.saveAsAction.Activated += new global::System.EventHandler(this.SaveAsEvent); this.LogLogAction.Activated += new global::System.EventHandler(this.LogJsonEvent); this.quitAction.Activated += new global::System.EventHandler(this.CloseEvent); this.LogTxtAction.Activated += new global::System.EventHandler(this.LogTxtEvent); this.LogLogAction1.Activated += new global::System.EventHandler(this.OnOpenLogJson); this.convertAction.Activated += new global::System.EventHandler(this.TxtToPRBEvent); this.PNGAction2.Activated += new global::System.EventHandler(this.ExportFCFSPNG); this.SVGAction2.Activated += new global::System.EventHandler(this.ExportFCFSSVG); this.PNGAction3.Activated += new global::System.EventHandler(this.ExportSJFPNG); this.SVGAction3.Activated += new global::System.EventHandler(this.ExportSJFSVG); this.PNGAction4.Activated += new global::System.EventHandler(this.ExportRRPNG); this.SVGAction4.Activated += new global::System.EventHandler(this.ExportRRSVG); this.PNGAction5.Activated += new global::System.EventHandler(this.ExportALLPNG); this.SVGAction5.Activated += new global::System.EventHandler(this.ExportALLSVG); this.PNGAction6.Activated += new global::System.EventHandler(this.ExportComparePNG); this.SVGAction6.Activated += new global::System.EventHandler(this.ExportCompareSVG); this.dialogInfoAction.Activated += new global::System.EventHandler(this.AboutWindowOpen); this.connectAction.Activated += new global::System.EventHandler(this.HelpEvent); this.SchedulerCombobox.Changed += new global::System.EventHandler(this.OnSelectScheduler); this.directoryEntry.Changed += new global::System.EventHandler(this.OnChangeDirEntry); this.quantumScale.ValueChanged += new global::System.EventHandler(this.OnQuantumChange); this.previewButton.Clicked += new global::System.EventHandler(this.PreviewEvent); this.pauseButton.Clicked += new global::System.EventHandler(this.PauseEvent); this.playButton.Clicked += new global::System.EventHandler(this.PlayEvent); this.nextButton.Clicked += new global::System.EventHandler(this.NextEvent); this.dirCreatorEntry.Changed += new global::System.EventHandler(this.OnChangeDirEntry); this.addCreatorButton.Clicked += new global::System.EventHandler(this.AddCreationEvent); this.removeCreatorButton.Clicked += new global::System.EventHandler(this.RemoveCreationEvent); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MPfm.GTK.Windows.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.actionExit = new global::Gtk.Action ("actionExit", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); this.actionExit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); w1.Add (this.actionExit, null); this.actionAbout = new global::Gtk.Action ("actionAbout", global::Mono.Unix.Catalog.GetString ("About MPfm"), null, null); this.actionAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("About MPfm"); w1.Add (this.actionAbout, null); this.actionHelp = new global::Gtk.Action ("actionHelp", global::Mono.Unix.Catalog.GetString ("Help"), null, "gtk-help"); this.actionHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.actionHelp, null); this.aboutAction = new global::Gtk.Action ("aboutAction", global::Mono.Unix.Catalog.GetString ("About MPfm"), null, "gtk-about"); this.aboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("About MPfm"); w1.Add (this.aboutAction, null); this.PlaybackAction = new global::Gtk.Action ("PlaybackAction", global::Mono.Unix.Catalog.GetString ("Playback"), null, null); this.PlaybackAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playback"); w1.Add (this.PlaybackAction, null); this.actionPlay = new global::Gtk.Action ("actionPlay", global::Mono.Unix.Catalog.GetString ("Play"), null, "gtk-media-play"); this.actionPlay.ShortLabel = global::Mono.Unix.Catalog.GetString ("Play"); w1.Add (this.actionPlay, null); this.actionPause = new global::Gtk.Action ("actionPause", global::Mono.Unix.Catalog.GetString ("Pause"), null, "gtk-media-pause"); this.actionPause.ShortLabel = global::Mono.Unix.Catalog.GetString ("Pause"); w1.Add (this.actionPause, null); this.actionStop = new global::Gtk.Action ("actionStop", global::Mono.Unix.Catalog.GetString ("Stop"), null, "gtk-media-stop"); this.actionStop.ShortLabel = global::Mono.Unix.Catalog.GetString ("Stop"); w1.Add (this.actionStop, null); this.actionPrevious = new global::Gtk.Action ("actionPrevious", global::Mono.Unix.Catalog.GetString ("Previous Song"), null, "gtk-media-previous"); this.actionPrevious.ShortLabel = global::Mono.Unix.Catalog.GetString ("Previous Song"); w1.Add (this.actionPrevious, null); this.actionNext = new global::Gtk.Action ("actionNext", global::Mono.Unix.Catalog.GetString ("Next Song"), null, "gtk-media-next"); this.actionNext.ShortLabel = global::Mono.Unix.Catalog.GetString ("Next Song"); w1.Add (this.actionNext, null); this.actionRepeatType = new global::Gtk.Action ("actionRepeatType", global::Mono.Unix.Catalog.GetString ("Repeat Type (Off)"), null, "stock_repeat"); this.actionRepeatType.ShortLabel = global::Mono.Unix.Catalog.GetString ("Repeat Type (Off)"); w1.Add (this.actionRepeatType, null); this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("Open audio files..."), null, "gtk-open"); this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open Audio Files"); w1.Add (this.openAction, null); this.actionUpdateLibrary = new global::Gtk.Action ("actionUpdateLibrary", global::Mono.Unix.Catalog.GetString ("Update Library"), null, "gtk-refresh"); this.actionUpdateLibrary.ShortLabel = global::Mono.Unix.Catalog.GetString ("Update Library"); w1.Add (this.actionUpdateLibrary, null); this.actionSettings = new global::Gtk.Action ("actionSettings", global::Mono.Unix.Catalog.GetString ("Settings"), null, "gtk-preferences"); this.actionSettings.ShortLabel = global::Mono.Unix.Catalog.GetString ("Settings"); w1.Add (this.actionSettings, null); this.actionEffects = new global::Gtk.Action ("actionEffects", global::Mono.Unix.Catalog.GetString ("Effects"), null, "stock_volume"); this.actionEffects.ShortLabel = global::Mono.Unix.Catalog.GetString ("Effects"); w1.Add (this.actionEffects, null); this.WindowsAction = new global::Gtk.Action ("WindowsAction", global::Mono.Unix.Catalog.GetString ("Windows"), null, null); this.WindowsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Windows"); w1.Add (this.WindowsAction, null); this.actionPlaylist = new global::Gtk.Action ("actionPlaylist", global::Mono.Unix.Catalog.GetString ("Playlist"), null, "gtk-dnd-multiple"); this.actionPlaylist.ShortLabel = global::Mono.Unix.Catalog.GetString ("Playlist"); w1.Add (this.actionPlaylist, null); this.actionRemoveLoop = new global::Gtk.Action ("actionRemoveLoop", null, null, "gtk-remove"); w1.Add (this.actionRemoveLoop, null); this.actionAddMarker = new global::Gtk.Action ("actionAddMarker", null, null, "gtk-add"); w1.Add (this.actionAddMarker, null); this.actionRemoveMarker = new global::Gtk.Action ("actionRemoveMarker", null, null, "gtk-remove"); w1.Add (this.actionRemoveMarker, null); this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); w1.Add (this.addAction, null); this.editAction = new global::Gtk.Action ("editAction", null, null, "gtk-edit"); w1.Add (this.editAction, null); this.actionEditMarker = new global::Gtk.Action ("actionEditMarker", null, null, "gtk-edit"); w1.Add (this.actionEditMarker, null); this.actionGoToMarker = new global::Gtk.Action ("actionGoToMarker", null, null, "gtk-go-forward"); w1.Add (this.actionGoToMarker, null); this.actionAddFiles = new global::Gtk.Action ("actionAddFiles", global::Mono.Unix.Catalog.GetString ("Add files to library..."), null, "gtk-add"); this.actionAddFiles.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add files to library..."); w1.Add (this.actionAddFiles, null); this.actionAddFolder = new global::Gtk.Action ("actionAddFolder", global::Mono.Unix.Catalog.GetString ("Add folder to library..."), null, "gtk-add"); this.actionAddFolder.ShortLabel = global::Mono.Unix.Catalog.GetString ("Add folder to library..."); w1.Add (this.actionAddFolder, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.actionPlayLoop = new global::Gtk.Action ("actionPlayLoop", null, null, "gtk-media-play"); w1.Add (this.actionPlayLoop, null); this.connectAction = new global::Gtk.Action ("connectAction", null, null, "gtk-connect"); w1.Add (this.connectAction, null); this.SyncCloudAction = new global::Gtk.Action ("SyncCloudAction", global::Mono.Unix.Catalog.GetString ("Sync (Cloud)"), null, null); this.SyncCloudAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sync (Cloud)"); w1.Add (this.SyncCloudAction, null); this.SyncWebBrowserAction = new global::Gtk.Action ("SyncWebBrowserAction", global::Mono.Unix.Catalog.GetString ("Sync (Web Browser)"), null, null); this.SyncWebBrowserAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Sync (Web Browser)"); w1.Add (this.SyncWebBrowserAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "MPfm.GTK.Windows.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MPfm: Music Player for Musicians"); this.Icon = new global::Gdk.Pixbuf (global::System.IO.Path.Combine (global::System.AppDomain.CurrentDomain.BaseDirectory, "./icon48.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.DefaultWidth = 100; // Container child MPfm.GTK.Windows.MainWindow.Gtk.Container+ContainerChild this.vboxMain = new global::Gtk.VBox (); this.vboxMain.Name = "vboxMain"; // Container child vboxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name='menubarMain'><menu name='FileAction' action='FileAction'><menuitem name='actionAddFiles' action='actionAddFiles'/><menuitem name='actionAddFolder' action='actionAddFolder'/><separator/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='actionUpdateLibrary' action='actionUpdateLibrary'/><separator/><menuitem name='actionExit' action='actionExit'/></menu><menu name='PlaybackAction' action='PlaybackAction'><menuitem name='actionPlay' action='actionPlay'/><menuitem name='actionPause' action='actionPause'/><menuitem name='actionStop' action='actionStop'/><menuitem name='actionPrevious' action='actionPrevious'/><menuitem name='actionNext' action='actionNext'/><menuitem name='actionRepeatType' action='actionRepeatType'/></menu><menu name='WindowsAction' action='WindowsAction'><menuitem name='SyncCloudAction' action='SyncCloudAction'/><menuitem name='SyncWebBrowserAction' action='SyncWebBrowserAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='actionHelp' action='actionHelp'/><menuitem name='actionAbout' action='actionAbout'/></menu></menubar></ui>"); this.menubarMain = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubarMain"))); this.menubarMain.Name = "menubarMain"; this.vboxMain.Add (this.menubarMain); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.menubarMain])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarMain'><toolitem name='openAction' action='openAction'/><separator/><toolitem name='actionPlay' action='actionPlay'/><toolitem name='actionPrevious' action='actionPrevious'/><toolitem name='actionNext' action='actionNext'/><toolitem name='actionRepeatType' action='actionRepeatType'/><separator/><toolitem name='actionUpdateLibrary' action='actionUpdateLibrary'/><toolitem name='actionPlaylist' action='actionPlaylist'/><toolitem name='actionEffects' action='actionEffects'/><toolitem name='connectAction' action='connectAction'/><toolitem name='actionSettings' action='actionSettings'/></toolbar></ui>"); this.toolbarMain = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarMain"))); this.toolbarMain.Name = "toolbarMain"; this.toolbarMain.ShowArrow = false; this.toolbarMain.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarMain.IconSize = ((global::Gtk.IconSize)(2)); this.vboxMain.Add (this.toolbarMain); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.toolbarMain])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxMain.Gtk.Box+BoxChild this.hpanedMain = new global::Gtk.HPaned (); this.hpanedMain.CanFocus = true; this.hpanedMain.Name = "hpanedMain"; this.hpanedMain.Position = 236; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxLeft = new global::Gtk.VBox (); this.vboxLeft.Name = "vboxLeft"; this.vboxLeft.Spacing = 6; this.vboxLeft.BorderWidth = ((uint)(4)); // Container child vboxLeft.Gtk.Box+BoxChild this.lblLibraryBrowser = new global::Gtk.Label (); this.lblLibraryBrowser.Name = "lblLibraryBrowser"; this.lblLibraryBrowser.Xalign = 0F; this.lblLibraryBrowser.LabelProp = global::Mono.Unix.Catalog.GetString ("Library Browser"); this.vboxLeft.Add (this.lblLibraryBrowser); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.lblLibraryBrowser])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.hbox13 = new global::Gtk.HBox (); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.lblLibraryFilter = new global::Gtk.Label (); this.lblLibraryFilter.Name = "lblLibraryFilter"; this.lblLibraryFilter.Xalign = 0F; this.lblLibraryFilter.LabelProp = global::Mono.Unix.Catalog.GetString ("Filter by Sound Format:"); this.hbox13.Add (this.lblLibraryFilter); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.lblLibraryFilter])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.cboSoundFormat = global::Gtk.ComboBox.NewText (); this.cboSoundFormat.Name = "cboSoundFormat"; this.hbox13.Add (this.cboSoundFormat); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox13 [this.cboSoundFormat])); w6.Position = 1; this.vboxLeft.Add (this.hbox13); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.hbox13])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vboxLeft.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeLibraryBrowser = new global::Gtk.TreeView (); this.treeLibraryBrowser.CanFocus = true; this.treeLibraryBrowser.Name = "treeLibraryBrowser"; this.GtkScrolledWindow1.Add (this.treeLibraryBrowser); this.vboxLeft.Add (this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vboxLeft [this.GtkScrolledWindow1])); w9.Position = 2; this.hpanedMain.Add (this.vboxLeft); global::Gtk.Paned.PanedChild w10 = ((global::Gtk.Paned.PanedChild)(this.hpanedMain [this.vboxLeft])); w10.Resize = false; // Container child hpanedMain.Gtk.Paned+PanedChild this.vboxRight = new global::Gtk.VBox (); this.vboxRight.Name = "vboxRight"; this.vboxRight.Spacing = 6; this.vboxRight.BorderWidth = ((uint)(4)); // Container child vboxRight.Gtk.Box+BoxChild this.vboxCurrentSong = new global::Gtk.VBox (); this.vboxCurrentSong.Name = "vboxCurrentSong"; this.vboxCurrentSong.Spacing = 2; // Container child vboxCurrentSong.Gtk.Box+BoxChild this.lblCurrentSong = new global::Gtk.Label (); this.lblCurrentSong.Name = "lblCurrentSong"; this.lblCurrentSong.Xalign = 0F; this.lblCurrentSong.LabelProp = global::Mono.Unix.Catalog.GetString ("Current Song"); this.vboxCurrentSong.Add (this.lblCurrentSong); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentSong [this.lblCurrentSong])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vboxCurrentSong.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.imageAlbumCover = new global::Gtk.Image (); this.imageAlbumCover.Name = "imageAlbumCover"; this.imageAlbumCover.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-about", global::Gtk.IconSize.Menu); this.hbox4.Add (this.imageAlbumCover); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.imageAlbumCover])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.lblArtistName = new global::Gtk.Label (); this.lblArtistName.Name = "lblArtistName"; this.lblArtistName.Xalign = 0F; this.lblArtistName.LabelProp = global::Mono.Unix.Catalog.GetString ("Artist Name"); this.lblArtistName.Wrap = true; this.lblArtistName.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblArtistName); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblArtistName])); w13.Position = 0; w13.Expand = false; // Container child vbox4.Gtk.Box+BoxChild this.lblAlbumTitle = new global::Gtk.Label (); this.lblAlbumTitle.Name = "lblAlbumTitle"; this.lblAlbumTitle.Xalign = 0F; this.lblAlbumTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Album Title"); this.lblAlbumTitle.Wrap = true; this.lblAlbumTitle.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblAlbumTitle); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblAlbumTitle])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.lblSongTitle = new global::Gtk.Label (); this.lblSongTitle.Name = "lblSongTitle"; this.lblSongTitle.Xalign = 0F; this.lblSongTitle.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Title"); this.lblSongTitle.Wrap = true; this.lblSongTitle.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblSongTitle); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSongTitle])); w15.Position = 2; w15.Expand = false; w15.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.lblSongFilePath = new global::Gtk.Label (); this.lblSongFilePath.Name = "lblSongFilePath"; this.lblSongFilePath.Xalign = 0F; this.lblSongFilePath.LabelProp = global::Mono.Unix.Catalog.GetString ("Song File Path"); this.lblSongFilePath.Wrap = true; this.lblSongFilePath.Ellipsize = ((global::Pango.EllipsizeMode)(3)); this.vbox4.Add (this.lblSongFilePath); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.lblSongFilePath])); w16.Position = 3; w16.Expand = false; w16.Fill = false; this.hbox5.Add (this.vbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox4])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.WidthRequest = 300; this.fixed3.HeightRequest = 145; this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.lblPitchShiftingValue = new global::Gtk.Label (); this.lblPitchShiftingValue.Name = "lblPitchShiftingValue"; this.lblPitchShiftingValue.Xalign = 0F; this.lblPitchShiftingValue.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.fixed3.Add (this.lblPitchShiftingValue); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lblPitchShiftingValue])); w18.X = 131; w18.Y = 26; // Container child fixed3.Gtk.Fixed+FixedChild this.btnDetectTempo = new global::Gtk.Button (); this.btnDetectTempo.HeightRequest = 22; this.btnDetectTempo.CanFocus = true; this.btnDetectTempo.Name = "btnDetectTempo"; this.btnDetectTempo.UseUnderline = true; this.btnDetectTempo.Label = global::Mono.Unix.Catalog.GetString ("Detect tempo"); this.fixed3.Add (this.btnDetectTempo); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.btnDetectTempo])); w19.X = 23; w19.Y = 72; // Container child fixed3.Gtk.Fixed+FixedChild this.hscaleTimeShifting1 = new global::Gtk.HScale (null); this.hscaleTimeShifting1.WidthRequest = 272; this.hscaleTimeShifting1.CanFocus = true; this.hscaleTimeShifting1.Name = "hscaleTimeShifting1"; this.hscaleTimeShifting1.Adjustment.Lower = 50; this.hscaleTimeShifting1.Adjustment.Upper = 150; this.hscaleTimeShifting1.Adjustment.PageIncrement = 10; this.hscaleTimeShifting1.Adjustment.StepIncrement = 1; this.hscaleTimeShifting1.Adjustment.Value = 100.617283950617; this.hscaleTimeShifting1.DrawValue = false; this.hscaleTimeShifting1.Digits = 0; this.hscaleTimeShifting1.ValuePos = ((global::Gtk.PositionType)(0)); this.fixed3.Add (this.hscaleTimeShifting1); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.hscaleTimeShifting1])); w20.X = 7; w20.Y = 41; // Container child fixed3.Gtk.Fixed+FixedChild this.lblPitchShifting = new global::Gtk.Label (); this.lblPitchShifting.HeightRequest = 20; this.lblPitchShifting.Name = "lblPitchShifting"; this.lblPitchShifting.Xalign = 0F; this.lblPitchShifting.LabelProp = global::Mono.Unix.Catalog.GetString ("Pitch Shifting"); this.fixed3.Add (this.lblPitchShifting); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lblPitchShifting])); w21.X = 21; w21.Y = 22; this.hbox5.Add (this.fixed3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed3])); w22.PackType = ((global::Gtk.PackType)(1)); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox (); this.vbox10.WidthRequest = 84; this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.lblInformation = new global::Gtk.Label (); this.lblInformation.HeightRequest = 20; this.lblInformation.Name = "lblInformation"; this.lblInformation.Xalign = 0F; this.lblInformation.LabelProp = global::Mono.Unix.Catalog.GetString ("Information"); this.vbox10.Add (this.lblInformation); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblInformation])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentFileType = new global::Gtk.Label (); this.lblCurrentFileType.Name = "lblCurrentFileType"; this.lblCurrentFileType.Xalign = 0F; this.lblCurrentFileType.LabelProp = global::Mono.Unix.Catalog.GetString ("FLAC"); this.vbox10.Add (this.lblCurrentFileType); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentFileType])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentSampleRate = new global::Gtk.Label (); this.lblCurrentSampleRate.Name = "lblCurrentSampleRate"; this.lblCurrentSampleRate.Xalign = 0F; this.lblCurrentSampleRate.LabelProp = global::Mono.Unix.Catalog.GetString ("44100 Hz"); this.vbox10.Add (this.lblCurrentSampleRate); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentSampleRate])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentBitsPerSample = new global::Gtk.Label (); this.lblCurrentBitsPerSample.Name = "lblCurrentBitsPerSample"; this.lblCurrentBitsPerSample.Xalign = 0F; this.lblCurrentBitsPerSample.LabelProp = global::Mono.Unix.Catalog.GetString ("16 bits"); this.vbox10.Add (this.lblCurrentBitsPerSample); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentBitsPerSample])); w26.Position = 3; w26.Expand = false; w26.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.lblCurrentBitrate = new global::Gtk.Label (); this.lblCurrentBitrate.Name = "lblCurrentBitrate"; this.lblCurrentBitrate.Xalign = 0F; this.lblCurrentBitrate.LabelProp = global::Mono.Unix.Catalog.GetString ("320 kbps"); this.vbox10.Add (this.lblCurrentBitrate); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.lblCurrentBitrate])); w27.Position = 4; w27.Expand = false; w27.Fill = false; this.hbox5.Add (this.vbox10); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.vbox10])); w28.PackType = ((global::Gtk.PackType)(1)); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.vbox3.Add (this.hbox5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox5])); w29.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.lblSongPosition = new global::Gtk.Label (); this.lblSongPosition.HeightRequest = 20; this.lblSongPosition.Name = "lblSongPosition"; this.lblSongPosition.Xalign = 0F; this.lblSongPosition.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Position"); this.vbox5.Add (this.lblSongPosition); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.lblSongPosition])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.lblCurrentPosition = new global::Gtk.Label (); this.lblCurrentPosition.Name = "lblCurrentPosition"; this.lblCurrentPosition.Xalign = 0F; this.lblCurrentPosition.LabelProp = global::Mono.Unix.Catalog.GetString ("[Position]"); this.hbox7.Add (this.lblCurrentPosition); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.lblCurrentPosition])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.hscaleSongPosition = new global::Gtk.HScale (null); this.hscaleSongPosition.CanFocus = true; this.hscaleSongPosition.Name = "hscaleSongPosition"; this.hscaleSongPosition.Adjustment.Upper = 9999; this.hscaleSongPosition.Adjustment.PageIncrement = 10; this.hscaleSongPosition.Adjustment.StepIncrement = 1; this.hscaleSongPosition.Adjustment.Value = 10; this.hscaleSongPosition.DrawValue = false; this.hscaleSongPosition.Digits = 0; this.hscaleSongPosition.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox7.Add (this.hscaleSongPosition); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hscaleSongPosition])); w32.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.lblCurrentLength = new global::Gtk.Label (); this.lblCurrentLength.Name = "lblCurrentLength"; this.lblCurrentLength.Xalign = 0F; this.lblCurrentLength.LabelProp = global::Mono.Unix.Catalog.GetString ("[Length]"); this.hbox7.Add (this.lblCurrentLength); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.lblCurrentLength])); w33.Position = 2; w33.Expand = false; w33.Fill = false; this.vbox5.Add (this.hbox7); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox7])); w34.Position = 1; w34.Expand = false; w34.Fill = false; this.hbox6.Add (this.vbox5); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vbox5])); w35.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.vboxTimeShifting = new global::Gtk.VBox (); this.vboxTimeShifting.WidthRequest = 180; this.vboxTimeShifting.Name = "vboxTimeShifting"; this.vboxTimeShifting.Spacing = 2; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox (); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 8; // Container child hbox11.Gtk.Box+BoxChild this.lblTimeShifting = new global::Gtk.Label (); this.lblTimeShifting.HeightRequest = 20; this.lblTimeShifting.Name = "lblTimeShifting"; this.lblTimeShifting.Xalign = 0F; this.lblTimeShifting.LabelProp = global::Mono.Unix.Catalog.GetString ("Time Shifting"); this.hbox11.Add (this.lblTimeShifting); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.lblTimeShifting])); w36.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.btnTimeShiftingMore = new global::Gtk.Button (); this.btnTimeShiftingMore.HeightRequest = 20; this.btnTimeShiftingMore.CanFocus = true; this.btnTimeShiftingMore.Name = "btnTimeShiftingMore"; this.btnTimeShiftingMore.UseUnderline = true; this.btnTimeShiftingMore.Label = global::Mono.Unix.Catalog.GetString ("..."); this.hbox11.Add (this.btnTimeShiftingMore); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.btnTimeShiftingMore])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vboxTimeShifting.Add (this.hbox11); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hbox11])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hscaleTimeShifting = new global::Gtk.HScale (null); this.hscaleTimeShifting.CanFocus = true; this.hscaleTimeShifting.Name = "hscaleTimeShifting"; this.hscaleTimeShifting.Adjustment.Lower = 50; this.hscaleTimeShifting.Adjustment.Upper = 150; this.hscaleTimeShifting.Adjustment.PageIncrement = 10; this.hscaleTimeShifting.Adjustment.StepIncrement = 1; this.hscaleTimeShifting.Adjustment.Value = 100; this.hscaleTimeShifting.DrawValue = false; this.hscaleTimeShifting.Digits = 0; this.hscaleTimeShifting.ValuePos = ((global::Gtk.PositionType)(0)); this.vboxTimeShifting.Add (this.hscaleTimeShifting); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hscaleTimeShifting])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vboxTimeShifting.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 4; // Container child hbox3.Gtk.Box+BoxChild this.lblTimeShiftingReset = new global::Gtk.Label (); this.lblTimeShiftingReset.Name = "lblTimeShiftingReset"; this.lblTimeShiftingReset.Xalign = 0F; this.lblTimeShiftingReset.LabelProp = global::Mono.Unix.Catalog.GetString ("Reset"); this.hbox3.Add (this.lblTimeShiftingReset); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTimeShiftingReset])); w40.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.lblTimeShiftingValue = new global::Gtk.Label (); this.lblTimeShiftingValue.Name = "lblTimeShiftingValue"; this.lblTimeShiftingValue.Xalign = 0F; this.lblTimeShiftingValue.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.hbox3.Add (this.lblTimeShiftingValue); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.lblTimeShiftingValue])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.vboxTimeShifting.Add (this.hbox3); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vboxTimeShifting [this.hbox3])); w42.Position = 2; w42.Expand = false; w42.Fill = false; this.hbox6.Add (this.vboxTimeShifting); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.vboxTimeShifting])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox3.Add (this.hbox6); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox6])); w44.Position = 1; w44.Expand = false; w44.Fill = false; this.hbox4.Add (this.vbox3); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox3])); w45.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox (); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.lblVolume = new global::Gtk.Label (); this.lblVolume.HeightRequest = 20; this.lblVolume.Name = "lblVolume"; this.lblVolume.Xalign = 0F; this.lblVolume.LabelProp = global::Mono.Unix.Catalog.GetString ("Volume"); this.vbox9.Add (this.lblVolume); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.lblVolume])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hboxVolume = new global::Gtk.HBox (); this.hboxVolume.Name = "hboxVolume"; this.hboxVolume.Spacing = 6; // Container child hboxVolume.Gtk.Box+BoxChild this.vscaleVolume = new global::Gtk.VScale (null); this.vscaleVolume.TooltipMarkup = "Changes the playback volume (in percentage)."; this.vscaleVolume.CanFocus = true; this.vscaleVolume.Name = "vscaleVolume"; this.vscaleVolume.Inverted = true; this.vscaleVolume.Adjustment.Upper = 100; this.vscaleVolume.Adjustment.PageIncrement = 10; this.vscaleVolume.Adjustment.StepIncrement = 1; this.vscaleVolume.Adjustment.Value = 100; this.vscaleVolume.DrawValue = false; this.vscaleVolume.Digits = 0; this.vscaleVolume.ValuePos = ((global::Gtk.PositionType)(3)); this.hboxVolume.Add (this.vscaleVolume); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hboxVolume [this.vscaleVolume])); w47.Position = 0; w47.Expand = false; w47.Fill = false; this.vbox9.Add (this.hboxVolume); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hboxVolume])); w48.Position = 1; // Container child vbox9.Gtk.Box+BoxChild this.lblCurrentVolume = new global::Gtk.Label (); this.lblCurrentVolume.Name = "lblCurrentVolume"; this.lblCurrentVolume.LabelProp = global::Mono.Unix.Catalog.GetString ("100 %"); this.vbox9.Add (this.lblCurrentVolume); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.lblCurrentVolume])); w49.Position = 2; w49.Expand = false; w49.Fill = false; this.hbox4.Add (this.vbox9); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox9])); w50.PackType = ((global::Gtk.PackType)(1)); w50.Position = 2; w50.Expand = false; w50.Fill = false; this.vboxCurrentSong.Add (this.hbox4); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vboxCurrentSong [this.hbox4])); w51.Position = 1; w51.Expand = false; w51.Fill = false; this.vboxRight.Add (this.vboxCurrentSong); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.vboxCurrentSong])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child vboxRight.Gtk.Box+BoxChild this.vpanedLoopsMarkersSongBrowser = new global::Gtk.VPaned (); this.vpanedLoopsMarkersSongBrowser.CanFocus = true; this.vpanedLoopsMarkersSongBrowser.Name = "vpanedLoopsMarkersSongBrowser"; this.vpanedLoopsMarkersSongBrowser.Position = 150; // Container child vpanedLoopsMarkersSongBrowser.Gtk.Paned+PanedChild this.hpanedLoopsMarkers = new global::Gtk.HPaned (); this.hpanedLoopsMarkers.CanFocus = true; this.hpanedLoopsMarkers.Name = "hpanedLoopsMarkers"; this.hpanedLoopsMarkers.Position = 350; // Container child hpanedLoopsMarkers.Gtk.Paned+PanedChild this.vboxLoops = new global::Gtk.VBox (); this.vboxLoops.Name = "vboxLoops"; // Container child vboxLoops.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.lblLoops = new global::Gtk.Label (); this.lblLoops.Name = "lblLoops"; this.lblLoops.Xalign = 0F; this.lblLoops.LabelProp = global::Mono.Unix.Catalog.GetString ("Loops"); this.hbox8.Add (this.lblLoops); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.lblLoops])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarLoops'><toolitem name='actionPlayLoop' action='actionPlayLoop'/><toolitem name='editAction' action='editAction'/><toolitem name='addAction' action='addAction'/><toolitem name='actionRemoveLoop' action='actionRemoveLoop'/></toolbar></ui>"); this.toolbarLoops = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarLoops"))); this.toolbarLoops.Name = "toolbarLoops"; this.toolbarLoops.ShowArrow = false; this.toolbarLoops.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarLoops.IconSize = ((global::Gtk.IconSize)(1)); this.hbox8.Add (this.toolbarLoops); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.toolbarLoops])); w54.Position = 1; this.vboxLoops.Add (this.hbox8); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vboxLoops [this.hbox8])); w55.Position = 0; w55.Expand = false; w55.Fill = false; // Container child vboxLoops.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeLoops = new global::Gtk.TreeView (); this.treeLoops.CanFocus = true; this.treeLoops.Name = "treeLoops"; this.GtkScrolledWindow2.Add (this.treeLoops); this.vboxLoops.Add (this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vboxLoops [this.GtkScrolledWindow2])); w57.Position = 1; this.hpanedLoopsMarkers.Add (this.vboxLoops); global::Gtk.Paned.PanedChild w58 = ((global::Gtk.Paned.PanedChild)(this.hpanedLoopsMarkers [this.vboxLoops])); w58.Resize = false; // Container child hpanedLoopsMarkers.Gtk.Paned+PanedChild this.vboxLoops1 = new global::Gtk.VBox (); this.vboxLoops1.Name = "vboxLoops1"; // Container child vboxLoops1.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.lblMarkers = new global::Gtk.Label (); this.lblMarkers.Name = "lblMarkers"; this.lblMarkers.Xalign = 0F; this.lblMarkers.LabelProp = global::Mono.Unix.Catalog.GetString ("Markers"); this.hbox9.Add (this.lblMarkers); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.lblMarkers])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><toolbar name='toolbarMarkers'><toolitem name='actionGoToMarker' action='actionGoToMarker'/><toolitem name='actionAddMarker' action='actionAddMarker'/><toolitem name='actionEditMarker' action='actionEditMarker'/><toolitem name='actionRemoveMarker' action='actionRemoveMarker'/></toolbar></ui>"); this.toolbarMarkers = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbarMarkers"))); this.toolbarMarkers.Name = "toolbarMarkers"; this.toolbarMarkers.ShowArrow = false; this.toolbarMarkers.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbarMarkers.IconSize = ((global::Gtk.IconSize)(1)); this.hbox9.Add (this.toolbarMarkers); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.toolbarMarkers])); w60.Position = 1; this.vboxLoops1.Add (this.hbox9); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vboxLoops1 [this.hbox9])); w61.Position = 0; w61.Expand = false; w61.Fill = false; // Container child vboxLoops1.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.treeMarkers = new global::Gtk.TreeView (); this.treeMarkers.CanFocus = true; this.treeMarkers.Name = "treeMarkers"; this.GtkScrolledWindow3.Add (this.treeMarkers); this.vboxLoops1.Add (this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vboxLoops1 [this.GtkScrolledWindow3])); w63.Position = 1; this.hpanedLoopsMarkers.Add (this.vboxLoops1); this.vpanedLoopsMarkersSongBrowser.Add (this.hpanedLoopsMarkers); global::Gtk.Paned.PanedChild w65 = ((global::Gtk.Paned.PanedChild)(this.vpanedLoopsMarkersSongBrowser [this.hpanedLoopsMarkers])); w65.Resize = false; // Container child vpanedLoopsMarkersSongBrowser.Gtk.Paned+PanedChild this.vboxSongBrowser = new global::Gtk.VBox (); this.vboxSongBrowser.Name = "vboxSongBrowser"; // Container child vboxSongBrowser.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox (); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.lblSongBrowser = new global::Gtk.Label (); this.lblSongBrowser.Name = "lblSongBrowser"; this.lblSongBrowser.Xalign = 0F; this.lblSongBrowser.LabelProp = global::Mono.Unix.Catalog.GetString ("Song Browser"); this.hbox10.Add (this.lblSongBrowser); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblSongBrowser])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.lblSearchFor = new global::Gtk.Label (); this.lblSearchFor.Name = "lblSearchFor"; this.lblSearchFor.Xalign = 1F; this.lblSearchFor.LabelProp = global::Mono.Unix.Catalog.GetString ("Search for:"); this.hbox10.Add (this.lblSearchFor); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.lblSearchFor])); w67.Position = 1; // Container child hbox10.Gtk.Box+BoxChild this.txtSearch = new global::Gtk.Entry (); this.txtSearch.CanFocus = true; this.txtSearch.Name = "txtSearch"; this.txtSearch.IsEditable = true; this.txtSearch.InvisibleChar = '•'; this.hbox10.Add (this.txtSearch); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.txtSearch])); w68.Position = 2; this.vboxSongBrowser.Add (this.hbox10); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vboxSongBrowser [this.hbox10])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child vboxSongBrowser.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeSongBrowser = new global::Gtk.TreeView (); this.treeSongBrowser.CanFocus = true; this.treeSongBrowser.Name = "treeSongBrowser"; this.GtkScrolledWindow.Add (this.treeSongBrowser); this.vboxSongBrowser.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.vboxSongBrowser [this.GtkScrolledWindow])); w71.Position = 1; this.vpanedLoopsMarkersSongBrowser.Add (this.vboxSongBrowser); this.vboxRight.Add (this.vpanedLoopsMarkersSongBrowser); global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.vpanedLoopsMarkersSongBrowser])); w73.Position = 1; // Container child vboxRight.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vboxRight.Add (this.fixed2); global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vboxRight [this.fixed2])); w74.Position = 3; w74.Expand = false; w74.Fill = false; this.hpanedMain.Add (this.vboxRight); this.vboxMain.Add (this.hpanedMain); global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.hpanedMain])); w76.Position = 2; // Container child vboxMain.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar (); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vboxMain.Add (this.statusbar1); global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.vboxMain [this.statusbar1])); w77.Position = 3; w77.Expand = false; w77.Fill = false; this.Add (this.vboxMain); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultHeight = 729; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.actionExit.Activated += new global::System.EventHandler (this.OnExitActionActivated); this.actionAbout.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.actionHelp.Activated += new global::System.EventHandler (this.OnHelpActionContentsActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.actionPlay.Activated += new global::System.EventHandler (this.OnActionPlayActivated); this.actionPause.Activated += new global::System.EventHandler (this.OnActionPauseActivated); this.actionStop.Activated += new global::System.EventHandler (this.OnActionStopActivated); this.actionPrevious.Activated += new global::System.EventHandler (this.OnActionPreviousActivated); this.actionNext.Activated += new global::System.EventHandler (this.OnActionNextActivated); this.actionRepeatType.Activated += new global::System.EventHandler (this.OnActionRepeatTypeActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.actionUpdateLibrary.Activated += new global::System.EventHandler (this.OnActionUpdateLibraryActivated); this.actionSettings.Activated += new global::System.EventHandler (this.OnActionSettingsActivated); this.actionEffects.Activated += new global::System.EventHandler (this.OnActionEffectsActivated); this.actionPlaylist.Activated += new global::System.EventHandler (this.OnActionPlaylistActivated); this.actionAddMarker.Activated += new global::System.EventHandler (this.OnActionAddMarkerActivated); this.actionRemoveMarker.Activated += new global::System.EventHandler (this.OnActionDeleteMarkerActivated); this.actionEditMarker.Activated += new global::System.EventHandler (this.OnActionEditMarkerActivated); this.actionGoToMarker.Activated += new global::System.EventHandler (this.OnActionGoToMarkerActivated); this.actionAddFiles.Activated += new global::System.EventHandler (this.OnActionAddFilesActivated); this.actionAddFolder.Activated += new global::System.EventHandler (this.OnActionAddFolderActivated); this.actionPlayLoop.Activated += new global::System.EventHandler (this.OnActionPlayLoopActivated); this.connectAction.Activated += new global::System.EventHandler (this.OnActionSyncLibrary); this.SyncCloudAction.Activated += new global::System.EventHandler (this.OnActionSyncCloudActivated); this.SyncWebBrowserAction.Activated += new global::System.EventHandler (this.OnActionSyncWebBrowserActivated); this.cboSoundFormat.Changed += new global::System.EventHandler (this.OnSoundFormatChanged); this.treeLibraryBrowser.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeLibraryBrowserRowActivated); this.treeLibraryBrowser.CursorChanged += new global::System.EventHandler (this.OnTreeLibraryBrowserCursorChanged); this.treeLibraryBrowser.RowExpanded += new global::Gtk.RowExpandedHandler (this.OnTreeLibraryBrowserRowExpanded); this.hscaleTimeShifting1.ValueChanged += new global::System.EventHandler (this.OnTimeShiftingValueChanged); this.hscaleSongPosition.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler (this.OnHscaleSongPositionButtonPressEvent); this.hscaleSongPosition.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler (this.OnHscaleSongPositionButtonReleaseEvent); this.hscaleTimeShifting.ValueChanged += new global::System.EventHandler (this.OnTimeShiftingValueChanged); this.vscaleVolume.ValueChanged += new global::System.EventHandler (this.OnVolumeValueChanged); this.treeMarkers.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeMarkersRowActivated); this.treeSongBrowser.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeSongBrowserRowActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); w1.Add (this.FileAction, null); this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Quit"); w1.Add (this.QuitAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); w1.Add (this.HelpAction, null); this.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)(1)); this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.eventboxNonClient = new global::Gtk.EventBox (); this.eventboxNonClient.Name = "eventboxNonClient"; // Container child eventboxNonClient.Gtk.Container+ContainerChild this.eventboxClient = new global::Gtk.EventBox (); this.eventboxClient.Name = "eventboxClient"; this.eventboxClient.BorderWidth = ((uint)(4)); // Container child eventboxClient.Gtk.Container+ContainerChild this.vboxClient = new global::Gtk.VBox (); this.vboxClient.Name = "vboxClient"; // Container child vboxClient.Gtk.Box+BoxChild this.titlebox2 = new global::GuiWidgets.TitleBox (); this.titlebox2.Events = ((global::Gdk.EventMask)(256)); this.titlebox2.Name = "titlebox2"; this.titlebox2.Title = "Young, strong and crazy!"; this.titlebox2.QuitOnClose = true; this.titlebox2.MinimizeVisible = true; this.titlebox2.MaximizeVisible = true; this.vboxClient.Add (this.titlebox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.titlebox2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.UIManager.AddUiFromString ("<ui><menubar name=\'menubar4\'><menu name=\'FileAction\' action=\'FileAction\'><menuite" + "m name=\'QuitAction\' action=\'QuitAction\'/></menu><menu name=\'HelpAction\' action=\'" + "HelpAction\'><menuitem name=\'AboutAction\' action=\'AboutAction\'/></menu><menu/></m" + "enubar></ui>"); this.menubar4 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar4"))); this.menubar4.Name = "menubar4"; this.vboxClient.Add (this.menubar4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.menubar4])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vboxClient.Gtk.Box+BoxChild this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("GtkButton"); this.fixed1.Add (this.button1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.button1])); w4.X = 8; w4.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString ("Young, strong and crazy!"); this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add (this.entry1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.entry1])); w5.X = 8; w5.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText (); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("Young")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("strong")); this.comboboxentry1.AppendText (global::Mono.Unix.Catalog.GetString ("crazy")); this.comboboxentry1.Name = "comboboxentry1"; this.comboboxentry1.Active = 0; this.fixed1.Add (this.comboboxentry1); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.comboboxentry1])); w6.X = 8; w6.Y = 68; // Container child fixed1.Gtk.Fixed+FixedChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.fixed1.Add (this.checkbutton1); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.checkbutton1])); w7.X = 287; w7.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.Active = true; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList (global::System.IntPtr.Zero); this.fixed1.Add (this.radiobutton1); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton1])); w8.X = 287; w8.Y = 41; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("radiobutton2")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add (this.radiobutton2); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radiobutton2])); w9.X = 287; w9.Y = 66; // Container child fixed1.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar (); this.progressbar1.WidthRequest = 250; this.progressbar1.Name = "progressbar1"; this.progressbar1.Fraction = 0.5D; this.fixed1.Add (this.progressbar1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.progressbar1])); w10.X = 8; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.WidthRequest = 250; this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 50D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.fixed1.Add (this.hscale1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.hscale1])); w11.X = 287; w11.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.spinbutton1 = new global::Gtk.SpinButton (0D, 100D, 1D); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10D; this.spinbutton1.ClimbRate = 1D; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 50D; this.fixed1.Add (this.spinbutton1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinbutton1])); w12.X = 422; w12.Y = 13; // Container child fixed1.Gtk.Fixed+FixedChild this.calendar3 = new global::Gtk.Calendar (); this.calendar3.CanFocus = true; this.calendar3.Name = "calendar3"; this.calendar3.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add (this.calendar3); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calendar3])); w13.X = 8; w13.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.togglebutton2 = new global::Gtk.ToggleButton (); this.togglebutton2.CanFocus = true; this.togglebutton2.Name = "togglebutton2"; this.togglebutton2.UseUnderline = true; this.togglebutton2.Label = global::Mono.Unix.Catalog.GetString ("GtkToggleButton"); this.fixed1.Add (this.togglebutton2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.togglebutton2])); w14.X = 79; w14.Y = 9; // Container child fixed1.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.textview3 = new global::Gtk.TextView (); this.textview3.Buffer.Text = "Young, strong and crazy!"; this.textview3.WidthRequest = 200; this.textview3.HeightRequest = 150; this.textview3.CanFocus = true; this.textview3.Name = "textview3"; this.GtkScrolledWindow.Add (this.textview3); this.fixed1.Add (this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w16.X = 169; w16.Y = 140; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.fixed1.Add (this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w17.X = 193; w17.Y = 13; this.alignment1.Add (this.fixed1); this.vboxClient.Add (this.alignment1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.alignment1])); w19.Position = 2; // Container child vboxClient.Gtk.Box+BoxChild this.statusbar2 = new global::Gtk.Statusbar (); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; this.vboxClient.Add (this.statusbar2); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vboxClient [this.statusbar2])); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.eventboxClient.Add (this.vboxClient); this.eventboxNonClient.Add (this.eventboxClient); this.Add (this.eventboxNonClient); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 601; this.DefaultHeight = 481; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.AboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget EliAssaltoAnfibio.EliOptions this.Events = ((global::Gdk.EventMask)(8192)); this.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.Name = "EliAssaltoAnfibio.EliOptions"; this.Title = "EliOptions"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(12)); this.AllowShrink = true; // Container child EliAssaltoAnfibio.EliOptions.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "label1"; this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox7 = new global::Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hseparator7 = new global::Gtk.HSeparator(); this.hseparator7.Name = "hseparator7"; this.vbox7.Add(this.hseparator7); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hseparator7])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.HeightRequest = 40; this.hbox6.Name = "hbox6"; this.hbox6.Homogeneous = true; // Container child hbox6.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.TooltipMarkup = "INSERISCI IL NOMINATIVO DELL\'ELICOTTERO "; this.button1.WidthRequest = 250; this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = "IDENTIFICATIVO ELICOTTERO"; this.hbox6.Add(this.button1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.hbox6.Add(this.entry1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.entry1])); w5.Position = 1; // Container child hbox6.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox6.Add(this.label4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label4])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox7.Add(this.hbox6); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.hbox6])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.vbox2.Add(this.vbox7); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox7])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox3.Add(this.hseparator2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.HeightRequest = 40; this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; // Container child hbox1.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.TooltipMarkup = "INSERISCI CATEGORIA ELI (1 LEGGERO, 2 PESANTE, 3 ALTRO)"; this.button2.WidthRequest = 250; this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = "CATEGORIA ELICOTTERO"; this.hbox1.Add(this.button2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Lower = 1D; this.hscale1.Adjustment.Upper = 3D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.Adjustment.Value = 1D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.hscale1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hscale1])); w12.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox1.Add(this.label5); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label5])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbox5.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox1])); w14.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox5.Add(this.hseparator5); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator5])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.HeightRequest = 40; this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; // Container child hbox2.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.TooltipMarkup = "INSERISCI PESO CARBURANTE"; this.button3.WidthRequest = 250; this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = "PESO CARBURANTE "; this.hbox2.Add(this.button3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button3])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 450D; this.hscale2.Adjustment.Upper = 5000D; this.hscale2.Adjustment.PageIncrement = 10D; this.hscale2.Adjustment.StepIncrement = 1D; this.hscale2.Adjustment.Value = 456D; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.hscale2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale2])); w17.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox2.Add(this.label6); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label6])); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox5.Add(this.hbox2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox2])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.vbox3.Add(this.vbox5); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox3.Add(this.hseparator3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator3])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.HeightRequest = 40; this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; // Container child hbox4.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button(); this.button5.TooltipMarkup = "INSERISCI PESO TOTALE DELLE TRUPPE IMBARCABILI"; this.button5.WidthRequest = 250; this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = "PESO TRUPPE IMBARCABILI"; this.hbox4.Add(this.button5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.button5])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hscale4 = new global::Gtk.HScale(null); this.hscale4.CanFocus = true; this.hscale4.Name = "hscale4"; this.hscale4.Adjustment.Upper = 4000D; this.hscale4.Adjustment.PageIncrement = 10D; this.hscale4.Adjustment.StepIncrement = 1D; this.hscale4.Adjustment.Value = 2D; this.hscale4.DrawValue = true; this.hscale4.Digits = 0; this.hscale4.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox4.Add(this.hscale4); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hscale4])); w24.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox4.Add(this.label8); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label8])); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.vbox6.Add(this.hbox4); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hbox4])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbox6.Add(this.hseparator6); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.hseparator6])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Homogeneous = true; // Container child hbox11.Gtk.Box+BoxChild this.button13 = new global::Gtk.Button(); this.button13.TooltipMarkup = "INSERISCI PESO TOTALE DEL CARGO IMBARCABILE"; this.button13.WidthRequest = 250; this.button13.CanFocus = true; this.button13.Name = "button13"; this.button13.UseUnderline = true; this.button13.Label = "PESO CARGO IMBARCABILE"; this.hbox11.Add(this.button13); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.button13])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.hscale5 = new global::Gtk.HScale(null); this.hscale5.CanFocus = true; this.hscale5.Name = "hscale5"; this.hscale5.Adjustment.Upper = 4000D; this.hscale5.Adjustment.PageIncrement = 10D; this.hscale5.Adjustment.StepIncrement = 1D; this.hscale5.Adjustment.Value = 14D; this.hscale5.DrawValue = true; this.hscale5.Digits = 0; this.hscale5.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox11.Add(this.hscale5); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.hscale5])); w29.Position = 1; // Container child hbox11.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox11.Add(this.label3); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.label3])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.vbox11.Add(this.hbox11); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox11])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.hseparator11 = new global::Gtk.HSeparator(); this.hseparator11.Name = "hseparator11"; this.vbox11.Add(this.hseparator11); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hseparator11])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Homogeneous = true; // Container child hbox12.Gtk.Box+BoxChild this.button14 = new global::Gtk.Button(); this.button14.TooltipMarkup = "INSERISCI PESO MASSIMO AL DECOLLO"; this.button14.WidthRequest = 250; this.button14.CanFocus = true; this.button14.Name = "button14"; this.button14.UseUnderline = true; this.button14.Label = "PESO MASSIMO AL DECOLLO"; this.hbox12.Add(this.button14); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.button14])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.hscale6 = new global::Gtk.HScale(null); this.hscale6.CanFocus = true; this.hscale6.Name = "hscale6"; this.hscale6.Adjustment.Lower = 1000D; this.hscale6.Adjustment.Upper = 25000D; this.hscale6.Adjustment.PageIncrement = 10D; this.hscale6.Adjustment.StepIncrement = 1D; this.hscale6.DrawValue = true; this.hscale6.Digits = 0; this.hscale6.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox12.Add(this.hscale6); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.hscale6])); w34.Position = 1; // Container child hbox12.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox12.Add(this.label11); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label11])); w35.Position = 2; w35.Expand = false; w35.Fill = false; this.vbox11.Add(this.hbox12); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.hbox12])); w36.Position = 2; w36.Expand = false; w36.Fill = false; this.vbox6.Add(this.vbox11); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.vbox11])); w37.Position = 2; w37.Expand = false; w37.Fill = false; this.vbox4.Add(this.vbox6); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox6])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbox4.Add(this.hseparator4); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator4])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.HeightRequest = 40; this.hbox5.Name = "hbox5"; this.hbox5.Homogeneous = true; // Container child hbox5.Gtk.Box+BoxChild this.button6 = new global::Gtk.Button(); this.button6.TooltipMarkup = "INSERISCI PESO ELICOTTERO SCARICO"; this.button6.WidthRequest = 250; this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Relief = ((global::Gtk.ReliefStyle)(1)); this.button6.Label = "PESO ELICOTTERO SCARICO"; this.hbox5.Add(this.button6); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.button6])); w40.Position = 0; w40.Expand = false; w40.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.hscale7 = new global::Gtk.HScale(null); this.hscale7.CanFocus = true; this.hscale7.Name = "hscale7"; this.hscale7.Adjustment.Lower = 1000D; this.hscale7.Adjustment.Upper = 15000D; this.hscale7.Adjustment.PageIncrement = 10D; this.hscale7.Adjustment.StepIncrement = 1D; this.hscale7.Adjustment.Value = 1016D; this.hscale7.DrawValue = true; this.hscale7.Digits = 0; this.hscale7.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox5.Add(this.hscale7); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hscale7])); w41.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox5.Add(this.label9); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label9])); w42.Position = 2; w42.Fill = false; this.vbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox5])); w43.Position = 2; w43.Expand = false; w43.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator13 = new global::Gtk.HSeparator(); this.hseparator13.Name = "hseparator13"; this.vbox4.Add(this.hseparator13); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator13])); w44.Position = 3; w44.Expand = false; w44.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Homogeneous = true; // Container child hbox9.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.TooltipMarkup = "INSERISCI IL CONSUMO DI CARBURANTE / ORA"; this.button4.WidthRequest = 250; this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = "CONSUMO CARB/H"; this.hbox9.Add(this.button4); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.button4])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.hscale3 = new global::Gtk.HScale(null); this.hscale3.CanFocus = true; this.hscale3.Name = "hscale3"; this.hscale3.Adjustment.Lower = 150D; this.hscale3.Adjustment.Upper = 1500D; this.hscale3.Adjustment.PageIncrement = 10D; this.hscale3.Adjustment.StepIncrement = 1D; this.hscale3.Adjustment.Value = 156D; this.hscale3.DrawValue = true; this.hscale3.Digits = 0; this.hscale3.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox9.Add(this.hscale3); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.hscale3])); w46.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = "ACCETTARE IL VALORE INSERITO"; this.hbox9.Add(this.label10); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.label10])); w47.Position = 2; w47.Expand = false; w47.Fill = false; this.vbox4.Add(this.hbox9); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox9])); w48.Position = 4; w48.Expand = false; w48.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Homogeneous = true; this.vbox10.Spacing = -10; // Container child vbox10.Gtk.Box+BoxChild this.hseparator12 = new global::Gtk.HSeparator(); this.hseparator12.Name = "hseparator12"; this.vbox10.Add(this.hseparator12); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hseparator12])); w49.Position = 0; w49.Expand = false; w49.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.HeightRequest = 35; this.hbox7.Name = "hbox7"; this.hbox7.Homogeneous = true; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.WidthRequest = 600; this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.button10 = new global::Gtk.Button(); this.button10.TooltipMarkup = "POSIZIONE IN HANGAR O SUL PONTE"; this.button10.CanFocus = true; this.button10.Name = "button10"; this.button10.UseUnderline = true; this.button10.Label = "HANGAR"; this.hbox3.Add(this.button10); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button10])); w50.Position = 0; w50.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.button15 = new global::Gtk.Button(); this.button15.TooltipMarkup = "ELI A PALE APERTE O CHIUSE"; this.button15.CanFocus = true; this.button15.Name = "button15"; this.button15.UseUnderline = true; this.button15.Label = "PALE CHIUSE"; this.hbox3.Add(this.button15); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button15])); w51.Position = 1; w51.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.button16 = new global::Gtk.Button(); this.button16.TooltipMarkup = "ELI ACCESO O SPENTO"; this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; this.button16.Label = "SPENTO"; this.hbox3.Add(this.button16); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button16])); w52.Position = 2; w52.Expand = false; // Container child hbox3.Gtk.Box+BoxChild this.button17 = new global::Gtk.Button(); this.button17.TooltipMarkup = "ELI EFFICIENTE O INEFFICIENTE"; this.button17.CanFocus = true; this.button17.Name = "button17"; this.button17.UseUnderline = true; this.button17.Label = "EFFICIENTE"; this.hbox3.Add(this.button17); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.button17])); w53.Position = 3; w53.Expand = false; this.hbox7.Add(this.hbox3); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hbox3])); w54.Position = 0; w54.Expand = false; w54.Fill = false; this.vbox10.Add(this.hbox7); global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hbox7])); w55.Position = 1; w55.Expand = false; w55.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.hseparator10 = new global::Gtk.HSeparator(); this.hseparator10.Name = "hseparator10"; this.vbox10.Add(this.hseparator10); global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.hseparator10])); w56.Position = 2; w56.Expand = false; w56.Fill = false; this.vbox4.Add(this.vbox10); global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.vbox10])); w57.Position = 5; w57.Expand = false; w57.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w58.Position = 2; w58.Expand = false; w58.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.HeightRequest = 60; this.hbox8.CanDefault = true; this.hbox8.CanFocus = true; this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 56; this.hbox8.BorderWidth = ((uint)(4)); // Container child hbox8.Gtk.Box+BoxChild this.button8 = new global::Gtk.Button(); this.button8.CanFocus = true; this.button8.Name = "button8"; this.button8.UseUnderline = true; this.button8.Label = "PRECEDENTE"; global::Gtk.Image w59 = new global::Gtk.Image(); w59.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu); this.button8.Image = w59; this.hbox8.Add(this.button8); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button8])); w60.Position = 0; w60.Expand = false; // Container child hbox8.Gtk.Box+BoxChild this.button11 = new global::Gtk.Button(); this.button11.TooltipMarkup = "SALVA IL RECORD CORRENTE, VEIRFICA I DATI INSERITI CON IL PULSANTE DI ACCETTAZION" + "E"; this.button11.CanFocus = true; this.button11.Name = "button11"; this.button11.UseUnderline = true; this.button11.Label = "SALVA RECORD E RESETTA"; this.hbox8.Add(this.button11); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button11])); w61.Position = 1; w61.Expand = false; // Container child hbox8.Gtk.Box+BoxChild this.button9 = new global::Gtk.Button(); this.button9.TooltipMarkup = "ACCETTA I DATI E TORNA AL MENU PRINCIPALE PER L\'IMMISSIONE DI ALTRE SPECIFICHE"; this.button9.CanFocus = true; this.button9.Name = "button9"; this.button9.UseUnderline = true; this.button9.BorderWidth = ((uint)(3)); this.button9.Label = "ACCETTA DATI - TORNA AL MENU PRINCIPALE"; this.hbox8.Add(this.button9); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button9])); w62.Position = 2; // Container child hbox8.Gtk.Box+BoxChild this.button12 = new global::Gtk.Button(); this.button12.TooltipMarkup = "CANCELLA IL RECORD CORRENTE"; this.button12.CanFocus = true; this.button12.Name = "button12"; this.button12.UseUnderline = true; this.button12.Label = "ELIMINA RECORD"; this.hbox8.Add(this.button12); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button12])); w63.Position = 3; w63.Expand = false; // Container child hbox8.Gtk.Box+BoxChild this.button7 = new global::Gtk.Button(); this.button7.CanFocus = true; this.button7.Name = "button7"; this.button7.UseUnderline = true; this.button7.Label = "SUCCESSIVO"; global::Gtk.Image w64 = new global::Gtk.Image(); w64.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu); this.button7.Image = w64; this.hbox8.Add(this.button7); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.button7])); w65.PackType = ((global::Gtk.PackType)(1)); w65.Position = 4; w65.Expand = false; this.vbox9.Add(this.hbox8); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox8])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hseparator9 = new global::Gtk.HSeparator(); this.hseparator9.Name = "hseparator9"; this.vbox9.Add(this.hseparator9); global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hseparator9])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.vbox8.Add(this.vbox9); global::Gtk.Box.BoxChild w68 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.vbox9])); w68.Position = 0; w68.Expand = false; w68.Fill = false; this.vbox1.Add(this.vbox8); global::Gtk.Box.BoxChild w69 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox8])); w69.Position = 3; w69.Expand = false; w69.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1370; this.DefaultHeight = 677; this.hbox8.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Released += new global::System.EventHandler(this.OnButton1Released); this.button2.Released += new global::System.EventHandler(this.OnButton2Released); this.button3.Released += new global::System.EventHandler(this.OnButton3Released); this.button5.Released += new global::System.EventHandler(this.OnButton5Released); this.button13.Released += new global::System.EventHandler(this.OnButton13Released); this.button14.Released += new global::System.EventHandler(this.OnButton14Released); this.button6.Released += new global::System.EventHandler(this.OnButton6Released); this.button4.Released += new global::System.EventHandler(this.OnButton4Released); this.button10.Released += new global::System.EventHandler(this.OnButton10Released); this.button15.Released += new global::System.EventHandler(this.OnButton15Released); this.button16.Released += new global::System.EventHandler(this.OnButton16Released); this.button17.Released += new global::System.EventHandler(this.OnButton17Released); this.button8.Released += new global::System.EventHandler(this.OnButton8Released); this.button11.Released += new global::System.EventHandler(this.OnButton11Released); this.button9.Released += new global::System.EventHandler(this.OnButton9Released); this.button12.Released += new global::System.EventHandler(this.OnButton12Released); this.button7.Released += new global::System.EventHandler(this.OnButton7Released); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Salsa Musicality"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("BPM"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.bpmSlider = new global::Gtk.HScale(null); this.bpmSlider.CanFocus = true; this.bpmSlider.Name = "bpmSlider"; this.bpmSlider.Adjustment.Lower = 100D; this.bpmSlider.Adjustment.Upper = 250D; this.bpmSlider.Adjustment.PageIncrement = 10D; this.bpmSlider.Adjustment.StepIncrement = 1D; this.bpmSlider.Adjustment.Value = 100D; this.bpmSlider.DrawValue = true; this.bpmSlider.Digits = 0; this.bpmSlider.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.bpmSlider); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.bpmSlider])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.playbackButton = new global::Gtk.Button(); this.playbackButton.CanFocus = true; this.playbackButton.Name = "playbackButton"; this.playbackButton.UseUnderline = true; this.playbackButton.Label = global::Mono.Unix.Catalog.GetString("Play"); this.hbox1.Add(this.playbackButton); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.playbackButton])); w3.Position = 2; w3.Expand = false; w3.Fill = 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; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Master Volume"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.masterVolumeSlider = new global::Gtk.HScale(null); this.masterVolumeSlider.CanFocus = true; this.masterVolumeSlider.Name = "masterVolumeSlider"; this.masterVolumeSlider.Adjustment.Upper = 10D; this.masterVolumeSlider.Adjustment.PageIncrement = 10D; this.masterVolumeSlider.Adjustment.StepIncrement = 0.1D; this.masterVolumeSlider.Adjustment.Value = 1D; this.masterVolumeSlider.DrawValue = true; this.masterVolumeSlider.Digits = 0; this.masterVolumeSlider.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.masterVolumeSlider); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.masterVolumeSlider])); w6.Position = 1; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w8.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 10; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.claveButton = new global::Gtk.Button(); this.claveButton.CanFocus = true; this.claveButton.Name = "claveButton"; global::Gtk.Image w9 = new global::Gtk.Image(); this.claveButton.Image = w9; this.hbox5.Add(this.claveButton); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.claveButton])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.claveRhythmsBox = global::Gtk.ComboBox.NewText(); this.claveRhythmsBox.Name = "claveRhythmsBox"; this.hbox5.Add(this.claveRhythmsBox); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.claveRhythmsBox])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hpaned1.Add(this.hbox5); this.hbox4.Add(this.hpaned1); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hpaned1])); w13.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cowbellButton = new global::Gtk.Button(); this.cowbellButton.CanFocus = true; this.cowbellButton.Name = "cowbellButton"; this.cowbellButton.UseUnderline = true; global::Gtk.Image w14 = new global::Gtk.Image(); this.cowbellButton.Image = w14; this.hbox6.Add(this.cowbellButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cowbellButton])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.cowbellRhythmsBox = global::Gtk.ComboBox.NewText(); this.cowbellRhythmsBox.Name = "cowbellRhythmsBox"; this.hbox6.Add(this.cowbellRhythmsBox); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cowbellRhythmsBox])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.hbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbox6])); w17.Position = 1; // Container child hbox4.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.bongosButton = new global::Gtk.Button(); this.bongosButton.CanFocus = true; this.bongosButton.Name = "bongosButton"; global::Gtk.Image w18 = new global::Gtk.Image(); this.bongosButton.Image = w18; this.hbox7.Add(this.bongosButton); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.bongosButton])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.bongosRhythmsBox = global::Gtk.ComboBox.NewText(); this.bongosRhythmsBox.Name = "bongosRhythmsBox"; this.hbox7.Add(this.bongosRhythmsBox); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.bongosRhythmsBox])); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.hbox4.Add(this.hbox7); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.hbox7])); w21.Position = 2; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w22.Position = 3; w22.Expand = false; w22.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w23.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.congasButton = new global::Gtk.Button(); this.congasButton.CanFocus = true; this.congasButton.Name = "congasButton"; global::Gtk.Image w24 = new global::Gtk.Image(); this.congasButton.Image = w24; this.hbox9.Add(this.congasButton); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.congasButton])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.congasRhythmsBox = global::Gtk.ComboBox.NewText(); this.congasRhythmsBox.Name = "congasRhythmsBox"; this.hbox9.Add(this.congasRhythmsBox); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.congasRhythmsBox])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.hbox8.Add(this.hbox9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox9])); w27.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; this.hbox8.Add(this.hbox10); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox10])); w28.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; this.hbox8.Add(this.hbox11); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hbox11])); w29.Position = 2; this.vbox3.Add(this.hbox8); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w30.Position = 0; w30.Expand = false; w30.Fill = false; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vbox3])); w31.Position = 2; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 722; this.DefaultHeight = 749; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.bpmSlider.ValueChanged += new global::System.EventHandler(this.OnBpmSliderValueChanged); this.playbackButton.Clicked += new global::System.EventHandler(this.OnPlaybackButtonClicked); this.masterVolumeSlider.ValueChanged += new global::System.EventHandler(this.OnMasterVolumeSliderChanged); this.claveButton.Clicked += new global::System.EventHandler(this.OnClaveButtonClicked); this.claveRhythmsBox.Changed += new global::System.EventHandler(this.OnClaveRhythmsBoxChanged); this.cowbellButton.Clicked += new global::System.EventHandler(this.OnCowbellButtonClicked); this.cowbellRhythmsBox.Changed += new global::System.EventHandler(this.OnCowbellRhythmsBoxChanged); this.bongosButton.Clicked += new global::System.EventHandler(this.OnBongosButtonClicked); this.bongosRhythmsBox.Changed += new global::System.EventHandler(this.OnBongosRhythmsBoxChanged); this.congasButton.Clicked += new global::System.EventHandler(this.OnCongasButtonClicked); this.congasRhythmsBox.Changed += new global::System.EventHandler(this.OnCongasRhythmsBoxChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget Docky.Interface.DockPreferences global::Stetic.BinContainer.Attach (this); this.Name = "Docky.Interface.DockPreferences"; // Container child Docky.Interface.DockPreferences.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table (((uint)(7)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.autohide_box = global::Gtk.ComboBox.NewText (); this.autohide_box.AppendText (global::Mono.Unix.Catalog.GetString ("None")); this.autohide_box.AppendText (global::Mono.Unix.Catalog.GetString ("Autohide")); this.autohide_box.AppendText (global::Mono.Unix.Catalog.GetString ("Intellihide")); this.autohide_box.AppendText (global::Mono.Unix.Catalog.GetString ("Window Dodge")); this.autohide_box.Name = "autohide_box"; this.autohide_box.Active = 3; this.table3.Add (this.autohide_box); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table3 [this.autohide_box])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.fade_on_hide_check = new global::Gtk.CheckButton (); this.fade_on_hide_check.TooltipMarkup = "Fade out dock instead of slide off screen"; this.fade_on_hide_check.CanFocus = true; this.fade_on_hide_check.Name = "fade_on_hide_check"; this.fade_on_hide_check.Label = global::Mono.Unix.Catalog.GetString ("_Fade On Hide"); this.fade_on_hide_check.DrawIndicator = true; this.fade_on_hide_check.UseUnderline = true; this.table3.Add (this.fade_on_hide_check); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table3 [this.fade_on_hide_check])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hide_desc = new global::Gtk.Label (); this.hide_desc.Name = "hide_desc"; this.hide_desc.Yalign = 0F; this.hide_desc.UseMarkup = true; this.table3.Add (this.hide_desc); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.hide_desc])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.icon_scale = new global::Gtk.HScale (null); this.icon_scale.CanFocus = true; this.icon_scale.Name = "icon_scale"; this.icon_scale.Adjustment.Upper = 100; this.icon_scale.Adjustment.PageIncrement = 10; this.icon_scale.Adjustment.StepIncrement = 1; this.icon_scale.DrawValue = true; this.icon_scale.Digits = 0; this.icon_scale.ValuePos = ((global::Gtk.PositionType)(0)); this.table3.Add (this.icon_scale); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table3 [this.icon_scale])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(3)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.CanFocus = true; this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.Yalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Icon Size:"); this.label1.UseUnderline = true; this.table3.Add (this.label1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3 [this.label1])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.CanFocus = true; this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("_Hiding:"); this.label3.UseUnderline = true; this.table3.Add (this.label3); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3 [this.label3])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.panel_mode_button = new global::Gtk.CheckButton (); this.panel_mode_button.CanFocus = true; this.panel_mode_button.Name = "panel_mode_button"; this.panel_mode_button.Label = global::Mono.Unix.Catalog.GetString ("_Panel Mode"); this.panel_mode_button.DrawIndicator = true; this.panel_mode_button.UseUnderline = true; this.table3.Add (this.panel_mode_button); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.panel_mode_button])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.threedee_check = new global::Gtk.CheckButton (); this.threedee_check.CanFocus = true; this.threedee_check.Name = "threedee_check"; this.threedee_check.Label = global::Mono.Unix.Catalog.GetString ("3D Back_ground"); this.threedee_check.DrawIndicator = true; this.threedee_check.UseUnderline = true; this.table3.Add (this.threedee_check); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.threedee_check])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.window_manager_check = new global::Gtk.CheckButton (); this.window_manager_check.CanFocus = true; this.window_manager_check.Name = "window_manager_check"; this.window_manager_check.Label = global::Mono.Unix.Catalog.GetString ("_Manage Windows Without Launcher"); this.window_manager_check.DrawIndicator = true; this.window_manager_check.UseUnderline = true; this.window_manager_check.Xalign = 0F; this.table3.Add (this.window_manager_check); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.window_manager_check])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.RightAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.zoom_checkbutton = new global::Gtk.CheckButton (); this.zoom_checkbutton.CanFocus = true; this.zoom_checkbutton.Name = "zoom_checkbutton"; this.zoom_checkbutton.Label = global::Mono.Unix.Catalog.GetString ("_Zoom:"); this.zoom_checkbutton.DrawIndicator = true; this.zoom_checkbutton.UseUnderline = true; this.zoom_checkbutton.Xalign = 1F; this.table3.Add (this.zoom_checkbutton); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.zoom_checkbutton])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.zoom_scale = new global::Gtk.HScale (null); this.zoom_scale.CanFocus = true; this.zoom_scale.Name = "zoom_scale"; this.zoom_scale.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.zoom_scale.Adjustment.Upper = 100; this.zoom_scale.Adjustment.PageIncrement = 10; this.zoom_scale.Adjustment.StepIncrement = 0.01; this.zoom_scale.Adjustment.Value = 20; this.zoom_scale.DrawValue = true; this.zoom_scale.Digits = 2; this.zoom_scale.ValuePos = ((global::Gtk.PositionType)(0)); this.table3.Add (this.zoom_scale); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.zoom_scale])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox1.Add (this.table3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.label1.MnemonicWidget = this.icon_scale; this.label3.MnemonicWidget = this.autohide_box; this.Hide (); this.window_manager_check.Toggled += new global::System.EventHandler (this.OnWindowManagerCheckToggled); this.threedee_check.Toggled += new global::System.EventHandler (this.OnThreedeeCheckToggled); this.panel_mode_button.Toggled += new global::System.EventHandler (this.OnPanelModeButtonToggled); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Pinta.LayerPropertiesDialog this.Name = "Pinta.LayerPropertiesDialog"; this.Title = global::Mono.Unix.Catalog.GetString ("Layer Properties"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Pinta.LayerPropertiesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 10; this.vbox2.BorderWidth = ((uint)(9)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:"); this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '?'; this.hbox1.Add (this.entry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entry1])); w3.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton (); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString ("Visible"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox2.Add (this.checkbutton1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbutton1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox2.Add (this.hseparator2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hseparator2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 16; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Opacity:"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.spinbutton1 = new global::Gtk.SpinButton (0, 100, 1); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10; this.spinbutton1.ClimbRate = 1; this.spinbutton1.Numeric = true; this.hbox2.Add (this.spinbutton1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.spinbutton1])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 100; this.hscale1.Adjustment.PageIncrement = 10; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add (this.hscale1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hscale1])); w9.Position = 2; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w10.Position = 3; w10.Expand = false; w10.Fill = false; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Internal child Pinta.LayerPropertiesDialog.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12[this.buttonCancel])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12[this.buttonOk])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 349; this.DefaultHeight = 224; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget EliAssaltoAnfibio.CargoOptions this.TooltipMarkup = "INSERISCI IL NOME DEL CARGO DA TRASPORTARE"; this.Name = "EliAssaltoAnfibio.CargoOptions"; this.Title = "CargoOptions"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child EliAssaltoAnfibio.CargoOptions.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "Record #"; this.vbox3.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox3.Add(this.hseparator1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = "MATERIALE TRASPORTATO"; this.hbox3.Add(this.label4); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label4])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.hbox3.Add(this.entry1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entry1])); w4.Position = 1; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbox3.Add(this.hseparator5); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator5])); w6.Position = 3; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Homogeneous = true; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.TooltipMarkup = "INSERISCI IL PESO DEL SOLO MATERIALE DA TRASPORTARE"; this.label2.Name = "label2"; this.label2.Xpad = 23; this.label2.LabelProp = "PESO COMPLESSIVO MATERIALE"; this.hbox1.Add(this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale(null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.Adjustment.Upper = 5000D; this.hscale1.Adjustment.PageIncrement = 10D; this.hscale1.Adjustment.StepIncrement = 1D; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox1.Add(this.hscale1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hscale1])); w8.Position = 1; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w9.Position = 4; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.vbox3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox3])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox2.Add(this.hseparator2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.TooltipMarkup = "INSERISCI IL NUMERO DI PERSONE NECESSARIE AL TRASPORTO"; this.label3.Name = "label3"; this.label3.Xpad = 51; this.label3.LabelProp = "PERSONALE NECESSARIO AL TRASPORTO"; this.hbox2.Add(this.label3); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale(null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Upper = 50D; this.hscale2.Adjustment.PageIncrement = 10D; this.hscale2.Adjustment.StepIncrement = 1D; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.hscale2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hscale2])); w13.Position = 1; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox2.Add(this.hseparator3); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator3])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.HeightRequest = 47; this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = "RECORD PRECEDENTE"; global::Gtk.Image w17 = new global::Gtk.Image(); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu); this.button1.Image = w17; this.hbox7.Add(this.button1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = "ACCETTA DATI - TORNA AL MENU PRINCIPALE"; this.hbox7.Add(this.button2); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.button2])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.hbox4.Add(this.hbox7); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox7])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = "SALVA RECORD E RESETTA"; this.hbox5.Add(this.button3); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.button3])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.hbox4.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox5])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = "ELIMINA RECORD"; this.hbox6.Add(this.button4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button4])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.button6 = new global::Gtk.Button(); this.button6.CanFocus = true; this.button6.Name = "button6"; this.button6.UseUnderline = true; this.button6.Label = "RECORD SUCCESSIVO"; global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu); this.button6.Image = w24; this.hbox6.Add(this.button6); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.button6])); w25.Position = 1; w25.Expand = false; w25.Fill = false; this.hbox4.Add(this.hbox6); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.hbox6])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.vbox4.Add(this.hbox4); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox4])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbox4.Add(this.hseparator4); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hseparator4])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.vbox1.Add(this.vbox4); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox4])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 957; this.DefaultHeight = 281; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Released += new global::System.EventHandler(this.OnButton1Released); this.button2.Released += new global::System.EventHandler(this.OnButton2Released); this.button3.Released += new global::System.EventHandler(this.OnButton3Released); this.button4.Released += new global::System.EventHandler(this.OnButton4Released); this.button6.Released += new global::System.EventHandler(this.OnButton6Released); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Exameer.PngViewer this.Name = "Exameer.PngViewer"; this.Title = global::Mono.Unix.Catalog.GetString ("PdfViewer"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Exameer.PngViewer.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.lblFilename = new global::Gtk.Label (); this.lblFilename.Name = "lblFilename"; this.lblFilename.LabelProp = global::Mono.Unix.Catalog.GetString ("Current File Title"); this.vbox2.Add (this.lblFilename); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblFilename])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // 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.table3 = new global::Gtk.Table (((uint)(1)), ((uint)(10)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.btnNextImg = new global::Gtk.Button (); this.btnNextImg.CanFocus = true; this.btnNextImg.Name = "btnNextImg"; this.btnNextImg.UseUnderline = true; this.btnNextImg.Label = global::Mono.Unix.Catalog.GetString ("Next"); global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Button); this.btnNextImg.Image = w2; this.table3.Add (this.btnNextImg); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.btnNextImg])); w3.LeftAttach = ((uint)(9)); w3.RightAttach = ((uint)(10)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.btnPrevImg = new global::Gtk.Button (); this.btnPrevImg.CanFocus = true; this.btnPrevImg.Name = "btnPrevImg"; this.btnPrevImg.UseUnderline = true; this.btnPrevImg.Label = "Previous"; global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Button); this.btnPrevImg.Image = w4; this.table3.Add (this.btnPrevImg); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3 [this.btnPrevImg])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.btnResetRectangles = new global::Gtk.Button (); this.btnResetRectangles.CanFocus = true; this.btnResetRectangles.Name = "btnResetRectangles"; this.btnResetRectangles.UseUnderline = true; this.btnResetRectangles.Label = global::Mono.Unix.Catalog.GetString ("Reset"); global::Gtk.Image w6 = new global::Gtk.Image (); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Button); this.btnResetRectangles.Image = w6; this.table3.Add (this.btnResetRectangles); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.btnResetRectangles])); w7.LeftAttach = ((uint)(4)); w7.RightAttach = ((uint)(5)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox4.Add (this.table3); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table3])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scaleLeftLine = new global::Gtk.HScale (null); this.scaleLeftLine.CanFocus = true; this.scaleLeftLine.Name = "scaleLeftLine"; this.scaleLeftLine.Adjustment.Upper = 100; this.scaleLeftLine.Adjustment.PageIncrement = 5; this.scaleLeftLine.Adjustment.StepIncrement = 0.5; this.scaleLeftLine.Adjustment.Value = 25; this.scaleLeftLine.DrawValue = true; this.scaleLeftLine.Digits = 2; this.scaleLeftLine.ValuePos = ((global::Gtk.PositionType)(0)); this.vbox4.Add (this.scaleLeftLine); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scaleLeftLine])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scaleRightLine = new global::Gtk.HScale (null); this.scaleRightLine.CanFocus = true; this.scaleRightLine.Name = "scaleRightLine"; this.scaleRightLine.Adjustment.Upper = 100; this.scaleRightLine.Adjustment.PageIncrement = 5; this.scaleRightLine.Adjustment.StepIncrement = 0.5; this.scaleRightLine.Adjustment.Value = 75.19; this.scaleRightLine.DrawValue = true; this.scaleRightLine.Digits = 2; this.scaleRightLine.ValuePos = ((global::Gtk.PositionType)(0)); this.vbox4.Add (this.scaleRightLine); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.scaleRightLine])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox3.Add (this.vbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.drawingarea1 = new global::Gtk.DrawingArea (); this.drawingarea1.Name = "drawingarea1"; this.vbox3.Add (this.drawingarea1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.drawingarea1])); w12.Position = 2; w12.Padding = ((uint)(10)); this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3])); w13.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 708; this.DefaultHeight = 299; this.Show (); this.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnSizeAllocated); this.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.OnKeyReleaseEvent); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnKeyPressEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btnResetRectangles.Clicked += new global::System.EventHandler (this.OnBtnResetRectanglesClicked); this.btnPrevImg.Clicked += new global::System.EventHandler (this.OnBtnPrevImgClicked); this.btnNextImg.Clicked += new global::System.EventHandler (this.OnBtnNextImgClicked); this.scaleLeftLine.ValueChanged += new global::System.EventHandler (this.OnScaleLeftLineValueChanged); this.scaleRightLine.ValueChanged += new global::System.EventHandler (this.OnScaleRightLineValueChanged); }
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.WidthRequest = 900; this.HeightRequest = 450; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Dice cup"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("DiceCup.img.dice.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.BorderWidth = ((uint)(20)); // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.labelResults = new global::Gtk.Label(); this.labelResults.Name = "labelResults"; this.labelResults.LabelProp = global::Mono.Unix.Catalog.GetString("<span font=\'20,Bold\'>[ ]</span>"); this.labelResults.UseMarkup = true; this.labelResults.Justify = ((global::Gtk.Justification)(2)); this.vbox2.Add(this.labelResults); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelResults])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview = new global::Gtk.TextView(); this.textview.CanFocus = true; this.textview.Name = "textview"; this.textview.Editable = false; this.textview.Overwrite = true; this.textview.Justification = ((global::Gtk.Justification)(3)); this.GtkScrolledWindow.Add(this.textview); this.vbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow])); w3.Position = 1; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox2])); w4.Position = 0; w4.Padding = ((uint)(10)); // Container child hbox2.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.WidthRequest = 175; this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.labelDices = new global::Gtk.Label(); this.labelDices.Name = "labelDices"; this.labelDices.LabelProp = global::Mono.Unix.Catalog.GetString("Dices"); this.vbox1.Add(this.labelDices); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelDices])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hscaleDices = new global::Gtk.HScale(null); this.hscaleDices.CanFocus = true; this.hscaleDices.Name = "hscaleDices"; this.hscaleDices.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscaleDices.Adjustment.Lower = 1D; this.hscaleDices.Adjustment.Upper = 20D; this.hscaleDices.Adjustment.PageIncrement = 10D; this.hscaleDices.Adjustment.StepIncrement = 1D; this.hscaleDices.Adjustment.Value = 10D; this.hscaleDices.DrawValue = true; this.hscaleDices.Digits = 0; this.hscaleDices.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox1.Add(this.hscaleDices); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hscaleDices])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelDifficulty = new global::Gtk.Label(); this.labelDifficulty.Name = "labelDifficulty"; this.labelDifficulty.LabelProp = global::Mono.Unix.Catalog.GetString("Difficulty"); this.vbox1.Add(this.labelDifficulty); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelDifficulty])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hscaleDifficulty = new global::Gtk.HScale(null); this.hscaleDifficulty.CanFocus = true; this.hscaleDifficulty.Name = "hscaleDifficulty"; this.hscaleDifficulty.UpdatePolicy = ((global::Gtk.UpdateType)(2)); this.hscaleDifficulty.Adjustment.Lower = 3D; this.hscaleDifficulty.Adjustment.Upper = 9D; this.hscaleDifficulty.Adjustment.PageIncrement = 10D; this.hscaleDifficulty.Adjustment.StepIncrement = 1D; this.hscaleDifficulty.Adjustment.Value = 6D; this.hscaleDifficulty.DrawValue = true; this.hscaleDifficulty.Digits = 0; this.hscaleDifficulty.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox1.Add(this.hscaleDifficulty); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hscaleDifficulty])); w8.Position = 3; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.checkbuttonTens = new global::Gtk.CheckButton(); this.checkbuttonTens.CanFocus = true; this.checkbuttonTens.Name = "checkbuttonTens"; this.checkbuttonTens.Label = global::Mono.Unix.Catalog.GetString("10\'s are 2 successes"); this.checkbuttonTens.DrawIndicator = true; this.checkbuttonTens.UseUnderline = true; this.vbox1.Add(this.checkbuttonTens); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkbuttonTens])); w9.Position = 4; w9.Expand = false; w9.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vseparator3 = new global::Gtk.VSeparator(); this.vseparator3.Name = "vseparator3"; this.vbox1.Add(this.vseparator3); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vseparator3])); w10.Position = 5; // Container child vbox1.Gtk.Box+BoxChild this.labelSuccesses = new global::Gtk.Label(); this.labelSuccesses.Name = "labelSuccesses"; this.labelSuccesses.LabelProp = global::Mono.Unix.Catalog.GetString("Successes:"); this.vbox1.Add(this.labelSuccesses); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelSuccesses])); w11.Position = 6; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelFailures = new global::Gtk.Label(); this.labelFailures.Name = "labelFailures"; this.labelFailures.LabelProp = global::Mono.Unix.Catalog.GetString("Failures:"); this.vbox1.Add(this.labelFailures); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelFailures])); w12.Position = 7; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.labelBotches = new global::Gtk.Label(); this.labelBotches.Name = "labelBotches"; this.labelBotches.LabelProp = global::Mono.Unix.Catalog.GetString("Botches:"); this.vbox1.Add(this.labelBotches); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelBotches])); w13.Position = 8; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vseparator2 = new global::Gtk.VSeparator(); this.vseparator2.Name = "vseparator2"; this.vbox1.Add(this.vseparator2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vseparator2])); w14.Position = 9; // Container child vbox1.Gtk.Box+BoxChild this.labelSummary = new global::Gtk.Label(); this.labelSummary.Name = "labelSummary"; this.vbox1.Add(this.labelSummary); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.labelSummary])); w15.Position = 10; w15.Expand = false; w15.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.vseparator1 = new global::Gtk.VSeparator(); this.vseparator1.Name = "vseparator1"; this.vbox1.Add(this.vseparator1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.vseparator1])); w16.Position = 11; // Container child vbox1.Gtk.Box+BoxChild this.buttonRoll = new global::Gtk.Button(); this.buttonRoll.WidthRequest = 128; this.buttonRoll.HeightRequest = 64; this.buttonRoll.CanFocus = true; this.buttonRoll.Name = "buttonRoll"; this.buttonRoll.UseUnderline = true; this.buttonRoll.Label = global::Mono.Unix.Catalog.GetString("Roll!"); this.vbox1.Add(this.buttonRoll); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.buttonRoll])); w17.Position = 12; w17.Expand = false; w17.Fill = false; this.hbox2.Add(this.vbox1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.vbox1])); w18.Position = 1; w18.Expand = false; w18.Fill = false; w18.Padding = ((uint)(20)); this.Add(this.hbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 900; this.DefaultHeight = 600; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.buttonRoll.Clicked += new global::System.EventHandler(this.OnButtonRollClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame1.BorderWidth = ((uint)(9)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(6)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); this.table2.BorderWidth = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.button_address_ok = new global::Gtk.Button(); this.button_address_ok.CanFocus = true; this.button_address_ok.Name = "button_address_ok"; this.button_address_ok.UseUnderline = true; this.button_address_ok.Label = global::Mono.Unix.Catalog.GetString("OK"); this.table2.Add(this.button_address_ok); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table2 [this.button_address_ok])); w1.TopAttach = ((uint)(5)); w1.BottomAttach = ((uint)(6)); w1.LeftAttach = ((uint)(3)); w1.RightAttach = ((uint)(4)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.checkbutton_loop = new global::Gtk.CheckButton(); this.checkbutton_loop.CanFocus = true; this.checkbutton_loop.Name = "checkbutton_loop"; this.checkbutton_loop.Label = global::Mono.Unix.Catalog.GetString("Loop"); this.checkbutton_loop.DrawIndicator = true; this.checkbutton_loop.UseUnderline = true; this.table2.Add(this.checkbutton_loop); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkbutton_loop])); w2.TopAttach = ((uint)(5)); w2.BottomAttach = ((uint)(6)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_address = new global::Gtk.Entry(); this.entry_address.CanFocus = true; this.entry_address.Name = "entry_address"; this.entry_address.IsEditable = true; this.entry_address.InvisibleChar = '•'; this.entry_address.Xalign = 1F; this.table2.Add(this.entry_address); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_address])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_mpd = new global::Gtk.Entry(); this.entry_mpd.CanFocus = true; this.entry_mpd.Name = "entry_mpd"; this.entry_mpd.Text = global::Mono.Unix.Catalog.GetString("localhost"); this.entry_mpd.IsEditable = true; this.entry_mpd.InvisibleChar = '•'; this.entry_mpd.Xalign = 1F; this.table2.Add(this.entry_mpd); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_mpd])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_address = new global::Gtk.Entry(); this.entry_winamp_address.CanFocus = true; this.entry_winamp_address.Name = "entry_winamp_address"; this.entry_winamp_address.Text = global::Mono.Unix.Catalog.GetString("localhost"); this.entry_winamp_address.IsEditable = true; this.entry_winamp_address.InvisibleChar = '•'; this.entry_winamp_address.Xalign = 1F; this.table2.Add(this.entry_winamp_address); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_address])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_pass = new global::Gtk.Entry(); this.entry_winamp_pass.CanFocus = true; this.entry_winamp_pass.Name = "entry_winamp_pass"; this.entry_winamp_pass.Text = global::Mono.Unix.Catalog.GetString("pass"); this.entry_winamp_pass.IsEditable = true; this.entry_winamp_pass.InvisibleChar = '•'; this.entry_winamp_pass.Xalign = 1F; this.table2.Add(this.entry_winamp_pass); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_pass])); w6.TopAttach = ((uint)(2)); w6.BottomAttach = ((uint)(3)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entry_winamp_port = new global::Gtk.Entry(); this.entry_winamp_port.WidthRequest = 80; this.entry_winamp_port.CanFocus = true; this.entry_winamp_port.Name = "entry_winamp_port"; this.entry_winamp_port.Text = global::Mono.Unix.Catalog.GetString("4800"); this.entry_winamp_port.IsEditable = true; this.entry_winamp_port.MaxLength = 5; this.entry_winamp_port.InvisibleChar = '•'; this.table2.Add(this.entry_winamp_port); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.entry_winamp_port])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(3)); w7.RightAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.hscale_shift_speed = new global::Gtk.HScale(null); this.hscale_shift_speed.CanFocus = true; this.hscale_shift_speed.Name = "hscale_shift_speed"; this.hscale_shift_speed.Adjustment.Upper = 100; this.hscale_shift_speed.Adjustment.PageIncrement = 1; this.hscale_shift_speed.Adjustment.StepIncrement = 1; this.hscale_shift_speed.DrawValue = true; this.hscale_shift_speed.Digits = 0; this.hscale_shift_speed.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.hscale_shift_speed); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.hscale_shift_speed])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label_address = new global::Gtk.Label(); this.label_address.Name = "label_address"; this.label_address.LabelProp = global::Mono.Unix.Catalog.GetString("Ledmatrix Adresse"); this.table2.Add(this.label_address); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label_address])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Winamp Adresse"); this.table2.Add(this.label2); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Winamp Pass"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString(":"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Mpd Adresse"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table2); this.frame1.Add(this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Einstellungen</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 600; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview2 = new global::Gtk.TreeView(); this.treeview2.HeightRequest = 150; this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.treeview2.Reorderable = true; this.GtkScrolledWindow.Add(this.treeview2); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w18.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("%c\tCenter\t\t\t%h\tStunde\t\t%a\tArtist\n%g\tGrün\t\t\t%m\tMinute\t\t%t\tTitle\n%r\tRot\t\t\t\t%s\tSekunde\t\t%2%T Tree\n%o\tOrange\t\t\t\t\t\t\t%R\tRSS Feed\n%n\tZeilenumbruch\t%D\tTag\t\t\t%1\tSchrift mini\n%+\tEin Pixel tiefer\t%M\tMonat\t\t%8\tSchrift klein\n%-\tEin Pixel höher\t%Y\tJahr\t\t\t%2\tSchrift gross"); this.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 737; this.DefaultHeight = 624; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.hscale_shift_speed.ValueChanged += new global::System.EventHandler(this.hscale_shift_speed_changed); this.entry_mpd.Activated += new global::System.EventHandler(this.on_entry_mpd_activated); this.entry_address.Activated += new global::System.EventHandler(this.on_entry_address_activated); this.checkbutton_loop.Clicked += new global::System.EventHandler(this.on_checkbutton_loop_clicked); this.button_address_ok.Clicked += new global::System.EventHandler(this.on_entry_address_activated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 1280; this.HeightRequest = 720; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Blob Detection Test Suite"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 1280; this.MainLayout.HeightRequest = 720; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.ImageEventBox = new global::Gtk.EventBox(); this.ImageEventBox.WidthRequest = 800; this.ImageEventBox.HeightRequest = 600; this.ImageEventBox.Name = "ImageEventBox"; // Container child ImageEventBox.Gtk.Container+ContainerChild this.imageBox = new global::Gtk.Image(); this.imageBox.WidthRequest = 800; this.imageBox.HeightRequest = 600; this.imageBox.Name = "imageBox"; this.ImageEventBox.Add(this.imageBox); this.MainLayout.Add(this.ImageEventBox); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ImageEventBox])); w2.X = 20; w2.Y = 20; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectImageButton = new global::Gtk.Button(); this.selectImageButton.WidthRequest = 120; this.selectImageButton.Name = "selectImageButton"; this.selectImageButton.UseUnderline = true; this.selectImageButton.FocusOnClick = false; this.selectImageButton.Label = global::Mono.Unix.Catalog.GetString("select image"); this.MainLayout.Add(this.selectImageButton); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectImageButton])); w3.X = 560; w3.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.quitButton = new global::Gtk.Button(); this.quitButton.Name = "quitButton"; this.quitButton.UseUnderline = true; this.quitButton.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.MainLayout.Add(this.quitButton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.quitButton])); w4.X = 20; w4.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.cannyThreshold.WidthRequest = 120; this.cannyThreshold.Name = "cannyThreshold"; this.cannyThreshold.Adjustment.PageIncrement = 10D; this.cannyThreshold.ClimbRate = 1D; this.cannyThreshold.Numeric = true; this.MainLayout.Add(this.cannyThreshold); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThreshold])); w5.X = 840; w5.Y = 30; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThresholdLabel = new global::Gtk.Label(); this.cannyThresholdLabel.Name = "cannyThresholdLabel"; this.cannyThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Canny threshold"); this.MainLayout.Add(this.cannyThresholdLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThresholdLabel])); w6.X = 970; w6.Y = 35; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.linkingThreshold.WidthRequest = 120; this.linkingThreshold.Name = "linkingThreshold"; this.linkingThreshold.Adjustment.PageIncrement = 10D; this.linkingThreshold.ClimbRate = 1D; this.linkingThreshold.Numeric = true; this.MainLayout.Add(this.linkingThreshold); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThreshold])); w7.X = 840; w7.Y = 60; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThresholdLabel = new global::Gtk.Label(); this.linkingThresholdLabel.Name = "linkingThresholdLabel"; this.linkingThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Linking threshold"); this.MainLayout.Add(this.linkingThresholdLabel); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThresholdLabel])); w8.X = 970; w8.Y = 65; // Container child MainLayout.Gtk.Fixed+FixedChild this.minArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.minArea.WidthRequest = 120; this.minArea.Name = "minArea"; this.minArea.Adjustment.PageIncrement = 100D; this.minArea.ClimbRate = 1D; this.minArea.Numeric = true; this.MainLayout.Add(this.minArea); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minArea])); w9.X = 840; w9.Y = 90; // Container child MainLayout.Gtk.Fixed+FixedChild this.minAreaLabel = new global::Gtk.Label(); this.minAreaLabel.Name = "minAreaLabel"; this.minAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum area"); this.MainLayout.Add(this.minAreaLabel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minAreaLabel])); w10.X = 970; w10.Y = 95; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.maxArea.WidthRequest = 120; this.maxArea.Name = "maxArea"; this.maxArea.Adjustment.PageIncrement = 100D; this.maxArea.ClimbRate = 1D; this.maxArea.Numeric = true; this.MainLayout.Add(this.maxArea); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxArea])); w11.X = 840; w11.Y = 120; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxAreaLabel = new global::Gtk.Label(); this.maxAreaLabel.Name = "maxAreaLabel"; this.maxAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum area"); this.MainLayout.Add(this.maxAreaLabel); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxAreaLabel])); w12.X = 970; w12.Y = 125; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDist = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minDist.WidthRequest = 120; this.minDist.Name = "minDist"; this.minDist.Adjustment.PageIncrement = 10D; this.minDist.ClimbRate = 1D; this.minDist.Numeric = true; this.MainLayout.Add(this.minDist); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDist])); w13.X = 840; w13.Y = 150; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDistLabel = new global::Gtk.Label(); this.minDistLabel.Name = "minDistLabel"; this.minDistLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum distance between circles"); this.MainLayout.Add(this.minDistLabel); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDistLabel])); w14.X = 971; w14.Y = 155; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.circleAccumulatorThreshold.WidthRequest = 120; this.circleAccumulatorThreshold.Name = "circleAccumulatorThreshold"; this.circleAccumulatorThreshold.Adjustment.PageIncrement = 10D; this.circleAccumulatorThreshold.ClimbRate = 1D; this.circleAccumulatorThreshold.Numeric = true; this.MainLayout.Add(this.circleAccumulatorThreshold); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThreshold])); w15.X = 840; w15.Y = 180; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThresholdLabel = new global::Gtk.Label(); this.circleAccumulatorThresholdLabel.Name = "circleAccumulatorThresholdLabel"; this.circleAccumulatorThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Hough circle threshold"); this.MainLayout.Add(this.circleAccumulatorThresholdLabel); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThresholdLabel])); w16.X = 970; w16.Y = 185; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minRadius.WidthRequest = 120; this.minRadius.Name = "minRadius"; this.minRadius.Adjustment.PageIncrement = 10D; this.minRadius.ClimbRate = 1D; this.minRadius.Numeric = true; this.MainLayout.Add(this.minRadius); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadius])); w17.X = 840; w17.Y = 210; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadiusLabel = new global::Gtk.Label(); this.minRadiusLabel.Name = "minRadiusLabel"; this.minRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum circle radius"); this.MainLayout.Add(this.minRadiusLabel); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadiusLabel])); w18.X = 970; w18.Y = 215; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.maxRadius.WidthRequest = 120; this.maxRadius.Name = "maxRadius"; this.maxRadius.Adjustment.PageIncrement = 10D; this.maxRadius.ClimbRate = 1D; this.maxRadius.Numeric = true; this.MainLayout.Add(this.maxRadius); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadius])); w19.X = 840; w19.Y = 240; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadiusLabel = new global::Gtk.Label(); this.maxRadiusLabel.Name = "maxRadiusLabel"; this.maxRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum circle radius"); this.MainLayout.Add(this.maxRadiusLabel); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadiusLabel])); w20.X = 970; w20.Y = 245; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerColor = new global::Gtk.ColorButton(); this.markerColor.WidthRequest = 120; this.markerColor.Events = ((global::Gdk.EventMask)(784)); this.markerColor.Name = "markerColor"; this.markerColor.FocusOnClick = false; this.MainLayout.Add(this.markerColor); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerColor])); w21.X = 840; w21.Y = 390; // Container child MainLayout.Gtk.Fixed+FixedChild this.colorButtonLabel = new global::Gtk.Label(); this.colorButtonLabel.Name = "colorButtonLabel"; this.colorButtonLabel.LabelProp = global::Mono.Unix.Catalog.GetString("marker color"); this.MainLayout.Add(this.colorButtonLabel); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.colorButtonLabel])); w22.X = 970; w22.Y = 395; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSize = new global::Gtk.SpinButton(0D, 100D, 1D); this.markerSize.WidthRequest = 120; this.markerSize.Name = "markerSize"; this.markerSize.Adjustment.PageIncrement = 10D; this.markerSize.ClimbRate = 1D; this.markerSize.Numeric = true; this.MainLayout.Add(this.markerSize); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSize])); w23.X = 840; w23.Y = 360; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSizeLabel = new global::Gtk.Label(); this.markerSizeLabel.Name = "markerSizeLabel"; this.markerSizeLabel.LabelProp = global::Mono.Unix.Catalog.GetString("markerSize"); this.MainLayout.Add(this.markerSizeLabel); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSizeLabel])); w24.X = 970; w24.Y = 365; // Container child MainLayout.Gtk.Fixed+FixedChild this.dp = new global::Gtk.SpinButton(0D, 100D, 1D); this.dp.WidthRequest = 120; this.dp.Name = "dp"; this.dp.Adjustment.PageIncrement = 10D; this.dp.ClimbRate = 1D; this.dp.Numeric = true; this.MainLayout.Add(this.dp); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dp])); w25.X = 840; w25.Y = 270; // Container child MainLayout.Gtk.Fixed+FixedChild this.dpLabel = new global::Gtk.Label(); this.dpLabel.Name = "dpLabel"; this.dpLabel.LabelProp = global::Mono.Unix.Catalog.GetString("dp (image / accumulator)"); this.MainLayout.Add(this.dpLabel); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dpLabel])); w26.X = 970; w26.Y = 275; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectCirclesButton = new global::Gtk.Button(); this.detectCirclesButton.WidthRequest = 120; this.detectCirclesButton.Name = "detectCirclesButton"; this.detectCirclesButton.UseUnderline = true; this.detectCirclesButton.FocusOnClick = false; this.detectCirclesButton.Label = global::Mono.Unix.Catalog.GetString("Hough circles"); this.MainLayout.Add(this.detectCirclesButton); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectCirclesButton])); w27.X = 840; w27.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectBlobsButton = new global::Gtk.Button(); this.detectBlobsButton.WidthRequest = 120; this.detectBlobsButton.Name = "detectBlobsButton"; this.detectBlobsButton.UseUnderline = true; this.detectBlobsButton.FocusOnClick = false; this.detectBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Edge/Polygon"); this.MainLayout.Add(this.detectBlobsButton); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectBlobsButton])); w28.X = 840; w28.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.blobDetectorButton = new global::Gtk.Button(); this.blobDetectorButton.WidthRequest = 120; this.blobDetectorButton.Name = "blobDetectorButton"; this.blobDetectorButton.UseUnderline = true; this.blobDetectorButton.FocusOnClick = false; this.blobDetectorButton.Label = global::Mono.Unix.Catalog.GetString("Blobs"); this.MainLayout.Add(this.blobDetectorButton); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.blobDetectorButton])); w29.X = 840; w29.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.simpleBlobDetector = new global::Gtk.Button(); this.simpleBlobDetector.WidthRequest = 120; this.simpleBlobDetector.Name = "simpleBlobDetector"; this.simpleBlobDetector.UseUnderline = true; this.simpleBlobDetector.FocusOnClick = false; this.simpleBlobDetector.Label = global::Mono.Unix.Catalog.GetString("Simple"); this.MainLayout.Add(this.simpleBlobDetector); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.simpleBlobDetector])); w30.X = 840; w30.Y = 515; // Container child MainLayout.Gtk.Fixed+FixedChild this.subtractBg = new global::Gtk.CheckButton(); this.subtractBg.CanFocus = true; this.subtractBg.Name = "subtractBg"; this.subtractBg.Label = global::Mono.Unix.Catalog.GetString("sub background"); this.subtractBg.DrawIndicator = true; this.subtractBg.UseUnderline = true; this.MainLayout.Add(this.subtractBg); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.subtractBg])); w31.X = 970; w31.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.imgInvert = new global::Gtk.CheckButton(); this.imgInvert.CanFocus = true; this.imgInvert.Name = "imgInvert"; this.imgInvert.Label = global::Mono.Unix.Catalog.GetString("invert"); this.imgInvert.DrawIndicator = true; this.imgInvert.UseUnderline = true; this.MainLayout.Add(this.imgInvert); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.imgInvert])); w32.X = 970; w32.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.downUpSample = new global::Gtk.CheckButton(); this.downUpSample.CanFocus = true; this.downUpSample.Name = "downUpSample"; this.downUpSample.Label = global::Mono.Unix.Catalog.GetString("down/up sampling"); this.downUpSample.DrawIndicator = true; this.downUpSample.UseUnderline = true; this.downUpSample.FocusOnClick = false; this.MainLayout.Add(this.downUpSample); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.downUpSample])); w33.X = 970; w33.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.gaussianBlur = new global::Gtk.CheckButton(); this.gaussianBlur.Name = "gaussianBlur"; this.gaussianBlur.Label = global::Mono.Unix.Catalog.GetString("Guassian Filter"); this.gaussianBlur.DrawIndicator = true; this.gaussianBlur.UseUnderline = true; this.gaussianBlur.FocusOnClick = false; this.MainLayout.Add(this.gaussianBlur); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.gaussianBlur])); w34.X = 1080; w34.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.sx = new global::Gtk.SpinButton(0D, 100D, 1D); this.sx.WidthRequest = 120; this.sx.Name = "sx"; this.sx.Adjustment.PageIncrement = 10D; this.sx.ClimbRate = 1D; this.sx.Numeric = true; this.MainLayout.Add(this.sx); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sx])); w35.X = 840; w35.Y = 580; // Container child MainLayout.Gtk.Fixed+FixedChild this.sy = new global::Gtk.SpinButton(0D, 100D, 1D); this.sy.WidthRequest = 120; this.sy.Name = "sy"; this.sy.Adjustment.PageIncrement = 10D; this.sy.ClimbRate = 1D; this.sy.Numeric = true; this.MainLayout.Add(this.sy); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sy])); w36.X = 840; w36.Y = 610; // Container child MainLayout.Gtk.Fixed+FixedChild this.sxLabel = new global::Gtk.Label(); this.sxLabel.Name = "sxLabel"; this.sxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel width"); this.MainLayout.Add(this.sxLabel); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sxLabel])); w37.X = 970; w37.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.syLabel = new global::Gtk.Label(); this.syLabel.Name = "syLabel"; this.syLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel height"); this.MainLayout.Add(this.syLabel); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.syLabel])); w38.X = 970; w38.Y = 615; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaX = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaX.WidthRequest = 120; this.sigmaX.Name = "sigmaX"; this.sigmaX.Adjustment.PageIncrement = 10D; this.sigmaX.ClimbRate = 1D; this.sigmaX.Numeric = true; this.MainLayout.Add(this.sigmaX); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaX])); w39.X = 840; w39.Y = 640; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaY = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaY.WidthRequest = 120; this.sigmaY.Name = "sigmaY"; this.sigmaY.Adjustment.PageIncrement = 10D; this.sigmaY.ClimbRate = 1D; this.sigmaY.Numeric = true; this.MainLayout.Add(this.sigmaY); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaY])); w40.X = 840; w40.Y = 670; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaXLabel = new global::Gtk.Label(); this.sigmaXLabel.Name = "sigmaXLabel"; this.sigmaXLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (X)"); this.MainLayout.Add(this.sigmaXLabel); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaXLabel])); w41.X = 970; w41.Y = 645; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaYLabel = new global::Gtk.Label(); this.sigmaYLabel.Name = "sigmaYLabel"; this.sigmaYLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (Y)"); this.MainLayout.Add(this.sigmaYLabel); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaYLabel])); w42.X = 970; w42.Y = 675; // Container child MainLayout.Gtk.Fixed+FixedChild this.normalize = new global::Gtk.CheckButton(); this.normalize.CanFocus = true; this.normalize.Name = "normalize"; this.normalize.Label = global::Mono.Unix.Catalog.GetString("normalize"); this.normalize.DrawIndicator = true; this.normalize.UseUnderline = true; this.MainLayout.Add(this.normalize); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.normalize])); w43.X = 1120; w43.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveBlobsButton = new global::Gtk.Button(); this.saveBlobsButton.Name = "saveBlobsButton"; this.saveBlobsButton.UseUnderline = true; this.saveBlobsButton.FocusOnClick = false; this.saveBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Save Blobs"); this.MainLayout.Add(this.saveBlobsButton); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveBlobsButton])); w44.X = 60; w44.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveProcessedImage = new global::Gtk.Button(); this.saveProcessedImage.Name = "saveProcessedImage"; this.saveProcessedImage.UseUnderline = true; this.saveProcessedImage.FocusOnClick = false; this.saveProcessedImage.Label = global::Mono.Unix.Catalog.GetString("Save Processed Image"); this.MainLayout.Add(this.saveProcessedImage); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveProcessedImage])); w45.X = 150; w45.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.SelectMode = new global::Gtk.ToggleButton(); this.SelectMode.WidthRequest = 120; this.SelectMode.Name = "SelectMode"; this.SelectMode.UseUnderline = true; this.SelectMode.FocusOnClick = false; this.SelectMode.Label = global::Mono.Unix.Catalog.GetString("Ellipse / Box"); this.MainLayout.Add(this.SelectMode); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.SelectMode])); w46.X = 320; w46.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.editRegionLayout = new global::Gtk.Fixed(); this.editRegionLayout.WidthRequest = 800; this.editRegionLayout.HeightRequest = 50; this.editRegionLayout.Name = "editRegionLayout"; this.editRegionLayout.HasWindow = false; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionWidthLabel = new global::Gtk.Label(); this.regionWidthLabel.Name = "regionWidthLabel"; this.regionWidthLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Width</b>"); this.regionWidthLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionWidthLabel); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionWidthLabel])); w47.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.widthScaleNumeric.Name = "widthScaleNumeric"; this.widthScaleNumeric.Adjustment.PageIncrement = 10D; this.widthScaleNumeric.ClimbRate = 1D; this.widthScaleNumeric.Numeric = true; this.widthScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.widthScaleNumeric); global::Gtk.Fixed.FixedChild w48 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScaleNumeric])); w48.X = 50; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScale = new global::Gtk.HScale(null); this.widthScale.WidthRequest = 100; this.widthScale.Name = "widthScale"; this.widthScale.Adjustment.Lower = 2D; this.widthScale.Adjustment.Upper = 1000D; this.widthScale.Adjustment.PageIncrement = 10D; this.widthScale.Adjustment.StepIncrement = 1D; this.widthScale.DrawValue = false; this.widthScale.Digits = 0; this.widthScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.widthScale); global::Gtk.Fixed.FixedChild w49 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScale])); w49.X = 120; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.heightScaleNumeric.Name = "heightScaleNumeric"; this.heightScaleNumeric.Adjustment.PageIncrement = 10D; this.heightScaleNumeric.ClimbRate = 1D; this.heightScaleNumeric.Numeric = true; this.heightScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.heightScaleNumeric); global::Gtk.Fixed.FixedChild w50 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScaleNumeric])); w50.X = 50; w50.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScale = new global::Gtk.HScale(null); this.heightScale.WidthRequest = 100; this.heightScale.CanFocus = true; this.heightScale.Name = "heightScale"; this.heightScale.Adjustment.Lower = 2D; this.heightScale.Adjustment.Upper = 1000D; this.heightScale.Adjustment.PageIncrement = 10D; this.heightScale.Adjustment.StepIncrement = 1D; this.heightScale.DrawValue = false; this.heightScale.Digits = 0; this.heightScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.heightScale); global::Gtk.Fixed.FixedChild w51 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScale])); w51.X = 120; w51.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionHeightLabel = new global::Gtk.Label(); this.regionHeightLabel.Name = "regionHeightLabel"; this.regionHeightLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Height</b>"); this.regionHeightLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionHeightLabel); global::Gtk.Fixed.FixedChild w52 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionHeightLabel])); w52.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dxScaleNumeric.Name = "dxScaleNumeric"; this.dxScaleNumeric.Adjustment.PageIncrement = 10D; this.dxScaleNumeric.ClimbRate = 1D; this.dxScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dxScaleNumeric); global::Gtk.Fixed.FixedChild w53 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScaleNumeric])); w53.X = 250; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxLabel = new global::Gtk.Label(); this.dxLabel.Name = "dxLabel"; this.dxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>X</b>"); this.dxLabel.UseMarkup = true; this.editRegionLayout.Add(this.dxLabel); global::Gtk.Fixed.FixedChild w54 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxLabel])); w54.X = 230; w54.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dyScaleNumeric.Name = "dyScaleNumeric"; this.dyScaleNumeric.Adjustment.PageIncrement = 10D; this.dyScaleNumeric.ClimbRate = 1D; this.dyScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dyScaleNumeric); global::Gtk.Fixed.FixedChild w55 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScaleNumeric])); w55.X = 250; w55.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyLabel = new global::Gtk.Label(); this.dyLabel.Name = "dyLabel"; this.dyLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Y</b>"); this.dyLabel.UseMarkup = true; this.editRegionLayout.Add(this.dyLabel); global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyLabel])); w56.X = 230; w56.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScale = new global::Gtk.HScale(null); this.dxScale.WidthRequest = 100; this.dxScale.Name = "dxScale"; this.dxScale.Adjustment.Lower = -800D; this.dxScale.Adjustment.Upper = 1600D; this.dxScale.Adjustment.PageIncrement = 10D; this.dxScale.Adjustment.StepIncrement = 1D; this.dxScale.DrawValue = false; this.dxScale.Digits = 0; this.dxScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dxScale); global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScale])); w57.X = 320; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScale = new global::Gtk.HScale(null); this.dyScale.WidthRequest = 100; this.dyScale.Name = "dyScale"; this.dyScale.Adjustment.Lower = -800D; this.dyScale.Adjustment.Upper = 1600D; this.dyScale.Adjustment.PageIncrement = 10D; this.dyScale.Adjustment.StepIncrement = 1D; this.dyScale.DrawValue = false; this.dyScale.Digits = 0; this.dyScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dyScale); global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScale])); w58.X = 320; w58.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.closeEditButton = new global::Gtk.Button(); this.closeEditButton.Name = "closeEditButton"; this.closeEditButton.UseUnderline = true; this.closeEditButton.FocusOnClick = false; this.closeEditButton.Label = global::Mono.Unix.Catalog.GetString("Close"); this.editRegionLayout.Add(this.closeEditButton); global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.closeEditButton])); w59.X = 440; this.MainLayout.Add(this.editRegionLayout); global::Gtk.Fixed.FixedChild w60 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.editRegionLayout])); w60.X = 20; w60.Y = 660; // Container child MainLayout.Gtk.Fixed+FixedChild this.ClearSelected = new global::Gtk.Button(); this.ClearSelected.Name = "ClearSelected"; this.ClearSelected.UseUnderline = true; this.ClearSelected.FocusOnClick = false; this.ClearSelected.Label = global::Mono.Unix.Catalog.GetString("Clear Selection"); this.MainLayout.Add(this.ClearSelected); global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ClearSelected])); w61.X = 445; w61.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectObjectsButton = new global::Gtk.Button(); this.detectObjectsButton.WidthRequest = 120; this.detectObjectsButton.Name = "detectObjectsButton"; this.detectObjectsButton.UseUnderline = true; this.detectObjectsButton.FocusOnClick = false; this.detectObjectsButton.Label = global::Mono.Unix.Catalog.GetString("Haar Cascades"); this.MainLayout.Add(this.detectObjectsButton); global::Gtk.Fixed.FixedChild w62 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectObjectsButton])); w62.X = 840; w62.Y = 545; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactor = new global::Gtk.SpinButton(0.01D, 10D, 0.1D); this.scaleFactor.WidthRequest = 120; this.scaleFactor.Name = "scaleFactor"; this.scaleFactor.Adjustment.PageIncrement = 0.1D; this.scaleFactor.ClimbRate = 1D; this.scaleFactor.Digits = ((uint)(2)); this.scaleFactor.Numeric = true; this.scaleFactor.Value = 1D; this.MainLayout.Add(this.scaleFactor); global::Gtk.Fixed.FixedChild w63 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactor])); w63.X = 840; w63.Y = 300; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactorLabel = new global::Gtk.Label(); this.scaleFactorLabel.Name = "scaleFactorLabel"; this.scaleFactorLabel.LabelProp = global::Mono.Unix.Catalog.GetString("scale factor"); this.MainLayout.Add(this.scaleFactorLabel); global::Gtk.Fixed.FixedChild w64 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactorLabel])); w64.X = 970; w64.Y = 305; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighbors = new global::Gtk.SpinButton(1D, 100D, 1D); this.minNeighbors.WidthRequest = 120; this.minNeighbors.Name = "minNeighbors"; this.minNeighbors.Adjustment.PageIncrement = 10D; this.minNeighbors.ClimbRate = 1D; this.minNeighbors.Numeric = true; this.minNeighbors.Value = 1D; this.MainLayout.Add(this.minNeighbors); global::Gtk.Fixed.FixedChild w65 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighbors])); w65.X = 840; w65.Y = 330; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighborsLabel = new global::Gtk.Label(); this.minNeighborsLabel.Name = "minNeighborsLabel"; this.minNeighborsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimun # of rectangle neighbors"); this.MainLayout.Add(this.minNeighborsLabel); global::Gtk.Fixed.FixedChild w66 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighborsLabel])); w66.X = 970; w66.Y = 335; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectClassifierButton = new global::Gtk.Button(); this.selectClassifierButton.WidthRequest = 120; this.selectClassifierButton.Name = "selectClassifierButton"; this.selectClassifierButton.UseUnderline = true; this.selectClassifierButton.FocusOnClick = false; this.selectClassifierButton.Label = global::Mono.Unix.Catalog.GetString("select classifier"); this.MainLayout.Add(this.selectClassifierButton); global::Gtk.Fixed.FixedChild w67 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectClassifierButton])); w67.X = 970; w67.Y = 545; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1280; this.DefaultHeight = 720; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ImageEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.ImageButtonPress); this.ImageEventBox.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.ImageButtonRelease); this.ImageEventBox.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.ImageMotionNotify); this.selectImageButton.Clicked += new global::System.EventHandler(this.OnSelectImageButtonClicked); this.quitButton.Clicked += new global::System.EventHandler(this.OnQuitButtonClicked); this.markerSize.ValueChanged += new global::System.EventHandler(this.OnMarkerSizeValueChanged); this.detectCirclesButton.Clicked += new global::System.EventHandler(this.OnDetectCirclesButtonClicked); this.detectBlobsButton.Clicked += new global::System.EventHandler(this.OnDetectBlobsButtonClicked); this.blobDetectorButton.Clicked += new global::System.EventHandler(this.OnBlobDetectorButtonClicked); this.simpleBlobDetector.Clicked += new global::System.EventHandler(this.OnSimpleBlobDetectorClicked); this.subtractBg.Toggled += new global::System.EventHandler(this.OnSubtractBgToggled); this.imgInvert.Toggled += new global::System.EventHandler(this.OnImgInvertToggled); this.downUpSample.Toggled += new global::System.EventHandler(this.OnDownUpSampleToggled); this.gaussianBlur.Toggled += new global::System.EventHandler(this.OnGaussianBlurToggled); this.sx.ValueChanged += new global::System.EventHandler(this.OnSxValueChanged); this.sy.ValueChanged += new global::System.EventHandler(this.OnSyValueChanged); this.sigmaX.ValueChanged += new global::System.EventHandler(this.OnSigmaXValueChanged); this.sigmaY.ValueChanged += new global::System.EventHandler(this.OnSigmaYValueChanged); this.normalize.Toggled += new global::System.EventHandler(this.OnNormalizeToggled); this.saveBlobsButton.Clicked += new global::System.EventHandler(this.OnSaveBlobsButtonClicked); this.saveProcessedImage.Clicked += new global::System.EventHandler(this.OnSaveProcessedImageClicked); this.SelectMode.Toggled += new global::System.EventHandler(this.ToggleSelectMode); this.widthScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.widthScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.heightScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.heightScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.dxScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dyScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dxScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.dyScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.closeEditButton.Clicked += new global::System.EventHandler(this.CloseEdit); this.ClearSelected.Clicked += new global::System.EventHandler(this.ClearRegions); this.detectObjectsButton.Clicked += new global::System.EventHandler(this.OnDetectObjectsButtonClicked); this.selectClassifierButton.Clicked += new global::System.EventHandler(this.OnSelectClassifierButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Pinta.LayerPropertiesDialog this.Name = "Pinta.LayerPropertiesDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Layer Properties"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child Pinta.LayerPropertiesDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 10; this.vbox2.BorderWidth = ((uint)(9)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name:"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.layerNameEntry = new global::Gtk.Entry(); this.layerNameEntry.CanFocus = true; this.layerNameEntry.Name = "layerNameEntry"; this.layerNameEntry.IsEditable = true; this.layerNameEntry.InvisibleChar = '?'; this.hbox1.Add(this.layerNameEntry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.layerNameEntry])); w3.Position = 1; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.visibilityCheckbox = new global::Gtk.CheckButton(); this.visibilityCheckbox.CanFocus = true; this.visibilityCheckbox.Name = "visibilityCheckbox"; this.visibilityCheckbox.Label = global::Mono.Unix.Catalog.GetString("Visible"); this.visibilityCheckbox.DrawIndicator = true; this.visibilityCheckbox.UseUnderline = true; this.vbox2.Add(this.visibilityCheckbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.visibilityCheckbox])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbox2.Add(this.hseparator2); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hseparator2])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 16; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Opacity:"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.opacitySpinner = new global::Gtk.SpinButton(0, 100, 1); this.opacitySpinner.CanFocus = true; this.opacitySpinner.Name = "opacitySpinner"; this.opacitySpinner.Adjustment.PageIncrement = 10; this.opacitySpinner.ClimbRate = 1; this.opacitySpinner.Numeric = true; this.hbox2.Add(this.opacitySpinner); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.opacitySpinner])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.opacitySlider = new global::Gtk.HScale(null); this.opacitySlider.CanFocus = true; this.opacitySlider.Name = "opacitySlider"; this.opacitySlider.Adjustment.Upper = 100; this.opacitySlider.Adjustment.PageIncrement = 10; this.opacitySlider.Adjustment.StepIncrement = 1; this.opacitySlider.DrawValue = true; this.opacitySlider.Digits = 0; this.opacitySlider.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox2.Add(this.opacitySlider); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.opacitySlider])); w9.Position = 2; this.vbox2.Add(this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w10.Position = 3; w10.Expand = false; w10.Fill = false; w1.Add(this.vbox2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Internal child Pinta.LayerPropertiesDialog.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 349; this.DefaultHeight = 224; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MultiPerceptron.ConfigDialog this.Name = "MultiPerceptron.ConfigDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MultiPerceptron.ConfigDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 48; // Container child vbox8.Gtk.Box+BoxChild this.labelTitle = new global::Gtk.Label(); this.labelTitle.Name = "labelTitle"; this.labelTitle.LabelProp = global::Mono.Unix.Catalog.GetString("Perceptron Configurations"); this.vbox8.Add(this.labelTitle); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.labelTitle])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 48; // Container child hbox9.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.comboActivFunc = global::Gtk.ComboBox.NewText(); this.comboActivFunc.AppendText(global::Mono.Unix.Catalog.GetString("Sigm: a/(1+e^(-b·x))")); this.comboActivFunc.AppendText(global::Mono.Unix.Catalog.GetString("Tanh: a·tanh(b·x)")); this.comboActivFunc.AppendText(global::Mono.Unix.Catalog.GetString("ReLU: a·x, b·x")); this.comboActivFunc.AppendText(global::Mono.Unix.Catalog.GetString("ELU: a·(e^x-1), b·x")); this.comboActivFunc.Name = "comboActivFunc"; this.comboActivFunc.Active = 1; this.table2.Add(this.comboActivFunc); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2[this.comboActivFunc])); w3.TopAttach = ((uint)(5)); w3.BottomAttach = ((uint)(6)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.Text = global::Mono.Unix.Catalog.GetString("Unnamed"); this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table2.Add(this.entryName); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.entryName])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Activ. function:"); this.label19.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label19); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.label19])); w5.TopAttach = ((uint)(5)); w5.BottomAttach = ((uint)(6)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Output dimension:"); this.label20.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label20); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label20])); w6.TopAttach = ((uint)(4)); w6.BottomAttach = ((uint)(5)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Hidden dimension:"); this.label21.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label21); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label21])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Input dimension:"); this.label22.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label22); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label22])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Name:"); this.label23.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label23); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label23])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Hidden layers:"); this.label32.Justify = ((global::Gtk.Justification)(1)); this.table2.Add(this.label32); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.label32])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinHidden = new global::Gtk.SpinButton(2D, 12D, 1D); this.spinHidden.CanFocus = true; this.spinHidden.Name = "spinHidden"; this.spinHidden.Adjustment.PageIncrement = 10D; this.spinHidden.ClimbRate = 1D; this.spinHidden.Numeric = true; this.spinHidden.Value = 2D; this.table2.Add(this.spinHidden); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.spinHidden])); w11.TopAttach = ((uint)(3)); w11.BottomAttach = ((uint)(4)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinInput = new global::Gtk.SpinButton(2D, 12D, 1D); this.spinInput.CanFocus = true; this.spinInput.Name = "spinInput"; this.spinInput.Adjustment.PageIncrement = 10D; this.spinInput.ClimbRate = 1D; this.spinInput.Numeric = true; this.spinInput.Value = 2D; this.table2.Add(this.spinInput); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.spinInput])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinLayers = new global::Gtk.SpinButton(0D, 12D, 1D); this.spinLayers.CanFocus = true; this.spinLayers.Name = "spinLayers"; this.spinLayers.Adjustment.PageIncrement = 10D; this.spinLayers.ClimbRate = 1D; this.spinLayers.Numeric = true; this.spinLayers.Value = 1D; this.table2.Add(this.spinLayers); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.spinLayers])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.spinOutput = new global::Gtk.SpinButton(2D, 12D, 1D); this.spinOutput.CanFocus = true; this.spinOutput.Name = "spinOutput"; this.spinOutput.Adjustment.PageIncrement = 10D; this.spinOutput.ClimbRate = 1D; this.spinOutput.Numeric = true; this.spinOutput.Value = 2D; this.table2.Add(this.spinOutput); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.spinOutput])); w14.TopAttach = ((uint)(4)); w14.BottomAttach = ((uint)(5)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table2); this.frame4.Add(this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Common</b>"); this.GtkLabel2.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel2; this.hbox9.Add(this.frame4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.frame4])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 24; // Container child vbox9.Gtk.Box+BoxChild this.frame5 = new global::Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.entryA = new global::Gtk.Entry(); this.entryA.CanFocus = true; this.entryA.Name = "entryA"; this.entryA.Text = global::Mono.Unix.Catalog.GetString("1.0"); this.entryA.IsEditable = true; this.entryA.InvisibleChar = '●'; this.table3.Add(this.entryA); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3[this.entryA])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.entryB = new global::Gtk.Entry(); this.entryB.CanFocus = true; this.entryB.Name = "entryB"; this.entryB.Text = global::Mono.Unix.Catalog.GetString("1.0"); this.entryB.IsEditable = true; this.entryB.InvisibleChar = '●'; this.table3.Add(this.entryB); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3[this.entryB])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label33 = new global::Gtk.Label(); this.label33.Name = "label33"; this.label33.LabelProp = global::Mono.Unix.Catalog.GetString("a = "); this.label33.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label33); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3[this.label33])); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("b = "); this.label34.Justify = ((global::Gtk.Justification)(1)); this.table3.Add(this.label34); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3[this.label34])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment3.Add(this.table3); this.frame5.Add(this.GtkAlignment3); this.labelFunc = new global::Gtk.Label(); this.labelFunc.Name = "labelFunc"; this.labelFunc.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Function Parameters</b>"); this.labelFunc.UseMarkup = true; this.frame5.LabelWidget = this.labelFunc; this.vbox9.Add(this.frame5); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.frame5])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.frame7 = new global::Gtk.Frame(); this.frame7.Name = "frame7"; this.frame7.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame7.Gtk.Container+ContainerChild this.GtkAlignment5 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.button16 = new global::Gtk.Button(); this.button16.CanFocus = true; this.button16.Name = "button16"; this.button16.UseUnderline = true; this.button16.Label = global::Mono.Unix.Catalog.GetString("File:"); this.hbox10.Add(this.button16); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.button16])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.entryFile = new global::Gtk.Entry(); this.entryFile.CanFocus = true; this.entryFile.Name = "entryFile"; this.entryFile.Text = global::Mono.Unix.Catalog.GetString("none"); this.entryFile.IsEditable = false; this.entryFile.InvisibleChar = '●'; this.hbox10.Add(this.entryFile); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.entryFile])); w26.Position = 1; this.vbox10.Add(this.hbox10); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.hbox10])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.checkCorrel = new global::Gtk.CheckButton(); this.checkCorrel.CanFocus = true; this.checkCorrel.Name = "checkCorrel"; this.checkCorrel.Label = global::Mono.Unix.Catalog.GetString("Do Decorrelation (LMS)"); this.checkCorrel.DrawIndicator = true; this.checkCorrel.UseUnderline = true; this.vbox10.Add(this.checkCorrel); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.checkCorrel])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.checkStandard = new global::Gtk.CheckButton(); this.checkStandard.CanFocus = true; this.checkStandard.Name = "checkStandard"; this.checkStandard.Label = global::Mono.Unix.Catalog.GetString("Do Standartization"); this.checkStandard.DrawIndicator = true; this.checkStandard.UseUnderline = true; this.vbox10.Add(this.checkStandard); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.checkStandard])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.GtkAlignment5.Add(this.vbox10); this.frame7.Add(this.GtkAlignment5); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Data</b>"); this.GtkLabel4.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel4; this.vbox9.Add(this.frame7); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.frame7])); w32.Position = 1; w32.Expand = false; w32.Fill = false; this.hbox9.Add(this.vbox9); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.vbox9])); w33.Position = 1; w33.Expand = false; w33.Fill = false; this.vbox8.Add(this.hbox9); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox9])); w34.Position = 1; w34.Expand = false; w34.Fill = false; w34.Padding = ((uint)(6)); // Container child vbox8.Gtk.Box+BoxChild this.frame6 = new global::Gtk.Frame(); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame6.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.table4 = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.hscaleConstrain = new global::Gtk.HScale(null); this.hscaleConstrain.CanFocus = true; this.hscaleConstrain.Name = "hscaleConstrain"; this.hscaleConstrain.Adjustment.Lower = 1D; this.hscaleConstrain.Adjustment.Upper = 144D; this.hscaleConstrain.Adjustment.PageIncrement = 12D; this.hscaleConstrain.Adjustment.StepIncrement = 1D; this.hscaleConstrain.Adjustment.Value = 1D; this.hscaleConstrain.DrawValue = true; this.hscaleConstrain.Digits = 0; this.hscaleConstrain.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleConstrain); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleConstrain])); w35.TopAttach = ((uint)(5)); w35.BottomAttach = ((uint)(6)); w35.LeftAttach = ((uint)(1)); w35.RightAttach = ((uint)(2)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleCrossRatio = new global::Gtk.HScale(null); this.hscaleCrossRatio.CanFocus = true; this.hscaleCrossRatio.Name = "hscaleCrossRatio"; this.hscaleCrossRatio.Adjustment.Upper = 1D; this.hscaleCrossRatio.Adjustment.PageIncrement = 0.33D; this.hscaleCrossRatio.Adjustment.StepIncrement = 0.01D; this.hscaleCrossRatio.Adjustment.Value = 0.06D; this.hscaleCrossRatio.DrawValue = true; this.hscaleCrossRatio.Digits = 2; this.hscaleCrossRatio.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleCrossRatio); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleCrossRatio])); w36.TopAttach = ((uint)(4)); w36.BottomAttach = ((uint)(5)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleDropOut = new global::Gtk.HScale(null); this.hscaleDropOut.CanFocus = true; this.hscaleDropOut.Name = "hscaleDropOut"; this.hscaleDropOut.Adjustment.Upper = 1D; this.hscaleDropOut.Adjustment.PageIncrement = 0.33D; this.hscaleDropOut.Adjustment.StepIncrement = 0.01D; this.hscaleDropOut.Adjustment.Value = 0.5D; this.hscaleDropOut.DrawValue = true; this.hscaleDropOut.Digits = 2; this.hscaleDropOut.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleDropOut); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleDropOut])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleLearnRate = new global::Gtk.HScale(null); this.hscaleLearnRate.CanFocus = true; this.hscaleLearnRate.Name = "hscaleLearnRate"; this.hscaleLearnRate.Adjustment.Lower = 0.001D; this.hscaleLearnRate.Adjustment.Upper = 12D; this.hscaleLearnRate.Adjustment.PageIncrement = 3D; this.hscaleLearnRate.Adjustment.StepIncrement = 1D; this.hscaleLearnRate.Adjustment.Value = 0.12D; this.hscaleLearnRate.DrawValue = true; this.hscaleLearnRate.Digits = 3; this.hscaleLearnRate.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleLearnRate); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleLearnRate])); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleMomentum = new global::Gtk.HScale(null); this.hscaleMomentum.CanFocus = true; this.hscaleMomentum.Name = "hscaleMomentum"; this.hscaleMomentum.Adjustment.Upper = 1D; this.hscaleMomentum.Adjustment.PageIncrement = 0.33D; this.hscaleMomentum.Adjustment.StepIncrement = 0.001D; this.hscaleMomentum.Adjustment.Value = 0.026D; this.hscaleMomentum.DrawValue = true; this.hscaleMomentum.Digits = 3; this.hscaleMomentum.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleMomentum); global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleMomentum])); w39.TopAttach = ((uint)(1)); w39.BottomAttach = ((uint)(2)); w39.LeftAttach = ((uint)(1)); w39.RightAttach = ((uint)(2)); w39.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleRegular = new global::Gtk.HScale(null); this.hscaleRegular.CanFocus = true; this.hscaleRegular.Name = "hscaleRegular"; this.hscaleRegular.Adjustment.Upper = 6D; this.hscaleRegular.Adjustment.PageIncrement = 1D; this.hscaleRegular.Adjustment.StepIncrement = 0.1D; this.hscaleRegular.Adjustment.Value = 0.3D; this.hscaleRegular.DrawValue = true; this.hscaleRegular.Digits = 0; this.hscaleRegular.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleRegular); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleRegular])); w40.TopAttach = ((uint)(6)); w40.BottomAttach = ((uint)(7)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleSmartScale = new global::Gtk.HScale(null); this.hscaleSmartScale.CanFocus = true; this.hscaleSmartScale.Name = "hscaleSmartScale"; this.hscaleSmartScale.Adjustment.Lower = 1D; this.hscaleSmartScale.Adjustment.Upper = 12D; this.hscaleSmartScale.Adjustment.PageIncrement = 1D; this.hscaleSmartScale.Adjustment.StepIncrement = 0.1D; this.hscaleSmartScale.Adjustment.Value = 1D; this.hscaleSmartScale.DrawValue = true; this.hscaleSmartScale.Digits = 0; this.hscaleSmartScale.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleSmartScale); global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleSmartScale])); w41.TopAttach = ((uint)(7)); w41.BottomAttach = ((uint)(8)); w41.LeftAttach = ((uint)(1)); w41.RightAttach = ((uint)(2)); w41.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hscaleStopDW = new global::Gtk.HScale(null); this.hscaleStopDW.CanFocus = true; this.hscaleStopDW.Name = "hscaleStopDW"; this.hscaleStopDW.Adjustment.Lower = 0.0001D; this.hscaleStopDW.Adjustment.Upper = 0.3D; this.hscaleStopDW.Adjustment.PageIncrement = 0.1D; this.hscaleStopDW.Adjustment.StepIncrement = 0.0001D; this.hscaleStopDW.Adjustment.Value = 0.02D; this.hscaleStopDW.DrawValue = true; this.hscaleStopDW.Digits = 4; this.hscaleStopDW.ValuePos = ((global::Gtk.PositionType)(2)); this.table4.Add(this.hscaleStopDW); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4[this.hscaleStopDW])); w42.TopAttach = ((uint)(2)); w42.BottomAttach = ((uint)(3)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label24 = new global::Gtk.Label(); this.label24.Name = "label24"; this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Learn Rate:"); this.label24.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label24); global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4[this.label24])); w43.XOptions = ((global::Gtk.AttachOptions)(4)); w43.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label25 = new global::Gtk.Label(); this.label25.Name = "label25"; this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Momentum:"); this.label25.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label25); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4[this.label25])); w44.TopAttach = ((uint)(1)); w44.BottomAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label26 = new global::Gtk.Label(); this.label26.Name = "label26"; this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Stopping dW:"); this.table4.Add(this.label26); global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4[this.label26])); w45.TopAttach = ((uint)(2)); w45.BottomAttach = ((uint)(3)); w45.XOptions = ((global::Gtk.AttachOptions)(4)); w45.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label27 = new global::Gtk.Label(); this.label27.Name = "label27"; this.label27.LabelProp = global::Mono.Unix.Catalog.GetString("DropOut Probability:"); this.label27.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label27); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table4[this.label27])); w46.TopAttach = ((uint)(3)); w46.BottomAttach = ((uint)(4)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("Cross-Validation Ratio:"); this.label28.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label28); global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table4[this.label28])); w47.TopAttach = ((uint)(4)); w47.BottomAttach = ((uint)(5)); w47.XOptions = ((global::Gtk.AttachOptions)(4)); w47.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label29 = new global::Gtk.Label(); this.label29.Name = "label29"; this.label29.LabelProp = global::Mono.Unix.Catalog.GetString("Constraining Modulo:"); this.label29.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label29); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table4[this.label29])); w48.TopAttach = ((uint)(5)); w48.BottomAttach = ((uint)(6)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label30 = new global::Gtk.Label(); this.label30.Name = "label30"; this.label30.LabelProp = global::Mono.Unix.Catalog.GetString("Regularization aspect:"); this.label30.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label30); global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table4[this.label30])); w49.TopAttach = ((uint)(6)); w49.BottomAttach = ((uint)(7)); w49.XOptions = ((global::Gtk.AttachOptions)(4)); w49.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Smart Scale Factor:"); this.label31.Justify = ((global::Gtk.Justification)(1)); this.table4.Add(this.label31); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table4[this.label31])); w50.TopAttach = ((uint)(7)); w50.BottomAttach = ((uint)(8)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment4.Add(this.table4); this.frame6.Add(this.GtkAlignment4); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Learning Global Parameters</b>"); this.GtkLabel3.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel3; this.vbox8.Add(this.frame6); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.frame6])); w53.PackType = ((global::Gtk.PackType)(1)); w53.Position = 2; w53.Expand = false; w53.Fill = false; w1.Add(this.vbox8); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(w1[this.vbox8])); w54.Position = 0; w54.Expand = false; w54.Fill = false; // Internal child MultiPerceptron.ConfigDialog.ActionArea global::Gtk.HButtonBox w55 = this.ActionArea; w55.Name = "dialog1_ActionArea"; w55.Spacing = 10; w55.BorderWidth = ((uint)(5)); w55.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w56 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w55[this.buttonCancel])); w56.Expand = false; w56.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w57 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w55[this.buttonOk])); w57.Position = 1; w57.Expand = false; w57.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1960; this.DefaultHeight = 1398; this.Show(); this.button16.Clicked += new global::System.EventHandler(this.ButtonFile); this.buttonOk.Clicked += new global::System.EventHandler(this.ButtonOK); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("GeneticSharp :: Runner"); this.Icon = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icon.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.hbxMain = new global::Gtk.HBox(); this.hbxMain.Name = "hbxMain"; this.hbxMain.Spacing = 10; this.hbxMain.BorderWidth = ((uint)(10)); // Container child hbxMain.Gtk.Box+BoxChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.hbxMain.Add(this.drawingArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.drawingArea])); w1.Position = 0; w1.Padding = ((uint)(1)); // Container child hbxMain.Gtk.Box+BoxChild this.vbxConfig = new global::Gtk.VBox(); this.vbxConfig.Name = "vbxConfig"; this.vbxConfig.Spacing = 6; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxSample = new global::Gtk.VBox(); this.vbxSample.Name = "vbxSample"; this.vbxSample.Spacing = 6; // Container child vbxSample.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Problem"); this.vbxSample.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.cmbSample = global::Gtk.ComboBox.NewText(); this.cmbSample.Name = "cmbSample"; this.vbxSample.Add(this.cmbSample); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.cmbSample])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.problemConfigWidgetContainer = new global::Gtk.VPaned(); this.problemConfigWidgetContainer.CanFocus = true; this.problemConfigWidgetContainer.Name = "problemConfigWidgetContainer"; this.problemConfigWidgetContainer.Position = 10; this.vbxSample.Add(this.problemConfigWidgetContainer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.problemConfigWidgetContainer])); w4.Position = 2; this.vbxConfig.Add(this.vbxSample); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxSample])); w5.Position = 0; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxGA = new global::Gtk.VBox(); this.vbxGA.WidthRequest = 250; this.vbxGA.Name = "vbxGA"; this.vbxGA.Spacing = 6; // Container child vbxGA.Gtk.Box+BoxChild this.vbbSample = new global::Gtk.VButtonBox(); this.vbbSample.Name = "vbbSample"; this.vbxGA.Add(this.vbbSample); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.vbbSample])); w6.Position = 0; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbxGA.Add(this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Population size"); this.vbxGA.Add(this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Min"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.sbtPopulationMinSize = new global::Gtk.SpinButton(2, 10000, 1); this.sbtPopulationMinSize.CanFocus = true; this.sbtPopulationMinSize.Name = "sbtPopulationMinSize"; this.sbtPopulationMinSize.Adjustment.PageIncrement = 10; this.sbtPopulationMinSize.ClimbRate = 1; this.sbtPopulationMinSize.Numeric = true; this.sbtPopulationMinSize.Value = 50; this.hbox2.Add(this.sbtPopulationMinSize); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbtPopulationMinSize])); w10.Position = 1; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(3)); // Container child hbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Max"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.sbtPopulationMaxSize = new global::Gtk.SpinButton(2, 10000, 1); this.sbtPopulationMaxSize.CanFocus = true; this.sbtPopulationMaxSize.Name = "sbtPopulationMaxSize"; this.sbtPopulationMaxSize.Adjustment.PageIncrement = 10; this.sbtPopulationMaxSize.ClimbRate = 1; this.sbtPopulationMaxSize.Numeric = true; this.sbtPopulationMaxSize.Value = 70; this.hbox3.Add(this.sbtPopulationMaxSize); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.sbtPopulationMaxSize])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbxGA.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.cmbGenerationStrategy = global::Gtk.ComboBox.NewText(); this.cmbGenerationStrategy.WidthRequest = 200; this.cmbGenerationStrategy.Name = "cmbGenerationStrategy"; this.hbox11.Add(this.cmbGenerationStrategy); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.cmbGenerationStrategy])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.btnEditGenerationStrategy = new global::Gtk.Button(); this.btnEditGenerationStrategy.CanFocus = true; this.btnEditGenerationStrategy.Name = "btnEditGenerationStrategy"; this.btnEditGenerationStrategy.UseUnderline = true; this.btnEditGenerationStrategy.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox11.Add(this.btnEditGenerationStrategy); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnEditGenerationStrategy])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbxGA.Add(this.hbox11); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox11])); w17.Position = 4; w17.Expand = false; w17.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbxGA.Add(this.hseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator2])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Selection"); this.vbxGA.Add(this.label5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label5])); w19.Position = 6; w19.Expand = false; w19.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.cmbSelection = global::Gtk.ComboBox.NewText(); this.cmbSelection.WidthRequest = 200; this.cmbSelection.Name = "cmbSelection"; this.hbox5.Add(this.cmbSelection); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.cmbSelection])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.btnEditSelection = new global::Gtk.Button(); this.btnEditSelection.CanFocus = true; this.btnEditSelection.Name = "btnEditSelection"; this.btnEditSelection.UseUnderline = true; this.btnEditSelection.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox5.Add(this.btnEditSelection); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnEditSelection])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbxGA.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox5])); w22.Position = 7; w22.Expand = false; w22.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbxGA.Add(this.hseparator4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator4])); w23.Position = 8; w23.Expand = false; w23.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Crossover"); this.vbxGA.Add(this.label7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label7])); w24.Position = 9; w24.Expand = false; w24.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox9.Add(this.label10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label10])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.hslCrossoverProbability = new global::Gtk.HScale(null); this.hslCrossoverProbability.CanFocus = true; this.hslCrossoverProbability.Name = "hslCrossoverProbability"; this.hslCrossoverProbability.Adjustment.Upper = 1.1; this.hslCrossoverProbability.Adjustment.PageIncrement = 0.1; this.hslCrossoverProbability.Adjustment.PageSize = 0.1; this.hslCrossoverProbability.Adjustment.StepIncrement = 0.01; this.hslCrossoverProbability.Adjustment.Value = 0.01; this.hslCrossoverProbability.DrawValue = true; this.hslCrossoverProbability.Digits = 2; this.hslCrossoverProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox9.Add(this.hslCrossoverProbability); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.hslCrossoverProbability])); w26.Position = 1; this.vbxGA.Add(this.hbox9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox9])); w27.Position = 10; w27.Expand = false; w27.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbCrossover = global::Gtk.ComboBox.NewText(); this.cmbCrossover.WidthRequest = 200; this.cmbCrossover.Name = "cmbCrossover"; this.hbox6.Add(this.cmbCrossover); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbCrossover])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnEditCrossover = new global::Gtk.Button(); this.btnEditCrossover.CanFocus = true; this.btnEditCrossover.Name = "btnEditCrossover"; this.btnEditCrossover.UseUnderline = true; this.btnEditCrossover.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox6.Add(this.btnEditCrossover); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnEditCrossover])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbxGA.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox6])); w30.Position = 11; w30.Expand = false; w30.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbxGA.Add(this.hseparator5); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator5])); w31.Position = 12; w31.Expand = false; w31.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Mutation"); this.vbxGA.Add(this.label8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label8])); w32.Position = 13; w32.Expand = false; w32.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox8.Add(this.label9); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label9])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hslMutationProbability = new global::Gtk.HScale(null); this.hslMutationProbability.CanFocus = true; this.hslMutationProbability.Name = "hslMutationProbability"; this.hslMutationProbability.Adjustment.Upper = 1.1; this.hslMutationProbability.Adjustment.PageIncrement = 0.1; this.hslMutationProbability.Adjustment.PageSize = 0.1; this.hslMutationProbability.Adjustment.StepIncrement = 0.01; this.hslMutationProbability.DrawValue = true; this.hslMutationProbability.Digits = 2; this.hslMutationProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox8.Add(this.hslMutationProbability); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hslMutationProbability])); w34.Position = 1; this.vbxGA.Add(this.hbox8); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox8])); w35.Position = 14; w35.Expand = false; w35.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.cmbMutation = global::Gtk.ComboBox.NewText(); this.cmbMutation.WidthRequest = 200; this.cmbMutation.Name = "cmbMutation"; this.hbox7.Add(this.cmbMutation); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.cmbMutation])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.btnEditMutation = new global::Gtk.Button(); this.btnEditMutation.CanFocus = true; this.btnEditMutation.Name = "btnEditMutation"; this.btnEditMutation.UseUnderline = true; this.btnEditMutation.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox7.Add(this.btnEditMutation); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnEditMutation])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbxGA.Add(this.hbox7); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox7])); w38.Position = 15; w38.Expand = false; w38.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbxGA.Add(this.hseparator3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator3])); w39.Position = 16; w39.Expand = false; w39.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Reinsertion"); this.vbxGA.Add(this.label12); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label12])); w40.Position = 17; w40.Expand = false; w40.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.cmbReinsertion = global::Gtk.ComboBox.NewText(); this.cmbReinsertion.WidthRequest = 200; this.cmbReinsertion.Name = "cmbTermination1"; this.hbox12.Add(this.cmbReinsertion); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.cmbReinsertion])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.btnEditReinsertion = new global::Gtk.Button(); this.btnEditReinsertion.CanFocus = true; this.btnEditReinsertion.Name = "btnEditReinsertion"; this.btnEditReinsertion.UseUnderline = true; this.btnEditReinsertion.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox12.Add(this.btnEditReinsertion); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.btnEditReinsertion])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.vbxGA.Add(this.hbox12); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox12])); w43.Position = 18; w43.Expand = false; w43.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Termination"); this.vbxGA.Add(this.label11); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label11])); w44.Position = 19; w44.Expand = false; w44.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.cmbTermination = global::Gtk.ComboBox.NewText(); this.cmbTermination.WidthRequest = 200; this.cmbTermination.Name = "cmbTermination"; this.hbox10.Add(this.cmbTermination); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.cmbTermination])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.btnEditTermination = new global::Gtk.Button(); this.btnEditTermination.CanFocus = true; this.btnEditTermination.Name = "btnEditTermination"; this.btnEditTermination.UseUnderline = true; this.btnEditTermination.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox10.Add(this.btnEditTermination); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.btnEditTermination])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.vbxGA.Add(this.hbox10); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox10])); w47.Position = 20; w47.Expand = false; w47.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbxGA.Add(this.hseparator6); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator6])); w48.Position = 21; w48.Expand = false; w48.Fill = false; this.vbxConfig.Add(this.vbxGA); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxGA])); w49.Position = 1; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStart = new global::Gtk.Button(); this.btnStart.CanFocus = true; this.btnStart.Name = "btnStart"; this.btnStart.UseUnderline = true; this.btnStart.Label = global::Mono.Unix.Catalog.GetString("_Start"); this.vbxConfig.Add(this.btnStart); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStart])); w50.Position = 2; w50.Expand = false; w50.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnNew = new global::Gtk.Button(); this.btnNew.CanFocus = true; this.btnNew.Name = "btnNew"; this.btnNew.UseUnderline = true; this.btnNew.Label = global::Mono.Unix.Catalog.GetString("_New"); this.vbxConfig.Add(this.btnNew); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnNew])); w51.Position = 3; w51.Expand = false; w51.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStop = new global::Gtk.Button(); this.btnStop.CanFocus = true; this.btnStop.Name = "btnStop"; this.btnStop.UseUnderline = true; this.btnStop.Label = global::Mono.Unix.Catalog.GetString("_Stop"); this.vbxConfig.Add(this.btnStop); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStop])); w52.Position = 4; w52.Expand = false; w52.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnResume = new global::Gtk.Button(); this.btnResume.CanFocus = true; this.btnResume.Name = "btnResume"; this.btnResume.UseUnderline = true; this.btnResume.Label = global::Mono.Unix.Catalog.GetString("_Resume"); this.vbxConfig.Add(this.btnResume); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnResume])); w53.Position = 5; w53.Expand = false; w53.Fill = false; this.hbxMain.Add(this.vbxConfig); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.vbxConfig])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.Add(this.hbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnResume.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BlinkStickClient.ConfigureBlinkStickDialog this.Name = "BlinkStickClient.ConfigureBlinkStickDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Configure BlinkStick"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child BlinkStickClient.ConfigureBlinkStickDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(21)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(12)); // Container child table1.Gtk.Table+TableChild this.entryData = new global::Gtk.Entry(); this.entryData.CanFocus = true; this.entryData.Name = "entryData"; this.entryData.IsEditable = true; this.entryData.MaxLength = 32; this.entryData.InvisibleChar = '●'; this.table1.Add(this.entryData); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryData])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(3)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.MaxLength = 32; this.entryName.InvisibleChar = '●'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryName])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(3)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hscaleLimitBrightness = new global::Gtk.HScale(null); this.hscaleLimitBrightness.CanFocus = true; this.hscaleLimitBrightness.Name = "hscaleLimitBrightness"; this.hscaleLimitBrightness.Adjustment.Lower = 1; this.hscaleLimitBrightness.Adjustment.Upper = 100; this.hscaleLimitBrightness.Adjustment.PageIncrement = 10; this.hscaleLimitBrightness.Adjustment.StepIncrement = 1; this.hscaleLimitBrightness.Adjustment.Value = 100; this.hscaleLimitBrightness.DrawValue = true; this.hscaleLimitBrightness.Digits = 0; this.hscaleLimitBrightness.ValuePos = ((global::Gtk.PositionType)(3)); this.table1.Add(this.hscaleLimitBrightness); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.hscaleLimitBrightness])); w4.TopAttach = ((uint)(10)); w4.BottomAttach = ((uint)(11)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(3)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hseparator1])); w5.TopAttach = ((uint)(4)); w5.BottomAttach = ((uint)(5)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.hseparator2])); w6.TopAttach = ((uint)(9)); w6.BottomAttach = ((uint)(10)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.table1.Add(this.hseparator3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.hseparator3])); w7.TopAttach = ((uint)(12)); w7.BottomAttach = ((uint)(13)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChannelB = new global::Gtk.Label(); this.labelChannelB.Name = "labelChannelB"; this.labelChannelB.Xalign = 1F; this.labelChannelB.LabelProp = global::Mono.Unix.Catalog.GetString("B Channel"); this.table1.Add(this.labelChannelB); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChannelB])); w8.TopAttach = ((uint)(7)); w8.BottomAttach = ((uint)(8)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChannelG = new global::Gtk.Label(); this.labelChannelG.Name = "labelChannelG"; this.labelChannelG.Xalign = 1F; this.labelChannelG.LabelProp = global::Mono.Unix.Catalog.GetString("G Channel"); this.table1.Add(this.labelChannelG); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChannelG])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelChannelR = new global::Gtk.Label(); this.labelChannelR.Name = "labelChannelR"; this.labelChannelR.Xalign = 1F; this.labelChannelR.LabelProp = global::Mono.Unix.Catalog.GetString("R Channel"); this.table1.Add(this.labelChannelR); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelChannelR])); w10.TopAttach = ((uint)(5)); w10.BottomAttach = ((uint)(6)); 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.labelData = new global::Gtk.Label(); this.labelData.Name = "labelData"; this.labelData.Xalign = 1F; this.labelData.LabelProp = global::Mono.Unix.Catalog.GetString("Data:"); this.table1.Add(this.labelData); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelData])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDataHint = new global::Gtk.Label(); this.labelDataHint.Name = "labelDataHint"; this.labelDataHint.Xalign = 0F; this.labelDataHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Data stored on the device up to 32 symbols</i>"); this.labelDataHint.UseMarkup = true; this.table1.Add(this.labelDataHint); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDataHint])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLedConfiguration = new global::Gtk.Label(); this.labelLedConfiguration.Name = "labelLedConfiguration"; this.labelLedConfiguration.Xalign = 1F; this.labelLedConfiguration.LabelProp = global::Mono.Unix.Catalog.GetString("LED Configuration:"); this.table1.Add(this.labelLedConfiguration); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLedConfiguration])); w13.TopAttach = ((uint)(5)); w13.BottomAttach = ((uint)(6)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLedConfigurationHint = new global::Gtk.Label(); this.labelLedConfigurationHint.Name = "labelLedConfigurationHint"; this.labelLedConfigurationHint.Xalign = 0F; this.labelLedConfigurationHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Configure the number of LEDs connected to the device. The configuration is used by patterns to play multi LED animations.</i>"); this.labelLedConfigurationHint.UseMarkup = true; this.labelLedConfigurationHint.Wrap = true; this.table1.Add(this.labelLedConfigurationHint); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLedConfigurationHint])); w14.TopAttach = ((uint)(8)); w14.BottomAttach = ((uint)(9)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLimitBrightness = new global::Gtk.Label(); this.labelLimitBrightness.Name = "labelLimitBrightness"; this.labelLimitBrightness.Xalign = 1F; this.labelLimitBrightness.LabelProp = global::Mono.Unix.Catalog.GetString("Limit Brightness:"); this.table1.Add(this.labelLimitBrightness); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLimitBrightness])); w15.TopAttach = ((uint)(10)); w15.BottomAttach = ((uint)(11)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelLimitBrightnessHint = new global::Gtk.Label(); this.labelLimitBrightnessHint.Name = "labelLimitBrightnessHint"; this.labelLimitBrightnessHint.Xalign = 0F; this.labelLimitBrightnessHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Limit the maximum amount of brightness for all patterns</i>"); this.labelLimitBrightnessHint.UseMarkup = true; this.table1.Add(this.labelLimitBrightnessHint); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelLimitBrightnessHint])); w16.TopAttach = ((uint)(11)); w16.BottomAttach = ((uint)(12)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelMode = new global::Gtk.Label(); this.labelMode.Name = "labelMode"; this.labelMode.Xalign = 1F; this.labelMode.LabelProp = global::Mono.Unix.Catalog.GetString("Mode:"); this.table1.Add(this.labelMode); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelMode])); w17.TopAttach = ((uint)(13)); w17.BottomAttach = ((uint)(14)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelModeInverseHint = new global::Gtk.Label(); this.labelModeInverseHint.Name = "labelModeInverseHint"; this.labelModeInverseHint.Xalign = 0F; this.labelModeInverseHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Control LED strip in inverse mode</i>"); this.labelModeInverseHint.UseMarkup = true; this.table1.Add(this.labelModeInverseHint); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModeInverseHint])); w18.TopAttach = ((uint)(16)); w18.BottomAttach = ((uint)(17)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(3)); w18.XPadding = ((uint)(24)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelModeMultiLEDHint = new global::Gtk.Label(); this.labelModeMultiLEDHint.Name = "labelModeMultiLEDHint"; this.labelModeMultiLEDHint.Xalign = 0F; this.labelModeMultiLEDHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Control individually addressable LEDs</i>"); this.labelModeMultiLEDHint.UseMarkup = true; this.table1.Add(this.labelModeMultiLEDHint); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModeMultiLEDHint])); w19.TopAttach = ((uint)(18)); w19.BottomAttach = ((uint)(19)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(3)); w19.XPadding = ((uint)(24)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelModeMultiLEDMirrorHint = new global::Gtk.Label(); this.labelModeMultiLEDMirrorHint.Name = "labelModeMultiLEDMirrorHint"; this.labelModeMultiLEDMirrorHint.Xalign = 0F; this.labelModeMultiLEDMirrorHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Light up all LEDs with the same color</i>"); this.labelModeMultiLEDMirrorHint.UseMarkup = true; this.table1.Add(this.labelModeMultiLEDMirrorHint); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModeMultiLEDMirrorHint])); w20.TopAttach = ((uint)(20)); w20.BottomAttach = ((uint)(21)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(3)); w20.XPadding = ((uint)(24)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelModeRGBHint = new global::Gtk.Label(); this.labelModeRGBHint.Name = "labelModeRGBHint"; this.labelModeRGBHint.Xalign = 0F; this.labelModeRGBHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>Control single pixel</i>"); this.labelModeRGBHint.UseMarkup = true; this.table1.Add(this.labelModeRGBHint); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelModeRGBHint])); w21.TopAttach = ((uint)(14)); w21.BottomAttach = ((uint)(15)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(3)); w21.XPadding = ((uint)(24)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelName = new global::Gtk.Label(); this.labelName.Name = "labelName"; this.labelName.Xalign = 1F; this.labelName.LabelProp = global::Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.labelName); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelName])); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelNameHint = new global::Gtk.Label(); this.labelNameHint.Name = "labelNameHint"; this.labelNameHint.Xalign = 0F; this.labelNameHint.LabelProp = global::Mono.Unix.Catalog.GetString("<i>The name of the device visible in the UI instead of the serial number</i>"); this.labelNameHint.UseMarkup = true; this.table1.Add(this.labelNameHint); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelNameHint])); w23.TopAttach = ((uint)(1)); w23.BottomAttach = ((uint)(2)); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobuttonModeInverse = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Inverse")); this.radiobuttonModeInverse.CanFocus = true; this.radiobuttonModeInverse.Name = "radiobuttonModeInverse"; this.radiobuttonModeInverse.Active = true; this.radiobuttonModeInverse.DrawIndicator = true; this.radiobuttonModeInverse.UseUnderline = true; this.radiobuttonModeInverse.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.table1.Add(this.radiobuttonModeInverse); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonModeInverse])); w24.TopAttach = ((uint)(15)); w24.BottomAttach = ((uint)(16)); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobuttonModeMultiLED = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Multi-LED")); this.radiobuttonModeMultiLED.CanFocus = true; this.radiobuttonModeMultiLED.Name = "radiobuttonModeMultiLED"; this.radiobuttonModeMultiLED.DrawIndicator = true; this.radiobuttonModeMultiLED.UseUnderline = true; this.radiobuttonModeMultiLED.Group = this.radiobuttonModeInverse.Group; this.table1.Add(this.radiobuttonModeMultiLED); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonModeMultiLED])); w25.TopAttach = ((uint)(17)); w25.BottomAttach = ((uint)(18)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobuttonModeMultiLEDMirror = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Multi-LED Mirror")); this.radiobuttonModeMultiLEDMirror.CanFocus = true; this.radiobuttonModeMultiLEDMirror.Name = "radiobuttonModeMultiLEDMirror"; this.radiobuttonModeMultiLEDMirror.DrawIndicator = true; this.radiobuttonModeMultiLEDMirror.UseUnderline = true; this.radiobuttonModeMultiLEDMirror.Group = this.radiobuttonModeInverse.Group; this.table1.Add(this.radiobuttonModeMultiLEDMirror); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonModeMultiLEDMirror])); w26.TopAttach = ((uint)(19)); w26.BottomAttach = ((uint)(20)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobuttonModeRGB = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("RGB")); this.radiobuttonModeRGB.CanFocus = true; this.radiobuttonModeRGB.Name = "radiobuttonModeRGB"; this.radiobuttonModeRGB.DrawIndicator = true; this.radiobuttonModeRGB.UseUnderline = true; this.radiobuttonModeRGB.Group = this.radiobuttonModeInverse.Group; this.table1.Add(this.radiobuttonModeRGB); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.radiobuttonModeRGB])); w27.TopAttach = ((uint)(13)); w27.BottomAttach = ((uint)(14)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbuttonChannelB = new global::Gtk.SpinButton(0, 64, 1); this.spinbuttonChannelB.WidthRequest = 30; this.spinbuttonChannelB.CanFocus = true; this.spinbuttonChannelB.Name = "spinbuttonChannelB"; this.spinbuttonChannelB.Adjustment.PageIncrement = 10; this.spinbuttonChannelB.ClimbRate = 1; this.spinbuttonChannelB.Numeric = true; this.table1.Add(this.spinbuttonChannelB); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinbuttonChannelB])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbuttonChannelG = new global::Gtk.SpinButton(0, 64, 1); this.spinbuttonChannelG.WidthRequest = 30; this.spinbuttonChannelG.CanFocus = true; this.spinbuttonChannelG.Name = "spinbuttonChannelG"; this.spinbuttonChannelG.Adjustment.PageIncrement = 10; this.spinbuttonChannelG.ClimbRate = 1; this.spinbuttonChannelG.Numeric = true; this.table1.Add(this.spinbuttonChannelG); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinbuttonChannelG])); w29.TopAttach = ((uint)(6)); w29.BottomAttach = ((uint)(7)); w29.LeftAttach = ((uint)(2)); w29.RightAttach = ((uint)(3)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbuttonChannelR = new global::Gtk.SpinButton(0, 64, 1); this.spinbuttonChannelR.WidthRequest = 30; this.spinbuttonChannelR.CanFocus = true; this.spinbuttonChannelR.Name = "spinbuttonChannelR"; this.spinbuttonChannelR.Adjustment.PageIncrement = 10; this.spinbuttonChannelR.ClimbRate = 1; this.spinbuttonChannelR.Numeric = true; this.table1.Add(this.spinbuttonChannelR); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinbuttonChannelR])); w30.TopAttach = ((uint)(5)); w30.BottomAttach = ((uint)(6)); w30.LeftAttach = ((uint)(2)); w30.RightAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w31.Position = 0; w31.Expand = false; w31.Fill = false; // Internal child BlinkStickClient.ConfigureBlinkStickDialog.ActionArea global::Gtk.HButtonBox w32 = this.ActionArea; w32.Name = "dialog1_ActionArea"; w32.Spacing = 10; w32.BorderWidth = ((uint)(5)); w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonCancel])); w33.Expand = false; w33.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; w32.Add(this.buttonOk); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32 [this.buttonOk])); w34.Position = 1; w34.Expand = false; w34.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 502; this.DefaultHeight = 609; this.Show(); this.radiobuttonModeRGB.Toggled += new global::System.EventHandler(this.ModeRadioButtonToggled); this.radiobuttonModeMultiLEDMirror.Toggled += new global::System.EventHandler(this.ModeRadioButtonToggled); this.radiobuttonModeMultiLED.Toggled += new global::System.EventHandler(this.ModeRadioButtonToggled); this.radiobuttonModeInverse.Toggled += new global::System.EventHandler(this.ModeRadioButtonToggled); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Test their database, poi!"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.BorderWidth = ((uint)(3)); this.Resizable = false; // Container child MainWindow.Gtk.Container+ContainerChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.image4 = new global::Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("KanColleJ.Bt3vyaX.jpg"); this.hbox3.Add(this.image4); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.image4])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("登录页面"); this.hbox5.Add(this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.label1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.txt_url = new global::Gtk.Entry(); this.txt_url.CanFocus = true; this.txt_url.Name = "txt_url"; this.txt_url.Text = global::Mono.Unix.Catalog.GetString("http://gc.moejn.cn/login.html"); this.txt_url.IsEditable = true; this.txt_url.InvisibleChar = '●'; this.hbox5.Add(this.txt_url); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.txt_url])); w3.Position = 1; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("提交速度"); this.hbox6.Add(this.label2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.label2])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.hs_speed = new global::Gtk.HScale(null); this.hs_speed.CanFocus = true; this.hs_speed.Name = "hs_speed"; this.hs_speed.Adjustment.Lower = 1; this.hs_speed.Adjustment.Upper = 100; this.hs_speed.Adjustment.PageIncrement = 10; this.hs_speed.Adjustment.StepIncrement = 1; this.hs_speed.Adjustment.Value = 10; this.hs_speed.DrawValue = true; this.hs_speed.Digits = 0; this.hs_speed.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox6.Add(this.hs_speed); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.hs_speed])); w6.Position = 1; this.vbox2.Add(this.hbox6); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString(" Cookies "); this.hbox7.Add(this.label4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.label4])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.txt_cookie = new global::Gtk.Entry(); this.txt_cookie.CanFocus = true; this.txt_cookie.Name = "txt_cookie"; this.txt_cookie.IsEditable = true; this.txt_cookie.InvisibleChar = '●'; this.hbox7.Add(this.txt_cookie); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.txt_cookie])); w9.Position = 1; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString(" 验 证 码 "); this.hbox4.Add(this.label5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.txt_captcha = new global::Gtk.Entry(); this.txt_captcha.CanFocus = true; this.txt_captcha.Name = "txt_captcha"; this.txt_captcha.IsEditable = true; this.txt_captcha.InvisibleChar = '●'; this.hbox4.Add(this.txt_captcha); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.txt_captcha])); w12.Position = 1; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.chk_license = new global::Gtk.CheckButton(); this.chk_license.CanFocus = true; this.chk_license.Name = "chk_license"; this.chk_license.Label = global::Mono.Unix.Catalog.GetString("我同意我仅将本软件用于实验用途,作者不承担任何由于直接或间接造成的危害的法律责任"); this.chk_license.DrawIndicator = true; this.chk_license.UseUnderline = true; this.vbox2.Add(this.chk_license); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.chk_license])); w14.Position = 4; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btn_startstop = new global::Gtk.Button(); this.btn_startstop.Sensitive = false; this.btn_startstop.CanFocus = true; this.btn_startstop.Name = "btn_startstop"; this.btn_startstop.UseUnderline = true; this.btn_startstop.Label = global::Mono.Unix.Catalog.GetString("开始(_S)"); this.vbox2.Add(this.btn_startstop); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btn_startstop])); w15.Position = 5; // Container child vbox2.Gtk.Box+BoxChild this.lbl_count = new global::Gtk.Label(); this.lbl_count.Name = "lbl_count"; this.lbl_count.LabelProp = global::Mono.Unix.Catalog.GetString("已发送: 0 次"); this.vbox2.Add(this.lbl_count); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lbl_count])); w16.Position = 6; w16.Expand = false; w16.Fill = false; this.hbox3.Add(this.vbox2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox2])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.Add(this.hbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 673; this.DefaultHeight = 486; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.chk_license.Clicked += new global::System.EventHandler(this.licensecheck); this.btn_startstop.Clicked += new global::System.EventHandler(this.startstopatk); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.PlayerBin global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.PlayerBin"; // Container child LongoMatch.Gui.PlayerBin.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.mainbox = new global::Gtk.HBox (); this.mainbox.Name = "mainbox"; this.mainbox.Spacing = 6; // Container child mainbox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.videobox = new global::Gtk.HBox (); this.videobox.Name = "videobox"; this.videobox.Spacing = 6; this.vbox2.Add (this.videobox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.videobox])); w1.Position = 0; this.mainbox.Add (this.vbox2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox2])); w2.Position = 0; // Container child mainbox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.vscale1 = new global::Gtk.VScale (null); this.vscale1.WidthRequest = 30; this.vscale1.Sensitive = false; this.vscale1.Name = "vscale1"; this.vscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.vscale1.Inverted = true; this.vscale1.Adjustment.Lower = 1; this.vscale1.Adjustment.Upper = 28; this.vscale1.Adjustment.PageIncrement = 3; this.vscale1.Adjustment.PageSize = 1; this.vscale1.Adjustment.StepIncrement = 1; this.vscale1.Adjustment.Value = 25; this.vscale1.DrawValue = true; this.vscale1.Digits = 0; this.vscale1.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox5.Add (this.vscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.vscale1])); w3.Position = 0; this.mainbox.Add (this.vbox5); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.mainbox [this.vbox5])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox3.Add (this.mainbox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.mainbox])); w5.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.controlsbox = new global::Gtk.HBox (); this.controlsbox.Name = "controlsbox"; this.controlsbox.Spacing = 6; // Container child controlsbox.Gtk.Box+BoxChild this.buttonsbox = new global::Gtk.HBox (); this.buttonsbox.Name = "buttonsbox"; this.buttonsbox.Homogeneous = true; // Container child buttonsbox.Gtk.Box+BoxChild this.closebutton = new global::Gtk.Button (); this.closebutton.Name = "closebutton"; this.closebutton.UseUnderline = true; // Container child closebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w7 = new global::Gtk.HBox (); w7.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w8 = new global::Gtk.Image (); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Dnd); w7.Add (w8); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w10 = new global::Gtk.Label (); w7.Add (w10); w6.Add (w7); this.closebutton.Add (w6); this.buttonsbox.Add (this.closebutton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.closebutton])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.drawbutton = new global::Gtk.Button (); this.drawbutton.Name = "drawbutton"; this.drawbutton.UseUnderline = true; this.drawbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child drawbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w15 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w16 = new global::Gtk.HBox (); w16.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w17 = new global::Gtk.Image (); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Menu); w16.Add (w17); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w19 = new global::Gtk.Label (); w16.Add (w19); w15.Add (w16); this.drawbutton.Add (w15); this.buttonsbox.Add (this.drawbutton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.drawbutton])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.playbutton = new global::Gtk.Button (); this.playbutton.Name = "playbutton"; this.playbutton.UseUnderline = true; this.playbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child playbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w24 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w25 = new global::Gtk.HBox (); w25.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w26 = new global::Gtk.Image (); w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button); w25.Add (w26); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w28 = new global::Gtk.Label (); w25.Add (w28); w24.Add (w25); this.playbutton.Add (w24); this.buttonsbox.Add (this.playbutton); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.playbutton])); w32.Position = 2; w32.Expand = false; w32.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.pausebutton = new global::Gtk.Button (); this.pausebutton.Name = "pausebutton"; this.pausebutton.UseUnderline = true; this.pausebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child pausebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w33 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w34 = new global::Gtk.HBox (); w34.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w35 = new global::Gtk.Image (); w35.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button); w34.Add (w35); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w37 = new global::Gtk.Label (); w34.Add (w37); w33.Add (w34); this.pausebutton.Add (w33); this.buttonsbox.Add (this.pausebutton); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.pausebutton])); w41.Position = 3; w41.Expand = false; w41.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.prevbutton = new global::Gtk.Button (); this.prevbutton.Name = "prevbutton"; this.prevbutton.UseUnderline = true; this.prevbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child prevbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w42 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w43 = new global::Gtk.HBox (); w43.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w44 = new global::Gtk.Image (); w44.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-previous", global::Gtk.IconSize.Button); w43.Add (w44); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w46 = new global::Gtk.Label (); w43.Add (w46); w42.Add (w43); this.prevbutton.Add (w42); this.buttonsbox.Add (this.prevbutton); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.prevbutton])); w50.Position = 4; w50.Expand = false; w50.Fill = false; // Container child buttonsbox.Gtk.Box+BoxChild this.nextbutton = new global::Gtk.Button (); this.nextbutton.Sensitive = false; this.nextbutton.Name = "nextbutton"; this.nextbutton.UseUnderline = true; this.nextbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child nextbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w51 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w52 = new global::Gtk.HBox (); w52.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w53 = new global::Gtk.Image (); w53.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-next", global::Gtk.IconSize.Button); w52.Add (w53); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w55 = new global::Gtk.Label (); w52.Add (w55); w51.Add (w52); this.nextbutton.Add (w51); this.buttonsbox.Add (this.nextbutton); global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.buttonsbox [this.nextbutton])); w59.Position = 5; w59.Expand = false; w59.Fill = false; this.controlsbox.Add (this.buttonsbox); global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.buttonsbox])); w60.Position = 0; w60.Expand = false; w60.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.jumplabel = new global::Gtk.Label (); this.jumplabel.Name = "jumplabel"; this.jumplabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Jump (s):"); this.hbox1.Add (this.jumplabel); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumplabel])); w61.Position = 0; w61.Expand = false; w61.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.jumpspinbutton = new global::Gtk.SpinButton (1, 100, 1); this.jumpspinbutton.TooltipMarkup = "Jump in seconds. Hold the Shift key with the direction keys to activate it."; this.jumpspinbutton.Name = "jumpspinbutton"; this.jumpspinbutton.Adjustment.PageIncrement = 10; this.jumpspinbutton.ClimbRate = 1; this.jumpspinbutton.Numeric = true; this.jumpspinbutton.Value = 10; this.hbox1.Add (this.jumpspinbutton); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.jumpspinbutton])); w62.Position = 1; w62.Expand = false; w62.Fill = false; this.controlsbox.Add (this.hbox1); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.hbox1])); w63.Position = 1; w63.Expand = false; w63.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.tlabel = new global::Gtk.Label (); this.tlabel.Name = "tlabel"; this.tlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Time:"); this.controlsbox.Add (this.tlabel); global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.tlabel])); w64.Position = 2; w64.Expand = false; w64.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.timescale = new global::Gtk.HScale (null); this.timescale.Name = "timescale"; this.timescale.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.timescale.Adjustment.Upper = 1; this.timescale.Adjustment.PageIncrement = 1; this.timescale.Adjustment.StepIncrement = 1; this.timescale.Adjustment.Value = 1; this.timescale.DrawValue = false; this.timescale.Digits = 0; this.timescale.ValuePos = ((global::Gtk.PositionType)(2)); this.controlsbox.Add (this.timescale); global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timescale])); w65.Position = 3; // Container child controlsbox.Gtk.Box+BoxChild this.timelabel = new global::Gtk.Label (); this.timelabel.Name = "timelabel"; this.controlsbox.Add (this.timelabel); global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.timelabel])); w66.Position = 4; w66.Expand = false; // Container child controlsbox.Gtk.Box+BoxChild this.volumebutton = new global::Gtk.Button (); this.volumebutton.Name = "volumebutton"; this.volumebutton.UseUnderline = true; this.volumebutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child volumebutton.Gtk.Container+ContainerChild global::Gtk.Alignment w67 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w68 = new global::Gtk.HBox (); w68.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w69 = new global::Gtk.Image (); w69.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "stock_volume", global::Gtk.IconSize.Button); w68.Add (w69); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w71 = new global::Gtk.Label (); w68.Add (w71); w67.Add (w68); this.volumebutton.Add (w67); this.controlsbox.Add (this.volumebutton); global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.volumebutton])); w75.Position = 5; w75.Expand = false; w75.Fill = false; // Container child controlsbox.Gtk.Box+BoxChild this.detachbutton = new global::Gtk.Button (); this.detachbutton.Name = "detachbutton"; this.detachbutton.UseUnderline = true; this.detachbutton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child detachbutton.Gtk.Container+ContainerChild global::Gtk.Alignment w76 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w77 = new global::Gtk.HBox (); w77.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w78 = new global::Gtk.Image (); w78.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-disconnect", global::Gtk.IconSize.Menu); w77.Add (w78); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w80 = new global::Gtk.Label (); w77.Add (w80); w76.Add (w77); this.detachbutton.Add (w76); this.controlsbox.Add (this.detachbutton); global::Gtk.Box.BoxChild w84 = ((global::Gtk.Box.BoxChild)(this.controlsbox [this.detachbutton])); w84.Position = 6; w84.Expand = false; w84.Fill = false; this.vbox3.Add (this.controlsbox); global::Gtk.Box.BoxChild w85 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.controlsbox])); w85.Position = 1; w85.Expand = false; w85.Fill = false; this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.closebutton.Hide (); this.prevbutton.Hide (); this.nextbutton.Hide (); this.controlsbox.Hide (); this.Show (); this.vscale1.FormatValue += new global::Gtk.FormatValueHandler (this.OnVscale1FormatValue); this.vscale1.ValueChanged += new global::System.EventHandler (this.OnVscale1ValueChanged); this.closebutton.Clicked += new global::System.EventHandler (this.OnClosebuttonClicked); this.drawbutton.Clicked += new global::System.EventHandler (this.OnDrawButtonClicked); this.playbutton.Clicked += new global::System.EventHandler (this.OnPlaybuttonClicked); this.pausebutton.Clicked += new global::System.EventHandler (this.OnPausebuttonClicked); this.prevbutton.Clicked += new global::System.EventHandler (this.OnPrevbuttonClicked); this.nextbutton.Clicked += new global::System.EventHandler (this.OnNextbuttonClicked); this.timescale.ValueChanged += new global::System.EventHandler (this.OnTimescaleValueChanged); this.timescale.AdjustBounds += new global::Gtk.AdjustBoundsHandler (this.OnTimescaleAdjustBounds); this.volumebutton.Clicked += new global::System.EventHandler (this.OnVolumebuttonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LapseStudioGtkUI.MainWindow this.UIManager = new global::Gtk.UIManager (); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); this.MenuAction = new global::Gtk.Action ("MenuAction", "Menu", null, null); this.MenuAction.ShortLabel = "Menu"; w1.Add (this.MenuAction, null); this.newAction = new global::Gtk.Action ("newAction", "New Project", null, "gtk-new"); this.newAction.ShortLabel = "New Project"; w1.Add (this.newAction, null); this.openAction = new global::Gtk.Action ("openAction", "Open Project", null, "gtk-open"); this.openAction.ShortLabel = "Open Project"; w1.Add (this.openAction, null); this.saveAction = new global::Gtk.Action ("saveAction", "Save Project", null, "gtk-save"); this.saveAction.ShortLabel = "Save Project"; w1.Add (this.saveAction, null); this.saveAsAction = new global::Gtk.Action ("saveAsAction", "Save Project As", null, "gtk-save-as"); this.saveAsAction.ShortLabel = "Save Project As"; w1.Add (this.saveAsAction, null); this.quitAction = new global::Gtk.Action ("quitAction", "Quit", null, "gtk-quit"); this.quitAction.ShortLabel = "Quit"; w1.Add (this.quitAction, null); this.SettingsAction = new global::Gtk.Action ("SettingsAction", "Settings", null, null); this.SettingsAction.ShortLabel = "Settings"; w1.Add (this.SettingsAction, null); this.preferencesAction = new global::Gtk.Action ("preferencesAction", "General Settings", null, "gtk-preferences"); this.preferencesAction.ShortLabel = "General Settings"; w1.Add (this.preferencesAction, null); this.HelpAction = new global::Gtk.Action ("HelpAction", "Help", null, null); this.HelpAction.ShortLabel = "Help"; w1.Add (this.HelpAction, null); this.helpAction = new global::Gtk.Action ("helpAction", "Help", null, "gtk-help"); this.helpAction.ShortLabel = "Help"; w1.Add (this.helpAction, null); this.aboutAction = new global::Gtk.Action ("aboutAction", "About", null, "gtk-about"); this.aboutAction.ShortLabel = "About"; w1.Add (this.aboutAction, null); this.AddAction = new global::Gtk.Action ("AddAction", null, "Add Frames", "Add"); w1.Add (this.AddAction, null); this.CalculateAction = new global::Gtk.Action ("CalculateAction", null, "Calculate Brightnes", "Calculate"); w1.Add (this.CalculateAction, null); this.ReloadAction = new global::Gtk.Action ("ReloadAction", null, "Reload XMP", "Reload"); w1.Add (this.ReloadAction, null); this.SaveAction = new global::Gtk.Action ("SaveAction", null, "Process Frames", "Save"); w1.Add (this.SaveAction, null); this.CancelAction = new global::Gtk.Action ("CancelAction", null, "Cancel", "Cancel"); w1.Add (this.CancelAction, null); this.UIManager.InsertActionGroup (w1, 0); this.AddAccelGroup (this.UIManager.AccelGroup); this.Name = "LapseStudioGtkUI.MainWindow"; this.Title = "LapseStudio"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child LapseStudioGtkUI.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><menubar name='MainMenuBar'><menu name='MenuAction' action='MenuAction'><menuitem name='newAction' action='newAction'/><menuitem name='openAction' action='openAction'/><separator/><menuitem name='saveAction' action='saveAction'/><menuitem name='saveAsAction' action='saveAsAction'/><separator/><menuitem name='quitAction' action='quitAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='preferencesAction' action='preferencesAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='helpAction' action='helpAction'/><menuitem name='aboutAction' action='aboutAction'/></menu></menubar></ui>"); this.MainMenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/MainMenuBar"))); this.MainMenuBar.Name = "MainMenuBar"; this.vbox1.Add (this.MainMenuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainMenuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString (@"<ui><toolbar name='MainToolBar'><toolitem name='AddAction' action='AddAction'/><toolitem name='CalculateAction' action='CalculateAction'/><toolitem name='ReloadAction' action='ReloadAction'/><toolitem name='SaveAction' action='SaveAction'/><toolitem name='CancelAction' action='CancelAction'/></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.MainToolBar.IconSize = ((global::Gtk.IconSize)(3)); this.vbox1.Add (this.MainToolBar); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainToolBar])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.MainNotebook = new global::Gtk.Notebook (); this.MainNotebook.CanFocus = true; this.MainNotebook.Name = "MainNotebook"; this.MainNotebook.CurrentPage = 0; // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.FileTree = new global::Gtk.TreeView (); this.FileTree.CanFocus = true; this.FileTree.Name = "FileTree"; this.GtkScrolledWindow.Add (this.FileTree); this.hbox2.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w5.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.ThumbViewList = new global::Gtk.Image (); this.ThumbViewList.WidthRequest = 160; this.ThumbViewList.HeightRequest = 120; this.ThumbViewList.Name = "ThumbViewList"; this.vbox2.Add (this.ThumbViewList); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.ThumbViewList])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.vbox2.Add (this.fixed2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed2])); w7.Position = 1; this.hbox2.Add (this.vbox2); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.MainNotebook.Add (this.hbox2); // Notebook tab this.TabPageLabel1 = new global::Gtk.Label (); this.TabPageLabel1.Name = "TabPageLabel1"; this.TabPageLabel1.LabelProp = "Files"; this.MainNotebook.SetTabLabel (this.hbox2, this.TabPageLabel1); this.TabPageLabel1.ShowAll (); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.MainNotebook.Add (this.fixed3); global::Gtk.Notebook.NotebookChild w10 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.fixed3])); w10.Position = 1; // Notebook tab this.TabPageLabel2 = new global::Gtk.Label (); this.TabPageLabel2.Name = "TabPageLabel2"; this.TabPageLabel2.LabelProp = "Calculation"; this.MainNotebook.SetTabLabel (this.fixed3, this.TabPageLabel2); this.TabPageLabel2.ShowAll (); // Container child MainNotebook.Gtk.Notebook+NotebookChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox (); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.YToStartButton = new global::Gtk.Button (); this.YToStartButton.WidthRequest = 75; this.YToStartButton.CanFocus = true; this.YToStartButton.Name = "YToStartButton"; this.YToStartButton.UseUnderline = true; this.YToStartButton.Label = "Y To Start"; this.vbox4.Add (this.YToStartButton); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.YToStartButton])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.AlignXButton = new global::Gtk.Button (); this.AlignXButton.WidthRequest = 75; this.AlignXButton.CanFocus = true; this.AlignXButton.Name = "AlignXButton"; this.AlignXButton.UseUnderline = true; this.AlignXButton.Label = "Align X"; this.vbox4.Add (this.AlignXButton); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.AlignXButton])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox4.Add (this.vbox4); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(2)); // Container child hbox4.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox (); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.YToEndButton = new global::Gtk.Button (); this.YToEndButton.WidthRequest = 75; this.YToEndButton.CanFocus = true; this.YToEndButton.Name = "YToEndButton"; this.YToEndButton.UseUnderline = true; this.YToEndButton.Label = "Y To End"; this.vbox5.Add (this.YToEndButton); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.YToEndButton])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.ResetGraphButton = new global::Gtk.Button (); this.ResetGraphButton.WidthRequest = 75; this.ResetGraphButton.CanFocus = true; this.ResetGraphButton.Name = "ResetGraphButton"; this.ResetGraphButton.UseUnderline = true; this.ResetGraphButton.Label = "Reset"; this.vbox5.Add (this.ResetGraphButton); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.ResetGraphButton])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.hbox4.Add (this.vbox5); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox5])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbox3.Add (this.hbox4); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4])); w17.Position = 0; w17.Expand = false; w17.Fill = false; w17.Padding = ((uint)(3)); // Container child vbox3.Gtk.Box+BoxChild this.ThumbViewGraph = new global::Gtk.Image (); this.ThumbViewGraph.WidthRequest = 160; this.ThumbViewGraph.HeightRequest = 120; this.ThumbViewGraph.Name = "ThumbViewGraph"; this.vbox3.Add (this.ThumbViewGraph); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbViewGraph])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.FrameSelectScale = new global::Gtk.HScale (null); this.FrameSelectScale.CanFocus = true; this.FrameSelectScale.Name = "FrameSelectScale"; this.FrameSelectScale.Adjustment.Upper = 100D; this.FrameSelectScale.Adjustment.PageIncrement = 10D; this.FrameSelectScale.Adjustment.StepIncrement = 1D; this.FrameSelectScale.DrawValue = true; this.FrameSelectScale.Digits = 0; this.FrameSelectScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add (this.FrameSelectScale); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.FrameSelectScale])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditButton = new global::Gtk.Button (); this.ThumbEditButton.Sensitive = false; this.ThumbEditButton.CanFocus = true; this.ThumbEditButton.Name = "ThumbEditButton"; this.ThumbEditButton.UseUnderline = true; this.ThumbEditButton.Label = "Edit Thumbs"; this.vbox3.Add (this.ThumbEditButton); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditButton])); w20.Position = 3; w20.Expand = false; w20.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.ThumbEditView = new global::Gtk.Image (); this.ThumbEditView.WidthRequest = 160; this.ThumbEditView.HeightRequest = 120; this.ThumbEditView.Name = "ThumbEditView"; this.vbox3.Add (this.ThumbEditView); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.ThumbEditView])); w21.Position = 4; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.BrightnessScale = new global::Gtk.HScale (null); this.BrightnessScale.Sensitive = false; this.BrightnessScale.CanFocus = true; this.BrightnessScale.Name = "BrightnessScale"; this.BrightnessScale.Adjustment.Lower = -100D; this.BrightnessScale.Adjustment.Upper = 100D; this.BrightnessScale.Adjustment.PageIncrement = 10D; this.BrightnessScale.Adjustment.StepIncrement = 1D; this.BrightnessScale.DrawValue = true; this.BrightnessScale.Digits = 0; this.BrightnessScale.ValuePos = ((global::Gtk.PositionType)(3)); this.vbox3.Add (this.BrightnessScale); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.BrightnessScale])); w22.Position = 5; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.vbox3.Add (this.fixed4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.fixed4])); w23.Position = 6; this.hbox3.Add (this.vbox3); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.vbox3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.MainGraph = new global::LapseStudioGtkUI.Graph (); this.MainGraph.Events = ((global::Gdk.EventMask)(256)); this.MainGraph.Name = "MainGraph"; this.hbox3.Add (this.MainGraph); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.MainGraph])); w25.Position = 1; this.MainNotebook.Add (this.hbox3); global::Gtk.Notebook.NotebookChild w26 = ((global::Gtk.Notebook.NotebookChild)(this.MainNotebook [this.hbox3])); w26.Position = 2; // Notebook tab this.TabPageLabel3 = new global::Gtk.Label (); this.TabPageLabel3.Name = "TabPageLabel3"; this.TabPageLabel3.LabelProp = "Graph"; this.MainNotebook.SetTabLabel (this.hbox3, this.TabPageLabel3); this.TabPageLabel3.ShowAll (); this.vbox1.Add (this.MainNotebook); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.MainNotebook])); w27.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.MainProgressBar = new global::Gtk.ProgressBar (); this.MainProgressBar.WidthRequest = 160; this.MainProgressBar.Name = "MainProgressBar"; this.hbox1.Add (this.MainProgressBar); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.MainProgressBar])); w28.Position = 0; w28.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.StatusLabel = new global::Gtk.Label (); this.StatusLabel.Name = "StatusLabel"; this.StatusLabel.LabelProp = "Everything ok"; this.hbox1.Add (this.StatusLabel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.StatusLabel])); w29.Position = 1; w29.Expand = false; w29.Fill = false; w29.Padding = ((uint)(20)); // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add (this.fixed1); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1])); w30.Position = 2; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w31.Position = 3; w31.Expand = false; w31.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 816; this.DefaultHeight = 662; this.Show (); this.ExposeEvent += new global::Gtk.ExposeEventHandler (this.OnExposeEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.preferencesAction.Activated += new global::System.EventHandler (this.OnPreferencesActionActivated); this.helpAction.Activated += new global::System.EventHandler (this.OnHelpActionActivated); this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.AddAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); this.CalculateAction.Activated += new global::System.EventHandler (this.OnCalculateActionActivated); this.ReloadAction.Activated += new global::System.EventHandler (this.OnReloadActionActivated); this.SaveAction.Activated += new global::System.EventHandler (this.OnProcessActionActivated); this.CancelAction.Activated += new global::System.EventHandler (this.OnCancelActionActivated); this.YToStartButton.Clicked += new global::System.EventHandler (this.OnYToStartButtonClicked); this.AlignXButton.Clicked += new global::System.EventHandler (this.OnAlignXButtonClicked); this.YToEndButton.Clicked += new global::System.EventHandler (this.OnYToEndButtonClicked); this.ResetGraphButton.Clicked += new global::System.EventHandler (this.OnResetGraphButtonClicked); this.FrameSelectScale.ValueChanged += new global::System.EventHandler (this.OnFrameSelectScaleValueChanged); this.BrightnessScale.ValueChanged += new global::System.EventHandler (this.OnBrightnessScaleValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("SerialTest"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-execute", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(10)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild 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)); this.table1.BorderWidth = ((uint)(9)); // Container child table1.Gtk.Table+TableChild this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(196)); // Container child alignment1.Gtk.Container+ContainerChild this.connectButton = new global::Gtk.Button(); this.connectButton.CanFocus = true; this.connectButton.Name = "connectButton"; this.connectButton.UseStock = true; this.connectButton.UseUnderline = true; this.connectButton.Label = "gtk-connect"; this.alignment1.Add(this.connectButton); this.table1.Add(this.alignment1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment1])); w2.TopAttach = ((uint)(2)); w2.BottomAttach = ((uint)(3)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.baudRateComboBox = global::Gtk.ComboBox.NewText(); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("300")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("1200")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("2400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("9600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("14400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("19200")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("38400")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("57600")); this.baudRateComboBox.AppendText(global::Mono.Unix.Catalog.GetString("115200")); this.baudRateComboBox.Name = "baudRateComboBox"; this.table1.Add(this.baudRateComboBox); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateComboBox])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.baudRateLabel = new global::Gtk.Label(); this.baudRateLabel.Name = "baudRateLabel"; this.baudRateLabel.Xalign = 1F; this.baudRateLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Baud:"); this.baudRateLabel.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.baudRateLabel); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.baudRateLabel])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.portLabel = new global::Gtk.Label(); this.portLabel.Name = "portLabel"; this.portLabel.Xalign = 1F; this.portLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Port:"); this.portLabel.Justify = ((global::Gtk.Justification)(1)); this.table1.Add(this.portLabel); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.portLabel])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.portsComboBox = global::Gtk.ComboBox.NewText(); this.portsComboBox.Name = "portsComboBox"; this.table1.Add(this.portsComboBox); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.portsComboBox])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table1); this.frame1.Add(this.GtkAlignment); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Connection Settings</b>"); this.GtkLabel1.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel1; this.vbox2.Add(this.frame1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1])); w9.Position = 0; w9.Expand = false; w9.Fill = false; w9.Padding = ((uint)(10)); this.vbox1.Add(this.vbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.vbox2])); w10.Position = 0; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(2)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.table2 = new global::Gtk.Table(((uint)(12)), ((uint)(4)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 02"); this.table2.Add(this.label1); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 11"); this.table2.Add(this.label10); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10])); w12.TopAttach = ((uint)(9)); w12.BottomAttach = ((uint)(10)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 12"); this.table2.Add(this.label11); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11])); w13.TopAttach = ((uint)(10)); w13.BottomAttach = ((uint)(11)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 13"); this.table2.Add(this.label12); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12])); w14.TopAttach = ((uint)(11)); w14.BottomAttach = ((uint)(12)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 03"); this.table2.Add(this.label2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 04"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 05"); this.table2.Add(this.label4); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 06"); this.table2.Add(this.label5); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 07"); this.table2.Add(this.label6); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); w19.TopAttach = ((uint)(5)); w19.BottomAttach = ((uint)(6)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 08"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w20.TopAttach = ((uint)(6)); w20.BottomAttach = ((uint)(7)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 09"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w21.TopAttach = ((uint)(7)); w21.BottomAttach = ((uint)(8)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("PIN 10"); this.table2.Add(this.label9); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9])); w22.TopAttach = ((uint)(8)); w22.BottomAttach = ((uint)(9)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider10 = new global::Gtk.HScale(null); this.pwmPinSlider10.CanFocus = true; this.pwmPinSlider10.Name = "pwmPinSlider10"; this.pwmPinSlider10.Adjustment.Upper = 255; this.pwmPinSlider10.Adjustment.PageIncrement = 10; this.pwmPinSlider10.Adjustment.StepIncrement = 1; this.pwmPinSlider10.DrawValue = true; this.pwmPinSlider10.Digits = 0; this.pwmPinSlider10.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider10); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider10])); w23.TopAttach = ((uint)(8)); w23.BottomAttach = ((uint)(9)); w23.LeftAttach = ((uint)(2)); w23.RightAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider11 = new global::Gtk.HScale(null); this.pwmPinSlider11.CanFocus = true; this.pwmPinSlider11.Name = "pwmPinSlider11"; this.pwmPinSlider11.Adjustment.Upper = 255; this.pwmPinSlider11.Adjustment.PageIncrement = 10; this.pwmPinSlider11.Adjustment.StepIncrement = 1; this.pwmPinSlider11.DrawValue = true; this.pwmPinSlider11.Digits = 0; this.pwmPinSlider11.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider11); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider11])); w24.TopAttach = ((uint)(9)); w24.BottomAttach = ((uint)(10)); w24.LeftAttach = ((uint)(2)); w24.RightAttach = ((uint)(3)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider3 = new global::Gtk.HScale(null); this.pwmPinSlider3.CanFocus = true; this.pwmPinSlider3.Name = "pwmPinSlider3"; this.pwmPinSlider3.Adjustment.Upper = 255; this.pwmPinSlider3.Adjustment.PageIncrement = 10; this.pwmPinSlider3.Adjustment.StepIncrement = 1; this.pwmPinSlider3.DrawValue = true; this.pwmPinSlider3.Digits = 0; this.pwmPinSlider3.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider3); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider3])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider5 = new global::Gtk.HScale(null); this.pwmPinSlider5.CanFocus = true; this.pwmPinSlider5.Name = "pwmPinSlider5"; this.pwmPinSlider5.Adjustment.Upper = 255; this.pwmPinSlider5.Adjustment.PageIncrement = 10; this.pwmPinSlider5.Adjustment.StepIncrement = 1; this.pwmPinSlider5.DrawValue = true; this.pwmPinSlider5.Digits = 0; this.pwmPinSlider5.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider5); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider5])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(2)); w26.RightAttach = ((uint)(3)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider6 = new global::Gtk.HScale(null); this.pwmPinSlider6.CanFocus = true; this.pwmPinSlider6.Name = "pwmPinSlider6"; this.pwmPinSlider6.Adjustment.Upper = 255; this.pwmPinSlider6.Adjustment.PageIncrement = 10; this.pwmPinSlider6.Adjustment.StepIncrement = 1; this.pwmPinSlider6.DrawValue = true; this.pwmPinSlider6.Digits = 0; this.pwmPinSlider6.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider6); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider6])); w27.TopAttach = ((uint)(4)); w27.BottomAttach = ((uint)(5)); w27.LeftAttach = ((uint)(2)); w27.RightAttach = ((uint)(3)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmPinSlider9 = new global::Gtk.HScale(null); this.pwmPinSlider9.CanFocus = true; this.pwmPinSlider9.Name = "pwmPinSlider9"; this.pwmPinSlider9.Adjustment.Upper = 255; this.pwmPinSlider9.Adjustment.PageIncrement = 10; this.pwmPinSlider9.Adjustment.StepIncrement = 1; this.pwmPinSlider9.DrawValue = true; this.pwmPinSlider9.Digits = 0; this.pwmPinSlider9.ValuePos = ((global::Gtk.PositionType)(2)); this.table2.Add(this.pwmPinSlider9); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmPinSlider9])); w28.TopAttach = ((uint)(7)); w28.BottomAttach = ((uint)(8)); w28.LeftAttach = ((uint)(2)); w28.RightAttach = ((uint)(3)); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue10 = new global::Gtk.Entry(); this.pwmValue10.CanFocus = true; this.pwmValue10.Name = "pwmValue10"; this.pwmValue10.IsEditable = true; this.pwmValue10.InvisibleChar = '•'; this.table2.Add(this.pwmValue10); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue10])); w29.TopAttach = ((uint)(8)); w29.BottomAttach = ((uint)(9)); w29.LeftAttach = ((uint)(3)); w29.RightAttach = ((uint)(4)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue11 = new global::Gtk.Entry(); this.pwmValue11.CanFocus = true; this.pwmValue11.Name = "pwmValue11"; this.pwmValue11.IsEditable = true; this.pwmValue11.InvisibleChar = '•'; this.table2.Add(this.pwmValue11); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue11])); w30.TopAttach = ((uint)(9)); w30.BottomAttach = ((uint)(10)); w30.LeftAttach = ((uint)(3)); w30.RightAttach = ((uint)(4)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.pwmValue3 = new global::Gtk.Entry(); this.pwmValue3.CanFocus = true; this.pwmValue3.Name = "pwmValue3"; this.pwmValue3.IsEditable = true; this.pwmValue3.MaxLength = 3; this.pwmValue3.InvisibleChar = '•'; this.table2.Add(this.pwmValue3); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue3])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.LeftAttach = ((uint)(3)); w31.RightAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(0)); w31.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue5 = new global::Gtk.Entry(); this.pwmValue5.CanFocus = true; this.pwmValue5.Name = "pwmValue5"; this.pwmValue5.IsEditable = true; this.pwmValue5.InvisibleChar = '•'; this.table2.Add(this.pwmValue5); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue5])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(3)); w32.RightAttach = ((uint)(4)); w32.XOptions = ((global::Gtk.AttachOptions)(0)); w32.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue6 = new global::Gtk.Entry(); this.pwmValue6.CanFocus = true; this.pwmValue6.Name = "pwmValue6"; this.pwmValue6.IsEditable = true; this.pwmValue6.InvisibleChar = '•'; this.table2.Add(this.pwmValue6); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue6])); w33.TopAttach = ((uint)(4)); w33.BottomAttach = ((uint)(5)); w33.LeftAttach = ((uint)(3)); w33.RightAttach = ((uint)(4)); w33.XOptions = ((global::Gtk.AttachOptions)(0)); w33.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.pwmValue9 = new global::Gtk.Entry(); this.pwmValue9.CanFocus = true; this.pwmValue9.Name = "pwmValue9"; this.pwmValue9.IsEditable = true; this.pwmValue9.InvisibleChar = '•'; this.table2.Add(this.pwmValue9); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table2 [this.pwmValue9])); w34.TopAttach = ((uint)(7)); w34.BottomAttach = ((uint)(8)); w34.LeftAttach = ((uint)(3)); w34.RightAttach = ((uint)(4)); w34.XOptions = ((global::Gtk.AttachOptions)(0)); w34.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin10 = new global::Gtk.ToggleButton(); this.togglebuttonPin10.CanFocus = true; this.togglebuttonPin10.Name = "togglebuttonPin10"; this.togglebuttonPin10.UseUnderline = true; this.togglebuttonPin10.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w35 = new global::Gtk.Image(); w35.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin10.Image = w35; this.table2.Add(this.togglebuttonPin10); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin10])); w36.TopAttach = ((uint)(8)); w36.BottomAttach = ((uint)(9)); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin11 = new global::Gtk.ToggleButton(); this.togglebuttonPin11.CanFocus = true; this.togglebuttonPin11.Name = "togglebuttonPin11"; this.togglebuttonPin11.UseUnderline = true; this.togglebuttonPin11.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w37 = new global::Gtk.Image(); w37.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin11.Image = w37; this.table2.Add(this.togglebuttonPin11); global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin11])); w38.TopAttach = ((uint)(9)); w38.BottomAttach = ((uint)(10)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((global::Gtk.AttachOptions)(4)); w38.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin12 = new global::Gtk.ToggleButton(); this.togglebuttonPin12.CanFocus = true; this.togglebuttonPin12.Name = "togglebuttonPin12"; this.togglebuttonPin12.UseUnderline = true; this.togglebuttonPin12.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w39 = new global::Gtk.Image(); w39.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin12.Image = w39; this.table2.Add(this.togglebuttonPin12); global::Gtk.Table.TableChild w40 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin12])); w40.TopAttach = ((uint)(10)); w40.BottomAttach = ((uint)(11)); w40.LeftAttach = ((uint)(1)); w40.RightAttach = ((uint)(2)); w40.XOptions = ((global::Gtk.AttachOptions)(4)); w40.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin13 = new global::Gtk.ToggleButton(); this.togglebuttonPin13.CanFocus = true; this.togglebuttonPin13.Name = "togglebuttonPin13"; this.togglebuttonPin13.UseUnderline = true; this.togglebuttonPin13.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w41 = new global::Gtk.Image(); w41.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin13.Image = w41; this.table2.Add(this.togglebuttonPin13); global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin13])); w42.TopAttach = ((uint)(11)); w42.BottomAttach = ((uint)(12)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((global::Gtk.AttachOptions)(4)); w42.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin2 = new global::Gtk.ToggleButton(); this.togglebuttonPin2.CanFocus = true; this.togglebuttonPin2.Name = "togglebuttonPin2"; this.togglebuttonPin2.UseUnderline = true; this.togglebuttonPin2.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w43 = new global::Gtk.Image(); w43.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin2.Image = w43; this.table2.Add(this.togglebuttonPin2); global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin2])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((global::Gtk.AttachOptions)(4)); w44.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin3 = new global::Gtk.ToggleButton(); this.togglebuttonPin3.CanFocus = true; this.togglebuttonPin3.Name = "togglebuttonPin3"; this.togglebuttonPin3.UseUnderline = true; this.togglebuttonPin3.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w45 = new global::Gtk.Image(); w45.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin3.Image = w45; this.table2.Add(this.togglebuttonPin3); global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin3])); w46.TopAttach = ((uint)(1)); w46.BottomAttach = ((uint)(2)); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(2)); w46.XOptions = ((global::Gtk.AttachOptions)(4)); w46.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin4 = new global::Gtk.ToggleButton(); this.togglebuttonPin4.CanFocus = true; this.togglebuttonPin4.Name = "togglebuttonPin4"; this.togglebuttonPin4.UseUnderline = true; this.togglebuttonPin4.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w47 = new global::Gtk.Image(); w47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin4.Image = w47; this.table2.Add(this.togglebuttonPin4); global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin4])); w48.TopAttach = ((uint)(2)); w48.BottomAttach = ((uint)(3)); w48.LeftAttach = ((uint)(1)); w48.RightAttach = ((uint)(2)); w48.XOptions = ((global::Gtk.AttachOptions)(4)); w48.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin5 = new global::Gtk.ToggleButton(); this.togglebuttonPin5.CanFocus = true; this.togglebuttonPin5.Name = "togglebuttonPin5"; this.togglebuttonPin5.UseUnderline = true; this.togglebuttonPin5.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w49 = new global::Gtk.Image(); w49.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin5.Image = w49; this.table2.Add(this.togglebuttonPin5); global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin5])); w50.TopAttach = ((uint)(3)); w50.BottomAttach = ((uint)(4)); w50.LeftAttach = ((uint)(1)); w50.RightAttach = ((uint)(2)); w50.XOptions = ((global::Gtk.AttachOptions)(4)); w50.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin6 = new global::Gtk.ToggleButton(); this.togglebuttonPin6.CanFocus = true; this.togglebuttonPin6.Name = "togglebuttonPin6"; this.togglebuttonPin6.UseUnderline = true; this.togglebuttonPin6.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w51 = new global::Gtk.Image(); w51.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin6.Image = w51; this.table2.Add(this.togglebuttonPin6); global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin6])); w52.TopAttach = ((uint)(4)); w52.BottomAttach = ((uint)(5)); w52.LeftAttach = ((uint)(1)); w52.RightAttach = ((uint)(2)); w52.XOptions = ((global::Gtk.AttachOptions)(4)); w52.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin7 = new global::Gtk.ToggleButton(); this.togglebuttonPin7.CanFocus = true; this.togglebuttonPin7.Name = "togglebuttonPin7"; this.togglebuttonPin7.UseUnderline = true; this.togglebuttonPin7.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w53 = new global::Gtk.Image(); w53.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin7.Image = w53; this.table2.Add(this.togglebuttonPin7); global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin7])); w54.TopAttach = ((uint)(5)); w54.BottomAttach = ((uint)(6)); w54.LeftAttach = ((uint)(1)); w54.RightAttach = ((uint)(2)); w54.XOptions = ((global::Gtk.AttachOptions)(4)); w54.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin8 = new global::Gtk.ToggleButton(); this.togglebuttonPin8.CanFocus = true; this.togglebuttonPin8.Name = "togglebuttonPin8"; this.togglebuttonPin8.UseUnderline = true; this.togglebuttonPin8.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w55 = new global::Gtk.Image(); w55.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin8.Image = w55; this.table2.Add(this.togglebuttonPin8); global::Gtk.Table.TableChild w56 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin8])); w56.TopAttach = ((uint)(6)); w56.BottomAttach = ((uint)(7)); w56.LeftAttach = ((uint)(1)); w56.RightAttach = ((uint)(2)); w56.XOptions = ((global::Gtk.AttachOptions)(4)); w56.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.togglebuttonPin9 = new global::Gtk.ToggleButton(); this.togglebuttonPin9.CanFocus = true; this.togglebuttonPin9.Name = "togglebuttonPin9"; this.togglebuttonPin9.UseUnderline = true; this.togglebuttonPin9.Label = global::Mono.Unix.Catalog.GetString("OFF"); global::Gtk.Image w57 = new global::Gtk.Image(); w57.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Menu); this.togglebuttonPin9.Image = w57; this.table2.Add(this.togglebuttonPin9); global::Gtk.Table.TableChild w58 = ((global::Gtk.Table.TableChild)(this.table2 [this.togglebuttonPin9])); w58.TopAttach = ((uint)(7)); w58.BottomAttach = ((uint)(8)); w58.LeftAttach = ((uint)(1)); w58.RightAttach = ((uint)(2)); w58.XOptions = ((global::Gtk.AttachOptions)(4)); w58.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment1.Add(this.table2); this.frame2.Add(this.GtkAlignment1); this.GtkLabel14 = new global::Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Control</b>"); this.GtkLabel14.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel14; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.frame2])); w61.Position = 1; w61.Expand = false; w61.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Homogeneous = true; this.statusbar1.Spacing = 6; // Container child statusbar1.Gtk.Box+BoxChild this.statusCommandEntry = new global::Gtk.Entry(); this.statusCommandEntry.CanFocus = true; this.statusCommandEntry.Name = "statusCommandEntry"; this.statusCommandEntry.IsEditable = false; this.statusCommandEntry.InvisibleChar = '•'; this.statusbar1.Add(this.statusCommandEntry); global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.statusbar1 [this.statusCommandEntry])); w62.Position = 1; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w63.Position = 2; w63.Expand = false; w63.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 512; this.DefaultHeight = 718; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.portsComboBox.Changed += new global::System.EventHandler(this.OnPortsComboBoxChanged); this.connectButton.Clicked += new global::System.EventHandler(this.OnConnectButtonClicked); this.togglebuttonPin9.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin8.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin7.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin6.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin5.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin4.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin3.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin2.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin13.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin12.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin11.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.togglebuttonPin10.Toggled += new global::System.EventHandler(this.OnToggleButtonPinToggled); this.pwmValue9.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue6.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue5.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue3.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue11.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmValue10.Changed += new global::System.EventHandler(this.OnPwmEntryValueChanged); this.pwmPinSlider9.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider6.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider5.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider3.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider11.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); this.pwmPinSlider10.ValueChanged += new global::System.EventHandler(this.OnPwmPinSlider3ValueChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LapseStudioGtkUI.MySettingsDialog this.Name = "LapseStudioGtkUI.MySettingsDialog"; this.Title = "Settings"; this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.AllowGrow = false; // Internal child LapseStudioGtkUI.MySettingsDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.ThreadLabel = new global::Gtk.Label (); this.ThreadLabel.Name = "ThreadLabel"; this.ThreadLabel.LabelProp = "Threads:"; this.hbox1.Add (this.ThreadLabel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ThreadLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.hbox1.Add (this.fixed3); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed3])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.ThreadSpin = new global::Gtk.SpinButton (1D, 100D, 1D); this.ThreadSpin.CanFocus = true; this.ThreadSpin.Name = "ThreadSpin"; this.ThreadSpin.Adjustment.PageIncrement = 1D; this.ThreadSpin.ClimbRate = 1D; this.ThreadSpin.Numeric = true; this.ThreadSpin.Value = 1D; this.hbox1.Add (this.ThreadSpin); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ThreadSpin])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.AutothreadChBox = new global::Gtk.CheckButton (); this.AutothreadChBox.CanFocus = true; this.AutothreadChBox.Name = "AutothreadChBox"; this.AutothreadChBox.Label = "Autothreads"; this.AutothreadChBox.DrawIndicator = true; this.AutothreadChBox.UseUnderline = true; this.hbox1.Add (this.AutothreadChBox); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.AutothreadChBox])); w5.Position = 3; w5.Expand = false; w5.Padding = ((uint)(4)); this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.LanguageLabel = new global::Gtk.Label (); this.LanguageLabel.Name = "LanguageLabel"; this.LanguageLabel.LabelProp = "Language:"; this.hbox2.Add (this.LanguageLabel); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.LanguageLabel])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed4 = new global::Gtk.Fixed (); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.hbox2.Add (this.fixed4); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fixed4])); w8.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.LanguageCoBox = global::Gtk.ComboBox.NewText (); this.LanguageCoBox.WidthRequest = 170; this.LanguageCoBox.Name = "LanguageCoBox"; this.hbox2.Add (this.LanguageCoBox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.LanguageCoBox])); w9.Position = 2; w9.Expand = false; w9.Fill = false; this.vbox2.Add (this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox (); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ProgramLabel = new global::Gtk.Label (); this.ProgramLabel.Name = "ProgramLabel"; this.ProgramLabel.LabelProp = "Used Program:"; this.hbox3.Add (this.ProgramLabel); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ProgramLabel])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.fixed5 = new global::Gtk.Fixed (); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox3.Add (this.fixed5); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fixed5])); w12.Position = 1; // Container child hbox3.Gtk.Box+BoxChild this.ProgramCoBox = global::Gtk.ComboBox.NewText (); this.ProgramCoBox.WidthRequest = 170; this.ProgramCoBox.Name = "ProgramCoBox"; this.hbox3.Add (this.ProgramCoBox); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ProgramCoBox])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbox2.Add (this.hbox3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3])); w14.Position = 2; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox (); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.WidthRequest = 130; this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox4.Add (this.fixed2); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.fixed2])); w15.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.RunRTChBox = new global::Gtk.CheckButton (); this.RunRTChBox.CanFocus = true; this.RunRTChBox.Name = "RunRTChBox"; this.RunRTChBox.Label = "Run RawTherapee"; this.RunRTChBox.DrawIndicator = true; this.RunRTChBox.UseUnderline = true; this.vbox3.Add (this.RunRTChBox); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.RunRTChBox])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.KeepPP3ChBox = new global::Gtk.CheckButton (); this.KeepPP3ChBox.CanFocus = true; this.KeepPP3ChBox.Name = "KeepPP3ChBox"; this.KeepPP3ChBox.Label = "Keep PP3"; this.KeepPP3ChBox.DrawIndicator = true; this.KeepPP3ChBox.UseUnderline = true; this.vbox3.Add (this.KeepPP3ChBox); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.KeepPP3ChBox])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.hbox4.Add (this.vbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox3])); w18.Position = 1; this.vbox2.Add (this.hbox4); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w19.Position = 3; w19.Expand = false; w19.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox (); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.RTLabel = new global::Gtk.Label (); this.RTLabel.Name = "RTLabel"; this.RTLabel.LabelProp = "RawTherapee:"; this.hbox5.Add (this.RTLabel); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.RTLabel])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed (); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.hbox5.Add (this.fixed6); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.fixed6])); w21.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.RTPathBox = new global::Gtk.Entry (); this.RTPathBox.CanFocus = true; this.RTPathBox.Name = "RTPathBox"; this.RTPathBox.IsEditable = false; this.RTPathBox.InvisibleChar = '●'; this.hbox5.Add (this.RTPathBox); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.RTPathBox])); w22.Position = 2; // Container child hbox5.Gtk.Box+BoxChild this.RTBrowseButton = new global::Gtk.Button (); this.RTBrowseButton.CanFocus = true; this.RTBrowseButton.Name = "RTBrowseButton"; this.RTBrowseButton.Label = "..."; this.hbox5.Add (this.RTBrowseButton); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.RTBrowseButton])); w23.Position = 3; w23.Expand = false; w23.Fill = false; this.vbox2.Add (this.hbox5); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5])); w24.Position = 4; w24.Expand = false; w24.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox (); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.FormatLabel = new global::Gtk.Label (); this.FormatLabel.Name = "FormatLabel"; this.FormatLabel.LabelProp = "File Format:"; this.hbox6.Add (this.FormatLabel); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.FormatLabel])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.fixed7 = new global::Gtk.Fixed (); this.fixed7.Name = "fixed7"; this.fixed7.HasWindow = false; this.hbox6.Add (this.fixed7); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.fixed7])); w26.Position = 1; // Container child hbox6.Gtk.Box+BoxChild this.FormatCoBox = global::Gtk.ComboBox.NewText (); this.FormatCoBox.WidthRequest = 100; this.FormatCoBox.Name = "FormatCoBox"; this.hbox6.Add (this.FormatCoBox); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.FormatCoBox])); w27.Position = 2; w27.Expand = false; w27.Fill = false; this.vbox2.Add (this.hbox6); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox6])); w28.Position = 5; w28.Expand = false; w28.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox (); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.BitDepthLabel = new global::Gtk.Label (); this.BitDepthLabel.Name = "BitDepthLabel"; this.BitDepthLabel.LabelProp = "Bit Depth:"; this.hbox7.Add (this.BitDepthLabel); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.BitDepthLabel])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fixed8 = new global::Gtk.Fixed (); this.fixed8.Name = "fixed8"; this.fixed8.HasWindow = false; this.hbox7.Add (this.fixed8); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.fixed8])); w30.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.BitdepthCoBox = global::Gtk.ComboBox.NewText (); this.BitdepthCoBox.WidthRequest = 100; this.BitdepthCoBox.Name = "BitdepthCoBox"; this.hbox7.Add (this.BitdepthCoBox); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.BitdepthCoBox])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.vbox2.Add (this.hbox7); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox7])); w32.Position = 6; w32.Expand = false; w32.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox (); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.JpgQualityLabel = new global::Gtk.Label (); this.JpgQualityLabel.Name = "JpgQualityLabel"; this.JpgQualityLabel.LabelProp = "Jpg Quality:"; this.hbox8.Add (this.JpgQualityLabel); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.JpgQualityLabel])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed9 = new global::Gtk.Fixed (); this.fixed9.Name = "fixed9"; this.fixed9.HasWindow = false; this.hbox8.Add (this.fixed9); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.fixed9])); w34.Position = 1; // Container child hbox8.Gtk.Box+BoxChild this.JpgQualityScale = new global::Gtk.HScale (null); this.JpgQualityScale.WidthRequest = 100; this.JpgQualityScale.CanFocus = true; this.JpgQualityScale.Name = "JpgQualityScale"; this.JpgQualityScale.Adjustment.Lower = 1D; this.JpgQualityScale.Adjustment.Upper = 100D; this.JpgQualityScale.Adjustment.PageIncrement = 10D; this.JpgQualityScale.Adjustment.StepIncrement = 10D; this.JpgQualityScale.Adjustment.Value = 100D; this.JpgQualityScale.DrawValue = true; this.JpgQualityScale.Digits = 0; this.JpgQualityScale.ValuePos = ((global::Gtk.PositionType)(0)); this.hbox8.Add (this.JpgQualityScale); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.JpgQualityScale])); w35.Position = 2; this.vbox2.Add (this.hbox8); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox8])); w36.Position = 7; w36.Expand = false; w36.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox (); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.CompressionLabel = new global::Gtk.Label (); this.CompressionLabel.Name = "CompressionLabel"; this.CompressionLabel.LabelProp = "Tiff Compression:"; this.hbox9.Add (this.CompressionLabel); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.CompressionLabel])); w37.Position = 0; w37.Expand = false; w37.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed10 = new global::Gtk.Fixed (); this.fixed10.Name = "fixed10"; this.fixed10.HasWindow = false; this.hbox9.Add (this.fixed10); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.fixed10])); w38.Position = 1; // Container child hbox9.Gtk.Box+BoxChild this.CompressionCoBox = global::Gtk.ComboBox.NewText (); this.CompressionCoBox.WidthRequest = 100; this.CompressionCoBox.Name = "CompressionCoBox"; this.hbox9.Add (this.CompressionCoBox); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.CompressionCoBox])); w39.Position = 2; w39.Expand = false; w39.Fill = false; this.vbox2.Add (this.hbox9); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox9])); w40.Position = 8; w40.Expand = false; w40.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.vbox2.Add (this.fixed1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed1])); w41.Position = 9; w1.Add (this.vbox2); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Internal child LapseStudioGtkUI.MySettingsDialog.ActionArea global::Gtk.HButtonBox w43 = this.ActionArea; w43.Name = "dialog1_ActionArea"; w43.Spacing = 10; w43.BorderWidth = ((uint)(5)); w43.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button (); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget (this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w44 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonCancel])); w44.Expand = false; w44.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w45 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w43 [this.buttonOk])); w45.Position = 1; w45.Expand = false; w45.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 328; this.DefaultHeight = 406; this.Show (); this.AutothreadChBox.Toggled += new global::System.EventHandler (this.OnAutothreadChBoxToggled); this.LanguageCoBox.Changed += new global::System.EventHandler (this.OnLanguageCoBoxChanged); this.ProgramCoBox.Changed += new global::System.EventHandler (this.OnProgramCoBoxChanged); this.RunRTChBox.Toggled += new global::System.EventHandler (this.OnRunRTChBoxToggled); this.RTBrowseButton.Clicked += new global::System.EventHandler (this.OnRTBrowseButtonClicked); this.FormatCoBox.Changed += new global::System.EventHandler (this.OnFormatCoBoxChanged); this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget VAS.UI.Component.Timeline global::Stetic.BinContainer.Attach(this); this.Name = "VAS.UI.Component.Timeline"; // Container child VAS.UI.Component.Timeline.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.leftbox = new global::Gtk.VBox(); this.leftbox.Name = "leftbox"; // Container child leftbox.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.HeightRequest = 30; this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.focusbutton = new global::Gtk.Button(); this.focusbutton.Name = "focusbutton"; // Container child focusbutton.Gtk.Container+ContainerChild this.focusbuttonimage = new global::VAS.UI.Helpers.ImageView(); this.focusbuttonimage.Name = "focusbuttonimage"; this.focusbutton.Add(this.focusbuttonimage); this.hbox2.Add(this.focusbutton); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.focusbutton])); w2.Position = 0; this.leftbox.Add(this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child leftbox.Gtk.Box+BoxChild this.labelsarea = new global::Gtk.DrawingArea(); this.labelsarea.Name = "labelsarea"; this.leftbox.Add(this.labelsarea); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.labelsarea])); w4.Position = 1; // Container child leftbox.Gtk.Box+BoxChild this.zoomhbox = new global::Gtk.HBox(); this.zoomhbox.Name = "zoomhbox"; this.zoomhbox.Spacing = 6; // Container child zoomhbox.Gtk.Box+BoxChild this.zoomoutimage = new global::VAS.UI.Helpers.ImageView(); this.zoomoutimage.WidthRequest = 14; this.zoomoutimage.HeightRequest = 8; this.zoomoutimage.Name = "zoomoutimage"; this.zoomhbox.Add(this.zoomoutimage); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoomoutimage])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child zoomhbox.Gtk.Box+BoxChild this.focusscale = new global::Gtk.HScale(null); this.focusscale.CanFocus = true; this.focusscale.Name = "focusscale"; this.focusscale.Adjustment.Upper = 100; this.focusscale.Adjustment.PageIncrement = 10; this.focusscale.Adjustment.StepIncrement = 1; this.focusscale.DrawValue = false; this.focusscale.Digits = 0; this.focusscale.ValuePos = ((global::Gtk.PositionType)(2)); this.zoomhbox.Add(this.focusscale); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.focusscale])); w6.Position = 1; // Container child zoomhbox.Gtk.Box+BoxChild this.zoominimage = new global::VAS.UI.Helpers.ImageView(); this.zoominimage.WidthRequest = 14; this.zoominimage.HeightRequest = 8; this.zoominimage.Name = "zoominimage"; this.zoomhbox.Add(this.zoominimage); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.zoomhbox [this.zoominimage])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.leftbox.Add(this.zoomhbox); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.leftbox [this.zoomhbox])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.hbox1.Add(this.leftbox); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.leftbox])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.timerulearea = new global::Gtk.DrawingArea(); this.timerulearea.Name = "timerulearea"; this.vbox1.Add(this.timerulearea); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.timerulearea])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w11 = new global::Gtk.Viewport(); w11.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.timelinearea = new global::Gtk.DrawingArea(); this.timelinearea.Name = "timelinearea"; w11.Add(this.timelinearea); this.scrolledwindow1.Add(w11); this.vbox1.Add(this.scrolledwindow1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.scrolledwindow1])); w14.Position = 1; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w15.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("GeneticSharp :: Runner"); this.Icon = new global::Gdk.Pixbuf(global::System.IO.Path.Combine(global::System.AppDomain.CurrentDomain.BaseDirectory, "./Icon.png")); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.hbxMain = new global::Gtk.HBox(); this.hbxMain.Name = "hbxMain"; this.hbxMain.Spacing = 10; this.hbxMain.BorderWidth = ((uint)(10)); // Container child hbxMain.Gtk.Box+BoxChild this.drawingArea = new global::Gtk.DrawingArea(); this.drawingArea.Name = "drawingArea"; this.hbxMain.Add(this.drawingArea); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.drawingArea])); w1.Position = 0; w1.Padding = ((uint)(1)); // Container child hbxMain.Gtk.Box+BoxChild this.vbxConfig = new global::Gtk.VBox(); this.vbxConfig.Name = "vbxConfig"; this.vbxConfig.Spacing = 6; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxSample = new global::Gtk.VBox(); this.vbxSample.Name = "vbxSample"; this.vbxSample.Spacing = 6; // Container child vbxSample.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Problem"); this.vbxSample.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.cmbSample = global::Gtk.ComboBox.NewText(); this.cmbSample.Name = "cmbSample"; this.vbxSample.Add(this.cmbSample); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.cmbSample])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbxSample.Gtk.Box+BoxChild this.problemConfigWidgetContainer = new global::Gtk.VPaned(); this.problemConfigWidgetContainer.CanFocus = true; this.problemConfigWidgetContainer.Name = "problemConfigWidgetContainer"; this.problemConfigWidgetContainer.Position = 10; this.vbxSample.Add(this.problemConfigWidgetContainer); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbxSample[this.problemConfigWidgetContainer])); w4.Position = 2; this.vbxConfig.Add(this.vbxSample); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxSample])); w5.Position = 0; // Container child vbxConfig.Gtk.Box+BoxChild this.vbxGA = new global::Gtk.VBox(); this.vbxGA.WidthRequest = 250; this.vbxGA.Name = "vbxGA"; this.vbxGA.Spacing = 6; // Container child vbxGA.Gtk.Box+BoxChild this.vbbSample = new global::Gtk.VButtonBox(); this.vbbSample.Name = "vbbSample"; this.vbxGA.Add(this.vbbSample); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.vbbSample])); w6.Position = 0; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbxGA.Add(this.hseparator1); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Population size"); this.vbxGA.Add(this.label1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label1])); w8.Position = 2; w8.Expand = false; w8.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Min"); this.hbox2.Add(this.label2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label2])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.sbtPopulationMinSize = new global::Gtk.SpinButton(2D, 10000D, 1D); this.sbtPopulationMinSize.CanFocus = true; this.sbtPopulationMinSize.Name = "sbtPopulationMinSize"; this.sbtPopulationMinSize.Adjustment.PageIncrement = 10D; this.sbtPopulationMinSize.ClimbRate = 1D; this.sbtPopulationMinSize.Numeric = true; this.sbtPopulationMinSize.Value = 50D; this.hbox2.Add(this.sbtPopulationMinSize); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.sbtPopulationMinSize])); w10.Position = 1; w10.Expand = false; w10.Fill = false; w10.Padding = ((uint)(3)); // Container child hbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Max"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.sbtPopulationMaxSize = new global::Gtk.SpinButton(2D, 10000D, 1D); this.sbtPopulationMaxSize.CanFocus = true; this.sbtPopulationMaxSize.Name = "sbtPopulationMaxSize"; this.sbtPopulationMaxSize.Adjustment.PageIncrement = 10D; this.sbtPopulationMaxSize.ClimbRate = 1D; this.sbtPopulationMaxSize.Numeric = true; this.sbtPopulationMaxSize.Value = 70D; this.hbox3.Add(this.sbtPopulationMaxSize); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.sbtPopulationMaxSize])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3])); w13.PackType = ((global::Gtk.PackType)(1)); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbxGA.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox2])); w14.Position = 3; w14.Expand = false; w14.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox11 = new global::Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.cmbGenerationStrategy = global::Gtk.ComboBox.NewText(); this.cmbGenerationStrategy.WidthRequest = 200; this.cmbGenerationStrategy.Name = "cmbGenerationStrategy"; this.hbox11.Add(this.cmbGenerationStrategy); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.cmbGenerationStrategy])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.btnEditGenerationStrategy = new global::Gtk.Button(); this.btnEditGenerationStrategy.CanFocus = true; this.btnEditGenerationStrategy.Name = "btnEditGenerationStrategy"; this.btnEditGenerationStrategy.UseUnderline = true; this.btnEditGenerationStrategy.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox11.Add(this.btnEditGenerationStrategy); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox11[this.btnEditGenerationStrategy])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbxGA.Add(this.hbox11); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox11])); w17.Position = 4; w17.Expand = false; w17.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.vbxGA.Add(this.hseparator2); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator2])); w18.Position = 5; w18.Expand = false; w18.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Selection"); this.vbxGA.Add(this.label5); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label5])); w19.Position = 6; w19.Expand = false; w19.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.cmbSelection = global::Gtk.ComboBox.NewText(); this.cmbSelection.WidthRequest = 200; this.cmbSelection.Name = "cmbSelection"; this.hbox5.Add(this.cmbSelection); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.cmbSelection])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.btnEditSelection = new global::Gtk.Button(); this.btnEditSelection.CanFocus = true; this.btnEditSelection.Name = "btnEditSelection"; this.btnEditSelection.UseUnderline = true; this.btnEditSelection.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox5.Add(this.btnEditSelection); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.btnEditSelection])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.vbxGA.Add(this.hbox5); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox5])); w22.Position = 7; w22.Expand = false; w22.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator4 = new global::Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.vbxGA.Add(this.hseparator4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator4])); w23.Position = 8; w23.Expand = false; w23.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Crossover"); this.vbxGA.Add(this.label7); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label7])); w24.Position = 9; w24.Expand = false; w24.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox9.Add(this.label10); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label10])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.hslCrossoverProbability = new global::Gtk.HScale(null); this.hslCrossoverProbability.CanFocus = true; this.hslCrossoverProbability.Name = "hslCrossoverProbability"; this.hslCrossoverProbability.Adjustment.Upper = 1.1D; this.hslCrossoverProbability.Adjustment.PageIncrement = 0.1D; this.hslCrossoverProbability.Adjustment.PageSize = 0.1D; this.hslCrossoverProbability.Adjustment.StepIncrement = 0.01D; this.hslCrossoverProbability.Adjustment.Value = 0.01D; this.hslCrossoverProbability.DrawValue = true; this.hslCrossoverProbability.Digits = 2; this.hslCrossoverProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox9.Add(this.hslCrossoverProbability); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.hslCrossoverProbability])); w26.Position = 1; this.vbxGA.Add(this.hbox9); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox9])); w27.Position = 10; w27.Expand = false; w27.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.cmbCrossover = global::Gtk.ComboBox.NewText(); this.cmbCrossover.WidthRequest = 200; this.cmbCrossover.Name = "cmbCrossover"; this.hbox6.Add(this.cmbCrossover); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.cmbCrossover])); w28.Position = 0; w28.Expand = false; w28.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.btnEditCrossover = new global::Gtk.Button(); this.btnEditCrossover.CanFocus = true; this.btnEditCrossover.Name = "btnEditCrossover"; this.btnEditCrossover.UseUnderline = true; this.btnEditCrossover.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox6.Add(this.btnEditCrossover); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.btnEditCrossover])); w29.Position = 1; w29.Expand = false; w29.Fill = false; this.vbxGA.Add(this.hbox6); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox6])); w30.Position = 11; w30.Expand = false; w30.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator5 = new global::Gtk.HSeparator(); this.hseparator5.Name = "hseparator5"; this.vbxGA.Add(this.hseparator5); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator5])); w31.Position = 12; w31.Expand = false; w31.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Mutation"); this.vbxGA.Add(this.label8); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label8])); w32.Position = 13; w32.Expand = false; w32.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Probability"); this.hbox8.Add(this.label9); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.label9])); w33.Position = 0; w33.Expand = false; w33.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.hslMutationProbability = new global::Gtk.HScale(null); this.hslMutationProbability.CanFocus = true; this.hslMutationProbability.Name = "hslMutationProbability"; this.hslMutationProbability.Adjustment.Upper = 1.1D; this.hslMutationProbability.Adjustment.PageIncrement = 0.1D; this.hslMutationProbability.Adjustment.PageSize = 0.1D; this.hslMutationProbability.Adjustment.StepIncrement = 0.01D; this.hslMutationProbability.DrawValue = true; this.hslMutationProbability.Digits = 2; this.hslMutationProbability.ValuePos = ((global::Gtk.PositionType)(2)); this.hbox8.Add(this.hslMutationProbability); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.hslMutationProbability])); w34.Position = 1; this.vbxGA.Add(this.hbox8); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox8])); w35.Position = 14; w35.Expand = false; w35.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.cmbMutation = global::Gtk.ComboBox.NewText(); this.cmbMutation.WidthRequest = 200; this.cmbMutation.Name = "cmbMutation"; this.hbox7.Add(this.cmbMutation); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.cmbMutation])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.btnEditMutation = new global::Gtk.Button(); this.btnEditMutation.CanFocus = true; this.btnEditMutation.Name = "btnEditMutation"; this.btnEditMutation.UseUnderline = true; this.btnEditMutation.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox7.Add(this.btnEditMutation); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.btnEditMutation])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbxGA.Add(this.hbox7); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox7])); w38.Position = 15; w38.Expand = false; w38.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbxGA.Add(this.hseparator3); global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator3])); w39.Position = 16; w39.Expand = false; w39.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Reinsertion"); this.vbxGA.Add(this.label12); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label12])); w40.Position = 17; w40.Expand = false; w40.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.cmbTermination1 = global::Gtk.ComboBox.NewText(); this.cmbTermination1.WidthRequest = 200; this.cmbTermination1.Name = "cmbTermination1"; this.hbox12.Add(this.cmbTermination1); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.cmbTermination1])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.btnEditReinsertion = new global::Gtk.Button(); this.btnEditReinsertion.CanFocus = true; this.btnEditReinsertion.Name = "btnEditReinsertion"; this.btnEditReinsertion.UseUnderline = true; this.btnEditReinsertion.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox12.Add(this.btnEditReinsertion); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.btnEditReinsertion])); w42.Position = 1; w42.Expand = false; w42.Fill = false; this.vbxGA.Add(this.hbox12); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox12])); w43.Position = 18; w43.Expand = false; w43.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Termination"); this.vbxGA.Add(this.label11); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.label11])); w44.Position = 19; w44.Expand = false; w44.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.cmbTermination = global::Gtk.ComboBox.NewText(); this.cmbTermination.WidthRequest = 200; this.cmbTermination.Name = "cmbTermination"; this.hbox10.Add(this.cmbTermination); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.cmbTermination])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.btnEditTermination = new global::Gtk.Button(); this.btnEditTermination.CanFocus = true; this.btnEditTermination.Name = "btnEditTermination"; this.btnEditTermination.UseUnderline = true; this.btnEditTermination.Label = global::Mono.Unix.Catalog.GetString("Edit"); this.hbox10.Add(this.btnEditTermination); global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.btnEditTermination])); w46.Position = 1; w46.Expand = false; w46.Fill = false; this.vbxGA.Add(this.hbox10); global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hbox10])); w47.Position = 20; w47.Expand = false; w47.Fill = false; // Container child vbxGA.Gtk.Box+BoxChild this.hseparator6 = new global::Gtk.HSeparator(); this.hseparator6.Name = "hseparator6"; this.vbxGA.Add(this.hseparator6); global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.vbxGA[this.hseparator6])); w48.Position = 21; w48.Expand = false; w48.Fill = false; this.vbxConfig.Add(this.vbxGA); global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.vbxGA])); w49.Position = 1; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStart = new global::Gtk.Button(); this.btnStart.CanFocus = true; this.btnStart.Name = "btnStart"; this.btnStart.UseUnderline = true; this.btnStart.Label = global::Mono.Unix.Catalog.GetString("_Start"); this.vbxConfig.Add(this.btnStart); global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStart])); w50.Position = 2; w50.Expand = false; w50.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnNew = new global::Gtk.Button(); this.btnNew.CanFocus = true; this.btnNew.Name = "btnNew"; this.btnNew.UseUnderline = true; this.btnNew.Label = global::Mono.Unix.Catalog.GetString("_New"); this.vbxConfig.Add(this.btnNew); global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnNew])); w51.Position = 3; w51.Expand = false; w51.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnStop = new global::Gtk.Button(); this.btnStop.CanFocus = true; this.btnStop.Name = "btnStop"; this.btnStop.UseUnderline = true; this.btnStop.Label = global::Mono.Unix.Catalog.GetString("_Stop"); this.vbxConfig.Add(this.btnStop); global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnStop])); w52.Position = 4; w52.Expand = false; w52.Fill = false; // Container child vbxConfig.Gtk.Box+BoxChild this.btnResume = new global::Gtk.Button(); this.btnResume.CanFocus = true; this.btnResume.Name = "btnResume"; this.btnResume.UseUnderline = true; this.btnResume.Label = global::Mono.Unix.Catalog.GetString("_Resume"); this.vbxConfig.Add(this.btnResume); global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbxConfig[this.btnResume])); w53.Position = 5; w53.Expand = false; w53.Fill = false; this.hbxMain.Add(this.vbxConfig); global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbxMain[this.vbxConfig])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.Add(this.hbxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.btnResume.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget xCom.CamManager.CamImageSettings global::Stetic.BinContainer.Attach (this); this.Name = "xCom.CamManager.CamImageSettings"; // Container child xCom.CamManager.CamImageSettings.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.btnReset = new global::Gtk.Button (); this.btnReset.CanFocus = true; this.btnReset.Name = "btnReset"; this.btnReset.UseUnderline = true; this.btnReset.Label = "Reset"; this.table3.Add (this.btnReset); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table3 [this.btnReset])); w1.TopAttach = ((uint)(4)); w1.BottomAttach = ((uint)(5)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(0)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hscaleBrightness = new global::Gtk.HScale (null); this.hscaleBrightness.CanFocus = true; this.hscaleBrightness.Name = "hscaleBrightness"; this.hscaleBrightness.Adjustment.Upper = 100D; this.hscaleBrightness.Adjustment.PageIncrement = 10D; this.hscaleBrightness.Adjustment.StepIncrement = 1D; this.hscaleBrightness.DrawValue = true; this.hscaleBrightness.Digits = 0; this.hscaleBrightness.ValuePos = ((global::Gtk.PositionType)(2)); this.table3.Add (this.hscaleBrightness); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table3 [this.hscaleBrightness])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hscaleHue = new global::Gtk.HScale (null); this.hscaleHue.CanFocus = true; this.hscaleHue.Name = "hscaleHue"; this.hscaleHue.Adjustment.Upper = 100D; this.hscaleHue.Adjustment.PageIncrement = 10D; this.hscaleHue.Adjustment.StepIncrement = 1D; this.hscaleHue.DrawValue = true; this.hscaleHue.Digits = 0; this.hscaleHue.ValuePos = ((global::Gtk.PositionType)(2)); this.table3.Add (this.hscaleHue); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.hscaleHue])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hscaleSaturation = new global::Gtk.HScale (null); this.hscaleSaturation.CanFocus = true; this.hscaleSaturation.Name = "hscaleSaturation"; this.hscaleSaturation.Adjustment.Upper = 100D; this.hscaleSaturation.Adjustment.PageIncrement = 10D; this.hscaleSaturation.Adjustment.StepIncrement = 1D; this.hscaleSaturation.DrawValue = true; this.hscaleSaturation.Digits = 0; this.hscaleSaturation.ValuePos = ((global::Gtk.PositionType)(2)); this.table3.Add (this.hscaleSaturation); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table3 [this.hscaleSaturation])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.hscaleSharpness = new global::Gtk.HScale (null); this.hscaleSharpness.CanFocus = true; this.hscaleSharpness.Name = "hscaleSharpness"; this.hscaleSharpness.Adjustment.Upper = 100D; this.hscaleSharpness.Adjustment.PageIncrement = 10D; this.hscaleSharpness.Adjustment.StepIncrement = 1D; this.hscaleSharpness.DrawValue = true; this.hscaleSharpness.Digits = 0; this.hscaleSharpness.ValuePos = ((global::Gtk.PositionType)(2)); this.table3.Add (this.hscaleSharpness); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table3 [this.hscaleSharpness])); w5.TopAttach = ((uint)(3)); w5.BottomAttach = ((uint)(4)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.lblBrightness = new global::Gtk.Label (); this.lblBrightness.Name = "lblBrightness"; this.lblBrightness.Xalign = 0F; this.lblBrightness.LabelProp = "Brightness"; this.table3.Add (this.lblBrightness); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblBrightness])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.lblHue = new global::Gtk.Label (); this.lblHue.Name = "lblHue"; this.lblHue.Xalign = 0F; this.lblHue.LabelProp = "Hue"; this.table3.Add (this.lblHue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblHue])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.lblSaturation = new global::Gtk.Label (); this.lblSaturation.Name = "lblSaturation"; this.lblSaturation.Xalign = 0F; this.lblSaturation.LabelProp = "Saturation"; this.table3.Add (this.lblSaturation); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblSaturation])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.lblSharpness = new global::Gtk.Label (); this.lblSharpness.Name = "lblSharpness"; this.lblSharpness.Xalign = 0F; this.lblSharpness.LabelProp = "Sharpness"; this.table3.Add (this.lblSharpness); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.lblSharpness])); w9.TopAttach = ((uint)(3)); w9.BottomAttach = ((uint)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table3); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.hscaleSharpness.ValueChanged += new global::System.EventHandler (this.OnHscaleSharpnessValueChanged); this.hscaleSaturation.ValueChanged += new global::System.EventHandler (this.OnHscaleSaturationValueChanged); this.hscaleHue.ValueChanged += new global::System.EventHandler (this.OnHscaleHueValueChanged); this.hscaleBrightness.ValueChanged += new global::System.EventHandler (this.OnHscaleBrightnessValueChanged); this.btnReset.Clicked += new global::System.EventHandler (this.OnBtnResetClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget libTerminus.cRestoreWizard this.Name = "libTerminus.cRestoreWizard"; this.Title = global::Mono.Unix.Catalog.GetString ("Elemente wiederherstellen"); this.Icon = global::Gdk.Pixbuf.LoadFromResource ("libTerminus.Programm.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child libTerminus.cRestoreWizard.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.expander2 = new global::Gtk.Expander (null); this.expander2.CanFocus = true; this.expander2.Name = "expander2"; this.expander2.Expanded = true; // Container child expander2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.calendar2 = new global::Gtk.Calendar (); this.calendar2.CanFocus = true; this.calendar2.Name = "calendar2"; this.calendar2.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.vbox3.Add (this.calendar2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.calendar2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Minimaler Beginn"); this.vbox3.Add (this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale1 = new global::Gtk.HScale (null); this.hscale1.CanFocus = true; this.hscale1.Name = "hscale1"; this.hscale1.UpdatePolicy = ((global::Gtk.UpdateType)(1)); this.hscale1.Adjustment.Lower = 1; this.hscale1.Adjustment.Upper = 24; this.hscale1.Adjustment.PageIncrement = 1; this.hscale1.Adjustment.StepIncrement = 1; this.hscale1.Adjustment.Value = 1; this.hscale1.DrawValue = true; this.hscale1.Digits = 0; this.hscale1.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale1])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Maximales Ende"); this.vbox3.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label1])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscale2 = new global::Gtk.HScale (null); this.hscale2.CanFocus = true; this.hscale2.Name = "hscale2"; this.hscale2.Adjustment.Lower = 1; this.hscale2.Adjustment.Upper = 24; this.hscale2.Adjustment.PageIncrement = 1; this.hscale2.Adjustment.StepIncrement = 1; this.hscale2.DrawValue = true; this.hscale2.Digits = 0; this.hscale2.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add (this.hscale2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hscale2])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button1 = new global::Gtk.Button (); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString ("Suchen"); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w6.Position = 2; 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 = 5; w7.Expand = false; w7.Fill = false; this.expander2.Add (this.vbox3); this.GtkLabel1 = new global::Gtk.Label (); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("Zeitbereich"); this.GtkLabel1.UseUnderline = true; this.expander2.LabelWidget = this.GtkLabel1; this.vbox2.Add (this.expander2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander2])); w9.Position = 0; w9.Expand = false; // Container child vbox2.Gtk.Box+BoxChild this.expander1 = new global::Gtk.Expander (null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.expander1.Expanded = true; // Container child expander1.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview1 = new global::Gtk.TreeView (); this.treeview1.CanFocus = true; this.treeview1.Name = "treeview1"; this.GtkScrolledWindow.Add (this.treeview1); this.expander1.Add (this.GtkScrolledWindow); this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Ergebnisse"); this.GtkLabel2.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel2; this.vbox2.Add (this.expander1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.expander1])); w12.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.togglebutton1 = new global::Gtk.ToggleButton (); this.togglebutton1.CanFocus = true; this.togglebutton1.Name = "togglebutton1"; this.togglebutton1.UseUnderline = true; this.togglebutton1.Active = true; // Container child togglebutton1.Gtk.Container+ContainerChild global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w14 = new global::Gtk.HBox (); w14.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image (); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-copy", global::Gtk.IconSize.Menu); w14.Add (w15); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w17 = new global::Gtk.Label (); w17.LabelProp = global::Mono.Unix.Catalog.GetString ("In Zwischenablage kopieren"); w17.UseUnderline = true; w14.Add (w17); w13.Add (w14); this.togglebutton1.Add (w13); this.hbox1.Add (this.togglebutton1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.togglebutton1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w22.Position = 2; w22.Expand = false; w22.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 570; this.DefaultHeight = 517; this.Show (); this.hscale2.ValueChanged += new global::System.EventHandler (this.OnHscale2ValueChanged); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); this.togglebutton1.Clicked += new global::System.EventHandler (this.OnTogglebutton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Rosenblatt"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-connect", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; this.Decorated = false; // Container child MainWindow.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 12; this.hbox1.BorderWidth = ((uint)(12)); // Container child hbox1.Gtk.Box+BoxChild this.root = new global::Gtk.DrawingArea(); this.root.Name = "root"; this.hbox1.Add(this.root); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.root])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 12; this.vbox1.BorderWidth = ((uint)(12)); // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame1.BorderWidth = ((uint)(12)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbuttonbox1 = new global::Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.Spacing = 12; this.vbuttonbox1.BorderWidth = ((uint)(12)); this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("Save"); this.vbuttonbox1.Add(this.button3); global::Gtk.ButtonBox.ButtonBoxChild w2 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button3])); w2.Expand = false; w2.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Choose"); this.vbuttonbox1.Add(this.button1); global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Learn"); this.vbuttonbox1.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button2])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; this.button4.Label = global::Mono.Unix.Catalog.GetString("Random"); this.vbuttonbox1.Add(this.button4); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.button4])); w5.Position = 3; w5.Expand = false; w5.Fill = false; this.GtkAlignment.Add(this.vbuttonbox1); this.frame1.Add(this.GtkAlignment); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Data</b>"); this.GtkLabel4.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel4; this.vbox1.Add(this.frame1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame2.BorderWidth = ((uint)(12)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 12; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.lblQuality = new global::Gtk.Label(); this.lblQuality.Name = "lblQuality"; this.lblQuality.LabelProp = global::Mono.Unix.Catalog.GetString("Quality: 0.0%"); this.vbox2.Add(this.lblQuality); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.lblQuality])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.button5 = new global::Gtk.Button(); this.button5.CanFocus = true; this.button5.Name = "button5"; this.button5.UseUnderline = true; this.button5.Label = global::Mono.Unix.Catalog.GetString("Redraw"); this.vbox2.Add(this.button5); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.button5])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis1 = global::Gtk.ComboBox.NewText(); global::Gtk.Tooltips w11 = new Gtk.Tooltips(); w11.SetTip(this.comboAxis1, "Axis OX", "Axis OX"); this.comboAxis1.Name = "comboAxis1"; this.vbox2.Add(this.comboAxis1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis1])); w12.Position = 2; w12.Expand = false; w12.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis2 = global::Gtk.ComboBox.NewText(); w11.SetTip(this.comboAxis2, "Axis OY", "Axis OY"); this.comboAxis2.Name = "comboAxis2"; this.vbox2.Add(this.comboAxis2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis2])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.comboAxis3 = global::Gtk.ComboBox.NewText(); w11.SetTip(this.comboAxis3, "Axis OZ", "Axis OZ"); this.comboAxis3.Name = "comboAxis3"; this.vbox2.Add(this.comboAxis3); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.comboAxis3])); w14.Position = 4; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame3.BorderWidth = ((uint)(12)); // Container child frame3.Gtk.Container+ContainerChild this.axisBox = new global::Gtk.VBox(); this.axisBox.Name = "axisBox"; this.axisBox.Spacing = 12; this.axisBox.BorderWidth = ((uint)(12)); this.frame3.Add(this.axisBox); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Axis:</b>"); this.GtkLabel6.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel6; this.vbox2.Add(this.frame3); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame3])); w16.Position = 5; // Container child vbox2.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); this.frame4.BorderWidth = ((uint)(12)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.toggle3D = new global::Gtk.ToggleButton(); this.toggle3D.CanFocus = true; this.toggle3D.Name = "toggle3D"; this.toggle3D.UseUnderline = true; this.toggle3D.Active = true; this.toggle3D.Label = global::Mono.Unix.Catalog.GetString("3D Mode"); this.vbox3.Add(this.toggle3D); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toggle3D])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleDist = new global::Gtk.HScale(null); w11.SetTip(this.hscaleDist, "Distance from Zero", "Distance from Zero"); this.hscaleDist.CanFocus = true; this.hscaleDist.Name = "hscaleDist"; this.hscaleDist.Adjustment.Lower = 2D; this.hscaleDist.Adjustment.Upper = 12D; this.hscaleDist.Adjustment.PageIncrement = 2D; this.hscaleDist.Adjustment.StepIncrement = 0.2D; this.hscaleDist.Adjustment.Value = 3D; this.hscaleDist.DrawValue = true; this.hscaleDist.Digits = 2; this.hscaleDist.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleDist); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleDist])); w18.Position = 1; w18.Expand = false; w18.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleRot = new global::Gtk.HScale(null); w11.SetTip(this.hscaleRot, "Rotation", "Rotation"); this.hscaleRot.CanFocus = true; this.hscaleRot.Name = "hscaleRot"; this.hscaleRot.Adjustment.Lower = -1D; this.hscaleRot.Adjustment.Upper = 1D; this.hscaleRot.Adjustment.PageIncrement = 10D; this.hscaleRot.Adjustment.StepIncrement = 0.02D; this.hscaleRot.DrawValue = true; this.hscaleRot.Digits = 2; this.hscaleRot.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleRot); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleRot])); w19.Position = 2; w19.Expand = false; w19.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hscaleCamera = new global::Gtk.HScale(null); w11.SetTip(this.hscaleCamera, "Camera distance", "Camera distance"); this.hscaleCamera.CanFocus = true; this.hscaleCamera.Name = "hscaleCamera"; this.hscaleCamera.Adjustment.Lower = 1D; this.hscaleCamera.Adjustment.Upper = 24D; this.hscaleCamera.Adjustment.PageIncrement = 10D; this.hscaleCamera.Adjustment.StepIncrement = 0.2D; this.hscaleCamera.Adjustment.Value = 6D; this.hscaleCamera.DrawValue = true; this.hscaleCamera.Digits = 2; this.hscaleCamera.ValuePos = ((global::Gtk.PositionType)(2)); this.vbox3.Add(this.hscaleCamera); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hscaleCamera])); w20.PackType = ((global::Gtk.PackType)(1)); w20.Position = 3; w20.Expand = false; w20.Fill = false; this.GtkAlignment2.Add(this.vbox3); this.frame4.Add(this.GtkAlignment2); this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>3D View</b>"); this.GtkLabel8.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel8; this.vbox2.Add(this.frame4); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame4])); w23.PackType = ((global::Gtk.PackType)(1)); w23.Position = 6; w23.Expand = false; w23.Fill = false; this.GtkAlignment1.Add(this.vbox2); this.frame2.Add(this.GtkAlignment1); this.GtkLabel9 = new global::Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Visual</b>"); this.GtkLabel9.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel9; this.vbox1.Add(this.frame2); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame2])); w26.Position = 1; w26.Expand = false; w26.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 2741; this.DefaultHeight = 1713; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.root.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.RootButtonPressed); this.button3.Clicked += new global::System.EventHandler(this.BtnDataSave); this.button1.Clicked += new global::System.EventHandler(this.BtnDataChoose); this.button2.Clicked += new global::System.EventHandler(this.BtnDataLearn); this.button4.Clicked += new global::System.EventHandler(this.ButtonRandom); this.button5.Clicked += new global::System.EventHandler(this.BtnVisualRedraw); this.comboAxis1.Changed += new global::System.EventHandler(this.ComboFirstAxis); this.comboAxis2.Changed += new global::System.EventHandler(this.ComboSecondAxis); this.comboAxis3.Changed += new global::System.EventHandler(this.ComboThirdAxis); this.toggle3D.Toggled += new global::System.EventHandler(this.Toggle3DMode); this.hscaleDist.ValueChanged += new global::System.EventHandler(this.HScaleDistance); this.hscaleRot.ValueChanged += new global::System.EventHandler(this.HScaleRotate); this.hscaleCamera.ValueChanged += new global::System.EventHandler(this.HScaleCamera); }