Gtk.Widget ClockControls() { var vbox = new Gtk.VBox { Spacing = 6 }; this.clock = new AnalogClock(); this.clock.SetSizeRequest(130, 130); vbox.PackStart(this.clock, true, true, 0); var spinners = new Gtk.HBox { Spacing = 6 }; spinners.PackStart(new Gtk.Label("Hour"), false, false, 0); hourSpin = CreateSpinner(24, 1, null); spinners.PackStart(hourSpin, false, false, 0); spinners.PackStart(new Gtk.Label("Min"), false, false, 0); minutesSpin = CreateSpinner(60, 10, hourSpin); spinners.PackStart(minutesSpin, false, false, 0); spinners.PackStart(new Gtk.Label("Sec"), false, false, 0); secondsSpin = CreateSpinner(60, 10, minutesSpin); spinners.PackStart(secondsSpin, false, false, 0); vbox.PackEnd(spinners, false, false, 0); return(vbox); }
public void Initialize (PropertyDescriptor prop) { if (prop.PropertyType != typeof(int)) throw new ApplicationException ("OptIntRange editor does not support editing values of type " + prop.PropertyType); double min = (double) Int32.MinValue; double max = (double) Int32.MaxValue; if (omin == null) omin = prop.Minimum; if (omax == null) omax = prop.Maximum; if (omin != null) min = (double) Convert.ChangeType (omin, typeof(double)); if (omax != null) max = (double) Convert.ChangeType (omax, typeof(double)); check = new Gtk.CheckButton (); check.Show (); check.Toggled += check_Toggled; PackStart (check, false, false, 0); spin = new Gtk.SpinButton (min, max, 1.0); spin.Show (); spin.HasFrame = false; spin.ValueChanged += spin_ValueChanged; PackStart (spin, true, true, 0); }
Gtk.SpinButton CreateSpinner(int max, int increment, Gtk.SpinButton parent) { var spin = new Gtk.SpinButton(-1, max, 1) { CanFocus = true, Numeric = true, ClimbRate = 1, WidthChars = 2, Value = 0 }; spin.Adjustment.PageIncrement = increment; spin.ValueChanged += delegate { if (Math.Abs(spin.Value - max) < 0.1f) { spin.Value = 0; if (parent != null) { parent.Value = parent.Value + 1; } } if (Math.Abs(spin.Value - -1) < 0.1f) { spin.Value = max - 1; if (parent != null) { parent.Value = parent.Value - 1; } } UpdateClock(); OnDateChanged(EventArgs.Empty); }; return(spin); }
public void Initialize(EditSession prop) { if (prop.Property.PropertyType != typeof(int)) { throw new ApplicationException("OptIntRange editor does not support editing values of type " + prop.Property.PropertyType); } double min = (double)Int32.MinValue; double max = (double)Int32.MaxValue; //if (omin == null) // omin = prop.Minimum; //if (omax == null) // omax = prop.Maximum; if (omin != null) { min = (double)Convert.ChangeType(omin, typeof(double)); } if (omax != null) { max = (double)Convert.ChangeType(omax, typeof(double)); } check = new Gtk.CheckButton(); check.Show(); check.Toggled += check_Toggled; PackStart(check, false, false, 0); spin = new Gtk.SpinButton(min, max, 1.0); spin.Show(); spin.HasFrame = false; spin.ValueChanged += spin_ValueChanged; PackStart(spin, true, true, 0); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ControlWrappers.BoundTime Stetic.BinContainer.Attach(this); this.Name = "ControlWrappers.BoundTime"; // Container child ControlWrappers.BoundTime.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.lblHour = new Gtk.Label(); this.lblHour.Name = "lblHour"; this.lblHour.LabelProp = Mono.Unix.Catalog.GetString("H:"); this.hbox1.Add(this.lblHour); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblHour])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.sbHour = new Gtk.SpinButton(0, 23, 1); this.sbHour.CanFocus = true; this.sbHour.Name = "sbHour"; this.sbHour.Adjustment.PageIncrement = 10; this.sbHour.ClimbRate = 1; this.sbHour.Numeric = true; this.hbox1.Add(this.sbHour); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.sbHour])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.lblMinute = new Gtk.Label(); this.lblMinute.Name = "lblMinute"; this.lblMinute.LabelProp = Mono.Unix.Catalog.GetString("M:"); this.hbox1.Add(this.lblMinute); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblMinute])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.sbMinute = new Gtk.SpinButton(0, 59, 1); this.sbMinute.CanFocus = true; this.sbMinute.Name = "sbMinute"; this.sbMinute.Adjustment.PageIncrement = 10; this.sbMinute.ClimbRate = 1; this.sbMinute.Numeric = true; this.hbox1.Add(this.sbMinute); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.sbMinute])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.PointPickerWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.PointPickerWidget"; // Container child Pinta.Gui.Widgets.PointPickerWidget.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.hbox1.Add(this.hseparator1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator1])); w2.Position = 1; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((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 Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.pointpickergraphic1 = new Pinta.Gui.Widgets.PointPickerGraphic(); this.pointpickergraphic1.Name = "pointpickergraphic1"; this.hbox2.Add(this.pointpickergraphic1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.pointpickergraphic1])); w4.Position = 0; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; // Container child button1.Gtk.Container+ContainerChild Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w6 = new Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w7 = new Gtk.Image(); w7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w9 = new Gtk.Label(); w6.Add(w9); w5.Add(w6); this.button1.Add(w5); this.table1.Add(this.button1); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.button1])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button2 = new Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w15 = new Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w16 = new Gtk.Image(); w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w18 = new Gtk.Label(); w15.Add(w18); w14.Add(w15); this.button2.Add(w14); this.table1.Add(this.button2); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.button2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "X:"; this.table1.Add(this.label2); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = "Y:"; this.table1.Add(this.label3); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinX = new Gtk.SpinButton(0, 100, 1); this.spinX.CanFocus = true; this.spinX.Name = "spinX"; this.spinX.Adjustment.PageIncrement = 10; this.spinX.ClimbRate = 1; this.spinX.Numeric = true; this.table1.Add(this.spinX); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.spinX])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinY = new Gtk.SpinButton(0, 100, 1); this.spinY.CanFocus = true; this.spinY.Name = "spinY"; this.spinY.Adjustment.PageIncrement = 10; this.spinY.ClimbRate = 1; this.spinY.Numeric = true; this.table1.Add(this.spinY); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.spinY])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); this.hbox2.Add(this.table1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget WeatherDocklet.WeatherConfig Stetic.BinContainer.Attach(this); this.Name = "WeatherDocklet.WeatherConfig"; // Container child WeatherDocklet.WeatherConfig.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("_Weather Provider:"); this.label1.UseUnderline = true; this.hbox1.Add(this.label1); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.provider = Gtk.ComboBox.NewText(); this.provider.Name = "provider"; this.hbox1.Add(this.provider); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.provider])); w2.PackType = ((Gtk.PackType)(1)); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.provider_info = new Docky.Widgets.WrapLabel(); this.provider_info.Events = ((Gdk.EventMask)(256)); this.provider_info.Name = "provider_info"; this.provider_info.Wrap = false; this.vbox1.Add(this.provider_info); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.provider_info])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.my_locations = new Gtk.Button(); this.my_locations.CanFocus = true; this.my_locations.Name = "my_locations"; this.my_locations.UseUnderline = true; this.my_locations.Label = Mono.Unix.Catalog.GetString("My _Locations"); this.hbox2.Add(this.my_locations); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.my_locations])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.location_code = new Docky.Widgets.SearchEntry(); this.location_code.Name = "location_code"; this.location_code.EmptyMessage = "Location Code, Zip, or City"; this.location_code.Ready = true; this.location_code.HasFocus = false; this.hbox2.Add(this.location_code); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.location_code])); w6.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.search = new Gtk.Button(); this.search.CanFocus = true; this.search.Name = "search"; this.search.UseUnderline = true; // Container child search.Gtk.Container+ContainerChild Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w8 = new Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w9 = new Gtk.Image(); w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-find", Gtk.IconSize.Menu, 16); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w11 = new Gtk.Label(); w11.LabelProp = Mono.Unix.Catalog.GetString("_Search"); w11.UseUnderline = true; w8.Add(w11); w7.Add(w8); this.search.Add(w7); this.hbox2.Add(this.search); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.search])); w15.Position = 2; w15.Expand = false; w15.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(2)); this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w17 = new Gtk.Viewport(); w17.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.results_view = new Docky.Widgets.TileView(); this.results_view.Name = "results_view"; this.results_view.IconSize = 24; w17.Add(this.results_view); this.scrolledwindow1.Add(w17); this.vbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); w20.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Automatically Update _Every"); this.label2.UseUnderline = true; this.hbox3.Add(this.label2); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("minutes"); this.hbox3.Add(this.label3); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3])); w22.PackType = ((Gtk.PackType)(1)); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.auto_update = new Gtk.SpinButton(5, 60, 5); this.auto_update.CanFocus = true; this.auto_update.Name = "auto_update"; this.auto_update.Adjustment.PageIncrement = 10; this.auto_update.ClimbRate = 1; this.auto_update.Numeric = true; this.auto_update.Value = 5; this.hbox3.Add(this.auto_update); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox3[this.auto_update])); w23.PackType = ((Gtk.PackType)(1)); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.vbox1.Add(this.hbox3); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w24.Position = 4; w24.Expand = false; w24.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.metric_units = new Gtk.CheckButton(); this.metric_units.CanFocus = true; this.metric_units.Name = "metric_units"; this.metric_units.Label = Mono.Unix.Catalog.GetString("Use _Metric Units"); this.metric_units.Active = true; this.metric_units.DrawIndicator = true; this.metric_units.UseUnderline = true; this.hbox4.Add(this.metric_units); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox4[this.metric_units])); w25.Position = 0; this.vbox1.Add(this.hbox4); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w26.Position = 5; w26.Expand = false; w26.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.label1.MnemonicWidget = this.provider; this.Hide(); this.provider.Changed += new System.EventHandler(this.OnProviderChanged); this.my_locations.Clicked += new System.EventHandler(this.OnMyLocationsClicked); this.search.Clicked += new System.EventHandler(this.OnSearchClicked); this.auto_update.ValueChanged += new System.EventHandler(this.OnUpdateValueChanged); this.metric_units.Toggled += new System.EventHandler(this.OnMetricToggled); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget RememberTheMilk.Configuration Stetic.BinContainer.Attach(this); this.Name = "RememberTheMilk.Configuration"; // Container child RememberTheMilk.Configuration.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.account_frm = new Gtk.Frame(); this.account_frm.Name = "account_frm"; this.account_frm.ShadowType = ((Gtk.ShadowType)(0)); this.account_frm.BorderWidth = ((uint)(2)); // Container child account_frm.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(5)); // Container child vbox5.Gtk.Box+BoxChild this.authinfo_lbl = new Gtk.Label(); this.authinfo_lbl.Name = "authinfo_lbl"; this.authinfo_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Do needs your authorization in order to manage tasks in your Remember The Milk account. Press the \"Authorize\" button to open a web browser and give Do authorization."); this.authinfo_lbl.Wrap = true; this.vbox5.Add(this.authinfo_lbl); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox5[this.authinfo_lbl])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.fixed5 = new Gtk.Fixed(); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox1.Add(this.fixed5); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed5])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.auth_btn = new Gtk.Button(); this.auth_btn.CanFocus = true; this.auth_btn.Name = "auth_btn"; this.auth_btn.UseUnderline = true; // Container child auth_btn.Gtk.Container+ContainerChild Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w4 = new Gtk.HBox(); w4.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w5 = new Gtk.Image(); w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16); w4.Add(w5); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w7 = new Gtk.Label(); w7.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("_Authorize"); w7.UseUnderline = true; w4.Add(w7); w3.Add(w4); this.auth_btn.Add(w3); this.hbox1.Add(this.auth_btn); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.auth_btn])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add(this.fixed1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.fixed1])); w12.Position = 2; this.vbox5.Add(this.hbox1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.fixed6 = new Gtk.Fixed(); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.vbox5.Add(this.fixed6); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox5[this.fixed6])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.GtkAlignment.Add(this.vbox5); this.account_frm.Add(this.GtkAlignment); this.GtkLabel1 = new Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Account</b>"); this.GtkLabel1.UseMarkup = true; this.account_frm.LabelWidget = this.GtkLabel1; this.vbox1.Add(this.account_frm); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox1[this.account_frm])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notification_frm = new Gtk.Frame(); this.notification_frm.Sensitive = false; this.notification_frm.Name = "notification_frm"; this.notification_frm.ShadowType = ((Gtk.ShadowType)(0)); this.notification_frm.BorderWidth = ((uint)(2)); // Container child notification_frm.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(5)); // Container child vbox3.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.minute_lbl = new Gtk.Label(); this.minute_lbl.Name = "minute_lbl"; this.minute_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("minute(s)"); this.table1.Add(this.minute_lbl); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.minute_lbl])); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.overdue_chkbtn = new Gtk.CheckButton(); this.overdue_chkbtn.CanFocus = true; this.overdue_chkbtn.Name = "overdue_chkbtn"; this.overdue_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Notify overdue task(s) every"); this.overdue_chkbtn.DrawIndicator = true; this.overdue_chkbtn.UseUnderline = true; this.table1.Add(this.overdue_chkbtn); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.overdue_chkbtn])); w19.XOptions = ((Gtk.AttachOptions)(6)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.overdue_interval_spinbtn = new Gtk.SpinButton(1, 9999, 1); this.overdue_interval_spinbtn.CanFocus = true; this.overdue_interval_spinbtn.Name = "overdue_interval_spinbtn"; this.overdue_interval_spinbtn.Adjustment.PageIncrement = 10; this.overdue_interval_spinbtn.ClimbRate = 1; this.overdue_interval_spinbtn.Numeric = true; this.overdue_interval_spinbtn.Value = 1; this.table1.Add(this.overdue_interval_spinbtn); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.overdue_interval_spinbtn])); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XPadding = ((uint)(5)); w20.XOptions = ((Gtk.AttachOptions)(6)); w20.YOptions = ((Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.confirm_chkbtn = new Gtk.CheckButton(); this.confirm_chkbtn.CanFocus = true; this.confirm_chkbtn.Name = "confirm_chkbtn"; this.confirm_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show notification when actions are completed"); this.confirm_chkbtn.DrawIndicator = true; this.confirm_chkbtn.UseUnderline = true; this.vbox3.Add(this.confirm_chkbtn); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox3[this.confirm_chkbtn])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.returnnew_chkbtn = new Gtk.CheckButton(); this.returnnew_chkbtn.CanFocus = true; this.returnnew_chkbtn.Name = "returnnew_chkbtn"; this.returnnew_chkbtn.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Return the newly created task"); this.returnnew_chkbtn.DrawIndicator = true; this.returnnew_chkbtn.UseUnderline = true; this.vbox3.Add(this.returnnew_chkbtn); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.returnnew_chkbtn])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.GtkAlignment2.Add(this.vbox3); this.notification_frm.Add(this.GtkAlignment2); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Interactivity</b>"); this.GtkLabel5.UseMarkup = true; this.notification_frm.LabelWidget = this.GtkLabel5; this.vbox1.Add(this.notification_frm); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.notification_frm])); w26.Position = 1; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.filter_frm = new Gtk.Frame(); this.filter_frm.Sensitive = false; this.filter_frm.Name = "filter_frm"; this.filter_frm.ShadowType = ((Gtk.ShadowType)(0)); this.filter_frm.BorderWidth = ((uint)(2)); // Container child filter_frm.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(5)); // Container child vbox4.Gtk.Box+BoxChild this.filter_entry = new Gtk.Entry(); this.filter_entry.CanFocus = true; this.filter_entry.Name = "filter_entry"; this.filter_entry.IsEditable = true; this.filter_entry.InvisibleChar = '●'; this.vbox4.Add(this.filter_entry); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_entry])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.filter_desc_lbl = new Gtk.Label(); this.filter_desc_lbl.Name = "filter_desc_lbl"; this.filter_desc_lbl.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("You can enter some advanced search operators here to limit the tasks Do indexes. E.g. \"priority:1 AND status:incomplete\" will force Do to only index all incomplete tasks with high priority."); this.filter_desc_lbl.Wrap = true; this.vbox4.Add(this.filter_desc_lbl); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox4[this.filter_desc_lbl])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.info_hbox = new Gtk.HBox(); this.info_hbox.Name = "info_hbox"; this.info_hbox.Spacing = 6; // Container child info_hbox.Gtk.Box+BoxChild this.fixed3 = new Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; this.info_hbox.Add(this.fixed3); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed3])); w29.Position = 0; // Container child info_hbox.Gtk.Box+BoxChild this.fixed4 = new Gtk.Fixed(); this.fixed4.Name = "fixed4"; this.fixed4.HasWindow = false; this.info_hbox.Add(this.fixed4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.info_hbox[this.fixed4])); w30.Position = 2; this.vbox4.Add(this.info_hbox); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.info_hbox])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.GtkAlignment3.Add(this.vbox4); this.filter_frm.Add(this.GtkAlignment3); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Filter</b>"); this.GtkLabel6.UseMarkup = true; this.filter_frm.LabelWidget = this.GtkLabel6; this.vbox1.Add(this.filter_frm); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox1[this.filter_frm])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.auth_btn.Clicked += new System.EventHandler(this.OnAuthBtnClicked); this.overdue_interval_spinbtn.ValueChanged += new System.EventHandler(this.OnOverdueIntervalChanged); this.overdue_chkbtn.Clicked += new System.EventHandler(this.OnOverdueChkbtnClicked); this.confirm_chkbtn.Clicked += new System.EventHandler(this.OnConfirmChkbtnClicked); this.returnnew_chkbtn.Clicked += new System.EventHandler(this.OnReturnNewChkBtnClicked); this.filter_entry.Changed += new System.EventHandler(this.OnFilterEntryChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget HollyLibrary.DateEditDialog this.Name = "HollyLibrary.DateEditDialog"; this.Title = "DateEditDialog"; this.TypeHint = ((Gdk.WindowTypeHint)(2)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(1)); this.Resizable = false; this.AllowGrow = false; this.Decorated = false; this.DestroyWithParent = true; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Container child HollyLibrary.DateEditDialog.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(3)); // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.CCalendar = new Gtk.Calendar(); this.CCalendar.CanFocus = true; this.CCalendar.Name = "CCalendar"; this.CCalendar.DisplayOptions = ((Gtk.CalendarDisplayOptions)(3)); this.vbox2.Add(this.CCalendar); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.CCalendar])); w1.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.BtnClear = new Gtk.Button(); this.BtnClear.CanFocus = true; this.BtnClear.Name = "BtnClear"; this.BtnClear.UseUnderline = true; // Container child BtnClear.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w3 = new Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w4 = new Gtk.Image(); w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = "Now"; w6.UseUnderline = true; w3.Add(w6); w2.Add(w3); this.BtnClear.Add(w2); this.hbox2.Add(this.BtnClear); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox2[this.BtnClear])); w10.Position = 0; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.Clock = new HollyLibrary.AnalogClock(); this.Clock.Name = "Clock"; this.Clock.Datetime = new System.DateTime(0); this.vbox3.Add(this.Clock); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.Clock])); w13.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = "H:"; this.hbox3.Add(this.label4); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.TxtHour = new Gtk.SpinButton(0, 24, 1); this.TxtHour.CanFocus = true; this.TxtHour.Name = "TxtHour"; this.TxtHour.Adjustment.PageIncrement = 1; this.TxtHour.ClimbRate = 1; this.TxtHour.Numeric = true; this.hbox3.Add(this.TxtHour); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtHour])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "M:"; this.hbox3.Add(this.label2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.TxtMin = new Gtk.SpinButton(0, 60, 1); this.TxtMin.CanFocus = true; this.TxtMin.Name = "TxtMin"; this.TxtMin.Adjustment.PageIncrement = 10; this.TxtMin.ClimbRate = 1; this.TxtMin.Numeric = true; this.hbox3.Add(this.TxtMin); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtMin])); w17.Position = 3; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = "S:"; this.hbox3.Add(this.label3); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3])); w18.Position = 4; w18.Expand = false; w18.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.TxtSec = new Gtk.SpinButton(0, 60, 1); this.TxtSec.CanFocus = true; this.TxtSec.Name = "TxtSec"; this.TxtSec.Adjustment.PageIncrement = 10; this.TxtSec.ClimbRate = 1; this.TxtSec.Numeric = true; this.hbox3.Add(this.TxtSec); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtSec])); w19.Position = 5; w19.Expand = false; w19.Fill = false; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w20.Position = 1; w20.Expand = false; this.hbox1.Add(this.vbox3); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w21.Position = 1; w21.Expand = false; w21.Fill = false; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 491; this.DefaultHeight = 263; this.Show(); this.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnButtonPressEvent); this.CCalendar.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnCalendar4ButtonPressEvent); this.CCalendar.DaySelected += new System.EventHandler(this.OnCCalendarDaySelected); this.CCalendar.DaySelectedDoubleClick += new System.EventHandler(this.OnCCalendarDaySelectedDoubleClick); this.BtnClear.Clicked += new System.EventHandler(this.OnBtnClearClicked); this.TxtHour.ValueChanged += new System.EventHandler(this.OnTxtHourValueChanged); this.TxtHour.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTxtHourButtonPressEvent); this.TxtMin.ValueChanged += new System.EventHandler(this.OnTxtMinValueChanged); this.TxtMin.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTxtMinButtonPressEvent); this.TxtSec.ValueChanged += new System.EventHandler(this.OnTxtSecValueChanged); this.TxtSec.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTxtSecButtonPressEvent); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget omvviewerlight.TeleportTo Stetic.BinContainer.Attach(this); this.HeightRequest = 160; this.Name = "omvviewerlight.TeleportTo"; // Container child omvviewerlight.TeleportTo.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label_current = new Gtk.Label(); this.label_current.Name = "label_current"; this.label_current.LabelProp = Mono.Unix.Catalog.GetString("Current location: Hippotropollis 128,128,0"); this.vbox3.Add(this.label_current); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.label_current])); w1.Position = 0; w1.Expand = false; w1.Fill = false; this.vbox2.Add(this.vbox3); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Sim Name"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entry_simname = new Gtk.Entry(); this.entry_simname.CanFocus = true; this.entry_simname.Name = "entry_simname"; this.entry_simname.IsEditable = true; this.entry_simname.InvisibleChar = '●'; this.hbox1.Add(this.entry_simname); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry_simname])); w4.Position = 1; this.vbox5.Add(this.hbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("X"); this.hbox4.Add(this.label12); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox4[this.label12])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Y"); this.hbox4.Add(this.label13); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox4[this.label13])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Z"); this.hbox4.Add(this.label14); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox4[this.label14])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.vbox5.Add(this.hbox4); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox4])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Homogeneous = true; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.spinbutton_x = new Gtk.SpinButton(0, 255, 1); this.spinbutton_x.CanFocus = true; this.spinbutton_x.Name = "spinbutton_x"; this.spinbutton_x.Adjustment.PageIncrement = 10; this.spinbutton_x.ClimbRate = 1; this.spinbutton_x.Numeric = true; this.spinbutton_x.Value = 128; this.hbox5.Add(this.spinbutton_x); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox5[this.spinbutton_x])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.spinbutton_y = new Gtk.SpinButton(0, 255, 1); this.spinbutton_y.CanFocus = true; this.spinbutton_y.Name = "spinbutton_y"; this.spinbutton_y.Adjustment.PageIncrement = 10; this.spinbutton_y.ClimbRate = 1; this.spinbutton_y.Numeric = true; this.spinbutton_y.Value = 128; this.hbox5.Add(this.spinbutton_y); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox5[this.spinbutton_y])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.spinbutton_z = new Gtk.SpinButton(0, 4096, 1); this.spinbutton_z.CanFocus = true; this.spinbutton_z.Name = "spinbutton_z"; this.spinbutton_z.Adjustment.PageIncrement = 10; this.spinbutton_z.ClimbRate = 1; this.spinbutton_z.Numeric = true; this.spinbutton_z.Value = 50; this.hbox5.Add(this.spinbutton_z); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox5[this.spinbutton_z])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.vbox5.Add(this.hbox5); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Homogeneous = true; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.button_autopilot = new Gtk.Button(); this.button_autopilot.CanFocus = true; this.button_autopilot.Name = "button_autopilot"; this.button_autopilot.UseUnderline = true; // Container child button_autopilot.Gtk.Container+ContainerChild Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w15 = new Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w16 = new Gtk.Image(); w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_draw-curved-connector-starts-with-arrow", Gtk.IconSize.Menu, 16); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w18 = new Gtk.Label(); w18.LabelProp = Mono.Unix.Catalog.GetString("Move To"); w18.UseUnderline = true; w15.Add(w18); w14.Add(w15); this.button_autopilot.Add(w14); this.hbox2.Add(this.button_autopilot); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox2[this.button_autopilot])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.button_teleport = new Gtk.Button(); this.button_teleport.CanFocus = true; this.button_teleport.Name = "button_teleport"; this.button_teleport.UseUnderline = true; // Container child button_teleport.Gtk.Container+ContainerChild Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w24 = new Gtk.HBox(); w24.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w25 = new Gtk.Image(); w25.Pixbuf = MainClass.GetResource("icon_place.png"); w24.Add(w25); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w27 = new Gtk.Label(); w27.LabelProp = Mono.Unix.Catalog.GetString("Teleport"); w27.UseUnderline = true; w24.Add(w27); w23.Add(w24); this.button_teleport.Add(w23); this.hbox2.Add(this.button_teleport); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox2[this.button_teleport])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.button_tphome = new Gtk.Button(); this.button_tphome.CanFocus = true; this.button_tphome.Name = "button_tphome"; this.button_tphome.UseUnderline = true; // Container child button_tphome.Gtk.Container+ContainerChild Gtk.Alignment w32 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w33 = new Gtk.HBox(); w33.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w34 = new Gtk.Image(); w34.Pixbuf = MainClass.GetResource("map_home.png"); w33.Add(w34); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w36 = new Gtk.Label(); w36.LabelProp = Mono.Unix.Catalog.GetString("Go Home"); w36.UseUnderline = true; w33.Add(w36); w32.Add(w33); this.button_tphome.Add(w32); this.hbox2.Add(this.button_tphome); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox2[this.button_tphome])); w40.Position = 2; w40.Expand = false; w40.Fill = false; this.vbox5.Add(this.hbox2); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); w41.Position = 3; w41.Expand = false; w41.Fill = false; this.GtkAlignment.Add(this.vbox5); this.frame1.Add(this.GtkAlignment); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Teleport target</b>"); this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.vbox2.Add(this.frame1); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w44.Position = 1; w44.Expand = false; w44.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.spinbutton_x.ValueChanged += new System.EventHandler(this.OnSpinbuttonXValueChanged); this.spinbutton_y.ValueChanged += new System.EventHandler(this.OnSpinbuttonYValueChanged); this.spinbutton_z.ValueChanged += new System.EventHandler(this.OnSpinbuttonZValueChanged); this.button_autopilot.Clicked += new System.EventHandler(this.OnButtonAutopilotClicked); this.button_teleport.Activated += new System.EventHandler(this.OnButtonTeleportActivated); this.button_teleport.Clicked += new System.EventHandler(this.OnButtonTeleportClicked); this.button_tphome.Clicked += new System.EventHandler(this.OnButtonTphomeClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Do.Plugins.Rss.Configuration Stetic.BinContainer.Attach(this); this.Name = "Do.Plugins.Rss.Configuration"; // Container child Do.Plugins.Rss.Configuration.Gtk.Container+ContainerChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(6)); this.alignment1.TopPadding = ((uint)(6)); this.alignment1.RightPadding = ((uint)(6)); this.alignment1.BottomPadding = ((uint)(6)); // Container child alignment1.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.CacheDuration = new Gtk.SpinButton(0, 100, 1); this.CacheDuration.CanFocus = true; this.CacheDuration.Name = "CacheDuration"; this.CacheDuration.Adjustment.PageIncrement = 10; this.CacheDuration.ClimbRate = 1; this.CacheDuration.Numeric = true; this.table1.Add(this.CacheDuration); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.CacheDuration])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("OPML feed file"); this.table1.Add(this.label1); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Timeout (in seconds)"); this.table1.Add(this.label2); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Cache duration (in minutes)"); this.table1.Add(this.label3); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.OpmlChooser = new Gtk.FileChooserButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Select A File"), ((Gtk.FileChooserAction)(0))); this.OpmlChooser.Name = "OpmlChooser"; this.table1.Add(this.OpmlChooser); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.OpmlChooser])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.Timeout = new Gtk.SpinButton(0, 100, 1); this.Timeout.CanFocus = true; this.Timeout.Name = "Timeout"; this.Timeout.Adjustment.PageIncrement = 10; this.Timeout.ClimbRate = 1; this.Timeout.Numeric = true; this.table1.Add(this.Timeout); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.Timeout])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); this.alignment1.Add(this.table1); this.Add(this.alignment1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.Timeout.ValueChanged += new System.EventHandler(this.OnTimeoutValueChanged); this.OpmlChooser.FileActivated += new System.EventHandler(this.OnOpmlChooserFileActivated); this.CacheDuration.ValueChanged += new System.EventHandler(this.OnCacheDurationValueChanged); }
private Atk.Object GetAccessible(BasicWidgetType type, string text, object preWidget, bool real, bool embeddedImage) { Atk.Object accessible = null; Gtk.Widget widget = null; Gtk.Adjustment adj = new Gtk.Adjustment(50, 0, 100, 1, 10, 20); switch (type) { case BasicWidgetType.Label: widget = new Gtk.Label(); if (real) { widget = GailTestApp.MainClass.GiveMeARealLabel(); } ((Gtk.Label)widget).Text = text; break; case BasicWidgetType.NormalButton: widget = new Gtk.Button(); if (real) { widget = GailTestApp.MainClass.GiveMeARealButton(embeddedImage); } ((Gtk.Button)widget).Label = text; break; case BasicWidgetType.Window: widget = new Gtk.Window(text); if (real) { widget = GailTestApp.MainClass.GiveMeARealWindow(); } break; case BasicWidgetType.CheckBox: widget = new Gtk.CheckButton(); if (real) { widget = GailTestApp.MainClass.GiveMeARealCheckBox(embeddedImage); } ((Gtk.CheckButton)widget).Label = text; break; case BasicWidgetType.RadioButton: if (!real) { throw new NotSupportedException("We cannot use non-real radio buttons because of some wierd behaviour"); } widget = GailTestApp.MainClass.GiveMeARealRadioButton(embeddedImage); RunInGuiThread(delegate { ((Gtk.CheckButton)widget).Label = text; }); break; case BasicWidgetType.StatusBar: widget = new Gtk.Statusbar(); if (real) { widget = GailTestApp.MainClass.GiveMeARealStatusbar(); } ((Gtk.Statusbar)widget).Push(0, text); break; case BasicWidgetType.TextBoxEntry: if (!real) { throw new NotSupportedException(); } widget = GailTestApp.MainClass.GiveMeARealEntry(true); RunInGuiThread(delegate { ((Gtk.Entry)widget).Text = text; }); break; case BasicWidgetType.RichTextBox: case BasicWidgetType.TextBoxView: if (!real) { throw new NotSupportedException(); } widget = GailTestApp.MainClass.GiveMeARealTextView(); RunInGuiThread(delegate { ((Gtk.TextView)widget).Buffer.Text = text; }); break; case BasicWidgetType.PasswordCharTextBoxEntry: if (!real) { throw new NotSupportedException(); } widget = GailTestApp.MainClass.GiveMeARealEntry(false); RunInGuiThread(delegate { ((Gtk.Entry)widget).Text = text; }); break; case BasicWidgetType.HScrollBar: widget = new Gtk.HScrollbar(adj); if (real) { widget = GailTestApp.MainClass.GiveMeARealHScrollbar(); } break; case BasicWidgetType.VScrollBar: widget = new Gtk.VScrollbar(adj); if (real) { widget = GailTestApp.MainClass.GiveMeARealVScrollbar(); } break; case BasicWidgetType.ProgressBar: widget = new Gtk.ProgressBar(adj); if (real) { widget = GailTestApp.MainClass.GiveMeARealProgressBar(); } break; case BasicWidgetType.Spinner: widget = new Gtk.SpinButton(adj, 1, 2); if (real) { widget = GailTestApp.MainClass.GiveMeARealSpinButton(); } break; case BasicWidgetType.PictureBox: widget = new Gtk.Image(); if (real) { widget = GailTestApp.MainClass.GiveMeARealImage(embeddedImage); } break; case BasicWidgetType.ListView: case BasicWidgetType.TreeView: Gtk.TreeStore store = null; List <string> columnNames = new List <String> (); XmlDocument xml = new XmlDocument(); xml.LoadXml(text); foreach (XmlElement th in xml.GetElementsByTagName("th")) { foreach (XmlElement td in th.GetElementsByTagName("td")) { columnNames.Add(td.InnerText); } } if (columnNames.Count == 0) { columnNames.Add(string.Empty); } if (columnNames.Count == 1) { store = new Gtk.TreeStore(typeof(string)); } else if (columnNames.Count == 2) { store = new Gtk.TreeStore(typeof(string), typeof(string)); } else if (columnNames.Count == 3) { store = new Gtk.TreeStore(typeof(string), typeof(string), typeof(string)); } else { Assert.Fail("This test only supports 1-3 columns; got " + columnNames.Count); } Gtk.TreeIter[] iters = new Gtk.TreeIter [8]; XmlElement root = xml.DocumentElement; for (XmlNode node = root.FirstChild; node != null; node = node.NextSibling) { if (node.Name == "tr") { AddToTreeStore(store, iters, 0, node); } } widget = new Gtk.TreeView(store); if (real) { widget = GailTestApp.MainClass.GiveMeARealTreeView(); RunInGuiThread(delegate { ((Gtk.TreeView)widget).Model = store; }); } RunInGuiThread(delegate { Gtk.TreeView treeView = (Gtk.TreeView)widget; int i; for (i = treeView.Columns.Length - 1; i >= 0; i--) { treeView.RemoveColumn(treeView.Columns [i]); } i = 0; foreach (string columnName in columnNames) { Gtk.TreeViewColumn col = new Gtk.TreeViewColumn(); col.Title = columnName; treeView.AppendColumn(col); Gtk.CellRendererText cell = new Gtk.CellRendererText(); col.PackStart(cell, true); col.AddAttribute(cell, "text", i++); } ((Gtk.TreeView)widget).HeadersClickable = text.Contains("<th>"); ((Gtk.TreeView)widget).HeadersVisible = ((Gtk.TreeView)widget).HeadersClickable; }); break; case BasicWidgetType.ContainerPanel: widget = new Gtk.Frame(); if (real) { widget = GailTestApp.MainClass.GiveMeARealFrame(); } break; case BasicWidgetType.HSplitContainer: widget = new Gtk.HPaned(); if (real) { widget = GailTestApp.MainClass.GiveMeARealHPaned(); } break; case BasicWidgetType.VTrackBar: widget = new Gtk.VScale(adj); if (real) { widget = GailTestApp.MainClass.GiveMeARealVScale(); } break; case BasicWidgetType.ComboBoxDropDownEntry: case BasicWidgetType.ComboBoxDropDownList: case BasicWidgetType.ComboBoxSimple: throw new NotSupportedException("You have to use the GetObject overload that receives a name array"); default: throw new NotImplementedException("The widget finder backend still hasn't got support for " + type.ToString()); } accessible = widget.Accessible; mappings [accessible] = widget; return(accessible); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget mperfmon.Preferences this.Name = "mperfmon.Preferences"; this.Title = Mono.Unix.Catalog.GetString("Mono Perf Monitor preferences"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.HasSeparator = false; // Internal child mperfmon.Preferences.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new 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)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Update interval (seconds):"); this.table1.Add(this.label1); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.update_interval = new Gtk.SpinButton(0.2, 60, 0.2); this.update_interval.CanFocus = true; this.update_interval.Name = "update_interval"; this.update_interval.Adjustment.PageIncrement = 1; this.update_interval.Adjustment.PageSize = 1; this.update_interval.ClimbRate = 1; this.update_interval.Digits = ((uint)(1)); this.update_interval.Numeric = true; this.update_interval.SnapToTicks = true; this.update_interval.Value = 1; this.table1.Add(this.update_interval); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.update_interval])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.table1])); w4.Position = 0; // Internal child mperfmon.Preferences.ActionArea Gtk.HButtonBox w5 = this.ActionArea; w5.Name = "dialog1_ActionArea"; w5.Spacing = 6; w5.BorderWidth = ((uint)(5)); w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel])); w6.Expand = false; w6.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk])); w7.Position = 1; w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 290; this.DefaultHeight = 248; this.Show(); }
private void Build() { var frmFile = new Gtk.Frame( "" ); var frmFormat = new Gtk.Frame( "" ); var frmNumQuestions = new Gtk.Frame( "" ); var hBoxFile = new Gtk.HBox( false, 5 ); this.BuildIcons(); // Frame labels ( (Gtk.Label) frmFile.LabelWidget ).Markup = "<b>File</b>"; ( (Gtk.Label) frmFormat.LabelWidget ).Markup = "<b>Format</b>"; ( (Gtk.Label) frmNumQuestions.LabelWidget ).Markup = "<b>Number of questions</b>"; // File chooser this.edFileName = new Gtk.Entry { IsEditable = false }; this.btSaveAs = new Gtk.Button( "..." ); this.btSaveAs.Clicked += (sender, e) => this.OnSaveAsClicked(); hBoxFile.PackStart( this.edFileName, true, true, 5 ); hBoxFile.PackStart( this.btSaveAs, false, false, 5 ); frmFile.Add( hBoxFile ); // Combo box of formats this.cbFormat = new Gtk.ComboBox( new string[] {} ); foreach(string f in Enum.GetNames( typeof( Transformer.Format ) ) ) { this.cbFormat.AppendText( f ); } this.cbFormat.Active = 0; this.cbFormat.Changed += (sender, e) => this.UpdateExtensionHonoringFormat(); frmFormat.Add( this.cbFormat ); // Spinner for number of questions this.sbNumQuestions = new Gtk.SpinButton( 1, this.Document.CountQuestions, 1 ); this.sbNumQuestions.Value = this.Document.CountQuestions; frmNumQuestions.Add( this.sbNumQuestions ); // Layout this.VBox.PackStart( frmFile, true, true, 5 ); this.VBox.PackStart( frmFormat, true, false, 5 ); this.VBox.PackStart( frmNumQuestions, true, false, 5 ); // Buttons this.btSave = new Gtk.Button( new Gtk.Image( this.iconSave ) ); this.btSave.Clicked += (sender, e) => this.Respond( Gtk.ResponseType.Accept ); this.btClose = new Gtk.Button( new Gtk.Image( this.iconClose ) ); this.btClose.Clicked += (sender, e) => this.Respond( Gtk.ResponseType.Close ); this.ActionArea.PackStart( btClose ); this.ActionArea.PackStart( btSave ); this.ShowAll(); }
protected virtual void Build() { //global::Stetic.Gui.Initialize(this); // Widget MainWindow Title = Mono.Unix.Catalog.GetString("MPD Connection Settings"); WindowPosition = (Gtk.WindowPosition)4; Resizable = false; //this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild vbox1 = new Gtk.VBox(); vbox1.Name = "vbox1"; vbox1.Spacing = 12; vbox1.BorderWidth = (uint)12; // Container child vbox1.Gtk.Box+BoxChild DescriptionLabel = new Gtk.Label(); DescriptionLabel.Name = "DescriptionLabel"; DescriptionLabel.Xalign = 0F; DescriptionLabel.LabelProp = Mono.Unix.Catalog.GetString("Provide MPD connection settings"); vbox1.Add(DescriptionLabel); Gtk.Box.BoxChild w1 = (Gtk.Box.BoxChild)vbox1[DescriptionLabel]; w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild hbox1 = new Gtk.HBox(); hbox1.Name = "hbox1"; hbox1.Spacing = 12; // Container child hbox1.Gtk.Box+BoxChild HostLabel = new Gtk.Label(); HostLabel.Name = "HostLabel"; HostLabel.LabelProp = Mono.Unix.Catalog.GetString("Host"); hbox1.Add(HostLabel); Gtk.Box.BoxChild w2 = (Gtk.Box.BoxChild)hbox1[HostLabel]; w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Host = new Gtk.Entry(); Host.CanFocus = true; Host.Name = "Host"; Host.IsEditable = true; Host.InvisibleChar = '●'; hbox1.Add(Host); Gtk.Box.BoxChild w3 = (Gtk.Box.BoxChild)hbox1[Host]; w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild PortLabel = new Gtk.Label(); PortLabel.Name = "PortLabel"; PortLabel.LabelProp = Mono.Unix.Catalog.GetString("Port"); hbox1.Add(PortLabel); Gtk.Box.BoxChild w4 = (Gtk.Box.BoxChild)hbox1[PortLabel]; w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild PortNumber = new Gtk.SpinButton(1D, 65535D, 1D); PortNumber.CanFocus = true; PortNumber.Name = "PortNumber"; PortNumber.Adjustment.PageIncrement = 10D; PortNumber.ClimbRate = 1D; PortNumber.Numeric = true; PortNumber.Value = 1D; hbox1.Add(PortNumber); Gtk.Box.BoxChild w5 = (Gtk.Box.BoxChild)hbox1[PortNumber]; w5.Position = 3; w5.Expand = false; w5.Fill = false; vbox1.Add(hbox1); Gtk.Box.BoxChild w6 = (Gtk.Box.BoxChild)vbox1[hbox1]; w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild hbox2 = new Gtk.HBox(); hbox2.Name = "hbox2"; hbox2.Spacing = 12; // Container child hbox2.Gtk.Box+BoxChild scrolledwindow1 = new Gtk.ScrolledWindow(); scrolledwindow1.CanFocus = true; scrolledwindow1.Name = "scrolledwindow1"; scrolledwindow1.VscrollbarPolicy = (Gtk.PolicyType)2; scrolledwindow1.HscrollbarPolicy = (Gtk.PolicyType)2; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w7 = new Gtk.Viewport(); w7.ShadowType = (Gtk.ShadowType)0; // Container child GtkViewport.Gtk.Container+ContainerChild ErrorText = new Gtk.Label(); ErrorText.Name = "ErrorText"; ErrorText.Xalign = 0F; ErrorText.Yalign = 0F; ErrorText.Wrap = true; w7.Add(ErrorText); scrolledwindow1.Add(w7); hbox2.Add(scrolledwindow1); Gtk.Box.BoxChild w10 = (Gtk.Box.BoxChild)hbox2[scrolledwindow1]; w10.Position = 0; // Container child hbox2.Gtk.Box+BoxChild alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 0F); alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild ConnectButton = new Gtk.Button(); ConnectButton.CanFocus = true; ConnectButton.Name = "ConnectButton"; ConnectButton.UseUnderline = true; ConnectButton.Label = Mono.Unix.Catalog.GetString("Connect"); alignment1.Add(ConnectButton); hbox2.Add(alignment1); Gtk.Box.BoxChild w12 = (Gtk.Box.BoxChild)hbox2[alignment1]; w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child hbox2.Gtk.Box+BoxChild alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 0F); alignment2.Name = "alignment2"; // Container child alignment2.Gtk.Container+ContainerChild CloseButton = new Gtk.Button(); CloseButton.CanFocus = true; CloseButton.Name = "CloseButton"; CloseButton.UseUnderline = true; CloseButton.Label = Mono.Unix.Catalog.GetString("Close"); alignment2.Add(CloseButton); hbox2.Add(alignment2); Gtk.Box.BoxChild w14 = (Gtk.Box.BoxChild)hbox2[alignment2]; w14.Position = 2; w14.Expand = false; w14.Fill = false; vbox1.Add(hbox2); Gtk.Box.BoxChild w15 = (Gtk.Box.BoxChild)vbox1[hbox2]; w15.Position = 2; w15.Expand = false; w15.Fill = false; Add(vbox1); if (Child != null) { Child.ShowAll(); } DefaultWidth = 400; DefaultHeight = 300; Show(); }
public Gtk.Widget MakeSyncPane () { Gtk.VBox vbox = new Gtk.VBox (false, 0); vbox.Spacing = 4; vbox.BorderWidth = 8; Gtk.HBox hbox = new Gtk.HBox (false, 4); Gtk.Label label = new Gtk.Label (Catalog.GetString ("Ser_vice:")); label.Xalign = 0; label.Show (); hbox.PackStart (label, false, false, 0); // Populate the store with all the available SyncServiceAddins syncAddinStore = new Gtk.ListStore (typeof (SyncServiceAddin)); syncAddinIters = new Dictionary<string,Gtk.TreeIter> (); SyncServiceAddin [] addins = Tomboy.DefaultNoteManager.AddinManager.GetSyncServiceAddins (); Array.Sort (addins, CompareSyncAddinsByName); foreach (SyncServiceAddin addin in addins) { Gtk.TreeIter iter = syncAddinStore.Append (); syncAddinStore.SetValue (iter, 0, addin); syncAddinIters [addin.Id] = iter; } syncAddinCombo = new Gtk.ComboBox (syncAddinStore); label.MnemonicWidget = syncAddinCombo; Gtk.CellRendererText crt = new Gtk.CellRendererText (); syncAddinCombo.PackStart (crt, true); syncAddinCombo.SetCellDataFunc (crt, new Gtk.CellLayoutDataFunc (ComboBoxTextDataFunc)); // Read from Preferences which service is configured and select it // by default. Otherwise, just select the first one in the list. string addin_id = Preferences.Get ( Preferences.SYNC_SELECTED_SERVICE_ADDIN) as String; Gtk.TreeIter active_iter; if (addin_id != null && syncAddinIters.ContainsKey (addin_id)) { active_iter = syncAddinIters [addin_id]; syncAddinCombo.SetActiveIter (active_iter); } else { if (syncAddinStore.GetIterFirst (out active_iter) == true) { syncAddinCombo.SetActiveIter (active_iter); } } syncAddinCombo.Changed += OnSyncAddinComboChanged; syncAddinCombo.Show (); hbox.PackStart (syncAddinCombo, true, true, 0); hbox.Show (); vbox.PackStart (hbox, false, false, 0); // Get the preferences GUI for the Sync Addin if (active_iter.Stamp != Gtk.TreeIter.Zero.Stamp) selectedSyncAddin = syncAddinStore.GetValue (active_iter, 0) as SyncServiceAddin; if (selectedSyncAddin != null) syncAddinPrefsWidget = selectedSyncAddin.CreatePreferencesControl (OnSyncAddinPrefsChanged); if (syncAddinPrefsWidget == null) { Gtk.Label l = new Gtk.Label (Catalog.GetString ("Not configurable")); l.Yalign = 0.5f; l.Yalign = 0.5f; syncAddinPrefsWidget = l; } if (syncAddinPrefsWidget != null && addin_id != null && syncAddinIters.ContainsKey (addin_id) && selectedSyncAddin.IsConfigured) syncAddinPrefsWidget.Sensitive = false; syncAddinPrefsWidget.Show (); syncAddinPrefsContainer = new Gtk.VBox (false, 0); syncAddinPrefsContainer.PackStart (syncAddinPrefsWidget, false, false, 0); syncAddinPrefsContainer.Show (); vbox.PackStart (syncAddinPrefsContainer, true, true, 10); // Autosync preference int timeout = (int) Preferences.Get (Preferences.SYNC_AUTOSYNC_TIMEOUT); if (timeout > 0 && timeout < 5) { timeout = 5; Preferences.Set (Preferences.SYNC_AUTOSYNC_TIMEOUT, 5); } Gtk.HBox autosyncBox = new Gtk.HBox (false, 5); // Translators: This is and the next string go together. // Together they look like "Automatically Sync in Background Every [_] Minutes", // where "[_]" is a GtkSpinButton. autosyncCheck = new Gtk.CheckButton (Catalog.GetString ("Automaticall_y Sync in Background Every")); autosyncSpinner = new Gtk.SpinButton (5, 1000, 1); autosyncSpinner.Value = timeout >= 5 ? timeout : 10; Gtk.Label autosyncExtraText = // Translators: See above comment for details on // this string. new Gtk.Label (Catalog.GetString ("Minutes")); autosyncCheck.Active = autosyncSpinner.Sensitive = timeout >= 5; EventHandler updateTimeoutPref = (o, e) => { Preferences.Set (Preferences.SYNC_AUTOSYNC_TIMEOUT, autosyncCheck.Active ? (int) autosyncSpinner.Value : -1); }; autosyncCheck.Toggled += (o, e) => { autosyncSpinner.Sensitive = autosyncCheck.Active; updateTimeoutPref (o, e); }; autosyncSpinner.ValueChanged += updateTimeoutPref; autosyncBox.PackStart (autosyncCheck); autosyncBox.PackStart (autosyncSpinner); autosyncBox.PackStart (autosyncExtraText); vbox.PackStart (autosyncBox, false, true, 0); Gtk.HButtonBox bbox = new Gtk.HButtonBox (); bbox.Spacing = 4; bbox.LayoutStyle = Gtk.ButtonBoxStyle.End; // "Advanced..." button to bring up extra sync config dialog Gtk.Button advancedConfigButton = new Gtk.Button (Catalog.GetString ("_Advanced...")); advancedConfigButton.Clicked += OnAdvancedSyncConfigButton; advancedConfigButton.Show (); bbox.PackStart (advancedConfigButton, false, false, 0); bbox.SetChildSecondary (advancedConfigButton, true); resetSyncAddinButton = new Gtk.Button (Gtk.Stock.Clear); resetSyncAddinButton.Clicked += OnResetSyncAddinButton; resetSyncAddinButton.Sensitive = (selectedSyncAddin != null && addin_id == selectedSyncAddin.Id && selectedSyncAddin.IsConfigured); resetSyncAddinButton.Show (); bbox.PackStart (resetSyncAddinButton, false, false, 0); // TODO: Tabbing should go directly from sync prefs widget to here // TODO: Consider connecting to "Enter" pressed in sync prefs widget saveSyncAddinButton = new Gtk.Button (Gtk.Stock.Save); saveSyncAddinButton.Clicked += OnSaveSyncAddinButton; saveSyncAddinButton.Sensitive = (selectedSyncAddin != null && (addin_id != selectedSyncAddin.Id || !selectedSyncAddin.IsConfigured)); saveSyncAddinButton.Show (); bbox.PackStart (saveSyncAddinButton, false, false, 0); syncAddinCombo.Sensitive = (selectedSyncAddin == null || addin_id != selectedSyncAddin.Id || !selectedSyncAddin.IsConfigured); bbox.Show (); vbox.PackStart (bbox, false, false, 0); vbox.ShowAll (); return vbox; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget HollyLibrary.HColorPickerWidget Stetic.BinContainer.Attach(this); this.Name = "HollyLibrary.HColorPickerWidget"; // Container child HollyLibrary.HColorPickerWidget.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 7; this.hbox2.BorderWidth = ((uint)(6)); // Container child hbox2.Gtk.Box+BoxChild this.ColorWell = new HollyLibrary.ColorPanel(); this.ColorWell.WidthRequest = 250; this.ColorWell.HeightRequest = 200; this.ColorWell.Name = "ColorWell"; this.hbox2.Add(this.ColorWell); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.ColorWell])); w1.Position = 1; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.Slider = new HollyLibrary.VerticalColorSlider(); this.Slider.WidthRequest = 50; this.Slider.Name = "Slider"; this.hbox2.Add(this.Slider); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.Slider])); w2.Position = 2; w2.Expand = false; w2.Fill = false; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ChkR1 = new Gtk.RadioButton("R:"); this.ChkR1.CanFocus = true; this.ChkR1.Name = "ChkR1"; this.ChkR1.Active = true; this.ChkR1.DrawIndicator = true; this.ChkR1.UseUnderline = true; this.ChkR1.Group = new GLib.SList(System.IntPtr.Zero); this.hbox3.Add(this.ChkR1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox3[this.ChkR1])); w4.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.TxtRed = new Gtk.SpinButton(0, 255, 1); this.TxtRed.CanFocus = true; this.TxtRed.Name = "TxtRed"; this.TxtRed.Adjustment.PageIncrement = 10; this.TxtRed.ClimbRate = 1; this.TxtRed.Numeric = true; this.hbox3.Add(this.TxtRed); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtRed])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.ChkG = new Gtk.RadioButton("G:"); this.ChkG.CanFocus = true; this.ChkG.Name = "ChkG"; this.ChkG.DrawIndicator = true; this.ChkG.UseUnderline = true; this.ChkG.Group = this.ChkR1.Group; this.hbox3.Add(this.ChkG); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.ChkG])); w6.Position = 2; // Container child hbox3.Gtk.Box+BoxChild this.TxtGreen = new Gtk.SpinButton(0, 255, 1); this.TxtGreen.CanFocus = true; this.TxtGreen.Name = "TxtGreen"; this.TxtGreen.Adjustment.PageIncrement = 10; this.TxtGreen.ClimbRate = 1; this.TxtGreen.Numeric = true; this.hbox3.Add(this.TxtGreen); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtGreen])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.CkkB = new Gtk.RadioButton("B:"); this.CkkB.CanFocus = true; this.CkkB.Name = "CkkB"; this.CkkB.DrawIndicator = true; this.CkkB.UseUnderline = true; this.CkkB.Group = this.ChkR1.Group; this.hbox3.Add(this.CkkB); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.CkkB])); w8.Position = 4; // Container child hbox3.Gtk.Box+BoxChild this.TxtBlue = new Gtk.SpinButton(0, 255, 1); this.TxtBlue.CanFocus = true; this.TxtBlue.Name = "TxtBlue"; this.TxtBlue.Adjustment.PageIncrement = 10; this.TxtBlue.ClimbRate = 1; this.TxtBlue.Numeric = true; this.hbox3.Add(this.TxtBlue); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.TxtBlue])); w9.Position = 5; w9.Expand = false; w9.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w11.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild this.Preview = new Gtk.DrawingArea(); this.Preview.WidthRequest = 100; this.Preview.HeightRequest = 100; this.Preview.Name = "Preview"; this.GtkAlignment.Add(this.Preview); this.frame1.Add(this.GtkAlignment); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = "<b>Preview</b>"; this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.vbox1.Add(this.frame1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(4)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.chkB = new Gtk.RadioButton("B:"); this.chkB.CanFocus = true; this.chkB.Name = "chkB"; this.chkB.DrawIndicator = true; this.chkB.UseUnderline = true; this.chkB.Group = this.ChkR1.Group; this.table1.Add(this.chkB); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.chkB])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkH = new Gtk.RadioButton("H:"); this.chkH.CanFocus = true; this.chkH.Name = "chkH"; this.chkH.DrawIndicator = true; this.chkH.UseUnderline = true; this.chkH.Group = this.ChkR1.Group; this.table1.Add(this.chkH); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.chkH])); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkS = new Gtk.RadioButton("S:"); this.chkS.CanFocus = true; this.chkS.Name = "chkS"; this.chkS.DrawIndicator = true; this.chkS.UseUnderline = true; this.chkS.Group = this.ChkR1.Group; this.table1.Add(this.chkS); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.chkS])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = "K:"; this.table1.Add(this.label2); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(2)); w18.RightAttach = ((uint)(3)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = "C:"; this.table1.Add(this.label5); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = "M:"; this.table1.Add(this.label6); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.label6])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = "Y:"; this.table1.Add(this.label7); Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.label7])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(2)); w21.RightAttach = ((uint)(3)); w21.XOptions = ((Gtk.AttachOptions)(4)); w21.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtB = new Gtk.SpinButton(0, 100, 1); this.TxtB.CanFocus = true; this.TxtB.Name = "TxtB"; this.TxtB.Adjustment.PageIncrement = 10; this.TxtB.ClimbRate = 1; this.TxtB.Numeric = true; this.table1.Add(this.TxtB); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.TxtB])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.LeftAttach = ((uint)(1)); w22.RightAttach = ((uint)(2)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtC = new Gtk.SpinButton(0, 100, 1); this.TxtC.CanFocus = true; this.TxtC.Name = "TxtC"; this.TxtC.Adjustment.PageIncrement = 10; this.TxtC.ClimbRate = 1; this.TxtC.Numeric = true; this.table1.Add(this.TxtC); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.TxtC])); w23.LeftAttach = ((uint)(3)); w23.RightAttach = ((uint)(4)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtH = new Gtk.SpinButton(0, 360, 1); this.TxtH.CanFocus = true; this.TxtH.Name = "TxtH"; this.TxtH.Adjustment.PageIncrement = 10; this.TxtH.ClimbRate = 1; this.TxtH.Numeric = true; this.table1.Add(this.TxtH); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.TxtH])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtK = new Gtk.SpinButton(0, 100, 1); this.TxtK.CanFocus = true; this.TxtK.Name = "TxtK"; this.TxtK.Adjustment.PageIncrement = 10; this.TxtK.ClimbRate = 1; this.TxtK.Numeric = true; this.TxtK.Value = 1; this.table1.Add(this.TxtK); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.TxtK])); w25.TopAttach = ((uint)(3)); w25.BottomAttach = ((uint)(4)); w25.LeftAttach = ((uint)(3)); w25.RightAttach = ((uint)(4)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtM = new Gtk.SpinButton(0, 100, 1); this.TxtM.CanFocus = true; this.TxtM.Name = "TxtM"; this.TxtM.Adjustment.PageIncrement = 10; this.TxtM.ClimbRate = 1; this.TxtM.Numeric = true; this.table1.Add(this.TxtM); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.TxtM])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(3)); w26.RightAttach = ((uint)(4)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtS = new Gtk.SpinButton(0, 100, 1); this.TxtS.CanFocus = true; this.TxtS.Name = "TxtS"; this.TxtS.Adjustment.PageIncrement = 10; this.TxtS.ClimbRate = 1; this.TxtS.Numeric = true; this.table1.Add(this.TxtS); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.TxtS])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.TxtY = new Gtk.SpinButton(0, 100, 1); this.TxtY.CanFocus = true; this.TxtY.Name = "TxtY"; this.TxtY.Adjustment.PageIncrement = 10; this.TxtY.ClimbRate = 1; this.TxtY.Numeric = true; this.table1.Add(this.TxtY); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.TxtY])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(3)); w28.RightAttach = ((uint)(4)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "#"; this.hbox4.Add(this.label1); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox4[this.label1])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.TxtHexa = new HollyLibrary.HRegExEntry(); this.TxtHexa.Events = ((Gdk.EventMask)(256)); this.TxtHexa.Name = "TxtHexa"; this.TxtHexa.RegularExpression = "^?[0-9A-F]{6}$"; this.TxtHexa.OkMessage = "Color hexa code is correct"; this.TxtHexa.ErrorMessage = "Error in color code !"; this.hbox4.Add(this.TxtHexa); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox4[this.TxtHexa])); w31.Position = 1; this.vbox1.Add(this.hbox4); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w32.PackType = ((Gtk.PackType)(1)); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.hbox1.Add(this.vbox1); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox1])); w33.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.ColorWell.Scroll += new System.EventHandler(this.OnColorWellScroll); this.Slider.Scroll += new System.EventHandler(this.OnSliderScroll); this.ChkR1.Toggled += new System.EventHandler(this.OnChkRToggled); this.TxtRed.ValueChanged += new System.EventHandler(this.OnTxtRedValueChanged); this.ChkG.Toggled += new System.EventHandler(this.OnChkGToggled); this.TxtGreen.ValueChanged += new System.EventHandler(this.OnTxtGreenValueChanged); this.CkkB.Toggled += new System.EventHandler(this.OnCkkBToggled); this.TxtBlue.ValueChanged += new System.EventHandler(this.OnTxtBlueValueChanged); this.Preview.ExposeEvent += new Gtk.ExposeEventHandler(this.OnPreviewExposeEvent); this.TxtY.ValueChanged += new System.EventHandler(this.OnTxtYValueChanged); this.TxtS.ValueChanged += new System.EventHandler(this.OnTxtSValueChanged); this.TxtM.ValueChanged += new System.EventHandler(this.OnTxtMValueChanged); this.TxtK.ValueChanged += new System.EventHandler(this.OnTxtKValueChanged); this.TxtH.ValueChanged += new System.EventHandler(this.OnTxtHValueChanged); this.TxtC.ValueChanged += new System.EventHandler(this.OnTxtCValueChanged); this.TxtB.ValueChanged += new System.EventHandler(this.OnTxtBValueChanged); this.chkS.Toggled += new System.EventHandler(this.OnChkSToggled); this.chkH.Toggled += new System.EventHandler(this.OnChkHToggled); this.chkB.Toggled += new System.EventHandler(this.OnChkBToggled); this.TxtHexa.Changed += new System.EventHandler(this.OnTxtHexaChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget CBinding.CodeGenerationPanel Stetic.BinContainer.Attach(this); this.Name = "CBinding.CodeGenerationPanel"; // Container child CBinding.CodeGenerationPanel.Gtk.Container+ContainerChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 3; // Container child vbox6.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(5)); this.table1.ColumnSpacing = ((uint)(5)); this.table1.BorderWidth = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xpad = 10; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Warning Level:"); this.table1.Add(this.label4); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xpad = 10; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Optimization Level:"); this.table1.Add(this.label5); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xpad = 10; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Target:"); this.table1.Add(this.label6); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label6])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.optimizationSpinButton = new Gtk.SpinButton(0, 3, 1); this.optimizationSpinButton.CanFocus = true; this.optimizationSpinButton.Name = "optimizationSpinButton"; this.optimizationSpinButton.Adjustment.PageIncrement = 10; this.optimizationSpinButton.ClimbRate = 1; this.optimizationSpinButton.Numeric = true; this.table1.Add(this.optimizationSpinButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.optimizationSpinButton])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.targetComboBox = Gtk.ComboBox.NewText(); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Executable")); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Static Library")); this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Shared Object")); this.targetComboBox.Name = "targetComboBox"; this.table1.Add(this.targetComboBox); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.targetComboBox])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 1; // Container child vbox1.Gtk.Box+BoxChild this.noWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("no warnings")); this.noWarningRadio.CanFocus = true; this.noWarningRadio.Name = "noWarningRadio"; this.noWarningRadio.Active = true; this.noWarningRadio.DrawIndicator = true; this.noWarningRadio.UseUnderline = true; this.noWarningRadio.Group = new GLib.SList(System.IntPtr.Zero); this.vbox1.Add(this.noWarningRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.noWarningRadio])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.normalWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("normal")); this.normalWarningRadio.CanFocus = true; this.normalWarningRadio.Name = "normalWarningRadio"; this.normalWarningRadio.DrawIndicator = true; this.normalWarningRadio.UseUnderline = true; this.normalWarningRadio.Group = this.noWarningRadio.Group; this.vbox1.Add(this.normalWarningRadio); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.normalWarningRadio])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.allWarningRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("all")); this.allWarningRadio.CanFocus = true; this.allWarningRadio.Name = "allWarningRadio"; this.allWarningRadio.DrawIndicator = true; this.allWarningRadio.UseUnderline = true; this.allWarningRadio.Group = this.noWarningRadio.Group; this.vbox1.Add(this.allWarningRadio); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.allWarningRadio])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.table1.Add(this.vbox1); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.vbox1])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); this.vbox6.Add(this.table1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox6[this.table1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xpad = 13; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Define Symbols:"); this.hbox1.Add(this.label12); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.label12])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.defineSymbolsTextEntry = new Gtk.Entry(); Gtk.Tooltips w12 = new Gtk.Tooltips(); w12.SetTip(this.defineSymbolsTextEntry, "A space seperated list of symbols to define.", "A space seperated list of symbols to define."); this.defineSymbolsTextEntry.CanFocus = true; this.defineSymbolsTextEntry.Name = "defineSymbolsTextEntry"; this.defineSymbolsTextEntry.IsEditable = true; this.defineSymbolsTextEntry.InvisibleChar = '●'; this.hbox1.Add(this.defineSymbolsTextEntry); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox1[this.defineSymbolsTextEntry])); w13.Position = 1; w13.Padding = ((uint)(14)); this.vbox6.Add(this.hbox1); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1])); w14.Position = 1; w14.Expand = false; w14.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); this.frame2.LabelXalign = 0F; this.frame2.LabelYalign = 0F; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table5 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(9)); this.table5.BorderWidth = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Extra Linker Options"); this.table5.Add(this.label11); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.label11])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Extra Compiler Options"); this.table5.Add(this.label7); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.label7])); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.CanFocus = true; this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow4.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.extraCompilerTextView = new Gtk.TextView(); w12.SetTip(this.extraCompilerTextView, "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`", "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`"); this.extraCompilerTextView.CanFocus = true; this.extraCompilerTextView.Name = "extraCompilerTextView"; this.scrolledwindow4.Add(this.extraCompilerTextView); this.table5.Add(this.scrolledwindow4); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow4])); w18.TopAttach = ((uint)(1)); w18.BottomAttach = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.CanFocus = true; this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow5.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.extraLinkerTextView = new Gtk.TextView(); w12.SetTip(this.extraLinkerTextView, "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`", "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`"); this.extraLinkerTextView.CanFocus = true; this.extraLinkerTextView.Name = "extraLinkerTextView"; this.scrolledwindow5.Add(this.extraLinkerTextView); this.table5.Add(this.scrolledwindow5); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow5])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); this.GtkAlignment.Add(this.table5); this.frame2.Add(this.GtkAlignment); this.GtkLabel12 = new Gtk.Label(); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>Extra Options</b>"); this.GtkLabel12.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel12; this.vbox6.Add(this.frame2); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame2])); w23.Position = 2; this.notebook1.Add(this.vbox6); Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6])); w24.TabExpand = false; // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Code Generation"); this.notebook1.SetTabLabel(this.vbox6, this.label1); // Container child notebook1.Gtk.Notebook+NotebookChild this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(10)); this.table2.ColumnSpacing = ((uint)(10)); this.table2.BorderWidth = ((uint)(3)); // Container child table2.Gtk.Table+TableChild this.addLibButton = new Gtk.Button(); this.addLibButton.Sensitive = false; this.addLibButton.CanFocus = true; this.addLibButton.Name = "addLibButton"; this.addLibButton.UseUnderline = true; this.addLibButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table2.Add(this.addLibButton); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table2[this.addLibButton])); w25.LeftAttach = ((uint)(2)); w25.RightAttach = ((uint)(3)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Library:"); this.table2.Add(this.label8); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table2[this.label8])); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.libAddEntry = new Gtk.Entry(); this.libAddEntry.CanFocus = true; this.libAddEntry.Name = "libAddEntry"; this.libAddEntry.IsEditable = true; this.libAddEntry.InvisibleChar = '●'; this.table2.Add(this.libAddEntry); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table2[this.libAddEntry])); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.libTreeView = new Gtk.TreeView(); this.libTreeView.CanFocus = true; this.libTreeView.Name = "libTreeView"; this.libTreeView.HeadersClickable = true; this.scrolledwindow1.Add(this.libTreeView); this.table2.Add(this.scrolledwindow1); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow1])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.browseButton = new Gtk.Button(); this.browseButton.CanFocus = true; this.browseButton.Name = "browseButton"; this.browseButton.UseUnderline = true; this.browseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox4.Add(this.browseButton); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox4[this.browseButton])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.removeLibButton = new Gtk.Button(); this.removeLibButton.Sensitive = false; this.removeLibButton.CanFocus = true; this.removeLibButton.Name = "removeLibButton"; this.removeLibButton.UseUnderline = true; this.removeLibButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox4.Add(this.removeLibButton); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.removeLibButton])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.table2.Add(this.vbox4); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.vbox4])); w32.TopAttach = ((uint)(1)); w32.BottomAttach = ((uint)(2)); w32.LeftAttach = ((uint)(2)); w32.RightAttach = ((uint)(3)); w32.XOptions = ((Gtk.AttachOptions)(4)); this.notebook1.Add(this.table2); Gtk.Notebook.NotebookChild w33 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table2])); w33.Position = 1; w33.TabExpand = false; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Libraries"); this.notebook1.SetTabLabel(this.table2, this.label2); // Container child notebook1.Gtk.Notebook+NotebookChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; this.vbox7.BorderWidth = ((uint)(3)); // Container child vbox7.Gtk.Box+BoxChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(10)); this.table4.ColumnSpacing = ((uint)(10)); // Container child table4.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Library:"); this.table4.Add(this.label10); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table4[this.label10])); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.libPathAddButton = new Gtk.Button(); this.libPathAddButton.Sensitive = false; this.libPathAddButton.CanFocus = true; this.libPathAddButton.Name = "libPathAddButton"; this.libPathAddButton.UseUnderline = true; this.libPathAddButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table4.Add(this.libPathAddButton); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table4[this.libPathAddButton])); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.libPathEntry = new Gtk.Entry(); this.libPathEntry.CanFocus = true; this.libPathEntry.Name = "libPathEntry"; this.libPathEntry.IsEditable = true; this.libPathEntry.InvisibleChar = '●'; this.table4.Add(this.libPathEntry); Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table4[this.libPathEntry])); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.CanFocus = true; this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow3.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.libPathTreeView = new Gtk.TreeView(); this.libPathTreeView.CanFocus = true; this.libPathTreeView.Name = "libPathTreeView"; this.libPathTreeView.HeadersClickable = true; this.scrolledwindow3.Add(this.libPathTreeView); this.table4.Add(this.scrolledwindow3); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow3])); w38.TopAttach = ((uint)(1)); w38.BottomAttach = ((uint)(2)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.libPathBrowseButton = new Gtk.Button(); this.libPathBrowseButton.CanFocus = true; this.libPathBrowseButton.Name = "libPathBrowseButton"; this.libPathBrowseButton.UseUnderline = true; this.libPathBrowseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox3.Add(this.libPathBrowseButton); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathBrowseButton])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.libPathRemoveButton = new Gtk.Button(); this.libPathRemoveButton.Sensitive = false; this.libPathRemoveButton.CanFocus = true; this.libPathRemoveButton.Name = "libPathRemoveButton"; this.libPathRemoveButton.UseUnderline = true; this.libPathRemoveButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox3.Add(this.libPathRemoveButton); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathRemoveButton])); w40.Position = 1; w40.Expand = false; w40.Fill = false; this.table4.Add(this.vbox3); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table4[this.vbox3])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.LeftAttach = ((uint)(2)); w41.RightAttach = ((uint)(3)); w41.XOptions = ((Gtk.AttachOptions)(4)); this.vbox7.Add(this.table4); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4])); w42.Position = 0; // Container child vbox7.Gtk.Box+BoxChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(10)); this.table3.ColumnSpacing = ((uint)(10)); // Container child table3.Gtk.Table+TableChild this.includePathAddButton = new Gtk.Button(); this.includePathAddButton.Sensitive = false; this.includePathAddButton.CanFocus = true; this.includePathAddButton.Name = "includePathAddButton"; this.includePathAddButton.UseUnderline = true; this.includePathAddButton.Label = Mono.Unix.Catalog.GetString("Add"); this.table3.Add(this.includePathAddButton); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table3[this.includePathAddButton])); w43.LeftAttach = ((uint)(2)); w43.RightAttach = ((uint)(3)); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.includePathEntry = new Gtk.Entry(); this.includePathEntry.CanFocus = true; this.includePathEntry.Name = "includePathEntry"; this.includePathEntry.IsEditable = true; this.includePathEntry.InvisibleChar = '●'; this.table3.Add(this.includePathEntry); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table3[this.includePathEntry])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Include:"); this.table3.Add(this.label9); Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table3[this.label9])); w45.XOptions = ((Gtk.AttachOptions)(4)); w45.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.includePathTreeView = new Gtk.TreeView(); this.includePathTreeView.CanFocus = true; this.includePathTreeView.Name = "includePathTreeView"; this.includePathTreeView.HeadersClickable = true; this.scrolledwindow2.Add(this.includePathTreeView); this.table3.Add(this.scrolledwindow2); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow2])); w47.TopAttach = ((uint)(1)); w47.BottomAttach = ((uint)(2)); w47.LeftAttach = ((uint)(1)); w47.RightAttach = ((uint)(2)); // Container child table3.Gtk.Table+TableChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.includePathBrowseButton = new Gtk.Button(); this.includePathBrowseButton.CanFocus = true; this.includePathBrowseButton.Name = "includePathBrowseButton"; this.includePathBrowseButton.UseUnderline = true; this.includePathBrowseButton.Label = Mono.Unix.Catalog.GetString("Browse..."); this.vbox5.Add(this.includePathBrowseButton); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathBrowseButton])); w48.Position = 0; w48.Expand = false; w48.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.includePathRemoveButton = new Gtk.Button(); this.includePathRemoveButton.Sensitive = false; this.includePathRemoveButton.CanFocus = true; this.includePathRemoveButton.Name = "includePathRemoveButton"; this.includePathRemoveButton.UseUnderline = true; this.includePathRemoveButton.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox5.Add(this.includePathRemoveButton); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathRemoveButton])); w49.Position = 1; w49.Expand = false; w49.Fill = false; this.table3.Add(this.vbox5); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table3[this.vbox5])); w50.TopAttach = ((uint)(1)); w50.BottomAttach = ((uint)(2)); w50.LeftAttach = ((uint)(2)); w50.RightAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); this.vbox7.Add(this.table3); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox7[this.table3])); w51.Position = 1; this.notebook1.Add(this.vbox7); Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox7])); w52.Position = 2; w52.TabExpand = false; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Paths"); this.notebook1.SetTabLabel(this.vbox7, this.label3); this.Add(this.notebook1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.browseButton.Clicked += new System.EventHandler(this.OnBrowseButtonClick); this.removeLibButton.Clicked += new System.EventHandler(this.OnRemoveLibButtonClicked); this.removeLibButton.Clicked += new System.EventHandler(this.OnLibRemoved); this.libTreeView.CursorChanged += new System.EventHandler(this.OnLibTreeViewCursorChanged); this.libAddEntry.Changed += new System.EventHandler(this.OnLibAddEntryChanged); this.libAddEntry.Activated += new System.EventHandler(this.OnLibAddEntryActivated); this.addLibButton.Clicked += new System.EventHandler(this.OnLibAdded); this.libPathBrowseButton.Clicked += new System.EventHandler(this.OnLibPathBrowseButtonClick); this.libPathRemoveButton.Clicked += new System.EventHandler(this.OnLibPathRemoveButtonClicked); this.libPathRemoveButton.Clicked += new System.EventHandler(this.OnLibPathRemoved); this.libPathTreeView.CursorChanged += new System.EventHandler(this.OnLibPathTreeViewCursorChanged); this.libPathEntry.Changed += new System.EventHandler(this.OnLibPathEntryChanged); this.libPathEntry.Activated += new System.EventHandler(this.OnLibPathEntryActivated); this.libPathAddButton.Clicked += new System.EventHandler(this.OnLibPathAdded); this.includePathBrowseButton.Clicked += new System.EventHandler(this.OnIncludePathBrowseButtonClick); this.includePathRemoveButton.Clicked += new System.EventHandler(this.OnIncludePathRemoveButtonClicked); this.includePathRemoveButton.Clicked += new System.EventHandler(this.OnIncludePathRemoved); this.includePathTreeView.CursorChanged += new System.EventHandler(this.OnIncludePathTreeViewCursorChanged); this.includePathEntry.Changed += new System.EventHandler(this.OnIncludePathEntryChanged); this.includePathEntry.Activated += new System.EventHandler(this.OnIncludePathEntryActivated); this.includePathAddButton.Clicked += new System.EventHandler(this.OnIncludePathAdded); }
protected virtual void Build() { Stetic.Gui.Initialize(); // Widget MainWindow Gtk.UIManager w1 = new Gtk.UIManager(); Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); this.File = new Gtk.Action("File", Mono.Unix.Catalog.GetString("File"), null, null); this.File.ShortLabel = Mono.Unix.Catalog.GetString("File"); w2.Add(this.File, null); this.Edit = new Gtk.Action("Edit", Mono.Unix.Catalog.GetString("Edit"), null, null); this.Edit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); w2.Add(this.Edit, null); this.View = new Gtk.Action("View", Mono.Unix.Catalog.GetString("View"), null, null); this.View.ShortLabel = Mono.Unix.Catalog.GetString("View"); w2.Add(this.View, null); this.Help = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("Help"), null, null); this.Help.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w2.Add(this.Help, null); this.About = new Gtk.Action("About", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.About.ShortLabel = Mono.Unix.Catalog.GetString("_About"); w2.Add(this.About, null); this.Quit = new Gtk.Action("Quit", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit"); this.Quit.ShortLabel = Mono.Unix.Catalog.GetString("Quit"); w2.Add(this.Quit, null); this.Preferences = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("_Preferences"), null, "gtk-preferences"); this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences"); w2.Add(this.Preferences, null); this.@new = new Gtk.Action("new", null, null, "gtk-new"); w2.Add(this.@new, null); this.open = new Gtk.Action("open", null, null, "gtk-open"); w2.Add(this.open, null); this.startTorrentButton = new Gtk.Action("startTorrentButton", null, null, "gtk-media-play"); this.startTorrentButton.Sensitive = false; w2.Add(this.startTorrentButton, null); this.stopTorrentButton = new Gtk.Action("stopTorrentButton", null, null, "gtk-media-stop"); this.stopTorrentButton.Sensitive = false; w2.Add(this.stopTorrentButton, null); this.removeTorrentButton = new Gtk.Action("removeTorrentButton", null, null, "gtk-remove"); this.removeTorrentButton.Sensitive = false; w2.Add(this.removeTorrentButton, null); this.preferences = new Gtk.Action("preferences", null, null, "gtk-preferences"); w2.Add(this.preferences, null); this.deleteTorrentButton = new Gtk.Action("deleteTorrentButton", null, null, "gtk-delete"); this.deleteTorrentButton.Sensitive = false; w2.Add(this.deleteTorrentButton, null); this.Columns = new Gtk.Action("Columns", Mono.Unix.Catalog.GetString("Columns"), null, null); this.Columns.ShortLabel = Mono.Unix.Catalog.GetString("Columns"); w2.Add(this.Columns, null); w1.InsertActionGroup(w2, 0); this.AddAccelGroup(w1.AccelGroup); this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MonoTorrent"); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Quit'/></menu><menu action='Edit'><menuitem action='Preferences'/></menu><menu action='View'><menuitem action='Columns'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>"); this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild w1.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem action='new'/><toolitem action='open'/><separator/><toolitem action='startTorrentButton'/><toolitem action='stopTorrentButton'/><toolitem action='removeTorrentButton'/><toolitem action='deleteTorrentButton'/><separator/><toolitem action='preferences'/></toolbar></ui>"); this.toolbar1 = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.vbox1.Add(this.toolbar1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hPaned = new Gtk.HPaned(); this.hPaned.CanFocus = true; this.hPaned.Name = "hPaned"; this.hPaned.Position = 145; // Container child hPaned.Gtk.Paned+PanedChild this.labelViewScrolledWindow = new Gtk.ScrolledWindow(); this.labelViewScrolledWindow.CanFocus = true; this.labelViewScrolledWindow.Name = "labelViewScrolledWindow"; this.labelViewScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.labelViewScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.hPaned.Add(this.labelViewScrolledWindow); Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hPaned[this.labelViewScrolledWindow])); w5.Resize = false; // Container child hPaned.Gtk.Paned+PanedChild this.vPaned = new Gtk.VPaned(); this.vPaned.CanFocus = true; this.vPaned.Name = "vPaned"; this.vPaned.Position = 160; // Container child vPaned.Gtk.Paned+PanedChild this.torrentViewScrolledWindow = new Gtk.ScrolledWindow(); this.torrentViewScrolledWindow.CanFocus = true; this.torrentViewScrolledWindow.Name = "torrentViewScrolledWindow"; this.torrentViewScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.torrentViewScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.vPaned.Add(this.torrentViewScrolledWindow); Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vPaned[this.torrentViewScrolledWindow])); w6.Resize = false; // Container child vPaned.Gtk.Paned+PanedChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 3; // Container child notebook1.Gtk.Notebook+NotebookChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w7 = new Gtk.Viewport(); w7.Name = "GtkViewport2"; w7.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(5)); // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.downloadProgressBarLabel = new Gtk.Label(); this.downloadProgressBarLabel.Name = "downloadProgressBarLabel"; this.downloadProgressBarLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloaded: "); this.hbox3.Add(this.downloadProgressBarLabel); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.downloadProgressBarLabel])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.downloadedProgressBar = new Gtk.ProgressBar(); this.downloadedProgressBar.Name = "downloadedProgressBar"; this.hbox3.Add(this.downloadedProgressBar); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.downloadedProgressBar])); w9.Position = 1; this.vbox4.Add(this.hbox3); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); this.frame1.LabelXalign = 0F; // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox12 = new Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.elapsedTimeLabel = new Gtk.Label(); this.elapsedTimeLabel.Name = "elapsedTimeLabel"; this.elapsedTimeLabel.LabelProp = Mono.Unix.Catalog.GetString("Elapsed Time:"); this.hbox12.Add(this.elapsedTimeLabel); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox12[this.elapsedTimeLabel])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.elapsedTimeValueLabel = new Gtk.Label(); this.elapsedTimeValueLabel.Name = "elapsedTimeValueLabel"; this.elapsedTimeValueLabel.LabelProp = ""; this.hbox12.Add(this.elapsedTimeValueLabel); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox12[this.elapsedTimeValueLabel])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.vbox2.Add(this.hbox12); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox12])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Downloaded:"); this.hbox2.Add(this.label3); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.label3])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.downloadedValueLabel = new Gtk.Label(); this.downloadedValueLabel.Name = "downloadedValueLabel"; this.downloadedValueLabel.LabelProp = ""; this.hbox2.Add(this.downloadedValueLabel); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.downloadedValueLabel])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Uploaded:"); this.hbox5.Add(this.label5); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.label5])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.uploadedValueLabel = new Gtk.Label(); this.uploadedValueLabel.Name = "uploadedValueLabel"; this.uploadedValueLabel.LabelProp = ""; this.hbox5.Add(this.uploadedValueLabel); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox5[this.uploadedValueLabel])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox2.Add(this.hbox5); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.GtkAlignment.Add(this.vbox2); this.frame1.Add(this.GtkAlignment); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Transfer</b>"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.hbox1.Add(this.frame1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame1])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); this.frame2.LabelXalign = 0F; // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox6 = new Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("URL:"); this.hbox6.Add(this.label8); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox6[this.label8])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.trackerUrlValueLabel = new Gtk.Label(); this.trackerUrlValueLabel.Name = "trackerUrlValueLabel"; this.trackerUrlValueLabel.LabelProp = ""; this.hbox6.Add(this.trackerUrlValueLabel); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox6[this.trackerUrlValueLabel])); w24.Position = 1; w24.Expand = false; w24.Fill = false; this.vbox3.Add(this.hbox6); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox6])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox7 = new Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Status:"); this.hbox7.Add(this.label2); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox7[this.label2])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.trackerStatusValueLabel = new Gtk.Label(); this.trackerStatusValueLabel.Name = "trackerStatusValueLabel"; this.trackerStatusValueLabel.LabelProp = ""; this.hbox7.Add(this.trackerStatusValueLabel); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox7[this.trackerStatusValueLabel])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox3.Add(this.hbox7); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox7])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Last updated:"); this.hbox8.Add(this.label4); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox8[this.label4])); w29.Position = 0; w29.Expand = false; w29.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.updateInValueLabel = new Gtk.Label(); this.updateInValueLabel.Name = "updateInValueLabel"; this.updateInValueLabel.LabelProp = ""; this.hbox8.Add(this.updateInValueLabel); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox8[this.updateInValueLabel])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.vbox3.Add(this.hbox8); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.GtkAlignment1.Add(this.vbox3); this.frame2.Add(this.GtkAlignment1); this.GtkLabel7 = new Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Tracker</b>"); this.GtkLabel7.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel7; this.hbox1.Add(this.frame2); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame2])); w34.Position = 1; w34.Expand = false; w34.Fill = false; this.vbox4.Add(this.hbox1); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox1])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); this.frame3.LabelXalign = 0F; // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Save path:"); this.hbox4.Add(this.label7); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox4[this.label7])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.savePathValueLabel = new Gtk.Label(); this.savePathValueLabel.Name = "savePathValueLabel"; this.savePathValueLabel.LabelProp = ""; this.hbox4.Add(this.savePathValueLabel); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox4[this.savePathValueLabel])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.vbox5.Add(this.hbox4); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox4])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox9 = new Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Size:"); this.hbox9.Add(this.label10); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox9[this.label10])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.sizeValueLabel = new Gtk.Label(); this.sizeValueLabel.Name = "sizeValueLabel"; this.sizeValueLabel.LabelProp = ""; this.hbox9.Add(this.sizeValueLabel); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox9[this.sizeValueLabel])); w40.Position = 1; w40.Expand = false; w40.Fill = false; this.vbox5.Add(this.hbox9); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox9])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox11 = new Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 6; // Container child hbox11.Gtk.Box+BoxChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Created on:"); this.hbox11.Add(this.label11); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox11[this.label11])); w42.Position = 0; w42.Expand = false; w42.Fill = false; // Container child hbox11.Gtk.Box+BoxChild this.createdOnValueLabel = new Gtk.Label(); this.createdOnValueLabel.Name = "createdOnValueLabel"; this.createdOnValueLabel.LabelProp = ""; this.hbox11.Add(this.createdOnValueLabel); Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox11[this.createdOnValueLabel])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox5.Add(this.hbox11); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox11])); w44.Position = 2; w44.Expand = false; w44.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox10 = new Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Comment:"); this.hbox10.Add(this.label12); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox10[this.label12])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.commentValueLabel = new Gtk.Label(); this.commentValueLabel.Name = "commentValueLabel"; this.commentValueLabel.LabelProp = ""; this.hbox10.Add(this.commentValueLabel); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox10[this.commentValueLabel])); w46.Position = 2; w46.Expand = false; w46.Fill = false; this.vbox5.Add(this.hbox10); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox10])); w47.Position = 3; w47.Expand = false; w47.Fill = false; this.GtkAlignment2.Add(this.vbox5); this.frame3.Add(this.GtkAlignment2); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel8.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel8; this.vbox4.Add(this.frame3); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame3])); w50.Position = 2; w50.Expand = false; w50.Fill = false; w7.Add(this.vbox4); this.scrolledwindow1.Add(w7); this.notebook1.Add(this.scrolledwindow1); Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow1])); w53.TabExpand = false; // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.notebook1.SetTabLabel(this.scrolledwindow1, this.label1); // Container child notebook1.Gtk.Notebook+NotebookChild this.filesScrolledWindow = new Gtk.ScrolledWindow(); this.filesScrolledWindow.CanFocus = true; this.filesScrolledWindow.Name = "filesScrolledWindow"; this.filesScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.filesScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.filesScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.notebook1.Add(this.filesScrolledWindow); Gtk.Notebook.NotebookChild w54 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.filesScrolledWindow])); w54.Position = 1; w54.TabExpand = false; // Notebook tab this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Files"); this.notebook1.SetTabLabel(this.filesScrolledWindow, this.label9); // Container child notebook1.Gtk.Notebook+NotebookChild this.peersScrolledWindow = new Gtk.ScrolledWindow(); this.peersScrolledWindow.CanFocus = true; this.peersScrolledWindow.Name = "peersScrolledWindow"; this.peersScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.peersScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.peersScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.notebook1.Add(this.peersScrolledWindow); Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.peersScrolledWindow])); w55.Position = 2; w55.TabExpand = false; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Peers"); this.notebook1.SetTabLabel(this.peersScrolledWindow, this.label6); // Container child notebook1.Gtk.Notebook+NotebookChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w56 = new Gtk.Viewport(); w56.Name = "GtkViewport5"; w56.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport5.Gtk.Container+ContainerChild this.hbox13 = new Gtk.HBox(); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(0)); this.frame4.LabelXalign = 0F; // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.WidthRequest = 250; this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.selectLabelScrolledWindow = new Gtk.ScrolledWindow(); this.selectLabelScrolledWindow.CanFocus = true; this.selectLabelScrolledWindow.Name = "selectLabelScrolledWindow"; this.selectLabelScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.selectLabelScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.selectLabelScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.GtkAlignment3.Add(this.selectLabelScrolledWindow); this.frame4.Add(this.GtkAlignment3); this.GtkLabel9 = new Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.LabelProp = Mono.Unix.Catalog.GetString("<b>Set labels</b>"); this.GtkLabel9.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel9; this.hbox13.Add(this.frame4); Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox13[this.frame4])); w59.Position = 0; w59.Expand = false; w59.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((Gtk.ShadowType)(0)); this.frame5.LabelXalign = 0F; // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.hbox14 = new Gtk.HBox(); this.hbox14.Name = "hbox14"; this.hbox14.Spacing = 6; // Container child hbox14.Gtk.Box+BoxChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Maximum upload rate:"); this.hbox14.Add(this.label14); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox14[this.label14])); w60.Position = 0; w60.Expand = false; w60.Fill = false; // Container child hbox14.Gtk.Box+BoxChild this.torrentUploadRateSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentUploadRateSpinButton.CanFocus = true; this.torrentUploadRateSpinButton.Name = "torrentUploadRateSpinButton"; this.torrentUploadRateSpinButton.Adjustment.PageIncrement = 10; this.torrentUploadRateSpinButton.ClimbRate = 1; this.torrentUploadRateSpinButton.Numeric = true; this.hbox14.Add(this.torrentUploadRateSpinButton); Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.hbox14[this.torrentUploadRateSpinButton])); w61.Position = 1; w61.Expand = false; w61.Fill = false; this.vbox7.Add(this.hbox14); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox14])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox15 = new Gtk.HBox(); this.hbox15.Name = "hbox15"; this.hbox15.Spacing = 6; // Container child hbox15.Gtk.Box+BoxChild this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = Mono.Unix.Catalog.GetString("Maximum download rate:"); this.hbox15.Add(this.label15); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.hbox15[this.label15])); w63.Position = 0; w63.Expand = false; w63.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.torrentDownloadRateSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentDownloadRateSpinButton.CanFocus = true; this.torrentDownloadRateSpinButton.Name = "torrentDownloadRateSpinButton"; this.torrentDownloadRateSpinButton.Adjustment.PageIncrement = 10; this.torrentDownloadRateSpinButton.ClimbRate = 1; this.torrentDownloadRateSpinButton.Numeric = true; this.hbox15.Add(this.torrentDownloadRateSpinButton); Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.hbox15[this.torrentDownloadRateSpinButton])); w64.Position = 1; w64.Expand = false; w64.Fill = false; this.vbox7.Add(this.hbox15); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox15])); w65.Position = 1; w65.Expand = false; w65.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox16 = new Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 6; // Container child hbox16.Gtk.Box+BoxChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.LabelProp = Mono.Unix.Catalog.GetString("Maximum connections:"); this.hbox16.Add(this.label16); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox16[this.label16])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.torrentMaxConnectionsSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentMaxConnectionsSpinButton.CanFocus = true; this.torrentMaxConnectionsSpinButton.Name = "torrentMaxConnectionsSpinButton"; this.torrentMaxConnectionsSpinButton.Adjustment.PageIncrement = 10; this.torrentMaxConnectionsSpinButton.ClimbRate = 1; this.torrentMaxConnectionsSpinButton.Numeric = true; this.hbox16.Add(this.torrentMaxConnectionsSpinButton); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox16[this.torrentMaxConnectionsSpinButton])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.vbox7.Add(this.hbox16); Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox16])); w68.Position = 2; w68.Expand = false; w68.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox17 = new Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 6; // Container child hbox17.Gtk.Box+BoxChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Upload slots:"); this.hbox17.Add(this.label17); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox17[this.label17])); w69.Position = 0; w69.Expand = false; w69.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.torrentUploadSlotSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentUploadSlotSpinButton.CanFocus = true; this.torrentUploadSlotSpinButton.Name = "torrentUploadSlotSpinButton"; this.torrentUploadSlotSpinButton.Adjustment.PageIncrement = 10; this.torrentUploadSlotSpinButton.ClimbRate = 1; this.torrentUploadSlotSpinButton.Numeric = true; this.hbox17.Add(this.torrentUploadSlotSpinButton); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox17[this.torrentUploadSlotSpinButton])); w70.Position = 1; w70.Expand = false; w70.Fill = false; this.vbox7.Add(this.hbox17); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox17])); w71.Position = 3; w71.Expand = false; w71.Fill = false; this.GtkAlignment4.Add(this.vbox7); this.frame5.Add(this.GtkAlignment4); this.GtkLabel10 = new Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>Bandwidth</b>"); this.GtkLabel10.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel10; this.vbox6.Add(this.frame5); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame5])); w74.Position = 0; w74.Expand = false; w74.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.hbox18 = new Gtk.HBox(); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 6; // Container child hbox18.Gtk.Box+BoxChild this.saveTorrentSettingsButton = new Gtk.Button(); this.saveTorrentSettingsButton.CanFocus = true; this.saveTorrentSettingsButton.Name = "saveTorrentSettingsButton"; this.saveTorrentSettingsButton.UseUnderline = true; this.saveTorrentSettingsButton.Label = Mono.Unix.Catalog.GetString("Save"); this.hbox18.Add(this.saveTorrentSettingsButton); Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild)(this.hbox18[this.saveTorrentSettingsButton])); w75.Position = 2; w75.Expand = false; w75.Fill = false; this.vbox6.Add(this.hbox18); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox18])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.hbox13.Add(this.vbox6); Gtk.Box.BoxChild w77 = ((Gtk.Box.BoxChild)(this.hbox13[this.vbox6])); w77.Position = 1; w77.Expand = false; w77.Fill = false; w56.Add(this.hbox13); this.scrolledwindow2.Add(w56); this.notebook1.Add(this.scrolledwindow2); Gtk.Notebook.NotebookChild w80 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow2])); w80.Position = 3; w80.TabExpand = false; // Notebook tab this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.notebook1.SetTabLabel(this.scrolledwindow2, this.label13); this.vPaned.Add(this.notebook1); this.hPaned.Add(this.vPaned); this.vbox1.Add(this.hPaned); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.vbox1[this.hPaned])); w83.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.statusbar2 = new Gtk.Statusbar(); this.statusbar2.Name = "statusbar2"; this.statusbar2.Spacing = 6; // Container child statusbar2.Gtk.Box+BoxChild this.statusDownloadLabel = new Gtk.Label(); this.statusDownloadLabel.Name = "statusDownloadLabel"; this.statusDownloadLabel.LabelProp = Mono.Unix.Catalog.GetString("<small>D: 0.00 kB</small>"); this.statusDownloadLabel.UseMarkup = true; this.statusbar2.Add(this.statusDownloadLabel); Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.statusbar2[this.statusDownloadLabel])); w84.Position = 1; w84.Expand = false; w84.Fill = false; // Container child statusbar2.Gtk.Box+BoxChild this.statusUploadLabel = new Gtk.Label(); this.statusUploadLabel.Name = "statusUploadLabel"; this.statusUploadLabel.LabelProp = Mono.Unix.Catalog.GetString("<small>U: 0.00 kB</small>"); this.statusUploadLabel.UseMarkup = true; this.statusbar2.Add(this.statusUploadLabel); Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild)(this.statusbar2[this.statusUploadLabel])); w85.Position = 2; w85.Expand = false; w85.Fill = false; this.vbox1.Add(this.statusbar2); Gtk.Box.BoxChild w86 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar2])); w86.Position = 3; w86.Expand = false; w86.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 762; this.DefaultHeight = 559; this.Hide(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.About.Activated += new System.EventHandler(this.OnAboutActivated); this.Quit.Activated += new System.EventHandler(this.OnQuitActivated); this.Preferences.Activated += new System.EventHandler(this.OnPreferencesActivated); [email protected] += new System.EventHandler(this.OnNewActivated); this.open.Activated += new System.EventHandler(this.OnOpenActivated); this.startTorrentButton.Activated += new System.EventHandler(this.OnStartTorrentActivated); this.stopTorrentButton.Activated += new System.EventHandler(this.OnStopTorrentActivated); this.removeTorrentButton.Activated += new System.EventHandler(this.OnRemoveTorrentButtonActivated); this.preferences.Activated += new System.EventHandler(this.OnPreferencesActivated); this.deleteTorrentButton.Activated += new System.EventHandler(this.OnDeleteTorrentButtonActivated); this.Columns.Activated += new System.EventHandler(this.OnColumnsActivated); this.saveTorrentSettingsButton.Clicked += new System.EventHandler(this.OnSaveTorrentSettingsButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.ResizeCanvasDialog this.Name = "Pinta.ResizeCanvasDialog"; this.Title = Mono.Unix.Catalog.GetString("Resize Canvas"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 300; this.DefaultHeight = 200; // Internal child Pinta.ResizeCanvasDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.percentageRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By percentage:")); this.percentageRadio.CanFocus = true; this.percentageRadio.Name = "percentageRadio"; this.percentageRadio.DrawIndicator = true; this.percentageRadio.UseUnderline = true; this.percentageRadio.Group = new GLib.SList(System.IntPtr.Zero); this.hbox1.Add(this.percentageRadio); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageRadio])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.percentageSpinner = new Gtk.SpinButton(1, 1000, 1); this.percentageSpinner.CanFocus = true; this.percentageSpinner.Name = "percentageSpinner"; this.percentageSpinner.Adjustment.PageIncrement = 10; this.percentageSpinner.ClimbRate = 1; this.percentageSpinner.Numeric = true; this.percentageSpinner.Value = 100; this.hbox1.Add(this.percentageSpinner); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageSpinner])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("%"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.absoluteRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By absolute size:")); this.absoluteRadio.CanFocus = true; this.absoluteRadio.Name = "absoluteRadio"; this.absoluteRadio.DrawIndicator = true; this.absoluteRadio.UseUnderline = true; this.absoluteRadio.Group = this.percentageRadio.Group; this.hbox2.Add(this.absoluteRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.absoluteRadio])); w6.Position = 0; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Width:"); this.hbox3.Add(this.label2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.widthSpinner = new Gtk.SpinButton(1, 10000, 1); this.widthSpinner.Sensitive = false; this.widthSpinner.CanFocus = true; this.widthSpinner.Name = "widthSpinner"; this.widthSpinner.Adjustment.PageIncrement = 10; this.widthSpinner.ClimbRate = 1; this.widthSpinner.Numeric = true; this.hbox3.Add(this.widthSpinner); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.widthSpinner])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox3.Add(this.label4); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Height:"); this.hbox4.Add(this.label3); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.heightSpinner = new Gtk.SpinButton(1, 10000, 1); this.heightSpinner.Sensitive = false; this.heightSpinner.CanFocus = true; this.heightSpinner.Name = "heightSpinner"; this.heightSpinner.Adjustment.PageIncrement = 10; this.heightSpinner.ClimbRate = 1; this.heightSpinner.Numeric = true; this.hbox4.Add(this.heightSpinner); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.heightSpinner])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox4.Add(this.label5); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox4); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.aspectCheckbox = new Gtk.CheckButton(); this.aspectCheckbox.Sensitive = false; this.aspectCheckbox.CanFocus = true; this.aspectCheckbox.Name = "aspectCheckbox"; this.aspectCheckbox.Label = Mono.Unix.Catalog.GetString("Maintain aspect ratio"); this.aspectCheckbox.Active = true; this.aspectCheckbox.DrawIndicator = true; this.aspectCheckbox.UseUnderline = true; this.vbox2.Add(this.aspectCheckbox); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.aspectCheckbox])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox5.Add(this.alignment1); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment1])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.CenterButton = new Gtk.Button(); this.CenterButton.WidthRequest = 30; this.CenterButton.HeightRequest = 30; this.CenterButton.CanFocus = true; this.CenterButton.Name = "CenterButton"; this.CenterButton.UseUnderline = true; // Container child CenterButton.Gtk.Container+ContainerChild Gtk.Alignment w18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w19 = new Gtk.HBox(); w19.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w20 = new Gtk.Image(); w19.Add(w20); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w22 = new Gtk.Label(); w19.Add(w22); w18.Add(w19); this.CenterButton.Add(w18); this.table1.Add(this.CenterButton); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.CenterButton])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.EButton = new Gtk.Button(); this.EButton.WidthRequest = 30; this.EButton.HeightRequest = 30; this.EButton.CanFocus = true; this.EButton.Name = "EButton"; this.EButton.UseUnderline = true; // Container child EButton.Gtk.Container+ContainerChild Gtk.Alignment w27 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w28 = new Gtk.HBox(); w28.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w29 = new Gtk.Image(); w28.Add(w29); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w31 = new Gtk.Label(); w28.Add(w31); w27.Add(w28); this.EButton.Add(w27); this.table1.Add(this.EButton); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table1[this.EButton])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NButton = new Gtk.Button(); this.NButton.WidthRequest = 30; this.NButton.HeightRequest = 30; this.NButton.CanFocus = true; this.NButton.Name = "NButton"; this.NButton.UseUnderline = true; // Container child NButton.Gtk.Container+ContainerChild Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w37 = new Gtk.HBox(); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w38 = new Gtk.Image(); w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w40 = new Gtk.Label(); w37.Add(w40); w36.Add(w37); this.NButton.Add(w36); this.table1.Add(this.NButton); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table1[this.NButton])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NEButton = new Gtk.Button(); this.NEButton.WidthRequest = 30; this.NEButton.HeightRequest = 30; this.NEButton.CanFocus = true; this.NEButton.Name = "NEButton"; this.NEButton.UseUnderline = true; // Container child NEButton.Gtk.Container+ContainerChild Gtk.Alignment w45 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w46 = new Gtk.HBox(); w46.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w47 = new Gtk.Image(); w46.Add(w47); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w49 = new Gtk.Label(); w46.Add(w49); w45.Add(w46); this.NEButton.Add(w45); this.table1.Add(this.NEButton); Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table1[this.NEButton])); w53.LeftAttach = ((uint)(2)); w53.RightAttach = ((uint)(3)); w53.XOptions = ((Gtk.AttachOptions)(4)); w53.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NWButton = new Gtk.Button(); this.NWButton.WidthRequest = 30; this.NWButton.HeightRequest = 30; this.NWButton.CanFocus = true; this.NWButton.Name = "NWButton"; this.NWButton.UseUnderline = true; // Container child NWButton.Gtk.Container+ContainerChild Gtk.Alignment w54 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w55 = new Gtk.HBox(); w55.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w56 = new Gtk.Image(); w55.Add(w56); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w58 = new Gtk.Label(); w55.Add(w58); w54.Add(w55); this.NWButton.Add(w54); this.table1.Add(this.NWButton); Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table1[this.NWButton])); w62.XOptions = ((Gtk.AttachOptions)(4)); w62.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SButton = new Gtk.Button(); this.SButton.WidthRequest = 30; this.SButton.HeightRequest = 30; this.SButton.CanFocus = true; this.SButton.Name = "SButton"; this.SButton.UseUnderline = true; // Container child SButton.Gtk.Container+ContainerChild Gtk.Alignment w63 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w64 = new Gtk.HBox(); w64.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w65 = new Gtk.Image(); w64.Add(w65); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w67 = new Gtk.Label(); w64.Add(w67); w63.Add(w64); this.SButton.Add(w63); this.table1.Add(this.SButton); Gtk.Table.TableChild w71 = ((Gtk.Table.TableChild)(this.table1[this.SButton])); w71.TopAttach = ((uint)(2)); w71.BottomAttach = ((uint)(3)); w71.LeftAttach = ((uint)(1)); w71.RightAttach = ((uint)(2)); w71.XOptions = ((Gtk.AttachOptions)(4)); w71.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SEButton = new Gtk.Button(); this.SEButton.WidthRequest = 30; this.SEButton.HeightRequest = 30; this.SEButton.CanFocus = true; this.SEButton.Name = "SEButton"; this.SEButton.UseUnderline = true; // Container child SEButton.Gtk.Container+ContainerChild Gtk.Alignment w72 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w73 = new Gtk.HBox(); w73.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w74 = new Gtk.Image(); w73.Add(w74); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w76 = new Gtk.Label(); w73.Add(w76); w72.Add(w73); this.SEButton.Add(w72); this.table1.Add(this.SEButton); Gtk.Table.TableChild w80 = ((Gtk.Table.TableChild)(this.table1[this.SEButton])); w80.TopAttach = ((uint)(2)); w80.BottomAttach = ((uint)(3)); w80.LeftAttach = ((uint)(2)); w80.RightAttach = ((uint)(3)); w80.XOptions = ((Gtk.AttachOptions)(4)); w80.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SWButton = new Gtk.Button(); this.SWButton.WidthRequest = 30; this.SWButton.HeightRequest = 30; this.SWButton.CanFocus = true; this.SWButton.Name = "SWButton"; this.SWButton.UseUnderline = true; // Container child SWButton.Gtk.Container+ContainerChild Gtk.Alignment w81 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w82 = new Gtk.HBox(); w82.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w83 = new Gtk.Image(); w82.Add(w83); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w85 = new Gtk.Label(); w82.Add(w85); w81.Add(w82); this.SWButton.Add(w81); this.table1.Add(this.SWButton); Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table1[this.SWButton])); w89.TopAttach = ((uint)(2)); w89.BottomAttach = ((uint)(3)); w89.XOptions = ((Gtk.AttachOptions)(4)); w89.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.WButton = new Gtk.Button(); this.WButton.WidthRequest = 30; this.WButton.HeightRequest = 30; this.WButton.CanFocus = true; this.WButton.Name = "WButton"; this.WButton.UseUnderline = true; // Container child WButton.Gtk.Container+ContainerChild Gtk.Alignment w90 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w91 = new Gtk.HBox(); w91.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w92 = new Gtk.Image(); w91.Add(w92); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w94 = new Gtk.Label(); w91.Add(w94); w90.Add(w91); this.WButton.Add(w90); this.table1.Add(this.WButton); Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table1[this.WButton])); w98.TopAttach = ((uint)(1)); w98.BottomAttach = ((uint)(2)); w98.XOptions = ((Gtk.AttachOptions)(4)); w98.YOptions = ((Gtk.AttachOptions)(4)); this.hbox5.Add(this.table1); Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox5[this.table1])); w99.Position = 1; w99.Expand = false; w99.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox5.Add(this.alignment2); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment2])); w100.Position = 2; this.vbox2.Add(this.hbox5); Gtk.Box.BoxChild w101 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w101.PackType = ((Gtk.PackType)(1)); w101.Position = 5; w101.Expand = false; w101.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Anchor:"); this.vbox2.Add(this.label6); Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.vbox2[this.label6])); w102.PackType = ((Gtk.PackType)(1)); w102.Position = 6; w102.Expand = false; w102.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w103.PackType = ((Gtk.PackType)(1)); w103.Position = 7; w103.Expand = false; w103.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w104 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w104.Position = 0; w104.Expand = false; w104.Fill = false; // Internal child Pinta.ResizeCanvasDialog.ActionArea Gtk.HButtonBox w105 = this.ActionArea; w105.Name = "dialog1_ActionArea"; w105.Spacing = 10; w105.BorderWidth = ((uint)(5)); w105.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w106 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonCancel])); w106.Expand = false; w106.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w107 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonOk])); w107.Position = 1; w107.Expand = false; w107.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.ResizeImageDialog this.Name = "Pinta.ResizeImageDialog"; this.Title = Mono.Unix.Catalog.GetString("Resize Image"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 300; this.DefaultHeight = 200; // Internal child Pinta.ResizeImageDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.percentageRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By percentage:")); this.percentageRadio.CanFocus = true; this.percentageRadio.Name = "percentageRadio"; this.percentageRadio.Active = true; this.percentageRadio.DrawIndicator = true; this.percentageRadio.UseUnderline = true; this.percentageRadio.Group = new GLib.SList(System.IntPtr.Zero); this.hbox1.Add(this.percentageRadio); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageRadio])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.percentageSpinner = new Gtk.SpinButton(1, 1000, 1); this.percentageSpinner.CanFocus = true; this.percentageSpinner.Name = "percentageSpinner"; this.percentageSpinner.Adjustment.PageIncrement = 10; this.percentageSpinner.ClimbRate = 1; this.percentageSpinner.Numeric = true; this.percentageSpinner.Value = 100; this.hbox1.Add(this.percentageSpinner); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageSpinner])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("%"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.absoluteRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By absolute size:")); this.absoluteRadio.CanFocus = true; this.absoluteRadio.Name = "absoluteRadio"; this.absoluteRadio.DrawIndicator = true; this.absoluteRadio.UseUnderline = true; this.absoluteRadio.Group = this.percentageRadio.Group; this.hbox2.Add(this.absoluteRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.absoluteRadio])); w6.Position = 0; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Width:"); this.hbox3.Add(this.label2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.widthSpinner = new Gtk.SpinButton(1, 10000, 1); this.widthSpinner.Sensitive = false; this.widthSpinner.CanFocus = true; this.widthSpinner.Name = "widthSpinner"; this.widthSpinner.Adjustment.PageIncrement = 10; this.widthSpinner.ClimbRate = 1; this.widthSpinner.Numeric = true; this.hbox3.Add(this.widthSpinner); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.widthSpinner])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox3.Add(this.label4); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Height:"); this.hbox4.Add(this.label3); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.heightSpinner = new Gtk.SpinButton(1, 10000, 1); this.heightSpinner.Sensitive = false; this.heightSpinner.CanFocus = true; this.heightSpinner.Name = "heightSpinner"; this.heightSpinner.Adjustment.PageIncrement = 10; this.heightSpinner.ClimbRate = 1; this.heightSpinner.Numeric = true; this.hbox4.Add(this.heightSpinner); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.heightSpinner])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox4.Add(this.label5); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox4); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.aspectCheckbox = new Gtk.CheckButton(); this.aspectCheckbox.Sensitive = false; this.aspectCheckbox.CanFocus = true; this.aspectCheckbox.Name = "aspectCheckbox"; this.aspectCheckbox.Label = Mono.Unix.Catalog.GetString("Maintain aspect ratio"); this.aspectCheckbox.Active = true; this.aspectCheckbox.DrawIndicator = true; this.aspectCheckbox.UseUnderline = true; this.vbox2.Add(this.aspectCheckbox); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.aspectCheckbox])); w16.Position = 4; w16.Expand = false; w16.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child Pinta.ResizeImageDialog.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget sermon2.TaggerConf Stetic.BinContainer.Attach(this); this.Name = "sermon2.TaggerConf"; // Container child sermon2.TaggerConf.Gtk.Container+ContainerChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.backgroundCButton = new Gtk.ColorButton(); this.backgroundCButton.CanFocus = true; this.backgroundCButton.Events = ((Gdk.EventMask)(784)); this.backgroundCButton.Name = "backgroundCButton"; this.table1.Add(this.backgroundCButton); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.backgroundCButton])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(0)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.backgroundCheckButton = new Gtk.CheckButton(); this.backgroundCheckButton.CanFocus = true; this.backgroundCheckButton.Name = "backgroundCheckButton"; this.backgroundCheckButton.Label = Mono.Unix.Catalog.GetString("background"); this.backgroundCheckButton.DrawIndicator = true; this.backgroundCheckButton.UseUnderline = true; this.table1.Add(this.backgroundCheckButton); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.backgroundCheckButton])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.foregroundCButton = new Gtk.ColorButton(); this.foregroundCButton.CanFocus = true; this.foregroundCButton.Events = ((Gdk.EventMask)(784)); this.foregroundCButton.Name = "foregroundCButton"; this.table1.Add(this.foregroundCButton); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.foregroundCButton])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(0)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.foregroundCheckButton = new Gtk.CheckButton(); this.foregroundCheckButton.CanFocus = true; this.foregroundCheckButton.Name = "foregroundCheckButton"; this.foregroundCheckButton.Label = Mono.Unix.Catalog.GetString("foreground"); this.foregroundCheckButton.DrawIndicator = true; this.foregroundCheckButton.UseUnderline = true; this.table1.Add(this.foregroundCheckButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.foregroundCheckButton])); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.dataCheckButton = new Gtk.CheckButton(); this.dataCheckButton.CanFocus = true; this.dataCheckButton.Name = "dataCheckButton"; this.dataCheckButton.Label = Mono.Unix.Catalog.GetString("data dependant"); this.dataCheckButton.DrawIndicator = true; this.dataCheckButton.UseUnderline = true; this.vbox3.Add(this.dataCheckButton); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox3[this.dataCheckButton])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(1)); this.frame2.BorderWidth = ((uint)(9)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment5 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(3)); this.vbox1.Add(this.vbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w7.Position = 0; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.valueLabel = new Gtk.Label(); this.valueLabel.Name = "valueLabel"; this.valueLabel.LabelProp = Mono.Unix.Catalog.GetString("value"); this.hbox1.Add(this.valueLabel); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.valueLabel])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.valueSpinButton = new Gtk.SpinButton(-1, 255, 1); this.valueSpinButton.CanFocus = true; this.valueSpinButton.Name = "valueSpinButton"; this.valueSpinButton.Adjustment.PageIncrement = 10; this.valueSpinButton.ClimbRate = 1; this.valueSpinButton.Numeric = true; this.valueSpinButton.Value = -1; this.valueSpinButton.Wrap = true; this.hbox1.Add(this.valueSpinButton); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.valueSpinButton])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.hbox2.Add(this.hbox1); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox1])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.addTaggerDataConfbutton = new Gtk.Button(); this.addTaggerDataConfbutton.CanFocus = true; this.addTaggerDataConfbutton.Name = "addTaggerDataConfbutton"; this.addTaggerDataConfbutton.UseUnderline = true; this.addTaggerDataConfbutton.BorderWidth = ((uint)(3)); // Container child addTaggerDataConfbutton.Gtk.Container+ContainerChild Gtk.Alignment w11 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w12 = new Gtk.HBox(); w12.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w13 = new Gtk.Image(); w13.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); w12.Add(w13); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w15 = new Gtk.Label(); w15.LabelProp = Mono.Unix.Catalog.GetString("button1"); w15.UseUnderline = true; w12.Add(w15); w11.Add(w12); this.addTaggerDataConfbutton.Add(w11); this.hbox2.Add(this.addTaggerDataConfbutton); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.addTaggerDataConfbutton])); w19.Position = 1; w19.Expand = false; w19.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w20.PackType = ((Gtk.PackType)(1)); w20.Position = 1; w20.Expand = false; w20.Fill = false; this.GtkAlignment5.Add(this.vbox1); this.frame2.Add(this.GtkAlignment5); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>data dependant</b>"); this.GtkLabel5.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel5; this.vbox3.Add(this.frame2); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame2])); w23.Position = 2; this.GtkAlignment.Add(this.vbox3); this.frame1.Add(this.GtkAlignment); this.nameLabel = new Gtk.Label(); this.nameLabel.Name = "nameLabel"; this.nameLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>"); this.nameLabel.UseMarkup = true; this.frame1.LabelWidget = this.nameLabel; this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.foregroundCheckButton.Released += new System.EventHandler(this.OnForegroundCheckButtonReleased); this.foregroundCButton.ColorSet += new System.EventHandler(this.OnForegroundCButtonColorSet); this.backgroundCheckButton.Released += new System.EventHandler(this.OnBackgroundCheckButtonReleased); this.backgroundCButton.ColorSet += new System.EventHandler(this.OnBackgroundCButtonColorSet); this.dataCheckButton.Released += new System.EventHandler(this.OnDataCheckButtonReleased); this.addTaggerDataConfbutton.Released += new System.EventHandler(this.OnAddTaggerDataConfbuttonReleased); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.HScaleSpinButtonWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.HScaleSpinButtonWidget"; // Container child Pinta.Gui.Widgets.HScaleSpinButtonWidget.Gtk.Container+ContainerChild this.vbox = new Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((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 Gtk.HSeparator(); this.hseparator.Name = "hseparator"; this.hbox1.Add(this.hseparator); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator])); w2.Position = 1; this.vbox.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((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 Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hscale = new 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 = ((Gtk.PositionType)(2)); this.hbox2.Add(this.hscale); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.hscale])); w4.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.spin = new 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); Gtk.Box.BoxChild w5 = ((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 Gtk.Button(); this.button.CanFocus = true; this.button.Name = "button"; this.button.UseUnderline = true; // Container child button.Gtk.Container+ContainerChild Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w7 = new Gtk.HBox(); w7.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w8 = new Gtk.Image(); w8.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w7.Add(w8); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w10 = new Gtk.Label(); w7.Add(w10); w6.Add(w7); this.button.Add(w6); this.hbox2.Add(this.button); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.button])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox.Add(this.hbox2); Gtk.Box.BoxChild w15 = ((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() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.PointPickerWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.PointPickerWidget"; // Container child Pinta.Gui.Widgets.PointPickerWidget.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.hbox1.Add(this.hseparator1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator1])); w2.Position = 1; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((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 Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.pointpickergraphic1 = new Pinta.Gui.Widgets.PointPickerGraphic(); this.pointpickergraphic1.Name = "pointpickergraphic1"; this.hbox2.Add(this.pointpickergraphic1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.pointpickergraphic1])); w4.Position = 0; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.button1 = new Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; // Container child button1.Gtk.Container+ContainerChild Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w6 = new Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w7 = new Gtk.Image(); w7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w9 = new Gtk.Label(); w6.Add(w9); w5.Add(w6); this.button1.Add(w5); this.table1.Add(this.button1); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.button1])); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.button2 = new Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w15 = new Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w16 = new Gtk.Image(); w16.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w18 = new Gtk.Label(); w15.Add(w18); w14.Add(w15); this.button2.Add(w14); this.table1.Add(this.button2); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.button2])); w22.TopAttach = ((uint)(1)); w22.BottomAttach = ((uint)(2)); w22.LeftAttach = ((uint)(2)); w22.RightAttach = ((uint)(3)); w22.XOptions = ((Gtk.AttachOptions)(4)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("X :"); this.table1.Add(this.label2); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Y :"); this.table1.Add(this.label3); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinX = new Gtk.SpinButton(0, 100, 1); this.spinX.CanFocus = true; this.spinX.Name = "spinX"; this.spinX.Adjustment.PageIncrement = 10; this.spinX.ClimbRate = 1; this.spinX.Numeric = true; this.table1.Add(this.spinX); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.spinX])); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinY = new Gtk.SpinButton(0, 100, 1); this.spinY.CanFocus = true; this.spinY.Name = "spinY"; this.spinY.Adjustment.PageIncrement = 10; this.spinY.ClimbRate = 1; this.spinY.Numeric = true; this.table1.Add(this.spinY); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.spinY])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); this.hbox2.Add(this.table1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.table1])); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w28.Position = 1; w28.Expand = false; w28.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Chaotic Pendulum"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(6)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.altitude1 = new Gtk.SpinButton(0.01, 10, 0.1); this.altitude1.CanFocus = true; this.altitude1.Name = "altitude1"; this.altitude1.Adjustment.PageIncrement = 1; this.altitude1.ClimbRate = 1; this.altitude1.Digits = ((uint)(2)); this.altitude1.Numeric = true; this.altitude1.Value = 0.2; this.table3.Add(this.altitude1); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.altitude1])); w1.TopAttach = ((uint)(3)); w1.BottomAttach = ((uint)(4)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.attractors = new Gtk.SpinButton(1, 23, 1); this.attractors.CanFocus = true; this.attractors.Name = "attractors"; this.attractors.Adjustment.PageIncrement = 5; this.attractors.ClimbRate = 1; this.attractors.Numeric = true; this.attractors.Value = 5; this.table3.Add(this.attractors); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.attractors])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.charge = new Gtk.SpinButton(0, 10, 0.1); this.charge.CanFocus = true; this.charge.Name = "charge"; this.charge.Adjustment.PageIncrement = 1; this.charge.ClimbRate = 1; this.charge.Digits = ((uint)(2)); this.charge.Numeric = true; this.charge.Value = 1; this.table3.Add(this.charge); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.charge])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.drag = new Gtk.SpinButton(0, 10, 0.1); this.drag.CanFocus = true; this.drag.Name = "drag"; this.drag.Adjustment.PageIncrement = 1; this.drag.ClimbRate = 1; this.drag.Digits = ((uint)(2)); this.drag.Numeric = true; this.drag.Value = 0.5; this.table3.Add(this.drag); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.drag])); w4.TopAttach = ((uint)(4)); w4.BottomAttach = ((uint)(5)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((Gtk.AttachOptions)(4)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Mass"); this.table3.Add(this.label10); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.label10])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Altitude"); this.table3.Add(this.label11); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table3[this.label11])); w6.TopAttach = ((uint)(3)); w6.BottomAttach = ((uint)(4)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Drag"); this.table3.Add(this.label12); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table3[this.label12])); w7.TopAttach = ((uint)(4)); w7.BottomAttach = ((uint)(5)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Attractors"); this.table3.Add(this.label7); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table3[this.label7])); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Step"); this.table3.Add(this.label8); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table3[this.label8])); w9.TopAttach = ((uint)(5)); w9.BottomAttach = ((uint)(6)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Charge"); this.table3.Add(this.label9); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table3[this.label9])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.mass = new Gtk.SpinButton(0.01, 10, 0.1); this.mass.CanFocus = true; this.mass.Name = "mass"; this.mass.Adjustment.PageIncrement = 1; this.mass.ClimbRate = 1; this.mass.Digits = ((uint)(2)); this.mass.Numeric = true; this.mass.Value = 2; this.table3.Add(this.mass); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table3[this.mass])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.step = new Gtk.SpinButton(0.01, 10, 0.01); this.step.CanFocus = true; this.step.Name = "step"; this.step.Adjustment.PageIncrement = 0.1; this.step.ClimbRate = 1; this.step.Digits = ((uint)(2)); this.step.Numeric = true; this.step.Value = 0.1; this.table3.Add(this.step); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table3[this.step])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table3); this.frame2.Add(this.GtkAlignment); this.GtkLabel1 = new Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("<b>Parameters</b>"); this.GtkLabel1.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel1; this.vbox7.Add(this.frame2); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox7[this.frame2])); w15.Position = 0; w15.Expand = false; w15.Fill = false; w15.Padding = ((uint)(5)); // Container child vbox7.Gtk.Box+BoxChild this.hbuttonbox2 = new Gtk.HButtonBox(); this.hbuttonbox2.Name = "hbuttonbox2"; this.vbox7.Add(this.hbuttonbox2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbuttonbox2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Homogeneous = true; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.stop = new Gtk.Button(); this.stop.CanFocus = true; this.stop.Name = "stop"; this.stop.UseUnderline = true; // Container child stop.Gtk.Container+ContainerChild Gtk.Alignment w17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w18 = new Gtk.HBox(); w18.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w19 = new Gtk.Image(); w19.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-stop", Gtk.IconSize.Menu, 16); w18.Add(w19); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w21 = new Gtk.Label(); w21.LabelProp = Mono.Unix.Catalog.GetString("Stop"); w21.UseUnderline = true; w18.Add(w21); w17.Add(w18); this.stop.Add(w17); this.hbox3.Add(this.stop); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.stop])); w25.Position = 0; // Container child hbox3.Gtk.Box+BoxChild this.clear1 = new Gtk.Button(); this.clear1.CanFocus = true; this.clear1.Name = "clear1"; this.clear1.UseUnderline = true; // Container child clear1.Gtk.Container+ContainerChild Gtk.Alignment w26 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w27 = new Gtk.HBox(); w27.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w28 = new Gtk.Image(); w28.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-clear", Gtk.IconSize.Menu, 16); w27.Add(w28); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w30 = new Gtk.Label(); w30.LabelProp = Mono.Unix.Catalog.GetString("Clear"); w30.UseUnderline = true; w27.Add(w30); w26.Add(w27); this.clear1.Add(w26); this.hbox3.Add(this.clear1); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox3[this.clear1])); w34.Position = 1; this.vbox7.Add(this.hbox3); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox3])); w35.Position = 2; w35.Expand = false; w35.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.simulateAll = new Gtk.Button(); this.simulateAll.CanFocus = true; this.simulateAll.Name = "simulateAll"; this.simulateAll.UseUnderline = true; // Container child simulateAll.Gtk.Container+ContainerChild Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w37 = new Gtk.HBox(); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w38 = new Gtk.Image(); w38.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16); w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w40 = new Gtk.Label(); w40.LabelProp = Mono.Unix.Catalog.GetString("Simulate All"); w40.UseUnderline = true; w37.Add(w40); w36.Add(w37); this.simulateAll.Add(w36); this.hbox2.Add(this.simulateAll); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox2[this.simulateAll])); w44.Position = 0; w44.Expand = false; w44.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.progressbar2 = new Gtk.ProgressBar(); this.progressbar2.WidthRequest = 30; this.progressbar2.Name = "progressbar2"; this.progressbar2.Text = ""; this.hbox2.Add(this.progressbar2); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox2[this.progressbar2])); w45.Position = 1; this.vbox7.Add(this.hbox2); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox2])); w46.Position = 3; w46.Expand = false; w46.Fill = false; this.hbox5.Add(this.vbox7); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox5[this.vbox7])); w47.Position = 0; w47.Expand = false; w47.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.eventBox = new Gtk.EventBox(); this.eventBox.Name = "eventBox"; // Container child eventBox.Gtk.Container+ContainerChild this.drawingArea = new Gtk.DrawingArea(); this.drawingArea.WidthRequest = 300; this.drawingArea.HeightRequest = 300; this.drawingArea.Name = "drawingArea"; this.eventBox.Add(this.drawingArea); this.hbox5.Add(this.eventBox); Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.hbox5[this.eventBox])); w49.Position = 1; this.Add(this.hbox5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 456; this.DefaultHeight = 308; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.step.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.mass.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.drag.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.charge.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.attractors.ValueChanged += new System.EventHandler(this.OnAttractorsValueChanged); this.altitude1.ValueChanged += new System.EventHandler(this.OnParameterValueChanged); this.stop.Clicked += new System.EventHandler(this.OnStopClicked); this.clear1.Clicked += new System.EventHandler(this.OnClearClicked); this.eventBox.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.OnEventBoxButtonReleaseEvent); this.drawingArea.ExposeEvent += new Gtk.ExposeEventHandler(this.OnDrawingAreaExposeEvent); this.drawingArea.ConfigureEvent += new Gtk.ConfigureEventHandler(this.OnDrawingAreaConfigureEvent); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.ResizeImageDialog this.Name = "Pinta.ResizeImageDialog"; this.Title = Mono.Unix.Catalog.GetString("Resize Image"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 300; this.DefaultHeight = 200; // Internal child Pinta.ResizeImageDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.percentageRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By percentage:")); this.percentageRadio.CanFocus = true; this.percentageRadio.Name = "percentageRadio"; this.percentageRadio.Active = true; this.percentageRadio.DrawIndicator = true; this.percentageRadio.UseUnderline = true; this.percentageRadio.Group = new GLib.SList(System.IntPtr.Zero); this.hbox1.Add(this.percentageRadio); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageRadio])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.percentageSpinner = new Gtk.SpinButton(1, 1000, 1); this.percentageSpinner.CanFocus = true; this.percentageSpinner.Name = "percentageSpinner"; this.percentageSpinner.Adjustment.PageIncrement = 10; this.percentageSpinner.ClimbRate = 1; this.percentageSpinner.Numeric = true; this.percentageSpinner.Value = 100; this.hbox1.Add(this.percentageSpinner); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageSpinner])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "%"; this.hbox1.Add(this.label1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.absoluteRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By absolute size:")); this.absoluteRadio.CanFocus = true; this.absoluteRadio.Name = "absoluteRadio"; this.absoluteRadio.DrawIndicator = true; this.absoluteRadio.UseUnderline = true; this.absoluteRadio.Group = this.percentageRadio.Group; this.hbox2.Add(this.absoluteRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.absoluteRadio])); w6.Position = 0; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Width:"); this.hbox3.Add(this.label2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.widthSpinner = new Gtk.SpinButton(1, 10000, 1); this.widthSpinner.Sensitive = false; this.widthSpinner.CanFocus = true; this.widthSpinner.Name = "widthSpinner"; this.widthSpinner.Adjustment.PageIncrement = 10; this.widthSpinner.ClimbRate = 1; this.widthSpinner.Numeric = true; this.hbox3.Add(this.widthSpinner); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.widthSpinner])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox3.Add(this.label4); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Height:"); this.hbox4.Add(this.label3); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.heightSpinner = new Gtk.SpinButton(1, 10000, 1); this.heightSpinner.Sensitive = false; this.heightSpinner.CanFocus = true; this.heightSpinner.Name = "heightSpinner"; this.heightSpinner.Adjustment.PageIncrement = 10; this.heightSpinner.ClimbRate = 1; this.heightSpinner.Numeric = true; this.hbox4.Add(this.heightSpinner); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.heightSpinner])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox4.Add(this.label5); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox4); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.aspectCheckbox = new Gtk.CheckButton(); this.aspectCheckbox.Sensitive = false; this.aspectCheckbox.CanFocus = true; this.aspectCheckbox.Name = "aspectCheckbox"; this.aspectCheckbox.Label = Mono.Unix.Catalog.GetString("Maintain aspect ratio"); this.aspectCheckbox.Active = true; this.aspectCheckbox.DrawIndicator = true; this.aspectCheckbox.UseUnderline = true; this.vbox2.Add(this.aspectCheckbox); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.aspectCheckbox])); w16.Position = 4; w16.Expand = false; w16.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child Pinta.ResizeImageDialog.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.NewImageDialog this.Name = "Pinta.NewImageDialog"; this.Title = Mono.Unix.Catalog.GetString("New Image"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Internal child Pinta.NewImageDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("New Image Size "); w1.Add(this.label5); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(w1[this.label5])); w2.Position = 0; w2.Expand = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(5)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(10)); this.table1.ColumnSpacing = ((uint)(8)); // Container child table1.Gtk.Table+TableChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.table1.Add(this.alignment1); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.alignment1])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.table1.Add(this.alignment2); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.alignment2])); w4.TopAttach = ((uint)(3)); w4.BottomAttach = ((uint)(4)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment3.Name = "alignment3"; this.table1.Add(this.alignment3); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.alignment3])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(4)); w5.RightAttach = ((uint)(5)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.table1.Add(this.alignment4); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.alignment4])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.heightSpinner = new Gtk.SpinButton(0, 10000, 1); this.heightSpinner.CanFocus = true; this.heightSpinner.Name = "heightSpinner"; this.heightSpinner.Adjustment.PageIncrement = 10; this.heightSpinner.ClimbRate = 1; this.heightSpinner.Numeric = true; this.heightSpinner.Value = 600; this.table1.Add(this.heightSpinner); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.heightSpinner])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.table1.Add(this.label1); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.table1.Add(this.label2); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.LeftAttach = ((uint)(3)); w9.RightAttach = ((uint)(4)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width:"); this.table1.Add(this.label3); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height:"); this.label4.Justify = ((Gtk.Justification)(1)); this.table1.Add(this.label4); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.widthSpinner = new Gtk.SpinButton(0, 10000, 1); this.widthSpinner.CanFocus = true; this.widthSpinner.Name = "widthSpinner"; this.widthSpinner.Adjustment.PageIncrement = 10; this.widthSpinner.ClimbRate = 1; this.widthSpinner.Numeric = true; this.widthSpinner.Value = 800; this.table1.Add(this.widthSpinner); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.widthSpinner])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(2)); w12.RightAttach = ((uint)(3)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); w1.Add(this.table1); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.table1])); w13.Position = 1; // Internal child Pinta.NewImageDialog.ActionArea Gtk.HButtonBox w14 = this.ActionArea; w14.Name = "dialog1_ActionArea"; w14.Spacing = 10; w14.BorderWidth = ((uint)(5)); w14.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(w14[this.buttonCancel])); w15.Expand = false; w15.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w14[this.buttonOk])); w16.Position = 1; w16.Expand = false; w16.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 251; this.DefaultHeight = 179; this.Show(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Smuxi.Frontend.Gnome.QuickConnectDialog this.Name = "Smuxi.Frontend.Gnome.QuickConnectDialog"; this.Title = Mono.Unix.Catalog.GetString("smuxi - Quick Connect"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.BorderWidth = ((uint)(5)); // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox2"; w1.Spacing = 5; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.f_ScrolledWindow = new Gtk.ScrolledWindow(); this.f_ScrolledWindow.Name = "f_ScrolledWindow"; this.f_ScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child f_ScrolledWindow.Gtk.Container+ContainerChild this.f_TreeView = new Gtk.TreeView(); this.f_TreeView.CanFocus = true; this.f_TreeView.Name = "f_TreeView"; this.f_TreeView.HeadersClickable = true; this.f_ScrolledWindow.Add(this.f_TreeView); this.hbox1.Add(this.f_ScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.f_ScrolledWindow])); w3.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox16 = new Gtk.VBox(); this.vbox16.Name = "vbox16"; // Container child vbox16.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(5)); this.table2.ColumnSpacing = ((uint)(5)); // Container child table2.Gtk.Table+TableChild this.f_ProtocolComboBox = new Gtk.ComboBox(); this.f_ProtocolComboBox.Name = "f_ProtocolComboBox"; this.table2.Add(this.f_ProtocolComboBox); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.f_ProtocolComboBox])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.f_UsernameEntry = new Gtk.Entry(); this.f_UsernameEntry.Name = "f_UsernameEntry"; this.f_UsernameEntry.IsEditable = true; this.f_UsernameEntry.InvisibleChar = '●'; this.table2.Add(this.f_UsernameEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.f_UsernameEntry])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.hbox10 = new Gtk.HBox(); this.hbox10.Name = "hbox10"; // Container child hbox10.Gtk.Box+BoxChild this.f_HostnameEntry = new Gtk.Entry(); this.f_HostnameEntry.Name = "f_HostnameEntry"; this.f_HostnameEntry.IsEditable = true; this.f_HostnameEntry.InvisibleChar = '●'; this.hbox10.Add(this.f_HostnameEntry); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox10[this.f_HostnameEntry])); w6.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.hbox11 = new Gtk.HBox(); this.hbox11.Name = "hbox11"; this.hbox11.Spacing = 5; // Container child hbox11.Gtk.Box+BoxChild this.label20 = new Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = Mono.Unix.Catalog.GetString("_Port:"); this.label20.UseUnderline = true; this.hbox11.Add(this.label20); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox11[this.label20])); w7.Position = 0; // Container child hbox11.Gtk.Box+BoxChild this.f_PortSpinButton = new Gtk.SpinButton(0, 65535, 1); this.f_PortSpinButton.Name = "f_PortSpinButton"; this.f_PortSpinButton.Adjustment.PageIncrement = 10; this.f_PortSpinButton.Adjustment.PageSize = 10; this.f_PortSpinButton.ClimbRate = 1; this.f_PortSpinButton.Numeric = true; this.hbox11.Add(this.f_PortSpinButton); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox11[this.f_PortSpinButton])); w8.Position = 1; this.hbox10.Add(this.hbox11); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox10[this.hbox11])); w9.Position = 1; this.table2.Add(this.hbox10); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.hbox10])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.f_PasswordEntry = new Gtk.Entry(); this.f_PasswordEntry.Name = "f_PasswordEntry"; this.f_PasswordEntry.IsEditable = true; this.f_PasswordEntry.Visibility = false; this.f_PasswordEntry.InvisibleChar = '●'; this.hbox2.Add(this.f_PasswordEntry); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox2[this.f_PasswordEntry])); w11.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.f_ShowPasswordCheckButton = new Gtk.CheckButton(); this.f_ShowPasswordCheckButton.CanFocus = true; this.f_ShowPasswordCheckButton.Name = "f_ShowPasswordCheckButton"; this.f_ShowPasswordCheckButton.Label = Mono.Unix.Catalog.GetString("Show Password"); this.f_ShowPasswordCheckButton.DrawIndicator = true; this.f_ShowPasswordCheckButton.UseUnderline = true; this.hbox2.Add(this.f_ShowPasswordCheckButton); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox2[this.f_ShowPasswordCheckButton])); w12.Position = 1; this.table2.Add(this.hbox2); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table2[this.hbox2])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("_Hostname:"); this.label11.UseUnderline = true; this.table2.Add(this.label11); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table2[this.label11])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); // Container child table2.Gtk.Table+TableChild this.label21 = new Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 0F; this.label21.LabelProp = Mono.Unix.Catalog.GetString("_Username:"******"label22"; this.label22.Xalign = 0F; this.label22.LabelProp = Mono.Unix.Catalog.GetString("_Password:"******"label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("_Protocol:"); this.label5.UseUnderline = true; this.table2.Add(this.label5); this.vbox16.Add(this.table2); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox16[this.table2])); w18.Position = 0; w18.Expand = false; this.hbox1.Add(this.vbox16); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox16])); w19.Position = 1; w19.Expand = false; w19.Fill = false; w1.Add(this.hbox1); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w20.Position = 0; // Internal child Smuxi.Frontend.Gnome.QuickConnectDialog.ActionArea Gtk.HButtonBox w21 = this.ActionArea; w21.Name = "dialog-action_area2"; w21.Spacing = 6; w21.BorderWidth = ((uint)(5)); w21.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.f_CancelButton = new Gtk.Button(); this.f_CancelButton.Name = "f_CancelButton"; this.f_CancelButton.UseStock = true; this.f_CancelButton.UseUnderline = true; this.f_CancelButton.Label = "gtk-cancel"; this.AddActionWidget(this.f_CancelButton, -6); // Container child dialog-action_area2.Gtk.ButtonBox+ButtonBoxChild this.f_ConnectButton = new Gtk.Button(); this.f_ConnectButton.Name = "f_ConnectButton"; this.f_ConnectButton.UseStock = true; this.f_ConnectButton.UseUnderline = true; this.f_ConnectButton.Label = "gtk-connect"; this.AddActionWidget(this.f_ConnectButton, -5); Gtk.ButtonBox.ButtonBoxChild w23 = ((Gtk.ButtonBox.ButtonBoxChild)(w21[this.f_ConnectButton])); w23.Position = 1; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 559; this.DefaultHeight = 374; this.label20.MnemonicWidget = this.f_PortSpinButton; this.label11.MnemonicWidget = this.f_HostnameEntry; this.label21.MnemonicWidget = this.f_UsernameEntry; this.label22.MnemonicWidget = this.f_PasswordEntry; this.label5.MnemonicWidget = this.f_ProtocolComboBox; this.Show(); this.f_ShowPasswordCheckButton.Clicked += new System.EventHandler(this.OnShowPasswordCheckButtonClicked); this.f_HostnameEntry.Changed += new System.EventHandler(this.OnHostnameEntryChanged); this.f_ConnectButton.Clicked += new System.EventHandler(this.OnConnectButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog this.Name = "MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog"; this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(1)); this.SkipTaskbarHint = true; this.HasSeparator = false; // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.notebook = new Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; // Container child notebook.Gtk.Notebook+NotebookChild this.tableGeneral = new Gtk.Table(((uint)(7)), ((uint)(2)), false); this.tableGeneral.Name = "tableGeneral"; this.tableGeneral.RowSpacing = ((uint)(6)); this.tableGeneral.ColumnSpacing = ((uint)(6)); this.tableGeneral.BorderWidth = ((uint)(6)); // Container child tableGeneral.Gtk.Table+TableChild this.comboProvider = new Gtk.ComboBox(); this.comboProvider.Name = "comboProvider"; this.tableGeneral.Add(this.comboProvider); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.tableGeneral[this.comboProvider])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryName = new Gtk.Entry(); this.entryName.CanDefault = true; this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.ActivatesDefault = true; this.entryName.InvisibleChar = '●'; this.tableGeneral.Add(this.entryName); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryName])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryServer = new Gtk.Entry(); this.entryServer.CanFocus = true; this.entryServer.Name = "entryServer"; this.entryServer.IsEditable = true; this.entryServer.InvisibleChar = '●'; this.tableGeneral.Add(this.entryServer); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryServer])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.entryUsername = new Gtk.Entry(); this.entryUsername.CanFocus = true; this.entryUsername.Name = "entryUsername"; this.entryUsername.IsEditable = true; this.entryUsername.InvisibleChar = '●'; this.tableGeneral.Add(this.entryUsername); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryUsername])); w5.TopAttach = ((uint)(4)); w5.BottomAttach = ((uint)(5)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.hboxDatabase = new Gtk.HBox(); this.hboxDatabase.Name = "hboxDatabase"; this.hboxDatabase.Spacing = 6; // Container child hboxDatabase.Gtk.Box+BoxChild this.comboDatabase = Gtk.ComboBoxEntry.NewText(); this.comboDatabase.Name = "comboDatabase"; this.hboxDatabase.Add(this.comboDatabase); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.comboDatabase])); w6.Position = 0; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonRefresh = new Gtk.Button(); this.buttonRefresh.CanFocus = true; this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.UseStock = true; this.buttonRefresh.UseUnderline = true; this.buttonRefresh.Label = "gtk-refresh"; this.hboxDatabase.Add(this.buttonRefresh); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonRefresh])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child hboxDatabase.Gtk.Box+BoxChild this.buttonOpen = new Gtk.Button(); this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseStock = true; this.buttonOpen.UseUnderline = true; this.buttonOpen.Label = "gtk-open"; this.hboxDatabase.Add(this.buttonOpen); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonOpen])); w8.Position = 2; w8.Expand = false; w8.Fill = false; this.tableGeneral.Add(this.hboxDatabase); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxDatabase])); w9.TopAttach = ((uint)(6)); w9.BottomAttach = ((uint)(7)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.hboxPassword = new Gtk.HBox(); this.hboxPassword.Name = "hboxPassword"; this.hboxPassword.Spacing = 6; // Container child hboxPassword.Gtk.Box+BoxChild this.entryPassword = new Gtk.Entry(); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.Visibility = false; this.entryPassword.InvisibleChar = '●'; this.hboxPassword.Add(this.entryPassword); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.entryPassword])); w10.Position = 0; // Container child hboxPassword.Gtk.Box+BoxChild this.checkSavePassword = new Gtk.CheckButton(); this.checkSavePassword.CanFocus = true; this.checkSavePassword.Name = "checkSavePassword"; this.checkSavePassword.Label = Mono.Unix.Catalog.GetString("Save Password"); this.checkSavePassword.Active = true; this.checkSavePassword.DrawIndicator = true; this.checkSavePassword.UseUnderline = true; this.hboxPassword.Add(this.checkSavePassword); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.checkSavePassword])); w11.Position = 1; w11.Expand = false; this.tableGeneral.Add(this.hboxPassword); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxPassword])); w12.TopAttach = ((uint)(5)); w12.BottomAttach = ((uint)(6)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Type"); this.tableGeneral.Add(this.label3); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label3])); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Name"); this.tableGeneral.Add(this.label4); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label4])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Server"); this.tableGeneral.Add(this.label5); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label5])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Port"); this.tableGeneral.Add(this.label6); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label6])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username"); this.tableGeneral.Add(this.label7); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label7])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Password"); this.tableGeneral.Add(this.label8); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label8])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Database"); this.tableGeneral.Add(this.label9); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label9])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableGeneral.Gtk.Table+TableChild this.spinPort = new Gtk.SpinButton(1, 65535, 1); this.spinPort.CanFocus = true; this.spinPort.Name = "spinPort"; this.spinPort.Adjustment.PageIncrement = 10; this.spinPort.ClimbRate = 1; this.spinPort.Numeric = true; this.spinPort.Value = 1; this.tableGeneral.Add(this.spinPort); Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.tableGeneral[this.spinPort])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((Gtk.AttachOptions)(4)); w20.YOptions = ((Gtk.AttachOptions)(4)); this.notebook.Add(this.tableGeneral); Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableGeneral])); w21.TabExpand = false; // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.notebook.SetTabLabel(this.tableGeneral, this.label1); this.label1.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.tableAdvanced = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.tableAdvanced.Name = "tableAdvanced"; this.tableAdvanced.RowSpacing = ((uint)(6)); this.tableAdvanced.ColumnSpacing = ((uint)(6)); this.tableAdvanced.BorderWidth = ((uint)(6)); // Container child tableAdvanced.Gtk.Table+TableChild this.checkCustom = new Gtk.CheckButton(); this.checkCustom.CanFocus = true; this.checkCustom.Name = "checkCustom"; this.checkCustom.Label = Mono.Unix.Catalog.GetString("Use custom connection string"); this.checkCustom.DrawIndicator = true; this.checkCustom.UseUnderline = true; this.tableAdvanced.Add(this.checkCustom); Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.checkCustom])); w22.TopAttach = ((uint)(2)); w22.BottomAttach = ((uint)(3)); w22.RightAttach = ((uint)(2)); w22.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Min Pool Size"); this.tableAdvanced.Add(this.label10); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label10])); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Max Pool Size"); this.tableAdvanced.Add(this.label11); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label11])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.scrolledwindow = new Gtk.ScrolledWindow(); this.scrolledwindow.Sensitive = false; this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1)); this.scrolledwindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow.Gtk.Container+ContainerChild this.textConnectionString = new Gtk.TextView(); this.textConnectionString.CanFocus = true; this.textConnectionString.Name = "textConnectionString"; this.scrolledwindow.Add(this.textConnectionString); this.tableAdvanced.Add(this.scrolledwindow); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.scrolledwindow])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMaxPoolSize = new Gtk.SpinButton(1, 100, 1); this.spinMaxPoolSize.CanFocus = true; this.spinMaxPoolSize.Name = "spinMaxPoolSize"; this.spinMaxPoolSize.Adjustment.PageIncrement = 10; this.spinMaxPoolSize.ClimbRate = 1; this.spinMaxPoolSize.Numeric = true; this.spinMaxPoolSize.Value = 5; this.tableAdvanced.Add(this.spinMaxPoolSize); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMaxPoolSize])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child tableAdvanced.Gtk.Table+TableChild this.spinMinPoolSize = new Gtk.SpinButton(1, 100, 1); this.spinMinPoolSize.CanFocus = true; this.spinMinPoolSize.Name = "spinMinPoolSize"; this.spinMinPoolSize.Adjustment.PageIncrement = 10; this.spinMinPoolSize.ClimbRate = 1; this.spinMinPoolSize.Numeric = true; this.spinMinPoolSize.Value = 1; this.tableAdvanced.Add(this.spinMinPoolSize); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMinPoolSize])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); this.notebook.Add(this.tableAdvanced); Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableAdvanced])); w29.Position = 1; w29.TabExpand = false; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Advanced"); this.notebook.SetTabLabel(this.tableAdvanced, this.label2); this.label2.ShowAll(); w1.Add(this.notebook); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.ActionArea Gtk.HButtonBox w31 = this.ActionArea; w31.Name = "dialog1_ActionArea"; w31.Spacing = 6; w31.BorderWidth = ((uint)(5)); w31.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel])); w32.Expand = false; w32.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk])); w33.Position = 1; w33.Expand = false; w33.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 606; this.DefaultHeight = 351; this.entryName.HasDefault = true; this.Show(); this.spinPort.Changed += new System.EventHandler(this.PortChanged); this.entryPassword.Changed += new System.EventHandler(this.PasswordChanged); this.buttonRefresh.Clicked += new System.EventHandler(this.RefreshClicked); this.buttonOpen.Clicked += new System.EventHandler(this.OpenClicked); this.entryUsername.Changed += new System.EventHandler(this.UsernameChanged); this.entryServer.Changed += new System.EventHandler(this.ServerChanged); this.entryName.Changed += new System.EventHandler(this.NameChanged); this.comboProvider.Changed += new System.EventHandler(this.ProviderChanged); this.spinMinPoolSize.Changed += new System.EventHandler(this.MinPoolSizeChanged); this.spinMaxPoolSize.Changed += new System.EventHandler(this.MaxPoolSizeChanged); this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked); this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget GMail.GMailLabelConfig Stetic.BinContainer.Attach(this); this.Name = "GMail.GMailLabelConfig"; // Container child GMail.GMailLabelConfig.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label_entry = new Docky.Widgets.SearchEntry(); this.label_entry.Name = "label_entry"; this.label_entry.EmptyMessage = "Label Name"; this.label_entry.Query = ""; this.label_entry.Ready = true; this.label_entry.HasFocus = false; this.hbox1.Add(this.label_entry); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label_entry])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.add_label = new Gtk.Button(); this.add_label.CanFocus = true; this.add_label.Name = "add_label"; this.add_label.UseUnderline = true; // Container child add_label.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w3 = new Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w4 = new Gtk.Image(); w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = Mono.Unix.Catalog.GetString("_Add Label"); w6.UseUnderline = true; w3.Add(w6); w2.Add(w3); this.add_label.Add(w2); this.hbox1.Add(this.add_label); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.add_label])); w10.Position = 1; w10.Expand = false; w10.Fill = false; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(2)); this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w12 = new Gtk.Viewport(); w12.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.label_list = new Docky.Widgets.ListOnlyTileView(); this.label_list.Name = "label_list"; w12.Add(this.label_list); this.scrolledwindow1.Add(w12); this.vbox1.Add(this.scrolledwindow1); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1])); w15.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Check e_very:"); this.label1.UseUnderline = true; this.hbox2.Add(this.label1); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("minutes"); this.hbox2.Add(this.label2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2])); w17.PackType = ((Gtk.PackType)(1)); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.check_interval = new Gtk.SpinButton(2, 1440, 1); this.check_interval.CanFocus = true; this.check_interval.Name = "check_interval"; this.check_interval.Adjustment.PageIncrement = 10; this.check_interval.ClimbRate = 1; this.check_interval.Numeric = true; this.check_interval.Value = 15; this.hbox2.Add(this.check_interval); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox2[this.check_interval])); w18.PackType = ((Gtk.PackType)(1)); w18.Position = 2; w18.Expand = false; w18.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.label1.MnemonicWidget = this.check_interval; this.Hide(); this.add_label.Clicked += new System.EventHandler(this.AddLabelClicked); this.check_interval.ValueChanged += new System.EventHandler(this.OnIntervalValueChanged); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Monsoon.PreferencesDialog this.Events = ((Gdk.EventMask)(256)); this.Name = "Monsoon.PreferencesDialog"; this.Title = Mono.Unix.Catalog.GetString("Monsoon Preferences"); // Internal child Monsoon.PreferencesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Events = ((Gdk.EventMask)(256)); w1.Name = "dialog_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog_VBox.Gtk.Box+BoxChild this.prefNotebook = new Gtk.Notebook(); this.prefNotebook.CanFocus = true; this.prefNotebook.Name = "prefNotebook"; this.prefNotebook.CurrentPage = 0; // Container child prefNotebook.Gtk.Notebook+NotebookChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.frame7 = new Gtk.Frame(); this.frame7.Name = "frame7"; this.frame7.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame7.Gtk.Container+ContainerChild this.GtkAlignment10 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment10.Name = "GtkAlignment10"; this.GtkAlignment10.LeftPadding = ((uint)(12)); // Container child GtkAlignment10.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboToolbarStyle = Gtk.ComboBox.NewText(); this.comboToolbarStyle.Name = "comboToolbarStyle"; this.table1.Add(this.comboToolbarStyle); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.comboToolbarStyle])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblToolbarStyle = new Gtk.Label(); this.lblToolbarStyle.Name = "lblToolbarStyle"; this.lblToolbarStyle.Xalign = 0F; this.lblToolbarStyle.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.table1.Add(this.lblToolbarStyle); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.lblToolbarStyle])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.loadDialogCheckButton = new Gtk.CheckButton(); this.loadDialogCheckButton.CanFocus = true; this.loadDialogCheckButton.Name = "loadDialogCheckButton"; this.loadDialogCheckButton.Label = Mono.Unix.Catalog.GetString("Enable Load Torrent confirmation dialog"); this.loadDialogCheckButton.DrawIndicator = true; this.loadDialogCheckButton.UseUnderline = true; this.table1.Add(this.loadDialogCheckButton); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.loadDialogCheckButton])); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment10.Add(this.table1); this.frame7.Add(this.GtkAlignment10); this.GtkLabel13 = new Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>Display Options</b>"); this.GtkLabel13.UseMarkup = true; this.frame7.LabelWidget = this.GtkLabel13; this.vbox3.Add(this.frame7); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame7])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame8 = new Gtk.Frame(); this.frame8.Name = "frame8"; this.frame8.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame8.Gtk.Container+ContainerChild this.GtkAlignment11 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment11.Name = "GtkAlignment11"; this.GtkAlignment11.LeftPadding = ((uint)(12)); // Container child GtkAlignment11.Gtk.Container+ContainerChild this.table2 = new Gtk.Table(((uint)(3)), ((uint)(1)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.enableNotificationsCheckButton = new Gtk.CheckButton(); this.enableNotificationsCheckButton.CanFocus = true; this.enableNotificationsCheckButton.Name = "enableNotificationsCheckButton"; this.enableNotificationsCheckButton.Label = Mono.Unix.Catalog.GetString("Enable notifications on torrent completion"); this.enableNotificationsCheckButton.DrawIndicator = true; this.enableNotificationsCheckButton.UseUnderline = true; this.table2.Add(this.enableNotificationsCheckButton); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table2[this.enableNotificationsCheckButton])); w8.TopAttach = ((uint)(2)); w8.BottomAttach = ((uint)(3)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.enableTrayCheckButton = new Gtk.CheckButton(); this.enableTrayCheckButton.CanFocus = true; this.enableTrayCheckButton.Name = "enableTrayCheckButton"; this.enableTrayCheckButton.Label = Mono.Unix.Catalog.GetString("Enable icon"); this.enableTrayCheckButton.DrawIndicator = true; this.enableTrayCheckButton.UseUnderline = true; this.table2.Add(this.enableTrayCheckButton); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table2[this.enableTrayCheckButton])); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.minimizeTrayCheckButton = new Gtk.CheckButton(); this.minimizeTrayCheckButton.CanFocus = true; this.minimizeTrayCheckButton.Name = "minimizeTrayCheckButton"; this.minimizeTrayCheckButton.Label = Mono.Unix.Catalog.GetString("Minimize to notification area on close"); this.minimizeTrayCheckButton.DrawIndicator = true; this.minimizeTrayCheckButton.UseUnderline = true; this.table2.Add(this.minimizeTrayCheckButton); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.minimizeTrayCheckButton])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment11.Add(this.table2); this.frame8.Add(this.GtkAlignment11); this.GtkLabel20 = new Gtk.Label(); this.GtkLabel20.Name = "GtkLabel20"; this.GtkLabel20.LabelProp = Mono.Unix.Catalog.GetString("<b>Notification Area Icon</b>"); this.GtkLabel20.UseMarkup = true; this.frame8.LabelWidget = this.GtkLabel20; this.vbox3.Add(this.frame8); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame8])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.prefNotebook.Add(this.vbox3); // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("General"); this.prefNotebook.SetTabLabel(this.vbox3, this.label2); this.label2.ShowAll(); // Container child prefNotebook.Gtk.Notebook+NotebookChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.BorderWidth = ((uint)(5)); // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.maxConnectionsLabel = new Gtk.Label(); this.maxConnectionsLabel.Name = "maxConnectionsLabel"; this.maxConnectionsLabel.Xalign = 0F; this.maxConnectionsLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum connections: "); this.table3.Add(this.maxConnectionsLabel); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table3[this.maxConnectionsLabel])); w15.TopAttach = ((uint)(1)); w15.BottomAttach = ((uint)(2)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.maxConnectionsSpinButton = new Gtk.SpinButton(0, 1000, 1); this.maxConnectionsSpinButton.CanFocus = true; this.maxConnectionsSpinButton.Name = "maxConnectionsSpinButton"; this.maxConnectionsSpinButton.Adjustment.PageIncrement = 10; this.maxConnectionsSpinButton.ClimbRate = 1; this.maxConnectionsSpinButton.Numeric = true; this.table3.Add(this.maxConnectionsSpinButton); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table3[this.maxConnectionsSpinButton])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.portLabel = new Gtk.Label(); this.portLabel.Name = "portLabel"; this.portLabel.Xalign = 0F; this.portLabel.LabelProp = Mono.Unix.Catalog.GetString("Listen port: "); this.table3.Add(this.portLabel); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table3[this.portLabel])); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.portSpinButton = new Gtk.SpinButton(0, 65535, 1); this.portSpinButton.CanFocus = true; this.portSpinButton.Name = "portSpinButton"; this.portSpinButton.Adjustment.PageIncrement = 10; this.portSpinButton.ClimbRate = 1; this.portSpinButton.Numeric = true; this.table3.Add(this.portSpinButton); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table3[this.portSpinButton])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.upnpCheckBox = new Gtk.CheckButton(); this.upnpCheckBox.CanFocus = true; this.upnpCheckBox.Name = "upnpCheckBox"; this.upnpCheckBox.Label = Mono.Unix.Catalog.GetString("Enable UPnP"); this.upnpCheckBox.DrawIndicator = true; this.upnpCheckBox.UseUnderline = true; this.table3.Add(this.upnpCheckBox); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table3[this.upnpCheckBox])); w19.LeftAttach = ((uint)(2)); w19.RightAttach = ((uint)(3)); w19.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment1.Add(this.table3); this.frame1.Add(this.GtkAlignment1); this.GtkLabel5 = new Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Ports</b>"); this.GtkLabel5.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel5; this.vbox2.Add(this.frame1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.downloadSpeedLabel = new Gtk.Label(); this.downloadSpeedLabel.Name = "downloadSpeedLabel"; this.downloadSpeedLabel.Xalign = 0F; this.downloadSpeedLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum download speed: "); this.table4.Add(this.downloadSpeedLabel); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table4[this.downloadSpeedLabel])); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.maxDownloadSpeedSpinButton = new Gtk.SpinButton(0, 5000, 1); this.maxDownloadSpeedSpinButton.CanFocus = true; this.maxDownloadSpeedSpinButton.Name = "maxDownloadSpeedSpinButton"; this.maxDownloadSpeedSpinButton.Adjustment.PageIncrement = 10; this.maxDownloadSpeedSpinButton.ClimbRate = 1; this.maxDownloadSpeedSpinButton.Numeric = true; this.table4.Add(this.maxDownloadSpeedSpinButton); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table4[this.maxDownloadSpeedSpinButton])); w24.LeftAttach = ((uint)(1)); w24.RightAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.maxUploadSpeedSpinButton = new Gtk.SpinButton(0, 5000, 1); this.maxUploadSpeedSpinButton.CanFocus = true; this.maxUploadSpeedSpinButton.Name = "maxUploadSpeedSpinButton"; this.maxUploadSpeedSpinButton.Adjustment.PageIncrement = 10; this.maxUploadSpeedSpinButton.ClimbRate = 1; this.maxUploadSpeedSpinButton.Numeric = true; this.table4.Add(this.maxUploadSpeedSpinButton); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table4[this.maxUploadSpeedSpinButton])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.uploadSpeedLabel = new Gtk.Label(); this.uploadSpeedLabel.Name = "uploadSpeedLabel"; this.uploadSpeedLabel.Xalign = 0F; this.uploadSpeedLabel.LabelProp = Mono.Unix.Catalog.GetString("Maximum upload speed: "); this.table4.Add(this.uploadSpeedLabel); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table4[this.uploadSpeedLabel])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table4); this.frame2.Add(this.GtkAlignment2); this.bandwidthPanelLabel = new Gtk.Label(); this.bandwidthPanelLabel.Name = "bandwidthPanelLabel"; this.bandwidthPanelLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Bandwidth</b>"); this.bandwidthPanelLabel.UseMarkup = true; this.frame2.LabelWidget = this.bandwidthPanelLabel; this.vbox2.Add(this.frame2); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2])); w29.Position = 1; w29.Expand = false; w29.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame9 = new Gtk.Frame(); this.frame9.Name = "frame9"; this.frame9.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame9.Gtk.Container+ContainerChild this.alignment1 = new Gtk.Alignment(0F, 0.5F, 1F, 0F); this.alignment1.Name = "alignment1"; this.alignment1.LeftPadding = ((uint)(12)); // Container child alignment1.Gtk.Container+ContainerChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Encryption"); this.hbox3.Add(this.label9); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox3[this.label9])); w30.Position = 0; w30.Expand = false; w30.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.encryptionCombo = Gtk.ComboBox.NewText(); this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("No Encryption")); this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Allow Encryption")); this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Prefer Encryption")); this.encryptionCombo.AppendText(Mono.Unix.Catalog.GetString("Force Encryption")); this.encryptionCombo.Name = "encryptionCombo"; this.encryptionCombo.Active = 1; this.hbox3.Add(this.encryptionCombo); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox3[this.encryptionCombo])); w31.PackType = ((Gtk.PackType)(1)); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.alignment1.Add(this.hbox3); this.frame9.Add(this.alignment1); this.GtkLabel18 = new Gtk.Label(); this.GtkLabel18.Name = "GtkLabel18"; this.GtkLabel18.LabelProp = Mono.Unix.Catalog.GetString("<b>Encryption</b>"); this.GtkLabel18.UseMarkup = true; this.frame9.LabelWidget = this.GtkLabel18; this.vbox2.Add(this.frame9); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame9])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.prefNotebook.Add(this.vbox2); Gtk.Notebook.NotebookChild w35 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox2])); w35.Position = 1; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Connection"); this.prefNotebook.SetTabLabel(this.vbox2, this.label3); this.label3.ShowAll(); // Container child prefNotebook.Gtk.Notebook+NotebookChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment5 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.vbox8 = new Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.startNewTorrentsCheckBox = new Gtk.CheckButton(); this.startNewTorrentsCheckBox.CanFocus = true; this.startNewTorrentsCheckBox.Name = "startNewTorrentsCheckBox"; this.startNewTorrentsCheckBox.Label = Mono.Unix.Catalog.GetString("Start added torrents automatically"); this.startNewTorrentsCheckBox.Active = true; this.startNewTorrentsCheckBox.DrawIndicator = true; this.startNewTorrentsCheckBox.UseUnderline = true; this.vbox8.Add(this.startNewTorrentsCheckBox); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox8[this.startNewTorrentsCheckBox])); w36.Position = 0; w36.Expand = false; w36.Fill = false; this.GtkAlignment5.Add(this.vbox8); this.frame4.Add(this.GtkAlignment5); this.GtkLabel7 = new Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel7.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel7; this.vbox5.Add(this.frame4); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame4])); w39.Position = 0; w39.Expand = false; w39.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.foldersFrame = new Gtk.Frame(); this.foldersFrame.Name = "foldersFrame"; this.foldersFrame.ShadowType = ((Gtk.ShadowType)(0)); // Container child foldersFrame.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.foldersTable = new Gtk.Table(((uint)(2)), ((uint)(2)), false); this.foldersTable.Name = "foldersTable"; this.foldersTable.RowSpacing = ((uint)(6)); this.foldersTable.ColumnSpacing = ((uint)(6)); // Container child foldersTable.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = Mono.Unix.Catalog.GetString("Default download location: "); this.foldersTable.Add(this.label1); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.foldersTable[this.label1])); w40.XOptions = ((Gtk.AttachOptions)(4)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child foldersTable.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Torrent storage location:"); this.foldersTable.Add(this.label7); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.foldersTable[this.label7])); w41.TopAttach = ((uint)(1)); w41.BottomAttach = ((uint)(2)); w41.XOptions = ((Gtk.AttachOptions)(4)); w41.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment3.Add(this.foldersTable); this.foldersFrame.Add(this.GtkAlignment3); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Folders</b>"); this.GtkLabel8.UseMarkup = true; this.foldersFrame.LabelWidget = this.GtkLabel8; this.vbox5.Add(this.foldersFrame); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox5[this.foldersFrame])); w44.Position = 1; w44.Expand = false; w44.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 6; // Container child vbox7.Gtk.Box+BoxChild this.importTorrentsCheckBox = new Gtk.CheckButton(); this.importTorrentsCheckBox.CanFocus = true; this.importTorrentsCheckBox.Name = "importTorrentsCheckBox"; this.importTorrentsCheckBox.Label = Mono.Unix.Catalog.GetString("Import new torrents automatically"); this.importTorrentsCheckBox.DrawIndicator = true; this.importTorrentsCheckBox.UseUnderline = true; this.vbox7.Add(this.importTorrentsCheckBox); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox7[this.importTorrentsCheckBox])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.removeOnImportCheckButton = new Gtk.CheckButton(); this.removeOnImportCheckButton.CanFocus = true; this.removeOnImportCheckButton.Name = "removeOnImportCheckButton"; this.removeOnImportCheckButton.Label = Mono.Unix.Catalog.GetString("Remove torrent file after imported"); this.removeOnImportCheckButton.DrawIndicator = true; this.removeOnImportCheckButton.UseUnderline = true; this.vbox7.Add(this.removeOnImportCheckButton); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.vbox7[this.removeOnImportCheckButton])); w46.Position = 1; w46.Expand = false; w46.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.importDirectoryHbox = new Gtk.HBox(); this.importDirectoryHbox.Name = "importDirectoryHbox"; this.importDirectoryHbox.Spacing = 6; // Container child importDirectoryHbox.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Import directory:"); this.importDirectoryHbox.Add(this.label6); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.importDirectoryHbox[this.label6])); w47.Position = 0; w47.Expand = false; w47.Fill = false; this.vbox7.Add(this.importDirectoryHbox); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox7[this.importDirectoryHbox])); w48.Position = 2; w48.Expand = false; w48.Fill = false; this.GtkAlignment4.Add(this.vbox7); this.frame3.Add(this.GtkAlignment4); this.GtkLabel11 = new Gtk.Label(); this.GtkLabel11.Name = "GtkLabel11"; this.GtkLabel11.LabelProp = Mono.Unix.Catalog.GetString("<b>Importing Torrents</b>"); this.GtkLabel11.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel11; this.vbox5.Add(this.frame3); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame3])); w51.Position = 2; w51.Expand = false; w51.Fill = false; this.prefNotebook.Add(this.vbox5); Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox5])); w52.Position = 2; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Downloads"); this.prefNotebook.SetTabLabel(this.vbox5, this.label4); this.label4.ShowAll(); // Container child prefNotebook.Gtk.Notebook+NotebookChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.BorderWidth = ((uint)(3)); // Container child vbox4.Gtk.Box+BoxChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table5 = new Gtk.Table(((uint)(3)), ((uint)(3)), true); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(6)); this.table5.ColumnSpacing = ((uint)(6)); // Container child table5.Gtk.Table+TableChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.table5.Add(this.alignment2); Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table5[this.alignment2])); w53.LeftAttach = ((uint)(1)); w53.RightAttach = ((uint)(2)); w53.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblMaxActive = new Gtk.Label(); this.lblMaxActive.Name = "lblMaxActive"; this.lblMaxActive.Xalign = 0F; this.lblMaxActive.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.table5.Add(this.lblMaxActive); Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxActive])); w54.XOptions = ((Gtk.AttachOptions)(4)); w54.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblMaxDownload = new Gtk.Label(); this.lblMaxDownload.Name = "lblMaxDownload"; this.lblMaxDownload.Xalign = 0F; this.lblMaxDownload.LabelProp = Mono.Unix.Catalog.GetString("label2"); this.table5.Add(this.lblMaxDownload); Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxDownload])); w55.TopAttach = ((uint)(1)); w55.BottomAttach = ((uint)(2)); w55.XOptions = ((Gtk.AttachOptions)(4)); w55.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.lblMaxSeed = new Gtk.Label(); this.lblMaxSeed.Name = "lblMaxSeed"; this.lblMaxSeed.Xalign = 0F; this.lblMaxSeed.LabelProp = Mono.Unix.Catalog.GetString("label3"); this.table5.Add(this.lblMaxSeed); Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table5[this.lblMaxSeed])); w56.TopAttach = ((uint)(2)); w56.BottomAttach = ((uint)(3)); w56.XOptions = ((Gtk.AttachOptions)(4)); w56.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.spinMaxActive = new Gtk.SpinButton(0, 100, 1); this.spinMaxActive.CanFocus = true; this.spinMaxActive.Name = "spinMaxActive"; this.spinMaxActive.Adjustment.PageIncrement = 10; this.spinMaxActive.ClimbRate = 1; this.spinMaxActive.Numeric = true; this.table5.Add(this.spinMaxActive); Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxActive])); w57.LeftAttach = ((uint)(2)); w57.RightAttach = ((uint)(3)); w57.XOptions = ((Gtk.AttachOptions)(4)); w57.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.spinMaxDownload = new Gtk.SpinButton(0, 100, 1); this.spinMaxDownload.CanFocus = true; this.spinMaxDownload.Name = "spinMaxDownload"; this.spinMaxDownload.Adjustment.PageIncrement = 10; this.spinMaxDownload.ClimbRate = 1; this.spinMaxDownload.Numeric = true; this.table5.Add(this.spinMaxDownload); Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxDownload])); w58.TopAttach = ((uint)(1)); w58.BottomAttach = ((uint)(2)); w58.LeftAttach = ((uint)(2)); w58.RightAttach = ((uint)(3)); w58.XOptions = ((Gtk.AttachOptions)(4)); w58.YOptions = ((Gtk.AttachOptions)(4)); // Container child table5.Gtk.Table+TableChild this.spinMaxSeed = new Gtk.SpinButton(0, 100, 1); this.spinMaxSeed.CanFocus = true; this.spinMaxSeed.Name = "spinMaxSeed"; this.spinMaxSeed.Adjustment.PageIncrement = 10; this.spinMaxSeed.ClimbRate = 1; this.spinMaxSeed.Numeric = true; this.table5.Add(this.spinMaxSeed); Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table5[this.spinMaxSeed])); w59.TopAttach = ((uint)(2)); w59.BottomAttach = ((uint)(3)); w59.LeftAttach = ((uint)(2)); w59.RightAttach = ((uint)(3)); w59.XOptions = ((Gtk.AttachOptions)(4)); w59.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table5); this.frame5.Add(this.GtkAlignment); this.labelActive = new Gtk.Label(); this.labelActive.Name = "labelActive"; this.labelActive.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>"); this.labelActive.UseMarkup = true; this.frame5.LabelWidget = this.labelActive; this.vbox4.Add(this.frame5); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame5])); w62.Position = 0; w62.Expand = false; w62.Fill = false; this.prefNotebook.Add(this.vbox4); Gtk.Notebook.NotebookChild w63 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox4])); w63.Position = 3; // Notebook tab this.queuePage = new Gtk.Label(); this.queuePage.Name = "queuePage"; this.queuePage.LabelProp = Mono.Unix.Catalog.GetString("Queue"); this.prefNotebook.SetTabLabel(this.vbox4, this.queuePage); this.queuePage.ShowAll(); // Container child prefNotebook.Gtk.Notebook+NotebookChild this.vbox9 = new Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.frame10 = new Gtk.Frame(); this.frame10.Name = "frame10"; this.frame10.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame10.Gtk.Container+ContainerChild this.GtkAlignment6 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.iconHbox = new Gtk.HBox(); this.iconHbox.Name = "iconHbox"; this.iconHbox.Spacing = 6; // Container child iconHbox.Gtk.Box+BoxChild this.iconEntryBox = new Gtk.HBox(); this.iconEntryBox.Name = "iconEntryBox"; this.iconEntryBox.Spacing = 6; this.iconHbox.Add(this.iconEntryBox); Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.iconHbox[this.iconEntryBox])); w64.Position = 0; // Container child iconHbox.Gtk.Box+BoxChild this.vbox10 = new Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Spacing = 6; // Container child vbox10.Gtk.Box+BoxChild this.hbox6 = new Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.nameEntry = new Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '●'; this.hbox6.Add(this.nameEntry); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.hbox6[this.nameEntry])); w65.PackType = ((Gtk.PackType)(1)); w65.Position = 0; // Container child hbox6.Gtk.Box+BoxChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Name:"); this.hbox6.Add(this.label8); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox6[this.label8])); w66.PackType = ((Gtk.PackType)(1)); w66.Position = 1; w66.Expand = false; w66.Fill = false; this.vbox10.Add(this.hbox6); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.vbox10[this.hbox6])); w67.Position = 0; w67.Expand = false; w67.Fill = false; this.iconHbox.Add(this.vbox10); Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.iconHbox[this.vbox10])); w68.Position = 1; // Container child iconHbox.Gtk.Box+BoxChild this.vbox12 = new Gtk.VBox(); this.vbox12.Name = "vbox12"; this.vbox12.Spacing = 6; this.iconHbox.Add(this.vbox12); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.iconHbox[this.vbox12])); w69.Position = 2; this.GtkAlignment6.Add(this.iconHbox); this.frame10.Add(this.GtkAlignment6); this.GtkLabel19 = new Gtk.Label(); this.GtkLabel19.Name = "GtkLabel19"; this.GtkLabel19.LabelProp = Mono.Unix.Catalog.GetString("<b>Create a label</b>"); this.GtkLabel19.UseMarkup = true; this.frame10.LabelWidget = this.GtkLabel19; this.vbox9.Add(this.frame10); Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame10])); w72.Position = 0; w72.Expand = false; w72.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.frame6 = new Gtk.Frame(); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment7 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.labelScrolledWindow = new Gtk.ScrolledWindow(); this.labelScrolledWindow.CanFocus = true; this.labelScrolledWindow.Name = "labelScrolledWindow"; this.labelScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.hbox8.Add(this.labelScrolledWindow); Gtk.Box.BoxChild w73 = ((Gtk.Box.BoxChild)(this.hbox8[this.labelScrolledWindow])); w73.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.vbox11 = new Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Spacing = 6; // Container child vbox11.Gtk.Box+BoxChild this.addLabelButton = new Gtk.Button(); this.addLabelButton.Sensitive = false; this.addLabelButton.CanFocus = true; this.addLabelButton.Name = "addLabelButton"; this.addLabelButton.UseUnderline = true; // Container child addLabelButton.Gtk.Container+ContainerChild Gtk.Alignment w74 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment8.Gtk.Container+ContainerChild Gtk.HBox w75 = new Gtk.HBox(); w75.Spacing = 2; // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Image w76 = new Gtk.Image(); w76.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16); w75.Add(w76); // Container child GtkHBox2.Gtk.Container+ContainerChild Gtk.Label w78 = new Gtk.Label(); w78.LabelProp = Mono.Unix.Catalog.GetString("Add"); w78.UseUnderline = true; w75.Add(w78); w74.Add(w75); this.addLabelButton.Add(w74); this.vbox11.Add(this.addLabelButton); Gtk.Box.BoxChild w82 = ((Gtk.Box.BoxChild)(this.vbox11[this.addLabelButton])); w82.Position = 0; w82.Expand = false; w82.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.removeLabelButton = new Gtk.Button(); this.removeLabelButton.Sensitive = false; this.removeLabelButton.CanFocus = true; this.removeLabelButton.Name = "removeLabelButton"; this.removeLabelButton.UseUnderline = true; // Container child removeLabelButton.Gtk.Container+ContainerChild Gtk.Alignment w83 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment9.Gtk.Container+ContainerChild Gtk.HBox w84 = new Gtk.HBox(); w84.Spacing = 2; // Container child GtkHBox3.Gtk.Container+ContainerChild Gtk.Image w85 = new Gtk.Image(); w85.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16); w84.Add(w85); // Container child GtkHBox3.Gtk.Container+ContainerChild Gtk.Label w87 = new Gtk.Label(); w87.LabelProp = Mono.Unix.Catalog.GetString("Remove"); w87.UseUnderline = true; w84.Add(w87); w83.Add(w84); this.removeLabelButton.Add(w83); this.vbox11.Add(this.removeLabelButton); Gtk.Box.BoxChild w91 = ((Gtk.Box.BoxChild)(this.vbox11[this.removeLabelButton])); w91.Position = 1; w91.Expand = false; w91.Fill = false; this.hbox8.Add(this.vbox11); Gtk.Box.BoxChild w92 = ((Gtk.Box.BoxChild)(this.hbox8[this.vbox11])); w92.Position = 1; w92.Expand = false; w92.Fill = false; this.GtkAlignment7.Add(this.hbox8); this.frame6.Add(this.GtkAlignment7); this.GtkLabel21 = new Gtk.Label(); this.GtkLabel21.Name = "GtkLabel21"; this.GtkLabel21.LabelProp = Mono.Unix.Catalog.GetString("<b>Manage labels</b>"); this.GtkLabel21.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel21; this.vbox9.Add(this.frame6); Gtk.Box.BoxChild w95 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame6])); w95.Position = 1; this.prefNotebook.Add(this.vbox9); Gtk.Notebook.NotebookChild w96 = ((Gtk.Notebook.NotebookChild)(this.prefNotebook[this.vbox9])); w96.Position = 4; // Notebook tab this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Labels"); this.prefNotebook.SetTabLabel(this.vbox9, this.label10); this.label10.ShowAll(); w1.Add(this.prefNotebook); Gtk.Box.BoxChild w97 = ((Gtk.Box.BoxChild)(w1[this.prefNotebook])); w97.Position = 0; // Internal child Monsoon.PreferencesDialog.ActionArea Gtk.HButtonBox w98 = this.ActionArea; w98.Name = "GtkDialog_ActionArea"; w98.Spacing = 6; w98.BorderWidth = ((uint)(5)); w98.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.button478 = new Gtk.Button(); this.button478.CanDefault = true; this.button478.CanFocus = true; this.button478.Name = "button478"; this.button478.UseStock = true; this.button478.UseUnderline = true; this.button478.Label = "gtk-close"; this.AddActionWidget(this.button478, -7); Gtk.ButtonBox.ButtonBoxChild w99 = ((Gtk.ButtonBox.ButtonBoxChild)(w98[this.button478])); w99.Expand = false; w99.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 445; this.DefaultHeight = 423; this.Show(); this.portSpinButton.ValueChanged += new System.EventHandler(this.OnPortSpinButtonValueChanged); this.maxConnectionsSpinButton.ValueChanged += new System.EventHandler(this.OnMaxConnectionsSpinButtonValueChanged); this.maxUploadSpeedSpinButton.ValueChanged += new System.EventHandler(this.OnMaxUploadSpeedSpinButtonValueChanged); this.maxDownloadSpeedSpinButton.ValueChanged += new System.EventHandler(this.OnMaxDownloadSpeedSpinButtonValueChanged); this.startNewTorrentsCheckBox.Clicked += new System.EventHandler(this.OnStartNewTorrentsCheckBoxClicked); this.importTorrentsCheckBox.Clicked += new System.EventHandler(this.OnImportTorrentsCheckBoxClicked); this.removeOnImportCheckButton.Clicked += new System.EventHandler(this.OnRemoveOnImportCheckButtonClicked); this.nameEntry.Changed += new System.EventHandler(this.OnNameEntryChanged); this.addLabelButton.Clicked += new System.EventHandler(this.OnAddLabelButtonClicked); this.removeLabelButton.Clicked += new System.EventHandler(this.OnRemoveLabelButtonClicked); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.AnglePickerWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.AnglePickerWidget"; // Container child Pinta.Gui.Widgets.AnglePickerWidget.Gtk.Container+ContainerChild this.vbox = new Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((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 Gtk.HSeparator(); this.hseparator.Name = "hseparator"; this.hbox1.Add(this.hseparator); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator])); w2.Position = 1; this.vbox.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((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 Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.anglepickergraphic1 = new Pinta.Gui.Widgets.AnglePickerGraphic(); this.anglepickergraphic1.Name = "anglepickergraphic1"; this.anglepickergraphic1.Value = 0; this.anglepickergraphic1.ValueDouble = 0; this.hbox2.Add(this.anglepickergraphic1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.anglepickergraphic1])); w4.Position = 0; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0F, 1F, 0F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.spin = new Gtk.SpinButton(0, 360, 1); this.spin.CanFocus = true; this.spin.Name = "spin"; this.spin.Adjustment.PageIncrement = 10; this.spin.ClimbRate = 1; this.spin.Numeric = true; this.alignment1.Add(this.spin); this.hbox2.Add(this.alignment1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0.5F, 0F, 1F, 0F); this.alignment2.Name = "alignment2"; // Container child alignment2.Gtk.Container+ContainerChild this.button = new Gtk.Button(); this.button.WidthRequest = 28; this.button.HeightRequest = 24; this.button.CanFocus = true; this.button.Name = "button"; this.button.UseUnderline = true; // Container child button.Gtk.Container+ContainerChild Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w8 = new Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w9 = new Gtk.Image(); w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w11 = new Gtk.Label(); w8.Add(w11); w7.Add(w8); this.button.Add(w7); this.alignment2.Add(this.button); this.hbox2.Add(this.alignment2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox.Add(this.hbox2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox2])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.LevelsDialog this.Events = ((Gdk.EventMask)(260)); this.Name = "Pinta.LevelsDialog"; this.Title = Mono.Unix.Catalog.GetString("Levels Adjustment"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.SkipTaskbarHint = true; // Internal child Pinta.LevelsDialog.VBox Gtk.VBox w1 = this.VBox; w1.Events = ((Gdk.EventMask)(1534)); w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Events = ((Gdk.EventMask)(260)); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.labelInputHist = new Gtk.Label(); this.labelInputHist.Name = "labelInputHist"; this.labelInputHist.LabelProp = Mono.Unix.Catalog.GetString("Input Histogram"); this.hbox2.Add(this.labelInputHist); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.labelInputHist])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.hbox2.Add(this.hseparator1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.hseparator1])); w3.Position = 1; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.histogramInput = new Pinta.HistogramWidget(); this.histogramInput.WidthRequest = 130; this.histogramInput.Events = ((Gdk.EventMask)(256)); this.histogramInput.Name = "histogramInput"; this.histogramInput.FlipHorizontal = true; this.histogramInput.FlipVertical = false; this.vbox2.Add(this.histogramInput); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.histogramInput])); w5.Position = 1; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w6.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Events = ((Gdk.EventMask)(36)); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.labelInput = new Gtk.Label(); this.labelInput.Name = "labelInput"; this.labelInput.LabelProp = Mono.Unix.Catalog.GetString("Input"); this.hbox3.Add(this.labelInput); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.labelInput])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.hseparator2 = new Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.hbox3.Add(this.hseparator2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.hseparator2])); w8.Position = 1; this.vbox3.Add(this.hbox3); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox8 = new Gtk.HBox(); this.hbox8.Events = ((Gdk.EventMask)(260)); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; // Container child hbox8.Gtk.Box+BoxChild this.vboxInputSpin = new Gtk.VBox(); this.vboxInputSpin.Name = "vboxInputSpin"; this.vboxInputSpin.Spacing = 6; // Container child vboxInputSpin.Gtk.Box+BoxChild this.spinInHigh = new Gtk.SpinButton(1, 255, 1); this.spinInHigh.CanFocus = true; this.spinInHigh.Name = "spinInHigh"; this.spinInHigh.Adjustment.PageIncrement = 10; this.spinInHigh.ClimbRate = 1; this.spinInHigh.Numeric = true; this.spinInHigh.Value = 255; this.vboxInputSpin.Add(this.spinInHigh); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vboxInputSpin[this.spinInHigh])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vboxInputSpin.Gtk.Box+BoxChild this.colorpanelInHigh = new Pinta.ColorPanelWidget(); this.colorpanelInHigh.HeightRequest = 24; this.colorpanelInHigh.Events = ((Gdk.EventMask)(256)); this.colorpanelInHigh.Name = "colorpanelInHigh"; this.vboxInputSpin.Add(this.colorpanelInHigh); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vboxInputSpin[this.colorpanelInHigh])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child vboxInputSpin.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.vboxInputSpin.Add(this.alignment1); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vboxInputSpin[this.alignment1])); w12.Position = 2; // Container child vboxInputSpin.Gtk.Box+BoxChild this.colorpanelInLow = new Pinta.ColorPanelWidget(); this.colorpanelInLow.HeightRequest = 24; this.colorpanelInLow.Events = ((Gdk.EventMask)(256)); this.colorpanelInLow.Name = "colorpanelInLow"; this.vboxInputSpin.Add(this.colorpanelInLow); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vboxInputSpin[this.colorpanelInLow])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vboxInputSpin.Gtk.Box+BoxChild this.spinInLow = new Gtk.SpinButton(0, 254, 1); this.spinInLow.CanFocus = true; this.spinInLow.Name = "spinInLow"; this.spinInLow.Adjustment.PageIncrement = 10; this.spinInLow.ClimbRate = 1; this.spinInLow.Numeric = true; this.vboxInputSpin.Add(this.spinInLow); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vboxInputSpin[this.spinInLow])); w14.Position = 4; w14.Expand = false; w14.Fill = false; this.hbox8.Add(this.vboxInputSpin); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox8[this.vboxInputSpin])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.gradientInput = new Pinta.ColorGradientWidget(); this.gradientInput.WidthRequest = 40; this.gradientInput.CanFocus = true; this.gradientInput.Events = ((Gdk.EventMask)(510)); this.gradientInput.ExtensionEvents = ((Gdk.ExtensionMode)(1)); this.gradientInput.Name = "gradientInput"; this.gradientInput.Count = 2; this.hbox8.Add(this.gradientInput); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox8[this.gradientInput])); w16.Position = 1; w16.Expand = false; w16.Fill = false; this.vbox3.Add(this.hbox8); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox8])); w17.Position = 1; this.hbox1.Add(this.vbox3); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3])); w18.Position = 1; w18.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.labelOutput = new Gtk.Label(); this.labelOutput.Name = "labelOutput"; this.labelOutput.LabelProp = Mono.Unix.Catalog.GetString("Output"); this.hbox4.Add(this.labelOutput); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox4[this.labelOutput])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.hseparator3 = new Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.hbox4.Add(this.hseparator3); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox4[this.hseparator3])); w20.Position = 1; this.vbox4.Add(this.hbox4); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox4])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox9 = new Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.gradientOutput = new Pinta.ColorGradientWidget(); this.gradientOutput.WidthRequest = 40; this.gradientOutput.Events = ((Gdk.EventMask)(256)); this.gradientOutput.Name = "gradientOutput"; this.gradientOutput.Count = 3; this.hbox9.Add(this.gradientOutput); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox9[this.gradientOutput])); w22.Position = 1; w22.Expand = false; w22.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.vboxOutputSpin = new Gtk.VBox(); this.vboxOutputSpin.Name = "vboxOutputSpin"; this.vboxOutputSpin.Spacing = 6; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.spinOutHigh = new Gtk.SpinButton(2, 255, 1); this.spinOutHigh.CanFocus = true; this.spinOutHigh.Name = "spinOutHigh"; this.spinOutHigh.Adjustment.PageIncrement = 10; this.spinOutHigh.ClimbRate = 1; this.spinOutHigh.Numeric = true; this.spinOutHigh.Value = 255; this.vboxOutputSpin.Add(this.spinOutHigh); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.spinOutHigh])); w23.Position = 0; w23.Expand = false; w23.Fill = false; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.colorpanelOutHigh = new Pinta.ColorPanelWidget(); this.colorpanelOutHigh.HeightRequest = 24; this.colorpanelOutHigh.Events = ((Gdk.EventMask)(256)); this.colorpanelOutHigh.Name = "colorpanelOutHigh"; this.vboxOutputSpin.Add(this.colorpanelOutHigh); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.colorpanelOutHigh])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.spinOutGamma = new Gtk.SpinButton(0, 100, 1); this.spinOutGamma.CanFocus = true; this.spinOutGamma.Name = "spinOutGamma"; this.spinOutGamma.Adjustment.PageIncrement = 10; this.spinOutGamma.ClimbRate = 1; this.spinOutGamma.Numeric = true; this.spinOutGamma.Value = 1; this.vboxOutputSpin.Add(this.spinOutGamma); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.spinOutGamma])); w25.Position = 2; w25.Expand = false; w25.Fill = false; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.colorpanelOutMid = new Pinta.ColorPanelWidget(); this.colorpanelOutMid.HeightRequest = 24; this.colorpanelOutMid.Events = ((Gdk.EventMask)(256)); this.colorpanelOutMid.Name = "colorpanelOutMid"; this.vboxOutputSpin.Add(this.colorpanelOutMid); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.colorpanelOutMid])); w26.Position = 3; w26.Expand = false; w26.Fill = false; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.colorpanelOutLow = new Pinta.ColorPanelWidget(); this.colorpanelOutLow.HeightRequest = 24; this.colorpanelOutLow.Events = ((Gdk.EventMask)(256)); this.colorpanelOutLow.Name = "colorpanelOutLow"; this.vboxOutputSpin.Add(this.colorpanelOutLow); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.colorpanelOutLow])); w27.Position = 4; w27.Expand = false; w27.Fill = false; // Container child vboxOutputSpin.Gtk.Box+BoxChild this.spinOutLow = new Gtk.SpinButton(0, 252, 1); this.spinOutLow.CanFocus = true; this.spinOutLow.Name = "spinOutLow"; this.spinOutLow.Adjustment.PageIncrement = 10; this.spinOutLow.ClimbRate = 1; this.spinOutLow.Numeric = true; this.vboxOutputSpin.Add(this.spinOutLow); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vboxOutputSpin[this.spinOutLow])); w28.Position = 5; w28.Expand = false; w28.Fill = false; this.hbox9.Add(this.vboxOutputSpin); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox9[this.vboxOutputSpin])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.vbox4.Add(this.hbox9); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox9])); w30.Position = 1; this.hbox1.Add(this.vbox4); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox4])); w31.Position = 2; w31.Expand = false; w31.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.labelOutputHist = new Gtk.Label(); this.labelOutputHist.Name = "labelOutputHist"; this.labelOutputHist.LabelProp = Mono.Unix.Catalog.GetString("Output Histogram"); this.hbox5.Add(this.labelOutputHist); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox5[this.labelOutputHist])); w32.Position = 0; w32.Expand = false; w32.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.hseparator4 = new Gtk.HSeparator(); this.hseparator4.Name = "hseparator4"; this.hbox5.Add(this.hseparator4); Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox5[this.hseparator4])); w33.Position = 1; this.vbox5.Add(this.hbox5); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.histogramOutput = new Pinta.HistogramWidget(); this.histogramOutput.WidthRequest = 130; this.histogramOutput.Events = ((Gdk.EventMask)(256)); this.histogramOutput.Name = "histogramOutput"; this.histogramOutput.FlipHorizontal = false; this.histogramOutput.FlipVertical = false; this.vbox5.Add(this.histogramOutput); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox5[this.histogramOutput])); w35.Position = 1; this.hbox1.Add(this.vbox5); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox5])); w36.Position = 3; w1.Add(this.hbox1); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w37.Position = 0; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hboxBottom = new Gtk.HBox(); this.hboxBottom.Name = "hboxBottom"; this.hboxBottom.Spacing = 6; // Container child hboxBottom.Gtk.Box+BoxChild this.buttonAuto = new Gtk.Button(); this.buttonAuto.WidthRequest = 80; this.buttonAuto.CanFocus = true; this.buttonAuto.Name = "buttonAuto"; this.buttonAuto.UseUnderline = true; this.buttonAuto.Label = Mono.Unix.Catalog.GetString("Auto"); this.hboxBottom.Add(this.buttonAuto); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.buttonAuto])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hboxBottom.Gtk.Box+BoxChild this.buttonReset = new Gtk.Button(); this.buttonReset.WidthRequest = 80; this.buttonReset.CanFocus = true; this.buttonReset.Name = "buttonReset"; this.buttonReset.UseUnderline = true; this.buttonReset.Label = Mono.Unix.Catalog.GetString("Reset"); this.hboxBottom.Add(this.buttonReset); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.buttonReset])); w39.Position = 1; w39.Expand = false; w39.Fill = false; // Container child hboxBottom.Gtk.Box+BoxChild this.checkRed = new Gtk.CheckButton(); this.checkRed.CanFocus = true; this.checkRed.Name = "checkRed"; this.checkRed.Label = Mono.Unix.Catalog.GetString("Red"); this.checkRed.Active = true; this.checkRed.DrawIndicator = true; this.checkRed.UseUnderline = true; this.hboxBottom.Add(this.checkRed); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.checkRed])); w40.Position = 2; // Container child hboxBottom.Gtk.Box+BoxChild this.checkGreen = new Gtk.CheckButton(); this.checkGreen.CanFocus = true; this.checkGreen.Name = "checkGreen"; this.checkGreen.Label = Mono.Unix.Catalog.GetString("Green"); this.checkGreen.Active = true; this.checkGreen.DrawIndicator = true; this.checkGreen.UseUnderline = true; this.hboxBottom.Add(this.checkGreen); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.checkGreen])); w41.Position = 3; // Container child hboxBottom.Gtk.Box+BoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.WidthRequest = 80; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.hboxBottom.Add(this.buttonOk); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.buttonOk])); w42.PackType = ((Gtk.PackType)(1)); w42.Position = 4; w42.Expand = false; w42.Fill = false; // Container child hboxBottom.Gtk.Box+BoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.WidthRequest = 80; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.hboxBottom.Add(this.buttonCancel); Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.buttonCancel])); w43.PackType = ((Gtk.PackType)(1)); w43.Position = 5; w43.Expand = false; w43.Fill = false; // Container child hboxBottom.Gtk.Box+BoxChild this.checkBlue = new Gtk.CheckButton(); this.checkBlue.CanFocus = true; this.checkBlue.Name = "checkBlue"; this.checkBlue.Label = Mono.Unix.Catalog.GetString("Blue"); this.checkBlue.Active = true; this.checkBlue.DrawIndicator = true; this.checkBlue.UseUnderline = true; this.hboxBottom.Add(this.checkBlue); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hboxBottom[this.checkBlue])); w44.PackType = ((Gtk.PackType)(1)); w44.Position = 6; w1.Add(this.hboxBottom); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[this.hboxBottom])); w45.PackType = ((Gtk.PackType)(1)); w45.Position = 4; w45.Expand = false; w45.Fill = false; // Internal child Pinta.LevelsDialog.ActionArea Gtk.HButtonBox w46 = this.ActionArea; w46.Name = "__gtksharp_58_Stetic_TopLevelDialog_ActionArea"; w46.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child __gtksharp_58_Stetic_TopLevelDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonDummy = new Gtk.Button(); this.buttonDummy.Sensitive = false; this.buttonDummy.CanFocus = true; this.buttonDummy.Name = "buttonDummy"; this.buttonDummy.UseUnderline = true; this.buttonDummy.Label = Mono.Unix.Catalog.GetString("In stetic action button box cannot be empty"); this.AddActionWidget(this.buttonDummy, -5); Gtk.ButtonBox.ButtonBoxChild w47 = ((Gtk.ButtonBox.ButtonBoxChild)(w46[this.buttonDummy])); w47.Expand = false; w47.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1754; this.DefaultHeight = 326; this.buttonDummy.Hide(); this.Show(); }
Gtk.Widget ClockControls () { #if GTK2 var vbox = new Gtk.VBox (); var spinners = new Gtk.HBox (); #else var vbox = new Gtk.HBox (); var spinners = new Gtk.VBox (); #endif vbox.Spacing = 6; spinners.Spacing = 6; clock = new AnalogClock(); clock.SetSizeRequest (130, 130); vbox.PackStart(clock, true, true, 0); spinners.PackStart (new Gtk.Label ("Hour"), false, false, 0); hourSpin = CreateSpinner (24, 1, null); spinners.PackStart (hourSpin, false, false, 0); spinners.PackStart (new Gtk.Label ("Min"), false, false, 0); minutesSpin = CreateSpinner (60, 10, hourSpin); spinners.PackStart (minutesSpin, false, false, 0); spinners.PackStart (new Gtk.Label ("Sec"), false, false, 0); secondsSpin = CreateSpinner (60, 10, minutesSpin); spinners.PackStart (secondsSpin, false, false, 0); vbox.PackEnd (spinners, false, false, 0); return vbox; }
public ValueReferenceEditor(Project p, ValueReferenceGroup vrg, int rows, string frameText = null) : base(1.0F, 1.0F, 1.0F, 1.0F) { Project = p; valueReferenceGroup = vrg; maxBounds = new int[valueReferenceGroup.GetNumValueReferences()]; widgetGrids = new List <Gtk.Grid>(); widgetPositions = new Tuple <int, int> [maxBounds.Count]; widgetLists = new List <IList <Gtk.Widget> >(); Gtk.Box hbox = new Gtk.HBox(); hbox.Spacing = 6; Func <Gtk.Grid> newGrid = () => { Gtk.Grid g = new Gtk.Grid(); g.ColumnSpacing = 6; g.RowSpacing = 2; hbox.Add(g); return(g); }; Gtk.Grid grid = newGrid(); int x = 0, y = 0; // Do not use "foreach" here. The "valueReferenceGroup" may be changed. So, whenever we // access a ValueReference from within an event handler, we must do so though the // "valueReferenceGroup" class variable, and NOT though an alias (like with foreach). for (int tmpCounter = 0; tmpCounter < valueReferenceGroup.Count; tmpCounter++) { int i = tmpCounter; // Variable must be distinct within each closure if (y >= rows) { y = 0; x = 0; grid = newGrid(); } // Each ValueReference may use up to 3 widgets in the grid row Gtk.Widget[] widgetList = new Gtk.Widget[3]; widgetPositions[i] = new Tuple <int, int>(x, y); Action <Gtk.SpinButton> setSpinButtonLimits = (spinButton) => { if (valueReferenceGroup[i].MaxValue < 0x10) { spinButton.Digits = 1; } else if (valueReferenceGroup[i].MaxValue < 0x100) { spinButton.Digits = 2; } else if (valueReferenceGroup[i].MaxValue < 0x1000) { spinButton.Digits = 3; } else { spinButton.Digits = 4; } spinButton.Adjustment.Lower = valueReferenceGroup[i].MinValue; spinButton.Adjustment.Upper = valueReferenceGroup[i].MaxValue; }; int entryWidgetWidth = 1; // If it has a ConstantsMapping, use a combobox instead of anything else if (valueReferenceGroup[i].ConstantsMapping != null) { ComboBoxFromConstants comboBox = new ComboBoxFromConstants(showHelp: true, vertical: true); comboBox.SetConstantsMapping(valueReferenceGroup[i].ConstantsMapping); // Must put this before the "Changed" handler below to avoid // it being fired (for some reason?) setSpinButtonLimits(comboBox.SpinButton); comboBox.Changed += delegate(object sender, EventArgs e) { valueReferenceGroup[i].SetValue(comboBox.ActiveValue); OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { comboBox.ActiveValue = valueReferenceGroup[i].GetIntValue(); }; /* * comboBox.MarginTop = 4; * comboBox.MarginBottom = 4; */ widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name); widgetList[1] = comboBox; entryWidgetWidth = 2; goto loopEnd; } // ConstantsMapping == null switch (valueReferenceGroup[i].ValueType) { case ValueReferenceType.String: { widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name); Gtk.Entry entry = new Gtk.Entry(); if (!valueReferenceGroup[i].Editable) { entry.Sensitive = false; } dataModifiedExternalEvent += delegate() { entry.Text = valueReferenceGroup[i].GetStringValue(); OnDataModifiedInternal(); }; widgetList[1] = entry; break; } case ValueReferenceType.Int: { widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name); SpinButtonHexadecimal spinButton = new SpinButtonHexadecimal(valueReferenceGroup[i].MinValue, valueReferenceGroup[i].MaxValue); if (!valueReferenceGroup[i].Editable) { spinButton.Sensitive = false; } setSpinButtonLimits(spinButton); spinButton.ValueChanged += delegate(object sender, EventArgs e) { Gtk.SpinButton button = sender as Gtk.SpinButton; if (maxBounds[i] == 0 || button.ValueAsInt <= maxBounds[i]) { valueReferenceGroup[i].SetValue(button.ValueAsInt); } else { button.Value = maxBounds[i]; } OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { spinButton.Value = valueReferenceGroup[i].GetIntValue(); }; widgetList[1] = spinButton; } break; case ValueReferenceType.Bool: { widgetList[0] = new Gtk.Label(valueReferenceGroup[i].Name); Gtk.CheckButton checkButton = new Gtk.CheckButton(); checkButton.FocusOnClick = false; if (!valueReferenceGroup[i].Editable) { checkButton.Sensitive = false; } checkButton.Toggled += delegate(object sender, EventArgs e) { Gtk.CheckButton button = sender as Gtk.CheckButton; valueReferenceGroup[i].SetValue(button.Active ? 1 : 0); OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { checkButton.Active = valueReferenceGroup[i].GetIntValue() == 1; }; widgetList[1] = checkButton; } break; } loopEnd: grid.Attach(widgetList[0], x, y, 1, 1); grid.Attach(widgetList[1], x + 1, y, entryWidgetWidth, 1); widgetList[2] = new Gtk.Alignment(0, 0.5f, 0, 0); // Container for help button widgetList[2].Hexpand = true; // Let this absorb any extra space grid.Attach(widgetList[2], x + 2, y, 1, 1); widgetGrids.Add(grid); widgetLists.Add(widgetList); if (valueReferenceGroup[i].Tooltip != null) { SetTooltip(i, valueReferenceGroup[i].Tooltip); } y++; } if (frameText != null) { var frame = new Gtk.Frame(frameText); frame.Add(hbox); this.Add(frame); } else { this.Add(hbox); } this.ShowAll(); // Initial values if (dataModifiedExternalEvent != null) { dataModifiedExternalEvent(); } UpdateHelpButtons(); AddModifiedHandlers(); this.Destroyed += (sender, args) => RemoveModifiedHandlers(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget sermon2.LopConf Stetic.BinContainer.Attach(this); this.Name = "sermon2.LopConf"; // Container child sermon2.LopConf.Gtk.Container+ContainerChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(1)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.escValueLabel = new Gtk.Label(); this.escValueLabel.Name = "escValueLabel"; this.escValueLabel.LabelProp = Mono.Unix.Catalog.GetString("escape code"); this.table1.Add(this.escValueLabel); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.escValueLabel])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.removeButton = new Gtk.Button(); this.removeButton.CanFocus = true; this.removeButton.Name = "removeButton"; this.removeButton.UseUnderline = true; // Container child removeButton.Gtk.Container+ContainerChild Gtk.Alignment w2 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w3 = new Gtk.HBox(); w3.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w4 = new Gtk.Image(); w4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16); w3.Add(w4); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w6 = new Gtk.Label(); w6.LabelProp = Mono.Unix.Catalog.GetString("remove"); w6.UseUnderline = true; w3.Add(w6); w2.Add(w3); this.removeButton.Add(w2); this.table1.Add(this.removeButton); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.removeButton])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.resetValueLabel = new Gtk.Label(); this.resetValueLabel.Name = "resetValueLabel"; this.resetValueLabel.LabelProp = Mono.Unix.Catalog.GetString("reset code"); this.table1.Add(this.resetValueLabel); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.resetValueLabel])); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new Gtk.SpinButton(0, 255, 1); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10; this.spinbutton1.ClimbRate = 1; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 66; this.spinbutton1.Wrap = true; this.table1.Add(this.spinbutton1); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton2 = new Gtk.SpinButton(0, 255, 1); this.spinbutton2.CanFocus = true; this.spinbutton2.Name = "spinbutton2"; this.spinbutton2.Adjustment.PageIncrement = 10; this.spinbutton2.ClimbRate = 1; this.spinbutton2.Numeric = true; this.spinbutton2.Value = 35; this.spinbutton2.Wrap = true; this.table1.Add(this.spinbutton2); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton2])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.violationCheckButton = new Gtk.CheckButton(); this.violationCheckButton.CanFocus = true; this.violationCheckButton.Name = "violationCheckButton"; this.violationCheckButton.Label = Mono.Unix.Catalog.GetString("report violations"); this.violationCheckButton.DrawIndicator = true; this.violationCheckButton.UseUnderline = true; this.table1.Add(this.violationCheckButton); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.violationCheckButton])); w14.LeftAttach = ((uint)(2)); w14.RightAttach = ((uint)(3)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table1); this.frame1.Add(this.GtkAlignment); this.frameLabel = new Gtk.Label(); this.frameLabel.Name = "frameLabel"; this.frameLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>"); this.frameLabel.UseMarkup = true; this.frame1.LabelWidget = this.frameLabel; this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.removeButton.Released += new System.EventHandler(this.OnRemoveButtonReleased); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.XFileAction = new Gtk.Action("XFileAction", Mono.Unix.Catalog.GetString("XFile"), null, null); this.XFileAction.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.XFileAction, null); this.GimmeHelpAction = new Gtk.Action("GimmeHelpAction", Mono.Unix.Catalog.GetString("GimmeHelp"), null, null); this.GimmeHelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.GimmeHelpAction, null); this.AboutAction = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.QuitAction = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("Quit"), null, null); this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, null); this.SomeEditMenuAction = new Gtk.Action("SomeEditMenuAction", Mono.Unix.Catalog.GetString("SomeEditMenu"), null, null); this.SomeEditMenuAction.ShortLabel = Mono.Unix.Catalog.GetString("SomeEditMenu"); w1.Add(this.SomeEditMenuAction, null); this.NewAction = new Gtk.Action("NewAction", Mono.Unix.Catalog.GetString("New"), null, null); this.NewAction.ShortLabel = Mono.Unix.Catalog.GetString("New"); w1.Add(this.NewAction, null); this.Action1 = new Gtk.Action("Action1", null, null, null); w1.Add(this.Action1, null); this.indexAction = new Gtk.Action("indexAction", null, Mono.Unix.Catalog.GetString("tooltipText"), "gtk-index"); w1.Add(this.indexAction, null); this.cdromAction = new Gtk.Action("cdromAction", null, null, "gtk-cdrom"); w1.Add(this.cdromAction, null); this.RadioInToolBarTest1Action = new Gtk.RadioAction("RadioInToolBarTest1Action", Mono.Unix.Catalog.GetString("RadioInToolBarTest1"), null, null, 0); this.RadioInToolBarTest1Action.Group = new GLib.SList(System.IntPtr.Zero); this.RadioInToolBarTest1Action.ShortLabel = Mono.Unix.Catalog.GetString("RadioInToolBarTest1"); w1.Add(this.RadioInToolBarTest1Action, null); this.RadioInToolBarTest2Action = new Gtk.RadioAction("RadioInToolBarTest2Action", Mono.Unix.Catalog.GetString("RadioInToolBarTest2"), null, null, 0); this.RadioInToolBarTest2Action.Group = this.RadioInToolBarTest1Action.Group; this.RadioInToolBarTest2Action.ShortLabel = Mono.Unix.Catalog.GetString("RadioInToolBarTest2"); w1.Add(this.RadioInToolBarTest2Action, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='XFileAction' action='XFileAction'><menuitem name='NewAction' action='NewAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='SomeEditMenuAction' action='SomeEditMenuAction'/><menu name='GimmeHelpAction' action='GimmeHelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='indexAction' action='indexAction'/><toolitem name='RadioInToolBarTest1Action' action='RadioInToolBarTest1Action'/><toolitem name='RadioInToolBarTest2Action' action='RadioInToolBarTest2Action'/></toolbar></ui>"); this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.vbox1.Add(this.toolbar1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.notebook1 = new Gtk.Notebook(); this.notebook1.CanFocus = true; this.notebook1.Name = "notebook1"; this.notebook1.CurrentPage = 0; // Container child notebook1.Gtk.Notebook+NotebookChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview2 = new Gtk.TreeView(); this.treeview2.CanFocus = true; this.treeview2.Name = "treeview2"; this.GtkScrolledWindow.Add(this.treeview2); this.hbox1.Add(this.GtkScrolledWindow); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow])); w5.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(5)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.btnTest1 = new Gtk.Button(); this.btnTest1.CanFocus = true; this.btnTest1.Name = "btnTest1"; this.btnTest1.UseUnderline = true; this.btnTest1.Label = Mono.Unix.Catalog.GetString("hey ya"); this.table1.Add(this.btnTest1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.btnTest1])); w6.LeftAttach = ((uint)(2)); w6.RightAttach = ((uint)(3)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btnWithImg = new Gtk.Button(); this.btnWithImg.CanFocus = true; this.btnWithImg.Name = "btnWithImg"; this.btnWithImg.UseUnderline = true; this.btnWithImg.Label = Mono.Unix.Catalog.GetString("IMG"); this.table1.Add(this.btnWithImg); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.btnWithImg])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cbeTest = Gtk.ComboBoxEntry.NewText(); this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("First element")); this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("Second element")); this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("Third element")); this.cbeTest.Name = "cbeTest"; this.table1.Add(this.cbeTest); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.cbeTest])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cbxTest = Gtk.ComboBox.NewText(); this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("FirstItem")); this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("SecondItem")); this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("LastItem")); this.cbxTest.Name = "cbxTest"; this.table1.Add(this.cbxTest); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.cbxTest])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = Mono.Unix.Catalog.GetString("checkbutton1"); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.table1.Add(this.checkbutton1); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.checkbutton1])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.chkTest = new Gtk.CheckButton(); this.chkTest.CanFocus = true; this.chkTest.Name = "chkTest"; this.chkTest.Label = Mono.Unix.Catalog.GetString("checkbutton1"); this.chkTest.DrawIndicator = true; this.chkTest.UseUnderline = true; this.table1.Add(this.chkTest); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.chkTest])); w11.TopAttach = ((uint)(1)); w11.BottomAttach = ((uint)(2)); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.lblTest1 = new Gtk.Label(); this.lblTest1.Name = "lblTest1"; this.lblTest1.LabelProp = Mono.Unix.Catalog.GetString("This is a test message\nin a label"); this.table1.Add(this.lblTest1); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.lblTest1])); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.maskedEntry = new Gtk.Entry(); this.maskedEntry.CanFocus = true; this.maskedEntry.Name = "maskedEntry"; this.maskedEntry.IsEditable = true; this.maskedEntry.InvisibleChar = '●'; this.table1.Add(this.maskedEntry); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.maskedEntry])); w13.TopAttach = ((uint)(4)); w13.BottomAttach = ((uint)(5)); w13.LeftAttach = ((uint)(2)); w13.RightAttach = ((uint)(3)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobutton1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("radiobutton1")); this.radiobutton1.CanFocus = true; this.radiobutton1.Name = "radiobutton1"; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new GLib.SList(System.IntPtr.Zero); this.table1.Add(this.radiobutton1); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.radiobutton1])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radiobutton2 = new Gtk.RadioButton(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.table1.Add(this.radiobutton2); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.radiobutton2])); w15.TopAttach = ((uint)(3)); w15.BottomAttach = ((uint)(4)); w15.LeftAttach = ((uint)(2)); w15.RightAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radTest1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("rad Opt 0")); this.radTest1.CanFocus = true; this.radTest1.Name = "radTest1"; this.radTest1.DrawIndicator = true; this.radTest1.UseUnderline = true; this.radTest1.Group = new GLib.SList(System.IntPtr.Zero); this.table1.Add(this.radTest1); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.radTest1])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.radTest2 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("rad Opt 1")); this.radTest2.CanFocus = true; this.radTest2.Name = "radTest2"; this.radTest2.DrawIndicator = true; this.radTest2.UseUnderline = true; this.radTest2.Group = this.radTest1.Group; this.table1.Add(this.radTest2); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.radTest2])); w17.TopAttach = ((uint)(2)); w17.BottomAttach = ((uint)(3)); w17.LeftAttach = ((uint)(2)); w17.RightAttach = ((uint)(3)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbuttonTest1 = new Gtk.SpinButton(0, 100, 1); this.spinbuttonTest1.CanFocus = true; this.spinbuttonTest1.Name = "spinbuttonTest1"; this.spinbuttonTest1.Adjustment.PageIncrement = 10; this.spinbuttonTest1.ClimbRate = 1; this.spinbuttonTest1.Numeric = true; this.table1.Add(this.spinbuttonTest1); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.spinbuttonTest1])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.txtEntry = new Gtk.Entry(); this.txtEntry.CanFocus = true; this.txtEntry.Name = "txtEntry"; this.txtEntry.Text = Mono.Unix.Catalog.GetString("test text"); this.txtEntry.IsEditable = true; this.txtEntry.InvisibleChar = '●'; this.table1.Add(this.txtEntry); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.txtEntry])); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox1[this.table1])); w20.Position = 1; w20.Expand = false; w20.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vscrollbar1 = new Gtk.VScrollbar(null); this.vscrollbar1.Name = "vscrollbar1"; this.vscrollbar1.Adjustment.Upper = 100; this.vscrollbar1.Adjustment.PageIncrement = 10; this.vscrollbar1.Adjustment.PageSize = 10; this.vscrollbar1.Adjustment.StepIncrement = 1; this.hbox1.Add(this.vscrollbar1); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.vscrollbar1])); w21.Position = 2; w21.Expand = false; w21.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.imgTest1 = new Gtk.Image(); this.imgTest1.Name = "imgTest1"; this.hbox1.Add(this.imgTest1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.imgTest1])); w22.Position = 3; w22.Expand = false; w22.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.imgTest2 = new Gtk.Image(); this.imgTest2.Name = "imgTest2"; this.hbox1.Add(this.imgTest2); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox1[this.imgTest2])); w23.Position = 5; w23.Expand = false; w23.Fill = false; this.notebook1.Add(this.hbox1); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("page1"); this.notebook1.SetTabLabel(this.hbox1, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild this.calendar1 = new Gtk.Calendar(); this.calendar1.CanFocus = true; this.calendar1.Name = "calendar1"; this.calendar1.DisplayOptions = ((Gtk.CalendarDisplayOptions)(3)); this.notebook1.Add(this.calendar1); Gtk.Notebook.NotebookChild w25 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.calendar1])); w25.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("page2"); this.notebook1.SetTabLabel(this.calendar1, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.progressbar1 = new Gtk.ProgressBar(); this.progressbar1.Name = "progressbar1"; this.vbox1.Add(this.progressbar1); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox1[this.progressbar1])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hscrollbar1 = new Gtk.HScrollbar(null); this.hscrollbar1.Name = "hscrollbar1"; this.hscrollbar1.Adjustment.Upper = 100; this.hscrollbar1.Adjustment.PageIncrement = 10; this.hscrollbar1.Adjustment.PageSize = 10; this.hscrollbar1.Adjustment.StepIncrement = 1; this.hscrollbar1.Adjustment.Value = 9.28317766722556; this.vbox1.Add(this.hscrollbar1); Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hscrollbar1])); w28.Position = 4; w28.Expand = false; w28.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.hpaned1 = new Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 19; // Container child hpaned1.Gtk.Paned+PanedChild this.vscale1 = new Gtk.VScale(null); this.vscale1.CanFocus = true; this.vscale1.Name = "vscale1"; this.vscale1.Adjustment.Upper = 100; this.vscale1.Adjustment.PageIncrement = 10; this.vscale1.Adjustment.StepIncrement = 1; this.vscale1.DrawValue = true; this.vscale1.Digits = 0; this.vscale1.ValuePos = ((Gtk.PositionType)(2)); this.hpaned1.Add(this.vscale1); Gtk.Paned.PanedChild w29 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vscale1])); w29.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.GtkScrolledWindow2 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.nodeview1 = new Gtk.NodeView(); this.nodeview1.CanFocus = true; this.nodeview1.Name = "nodeview1"; this.GtkScrolledWindow2.Add(this.nodeview1); this.hpaned1.Add(this.GtkScrolledWindow2); this.hbox2.Add(this.hpaned1); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox2[this.hpaned1])); w32.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.txtViewTest = new Gtk.TextView(); this.txtViewTest.CanFocus = true; this.txtViewTest.Name = "txtViewTest"; this.GtkScrolledWindow1.Add(this.txtViewTest); this.hbox2.Add(this.GtkScrolledWindow1); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow1])); w34.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); this.frame1.Add(this.GtkAlignment); this.GtkLabel13 = new Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>"); this.GtkLabel13.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel13; this.hbox2.Add(this.frame1); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox2[this.frame1])); w36.Position = 2; w36.Expand = false; w36.Fill = false; this.vbox1.Add(this.hbox2); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2])); w37.Position = 5; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w38.Position = 7; w38.Expand = false; w38.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 757; this.DefaultHeight = 516; this.Show(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); }
Gtk.SpinButton CreateSpinner (int max, int increment, Gtk.SpinButton parent) { var spin = new Gtk.SpinButton (-1, max, 1){ CanFocus = true, Numeric = true, ClimbRate = 1, WidthChars = 2, Value = 0 }; spin.Adjustment.PageIncrement = increment; spin.ValueChanged += delegate { if (Math.Abs(spin.Value - max) < 0.1f) { spin.Value = 0; if (parent != null) parent.Value = parent.Value + 1; } if (Math.Abs(spin.Value - -1) < 0.1f) { spin.Value = max - 1; if (parent != null) parent.Value = parent.Value - 1; } UpdateClock (); OnDateChanged (EventArgs.Empty); }; return spin; }
private void BuildNotebook() { var vBox = new Gtk.VBox( false, 5 ); var hBox = new Gtk.HPaned(); this.nbDocPages = new Gtk.Notebook(); this.nbDocPages.SwitchPage += (o, args) => this.OnCurrentPageChanged(); // Text view for the document var swScrollText = new Gtk.ScrolledWindow(); this.txtDocument = new Gtk.TextView { Editable = false }; swScrollText.AddWithViewport( this.txtDocument ); this.txtDocument.FocusOutEvent += (o, args) => this.StoreQuestionText(); // Test treeview this.tvDocument = new Gtk.TreeView(); var swScroll = new Gtk.ScrolledWindow(); var frmTest = new Gtk.Frame( "Test" ); ( (Gtk.Label) frmTest.LabelWidget ).Markup = "<b>Test</b>"; frmTest.Add( swScroll ); swScroll.AddWithViewport( this.tvDocument ); // Frame question var frmQuestion = new Gtk.Frame( "Question" ); var swScrolledQuestion = new Gtk.ScrolledWindow(); ( (Gtk.Label) frmQuestion.LabelWidget ).Markup = "<b>Question</b>"; this.edQuestionText = new Gtk.TextView(); this.edQuestionText.KeyReleaseEvent += (o, args) => this.OnQuestionTextChanged(); swScrolledQuestion.AddWithViewport( edQuestionText ); frmQuestion.Add( swScrolledQuestion ); vBox.PackStart( frmQuestion, false, false, 5 ); // Frame answers var bttAnswers = new Gtk.HButtonBox(); var vBoxAnswers = new Gtk.VBox( false, 5 ); var frmAnswer = new Gtk.Frame( "Answer" ); var hBoxAnswers = new Gtk.HBox( false, 5 ); var hBoxCorrect = new Gtk.HBox( false, 5 ); var swScrolledAnswers = new Gtk.ScrolledWindow(); ( (Gtk.Label) frmAnswer.LabelWidget ).Markup = "<b>Answer</b>"; this.tvAnswers = new Gtk.TreeView(); swScrolledAnswers.Add( this.tvAnswers ); this.btAddAnswer = new Gtk.Button( new Gtk.Image( this.iconAdd.ScaleSimple( 16, 16, InterpType.Bilinear ) ) ); this.btAddAnswer.Clicked += (sender, e) => this.AddAnswer(); this.btRemoveAnswer = new Gtk.Button( new Gtk.Image( this.iconRemove.ScaleSimple( 16, 16, InterpType.Bilinear ) ) ); this.btRemoveAnswer.Clicked += (sender, e) => this.RemoveAnswer(); bttAnswers.Add( this.btAddAnswer ); bttAnswers.Add( this.btRemoveAnswer ); bttAnswers.Layout = Gtk.ButtonBoxStyle.Center; bttAnswers.Spacing = 20; hBoxAnswers.PackStart( swScrolledAnswers, true, true, 5 ); vBoxAnswers.PackStart( hBoxAnswers, true, true, 5 ); this.spNumberValidAnswer = new Gtk.SpinButton( 1, 20, 1 ); this.spNumberValidAnswer.ValueChanged += (o, args) => this.OnCorrectAnswerChanged(); hBoxCorrect.PackStart( new Gtk.Label( "Correct answer:" ), false, false, 5 ); hBoxCorrect.PackStart( this.spNumberValidAnswer, false, false, 5 ); hBoxCorrect.PackEnd( bttAnswers, false, false, 5 ); vBoxAnswers.PackStart( hBoxCorrect, false, false, 5 ); frmAnswer.Add( vBoxAnswers ); vBox.PackStart( frmAnswer, true, true, 5 ); // Layout hBox.Pack1( frmTest, false, false ); hBox.Pack2( vBox, false, false ); this.nbDocPages.AppendPage( hBox, new Gtk.Label( "Edit" ) ); this.nbDocPages.AppendPage( swScrollText, new Gtk.Label( "Document" ) ); this.nbDocPages.Page = 0; }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.Gui.Widgets.AnglePickerWidget Stetic.BinContainer.Attach(this); this.Name = "Pinta.Gui.Widgets.AnglePickerWidget"; // Container child Pinta.Gui.Widgets.AnglePickerWidget.Gtk.Container+ContainerChild this.vbox = new Gtk.VBox(); this.vbox.Name = "vbox"; this.vbox.Spacing = 6; // Container child vbox.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label = new Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = Mono.Unix.Catalog.GetString("label1"); this.hbox1.Add(this.label); Gtk.Box.BoxChild w1 = ((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 Gtk.HSeparator(); this.hseparator.Name = "hseparator"; this.hbox1.Add(this.hseparator); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparator])); w2.Position = 1; this.vbox.Add(this.hbox1); Gtk.Box.BoxChild w3 = ((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 Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.anglepickergraphic1 = new Pinta.Gui.Widgets.AnglePickerGraphic(); this.anglepickergraphic1.Name = "anglepickergraphic1"; this.anglepickergraphic1.Value = 0; this.anglepickergraphic1.ValueDouble = 0; this.hbox2.Add(this.anglepickergraphic1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.anglepickergraphic1])); w4.Position = 0; w4.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0F, 1F, 0F); this.alignment1.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild this.spin = new Gtk.SpinButton(0, 360, 1); this.spin.CanFocus = true; this.spin.Name = "spin"; this.spin.Adjustment.PageIncrement = 10; this.spin.ClimbRate = 1; this.spin.Numeric = true; this.alignment1.Add(this.spin); this.hbox2.Add(this.alignment1); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0.5F, 0F, 1F, 0.1F); this.alignment2.Name = "alignment2"; // Container child alignment2.Gtk.Container+ContainerChild this.button = new Gtk.Button(); this.button.WidthRequest = 28; this.button.HeightRequest = 24; this.button.CanFocus = true; this.button.Name = "button"; this.button.UseUnderline = true; // Container child button.Gtk.Container+ContainerChild Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w8 = new Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w9 = new Gtk.Image(); w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w11 = new Gtk.Label(); w8.Add(w11); w7.Add(w8); this.button.Add(w7); this.alignment2.Add(this.button); this.hbox2.Add(this.alignment2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment2])); w16.Position = 2; w16.Expand = false; w16.Fill = false; this.vbox.Add(this.hbox2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox[this.hbox2])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.Add(this.vbox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); }
protected virtual void Build () { Gtk.Window cobj = (Gtk.Window) null; // Widget Sya.reclutamiento cobj.Title = "Datos del Aspirante - Reclutamiento de Personal"; Gtk.UIManager w1 = new Gtk.UIManager (); Gtk.ActionGroup w2 = new Gtk.ActionGroup ("Default"); Gtk.Action w3 = new Gtk.Action ("goBack", null, null, "gtk-go-back"); this.goBack = w3; w2.Add (w3, null); Gtk.Action w4 = new Gtk.Action ("goForward", null, null, "gtk-go-forward"); this.goForward = w4; w2.Add (w4, null); Gtk.Action w5 = new Gtk.Action ("gotoLast", null, null, "gtk-goto-last"); this.gotoLast = w5; w2.Add (w5, null); Gtk.Action w6 = new Gtk.Action ("print", null, null, "gtk-print"); this.print = w6; w2.Add (w6, null); Gtk.Action w7 = new Gtk.Action ("save", null, null, "gtk-save"); this.save = w7; w2.Add (w7, null); Gtk.Action w8 = new Gtk.Action ("quit", null, null, "gtk-quit"); this.quit = w8; w2.Add (w8, null); Gtk.Action w9 = new Gtk.Action ("quit1", null, null, "gtk-quit"); this.quit1 = w9; w2.Add (w9, null); Gtk.Action w10 = new Gtk.Action ("save1", null, null, "gtk-save"); this.save1 = w10; w2.Add (w10, null); Gtk.Action w11 = new Gtk.Action ("quit2", null, null, "gtk-quit"); this.quit2 = w11; w2.Add (w11, null); Gtk.Action w12 = new Gtk.Action ("about", null, null, "gtk-about"); this.about = w12; w2.Add (w12, null); Gtk.Action w13 = new Gtk.Action ("gotoFirst", null, null, "gtk-goto-first"); this.gotoFirst = w13; w2.Add (w13, null); Gtk.Action w14 = new Gtk.Action ("goBack1", null, null, "gtk-media-rewind"); this.goBack1 = w14; w2.Add (w14, null); Gtk.Action w15 = new Gtk.Action ("goForward1", null, null, "gtk-media-forward"); this.goForward1 = w15; w2.Add (w15, null); Gtk.Action w16 = new Gtk.Action ("gotoLast1", null, null, "gtk-goto-last"); this.gotoLast1 = w16; w2.Add (w16, null); Gtk.Action w17 = new Gtk.Action ("save2", null, null, "gtk-save"); this.save2 = w17; w2.Add (w17, null); Gtk.Action w18 = new Gtk.Action ("print1", null, null, "gtk-print"); this.print1 = w18; w2.Add (w18, null); Gtk.Action w19 = new Gtk.Action ("quit3", null, null, "gtk-quit"); this.quit3 = w19; w2.Add (w19, null); Gtk.Action w20 = new Gtk.Action ("dialogInfo", null, null, "gtk-dialog-info"); this.dialogInfo = w20; w2.Add (w20, null); Gtk.Action w21 = new Gtk.Action ("about1", null, null, "gtk-about"); this.about1 = w21; w2.Add (w21, null); Gtk.Action w22 = new Gtk.Action ("goBack2", null, null, "gtk-go-back"); this.goBack2 = w22; w2.Add (w22, null); Gtk.Action w23 = new Gtk.Action ("goForward2", null, null, "gtk-go-forward"); this.goForward2 = w23; w2.Add (w23, null); Gtk.Action w24 = new Gtk.Action ("printPreview", null, null, "gtk-print-preview"); this.printPreview = w24; w2.Add (w24, null); w1.InsertActionGroup (w2, 0); cobj.AddAccelGroup (w1.AccelGroup); cobj.WindowPosition = ((Gtk.WindowPosition) (4)); cobj.Modal = true; cobj.Gravity = ((Gdk.Gravity) (5)); cobj.Name = "Sya.reclutamiento"; // Container child Sya.reclutamiento.Gtk.Container+ContainerChild Gtk.ScrolledWindow w25 = new Gtk.ScrolledWindow (); w25.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w25.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w25.CanFocus = true; w25.Name = "scrolledwindow2"; // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w26 = new Gtk.Viewport (); w26.ShadowType = ((Gtk.ShadowType) (0)); w26.Name = "GtkViewport"; // Container child GtkViewport.Gtk.Container+ContainerChild Gtk.VBox w27 = new Gtk.VBox (); w27.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w28 = new Gtk.HBox (); w28.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild w1.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem action='gotoFirst'/><toolitem action='goBack1'/><toolitem action='goForward1'/><toolitem action='gotoLast1'/><toolitem action='save2'/><toolitem action='printPreview'/><toolitem action='print1'/><toolitem action='quit3'/><toolitem action='dialogInfo'/><toolitem action='about1'/><toolitem action='goBack2'/><toolitem action='goForward2'/></toolbar></ui>"); Gtk.Toolbar w29 = ((Gtk.Toolbar) (w1.GetWidget ("/toolbar1"))); w29.ShowArrow = false; w29.Tooltips = true; w29.ToolbarStyle = ((Gtk.ToolbarStyle) (0)); w29.IconSize = ((Gtk.IconSize) (2)); w29.Name = "toolbar1"; this.toolbar1 = w29; w28.Add (w29); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild) (w28 [w29])); w30.Position = 0; w30.Expand = false; // Container child hbox2.Gtk.Box+BoxChild Gtk.Label w31 = new Gtk.Label (); w31.LabelProp = "label 5"; w31.Xpad = 5; w31.Name = "label5"; this.label5 = w31; w28.Add (w31); Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild) (w28 [w31])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child hbox2.Gtk.Box+BoxChild Gtk.Label w33 = new Gtk.Label (); w33.LabelProp = "label 6"; w33.Xpad = 5; w33.Name = "label6"; this.label6 = w33; w28.Add (w33); Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild) (w28 [w33])); w34.Position = 2; w34.Expand = false; w34.Fill = false; this.hbox2 = w28; w27.Add (w28); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild) (w27 [w28])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w36 = new Gtk.HSeparator (); w36.Name = "hseparator1"; this.hseparator1 = w36; w27.Add (w36); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild) (w27 [w36])); w37.Position = 1; w37.Expand = false; w37.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w38 = new Gtk.HBox (); w38.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w39 = Gtk.ComboBox.NewText (); w39.AppendText (""); w39.AppendText ("Adicionar"); w39.AppendText ("Consultar"); w39.AppendText ("Extender"); w39.AppendText ("Modificar"); w39.AppendText ("Eliminar"); w39.Active = 0; w39.Name = "combo_OpRec"; this.combo_OpRec = w39; w38.Add (w39); Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild) (w38 [w39])); w40.Position = 0; w40.Expand = false; w40.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w41 = new Gtk.Label (); w41.LabelProp = "Busqueda:"; w41.Xpad = 3; w41.Name = "label3"; this.label3 = w41; w38.Add (w41); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild) (w38 [w41])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w43 = Gtk.ComboBox.NewText (); w43.Active = 0; w43.Name = "combobox3"; this.combobox3 = w43; w38.Add (w43); Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild) (w38 [w43])); w44.Position = 2; w44.Expand = false; w44.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w45 = new Gtk.Label (); w45.LabelProp = "Operador: "; w45.Xpad = 5; w45.Name = "label4"; this.label4 = w45; w38.Add (w45); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild) (w38 [w45])); w46.Position = 3; w46.Expand = false; w46.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w47 = Gtk.ComboBox.NewText (); w47.AppendText ("Igual "); w47.AppendText ("Mayor o igual"); w47.AppendText ("Menor o igual"); w47.Active = 0; w47.Name = "combobox2"; this.combobox2 = w47; w38.Add (w47); Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild) (w38 [w47])); w48.Position = 4; w48.Expand = false; w48.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w49 = new Gtk.Label (); w49.LabelProp = "Buscar por: "; w49.Xpad = 5; w49.Name = "label1"; this.label1 = w49; w38.Add (w49); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild) (w38 [w49])); w50.Position = 5; w50.Expand = false; w50.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Entry w51 = new Gtk.Entry (); w51.IsEditable = true; w51.WidthChars = 20; w51.MaxLength = 40; w51.InvisibleChar = '●'; w51.CanFocus = true; w51.Name = "entry2"; this.entry2 = w51; w38.Add (w51); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild) (w38 [w51])); w52.Position = 6; w52.Expand = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.Label w53 = new Gtk.Label (); w53.LabelProp = "Por Fecha: "; w53.Name = "label2"; this.label2 = w53; w38.Add (w53); Gtk.Box.BoxChild w54 = ((Gtk.Box.BoxChild) (w38 [w53])); w54.Position = 7; w54.Expand = false; w54.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.SpinButton w55 = new Gtk.SpinButton (1, 31, 1); w55.Adjustment.PageIncrement = 10; w55.Adjustment.PageSize = 10; w55.ClimbRate = 1; w55.Numeric = true; w55.Value = 1; w55.CanFocus = true; w55.Name = "spinbutton3"; this.spinbutton3 = w55; w38.Add (w55); Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild) (w38 [w55])); w56.Position = 8; w56.Expand = false; w56.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.ComboBox w57 = Gtk.ComboBox.NewText (); w57.AppendText ("Enero"); w57.AppendText ("Febrero"); w57.AppendText ("Marzo"); w57.AppendText ("Abril"); w57.AppendText ("Mayo"); w57.AppendText ("Junio"); w57.AppendText ("Julio"); w57.AppendText ("Agosto"); w57.AppendText ("Septiembre"); w57.AppendText ("Octubre"); w57.AppendText ("Noviembre"); w57.AppendText ("Diciembre"); w57.Active = 0; w57.Name = "combobox4"; this.combobox4 = w57; w38.Add (w57); Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild) (w38 [w57])); w58.Position = 9; w58.Expand = false; w58.Fill = false; // Container child hbox1.Gtk.Box+BoxChild Gtk.SpinButton w59 = new Gtk.SpinButton (1900, 2100, 1); w59.Adjustment.PageIncrement = 10; w59.Adjustment.PageSize = 10; w59.ClimbRate = 1; w59.Numeric = true; w59.Value = 2006; w59.CanFocus = true; w59.Name = "spinbutton4"; this.spinbutton4 = w59; w38.Add (w59); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild) (w38 [w59])); w60.Position = 10; w60.Expand = false; w60.Fill = false; this.hbox1 = w38; w27.Add (w38); Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild) (w27 [w38])); w61.Position = 2; w61.Expand = false; w61.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HSeparator w62 = new Gtk.HSeparator (); w62.Name = "hseparator2"; this.hseparator2 = w62; w27.Add (w62); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild) (w27 [w62])); w63.Position = 3; w63.Expand = false; w63.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.HBox w64 = new Gtk.HBox (); w64.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild Gtk.VBox w65 = new Gtk.VBox (); w65.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild Gtk.VBox w66 = new Gtk.VBox (); w66.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild Gtk.Frame w67 = new Gtk.Frame (); w67.ShadowType = ((Gtk.ShadowType) (4)); w67.LabelXalign = 0F; w67.BorderWidth = ((uint) (5)); w67.WidthRequest = 0; w67.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild Gtk.Alignment w68 = new Gtk.Alignment (0F, 0F, 1F, 1F); w68.LeftPadding = ((uint) (5)); w68.RightPadding = ((uint) (5)); w68.Name = "GtkAlignment4"; // Container child GtkAlignment4.Gtk.Container+ContainerChild Gtk.VBox w69 = new Gtk.VBox (); w69.Spacing = 5; w69.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild Gtk.Frame w70 = new Gtk.Frame (); w70.ShadowType = ((Gtk.ShadowType) (4)); w70.LabelXalign = 0F; w70.Name = "frame3"; // Container child frame3.Gtk.Container+ContainerChild Gtk.Alignment w71 = new Gtk.Alignment (0F, 0F, 1F, 1F); w71.LeftPadding = ((uint) (5)); w71.RightPadding = ((uint) (5)); w71.Name = "GtkAlignment2"; // Container child GtkAlignment2.Gtk.Container+ContainerChild Gtk.VBox w72 = new Gtk.VBox (); w72.Spacing = 3; w72.Name = "vbox6"; // Container child vbox6.Gtk.Box+BoxChild Gtk.HBox w73 = new Gtk.HBox (); w73.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w74 = new Gtk.Label (); w74.LabelProp = "Tipo: "; w74.Name = "label8"; this.label8 = w74; w73.Add (w74); Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild) (w73 [w74])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.ComboBox w76 = Gtk.ComboBox.NewText (); w76.Name = "comb_Tipo"; this.comb_Tipo = w76; w73.Add (w76); Gtk.Box.BoxChild w77 = ((Gtk.Box.BoxChild) (w73 [w76])); w77.Position = 1; w77.Expand = false; w77.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w78 = new Gtk.Label (); w78.LabelProp = "*"; w78.Name = "label172"; this.label172 = w78; w73.Add (w78); Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild) (w73 [w78])); w79.Position = 2; w79.Expand = false; w79.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w80 = new Gtk.Label (); w80.LabelProp = "Número: "; w80.Xpad = 21; w80.Name = "label9"; this.label9 = w80; w73.Add (w80); Gtk.Box.BoxChild w81 = ((Gtk.Box.BoxChild) (w73 [w80])); w81.Position = 3; w81.Expand = false; w81.Fill = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Entry w82 = new Gtk.Entry (); w82.IsEditable = true; w82.WidthChars = 15; w82.MaxLength = 15; w82.InvisibleChar = '●'; w82.CanFocus = true; w82.Name = "en_NumTipo"; this.en_NumTipo = w82; w73.Add (w82); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild) (w73 [w82])); w83.Position = 4; w83.Expand = false; // Container child hbox4.Gtk.Box+BoxChild Gtk.Label w84 = new Gtk.Label (); w84.LabelProp = "*"; w84.Name = "label166"; this.label166 = w84; w73.Add (w84); Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild) (w73 [w84])); w85.Position = 5; w85.Expand = false; w85.Fill = false; this.hbox4 = w73; w72.Add (w73); Gtk.Box.BoxChild w86 = ((Gtk.Box.BoxChild) (w72 [w73])); w86.Position = 0; w86.Expand = false; w86.Fill = false; // Container child vbox6.Gtk.Box+BoxChild Gtk.HBox w87 = new Gtk.HBox (); w87.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild Gtk.Label w88 = new Gtk.Label (); w88.LabelProp = "Expedida en : "; w88.Name = "label7"; this.label7 = w88; w87.Add (w88); Gtk.Box.BoxChild w89 = ((Gtk.Box.BoxChild) (w87 [w88])); w89.Position = 0; w89.Expand = false; w89.Fill = false; // Container child hbox5.Gtk.Box+BoxChild Gtk.Entry w90 = new Gtk.Entry (); w90.IsEditable = true; w90.WidthChars = 40; w90.MaxLength = 40; w90.InvisibleChar = '●'; w90.CanFocus = true; w90.Name = "en_NumExp"; this.en_NumExp = w90; w87.Add (w90); Gtk.Box.BoxChild w91 = ((Gtk.Box.BoxChild) (w87 [w90])); w91.Position = 1; w91.Expand = false; // Container child hbox5.Gtk.Box+BoxChild Gtk.Label w92 = new Gtk.Label (); w92.LabelProp = "*"; w92.Name = "label173"; this.label173 = w92; w87.Add (w92); Gtk.Box.BoxChild w93 = ((Gtk.Box.BoxChild) (w87 [w92])); w93.Position = 2; w93.Expand = false; w93.Fill = false; this.hbox5 = w87; w72.Add (w87); Gtk.Box.BoxChild w94 = ((Gtk.Box.BoxChild) (w72 [w87])); w94.Position = 1; w94.Expand = false; w94.Fill = false; this.vbox6 = w72; w71.Add (w72); this.GtkAlignment2 = w71; w70.Add (w71); Gtk.Label w97 = new Gtk.Label (); w97.LabelProp = ""; w97.UseMarkup = true; w97.Events = ((Gdk.EventMask) (256)); w97.Name = "GtkLabel3"; this.GtkLabel3 = w97; w70.LabelWidget = w97; this.frame3 = w70; w69.Add (w70); Gtk.Box.BoxChild w98 = ((Gtk.Box.BoxChild) (w69 [w70])); w98.Position = 0; // Container child vbox4.Gtk.Box+BoxChild Gtk.Frame w99 = new Gtk.Frame (); w99.ShadowType = ((Gtk.ShadowType) (4)); w99.LabelXalign = 0F; w99.Name = "frame4"; // Container child frame4.Gtk.Container+ContainerChild Gtk.Alignment w100 = new Gtk.Alignment (0F, 0F, 1F, 1F); w100.LeftPadding = ((uint) (5)); w100.RightPadding = ((uint) (5)); w100.Name = "GtkAlignment3"; // Container child GtkAlignment3.Gtk.Container+ContainerChild Gtk.VBox w101 = new Gtk.VBox (); w101.Spacing = 3; w101.Name = "vbox7"; // Container child vbox7.Gtk.Box+BoxChild Gtk.HBox w102 = new Gtk.HBox (); w102.Name = "hbox6"; // Container child hbox6.Gtk.Box+BoxChild Gtk.Label w103 = new Gtk.Label (); w103.LabelProp = "Primer Nombre: "; w103.Name = "label10"; this.label10 = w103; w102.Add (w103); Gtk.Box.BoxChild w104 = ((Gtk.Box.BoxChild) (w102 [w103])); w104.Position = 0; w104.Expand = false; w104.Fill = false; // Container child hbox6.Gtk.Box+BoxChild Gtk.Entry w105 = new Gtk.Entry (); w105.IsEditable = true; w105.WidthChars = 29; w105.MaxLength = 40; w105.InvisibleChar = '●'; w105.CanFocus = true; w105.Name = "en_PrNombre"; this.en_PrNombre = w105; w102.Add (w105); Gtk.Box.BoxChild w106 = ((Gtk.Box.BoxChild) (w102 [w105])); w106.Position = 1; w106.Expand = false; // Container child hbox6.Gtk.Box+BoxChild Gtk.Label w107 = new Gtk.Label (); w107.LabelProp = "*"; w107.Name = "label174"; this.label174 = w107; w102.Add (w107); Gtk.Box.BoxChild w108 = ((Gtk.Box.BoxChild) (w102 [w107])); w108.Position = 2; w108.Expand = false; w108.Fill = false; // Container child hbox6.Gtk.Box+BoxChild Gtk.Label w109 = new Gtk.Label (); w109.LabelProp = " Segundo Nombre: "; w109.Name = "label11"; this.label11 = w109; w102.Add (w109); Gtk.Box.BoxChild w110 = ((Gtk.Box.BoxChild) (w102 [w109])); w110.Position = 3; w110.Expand = false; w110.Fill = false; // Container child hbox6.Gtk.Box+BoxChild Gtk.Entry w111 = new Gtk.Entry (); w111.IsEditable = true; w111.WidthChars = 29; w111.MaxLength = 40; w111.InvisibleChar = '●'; w111.CanFocus = true; w111.Name = "en_SdoNombre"; this.en_SdoNombre = w111; w102.Add (w111); Gtk.Box.BoxChild w112 = ((Gtk.Box.BoxChild) (w102 [w111])); w112.Position = 4; w112.Expand = false; this.hbox6 = w102; w101.Add (w102); Gtk.Box.BoxChild w113 = ((Gtk.Box.BoxChild) (w101 [w102])); w113.Position = 0; w113.Expand = false; w113.Fill = false; // Container child vbox7.Gtk.Box+BoxChild Gtk.HBox w114 = new Gtk.HBox (); w114.Name = "hbox7"; // Container child hbox7.Gtk.Box+BoxChild Gtk.Label w115 = new Gtk.Label (); w115.LabelProp = "Primer Apellido: "; w115.Name = "label12"; this.label12 = w115; w114.Add (w115); Gtk.Box.BoxChild w116 = ((Gtk.Box.BoxChild) (w114 [w115])); w116.Position = 0; w116.Expand = false; w116.Fill = false; // Container child hbox7.Gtk.Box+BoxChild Gtk.Entry w117 = new Gtk.Entry (); w117.IsEditable = true; w117.WidthChars = 29; w117.MaxLength = 40; w117.InvisibleChar = '●'; w117.CanFocus = true; w117.Name = "en_PrApellido"; this.en_PrApellido = w117; w114.Add (w117); Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild) (w114 [w117])); w118.Position = 1; w118.Expand = false; // Container child hbox7.Gtk.Box+BoxChild Gtk.Label w119 = new Gtk.Label (); w119.LabelProp = "*"; w119.Name = "label175"; this.label175 = w119; w114.Add (w119); Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild) (w114 [w119])); w120.Position = 2; w120.Expand = false; w120.Fill = false; // Container child hbox7.Gtk.Box+BoxChild Gtk.Label w121 = new Gtk.Label (); w121.LabelProp = " Segundo Apellido: "; w121.Name = "label13"; this.label13 = w121; w114.Add (w121); Gtk.Box.BoxChild w122 = ((Gtk.Box.BoxChild) (w114 [w121])); w122.Position = 3; w122.Expand = false; w122.Fill = false; // Container child hbox7.Gtk.Box+BoxChild Gtk.Entry w123 = new Gtk.Entry (); w123.IsEditable = true; w123.WidthChars = 29; w123.MaxLength = 40; w123.InvisibleChar = '●'; w123.CanFocus = true; w123.Name = "en_SdoApellido"; this.en_SdoApellido = w123; w114.Add (w123); Gtk.Box.BoxChild w124 = ((Gtk.Box.BoxChild) (w114 [w123])); w124.Position = 4; w124.Expand = false; this.hbox7 = w114; w101.Add (w114); Gtk.Box.BoxChild w125 = ((Gtk.Box.BoxChild) (w101 [w114])); w125.Position = 1; w125.Expand = false; w125.Fill = false; this.vbox7 = w101; w100.Add (w101); this.GtkAlignment3 = w100; w99.Add (w100); Gtk.Label w128 = new Gtk.Label (); w128.LabelProp = ""; w128.UseMarkup = true; w128.Events = ((Gdk.EventMask) (256)); w128.Name = "GtkLabel4"; this.GtkLabel4 = w128; w99.LabelWidget = w128; this.frame4 = w99; w69.Add (w99); Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild) (w69 [w99])); w129.Position = 1; w129.Expand = false; w129.Fill = false; w129.Padding = ((uint) (6)); this.vbox4 = w69; w68.Add (w69); this.GtkAlignment4 = w68; w67.Add (w68); Gtk.Label w132 = new Gtk.Label (); w132.LabelProp = "<b>Identificación:</b>"; w132.UseMarkup = true; w132.Xpad = 14; w132.Events = ((Gdk.EventMask) (256)); w132.Name = "GtkLabel1"; this.GtkLabel1 = w132; w67.LabelWidget = w132; this.frame1 = w67; w66.Add (w67); Gtk.Box.BoxChild w133 = ((Gtk.Box.BoxChild) (w66 [w67])); w133.Position = 0; w133.Expand = false; w133.Fill = false; // Container child vbox3.Gtk.Box+BoxChild Gtk.HSeparator w134 = new Gtk.HSeparator (); w134.Name = "hseparator3"; this.hseparator3 = w134; w66.Add (w134); Gtk.Box.BoxChild w135 = ((Gtk.Box.BoxChild) (w66 [w134])); w135.Position = 1; w135.Expand = false; w135.Fill = false; // Container child vbox3.Gtk.Box+BoxChild Gtk.Notebook w136 = new Gtk.Notebook (); w136.HeightRequest = 450; w136.CanFocus = true; w136.Name = "notebook1"; // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w137 = new Gtk.ScrolledWindow (); w137.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w137.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w137.CanFocus = true; w137.Name = "scrolledwindow3"; // Container child scrolledwindow3.Gtk.Container+ContainerChild Gtk.Viewport w138 = new Gtk.Viewport (); w138.ShadowType = ((Gtk.ShadowType) (0)); w138.Name = "GtkViewport2"; // Container child GtkViewport2.Gtk.Container+ContainerChild Gtk.VBox w139 = new Gtk.VBox (); w139.Name = "vbox5"; // Container child vbox5.Gtk.Box+BoxChild Gtk.Alignment w140 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w140.LeftPadding = ((uint) (12)); w140.Name = "alignment1"; // Container child alignment1.Gtk.Container+ContainerChild Gtk.HBox w141 = new Gtk.HBox (); w141.Name = "hbox8"; // Container child hbox8.Gtk.Box+BoxChild Gtk.Frame w142 = new Gtk.Frame (); w142.ShadowType = ((Gtk.ShadowType) (4)); w142.LabelXalign = 0F; w142.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild Gtk.Alignment w143 = new Gtk.Alignment (0F, 0F, 0F, 1F); w143.LeftPadding = ((uint) (10)); w143.RightPadding = ((uint) (10)); w143.BottomPadding = ((uint) (5)); w143.Name = "GtkAlignment1"; // Container child GtkAlignment1.Gtk.Container+ContainerChild Gtk.HBox w144 = new Gtk.HBox (); w144.Name = "hbox9"; // Container child hbox9.Gtk.Box+BoxChild Gtk.Label w145 = new Gtk.Label (); w145.LabelProp = "Sexo: "; w145.Name = "label16"; this.label16 = w145; w144.Add (w145); Gtk.Box.BoxChild w146 = ((Gtk.Box.BoxChild) (w144 [w145])); w146.Position = 0; w146.Expand = false; w146.Fill = false; // Container child hbox9.Gtk.Box+BoxChild Gtk.ComboBox w147 = Gtk.ComboBox.NewText (); w147.Active = 0; w147.Name = "comb_Sexo"; this.comb_Sexo = w147; w144.Add (w147); Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild) (w144 [w147])); w148.Position = 1; w148.Expand = false; w148.Fill = false; // Container child hbox9.Gtk.Box+BoxChild Gtk.Label w149 = new Gtk.Label (); w149.LabelProp = "*"; w149.Name = "label176"; this.label176 = w149; w144.Add (w149); Gtk.Box.BoxChild w150 = ((Gtk.Box.BoxChild) (w144 [w149])); w150.Position = 2; w150.Expand = false; w150.Fill = false; this.hbox9 = w144; w143.Add (w144); this.GtkAlignment1 = w143; w142.Add (w143); Gtk.Label w153 = new Gtk.Label (); w153.LabelProp = ""; w153.UseMarkup = true; w153.Events = ((Gdk.EventMask) (256)); w153.Name = "GtkLabel2"; this.GtkLabel2 = w153; w142.LabelWidget = w153; this.frame2 = w142; w141.Add (w142); Gtk.Box.BoxChild w154 = ((Gtk.Box.BoxChild) (w141 [w142])); w154.Position = 0; w154.Expand = false; w154.Fill = false; // Container child hbox8.Gtk.Box+BoxChild Gtk.Alignment w155 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w155.LeftPadding = ((uint) (63)); w155.Name = "alignment2"; // Container child alignment2.Gtk.Container+ContainerChild Gtk.Frame w156 = new Gtk.Frame (); w156.ShadowType = ((Gtk.ShadowType) (4)); w156.LabelXalign = 0F; w156.Name = "frame5"; // Container child frame5.Gtk.Container+ContainerChild Gtk.Alignment w157 = new Gtk.Alignment (0F, 0F, 1F, 1F); w157.LeftPadding = ((uint) (10)); w157.RightPadding = ((uint) (10)); w157.BottomPadding = ((uint) (5)); w157.Name = "GtkAlignment8"; // Container child GtkAlignment8.Gtk.Container+ContainerChild Gtk.HBox w158 = new Gtk.HBox (); w158.Name = "hbox10"; // Container child hbox10.Gtk.Box+BoxChild Gtk.Label w159 = new Gtk.Label (); w159.LabelProp = "Estado Civil: "; w159.Name = "label17"; this.label17 = w159; w158.Add (w159); Gtk.Box.BoxChild w160 = ((Gtk.Box.BoxChild) (w158 [w159])); w160.Position = 0; w160.Expand = false; w160.Fill = false; // Container child hbox10.Gtk.Box+BoxChild Gtk.ComboBox w161 = Gtk.ComboBox.NewText (); w161.Active = 0; w161.Name = "comb_EstCivil"; this.comb_EstCivil = w161; w158.Add (w161); Gtk.Box.BoxChild w162 = ((Gtk.Box.BoxChild) (w158 [w161])); w162.Position = 1; w162.Expand = false; w162.Fill = false; // Container child hbox10.Gtk.Box+BoxChild Gtk.Label w163 = new Gtk.Label (); w163.LabelProp = "*"; w163.Name = "label177"; this.label177 = w163; w158.Add (w163); Gtk.Box.BoxChild w164 = ((Gtk.Box.BoxChild) (w158 [w163])); w164.Position = 2; w164.Expand = false; w164.Fill = false; this.hbox10 = w158; w157.Add (w158); this.GtkAlignment8 = w157; w156.Add (w157); Gtk.Label w167 = new Gtk.Label (); w167.LabelProp = ""; w167.UseMarkup = true; w167.Events = ((Gdk.EventMask) (256)); w167.Name = "GtkLabel5"; this.GtkLabel5 = w167; w156.LabelWidget = w167; this.frame5 = w156; w155.Add (w156); this.alignment2 = w155; w141.Add (w155); Gtk.Box.BoxChild w169 = ((Gtk.Box.BoxChild) (w141 [w155])); w169.Position = 1; w169.Expand = false; w169.Fill = false; this.hbox8 = w141; w140.Add (w141); this.alignment1 = w140; w139.Add (w140); Gtk.Box.BoxChild w171 = ((Gtk.Box.BoxChild) (w139 [w140])); w171.Position = 0; w171.Expand = false; w171.Fill = false; // Container child vbox5.Gtk.Box+BoxChild Gtk.Alignment w172 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w172.LeftPadding = ((uint) (12)); w172.Name = "alignment3"; // Container child alignment3.Gtk.Container+ContainerChild Gtk.HBox w173 = new Gtk.HBox (); w173.Name = "hbox11"; // Container child hbox11.Gtk.Box+BoxChild Gtk.Frame w174 = new Gtk.Frame (); w174.ShadowType = ((Gtk.ShadowType) (4)); w174.LabelXalign = 0F; w174.Name = "frame6"; // Container child frame6.Gtk.Container+ContainerChild Gtk.Alignment w175 = new Gtk.Alignment (0F, 0F, 1F, 1F); w175.LeftPadding = ((uint) (10)); w175.RightPadding = ((uint) (10)); w175.BottomPadding = ((uint) (5)); w175.Name = "GtkAlignment5"; // Container child GtkAlignment5.Gtk.Container+ContainerChild Gtk.HBox w176 = new Gtk.HBox (); w176.Name = "hbox12"; // Container child hbox12.Gtk.Box+BoxChild Gtk.Label w177 = new Gtk.Label (); w177.LabelProp = "Fecha de Nacimiento: "; w177.Name = "label18"; this.label18 = w177; w176.Add (w177); Gtk.Box.BoxChild w178 = ((Gtk.Box.BoxChild) (w176 [w177])); w178.Position = 0; w178.Expand = false; w178.Fill = false; // Container child hbox12.Gtk.Box+BoxChild Gtk.SpinButton w179 = new Gtk.SpinButton (1, 31, 1); w179.Adjustment.PageIncrement = 10; w179.ClimbRate = 1; w179.Numeric = true; w179.Value = 1; w179.CanFocus = true; w179.Name = "spin_DiaNac"; this.spin_DiaNac = w179; w176.Add (w179); Gtk.Box.BoxChild w180 = ((Gtk.Box.BoxChild) (w176 [w179])); w180.Position = 1; w180.Expand = false; w180.Fill = false; // Container child hbox12.Gtk.Box+BoxChild Gtk.ComboBox w181 = Gtk.ComboBox.NewText (); w181.Active = 0; w181.Name = "co_MesNac"; this.co_MesNac = w181; w176.Add (w181); Gtk.Box.BoxChild w182 = ((Gtk.Box.BoxChild) (w176 [w181])); w182.Position = 2; w182.Expand = false; w182.Fill = false; // Container child hbox12.Gtk.Box+BoxChild Gtk.SpinButton w183 = new Gtk.SpinButton (1930, 2020, 1); w183.Adjustment.PageIncrement = 10; w183.ClimbRate = 1; w183.Numeric = true; w183.Value = 1980; w183.CanFocus = true; w183.Name = "spin_AnioNac"; this.spin_AnioNac = w183; w176.Add (w183); Gtk.Box.BoxChild w184 = ((Gtk.Box.BoxChild) (w176 [w183])); w184.Position = 3; w184.Expand = false; w184.Fill = false; // Container child hbox12.Gtk.Box+BoxChild Gtk.Label w185 = new Gtk.Label (); w185.LabelProp = "*"; w185.Name = "label178"; this.label178 = w185; w176.Add (w185); Gtk.Box.BoxChild w186 = ((Gtk.Box.BoxChild) (w176 [w185])); w186.Position = 4; w186.Expand = false; w186.Fill = false; this.hbox12 = w176; w175.Add (w176); this.GtkAlignment5 = w175; w174.Add (w175); Gtk.Label w189 = new Gtk.Label (); w189.LabelProp = ""; w189.UseMarkup = true; w189.Events = ((Gdk.EventMask) (256)); w189.Name = "GtkLabel6"; this.GtkLabel6 = w189; w174.LabelWidget = w189; this.frame6 = w174; w173.Add (w174); Gtk.Box.BoxChild w190 = ((Gtk.Box.BoxChild) (w173 [w174])); w190.Position = 0; w190.Expand = false; w190.Fill = false; this.hbox11 = w173; w172.Add (w173); this.alignment3 = w172; w139.Add (w172); Gtk.Box.BoxChild w192 = ((Gtk.Box.BoxChild) (w139 [w172])); w192.Position = 1; w192.Expand = false; w192.Fill = false; // Container child vbox5.Gtk.Box+BoxChild Gtk.Alignment w193 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w193.LeftPadding = ((uint) (10)); w193.RightPadding = ((uint) (10)); w193.Name = "alignment4"; // Container child alignment4.Gtk.Container+ContainerChild Gtk.Frame w194 = new Gtk.Frame (); w194.ShadowType = ((Gtk.ShadowType) (4)); w194.LabelXalign = 0F; w194.Name = "frame8"; // Container child frame8.Gtk.Container+ContainerChild Gtk.Alignment w195 = new Gtk.Alignment (0F, 0F, 1F, 1F); w195.LeftPadding = ((uint) (10)); w195.RightPadding = ((uint) (10)); w195.BottomPadding = ((uint) (5)); w195.Name = "GtkAlignment6"; // Container child GtkAlignment6.Gtk.Container+ContainerChild Gtk.HBox w196 = new Gtk.HBox (); w196.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild Gtk.Label w197 = new Gtk.Label (); w197.LabelProp = "En Pais: "; w197.Name = "label19"; this.label19 = w197; w196.Add (w197); Gtk.Box.BoxChild w198 = ((Gtk.Box.BoxChild) (w196 [w197])); w198.Position = 0; w198.Expand = false; w198.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.ComboBox w199 = Gtk.ComboBox.NewText (); w199.AppendText (" "); w199.Active = 0; w199.Name = "co_PaisNac"; this.co_PaisNac = w199; w196.Add (w199); Gtk.Box.BoxChild w200 = ((Gtk.Box.BoxChild) (w196 [w199])); w200.Position = 1; w200.Expand = false; w200.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.Label w201 = new Gtk.Label (); w201.LabelProp = "Dpto: "; w201.Name = "label20"; this.label20 = w201; w196.Add (w201); Gtk.Box.BoxChild w202 = ((Gtk.Box.BoxChild) (w196 [w201])); w202.Position = 2; w202.Expand = false; w202.Fill = false; w202.Padding = ((uint) (10)); // Container child hbox14.Gtk.Box+BoxChild Gtk.ComboBox w203 = Gtk.ComboBox.NewText (); w203.AppendText (" "); w203.Name = "co_DptoNac"; this.co_DptoNac = w203; w196.Add (w203); Gtk.Box.BoxChild w204 = ((Gtk.Box.BoxChild) (w196 [w203])); w204.Position = 3; w204.Expand = false; w204.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.Label w205 = new Gtk.Label (); w205.LabelProp = "Ciudad: "; w205.Name = "label21"; this.label21 = w205; w196.Add (w205); Gtk.Box.BoxChild w206 = ((Gtk.Box.BoxChild) (w196 [w205])); w206.Position = 4; w206.Expand = false; w206.Fill = false; w206.Padding = ((uint) (10)); // Container child hbox14.Gtk.Box+BoxChild Gtk.ComboBox w207 = Gtk.ComboBox.NewText (); w207.AppendText (" "); w207.Name = "co_CiuNac"; this.co_CiuNac = w207; w196.Add (w207); Gtk.Box.BoxChild w208 = ((Gtk.Box.BoxChild) (w196 [w207])); w208.Position = 5; w208.Expand = false; w208.Fill = false; // Container child hbox14.Gtk.Box+BoxChild Gtk.Label w209 = new Gtk.Label (); w209.LabelProp = "*"; w209.Name = "label179"; this.label179 = w209; w196.Add (w209); Gtk.Box.BoxChild w210 = ((Gtk.Box.BoxChild) (w196 [w209])); w210.Position = 6; w210.Expand = false; w210.Fill = false; this.hbox14 = w196; w195.Add (w196); this.GtkAlignment6 = w195; w194.Add (w195); Gtk.Label w213 = new Gtk.Label (); w213.LabelProp = ""; w213.UseMarkup = true; w213.Events = ((Gdk.EventMask) (256)); w213.Name = "GtkLabel7"; this.GtkLabel7 = w213; w194.LabelWidget = w213; this.frame8 = w194; w193.Add (w194); this.alignment4 = w193; w139.Add (w193); Gtk.Box.BoxChild w215 = ((Gtk.Box.BoxChild) (w139 [w193])); w215.Position = 2; w215.Expand = false; w215.Fill = false; // Container child vbox5.Gtk.Box+BoxChild Gtk.Alignment w216 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w216.LeftPadding = ((uint) (10)); w216.RightPadding = ((uint) (10)); w216.Name = "alignment25"; // Container child alignment25.Gtk.Container+ContainerChild Gtk.Frame w217 = new Gtk.Frame (); w217.ShadowType = ((Gtk.ShadowType) (4)); w217.LabelXalign = 0F; w217.Name = "frame24"; // Container child frame24.Gtk.Container+ContainerChild Gtk.Alignment w218 = new Gtk.Alignment (0F, 0F, 1F, 1F); w218.LeftPadding = ((uint) (12)); w218.BottomPadding = ((uint) (1)); w218.Name = "GtkAlignment22"; // Container child GtkAlignment22.Gtk.Container+ContainerChild Gtk.HBox w219 = new Gtk.HBox (); w219.Name = "hbox36"; // Container child hbox36.Gtk.Box+BoxChild Gtk.Label w220 = new Gtk.Label (); w220.LabelProp = "Otra Ciudad Nacimiento:"; w220.Name = "label64"; this.label64 = w220; w219.Add (w220); Gtk.Box.BoxChild w221 = ((Gtk.Box.BoxChild) (w219 [w220])); w221.Position = 0; w221.Expand = false; w221.Fill = false; // Container child hbox36.Gtk.Box+BoxChild Gtk.Entry w222 = new Gtk.Entry (); w222.IsEditable = true; w222.WidthChars = 40; w222.MaxLength = 40; w222.InvisibleChar = '●'; w222.CanFocus = true; w222.Name = "en_OtraCiuNac"; this.en_OtraCiuNac = w222; w219.Add (w222); Gtk.Box.BoxChild w223 = ((Gtk.Box.BoxChild) (w219 [w222])); w223.Position = 1; w223.Expand = false; this.hbox36 = w219; w218.Add (w219); this.GtkAlignment22 = w218; w217.Add (w218); Gtk.Label w226 = new Gtk.Label (); w226.LabelProp = ""; w226.UseMarkup = true; w226.Events = ((Gdk.EventMask) (256)); w226.Name = "GtkLabel29"; this.GtkLabel29 = w226; w217.LabelWidget = w226; this.frame24 = w217; w216.Add (w217); this.alignment25 = w216; w139.Add (w216); Gtk.Box.BoxChild w228 = ((Gtk.Box.BoxChild) (w139 [w216])); w228.Position = 3; w228.Expand = false; w228.Fill = false; // Container child vbox5.Gtk.Box+BoxChild Gtk.Alignment w229 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w229.LeftPadding = ((uint) (10)); w229.RightPadding = ((uint) (10)); w229.BottomPadding = ((uint) (5)); w229.Name = "alignment5"; // Container child alignment5.Gtk.Container+ContainerChild Gtk.Frame w230 = new Gtk.Frame (); w230.ShadowType = ((Gtk.ShadowType) (4)); w230.LabelXalign = 0F; w230.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild Gtk.Alignment w231 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w231.LeftPadding = ((uint) (10)); w231.RightPadding = ((uint) (10)); w231.BottomPadding = ((uint) (5)); w231.Name = "alignment6"; // Container child alignment6.Gtk.Container+ContainerChild Gtk.VBox w232 = new Gtk.VBox (); w232.Name = "vbox8"; // Container child vbox8.Gtk.Box+BoxChild Gtk.HBox w233 = new Gtk.HBox (); w233.BorderWidth = ((uint) (2)); w233.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild Gtk.Label w234 = new Gtk.Label (); w234.LabelProp = "Direccion: "; w234.Name = "label22"; this.label22 = w234; w233.Add (w234); Gtk.Box.BoxChild w235 = ((Gtk.Box.BoxChild) (w233 [w234])); w235.Position = 0; w235.Expand = false; w235.Fill = false; // Container child hbox13.Gtk.Box+BoxChild Gtk.Entry w236 = new Gtk.Entry (); w236.IsEditable = true; w236.WidthChars = 40; w236.MaxLength = 45; w236.InvisibleChar = '●'; w236.CanFocus = true; w236.Name = "en_DirecRes"; this.en_DirecRes = w236; w233.Add (w236); Gtk.Box.BoxChild w237 = ((Gtk.Box.BoxChild) (w233 [w236])); w237.Position = 1; w237.Expand = false; // Container child hbox13.Gtk.Box+BoxChild Gtk.Label w238 = new Gtk.Label (); w238.LabelProp = "*"; w238.Name = "label180"; this.label180 = w238; w233.Add (w238); Gtk.Box.BoxChild w239 = ((Gtk.Box.BoxChild) (w233 [w238])); w239.Position = 2; w239.Expand = false; w239.Fill = false; // Container child hbox13.Gtk.Box+BoxChild Gtk.Entry w240 = new Gtk.Entry (); w240.IsEditable = true; w240.WidthChars = 20; w240.MaxLength = 30; w240.InvisibleChar = '●'; w240.CanFocus = true; w240.Name = "en_Barrio"; this.en_Barrio = w240; w233.Add (w240); Gtk.Box.BoxChild w241 = ((Gtk.Box.BoxChild) (w233 [w240])); w241.PackType = ((Gtk.PackType) (1)); w241.Position = 3; // Container child hbox13.Gtk.Box+BoxChild Gtk.Label w242 = new Gtk.Label (); w242.LabelProp = "Barrio:"; w242.Xpad = 19; w242.Name = "la_Barrio"; this.la_Barrio = w242; w233.Add (w242); Gtk.Box.BoxChild w243 = ((Gtk.Box.BoxChild) (w233 [w242])); w243.PackType = ((Gtk.PackType) (1)); w243.Position = 4; w243.Expand = false; w243.Fill = false; this.hbox13 = w233; w232.Add (w233); Gtk.Box.BoxChild w244 = ((Gtk.Box.BoxChild) (w232 [w233])); w244.Position = 0; w244.Expand = false; w244.Fill = false; // Container child vbox8.Gtk.Box+BoxChild Gtk.HBox w245 = new Gtk.HBox (); w245.BorderWidth = ((uint) (2)); w245.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild Gtk.Label w246 = new Gtk.Label (); w246.LabelProp = "Residenciado en Pais: "; w246.Name = "label23"; this.label23 = w246; w245.Add (w246); Gtk.Box.BoxChild w247 = ((Gtk.Box.BoxChild) (w245 [w246])); w247.Position = 0; w247.Expand = false; w247.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.ComboBox w248 = Gtk.ComboBox.NewText (); w248.AppendText (" "); w248.Name = "co_PaisRes"; this.co_PaisRes = w248; w245.Add (w248); Gtk.Box.BoxChild w249 = ((Gtk.Box.BoxChild) (w245 [w248])); w249.Position = 1; w249.Expand = false; w249.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.Label w250 = new Gtk.Label (); w250.LabelProp = "Dpto.:"; w250.Name = "label24"; this.label24 = w250; w245.Add (w250); Gtk.Box.BoxChild w251 = ((Gtk.Box.BoxChild) (w245 [w250])); w251.Position = 2; w251.Expand = false; w251.Fill = false; w251.Padding = ((uint) (10)); // Container child hbox15.Gtk.Box+BoxChild Gtk.ComboBox w252 = Gtk.ComboBox.NewText (); w252.AppendText (" "); w252.Name = "co_DptoRes"; this.co_DptoRes = w252; w245.Add (w252); Gtk.Box.BoxChild w253 = ((Gtk.Box.BoxChild) (w245 [w252])); w253.Position = 3; w253.Expand = false; w253.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.Label w254 = new Gtk.Label (); w254.LabelProp = "Ciudad:"; w254.Name = "label25"; this.label25 = w254; w245.Add (w254); Gtk.Box.BoxChild w255 = ((Gtk.Box.BoxChild) (w245 [w254])); w255.Position = 4; w255.Expand = false; w255.Fill = false; w255.Padding = ((uint) (10)); // Container child hbox15.Gtk.Box+BoxChild Gtk.ComboBox w256 = Gtk.ComboBox.NewText (); w256.AppendText (" "); w256.Active = 0; w256.Name = "co_CiuRes"; this.co_CiuRes = w256; w245.Add (w256); Gtk.Box.BoxChild w257 = ((Gtk.Box.BoxChild) (w245 [w256])); w257.Position = 5; w257.Expand = false; w257.Fill = false; // Container child hbox15.Gtk.Box+BoxChild Gtk.Label w258 = new Gtk.Label (); w258.LabelProp = "*"; w258.Name = "label181"; this.label181 = w258; w245.Add (w258); Gtk.Box.BoxChild w259 = ((Gtk.Box.BoxChild) (w245 [w258])); w259.Position = 6; w259.Expand = false; w259.Fill = false; this.hbox15 = w245; w232.Add (w245); Gtk.Box.BoxChild w260 = ((Gtk.Box.BoxChild) (w232 [w245])); w260.Position = 1; w260.Expand = false; w260.Fill = false; // Container child vbox8.Gtk.Box+BoxChild Gtk.HBox w261 = new Gtk.HBox (); w261.Name = "hbox37"; // Container child hbox37.Gtk.Box+BoxChild Gtk.Label w262 = new Gtk.Label (); w262.LabelProp = "Otra Ciudad Residencia:"; w262.Name = "label26"; this.label26 = w262; w261.Add (w262); Gtk.Box.BoxChild w263 = ((Gtk.Box.BoxChild) (w261 [w262])); w263.Position = 0; w263.Expand = false; w263.Fill = false; // Container child hbox37.Gtk.Box+BoxChild Gtk.Entry w264 = new Gtk.Entry (); w264.IsEditable = true; w264.WidthChars = 40; w264.MaxLength = 40; w264.InvisibleChar = '●'; w264.CanFocus = true; w264.Name = "en_OtraCiuRes"; this.en_OtraCiuRes = w264; w261.Add (w264); Gtk.Box.BoxChild w265 = ((Gtk.Box.BoxChild) (w261 [w264])); w265.Position = 1; w265.Expand = false; w265.Padding = ((uint) (1)); this.hbox37 = w261; w232.Add (w261); Gtk.Box.BoxChild w266 = ((Gtk.Box.BoxChild) (w232 [w261])); w266.Position = 2; w266.Expand = false; w266.Fill = false; // Container child vbox8.Gtk.Box+BoxChild Gtk.HBox w267 = new Gtk.HBox (); w267.BorderWidth = ((uint) (2)); w267.Name = "hbox16"; // Container child hbox16.Gtk.Box+BoxChild Gtk.Label w268 = new Gtk.Label (); w268.LabelProp = "Telefono Residencia: "; w268.Name = "label27"; this.label27 = w268; w267.Add (w268); Gtk.Box.BoxChild w269 = ((Gtk.Box.BoxChild) (w267 [w268])); w269.Position = 0; w269.Expand = false; w269.Fill = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Entry w270 = new Gtk.Entry (); w270.IsEditable = true; w270.WidthChars = 10; w270.MaxLength = 12; w270.InvisibleChar = '●'; w270.CanFocus = true; w270.Name = "en_TelRes"; this.en_TelRes = w270; w267.Add (w270); Gtk.Box.BoxChild w271 = ((Gtk.Box.BoxChild) (w267 [w270])); w271.Position = 1; w271.Expand = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Label w272 = new Gtk.Label (); w272.LabelProp = "*"; w272.Name = "label185"; this.label185 = w272; w267.Add (w272); Gtk.Box.BoxChild w273 = ((Gtk.Box.BoxChild) (w267 [w272])); w273.Position = 2; w273.Expand = false; w273.Fill = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Label w274 = new Gtk.Label (); w274.LabelProp = "Teléfono Oficina:"; w274.Name = "label28"; this.label28 = w274; w267.Add (w274); Gtk.Box.BoxChild w275 = ((Gtk.Box.BoxChild) (w267 [w274])); w275.Position = 3; w275.Expand = false; w275.Fill = false; w275.Padding = ((uint) (10)); // Container child hbox16.Gtk.Box+BoxChild Gtk.Entry w276 = new Gtk.Entry (); w276.IsEditable = true; w276.WidthChars = 10; w276.MaxLength = 12; w276.InvisibleChar = '●'; w276.CanFocus = true; w276.Name = "en_TelOfi"; this.en_TelOfi = w276; w267.Add (w276); Gtk.Box.BoxChild w277 = ((Gtk.Box.BoxChild) (w267 [w276])); w277.Position = 4; w277.Expand = false; // Container child hbox16.Gtk.Box+BoxChild Gtk.Label w278 = new Gtk.Label (); w278.LabelProp = "Teléfono Celular:"; w278.Name = "label29"; this.label29 = w278; w267.Add (w278); Gtk.Box.BoxChild w279 = ((Gtk.Box.BoxChild) (w267 [w278])); w279.Position = 5; w279.Expand = false; w279.Fill = false; w279.Padding = ((uint) (10)); // Container child hbox16.Gtk.Box+BoxChild Gtk.Entry w280 = new Gtk.Entry (); w280.IsEditable = true; w280.WidthChars = 12; w280.MaxLength = 12; w280.InvisibleChar = '●'; w280.CanFocus = true; w280.Name = "en_TelCelu"; this.en_TelCelu = w280; w267.Add (w280); Gtk.Box.BoxChild w281 = ((Gtk.Box.BoxChild) (w267 [w280])); w281.Position = 6; w281.Expand = false; this.hbox16 = w267; w232.Add (w267); Gtk.Box.BoxChild w282 = ((Gtk.Box.BoxChild) (w232 [w267])); w282.Position = 3; w282.Expand = false; w282.Fill = false; // Container child vbox8.Gtk.Box+BoxChild Gtk.HBox w283 = new Gtk.HBox (); w283.BorderWidth = ((uint) (2)); w283.Name = "hbox17"; // Container child hbox17.Gtk.Box+BoxChild Gtk.Label w284 = new Gtk.Label (); w284.LabelProp = "Correo Electrónico: "; w284.Name = "label30"; this.label30 = w284; w283.Add (w284); Gtk.Box.BoxChild w285 = ((Gtk.Box.BoxChild) (w283 [w284])); w285.Position = 0; w285.Expand = false; w285.Fill = false; // Container child hbox17.Gtk.Box+BoxChild Gtk.Entry w286 = new Gtk.Entry (); w286.IsEditable = true; w286.WidthChars = 30; w286.MaxLength = 30; w286.InvisibleChar = '●'; w286.CanFocus = true; w286.Name = "en_eMail"; this.en_eMail = w286; w283.Add (w286); Gtk.Box.BoxChild w287 = ((Gtk.Box.BoxChild) (w283 [w286])); w287.Position = 1; w287.Expand = false; this.hbox17 = w283; w232.Add (w283); Gtk.Box.BoxChild w288 = ((Gtk.Box.BoxChild) (w232 [w283])); w288.Position = 4; w288.Expand = false; w288.Fill = false; this.vbox8 = w232; w231.Add (w232); this.alignment6 = w231; w230.Add (w231); Gtk.Label w291 = new Gtk.Label (); w291.LabelProp = "<b> Ubicación: </b> "; w291.UseMarkup = true; w291.Events = ((Gdk.EventMask) (256)); w291.Name = "GtkLabel8"; this.GtkLabel8 = w291; w230.LabelWidget = w291; this.frame9 = w230; w229.Add (w230); this.alignment5 = w229; w139.Add (w229); Gtk.Box.BoxChild w293 = ((Gtk.Box.BoxChild) (w139 [w229])); w293.Position = 4; w293.Expand = false; w293.Fill = false; this.vbox5 = w139; w138.Add (w139); w137.Add (w138); this.scrolledwindow3 = w137; w136.Add (w137); Gtk.Notebook.NotebookChild w296 = ((Gtk.Notebook.NotebookChild) (w136 [w137])); w296.TabExpand = false; // Notebook tab Gtk.Label w297 = new Gtk.Label (); w297.LabelProp = "Datos\nPersonales"; w297.Justify = ((Gtk.Justification) (2)); w297.Name = "la_DaPersonales"; this.la_DaPersonales = w297; w136.SetTabLabel (w137, w297); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.VBox w298 = new Gtk.VBox (); w298.Name = "vbox37"; // Container child vbox37.Gtk.Box+BoxChild Gtk.Alignment w299 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w299.LeftPadding = ((uint) (10)); w299.TopPadding = ((uint) (5)); w299.RightPadding = ((uint) (10)); w299.BottomPadding = ((uint) (7)); w299.Name = "alignment58"; // Container child alignment58.Gtk.Container+ContainerChild Gtk.Frame w300 = new Gtk.Frame (); w300.ShadowType = ((Gtk.ShadowType) (4)); w300.LabelXalign = 0F; w300.BorderWidth = ((uint) (3)); w300.Name = "frame40"; // Container child frame40.Gtk.Container+ContainerChild Gtk.Alignment w301 = new Gtk.Alignment (0F, 0F, 1F, 1F); w301.LeftPadding = ((uint) (12)); w301.BottomPadding = ((uint) (12)); w301.Name = "GtkAlignment41"; // Container child GtkAlignment41.Gtk.Container+ContainerChild Gtk.VBox w302 = new Gtk.VBox (); w302.Name = "vbox38"; // Container child vbox38.Gtk.Box+BoxChild Gtk.HBox w303 = new Gtk.HBox (); w303.Name = "hbox18"; // Container child hbox18.Gtk.Box+BoxChild Gtk.Alignment w304 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w304.LeftPadding = ((uint) (10)); w304.RightPadding = ((uint) (10)); w304.BottomPadding = ((uint) (5)); w304.Name = "alignment8"; // Container child alignment8.Gtk.Container+ContainerChild Gtk.Frame w305 = new Gtk.Frame (); w305.ShadowType = ((Gtk.ShadowType) (4)); w305.LabelXalign = 0F; w305.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild Gtk.Alignment w306 = new Gtk.Alignment (0F, 0F, 1F, 1F); w306.LeftPadding = ((uint) (10)); w306.RightPadding = ((uint) (10)); w306.BottomPadding = ((uint) (5)); w306.Name = "GtkAlignment29"; // Container child GtkAlignment29.Gtk.Container+ContainerChild Gtk.HBox w307 = new Gtk.HBox (); w307.Name = "hbox19"; // Container child hbox19.Gtk.Box+BoxChild Gtk.Label w308 = new Gtk.Label (); w308.LabelProp = "Carro propio: "; w308.Name = "label31"; this.label31 = w308; w307.Add (w308); Gtk.Box.BoxChild w309 = ((Gtk.Box.BoxChild) (w307 [w308])); w309.Position = 0; w309.Expand = false; w309.Fill = false; // Container child hbox19.Gtk.Box+BoxChild Gtk.RadioButton w310 = new Gtk.RadioButton ("Si"); w310.Group = new GLib.SList (System.IntPtr.Zero); w310.Active = true; w310.DrawIndicator = true; w310.CanFocus = true; w310.Name = "rad_CarroPrSi"; this.rad_CarroPrSi = w310; w307.Add (w310); Gtk.Box.BoxChild w311 = ((Gtk.Box.BoxChild) (w307 [w310])); w311.Position = 1; w311.Expand = false; w311.Padding = ((uint) (3)); // Container child hbox19.Gtk.Box+BoxChild Gtk.RadioButton w312 = new Gtk.RadioButton ("No"); w312.Group = w310.Group; w312.DrawIndicator = true; w312.CanFocus = true; w312.Name = "rad_CarroPrNo"; this.rad_CarroPrNo = w312; w307.Add (w312); Gtk.Box.BoxChild w313 = ((Gtk.Box.BoxChild) (w307 [w312])); w313.Position = 2; w313.Expand = false; w313.Padding = ((uint) (5)); // Container child hbox19.Gtk.Box+BoxChild Gtk.Label w314 = new Gtk.Label (); w314.LabelProp = "*"; w314.Name = "label37"; this.label37 = w314; w307.Add (w314); Gtk.Box.BoxChild w315 = ((Gtk.Box.BoxChild) (w307 [w314])); w315.PackType = ((Gtk.PackType) (1)); w315.Position = 3; w315.Expand = false; w315.Fill = false; this.hbox19 = w307; w306.Add (w307); this.GtkAlignment29 = w306; w305.Add (w306); Gtk.Label w318 = new Gtk.Label (); w318.LabelProp = ""; w318.UseMarkup = true; w318.Events = ((Gdk.EventMask) (256)); w318.Name = "GtkLabel35"; this.GtkLabel35 = w318; w305.LabelWidget = w318; this.frame11 = w305; w304.Add (w305); this.alignment8 = w304; w303.Add (w304); Gtk.Box.BoxChild w320 = ((Gtk.Box.BoxChild) (w303 [w304])); w320.Position = 0; w320.Expand = false; w320.Fill = false; // Container child hbox18.Gtk.Box+BoxChild Gtk.Alignment w321 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w321.LeftPadding = ((uint) (10)); w321.RightPadding = ((uint) (10)); w321.BottomPadding = ((uint) (5)); w321.Name = "alignment56"; // Container child alignment56.Gtk.Container+ContainerChild Gtk.Frame w322 = new Gtk.Frame (); w322.ShadowType = ((Gtk.ShadowType) (4)); w322.LabelXalign = 0F; w322.Name = "frame38"; // Container child frame38.Gtk.Container+ContainerChild Gtk.Alignment w323 = new Gtk.Alignment (0F, 0F, 1F, 1F); w323.LeftPadding = ((uint) (10)); w323.RightPadding = ((uint) (10)); w323.BottomPadding = ((uint) (5)); w323.Name = "GtkAlignment39"; // Container child GtkAlignment39.Gtk.Container+ContainerChild Gtk.HBox w324 = new Gtk.HBox (); w324.Name = "hbox74"; // Container child hbox74.Gtk.Box+BoxChild Gtk.Label w325 = new Gtk.Label (); w325.LabelProp = "Moto propia: "; w325.Name = "label167"; this.label167 = w325; w324.Add (w325); Gtk.Box.BoxChild w326 = ((Gtk.Box.BoxChild) (w324 [w325])); w326.Position = 0; w326.Expand = false; w326.Fill = false; // Container child hbox74.Gtk.Box+BoxChild Gtk.RadioButton w327 = new Gtk.RadioButton ("Si"); w327.Group = new GLib.SList (System.IntPtr.Zero); w327.Active = true; w327.DrawIndicator = true; w327.CanFocus = true; w327.Name = "rad_MotoPrSi"; this.rad_MotoPrSi = w327; w324.Add (w327); Gtk.Box.BoxChild w328 = ((Gtk.Box.BoxChild) (w324 [w327])); w328.Position = 1; w328.Expand = false; w328.Padding = ((uint) (3)); // Container child hbox74.Gtk.Box+BoxChild Gtk.RadioButton w329 = new Gtk.RadioButton ("No"); w329.Group = w327.Group; w329.DrawIndicator = true; w329.CanFocus = true; w329.Name = "rad_MotoPrNo"; this.rad_MotoPrNo = w329; w324.Add (w329); Gtk.Box.BoxChild w330 = ((Gtk.Box.BoxChild) (w324 [w329])); w330.Position = 2; w330.Expand = false; w330.Padding = ((uint) (5)); // Container child hbox74.Gtk.Box+BoxChild Gtk.Label w331 = new Gtk.Label (); w331.LabelProp = "*"; w331.Name = "label40"; this.label40 = w331; w324.Add (w331); Gtk.Box.BoxChild w332 = ((Gtk.Box.BoxChild) (w324 [w331])); w332.PackType = ((Gtk.PackType) (1)); w332.Position = 3; w332.Expand = false; w332.Fill = false; this.hbox74 = w324; w323.Add (w324); this.GtkAlignment39 = w323; w322.Add (w323); Gtk.Label w335 = new Gtk.Label (); w335.LabelProp = ""; w335.UseMarkup = true; w335.Events = ((Gdk.EventMask) (256)); w335.Name = "GtkLabel52"; this.GtkLabel52 = w335; w322.LabelWidget = w335; this.frame38 = w322; w321.Add (w322); this.alignment56 = w321; w303.Add (w321); Gtk.Box.BoxChild w337 = ((Gtk.Box.BoxChild) (w303 [w321])); w337.Position = 1; w337.Expand = false; w337.Fill = false; // Container child hbox18.Gtk.Box+BoxChild Gtk.Alignment w338 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w338.LeftPadding = ((uint) (10)); w338.RightPadding = ((uint) (10)); w338.Name = "alignment9"; // Container child alignment9.Gtk.Container+ContainerChild Gtk.Frame w339 = new Gtk.Frame (); w339.ShadowType = ((Gtk.ShadowType) (4)); w339.LabelXalign = 0F; w339.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild Gtk.Alignment w340 = new Gtk.Alignment (0F, 0F, 1F, 1F); w340.LeftPadding = ((uint) (10)); w340.RightPadding = ((uint) (10)); w340.BottomPadding = ((uint) (5)); w340.Name = "GtkAlignment30"; // Container child GtkAlignment30.Gtk.Container+ContainerChild Gtk.HBox w341 = new Gtk.HBox (); w341.Name = "hbox20"; // Container child hbox20.Gtk.Box+BoxChild Gtk.Label w342 = new Gtk.Label (); w342.LabelProp = "Tiene Pase? "; w342.Name = "label32"; this.label32 = w342; w341.Add (w342); Gtk.Box.BoxChild w343 = ((Gtk.Box.BoxChild) (w341 [w342])); w343.Position = 0; w343.Expand = false; w343.Fill = false; // Container child hbox20.Gtk.Box+BoxChild Gtk.RadioButton w344 = new Gtk.RadioButton ("Si"); w344.Group = new GLib.SList (System.IntPtr.Zero); w344.Active = true; w344.DrawIndicator = true; w344.CanFocus = true; w344.Name = "rad_PaseSi"; this.rad_PaseSi = w344; w341.Add (w344); Gtk.Box.BoxChild w345 = ((Gtk.Box.BoxChild) (w341 [w344])); w345.Position = 1; w345.Expand = false; w345.Padding = ((uint) (5)); // Container child hbox20.Gtk.Box+BoxChild Gtk.RadioButton w346 = new Gtk.RadioButton ("No"); w346.Group = w344.Group; w346.DrawIndicator = true; w346.CanFocus = true; w346.Name = "rad_PaseNo"; this.rad_PaseNo = w346; w341.Add (w346); Gtk.Box.BoxChild w347 = ((Gtk.Box.BoxChild) (w341 [w346])); w347.Position = 2; w347.Expand = false; w347.Padding = ((uint) (5)); // Container child hbox20.Gtk.Box+BoxChild Gtk.Label w348 = new Gtk.Label (); w348.LabelProp = "*"; w348.Name = "label182"; this.label182 = w348; w341.Add (w348); Gtk.Box.BoxChild w349 = ((Gtk.Box.BoxChild) (w341 [w348])); w349.PackType = ((Gtk.PackType) (1)); w349.Position = 3; w349.Expand = false; w349.Fill = false; this.hbox20 = w341; w340.Add (w341); this.GtkAlignment30 = w340; w339.Add (w340); Gtk.Label w352 = new Gtk.Label (); w352.LabelProp = ""; w352.UseMarkup = true; w352.Events = ((Gdk.EventMask) (256)); w352.Name = "GtkLabel18"; this.GtkLabel18 = w352; w339.LabelWidget = w352; this.frame12 = w339; w338.Add (w339); this.alignment9 = w338; w303.Add (w338); Gtk.Box.BoxChild w354 = ((Gtk.Box.BoxChild) (w303 [w338])); w354.Position = 2; w354.Expand = false; w354.Fill = false; this.hbox18 = w303; w302.Add (w303); Gtk.Box.BoxChild w355 = ((Gtk.Box.BoxChild) (w302 [w303])); w355.Position = 0; w355.Expand = false; w355.Fill = false; // Container child vbox38.Gtk.Box+BoxChild Gtk.HBox w356 = new Gtk.HBox (); w356.Name = "hbox59"; // Container child hbox59.Gtk.Box+BoxChild Gtk.Alignment w357 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w357.LeftPadding = ((uint) (10)); w357.RightPadding = ((uint) (10)); w357.BottomPadding = ((uint) (5)); w357.Name = "alignment41"; // Container child alignment41.Gtk.Container+ContainerChild Gtk.Frame w358 = new Gtk.Frame (); w358.ShadowType = ((Gtk.ShadowType) (4)); w358.LabelXalign = 0F; w358.Name = "frame33"; // Container child frame33.Gtk.Container+ContainerChild Gtk.Alignment w359 = new Gtk.Alignment (0F, 0F, 1F, 1F); w359.LeftPadding = ((uint) (10)); w359.RightPadding = ((uint) (10)); w359.BottomPadding = ((uint) (5)); w359.Name = "GtkAlignment31"; // Container child GtkAlignment31.Gtk.Container+ContainerChild Gtk.HBox w360 = new Gtk.HBox (); w360.Name = "hbox60"; // Container child hbox60.Gtk.Box+BoxChild Gtk.Label w361 = new Gtk.Label (); w361.LabelProp = "Categoría Pase carro: "; w361.Name = "label14"; this.label14 = w361; w360.Add (w361); Gtk.Box.BoxChild w362 = ((Gtk.Box.BoxChild) (w360 [w361])); w362.Position = 0; w362.Expand = false; w362.Fill = false; // Container child hbox60.Gtk.Box+BoxChild Gtk.Entry w363 = new Gtk.Entry (); w363.IsEditable = true; w363.WidthChars = 2; w363.MaxLength = 2; w363.InvisibleChar = '●'; w363.Sensitive = false; w363.CanFocus = true; w363.Name = "en_CatpaCarro"; this.en_CatpaCarro = w363; w360.Add (w363); Gtk.Box.BoxChild w364 = ((Gtk.Box.BoxChild) (w360 [w363])); w364.Position = 1; this.hbox60 = w360; w359.Add (w360); this.GtkAlignment31 = w359; w358.Add (w359); Gtk.Label w367 = new Gtk.Label (); w367.LabelProp = ""; w367.UseMarkup = true; w367.Events = ((Gdk.EventMask) (256)); w367.Name = "GtkLabel43"; this.GtkLabel43 = w367; w358.LabelWidget = w367; this.frame33 = w358; w357.Add (w358); this.alignment41 = w357; w356.Add (w357); Gtk.Box.BoxChild w369 = ((Gtk.Box.BoxChild) (w356 [w357])); w369.Position = 0; w369.Expand = false; w369.Fill = false; // Container child hbox59.Gtk.Box+BoxChild Gtk.Alignment w370 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w370.LeftPadding = ((uint) (30)); w370.RightPadding = ((uint) (10)); w370.BottomPadding = ((uint) (5)); w370.Name = "alignment46"; // Container child alignment46.Gtk.Container+ContainerChild Gtk.Frame w371 = new Gtk.Frame (); w371.ShadowType = ((Gtk.ShadowType) (4)); w371.LabelXalign = 0F; w371.Name = "frame35"; // Container child frame35.Gtk.Container+ContainerChild Gtk.Alignment w372 = new Gtk.Alignment (0F, 0F, 1F, 1F); w372.LeftPadding = ((uint) (10)); w372.RightPadding = ((uint) (10)); w372.BottomPadding = ((uint) (5)); w372.Name = "GtkAlignment36"; // Container child GtkAlignment36.Gtk.Container+ContainerChild Gtk.HBox w373 = new Gtk.HBox (); w373.Name = "hbox61"; // Container child hbox61.Gtk.Box+BoxChild Gtk.Label w374 = new Gtk.Label (); w374.LabelProp = "Categoría Pase Moto: "; w374.Name = "label15"; this.label15 = w374; w373.Add (w374); Gtk.Box.BoxChild w375 = ((Gtk.Box.BoxChild) (w373 [w374])); w375.Position = 0; w375.Expand = false; w375.Fill = false; // Container child hbox61.Gtk.Box+BoxChild Gtk.Entry w376 = new Gtk.Entry (); w376.IsEditable = true; w376.WidthChars = 2; w376.MaxLength = 2; w376.InvisibleChar = '●'; w376.Sensitive = false; w376.CanFocus = true; w376.Name = "en_CatpaMoto"; this.en_CatpaMoto = w376; w373.Add (w376); Gtk.Box.BoxChild w377 = ((Gtk.Box.BoxChild) (w373 [w376])); w377.Position = 1; this.hbox61 = w373; w372.Add (w373); this.GtkAlignment36 = w372; w371.Add (w372); Gtk.Label w380 = new Gtk.Label (); w380.LabelProp = ""; w380.UseMarkup = true; w380.Events = ((Gdk.EventMask) (256)); w380.Name = "GtkLabel38"; this.GtkLabel38 = w380; w371.LabelWidget = w380; this.frame35 = w371; w370.Add (w371); this.alignment46 = w370; w356.Add (w370); Gtk.Box.BoxChild w382 = ((Gtk.Box.BoxChild) (w356 [w370])); w382.Position = 1; w382.Expand = false; w382.Fill = false; this.hbox59 = w356; w302.Add (w356); Gtk.Box.BoxChild w383 = ((Gtk.Box.BoxChild) (w302 [w356])); w383.Position = 1; w383.Expand = false; w383.Fill = false; this.vbox38 = w302; w301.Add (w302); this.GtkAlignment41 = w301; w300.Add (w301); Gtk.Label w386 = new Gtk.Label (); w386.LabelProp = ""; w386.UseMarkup = true; w386.Events = ((Gdk.EventMask) (256)); w386.Name = "GtkLabel54"; this.GtkLabel54 = w386; w300.LabelWidget = w386; this.frame40 = w300; w299.Add (w300); this.alignment58 = w299; w298.Add (w299); Gtk.Box.BoxChild w388 = ((Gtk.Box.BoxChild) (w298 [w299])); w388.Position = 0; w388.Expand = false; w388.Fill = false; // Container child vbox37.Gtk.Box+BoxChild Gtk.Alignment w389 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w389.LeftPadding = ((uint) (10)); w389.TopPadding = ((uint) (5)); w389.RightPadding = ((uint) (10)); w389.BottomPadding = ((uint) (5)); w389.Name = "alignment59"; // Container child alignment59.Gtk.Container+ContainerChild Gtk.Frame w390 = new Gtk.Frame (); w390.ShadowType = ((Gtk.ShadowType) (4)); w390.LabelXalign = 0F; w390.Name = "frame41"; // Container child frame41.Gtk.Container+ContainerChild Gtk.Alignment w391 = new Gtk.Alignment (0F, 0F, 1F, 1F); w391.LeftPadding = ((uint) (2)); w391.TopPadding = ((uint) (7)); w391.BottomPadding = ((uint) (10)); w391.Name = "GtkAlignment42"; // Container child GtkAlignment42.Gtk.Container+ContainerChild Gtk.HBox w392 = new Gtk.HBox (); w392.Name = "hbox65"; // Container child hbox65.Gtk.Box+BoxChild Gtk.Label w393 = new Gtk.Label (); w393.LabelProp = "Sueldo Deseado: "; w393.Name = "label114"; this.label114 = w393; w392.Add (w393); Gtk.Box.BoxChild w394 = ((Gtk.Box.BoxChild) (w392 [w393])); w394.Position = 0; w394.Expand = false; w394.Fill = false; w394.Padding = ((uint) (39)); // Container child hbox65.Gtk.Box+BoxChild Gtk.Entry w395 = new Gtk.Entry (); w395.IsEditable = true; w395.WidthChars = 16; w395.MaxLength = 16; w395.InvisibleChar = '●'; w395.CanFocus = true; w395.Name = "ent_Sueldo"; this.ent_Sueldo = w395; w392.Add (w395); Gtk.Box.BoxChild w396 = ((Gtk.Box.BoxChild) (w392 [w395])); w396.Position = 1; w396.Expand = false; this.hbox65 = w392; w391.Add (w392); this.GtkAlignment42 = w391; w390.Add (w391); Gtk.Label w399 = new Gtk.Label (); w399.LabelProp = ""; w399.UseMarkup = true; w399.Events = ((Gdk.EventMask) (256)); w399.Name = "GtkLabel55"; this.GtkLabel55 = w399; w390.LabelWidget = w399; this.frame41 = w390; w389.Add (w390); this.alignment59 = w389; w298.Add (w389); Gtk.Box.BoxChild w401 = ((Gtk.Box.BoxChild) (w298 [w389])); w401.Position = 1; w401.Expand = false; w401.Fill = false; this.vbox37 = w298; w136.Add (w298); Gtk.Notebook.NotebookChild w402 = ((Gtk.Notebook.NotebookChild) (w136 [w298])); w402.Position = 1; w402.TabExpand = false; // Notebook tab Gtk.Label w403 = new Gtk.Label (); w403.LabelProp = "Cont.Datos\nPersonales"; w403.Justify = ((Gtk.Justification) (2)); w403.Name = "la_DaPersCont"; this.la_DaPersCont = w403; w136.SetTabLabel (w298, w403); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w404 = new Gtk.ScrolledWindow (); w404.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w404.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w404.CanFocus = true; w404.Name = "scrolledwindow4"; // Container child scrolledwindow4.Gtk.Container+ContainerChild Gtk.Viewport w405 = new Gtk.Viewport (); w405.ShadowType = ((Gtk.ShadowType) (0)); w405.Name = "GtkViewport3"; // Container child GtkViewport3.Gtk.Container+ContainerChild Gtk.VBox w406 = new Gtk.VBox (); w406.Name = "vbox10"; // Container child vbox10.Gtk.Box+BoxChild Gtk.Alignment w407 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w407.LeftPadding = ((uint) (10)); w407.RightPadding = ((uint) (10)); w407.BorderWidth = ((uint) (3)); w407.Name = "alignment7"; // Container child alignment7.Gtk.Container+ContainerChild Gtk.Frame w408 = new Gtk.Frame (); w408.ShadowType = ((Gtk.ShadowType) (2)); w408.LabelXalign = 0F; w408.Name = "frame7"; // Container child frame7.Gtk.Container+ContainerChild Gtk.Alignment w409 = new Gtk.Alignment (0F, 0F, 1F, 1F); w409.LeftPadding = ((uint) (10)); w409.RightPadding = ((uint) (10)); w409.BottomPadding = ((uint) (5)); w409.Name = "GtkAlignment9"; // Container child GtkAlignment9.Gtk.Container+ContainerChild Gtk.VBox w410 = new Gtk.VBox (); w410.Name = "vbox11"; // Container child vbox11.Gtk.Box+BoxChild Gtk.Alignment w411 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w411.LeftPadding = ((uint) (10)); w411.BottomPadding = ((uint) (5)); w411.Name = "alignment10"; // Container child alignment10.Gtk.Container+ContainerChild Gtk.Frame w412 = new Gtk.Frame (); w412.ShadowType = ((Gtk.ShadowType) (4)); w412.LabelXalign = 0F; w412.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild Gtk.Alignment w413 = new Gtk.Alignment (0F, 0F, 1F, 1F); w413.LeftPadding = ((uint) (10)); w413.BottomPadding = ((uint) (5)); w413.Name = "GtkAlignment10"; // Container child GtkAlignment10.Gtk.Container+ContainerChild Gtk.HBox w414 = new Gtk.HBox (); w414.Name = "hbox21"; // Container child hbox21.Gtk.Box+BoxChild Gtk.Label w415 = new Gtk.Label (); w415.LabelProp = "Area de Interés: "; w415.Name = "label33"; this.label33 = w415; w414.Add (w415); Gtk.Box.BoxChild w416 = ((Gtk.Box.BoxChild) (w414 [w415])); w416.Position = 0; w416.Expand = false; w416.Fill = false; // Container child hbox21.Gtk.Box+BoxChild Gtk.ComboBox w417 = Gtk.ComboBox.NewText (); w417.Active = 0; w417.Name = "co_AreaInt1"; this.co_AreaInt1 = w417; w414.Add (w417); Gtk.Box.BoxChild w418 = ((Gtk.Box.BoxChild) (w414 [w417])); w418.Position = 1; w418.Expand = false; w418.Fill = false; // Container child hbox21.Gtk.Box+BoxChild Gtk.Label w419 = new Gtk.Label (); w419.LabelProp = "*"; w419.Name = "label34"; this.label34 = w419; w414.Add (w419); Gtk.Box.BoxChild w420 = ((Gtk.Box.BoxChild) (w414 [w419])); w420.Position = 2; w420.Expand = false; w420.Fill = false; this.hbox21 = w414; w413.Add (w414); this.GtkAlignment10 = w413; w412.Add (w413); Gtk.Label w423 = new Gtk.Label (); w423.LabelProp = ""; w423.UseMarkup = true; w423.Events = ((Gdk.EventMask) (256)); w423.Name = "GtkLabel36"; this.GtkLabel36 = w423; w412.LabelWidget = w423; this.frame10 = w412; w411.Add (w412); this.alignment10 = w411; w410.Add (w411); Gtk.Box.BoxChild w425 = ((Gtk.Box.BoxChild) (w410 [w411])); w425.Position = 0; w425.Expand = false; w425.Fill = false; // Container child vbox11.Gtk.Box+BoxChild Gtk.Alignment w426 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w426.LeftPadding = ((uint) (10)); w426.RightPadding = ((uint) (10)); w426.BottomPadding = ((uint) (5)); w426.Name = "alignment11"; // Container child alignment11.Gtk.Container+ContainerChild Gtk.Frame w427 = new Gtk.Frame (); w427.ShadowType = ((Gtk.ShadowType) (4)); w427.LabelXalign = 0F; w427.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild Gtk.Alignment w428 = new Gtk.Alignment (0F, 0F, 1F, 1F); w428.LeftPadding = ((uint) (10)); w428.BottomPadding = ((uint) (5)); w428.Name = "GtkAlignment11"; // Container child GtkAlignment11.Gtk.Container+ContainerChild Gtk.HBox w429 = new Gtk.HBox (); w429.Name = "hbox22"; // Container child hbox22.Gtk.Box+BoxChild Gtk.Label w430 = new Gtk.Label (); w430.LabelProp = "Puesto Deseado: "; w430.Name = "label35"; this.label35 = w430; w429.Add (w430); Gtk.Box.BoxChild w431 = ((Gtk.Box.BoxChild) (w429 [w430])); w431.Position = 0; w431.Expand = false; w431.Fill = false; // Container child hbox22.Gtk.Box+BoxChild Gtk.ComboBox w432 = Gtk.ComboBox.NewText (); w432.Active = 0; w432.Name = "co_PstoDes1"; this.co_PstoDes1 = w432; w429.Add (w432); Gtk.Box.BoxChild w433 = ((Gtk.Box.BoxChild) (w429 [w432])); w433.Position = 1; w433.Expand = false; w433.Fill = false; // Container child hbox22.Gtk.Box+BoxChild Gtk.Label w434 = new Gtk.Label (); w434.LabelProp = "*"; w434.Name = "label189"; this.label189 = w434; w429.Add (w434); Gtk.Box.BoxChild w435 = ((Gtk.Box.BoxChild) (w429 [w434])); w435.Position = 2; w435.Expand = false; w435.Fill = false; this.hbox22 = w429; w428.Add (w429); this.GtkAlignment11 = w428; w427.Add (w428); Gtk.Label w438 = new Gtk.Label (); w438.LabelProp = ""; w438.UseMarkup = true; w438.Events = ((Gdk.EventMask) (256)); w438.Name = "GtkLabel51"; this.GtkLabel51 = w438; w427.LabelWidget = w438; this.frame13 = w427; w426.Add (w427); this.alignment11 = w426; w410.Add (w426); Gtk.Box.BoxChild w440 = ((Gtk.Box.BoxChild) (w410 [w426])); w440.Position = 1; w440.Expand = false; w440.Fill = false; this.vbox11 = w410; w409.Add (w410); this.GtkAlignment9 = w409; w408.Add (w409); Gtk.Label w443 = new Gtk.Label (); w443.LabelProp = " <b>Primera Area de Interés:</b>"; w443.UseMarkup = true; w443.Xpad = 8; w443.Events = ((Gdk.EventMask) (256)); w443.Name = "GtkLabel37"; this.GtkLabel37 = w443; w408.LabelWidget = w443; this.frame7 = w408; w407.Add (w408); this.alignment7 = w407; w406.Add (w407); Gtk.Box.BoxChild w445 = ((Gtk.Box.BoxChild) (w406 [w407])); w445.Position = 0; w445.Expand = false; w445.Fill = false; // Container child vbox10.Gtk.Box+BoxChild Gtk.Alignment w446 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w446.LeftPadding = ((uint) (10)); w446.RightPadding = ((uint) (10)); w446.BottomPadding = ((uint) (3)); w446.Name = "alignment12"; // Container child alignment12.Gtk.Container+ContainerChild Gtk.Frame w447 = new Gtk.Frame (); w447.ShadowType = ((Gtk.ShadowType) (4)); w447.LabelXalign = 0F; w447.Name = "frame14"; // Container child frame14.Gtk.Container+ContainerChild Gtk.Alignment w448 = new Gtk.Alignment (0F, 0F, 1F, 1F); w448.LeftPadding = ((uint) (10)); w448.RightPadding = ((uint) (10)); w448.BottomPadding = ((uint) (5)); w448.Name = "GtkAlignment12"; // Container child GtkAlignment12.Gtk.Container+ContainerChild Gtk.VBox w449 = new Gtk.VBox (); w449.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild Gtk.Alignment w450 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w450.LeftPadding = ((uint) (10)); w450.RightPadding = ((uint) (10)); w450.BottomPadding = ((uint) (5)); w450.Name = "alignment13"; // Container child alignment13.Gtk.Container+ContainerChild Gtk.Frame w451 = new Gtk.Frame (); w451.ShadowType = ((Gtk.ShadowType) (4)); w451.LabelXalign = 0F; w451.Name = "frame15"; // Container child frame15.Gtk.Container+ContainerChild Gtk.Alignment w452 = new Gtk.Alignment (0F, 0F, 1F, 1F); w452.LeftPadding = ((uint) (10)); w452.BottomPadding = ((uint) (5)); w452.Name = "GtkAlignment13"; // Container child GtkAlignment13.Gtk.Container+ContainerChild Gtk.HBox w453 = new Gtk.HBox (); w453.Name = "hbox23"; // Container child hbox23.Gtk.Box+BoxChild Gtk.Label w454 = new Gtk.Label (); w454.LabelProp = "Area de Interés: "; w454.Name = "label36"; this.label36 = w454; w453.Add (w454); Gtk.Box.BoxChild w455 = ((Gtk.Box.BoxChild) (w453 [w454])); w455.Position = 0; w455.Expand = false; w455.Fill = false; // Container child hbox23.Gtk.Box+BoxChild Gtk.ComboBox w456 = Gtk.ComboBox.NewText (); w456.Active = 0; w456.Name = "co_AreaInt2"; this.co_AreaInt2 = w456; w453.Add (w456); Gtk.Box.BoxChild w457 = ((Gtk.Box.BoxChild) (w453 [w456])); w457.Position = 1; w457.Expand = false; w457.Fill = false; this.hbox23 = w453; w452.Add (w453); this.GtkAlignment13 = w452; w451.Add (w452); Gtk.Label w460 = new Gtk.Label (); w460.LabelProp = ""; w460.UseMarkup = true; w460.Events = ((Gdk.EventMask) (256)); w460.Name = "GtkLabel19"; this.GtkLabel19 = w460; w451.LabelWidget = w460; this.frame15 = w451; w450.Add (w451); this.alignment13 = w450; w449.Add (w450); Gtk.Box.BoxChild w462 = ((Gtk.Box.BoxChild) (w449 [w450])); w462.Position = 0; w462.Expand = false; w462.Fill = false; // Container child vbox12.Gtk.Box+BoxChild Gtk.Alignment w463 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w463.LeftPadding = ((uint) (10)); w463.RightPadding = ((uint) (10)); w463.BottomPadding = ((uint) (5)); w463.Name = "alignment14"; // Container child alignment14.Gtk.Container+ContainerChild Gtk.Frame w464 = new Gtk.Frame (); w464.ShadowType = ((Gtk.ShadowType) (4)); w464.LabelXalign = 0F; w464.Name = "frame16"; // Container child frame16.Gtk.Container+ContainerChild Gtk.Alignment w465 = new Gtk.Alignment (0F, 0F, 1F, 1F); w465.LeftPadding = ((uint) (10)); w465.BottomPadding = ((uint) (5)); w465.Name = "GtkAlignment14"; // Container child GtkAlignment14.Gtk.Container+ContainerChild Gtk.HBox w466 = new Gtk.HBox (); w466.Name = "hbox24"; // Container child hbox24.Gtk.Box+BoxChild Gtk.Label w467 = new Gtk.Label (); w467.LabelProp = "Puesto Deseado: "; w467.Name = "label38"; this.label38 = w467; w466.Add (w467); Gtk.Box.BoxChild w468 = ((Gtk.Box.BoxChild) (w466 [w467])); w468.Position = 0; w468.Expand = false; w468.Fill = false; // Container child hbox24.Gtk.Box+BoxChild Gtk.ComboBox w469 = Gtk.ComboBox.NewText (); w469.Active = 0; w469.Name = "co_PstoDes2"; this.co_PstoDes2 = w469; w466.Add (w469); Gtk.Box.BoxChild w470 = ((Gtk.Box.BoxChild) (w466 [w469])); w470.Position = 1; w470.Expand = false; w470.Fill = false; this.hbox24 = w466; w465.Add (w466); this.GtkAlignment14 = w465; w464.Add (w465); Gtk.Label w473 = new Gtk.Label (); w473.LabelProp = ""; w473.UseMarkup = true; w473.Events = ((Gdk.EventMask) (256)); w473.Name = "GtkLabel20"; this.GtkLabel20 = w473; w464.LabelWidget = w473; this.frame16 = w464; w463.Add (w464); this.alignment14 = w463; w449.Add (w463); Gtk.Box.BoxChild w475 = ((Gtk.Box.BoxChild) (w449 [w463])); w475.Position = 1; w475.Expand = false; w475.Fill = false; this.vbox12 = w449; w448.Add (w449); this.GtkAlignment12 = w448; w447.Add (w448); Gtk.Label w478 = new Gtk.Label (); w478.LabelProp = " <b>Segunda Area de Interés:</b>"; w478.UseMarkup = true; w478.Xpad = 8; w478.Events = ((Gdk.EventMask) (256)); w478.Name = "GtkLabel21"; this.GtkLabel21 = w478; w447.LabelWidget = w478; this.frame14 = w447; w446.Add (w447); this.alignment12 = w446; w406.Add (w446); Gtk.Box.BoxChild w480 = ((Gtk.Box.BoxChild) (w406 [w446])); w480.Position = 1; w480.Expand = false; w480.Fill = false; // Container child vbox10.Gtk.Box+BoxChild Gtk.Alignment w481 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w481.LeftPadding = ((uint) (10)); w481.RightPadding = ((uint) (10)); w481.BottomPadding = ((uint) (3)); w481.Name = "alignment15"; // Container child alignment15.Gtk.Container+ContainerChild Gtk.Frame w482 = new Gtk.Frame (); w482.ShadowType = ((Gtk.ShadowType) (4)); w482.LabelXalign = 0F; w482.Name = "frame17"; // Container child frame17.Gtk.Container+ContainerChild Gtk.Alignment w483 = new Gtk.Alignment (0F, 0F, 1F, 1F); w483.LeftPadding = ((uint) (10)); w483.RightPadding = ((uint) (10)); w483.BottomPadding = ((uint) (5)); w483.Name = "GtkAlignment15"; // Container child GtkAlignment15.Gtk.Container+ContainerChild Gtk.VBox w484 = new Gtk.VBox (); w484.Name = "vbox13"; // Container child vbox13.Gtk.Box+BoxChild Gtk.Alignment w485 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w485.LeftPadding = ((uint) (10)); w485.RightPadding = ((uint) (10)); w485.BottomPadding = ((uint) (5)); w485.Name = "alignment16"; // Container child alignment16.Gtk.Container+ContainerChild Gtk.Frame w486 = new Gtk.Frame (); w486.ShadowType = ((Gtk.ShadowType) (4)); w486.LabelXalign = 0F; w486.Name = "frame18"; // Container child frame18.Gtk.Container+ContainerChild Gtk.Alignment w487 = new Gtk.Alignment (0F, 0F, 1F, 1F); w487.LeftPadding = ((uint) (10)); w487.BottomPadding = ((uint) (5)); w487.Name = "GtkAlignment16"; // Container child GtkAlignment16.Gtk.Container+ContainerChild Gtk.HBox w488 = new Gtk.HBox (); w488.Name = "hbox25"; // Container child hbox25.Gtk.Box+BoxChild Gtk.Label w489 = new Gtk.Label (); w489.LabelProp = "Area de Interés: "; w489.Name = "label39"; this.label39 = w489; w488.Add (w489); Gtk.Box.BoxChild w490 = ((Gtk.Box.BoxChild) (w488 [w489])); w490.Position = 0; w490.Expand = false; w490.Fill = false; // Container child hbox25.Gtk.Box+BoxChild Gtk.ComboBox w491 = Gtk.ComboBox.NewText (); w491.Active = 0; w491.Name = "co_AreaInt3"; this.co_AreaInt3 = w491; w488.Add (w491); Gtk.Box.BoxChild w492 = ((Gtk.Box.BoxChild) (w488 [w491])); w492.Position = 1; w492.Expand = false; w492.Fill = false; this.hbox25 = w488; w487.Add (w488); this.GtkAlignment16 = w487; w486.Add (w487); Gtk.Label w495 = new Gtk.Label (); w495.LabelProp = ""; w495.UseMarkup = true; w495.Events = ((Gdk.EventMask) (256)); w495.Name = "GtkLabel22"; this.GtkLabel22 = w495; w486.LabelWidget = w495; this.frame18 = w486; w485.Add (w486); this.alignment16 = w485; w484.Add (w485); Gtk.Box.BoxChild w497 = ((Gtk.Box.BoxChild) (w484 [w485])); w497.Position = 0; w497.Expand = false; w497.Fill = false; // Container child vbox13.Gtk.Box+BoxChild Gtk.Alignment w498 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w498.LeftPadding = ((uint) (10)); w498.RightPadding = ((uint) (10)); w498.BottomPadding = ((uint) (5)); w498.Name = "alignment17"; // Container child alignment17.Gtk.Container+ContainerChild Gtk.Frame w499 = new Gtk.Frame (); w499.ShadowType = ((Gtk.ShadowType) (4)); w499.LabelXalign = 0F; w499.Name = "frame19"; // Container child frame19.Gtk.Container+ContainerChild Gtk.Alignment w500 = new Gtk.Alignment (0F, 0F, 1F, 1F); w500.LeftPadding = ((uint) (10)); w500.BottomPadding = ((uint) (5)); w500.Name = "GtkAlignment17"; // Container child GtkAlignment17.Gtk.Container+ContainerChild Gtk.HBox w501 = new Gtk.HBox (); w501.Name = "hbox26"; // Container child hbox26.Gtk.Box+BoxChild Gtk.Label w502 = new Gtk.Label (); w502.LabelProp = "Puesto Deseado: "; w502.Name = "label41"; this.label41 = w502; w501.Add (w502); Gtk.Box.BoxChild w503 = ((Gtk.Box.BoxChild) (w501 [w502])); w503.Position = 0; w503.Expand = false; w503.Fill = false; // Container child hbox26.Gtk.Box+BoxChild Gtk.ComboBox w504 = Gtk.ComboBox.NewText (); w504.Active = 0; w504.Name = "co_PstoDes3"; this.co_PstoDes3 = w504; w501.Add (w504); Gtk.Box.BoxChild w505 = ((Gtk.Box.BoxChild) (w501 [w504])); w505.Position = 1; w505.Expand = false; w505.Fill = false; this.hbox26 = w501; w500.Add (w501); this.GtkAlignment17 = w500; w499.Add (w500); Gtk.Label w508 = new Gtk.Label (); w508.LabelProp = ""; w508.UseMarkup = true; w508.Events = ((Gdk.EventMask) (256)); w508.Name = "GtkLabel23"; this.GtkLabel23 = w508; w499.LabelWidget = w508; this.frame19 = w499; w498.Add (w499); this.alignment17 = w498; w484.Add (w498); Gtk.Box.BoxChild w510 = ((Gtk.Box.BoxChild) (w484 [w498])); w510.Position = 1; w510.Expand = false; w510.Fill = false; this.vbox13 = w484; w483.Add (w484); this.GtkAlignment15 = w483; w482.Add (w483); Gtk.Label w513 = new Gtk.Label (); w513.LabelProp = "<b>Tercera Area de Interés:</b>"; w513.UseMarkup = true; w513.Xpad = 8; w513.Events = ((Gdk.EventMask) (256)); w513.Name = "GtkLabel24"; this.GtkLabel24 = w513; w482.LabelWidget = w513; this.frame17 = w482; w481.Add (w482); this.alignment15 = w481; w406.Add (w481); Gtk.Box.BoxChild w515 = ((Gtk.Box.BoxChild) (w406 [w481])); w515.Position = 2; w515.Expand = false; w515.Fill = false; this.vbox10 = w406; w405.Add (w406); w404.Add (w405); this.scrolledwindow4 = w404; w136.Add (w404); Gtk.Notebook.NotebookChild w518 = ((Gtk.Notebook.NotebookChild) (w136 [w404])); w518.Position = 2; w518.TabExpand = false; // Notebook tab Gtk.Label w519 = new Gtk.Label (); w519.LabelProp = "Area de\nInterés"; w519.Justify = ((Gtk.Justification) (2)); w519.Name = "la_AreaInteres"; this.la_AreaInteres = w519; w136.SetTabLabel (w404, w519); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w520 = new Gtk.ScrolledWindow (); w520.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w520.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w520.CanFocus = true; w520.Name = "scrolledwindow5"; // Container child scrolledwindow5.Gtk.Container+ContainerChild Gtk.Viewport w521 = new Gtk.Viewport (); w521.ShadowType = ((Gtk.ShadowType) (0)); w521.Name = "GtkViewport4"; // Container child GtkViewport4.Gtk.Container+ContainerChild Gtk.VBox w522 = new Gtk.VBox (); w522.Name = "vbox18"; // Container child vbox18.Gtk.Box+BoxChild Gtk.Label w523 = new Gtk.Label (); w523.LabelProp = "Indicar desde el nivel mas alto al mas bajo"; w523.Name = "label63"; this.label63 = w523; w522.Add (w523); Gtk.Box.BoxChild w524 = ((Gtk.Box.BoxChild) (w522 [w523])); w524.Position = 0; w524.Expand = false; w524.Fill = false; // Container child vbox18.Gtk.Box+BoxChild Gtk.Alignment w525 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w525.LeftPadding = ((uint) (10)); w525.RightPadding = ((uint) (10)); w525.BottomPadding = ((uint) (2)); w525.Name = "alignment24"; // Container child alignment24.Gtk.Container+ContainerChild Gtk.Frame w526 = new Gtk.Frame (); w526.ShadowType = ((Gtk.ShadowType) (4)); w526.LabelXalign = 0F; w526.Name = "frame23"; // Container child frame23.Gtk.Container+ContainerChild Gtk.Alignment w527 = new Gtk.Alignment (0F, 0F, 1F, 1F); w527.LeftPadding = ((uint) (10)); w527.RightPadding = ((uint) (10)); w527.BottomPadding = ((uint) (5)); w527.Name = "GtkAlignment21"; // Container child GtkAlignment21.Gtk.Container+ContainerChild Gtk.VBox w528 = new Gtk.VBox (); w528.Name = "vbox19"; // Container child vbox19.Gtk.Box+BoxChild Gtk.VBox w529 = new Gtk.VBox (); w529.Name = "vbox20"; // Container child vbox20.Gtk.Box+BoxChild Gtk.HBox w530 = new Gtk.HBox (); w530.BorderWidth = ((uint) (2)); w530.Name = "hbox39"; // Container child hbox39.Gtk.Box+BoxChild Gtk.Label w531 = new Gtk.Label (); w531.LabelProp = "Nivel de Estudio: "; w531.Name = "label66"; this.label66 = w531; w530.Add (w531); Gtk.Box.BoxChild w532 = ((Gtk.Box.BoxChild) (w530 [w531])); w532.Position = 0; w532.Expand = false; w532.Fill = false; // Container child hbox39.Gtk.Box+BoxChild Gtk.ComboBox w533 = Gtk.ComboBox.NewText (); w533.Active = 0; w533.Name = "co_NivEst"; this.co_NivEst = w533; w530.Add (w533); Gtk.Box.BoxChild w534 = ((Gtk.Box.BoxChild) (w530 [w533])); w534.Position = 1; w534.Expand = false; w534.Fill = false; // Container child hbox39.Gtk.Box+BoxChild Gtk.Alignment w535 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w535.LeftPadding = ((uint) (50)); w535.Name = "alignment26"; // Container child alignment26.Gtk.Container+ContainerChild Gtk.HBox w536 = new Gtk.HBox (); w536.Name = "hbox40"; // Container child hbox40.Gtk.Box+BoxChild Gtk.Label w537 = new Gtk.Label (); w537.LabelProp = "Estudio: "; w537.Name = "label67"; this.label67 = w537; w536.Add (w537); Gtk.Box.BoxChild w538 = ((Gtk.Box.BoxChild) (w536 [w537])); w538.Position = 0; w538.Expand = false; w538.Fill = false; // Container child hbox40.Gtk.Box+BoxChild Gtk.ComboBox w539 = Gtk.ComboBox.NewText (); w539.Active = 0; w539.Name = "co_Titulo"; this.co_Titulo = w539; w536.Add (w539); Gtk.Box.BoxChild w540 = ((Gtk.Box.BoxChild) (w536 [w539])); w540.Position = 1; w540.Expand = false; w540.Fill = false; // Container child hbox40.Gtk.Box+BoxChild Gtk.Label w541 = new Gtk.Label (); w541.LabelProp = " Graduado? "; w541.Name = "label191"; this.label191 = w541; w536.Add (w541); Gtk.Box.BoxChild w542 = ((Gtk.Box.BoxChild) (w536 [w541])); w542.Position = 2; w542.Expand = false; w542.Fill = false; // Container child hbox40.Gtk.Box+BoxChild Gtk.RadioButton w543 = new Gtk.RadioButton ("Si"); w543.Group = new GLib.SList (System.IntPtr.Zero); w543.Active = true; w543.DrawIndicator = true; w543.CanFocus = true; w543.Name = "ra_GradoSi"; this.ra_GradoSi = w543; w536.Add (w543); Gtk.Box.BoxChild w544 = ((Gtk.Box.BoxChild) (w536 [w543])); w544.Position = 3; w544.Expand = false; // Container child hbox40.Gtk.Box+BoxChild Gtk.RadioButton w545 = new Gtk.RadioButton ("No"); w545.Group = w543.Group; w545.DrawIndicator = true; w545.CanFocus = true; w545.Name = "ra_GradoNo"; this.ra_GradoNo = w545; w536.Add (w545); Gtk.Box.BoxChild w546 = ((Gtk.Box.BoxChild) (w536 [w545])); w546.Position = 4; w546.Expand = false; this.hbox40 = w536; w535.Add (w536); this.alignment26 = w535; w530.Add (w535); Gtk.Box.BoxChild w548 = ((Gtk.Box.BoxChild) (w530 [w535])); w548.Position = 2; this.hbox39 = w530; w529.Add (w530); Gtk.Box.BoxChild w549 = ((Gtk.Box.BoxChild) (w529 [w530])); w549.Position = 0; w549.Expand = false; w549.Fill = false; // Container child vbox20.Gtk.Box+BoxChild Gtk.HBox w550 = new Gtk.HBox (); w550.BorderWidth = ((uint) (2)); w550.Name = "hbox41"; // Container child hbox41.Gtk.Box+BoxChild Gtk.Label w551 = new Gtk.Label (); w551.LabelProp = "Años Estudio: "; w551.Name = "label69"; this.label69 = w551; w550.Add (w551); Gtk.Box.BoxChild w552 = ((Gtk.Box.BoxChild) (w550 [w551])); w552.Position = 0; w552.Expand = false; w552.Fill = false; // Container child hbox41.Gtk.Box+BoxChild Gtk.SpinButton w553 = new Gtk.SpinButton (0, 8, 1); w553.Adjustment.PageIncrement = 10; w553.ClimbRate = 1; w553.Numeric = true; w553.CanFocus = true; w553.Name = "sp_AniosEst"; this.sp_AniosEst = w553; w550.Add (w553); Gtk.Box.BoxChild w554 = ((Gtk.Box.BoxChild) (w550 [w553])); w554.Position = 1; w554.Expand = false; w554.Fill = false; // Container child hbox41.Gtk.Box+BoxChild Gtk.Label w555 = new Gtk.Label (); w555.LabelProp = "Institución: "; w555.Name = "label68"; this.label68 = w555; w550.Add (w555); Gtk.Box.BoxChild w556 = ((Gtk.Box.BoxChild) (w550 [w555])); w556.Position = 2; w556.Expand = false; w556.Fill = false; w556.Padding = ((uint) (21)); // Container child hbox41.Gtk.Box+BoxChild Gtk.Entry w557 = new Gtk.Entry (); w557.IsEditable = true; w557.WidthChars = 30; w557.MaxLength = 40; w557.InvisibleChar = '●'; w557.CanFocus = true; w557.Name = "en_Instituto"; this.en_Instituto = w557; w550.Add (w557); Gtk.Box.BoxChild w558 = ((Gtk.Box.BoxChild) (w550 [w557])); w558.Position = 3; w558.Expand = false; this.hbox41 = w550; w529.Add (w550); Gtk.Box.BoxChild w559 = ((Gtk.Box.BoxChild) (w529 [w550])); w559.Position = 1; w559.Expand = false; w559.Fill = false; this.vbox20 = w529; w528.Add (w529); Gtk.Box.BoxChild w560 = ((Gtk.Box.BoxChild) (w528 [w529])); w560.Position = 0; w560.Expand = false; w560.Fill = false; this.vbox19 = w528; w527.Add (w528); this.GtkAlignment21 = w527; w526.Add (w527); Gtk.Label w563 = new Gtk.Label (); w563.LabelProp = "<b>Nivel de Estudios 1</b>"; w563.UseMarkup = true; w563.Xpad = 8; w563.Events = ((Gdk.EventMask) (256)); w563.Name = "GtkLabel28"; this.GtkLabel28 = w563; w526.LabelWidget = w563; this.frame23 = w526; w525.Add (w526); this.alignment24 = w525; w522.Add (w525); Gtk.Box.BoxChild w565 = ((Gtk.Box.BoxChild) (w522 [w525])); w565.Position = 1; w565.Expand = false; w565.Fill = false; // Container child vbox18.Gtk.Box+BoxChild Gtk.Alignment w566 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w566.LeftPadding = ((uint) (10)); w566.RightPadding = ((uint) (10)); w566.BottomPadding = ((uint) (2)); w566.Name = "alignment27"; // Container child alignment27.Gtk.Container+ContainerChild Gtk.Frame w567 = new Gtk.Frame (); w567.ShadowType = ((Gtk.ShadowType) (4)); w567.LabelXalign = 0F; w567.Name = "frame25"; // Container child frame25.Gtk.Container+ContainerChild Gtk.Alignment w568 = new Gtk.Alignment (0F, 0F, 1F, 1F); w568.LeftPadding = ((uint) (10)); w568.RightPadding = ((uint) (10)); w568.BottomPadding = ((uint) (5)); w568.Name = "GtkAlignment23"; // Container child GtkAlignment23.Gtk.Container+ContainerChild Gtk.VBox w569 = new Gtk.VBox (); w569.Name = "vbox21"; // Container child vbox21.Gtk.Box+BoxChild Gtk.VBox w570 = new Gtk.VBox (); w570.Name = "vbox22"; // Container child vbox22.Gtk.Box+BoxChild Gtk.HBox w571 = new Gtk.HBox (); w571.BorderWidth = ((uint) (2)); w571.Name = "hbox42"; // Container child hbox42.Gtk.Box+BoxChild Gtk.Label w572 = new Gtk.Label (); w572.LabelProp = "Nivel de Estudio: "; w572.Name = "label70"; this.label70 = w572; w571.Add (w572); Gtk.Box.BoxChild w573 = ((Gtk.Box.BoxChild) (w571 [w572])); w573.Position = 0; w573.Expand = false; w573.Fill = false; // Container child hbox42.Gtk.Box+BoxChild Gtk.ComboBox w574 = Gtk.ComboBox.NewText (); w574.Active = 0; w574.Name = "co_NivEst1"; this.co_NivEst1 = w574; w571.Add (w574); Gtk.Box.BoxChild w575 = ((Gtk.Box.BoxChild) (w571 [w574])); w575.Position = 1; w575.Expand = false; w575.Fill = false; // Container child hbox42.Gtk.Box+BoxChild Gtk.Alignment w576 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w576.LeftPadding = ((uint) (50)); w576.Name = "alignment28"; // Container child alignment28.Gtk.Container+ContainerChild Gtk.HBox w577 = new Gtk.HBox (); w577.Name = "hbox43"; // Container child hbox43.Gtk.Box+BoxChild Gtk.Label w578 = new Gtk.Label (); w578.LabelProp = "Estudio: "; w578.Name = "label71"; this.label71 = w578; w577.Add (w578); Gtk.Box.BoxChild w579 = ((Gtk.Box.BoxChild) (w577 [w578])); w579.Position = 0; w579.Expand = false; w579.Fill = false; // Container child hbox43.Gtk.Box+BoxChild Gtk.ComboBox w580 = Gtk.ComboBox.NewText (); w580.Active = 0; w580.Name = "co_Titulo1"; this.co_Titulo1 = w580; w577.Add (w580); Gtk.Box.BoxChild w581 = ((Gtk.Box.BoxChild) (w577 [w580])); w581.Position = 1; w581.Expand = false; w581.Fill = false; // Container child hbox43.Gtk.Box+BoxChild Gtk.Label w582 = new Gtk.Label (); w582.LabelProp = " Graduado? "; w582.Name = "label192"; this.label192 = w582; w577.Add (w582); Gtk.Box.BoxChild w583 = ((Gtk.Box.BoxChild) (w577 [w582])); w583.Position = 2; w583.Expand = false; w583.Fill = false; // Container child hbox43.Gtk.Box+BoxChild Gtk.RadioButton w584 = new Gtk.RadioButton ("Si"); w584.Group = new GLib.SList (System.IntPtr.Zero); w584.Active = true; w584.DrawIndicator = true; w584.CanFocus = true; w584.Name = "ra_GradoSi1"; this.ra_GradoSi1 = w584; w577.Add (w584); Gtk.Box.BoxChild w585 = ((Gtk.Box.BoxChild) (w577 [w584])); w585.Position = 3; w585.Expand = false; // Container child hbox43.Gtk.Box+BoxChild Gtk.RadioButton w586 = new Gtk.RadioButton ("No"); w586.Group = w584.Group; w586.DrawIndicator = true; w586.CanFocus = true; w586.Name = "ra_GradoNo1"; this.ra_GradoNo1 = w586; w577.Add (w586); Gtk.Box.BoxChild w587 = ((Gtk.Box.BoxChild) (w577 [w586])); w587.Position = 4; w587.Expand = false; this.hbox43 = w577; w576.Add (w577); this.alignment28 = w576; w571.Add (w576); Gtk.Box.BoxChild w589 = ((Gtk.Box.BoxChild) (w571 [w576])); w589.Position = 2; this.hbox42 = w571; w570.Add (w571); Gtk.Box.BoxChild w590 = ((Gtk.Box.BoxChild) (w570 [w571])); w590.Position = 0; w590.Expand = false; w590.Fill = false; // Container child vbox22.Gtk.Box+BoxChild Gtk.HBox w591 = new Gtk.HBox (); w591.BorderWidth = ((uint) (2)); w591.Name = "hbox44"; // Container child hbox44.Gtk.Box+BoxChild Gtk.Label w592 = new Gtk.Label (); w592.LabelProp = "Años Estudio: "; w592.Name = "label72"; this.label72 = w592; w591.Add (w592); Gtk.Box.BoxChild w593 = ((Gtk.Box.BoxChild) (w591 [w592])); w593.Position = 0; w593.Expand = false; w593.Fill = false; // Container child hbox44.Gtk.Box+BoxChild Gtk.SpinButton w594 = new Gtk.SpinButton (0, 8, 1); w594.Adjustment.PageIncrement = 10; w594.ClimbRate = 1; w594.Numeric = true; w594.CanFocus = true; w594.Name = "sp_AniosEst1"; this.sp_AniosEst1 = w594; w591.Add (w594); Gtk.Box.BoxChild w595 = ((Gtk.Box.BoxChild) (w591 [w594])); w595.Position = 1; w595.Expand = false; w595.Fill = false; // Container child hbox44.Gtk.Box+BoxChild Gtk.Label w596 = new Gtk.Label (); w596.LabelProp = "Institución: "; w596.Name = "label73"; this.label73 = w596; w591.Add (w596); Gtk.Box.BoxChild w597 = ((Gtk.Box.BoxChild) (w591 [w596])); w597.Position = 2; w597.Expand = false; w597.Fill = false; w597.Padding = ((uint) (21)); // Container child hbox44.Gtk.Box+BoxChild Gtk.Entry w598 = new Gtk.Entry (); w598.IsEditable = true; w598.WidthChars = 30; w598.MaxLength = 40; w598.InvisibleChar = '●'; w598.CanFocus = true; w598.Name = "en_Instituto1"; this.en_Instituto1 = w598; w591.Add (w598); Gtk.Box.BoxChild w599 = ((Gtk.Box.BoxChild) (w591 [w598])); w599.Position = 3; w599.Expand = false; this.hbox44 = w591; w570.Add (w591); Gtk.Box.BoxChild w600 = ((Gtk.Box.BoxChild) (w570 [w591])); w600.Position = 1; w600.Expand = false; w600.Fill = false; this.vbox22 = w570; w569.Add (w570); Gtk.Box.BoxChild w601 = ((Gtk.Box.BoxChild) (w569 [w570])); w601.Position = 0; w601.Expand = false; w601.Fill = false; this.vbox21 = w569; w568.Add (w569); this.GtkAlignment23 = w568; w567.Add (w568); Gtk.Label w604 = new Gtk.Label (); w604.LabelProp = "<b>Nivel de Estudios 2</b>"; w604.UseMarkup = true; w604.Xpad = 8; w604.Events = ((Gdk.EventMask) (256)); w604.Name = "GtkLabel30"; this.GtkLabel30 = w604; w567.LabelWidget = w604; this.frame25 = w567; w566.Add (w567); this.alignment27 = w566; w522.Add (w566); Gtk.Box.BoxChild w606 = ((Gtk.Box.BoxChild) (w522 [w566])); w606.Position = 2; w606.Expand = false; w606.Fill = false; // Container child vbox18.Gtk.Box+BoxChild Gtk.Alignment w607 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w607.LeftPadding = ((uint) (10)); w607.RightPadding = ((uint) (10)); w607.BottomPadding = ((uint) (2)); w607.Name = "alignment29"; // Container child alignment29.Gtk.Container+ContainerChild Gtk.Frame w608 = new Gtk.Frame (); w608.ShadowType = ((Gtk.ShadowType) (4)); w608.LabelXalign = 0F; w608.Name = "frame26"; // Container child frame26.Gtk.Container+ContainerChild Gtk.Alignment w609 = new Gtk.Alignment (0F, 0F, 1F, 1F); w609.LeftPadding = ((uint) (10)); w609.RightPadding = ((uint) (10)); w609.BottomPadding = ((uint) (5)); w609.Name = "GtkAlignment24"; // Container child GtkAlignment24.Gtk.Container+ContainerChild Gtk.VBox w610 = new Gtk.VBox (); w610.Name = "vbox23"; // Container child vbox23.Gtk.Box+BoxChild Gtk.VBox w611 = new Gtk.VBox (); w611.Name = "vbox24"; // Container child vbox24.Gtk.Box+BoxChild Gtk.HBox w612 = new Gtk.HBox (); w612.BorderWidth = ((uint) (2)); w612.Name = "hbox45"; // Container child hbox45.Gtk.Box+BoxChild Gtk.Label w613 = new Gtk.Label (); w613.LabelProp = "Nivel de Estudio: "; w613.Name = "label74"; this.label74 = w613; w612.Add (w613); Gtk.Box.BoxChild w614 = ((Gtk.Box.BoxChild) (w612 [w613])); w614.Position = 0; w614.Expand = false; w614.Fill = false; // Container child hbox45.Gtk.Box+BoxChild Gtk.ComboBox w615 = Gtk.ComboBox.NewText (); w615.Active = 0; w615.Name = "co_NivEst2"; this.co_NivEst2 = w615; w612.Add (w615); Gtk.Box.BoxChild w616 = ((Gtk.Box.BoxChild) (w612 [w615])); w616.Position = 1; w616.Expand = false; w616.Fill = false; // Container child hbox45.Gtk.Box+BoxChild Gtk.Alignment w617 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w617.LeftPadding = ((uint) (50)); w617.Name = "alignment30"; // Container child alignment30.Gtk.Container+ContainerChild Gtk.HBox w618 = new Gtk.HBox (); w618.Name = "hbox46"; // Container child hbox46.Gtk.Box+BoxChild Gtk.Label w619 = new Gtk.Label (); w619.LabelProp = "Estudio: "; w619.Name = "label75"; this.label75 = w619; w618.Add (w619); Gtk.Box.BoxChild w620 = ((Gtk.Box.BoxChild) (w618 [w619])); w620.Position = 0; w620.Expand = false; w620.Fill = false; // Container child hbox46.Gtk.Box+BoxChild Gtk.ComboBox w621 = Gtk.ComboBox.NewText (); w621.Active = 0; w621.Name = "co_Titulo2"; this.co_Titulo2 = w621; w618.Add (w621); Gtk.Box.BoxChild w622 = ((Gtk.Box.BoxChild) (w618 [w621])); w622.Position = 1; w622.Expand = false; w622.Fill = false; // Container child hbox46.Gtk.Box+BoxChild Gtk.Label w623 = new Gtk.Label (); w623.LabelProp = " Graduado? "; w623.Name = "label193"; this.label193 = w623; w618.Add (w623); Gtk.Box.BoxChild w624 = ((Gtk.Box.BoxChild) (w618 [w623])); w624.Position = 2; w624.Expand = false; w624.Fill = false; // Container child hbox46.Gtk.Box+BoxChild Gtk.RadioButton w625 = new Gtk.RadioButton ("Si"); w625.Group = new GLib.SList (System.IntPtr.Zero); w625.Active = true; w625.DrawIndicator = true; w625.CanFocus = true; w625.Name = "ra_GradoSi2"; this.ra_GradoSi2 = w625; w618.Add (w625); Gtk.Box.BoxChild w626 = ((Gtk.Box.BoxChild) (w618 [w625])); w626.Position = 3; w626.Expand = false; // Container child hbox46.Gtk.Box+BoxChild Gtk.RadioButton w627 = new Gtk.RadioButton ("No"); w627.Group = w625.Group; w627.DrawIndicator = true; w627.CanFocus = true; w627.Name = "ra_GradoNo2"; this.ra_GradoNo2 = w627; w618.Add (w627); Gtk.Box.BoxChild w628 = ((Gtk.Box.BoxChild) (w618 [w627])); w628.Position = 4; w628.Expand = false; this.hbox46 = w618; w617.Add (w618); this.alignment30 = w617; w612.Add (w617); Gtk.Box.BoxChild w630 = ((Gtk.Box.BoxChild) (w612 [w617])); w630.Position = 2; this.hbox45 = w612; w611.Add (w612); Gtk.Box.BoxChild w631 = ((Gtk.Box.BoxChild) (w611 [w612])); w631.Position = 0; w631.Expand = false; w631.Fill = false; // Container child vbox24.Gtk.Box+BoxChild Gtk.HBox w632 = new Gtk.HBox (); w632.BorderWidth = ((uint) (2)); w632.Name = "hbox47"; // Container child hbox47.Gtk.Box+BoxChild Gtk.Label w633 = new Gtk.Label (); w633.LabelProp = "Años Estudio: "; w633.Name = "label76"; this.label76 = w633; w632.Add (w633); Gtk.Box.BoxChild w634 = ((Gtk.Box.BoxChild) (w632 [w633])); w634.Position = 0; w634.Expand = false; w634.Fill = false; // Container child hbox47.Gtk.Box+BoxChild Gtk.SpinButton w635 = new Gtk.SpinButton (0, 8, 1); w635.Adjustment.PageIncrement = 10; w635.ClimbRate = 1; w635.Numeric = true; w635.CanFocus = true; w635.Name = "sp_AniosEst2"; this.sp_AniosEst2 = w635; w632.Add (w635); Gtk.Box.BoxChild w636 = ((Gtk.Box.BoxChild) (w632 [w635])); w636.Position = 1; w636.Expand = false; w636.Fill = false; // Container child hbox47.Gtk.Box+BoxChild Gtk.Label w637 = new Gtk.Label (); w637.LabelProp = "Institución: "; w637.Name = "label77"; this.label77 = w637; w632.Add (w637); Gtk.Box.BoxChild w638 = ((Gtk.Box.BoxChild) (w632 [w637])); w638.Position = 2; w638.Expand = false; w638.Fill = false; w638.Padding = ((uint) (21)); // Container child hbox47.Gtk.Box+BoxChild Gtk.Entry w639 = new Gtk.Entry (); w639.IsEditable = true; w639.WidthChars = 30; w639.MaxLength = 40; w639.InvisibleChar = '●'; w639.CanFocus = true; w639.Name = "en_Instituto2"; this.en_Instituto2 = w639; w632.Add (w639); Gtk.Box.BoxChild w640 = ((Gtk.Box.BoxChild) (w632 [w639])); w640.Position = 3; w640.Expand = false; this.hbox47 = w632; w611.Add (w632); Gtk.Box.BoxChild w641 = ((Gtk.Box.BoxChild) (w611 [w632])); w641.Position = 1; w641.Expand = false; w641.Fill = false; this.vbox24 = w611; w610.Add (w611); Gtk.Box.BoxChild w642 = ((Gtk.Box.BoxChild) (w610 [w611])); w642.Position = 0; w642.Expand = false; w642.Fill = false; this.vbox23 = w610; w609.Add (w610); this.GtkAlignment24 = w609; w608.Add (w609); Gtk.Label w645 = new Gtk.Label (); w645.LabelProp = "<b>Nivel de Estudios 3</b>"; w645.UseMarkup = true; w645.Xpad = 8; w645.Events = ((Gdk.EventMask) (256)); w645.Name = "GtkLabel56"; this.GtkLabel56 = w645; w608.LabelWidget = w645; this.frame26 = w608; w607.Add (w608); this.alignment29 = w607; w522.Add (w607); Gtk.Box.BoxChild w647 = ((Gtk.Box.BoxChild) (w522 [w607])); w647.Position = 3; w647.Expand = false; w647.Fill = false; // Container child vbox18.Gtk.Box+BoxChild Gtk.Alignment w648 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w648.LeftPadding = ((uint) (10)); w648.RightPadding = ((uint) (10)); w648.BottomPadding = ((uint) (2)); w648.Name = "alignment31"; // Container child alignment31.Gtk.Container+ContainerChild Gtk.Frame w649 = new Gtk.Frame (); w649.ShadowType = ((Gtk.ShadowType) (4)); w649.LabelXalign = 0F; w649.Name = "frame27"; // Container child frame27.Gtk.Container+ContainerChild Gtk.Alignment w650 = new Gtk.Alignment (0F, 0F, 1F, 1F); w650.LeftPadding = ((uint) (10)); w650.RightPadding = ((uint) (10)); w650.BottomPadding = ((uint) (5)); w650.Name = "GtkAlignment25"; // Container child GtkAlignment25.Gtk.Container+ContainerChild Gtk.VBox w651 = new Gtk.VBox (); w651.Name = "vbox25"; // Container child vbox25.Gtk.Box+BoxChild Gtk.VBox w652 = new Gtk.VBox (); w652.Name = "vbox26"; // Container child vbox26.Gtk.Box+BoxChild Gtk.HBox w653 = new Gtk.HBox (); w653.BorderWidth = ((uint) (2)); w653.Name = "hbox48"; // Container child hbox48.Gtk.Box+BoxChild Gtk.Label w654 = new Gtk.Label (); w654.LabelProp = "Nivel de Estudio: "; w654.Name = "label78"; this.label78 = w654; w653.Add (w654); Gtk.Box.BoxChild w655 = ((Gtk.Box.BoxChild) (w653 [w654])); w655.Position = 0; w655.Expand = false; w655.Fill = false; // Container child hbox48.Gtk.Box+BoxChild Gtk.ComboBox w656 = Gtk.ComboBox.NewText (); w656.Active = 0; w656.Name = "co_NivEst3"; this.co_NivEst3 = w656; w653.Add (w656); Gtk.Box.BoxChild w657 = ((Gtk.Box.BoxChild) (w653 [w656])); w657.Position = 1; w657.Expand = false; w657.Fill = false; // Container child hbox48.Gtk.Box+BoxChild Gtk.Alignment w658 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w658.LeftPadding = ((uint) (50)); w658.Name = "alignment32"; // Container child alignment32.Gtk.Container+ContainerChild Gtk.HBox w659 = new Gtk.HBox (); w659.Name = "hbox49"; // Container child hbox49.Gtk.Box+BoxChild Gtk.Label w660 = new Gtk.Label (); w660.LabelProp = "Estudio: "; w660.Name = "label79"; this.label79 = w660; w659.Add (w660); Gtk.Box.BoxChild w661 = ((Gtk.Box.BoxChild) (w659 [w660])); w661.Position = 0; w661.Expand = false; w661.Fill = false; // Container child hbox49.Gtk.Box+BoxChild Gtk.ComboBox w662 = Gtk.ComboBox.NewText (); w662.Active = 0; w662.Name = "co_Titulo3"; this.co_Titulo3 = w662; w659.Add (w662); Gtk.Box.BoxChild w663 = ((Gtk.Box.BoxChild) (w659 [w662])); w663.Position = 1; w663.Expand = false; w663.Fill = false; // Container child hbox49.Gtk.Box+BoxChild Gtk.Label w664 = new Gtk.Label (); w664.LabelProp = " Graduado? "; w664.Name = "label194"; this.label194 = w664; w659.Add (w664); Gtk.Box.BoxChild w665 = ((Gtk.Box.BoxChild) (w659 [w664])); w665.Position = 2; w665.Expand = false; w665.Fill = false; // Container child hbox49.Gtk.Box+BoxChild Gtk.RadioButton w666 = new Gtk.RadioButton ("Si"); w666.Group = new GLib.SList (System.IntPtr.Zero); w666.Active = true; w666.DrawIndicator = true; w666.CanFocus = true; w666.Name = "ra_GradoSi3"; this.ra_GradoSi3 = w666; w659.Add (w666); Gtk.Box.BoxChild w667 = ((Gtk.Box.BoxChild) (w659 [w666])); w667.Position = 3; w667.Expand = false; // Container child hbox49.Gtk.Box+BoxChild Gtk.RadioButton w668 = new Gtk.RadioButton ("No"); w668.Group = w666.Group; w668.DrawIndicator = true; w668.CanFocus = true; w668.Name = "ra_GradoNo3"; this.ra_GradoNo3 = w668; w659.Add (w668); Gtk.Box.BoxChild w669 = ((Gtk.Box.BoxChild) (w659 [w668])); w669.Position = 4; w669.Expand = false; this.hbox49 = w659; w658.Add (w659); this.alignment32 = w658; w653.Add (w658); Gtk.Box.BoxChild w671 = ((Gtk.Box.BoxChild) (w653 [w658])); w671.Position = 2; this.hbox48 = w653; w652.Add (w653); Gtk.Box.BoxChild w672 = ((Gtk.Box.BoxChild) (w652 [w653])); w672.Position = 0; w672.Expand = false; w672.Fill = false; // Container child vbox26.Gtk.Box+BoxChild Gtk.HBox w673 = new Gtk.HBox (); w673.BorderWidth = ((uint) (2)); w673.Name = "hbox50"; // Container child hbox50.Gtk.Box+BoxChild Gtk.Label w674 = new Gtk.Label (); w674.LabelProp = "Años Estudio: "; w674.Name = "label80"; this.label80 = w674; w673.Add (w674); Gtk.Box.BoxChild w675 = ((Gtk.Box.BoxChild) (w673 [w674])); w675.Position = 0; w675.Expand = false; w675.Fill = false; // Container child hbox50.Gtk.Box+BoxChild Gtk.SpinButton w676 = new Gtk.SpinButton (0, 8, 1); w676.Adjustment.PageIncrement = 10; w676.ClimbRate = 1; w676.Numeric = true; w676.CanFocus = true; w676.Name = "sp_AniosEst3"; this.sp_AniosEst3 = w676; w673.Add (w676); Gtk.Box.BoxChild w677 = ((Gtk.Box.BoxChild) (w673 [w676])); w677.Position = 1; w677.Expand = false; w677.Fill = false; // Container child hbox50.Gtk.Box+BoxChild Gtk.Label w678 = new Gtk.Label (); w678.LabelProp = "Institución: "; w678.Name = "label81"; this.label81 = w678; w673.Add (w678); Gtk.Box.BoxChild w679 = ((Gtk.Box.BoxChild) (w673 [w678])); w679.Position = 2; w679.Expand = false; w679.Fill = false; w679.Padding = ((uint) (21)); // Container child hbox50.Gtk.Box+BoxChild Gtk.Entry w680 = new Gtk.Entry (); w680.IsEditable = true; w680.WidthChars = 30; w680.MaxLength = 40; w680.InvisibleChar = '●'; w680.CanFocus = true; w680.Name = "en_Instituto3"; this.en_Instituto3 = w680; w673.Add (w680); Gtk.Box.BoxChild w681 = ((Gtk.Box.BoxChild) (w673 [w680])); w681.Position = 3; w681.Expand = false; this.hbox50 = w673; w652.Add (w673); Gtk.Box.BoxChild w682 = ((Gtk.Box.BoxChild) (w652 [w673])); w682.Position = 1; w682.Expand = false; w682.Fill = false; this.vbox26 = w652; w651.Add (w652); Gtk.Box.BoxChild w683 = ((Gtk.Box.BoxChild) (w651 [w652])); w683.Position = 0; w683.Expand = false; w683.Fill = false; this.vbox25 = w651; w650.Add (w651); this.GtkAlignment25 = w650; w649.Add (w650); Gtk.Label w686 = new Gtk.Label (); w686.LabelProp = "<b>Nivel de Estudios 4</b>"; w686.UseMarkup = true; w686.Xpad = 8; w686.Events = ((Gdk.EventMask) (256)); w686.Name = "GtkLabel57"; this.GtkLabel57 = w686; w649.LabelWidget = w686; this.frame27 = w649; w648.Add (w649); this.alignment31 = w648; w522.Add (w648); Gtk.Box.BoxChild w688 = ((Gtk.Box.BoxChild) (w522 [w648])); w688.Position = 4; w688.Expand = false; w688.Fill = false; this.vbox18 = w522; w521.Add (w522); w520.Add (w521); this.scrolledwindow5 = w520; w136.Add (w520); Gtk.Notebook.NotebookChild w691 = ((Gtk.Notebook.NotebookChild) (w136 [w520])); w691.Position = 3; w691.TabExpand = false; // Notebook tab Gtk.Label w692 = new Gtk.Label (); w692.LabelProp = "Nivel de\nEstudios"; w692.Justify = ((Gtk.Justification) (2)); w692.Name = "la_NivEstudios"; this.la_NivEstudios = w692; w136.SetTabLabel (w520, w692); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w693 = new Gtk.ScrolledWindow (); w693.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w693.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w693.CanFocus = true; w693.Name = "scrolledwindow7"; // Container child scrolledwindow7.Gtk.Container+ContainerChild Gtk.Viewport w694 = new Gtk.Viewport (); w694.ShadowType = ((Gtk.ShadowType) (0)); w694.Name = "GtkViewport6"; // Container child GtkViewport6.Gtk.Container+ContainerChild Gtk.VBox w695 = new Gtk.VBox (); w695.Name = "vbox27"; // Container child vbox27.Gtk.Box+BoxChild Gtk.Alignment w696 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w696.LeftPadding = ((uint) (10)); w696.RightPadding = ((uint) (10)); w696.BottomPadding = ((uint) (5)); w696.Name = "alignment33"; // Container child alignment33.Gtk.Container+ContainerChild Gtk.Frame w697 = new Gtk.Frame (); w697.ShadowType = ((Gtk.ShadowType) (4)); w697.LabelXalign = 0F; w697.Name = "frame28"; // Container child frame28.Gtk.Container+ContainerChild Gtk.Alignment w698 = new Gtk.Alignment (0F, 0F, 1F, 1F); w698.LeftPadding = ((uint) (12)); w698.Name = "GtkAlignment26"; // Container child GtkAlignment26.Gtk.Container+ContainerChild Gtk.VBox w699 = new Gtk.VBox (); w699.Name = "vbox28"; // Container child vbox28.Gtk.Box+BoxChild Gtk.HBox w700 = new Gtk.HBox (); w700.BorderWidth = ((uint) (2)); w700.Name = "hbox51"; // Container child hbox51.Gtk.Box+BoxChild Gtk.Label w701 = new Gtk.Label (); w701.LabelProp = "Area: "; w701.Name = "label83"; this.label83 = w701; w700.Add (w701); Gtk.Box.BoxChild w702 = ((Gtk.Box.BoxChild) (w700 [w701])); w702.Position = 0; w702.Expand = false; w702.Fill = false; // Container child hbox51.Gtk.Box+BoxChild Gtk.ComboBox w703 = Gtk.ComboBox.NewText (); w703.Active = 0; w703.Name = "co_AreaConoc1"; this.co_AreaConoc1 = w703; w700.Add (w703); Gtk.Box.BoxChild w704 = ((Gtk.Box.BoxChild) (w700 [w703])); w704.Position = 1; w704.Expand = false; w704.Fill = false; // Container child hbox51.Gtk.Box+BoxChild Gtk.Label w705 = new Gtk.Label (); w705.LabelProp = "Conocimiento de: "; w705.Name = "label84"; this.label84 = w705; w700.Add (w705); Gtk.Box.BoxChild w706 = ((Gtk.Box.BoxChild) (w700 [w705])); w706.Position = 2; w706.Expand = false; w706.Fill = false; // Container child hbox51.Gtk.Box+BoxChild Gtk.ComboBox w707 = Gtk.ComboBox.NewText (); w707.Active = 0; w707.Name = "co_NivConoc1"; this.co_NivConoc1 = w707; w700.Add (w707); Gtk.Box.BoxChild w708 = ((Gtk.Box.BoxChild) (w700 [w707])); w708.Position = 3; w708.Expand = false; w708.Fill = false; this.hbox51 = w700; w699.Add (w700); Gtk.Box.BoxChild w709 = ((Gtk.Box.BoxChild) (w699 [w700])); w709.Position = 0; w709.Expand = false; w709.Fill = false; // Container child vbox28.Gtk.Box+BoxChild Gtk.HBox w710 = new Gtk.HBox (); w710.BorderWidth = ((uint) (2)); w710.Name = "hbox52"; // Container child hbox52.Gtk.Box+BoxChild Gtk.Label w711 = new Gtk.Label (); w711.LabelProp = "Area: "; w711.Name = "label85"; this.label85 = w711; w710.Add (w711); Gtk.Box.BoxChild w712 = ((Gtk.Box.BoxChild) (w710 [w711])); w712.Position = 0; w712.Expand = false; w712.Fill = false; // Container child hbox52.Gtk.Box+BoxChild Gtk.ComboBox w713 = Gtk.ComboBox.NewText (); w713.Active = 0; w713.Name = "co_AreaConoc2"; this.co_AreaConoc2 = w713; w710.Add (w713); Gtk.Box.BoxChild w714 = ((Gtk.Box.BoxChild) (w710 [w713])); w714.Position = 1; w714.Expand = false; w714.Fill = false; // Container child hbox52.Gtk.Box+BoxChild Gtk.Label w715 = new Gtk.Label (); w715.LabelProp = "Conocimiento de: "; w715.Name = "label86"; this.label86 = w715; w710.Add (w715); Gtk.Box.BoxChild w716 = ((Gtk.Box.BoxChild) (w710 [w715])); w716.Position = 2; w716.Expand = false; w716.Fill = false; // Container child hbox52.Gtk.Box+BoxChild Gtk.ComboBox w717 = Gtk.ComboBox.NewText (); w717.Active = 0; w717.Name = "co_NivConoc2"; this.co_NivConoc2 = w717; w710.Add (w717); Gtk.Box.BoxChild w718 = ((Gtk.Box.BoxChild) (w710 [w717])); w718.Position = 3; w718.Expand = false; w718.Fill = false; this.hbox52 = w710; w699.Add (w710); Gtk.Box.BoxChild w719 = ((Gtk.Box.BoxChild) (w699 [w710])); w719.Position = 1; w719.Expand = false; w719.Fill = false; // Container child vbox28.Gtk.Box+BoxChild Gtk.HBox w720 = new Gtk.HBox (); w720.BorderWidth = ((uint) (2)); w720.Name = "hbox76"; // Container child hbox76.Gtk.Box+BoxChild Gtk.Label w721 = new Gtk.Label (); w721.LabelProp = "Area: "; w721.Name = "label170"; this.label170 = w721; w720.Add (w721); Gtk.Box.BoxChild w722 = ((Gtk.Box.BoxChild) (w720 [w721])); w722.Position = 0; w722.Expand = false; w722.Fill = false; // Container child hbox76.Gtk.Box+BoxChild Gtk.ComboBox w723 = Gtk.ComboBox.NewText (); w723.Active = 0; w723.Name = "co_AreaConoc3"; this.co_AreaConoc3 = w723; w720.Add (w723); Gtk.Box.BoxChild w724 = ((Gtk.Box.BoxChild) (w720 [w723])); w724.Position = 1; w724.Expand = false; w724.Fill = false; // Container child hbox76.Gtk.Box+BoxChild Gtk.Label w725 = new Gtk.Label (); w725.LabelProp = "Conocimiento de: "; w725.Name = "label171"; this.label171 = w725; w720.Add (w725); Gtk.Box.BoxChild w726 = ((Gtk.Box.BoxChild) (w720 [w725])); w726.Position = 2; w726.Expand = false; w726.Fill = false; // Container child hbox76.Gtk.Box+BoxChild Gtk.ComboBox w727 = Gtk.ComboBox.NewText (); w727.Active = 0; w727.Name = "co_NivConoc3"; this.co_NivConoc3 = w727; w720.Add (w727); Gtk.Box.BoxChild w728 = ((Gtk.Box.BoxChild) (w720 [w727])); w728.Position = 3; w728.Expand = false; w728.Fill = false; this.hbox76 = w720; w699.Add (w720); Gtk.Box.BoxChild w729 = ((Gtk.Box.BoxChild) (w699 [w720])); w729.Position = 2; w729.Expand = false; w729.Fill = false; // Container child vbox28.Gtk.Box+BoxChild Gtk.HBox w730 = new Gtk.HBox (); w730.BorderWidth = ((uint) (2)); w730.Name = "hbox75"; // Container child hbox75.Gtk.Box+BoxChild Gtk.Label w731 = new Gtk.Label (); w731.LabelProp = "Area: "; w731.Name = "label168"; this.label168 = w731; w730.Add (w731); Gtk.Box.BoxChild w732 = ((Gtk.Box.BoxChild) (w730 [w731])); w732.Position = 0; w732.Expand = false; w732.Fill = false; // Container child hbox75.Gtk.Box+BoxChild Gtk.ComboBox w733 = Gtk.ComboBox.NewText (); w733.Active = 0; w733.Name = "co_AreaConoc4"; this.co_AreaConoc4 = w733; w730.Add (w733); Gtk.Box.BoxChild w734 = ((Gtk.Box.BoxChild) (w730 [w733])); w734.Position = 1; w734.Expand = false; w734.Fill = false; // Container child hbox75.Gtk.Box+BoxChild Gtk.Label w735 = new Gtk.Label (); w735.LabelProp = "Conocimiento de: "; w735.Name = "label169"; this.label169 = w735; w730.Add (w735); Gtk.Box.BoxChild w736 = ((Gtk.Box.BoxChild) (w730 [w735])); w736.Position = 2; w736.Expand = false; w736.Fill = false; // Container child hbox75.Gtk.Box+BoxChild Gtk.ComboBox w737 = Gtk.ComboBox.NewText (); w737.Active = 0; w737.Name = "co_NivConoc4"; this.co_NivConoc4 = w737; w730.Add (w737); Gtk.Box.BoxChild w738 = ((Gtk.Box.BoxChild) (w730 [w737])); w738.Position = 3; w738.Expand = false; w738.Fill = false; this.hbox75 = w730; w699.Add (w730); Gtk.Box.BoxChild w739 = ((Gtk.Box.BoxChild) (w699 [w730])); w739.Position = 3; w739.Expand = false; w739.Fill = false; this.vbox28 = w699; w698.Add (w699); this.GtkAlignment26 = w698; w697.Add (w698); Gtk.Label w742 = new Gtk.Label (); w742.LabelProp = "<b>Conocimientos de:</b>"; w742.UseMarkup = true; w742.Xpad = 8; w742.Events = ((Gdk.EventMask) (256)); w742.Name = "GtkLabel58"; this.GtkLabel58 = w742; w697.LabelWidget = w742; this.frame28 = w697; w696.Add (w697); this.alignment33 = w696; w695.Add (w696); Gtk.Box.BoxChild w744 = ((Gtk.Box.BoxChild) (w695 [w696])); w744.Position = 0; w744.Expand = false; w744.Fill = false; // Container child vbox27.Gtk.Box+BoxChild Gtk.Alignment w745 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w745.LeftPadding = ((uint) (10)); w745.RightPadding = ((uint) (10)); w745.BottomPadding = ((uint) (5)); w745.Name = "alignment34"; // Container child alignment34.Gtk.Container+ContainerChild Gtk.Frame w746 = new Gtk.Frame (); w746.ShadowType = ((Gtk.ShadowType) (4)); w746.LabelXalign = 0F; w746.Name = "frame29"; // Container child frame29.Gtk.Container+ContainerChild Gtk.Alignment w747 = new Gtk.Alignment (0F, 0F, 1F, 1F); w747.LeftPadding = ((uint) (12)); w747.Name = "GtkAlignment27"; // Container child GtkAlignment27.Gtk.Container+ContainerChild Gtk.VBox w748 = new Gtk.VBox (); w748.Name = "vbox29"; // Container child vbox29.Gtk.Box+BoxChild Gtk.HBox w749 = new Gtk.HBox (); w749.BorderWidth = ((uint) (5)); w749.Name = "hbox53"; // Container child hbox53.Gtk.Box+BoxChild Gtk.Label w750 = new Gtk.Label (); w750.LabelProp = "Idioma: "; w750.Name = "label87"; this.label87 = w750; w749.Add (w750); Gtk.Box.BoxChild w751 = ((Gtk.Box.BoxChild) (w749 [w750])); w751.Position = 0; w751.Expand = false; w751.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.ComboBox w752 = Gtk.ComboBox.NewText (); w752.Active = 0; w752.Name = "com_Idioma1"; this.com_Idioma1 = w752; w749.Add (w752); Gtk.Box.BoxChild w753 = ((Gtk.Box.BoxChild) (w749 [w752])); w753.Position = 1; w753.Expand = false; w753.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.Alignment w754 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w754.LeftPadding = ((uint) (5)); w754.Name = "alignment35"; // Container child alignment35.Gtk.Container+ContainerChild Gtk.Label w755 = new Gtk.Label (); w755.LabelProp = "Habla: "; w755.Name = "label88"; this.label88 = w755; w754.Add (w755); this.alignment35 = w754; w749.Add (w754); Gtk.Box.BoxChild w757 = ((Gtk.Box.BoxChild) (w749 [w754])); w757.Position = 2; w757.Expand = false; w757.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.ComboBox w758 = Gtk.ComboBox.NewText (); w758.Active = 0; w758.Name = "com_Habla1"; this.com_Habla1 = w758; w749.Add (w758); Gtk.Box.BoxChild w759 = ((Gtk.Box.BoxChild) (w749 [w758])); w759.Position = 3; w759.Expand = false; w759.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.Label w760 = new Gtk.Label (); w760.LabelProp = "Lee: "; w760.Xpad = 7; w760.Name = "label89"; this.label89 = w760; w749.Add (w760); Gtk.Box.BoxChild w761 = ((Gtk.Box.BoxChild) (w749 [w760])); w761.Position = 4; w761.Expand = false; w761.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.ComboBox w762 = Gtk.ComboBox.NewText (); w762.Active = 0; w762.Name = "com_Lee1"; this.com_Lee1 = w762; w749.Add (w762); Gtk.Box.BoxChild w763 = ((Gtk.Box.BoxChild) (w749 [w762])); w763.Position = 5; w763.Expand = false; w763.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.Label w764 = new Gtk.Label (); w764.LabelProp = "Escribe: "; w764.Xpad = 7; w764.Name = "label90"; this.label90 = w764; w749.Add (w764); Gtk.Box.BoxChild w765 = ((Gtk.Box.BoxChild) (w749 [w764])); w765.Position = 6; w765.Expand = false; w765.Fill = false; // Container child hbox53.Gtk.Box+BoxChild Gtk.ComboBox w766 = Gtk.ComboBox.NewText (); w766.Active = 0; w766.Name = "com_Escribe1"; this.com_Escribe1 = w766; w749.Add (w766); Gtk.Box.BoxChild w767 = ((Gtk.Box.BoxChild) (w749 [w766])); w767.Position = 7; w767.Expand = false; w767.Fill = false; this.hbox53 = w749; w748.Add (w749); Gtk.Box.BoxChild w768 = ((Gtk.Box.BoxChild) (w748 [w749])); w768.Position = 0; w768.Expand = false; w768.Fill = false; // Container child vbox29.Gtk.Box+BoxChild Gtk.HBox w769 = new Gtk.HBox (); w769.BorderWidth = ((uint) (5)); w769.Name = "hbox54"; // Container child hbox54.Gtk.Box+BoxChild Gtk.Label w770 = new Gtk.Label (); w770.LabelProp = "Idioma: "; w770.Name = "label91"; this.label91 = w770; w769.Add (w770); Gtk.Box.BoxChild w771 = ((Gtk.Box.BoxChild) (w769 [w770])); w771.Position = 0; w771.Expand = false; w771.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.ComboBox w772 = Gtk.ComboBox.NewText (); w772.Active = 0; w772.Name = "com_Idioma2"; this.com_Idioma2 = w772; w769.Add (w772); Gtk.Box.BoxChild w773 = ((Gtk.Box.BoxChild) (w769 [w772])); w773.Position = 1; w773.Expand = false; w773.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.Alignment w774 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w774.LeftPadding = ((uint) (5)); w774.Name = "alignment36"; // Container child alignment36.Gtk.Container+ContainerChild Gtk.Label w775 = new Gtk.Label (); w775.LabelProp = "Habla: "; w775.Name = "label92"; this.label92 = w775; w774.Add (w775); this.alignment36 = w774; w769.Add (w774); Gtk.Box.BoxChild w777 = ((Gtk.Box.BoxChild) (w769 [w774])); w777.Position = 2; w777.Expand = false; w777.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.ComboBox w778 = Gtk.ComboBox.NewText (); w778.Active = 0; w778.Name = "com_Habla2"; this.com_Habla2 = w778; w769.Add (w778); Gtk.Box.BoxChild w779 = ((Gtk.Box.BoxChild) (w769 [w778])); w779.Position = 3; w779.Expand = false; w779.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.Label w780 = new Gtk.Label (); w780.LabelProp = "Lee: "; w780.Xpad = 7; w780.Name = "label93"; this.label93 = w780; w769.Add (w780); Gtk.Box.BoxChild w781 = ((Gtk.Box.BoxChild) (w769 [w780])); w781.Position = 4; w781.Expand = false; w781.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.ComboBox w782 = Gtk.ComboBox.NewText (); w782.Active = 0; w782.Name = "com_Lee2"; this.com_Lee2 = w782; w769.Add (w782); Gtk.Box.BoxChild w783 = ((Gtk.Box.BoxChild) (w769 [w782])); w783.Position = 5; w783.Expand = false; w783.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.Label w784 = new Gtk.Label (); w784.LabelProp = "Escribe: "; w784.Xpad = 7; w784.Name = "label94"; this.label94 = w784; w769.Add (w784); Gtk.Box.BoxChild w785 = ((Gtk.Box.BoxChild) (w769 [w784])); w785.Position = 6; w785.Expand = false; w785.Fill = false; // Container child hbox54.Gtk.Box+BoxChild Gtk.ComboBox w786 = Gtk.ComboBox.NewText (); w786.Active = 0; w786.Name = "com_Escribe2"; this.com_Escribe2 = w786; w769.Add (w786); Gtk.Box.BoxChild w787 = ((Gtk.Box.BoxChild) (w769 [w786])); w787.Position = 7; w787.Expand = false; w787.Fill = false; this.hbox54 = w769; w748.Add (w769); Gtk.Box.BoxChild w788 = ((Gtk.Box.BoxChild) (w748 [w769])); w788.Position = 1; w788.Expand = false; w788.Fill = false; // Container child vbox29.Gtk.Box+BoxChild Gtk.HBox w789 = new Gtk.HBox (); w789.BorderWidth = ((uint) (5)); w789.Name = "hbox55"; // Container child hbox55.Gtk.Box+BoxChild Gtk.Label w790 = new Gtk.Label (); w790.LabelProp = "Idioma: "; w790.Name = "label95"; this.label95 = w790; w789.Add (w790); Gtk.Box.BoxChild w791 = ((Gtk.Box.BoxChild) (w789 [w790])); w791.Position = 0; w791.Expand = false; w791.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.ComboBox w792 = Gtk.ComboBox.NewText (); w792.Active = 0; w792.Name = "com_Idioma3"; this.com_Idioma3 = w792; w789.Add (w792); Gtk.Box.BoxChild w793 = ((Gtk.Box.BoxChild) (w789 [w792])); w793.Position = 1; w793.Expand = false; w793.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.Alignment w794 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w794.LeftPadding = ((uint) (5)); w794.Name = "alignment37"; // Container child alignment37.Gtk.Container+ContainerChild Gtk.Label w795 = new Gtk.Label (); w795.LabelProp = "Habla: "; w795.Name = "label96"; this.label96 = w795; w794.Add (w795); this.alignment37 = w794; w789.Add (w794); Gtk.Box.BoxChild w797 = ((Gtk.Box.BoxChild) (w789 [w794])); w797.Position = 2; w797.Expand = false; w797.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.ComboBox w798 = Gtk.ComboBox.NewText (); w798.Active = 0; w798.Name = "com_Habla3"; this.com_Habla3 = w798; w789.Add (w798); Gtk.Box.BoxChild w799 = ((Gtk.Box.BoxChild) (w789 [w798])); w799.Position = 3; w799.Expand = false; w799.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.Label w800 = new Gtk.Label (); w800.LabelProp = "Lee: "; w800.Xpad = 7; w800.Name = "label97"; this.label97 = w800; w789.Add (w800); Gtk.Box.BoxChild w801 = ((Gtk.Box.BoxChild) (w789 [w800])); w801.Position = 4; w801.Expand = false; w801.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.ComboBox w802 = Gtk.ComboBox.NewText (); w802.Active = 0; w802.Name = "com_Lee3"; this.com_Lee3 = w802; w789.Add (w802); Gtk.Box.BoxChild w803 = ((Gtk.Box.BoxChild) (w789 [w802])); w803.Position = 5; w803.Expand = false; w803.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.Label w804 = new Gtk.Label (); w804.LabelProp = "Escribe: "; w804.Xpad = 7; w804.Name = "label98"; this.label98 = w804; w789.Add (w804); Gtk.Box.BoxChild w805 = ((Gtk.Box.BoxChild) (w789 [w804])); w805.Position = 6; w805.Expand = false; w805.Fill = false; // Container child hbox55.Gtk.Box+BoxChild Gtk.ComboBox w806 = Gtk.ComboBox.NewText (); w806.Active = 0; w806.Name = "com_Escribe3"; this.com_Escribe3 = w806; w789.Add (w806); Gtk.Box.BoxChild w807 = ((Gtk.Box.BoxChild) (w789 [w806])); w807.Position = 7; w807.Expand = false; w807.Fill = false; this.hbox55 = w789; w748.Add (w789); Gtk.Box.BoxChild w808 = ((Gtk.Box.BoxChild) (w748 [w789])); w808.Position = 2; w808.Expand = false; w808.Fill = false; // Container child vbox29.Gtk.Box+BoxChild Gtk.HBox w809 = new Gtk.HBox (); w809.BorderWidth = ((uint) (5)); w809.Name = "hbox78"; // Container child hbox78.Gtk.Box+BoxChild Gtk.Label w810 = new Gtk.Label (); w810.LabelProp = "Otro Idioma: "; w810.Name = "label184"; this.label184 = w810; w809.Add (w810); Gtk.Box.BoxChild w811 = ((Gtk.Box.BoxChild) (w809 [w810])); w811.Position = 0; w811.Expand = false; w811.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.Entry w812 = new Gtk.Entry (); w812.IsEditable = true; w812.WidthChars = 15; w812.MaxLength = 15; w812.InvisibleChar = '●'; w812.CanFocus = true; w812.Name = "en_OtroIdioma"; this.en_OtroIdioma = w812; w809.Add (w812); Gtk.Box.BoxChild w813 = ((Gtk.Box.BoxChild) (w809 [w812])); w813.Position = 1; w813.Expand = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.Alignment w814 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w814.LeftPadding = ((uint) (5)); w814.Name = "alignment60"; // Container child alignment60.Gtk.Container+ContainerChild Gtk.Label w815 = new Gtk.Label (); w815.LabelProp = "Habla: "; w815.Name = "label186"; this.label186 = w815; w814.Add (w815); this.alignment60 = w814; w809.Add (w814); Gtk.Box.BoxChild w817 = ((Gtk.Box.BoxChild) (w809 [w814])); w817.Position = 2; w817.Expand = false; w817.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.ComboBox w818 = Gtk.ComboBox.NewText (); w818.AppendText (""); w818.AppendText ("Bien"); w818.AppendText ("Regular"); w818.AppendText ("Mal"); w818.Active = 0; w818.Name = "com_Habla4"; this.com_Habla4 = w818; w809.Add (w818); Gtk.Box.BoxChild w819 = ((Gtk.Box.BoxChild) (w809 [w818])); w819.Position = 3; w819.Expand = false; w819.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.Label w820 = new Gtk.Label (); w820.LabelProp = "Lee: "; w820.Xpad = 7; w820.Name = "label187"; this.label187 = w820; w809.Add (w820); Gtk.Box.BoxChild w821 = ((Gtk.Box.BoxChild) (w809 [w820])); w821.Position = 4; w821.Expand = false; w821.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.ComboBox w822 = Gtk.ComboBox.NewText (); w822.AppendText (""); w822.AppendText ("Bien"); w822.AppendText ("Regular"); w822.AppendText ("Mal"); w822.Active = 0; w822.Name = "com_Lee4"; this.com_Lee4 = w822; w809.Add (w822); Gtk.Box.BoxChild w823 = ((Gtk.Box.BoxChild) (w809 [w822])); w823.Position = 5; w823.Expand = false; w823.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.Label w824 = new Gtk.Label (); w824.LabelProp = "Escribe: "; w824.Xpad = 7; w824.Name = "label188"; this.label188 = w824; w809.Add (w824); Gtk.Box.BoxChild w825 = ((Gtk.Box.BoxChild) (w809 [w824])); w825.Position = 6; w825.Expand = false; w825.Fill = false; // Container child hbox78.Gtk.Box+BoxChild Gtk.ComboBox w826 = Gtk.ComboBox.NewText (); w826.AppendText (""); w826.AppendText ("Bien"); w826.AppendText ("Regular"); w826.AppendText ("Mal"); w826.Active = 0; w826.Name = "com_Escribe4"; this.com_Escribe4 = w826; w809.Add (w826); Gtk.Box.BoxChild w827 = ((Gtk.Box.BoxChild) (w809 [w826])); w827.Position = 7; w827.Expand = false; w827.Fill = false; this.hbox78 = w809; w748.Add (w809); Gtk.Box.BoxChild w828 = ((Gtk.Box.BoxChild) (w748 [w809])); w828.Position = 3; w828.Expand = false; w828.Fill = false; this.vbox29 = w748; w747.Add (w748); this.GtkAlignment27 = w747; w746.Add (w747); Gtk.Label w831 = new Gtk.Label (); w831.LabelProp = "<b>Idiomas:</b>"; w831.UseMarkup = true; w831.Xpad = 8; w831.Events = ((Gdk.EventMask) (256)); w831.Name = "GtkLabel59"; this.GtkLabel59 = w831; w746.LabelWidget = w831; this.frame29 = w746; w745.Add (w746); this.alignment34 = w745; w695.Add (w745); Gtk.Box.BoxChild w833 = ((Gtk.Box.BoxChild) (w695 [w745])); w833.Position = 1; w833.Expand = false; w833.Fill = false; this.vbox27 = w695; w694.Add (w695); w693.Add (w694); this.scrolledwindow7 = w693; w136.Add (w693); Gtk.Notebook.NotebookChild w836 = ((Gtk.Notebook.NotebookChild) (w136 [w693])); w836.Position = 4; w836.TabExpand = false; // Notebook tab Gtk.Label w837 = new Gtk.Label (); w837.LabelProp = "Otros niveles de\nConocimiento"; w837.Justify = ((Gtk.Justification) (2)); w837.Name = "la_NivConoci"; this.la_NivConoci = w837; w136.SetTabLabel (w693, w837); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w838 = new Gtk.ScrolledWindow (); w838.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w838.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w838.CanFocus = true; w838.Name = "scrolledwindow6"; // Container child scrolledwindow6.Gtk.Container+ContainerChild Gtk.Viewport w839 = new Gtk.Viewport (); w839.ShadowType = ((Gtk.ShadowType) (0)); w839.Name = "GtkViewport5"; // Container child GtkViewport5.Gtk.Container+ContainerChild Gtk.VBox w840 = new Gtk.VBox (); w840.Name = "vbox14"; // Container child vbox14.Gtk.Box+BoxChild Gtk.HBox w841 = new Gtk.HBox (); w841.HeightRequest = 43; w841.Name = "hbox38"; // Container child hbox38.Gtk.Box+BoxChild Gtk.Label w842 = new Gtk.Label (); w842.LabelProp = "Años de Experiencia Laboral:"; w842.Xpad = 24; w842.Name = "label65"; this.label65 = w842; w841.Add (w842); Gtk.Box.BoxChild w843 = ((Gtk.Box.BoxChild) (w841 [w842])); w843.Position = 0; w843.Expand = false; w843.Fill = false; // Container child hbox38.Gtk.Box+BoxChild Gtk.Entry w844 = new Gtk.Entry (); w844.IsEditable = true; w844.WidthChars = 2; w844.MaxLength = 2; w844.InvisibleChar = '●'; w844.CanFocus = true; w844.Name = "en_AniosExpLa"; this.en_AniosExpLa = w844; w841.Add (w844); Gtk.Box.BoxChild w845 = ((Gtk.Box.BoxChild) (w841 [w844])); w845.Position = 1; w845.Expand = false; this.hbox38 = w841; w840.Add (w841); Gtk.Box.BoxChild w846 = ((Gtk.Box.BoxChild) (w840 [w841])); w846.Position = 0; w846.Expand = false; w846.Fill = false; // Container child vbox14.Gtk.Box+BoxChild Gtk.Expander w847 = new Gtk.Expander (null); w847.Expanded = true; w847.CanFocus = true; w847.Name = "expander1"; // Container child expander1.Gtk.Container+ContainerChild Gtk.Alignment w848 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w848.LeftPadding = ((uint) (10)); w848.RightPadding = ((uint) (10)); w848.BottomPadding = ((uint) (5)); w848.Name = "alignment18"; // Container child alignment18.Gtk.Container+ContainerChild Gtk.Frame w849 = new Gtk.Frame (); w849.ShadowType = ((Gtk.ShadowType) (4)); w849.LabelXalign = 0F; w849.Name = "frame20"; // Container child frame20.Gtk.Container+ContainerChild Gtk.Alignment w850 = new Gtk.Alignment (0F, 0F, 1F, 1F); w850.LeftPadding = ((uint) (10)); w850.RightPadding = ((uint) (10)); w850.Name = "GtkAlignment18"; // Container child GtkAlignment18.Gtk.Container+ContainerChild Gtk.VBox w851 = new Gtk.VBox (); w851.Name = "vbox15"; // Container child vbox15.Gtk.Box+BoxChild Gtk.HBox w852 = new Gtk.HBox (); w852.BorderWidth = ((uint) (1)); w852.Name = "hbox27"; // Container child hbox27.Gtk.Box+BoxChild Gtk.Label w853 = new Gtk.Label (); w853.LabelProp = "Empresa que Laboro : "; w853.Name = "label44"; this.label44 = w853; w852.Add (w853); Gtk.Box.BoxChild w854 = ((Gtk.Box.BoxChild) (w852 [w853])); w854.Position = 0; w854.Expand = false; w854.Fill = false; // Container child hbox27.Gtk.Box+BoxChild Gtk.Entry w855 = new Gtk.Entry (); w855.IsEditable = true; w855.WidthChars = 40; w855.MaxLength = 40; w855.InvisibleChar = '●'; w855.CanFocus = true; w855.Name = "en_EmprLa1"; this.en_EmprLa1 = w855; w852.Add (w855); Gtk.Box.BoxChild w856 = ((Gtk.Box.BoxChild) (w852 [w855])); w856.Position = 1; w856.Expand = false; this.hbox27 = w852; w851.Add (w852); Gtk.Box.BoxChild w857 = ((Gtk.Box.BoxChild) (w851 [w852])); w857.Position = 0; w857.Expand = false; w857.Fill = false; // Container child vbox15.Gtk.Box+BoxChild Gtk.HBox w858 = new Gtk.HBox (); w858.BorderWidth = ((uint) (1)); w858.Name = "hbox30"; // Container child hbox30.Gtk.Box+BoxChild Gtk.Label w859 = new Gtk.Label (); w859.LabelProp = "Periodo desde : "; w859.Name = "label50"; this.label50 = w859; w858.Add (w859); Gtk.Box.BoxChild w860 = ((Gtk.Box.BoxChild) (w858 [w859])); w860.Position = 0; w860.Expand = false; w860.Fill = false; // Container child hbox30.Gtk.Box+BoxChild Gtk.SpinButton w861 = new Gtk.SpinButton (0, 100, 1); w861.Adjustment.PageIncrement = 10; w861.ClimbRate = 1; w861.Numeric = true; w861.CanFocus = true; w861.Name = "sp_AnioIni1"; this.sp_AnioIni1 = w861; w858.Add (w861); Gtk.Box.BoxChild w862 = ((Gtk.Box.BoxChild) (w858 [w861])); w862.Position = 1; w862.Expand = false; w862.Fill = false; // Container child hbox30.Gtk.Box+BoxChild Gtk.Label w863 = new Gtk.Label (); w863.LabelProp = "Mes :"; w863.Name = "label51"; this.label51 = w863; w858.Add (w863); Gtk.Box.BoxChild w864 = ((Gtk.Box.BoxChild) (w858 [w863])); w864.Position = 2; w864.Expand = false; w864.Fill = false; w864.Padding = ((uint) (5)); // Container child hbox30.Gtk.Box+BoxChild Gtk.ComboBox w865 = Gtk.ComboBox.NewText (); w865.Active = 0; w865.Name = "com_MesIni1"; this.com_MesIni1 = w865; w858.Add (w865); Gtk.Box.BoxChild w866 = ((Gtk.Box.BoxChild) (w858 [w865])); w866.Position = 3; w866.Expand = false; w866.Fill = false; // Container child hbox30.Gtk.Box+BoxChild Gtk.Alignment w867 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w867.LeftPadding = ((uint) (62)); w867.Name = "alignment19"; // Container child alignment19.Gtk.Container+ContainerChild Gtk.Label w868 = new Gtk.Label (); w868.LabelProp = " Hasta : "; w868.Name = "label53"; this.label53 = w868; w867.Add (w868); this.alignment19 = w867; w858.Add (w867); Gtk.Box.BoxChild w870 = ((Gtk.Box.BoxChild) (w858 [w867])); w870.Position = 4; w870.Expand = false; w870.Fill = false; // Container child hbox30.Gtk.Box+BoxChild Gtk.SpinButton w871 = new Gtk.SpinButton (1940, 2020, 1); w871.Adjustment.PageIncrement = 10; w871.ClimbRate = 1; w871.Numeric = true; w871.Value = 1980; w871.CanFocus = true; w871.Name = "sp_AnioFin1"; this.sp_AnioFin1 = w871; w858.Add (w871); Gtk.Box.BoxChild w872 = ((Gtk.Box.BoxChild) (w858 [w871])); w872.Position = 5; w872.Expand = false; w872.Fill = false; // Container child hbox30.Gtk.Box+BoxChild Gtk.Label w873 = new Gtk.Label (); w873.LabelProp = "Mes :"; w873.Name = "label54"; this.label54 = w873; w858.Add (w873); Gtk.Box.BoxChild w874 = ((Gtk.Box.BoxChild) (w858 [w873])); w874.Position = 6; w874.Expand = false; w874.Fill = false; w874.Padding = ((uint) (5)); // Container child hbox30.Gtk.Box+BoxChild Gtk.ComboBox w875 = Gtk.ComboBox.NewText (); w875.Active = 0; w875.Name = "com_MesFin1"; this.com_MesFin1 = w875; w858.Add (w875); Gtk.Box.BoxChild w876 = ((Gtk.Box.BoxChild) (w858 [w875])); w876.Position = 7; w876.Expand = false; w876.Fill = false; this.hbox30 = w858; w851.Add (w858); Gtk.Box.BoxChild w877 = ((Gtk.Box.BoxChild) (w851 [w858])); w877.Position = 1; w877.Expand = false; w877.Fill = false; // Container child vbox15.Gtk.Box+BoxChild Gtk.HBox w878 = new Gtk.HBox (); w878.BorderWidth = ((uint) (1)); w878.Name = "hbox28"; // Container child hbox28.Gtk.Box+BoxChild Gtk.Label w879 = new Gtk.Label (); w879.LabelProp = "Cargo Desempeñado: "; w879.Name = "label45"; this.label45 = w879; w878.Add (w879); Gtk.Box.BoxChild w880 = ((Gtk.Box.BoxChild) (w878 [w879])); w880.Position = 0; w880.Expand = false; w880.Fill = false; // Container child hbox28.Gtk.Box+BoxChild Gtk.Entry w881 = new Gtk.Entry (); w881.IsEditable = true; w881.WidthChars = 40; w881.MaxLength = 40; w881.InvisibleChar = '●'; w881.CanFocus = true; w881.Name = "en_Cargo1"; this.en_Cargo1 = w881; w878.Add (w881); Gtk.Box.BoxChild w882 = ((Gtk.Box.BoxChild) (w878 [w881])); w882.Position = 1; w882.Expand = false; this.hbox28 = w878; w851.Add (w878); Gtk.Box.BoxChild w883 = ((Gtk.Box.BoxChild) (w851 [w878])); w883.Position = 2; w883.Expand = false; w883.Fill = false; // Container child vbox15.Gtk.Box+BoxChild Gtk.Alignment w884 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w884.LeftPadding = ((uint) (3)); w884.BottomPadding = ((uint) (2)); w884.Name = "alignment47"; // Container child alignment47.Gtk.Container+ContainerChild Gtk.HBox w885 = new Gtk.HBox (); w885.Name = "hbox62"; // Container child hbox62.Gtk.Box+BoxChild Gtk.Label w886 = new Gtk.Label (); w886.LabelProp = "Funciones\nRealizadas: "; w886.Name = "label42"; this.label42 = w886; w885.Add (w886); Gtk.Box.BoxChild w887 = ((Gtk.Box.BoxChild) (w885 [w886])); w887.Position = 0; w887.Expand = false; w887.Fill = false; // Container child hbox62.Gtk.Box+BoxChild Gtk.Table w888 = new Gtk.Table (((uint) (2)), ((uint) (3)), false); w888.Name = "table1"; // Container child table1.Gtk.Table+TableChild Gtk.Entry w889 = new Gtk.Entry (); w889.IsEditable = true; w889.WidthChars = 23; w889.MaxLength = 40; w889.InvisibleChar = '●'; w889.CanFocus = true; w889.Name = "en_FuncRe11"; this.en_FuncRe11 = w889; w888.Add (w889); Gtk.Table.TableChild w890 = ((Gtk.Table.TableChild) (w888 [w889])); w890.YOptions = ((Gtk.AttachOptions) (4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w891 = new Gtk.Entry (); w891.IsEditable = true; w891.WidthChars = 23; w891.MaxLength = 40; w891.InvisibleChar = '●'; w891.CanFocus = true; w891.Name = "en_FuncRe12"; this.en_FuncRe12 = w891; w888.Add (w891); Gtk.Table.TableChild w892 = ((Gtk.Table.TableChild) (w888 [w891])); w892.LeftAttach = ((uint) (2)); w892.RightAttach = ((uint) (3)); w892.YOptions = ((Gtk.AttachOptions) (4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w893 = new Gtk.Entry (); w893.IsEditable = true; w893.WidthChars = 23; w893.MaxLength = 40; w893.InvisibleChar = '●'; w893.CanFocus = true; w893.Name = "en_FuncRe13"; this.en_FuncRe13 = w893; w888.Add (w893); Gtk.Table.TableChild w894 = ((Gtk.Table.TableChild) (w888 [w893])); w894.TopAttach = ((uint) (1)); w894.BottomAttach = ((uint) (2)); w894.YOptions = ((Gtk.AttachOptions) (4)); // Container child table1.Gtk.Table+TableChild Gtk.Entry w895 = new Gtk.Entry (); w895.IsEditable = true; w895.WidthChars = 23; w895.MaxLength = 40; w895.InvisibleChar = '●'; w895.CanFocus = true; w895.Name = "en_FuncRe14"; this.en_FuncRe14 = w895; w888.Add (w895); Gtk.Table.TableChild w896 = ((Gtk.Table.TableChild) (w888 [w895])); w896.TopAttach = ((uint) (1)); w896.BottomAttach = ((uint) (2)); w896.LeftAttach = ((uint) (2)); w896.RightAttach = ((uint) (3)); w896.YOptions = ((Gtk.AttachOptions) (4)); // Container child table1.Gtk.Table+TableChild Gtk.Label w897 = new Gtk.Label (); w897.LabelProp = "* "; w897.Name = "label43"; this.label43 = w897; w888.Add (w897); Gtk.Table.TableChild w898 = ((Gtk.Table.TableChild) (w888 [w897])); w898.LeftAttach = ((uint) (1)); w898.RightAttach = ((uint) (2)); w898.XOptions = ((Gtk.AttachOptions) (4)); w898.YOptions = ((Gtk.AttachOptions) (4)); this.table1 = w888; w885.Add (w888); Gtk.Box.BoxChild w899 = ((Gtk.Box.BoxChild) (w885 [w888])); w899.Position = 1; this.hbox62 = w885; w884.Add (w885); this.alignment47 = w884; w851.Add (w884); Gtk.Box.BoxChild w901 = ((Gtk.Box.BoxChild) (w851 [w884])); w901.Position = 3; w901.Expand = false; w901.Fill = false; this.vbox15 = w851; w850.Add (w851); this.GtkAlignment18 = w850; w849.Add (w850); Gtk.Label w904 = new Gtk.Label (); w904.LabelProp = ""; w904.UseMarkup = true; w904.Events = ((Gdk.EventMask) (256)); w904.Name = "GtkLabel60"; this.GtkLabel60 = w904; w849.LabelWidget = w904; this.frame20 = w849; w848.Add (w849); this.alignment18 = w848; w847.Add (w848); Gtk.Label w907 = new Gtk.Label (); w907.LabelProp = "1. Experiencia Laboral "; w907.UseUnderline = true; w907.Selectable = true; w907.Ypad = 2; w907.CanFocus = true; w907.Name = "GtkLabel44"; this.GtkLabel44 = w907; w847.LabelWidget = w907; this.expander1 = w847; w840.Add (w847); Gtk.Box.BoxChild w908 = ((Gtk.Box.BoxChild) (w840 [w847])); w908.Position = 1; w908.Expand = false; w908.Fill = false; // Container child vbox14.Gtk.Box+BoxChild Gtk.Expander w909 = new Gtk.Expander (null); w909.CanFocus = true; w909.Name = "expander2"; // Container child expander2.Gtk.Container+ContainerChild Gtk.Alignment w910 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w910.LeftPadding = ((uint) (10)); w910.RightPadding = ((uint) (10)); w910.BottomPadding = ((uint) (5)); w910.Name = "alignment48"; // Container child alignment48.Gtk.Container+ContainerChild Gtk.Frame w911 = new Gtk.Frame (); w911.ShadowType = ((Gtk.ShadowType) (4)); w911.LabelXalign = 0F; w911.Name = "frame36"; // Container child frame36.Gtk.Container+ContainerChild Gtk.Alignment w912 = new Gtk.Alignment (0F, 0F, 1F, 1F); w912.LeftPadding = ((uint) (10)); w912.RightPadding = ((uint) (10)); w912.Name = "GtkAlignment37"; // Container child GtkAlignment37.Gtk.Container+ContainerChild Gtk.VBox w913 = new Gtk.VBox (); w913.Name = "vbox31"; // Container child vbox31.Gtk.Box+BoxChild Gtk.HBox w914 = new Gtk.HBox (); w914.BorderWidth = ((uint) (1)); w914.Name = "hbox63"; // Container child hbox63.Gtk.Box+BoxChild Gtk.Label w915 = new Gtk.Label (); w915.LabelProp = "Empresa que Laboro : "; w915.Name = "label46"; this.label46 = w915; w914.Add (w915); Gtk.Box.BoxChild w916 = ((Gtk.Box.BoxChild) (w914 [w915])); w916.Position = 0; w916.Expand = false; w916.Fill = false; // Container child hbox63.Gtk.Box+BoxChild Gtk.Entry w917 = new Gtk.Entry (); w917.IsEditable = true; w917.WidthChars = 40; w917.MaxLength = 40; w917.InvisibleChar = '●'; w917.CanFocus = true; w917.Name = "en_EmprLa2"; this.en_EmprLa2 = w917; w914.Add (w917); Gtk.Box.BoxChild w918 = ((Gtk.Box.BoxChild) (w914 [w917])); w918.Position = 1; w918.Expand = false; this.hbox63 = w914; w913.Add (w914); Gtk.Box.BoxChild w919 = ((Gtk.Box.BoxChild) (w913 [w914])); w919.Position = 0; w919.Expand = false; w919.Fill = false; // Container child vbox31.Gtk.Box+BoxChild Gtk.HBox w920 = new Gtk.HBox (); w920.BorderWidth = ((uint) (1)); w920.Name = "hbox64"; // Container child hbox64.Gtk.Box+BoxChild Gtk.Label w921 = new Gtk.Label (); w921.LabelProp = "Periodo desde : "; w921.Name = "label82"; this.label82 = w921; w920.Add (w921); Gtk.Box.BoxChild w922 = ((Gtk.Box.BoxChild) (w920 [w921])); w922.Position = 0; w922.Expand = false; w922.Fill = false; // Container child hbox64.Gtk.Box+BoxChild Gtk.SpinButton w923 = new Gtk.SpinButton (1940, 2020, 1); w923.Adjustment.PageIncrement = 10; w923.ClimbRate = 1; w923.Numeric = true; w923.Value = 1980; w923.CanFocus = true; w923.Name = "sp_AnioIni2"; this.sp_AnioIni2 = w923; w920.Add (w923); Gtk.Box.BoxChild w924 = ((Gtk.Box.BoxChild) (w920 [w923])); w924.Position = 1; w924.Expand = false; w924.Fill = false; // Container child hbox64.Gtk.Box+BoxChild Gtk.Label w925 = new Gtk.Label (); w925.LabelProp = "Mes :"; w925.Name = "label105"; this.label105 = w925; w920.Add (w925); Gtk.Box.BoxChild w926 = ((Gtk.Box.BoxChild) (w920 [w925])); w926.Position = 2; w926.Expand = false; w926.Fill = false; w926.Padding = ((uint) (5)); // Container child hbox64.Gtk.Box+BoxChild Gtk.ComboBox w927 = Gtk.ComboBox.NewText (); w927.Active = 0; w927.Name = "com_MesIni2"; this.com_MesIni2 = w927; w920.Add (w927); Gtk.Box.BoxChild w928 = ((Gtk.Box.BoxChild) (w920 [w927])); w928.Position = 3; w928.Expand = false; w928.Fill = false; // Container child hbox64.Gtk.Box+BoxChild Gtk.Alignment w929 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w929.LeftPadding = ((uint) (62)); w929.Name = "alignment49"; // Container child alignment49.Gtk.Container+ContainerChild Gtk.Label w930 = new Gtk.Label (); w930.LabelProp = " Hasta : "; w930.Name = "label115"; this.label115 = w930; w929.Add (w930); this.alignment49 = w929; w920.Add (w929); Gtk.Box.BoxChild w932 = ((Gtk.Box.BoxChild) (w920 [w929])); w932.Position = 4; w932.Expand = false; w932.Fill = false; // Container child hbox64.Gtk.Box+BoxChild Gtk.SpinButton w933 = new Gtk.SpinButton (1940, 2020, 1); w933.Adjustment.PageIncrement = 10; w933.ClimbRate = 1; w933.Numeric = true; w933.Value = 1980; w933.CanFocus = true; w933.Name = "sp_AnioFin2"; this.sp_AnioFin2 = w933; w920.Add (w933); Gtk.Box.BoxChild w934 = ((Gtk.Box.BoxChild) (w920 [w933])); w934.Position = 5; w934.Expand = false; w934.Fill = false; // Container child hbox64.Gtk.Box+BoxChild Gtk.Label w935 = new Gtk.Label (); w935.LabelProp = "Mes :"; w935.Name = "label116"; this.label116 = w935; w920.Add (w935); Gtk.Box.BoxChild w936 = ((Gtk.Box.BoxChild) (w920 [w935])); w936.Position = 6; w936.Expand = false; w936.Fill = false; w936.Padding = ((uint) (5)); // Container child hbox64.Gtk.Box+BoxChild Gtk.ComboBox w937 = Gtk.ComboBox.NewText (); w937.Active = 0; w937.Name = "com_MesFin2"; this.com_MesFin2 = w937; w920.Add (w937); Gtk.Box.BoxChild w938 = ((Gtk.Box.BoxChild) (w920 [w937])); w938.Position = 7; w938.Expand = false; w938.Fill = false; this.hbox64 = w920; w913.Add (w920); Gtk.Box.BoxChild w939 = ((Gtk.Box.BoxChild) (w913 [w920])); w939.Position = 1; w939.Expand = false; w939.Fill = false; // Container child vbox31.Gtk.Box+BoxChild Gtk.HBox w940 = new Gtk.HBox (); w940.BorderWidth = ((uint) (1)); w940.Name = "hbox66"; // Container child hbox66.Gtk.Box+BoxChild Gtk.Label w941 = new Gtk.Label (); w941.LabelProp = "Cargo Desempeñado: "; w941.Name = "label117"; this.label117 = w941; w940.Add (w941); Gtk.Box.BoxChild w942 = ((Gtk.Box.BoxChild) (w940 [w941])); w942.Position = 0; w942.Expand = false; w942.Fill = false; // Container child hbox66.Gtk.Box+BoxChild Gtk.Entry w943 = new Gtk.Entry (); w943.IsEditable = true; w943.WidthChars = 40; w943.MaxLength = 40; w943.InvisibleChar = '●'; w943.CanFocus = true; w943.Name = "en_Cargo2"; this.en_Cargo2 = w943; w940.Add (w943); Gtk.Box.BoxChild w944 = ((Gtk.Box.BoxChild) (w940 [w943])); w944.Position = 1; w944.Expand = false; this.hbox66 = w940; w913.Add (w940); Gtk.Box.BoxChild w945 = ((Gtk.Box.BoxChild) (w913 [w940])); w945.Position = 2; w945.Expand = false; w945.Fill = false; // Container child vbox31.Gtk.Box+BoxChild Gtk.Alignment w946 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w946.LeftPadding = ((uint) (3)); w946.BottomPadding = ((uint) (2)); w946.Name = "alignment50"; // Container child alignment50.Gtk.Container+ContainerChild Gtk.HBox w947 = new Gtk.HBox (); w947.Name = "hbox67"; // Container child hbox67.Gtk.Box+BoxChild Gtk.Label w948 = new Gtk.Label (); w948.LabelProp = "Funciones\nRealizadas: "; w948.Name = "label122"; this.label122 = w948; w947.Add (w948); Gtk.Box.BoxChild w949 = ((Gtk.Box.BoxChild) (w947 [w948])); w949.Position = 0; w949.Expand = false; w949.Fill = false; // Container child hbox67.Gtk.Box+BoxChild Gtk.Table w950 = new Gtk.Table (((uint) (2)), ((uint) (3)), false); w950.Name = "table8"; // Container child table8.Gtk.Table+TableChild Gtk.Label w951 = new Gtk.Label (); w951.LabelProp = "* "; w951.Name = "label153"; this.label153 = w951; w950.Add (w951); Gtk.Table.TableChild w952 = ((Gtk.Table.TableChild) (w950 [w951])); w952.LeftAttach = ((uint) (1)); w952.RightAttach = ((uint) (2)); w952.XOptions = ((Gtk.AttachOptions) (4)); w952.YOptions = ((Gtk.AttachOptions) (4)); // Container child table8.Gtk.Table+TableChild Gtk.Entry w953 = new Gtk.Entry (); w953.IsEditable = true; w953.WidthChars = 23; w953.MaxLength = 40; w953.InvisibleChar = '●'; w953.CanFocus = true; w953.Name = "en_FuncRe24"; this.en_FuncRe24 = w953; w950.Add (w953); Gtk.Table.TableChild w954 = ((Gtk.Table.TableChild) (w950 [w953])); w954.TopAttach = ((uint) (1)); w954.BottomAttach = ((uint) (2)); w954.LeftAttach = ((uint) (2)); w954.RightAttach = ((uint) (3)); w954.YOptions = ((Gtk.AttachOptions) (4)); // Container child table8.Gtk.Table+TableChild Gtk.Entry w955 = new Gtk.Entry (); w955.IsEditable = true; w955.WidthChars = 23; w955.MaxLength = 40; w955.InvisibleChar = '●'; w955.CanFocus = true; w955.Name = "en_FuncRe23"; this.en_FuncRe23 = w955; w950.Add (w955); Gtk.Table.TableChild w956 = ((Gtk.Table.TableChild) (w950 [w955])); w956.TopAttach = ((uint) (1)); w956.BottomAttach = ((uint) (2)); w956.YOptions = ((Gtk.AttachOptions) (4)); // Container child table8.Gtk.Table+TableChild Gtk.Entry w957 = new Gtk.Entry (); w957.IsEditable = true; w957.WidthChars = 23; w957.MaxLength = 40; w957.InvisibleChar = '●'; w957.CanFocus = true; w957.Name = "en_FuncRe22"; this.en_FuncRe22 = w957; w950.Add (w957); Gtk.Table.TableChild w958 = ((Gtk.Table.TableChild) (w950 [w957])); w958.LeftAttach = ((uint) (2)); w958.RightAttach = ((uint) (3)); w958.YOptions = ((Gtk.AttachOptions) (4)); // Container child table8.Gtk.Table+TableChild Gtk.Entry w959 = new Gtk.Entry (); w959.IsEditable = true; w959.WidthChars = 23; w959.MaxLength = 40; w959.InvisibleChar = '●'; w959.CanFocus = true; w959.Name = "en_FuncRe21"; this.en_FuncRe21 = w959; w950.Add (w959); Gtk.Table.TableChild w960 = ((Gtk.Table.TableChild) (w950 [w959])); w960.YOptions = ((Gtk.AttachOptions) (4)); this.table8 = w950; w947.Add (w950); Gtk.Box.BoxChild w961 = ((Gtk.Box.BoxChild) (w947 [w950])); w961.Position = 1; this.hbox67 = w947; w946.Add (w947); this.alignment50 = w946; w913.Add (w946); Gtk.Box.BoxChild w963 = ((Gtk.Box.BoxChild) (w913 [w946])); w963.Position = 3; w963.Expand = false; w963.Fill = false; this.vbox31 = w913; w912.Add (w913); this.GtkAlignment37 = w912; w911.Add (w912); Gtk.Label w966 = new Gtk.Label (); w966.LabelProp = ""; w966.UseMarkup = true; w966.Events = ((Gdk.EventMask) (256)); w966.Name = "GtkLabel46"; this.GtkLabel46 = w966; w911.LabelWidget = w966; this.frame36 = w911; w910.Add (w911); this.alignment48 = w910; w909.Add (w910); Gtk.Label w969 = new Gtk.Label (); w969.LabelProp = "2. Experiencia Laboral "; w969.UseUnderline = true; w969.Name = "GtkLabel45"; this.GtkLabel45 = w969; w909.LabelWidget = w969; this.expander2 = w909; w840.Add (w909); Gtk.Box.BoxChild w970 = ((Gtk.Box.BoxChild) (w840 [w909])); w970.Position = 2; w970.Expand = false; w970.Fill = false; // Container child vbox14.Gtk.Box+BoxChild Gtk.Expander w971 = new Gtk.Expander (null); w971.CanFocus = true; w971.Name = "expander3"; // Container child expander3.Gtk.Container+ContainerChild Gtk.Alignment w972 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w972.LeftPadding = ((uint) (10)); w972.RightPadding = ((uint) (10)); w972.BottomPadding = ((uint) (5)); w972.Name = "alignment20"; // Container child alignment20.Gtk.Container+ContainerChild Gtk.Frame w973 = new Gtk.Frame (); w973.ShadowType = ((Gtk.ShadowType) (4)); w973.LabelXalign = 0F; w973.Name = "frame21"; // Container child frame21.Gtk.Container+ContainerChild Gtk.Alignment w974 = new Gtk.Alignment (0F, 0F, 1F, 1F); w974.LeftPadding = ((uint) (10)); w974.RightPadding = ((uint) (10)); w974.Name = "GtkAlignment19"; // Container child GtkAlignment19.Gtk.Container+ContainerChild Gtk.VBox w975 = new Gtk.VBox (); w975.Name = "vbox16"; // Container child vbox16.Gtk.Box+BoxChild Gtk.HBox w976 = new Gtk.HBox (); w976.BorderWidth = ((uint) (1)); w976.Name = "hbox29"; // Container child hbox29.Gtk.Box+BoxChild Gtk.Label w977 = new Gtk.Label (); w977.LabelProp = "Empresa que Laboro : "; w977.Name = "label47"; this.label47 = w977; w976.Add (w977); Gtk.Box.BoxChild w978 = ((Gtk.Box.BoxChild) (w976 [w977])); w978.Position = 0; w978.Expand = false; w978.Fill = false; // Container child hbox29.Gtk.Box+BoxChild Gtk.Entry w979 = new Gtk.Entry (); w979.IsEditable = true; w979.WidthChars = 40; w979.MaxLength = 40; w979.InvisibleChar = '●'; w979.CanFocus = true; w979.Name = "en_EmprLa3"; this.en_EmprLa3 = w979; w976.Add (w979); Gtk.Box.BoxChild w980 = ((Gtk.Box.BoxChild) (w976 [w979])); w980.Position = 1; w980.Expand = false; this.hbox29 = w976; w975.Add (w976); Gtk.Box.BoxChild w981 = ((Gtk.Box.BoxChild) (w975 [w976])); w981.Position = 0; w981.Expand = false; w981.Fill = false; // Container child vbox16.Gtk.Box+BoxChild Gtk.HBox w982 = new Gtk.HBox (); w982.BorderWidth = ((uint) (1)); w982.Name = "hbox31"; // Container child hbox31.Gtk.Box+BoxChild Gtk.Label w983 = new Gtk.Label (); w983.LabelProp = "Periodo desde : "; w983.Name = "label52"; this.label52 = w983; w982.Add (w983); Gtk.Box.BoxChild w984 = ((Gtk.Box.BoxChild) (w982 [w983])); w984.Position = 0; w984.Expand = false; w984.Fill = false; // Container child hbox31.Gtk.Box+BoxChild Gtk.SpinButton w985 = new Gtk.SpinButton (1940, 2020, 1); w985.Adjustment.PageIncrement = 10; w985.ClimbRate = 1; w985.Numeric = true; w985.Value = 1980; w985.CanFocus = true; w985.Name = "sp_AnioIni3"; this.sp_AnioIni3 = w985; w982.Add (w985); Gtk.Box.BoxChild w986 = ((Gtk.Box.BoxChild) (w982 [w985])); w986.Position = 1; w986.Expand = false; w986.Fill = false; // Container child hbox31.Gtk.Box+BoxChild Gtk.Label w987 = new Gtk.Label (); w987.LabelProp = "Mes :"; w987.Name = "label55"; this.label55 = w987; w982.Add (w987); Gtk.Box.BoxChild w988 = ((Gtk.Box.BoxChild) (w982 [w987])); w988.Position = 2; w988.Expand = false; w988.Fill = false; w988.Padding = ((uint) (5)); // Container child hbox31.Gtk.Box+BoxChild Gtk.ComboBox w989 = Gtk.ComboBox.NewText (); w989.Active = 0; w989.Name = "com_MesIni3"; this.com_MesIni3 = w989; w982.Add (w989); Gtk.Box.BoxChild w990 = ((Gtk.Box.BoxChild) (w982 [w989])); w990.Position = 3; w990.Expand = false; w990.Fill = false; // Container child hbox31.Gtk.Box+BoxChild Gtk.Alignment w991 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w991.LeftPadding = ((uint) (62)); w991.Name = "alignment21"; // Container child alignment21.Gtk.Container+ContainerChild Gtk.Label w992 = new Gtk.Label (); w992.LabelProp = " Hasta : "; w992.Name = "label56"; this.label56 = w992; w991.Add (w992); this.alignment21 = w991; w982.Add (w991); Gtk.Box.BoxChild w994 = ((Gtk.Box.BoxChild) (w982 [w991])); w994.Position = 4; w994.Expand = false; w994.Fill = false; // Container child hbox31.Gtk.Box+BoxChild Gtk.SpinButton w995 = new Gtk.SpinButton (1940, 2020, 1); w995.Adjustment.PageIncrement = 10; w995.ClimbRate = 1; w995.Numeric = true; w995.Value = 1980; w995.CanFocus = true; w995.Name = "sp_AnioFin3"; this.sp_AnioFin3 = w995; w982.Add (w995); Gtk.Box.BoxChild w996 = ((Gtk.Box.BoxChild) (w982 [w995])); w996.Position = 5; w996.Expand = false; w996.Fill = false; // Container child hbox31.Gtk.Box+BoxChild Gtk.Label w997 = new Gtk.Label (); w997.LabelProp = "Mes :"; w997.Name = "label57"; this.label57 = w997; w982.Add (w997); Gtk.Box.BoxChild w998 = ((Gtk.Box.BoxChild) (w982 [w997])); w998.Position = 6; w998.Expand = false; w998.Fill = false; w998.Padding = ((uint) (5)); // Container child hbox31.Gtk.Box+BoxChild Gtk.ComboBox w999 = Gtk.ComboBox.NewText (); w999.Active = 0; w999.Name = "com_MesFin3"; this.com_MesFin3 = w999; w982.Add (w999); Gtk.Box.BoxChild w1000 = ((Gtk.Box.BoxChild) (w982 [w999])); w1000.Position = 7; w1000.Expand = false; w1000.Fill = false; this.hbox31 = w982; w975.Add (w982); Gtk.Box.BoxChild w1001 = ((Gtk.Box.BoxChild) (w975 [w982])); w1001.Position = 1; w1001.Expand = false; w1001.Fill = false; // Container child vbox16.Gtk.Box+BoxChild Gtk.HBox w1002 = new Gtk.HBox (); w1002.BorderWidth = ((uint) (1)); w1002.Name = "hbox32"; // Container child hbox32.Gtk.Box+BoxChild Gtk.Label w1003 = new Gtk.Label (); w1003.LabelProp = "Cargo Desempeñado: "; w1003.Name = "label48"; this.label48 = w1003; w1002.Add (w1003); Gtk.Box.BoxChild w1004 = ((Gtk.Box.BoxChild) (w1002 [w1003])); w1004.Position = 0; w1004.Expand = false; w1004.Fill = false; // Container child hbox32.Gtk.Box+BoxChild Gtk.Entry w1005 = new Gtk.Entry (); w1005.IsEditable = true; w1005.WidthChars = 40; w1005.MaxLength = 40; w1005.InvisibleChar = '●'; w1005.CanFocus = true; w1005.Name = "en_Cargo3"; this.en_Cargo3 = w1005; w1002.Add (w1005); Gtk.Box.BoxChild w1006 = ((Gtk.Box.BoxChild) (w1002 [w1005])); w1006.Position = 1; w1006.Expand = false; this.hbox32 = w1002; w975.Add (w1002); Gtk.Box.BoxChild w1007 = ((Gtk.Box.BoxChild) (w975 [w1002])); w1007.Position = 2; w1007.Expand = false; w1007.Fill = false; // Container child vbox16.Gtk.Box+BoxChild Gtk.Alignment w1008 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1008.LeftPadding = ((uint) (3)); w1008.BottomPadding = ((uint) (2)); w1008.Name = "alignment51"; // Container child alignment51.Gtk.Container+ContainerChild Gtk.HBox w1009 = new Gtk.HBox (); w1009.Name = "hbox68"; // Container child hbox68.Gtk.Box+BoxChild Gtk.Label w1010 = new Gtk.Label (); w1010.LabelProp = "Funciones\nRealizadas: "; w1010.Name = "label49"; this.label49 = w1010; w1009.Add (w1010); Gtk.Box.BoxChild w1011 = ((Gtk.Box.BoxChild) (w1009 [w1010])); w1011.Position = 0; w1011.Expand = false; w1011.Fill = false; // Container child hbox68.Gtk.Box+BoxChild Gtk.Table w1012 = new Gtk.Table (((uint) (2)), ((uint) (3)), false); w1012.Name = "table9"; // Container child table9.Gtk.Table+TableChild Gtk.Label w1013 = new Gtk.Label (); w1013.LabelProp = "* "; w1013.Name = "label58"; this.label58 = w1013; w1012.Add (w1013); Gtk.Table.TableChild w1014 = ((Gtk.Table.TableChild) (w1012 [w1013])); w1014.LeftAttach = ((uint) (1)); w1014.RightAttach = ((uint) (2)); w1014.XOptions = ((Gtk.AttachOptions) (4)); w1014.YOptions = ((Gtk.AttachOptions) (4)); // Container child table9.Gtk.Table+TableChild Gtk.Entry w1015 = new Gtk.Entry (); w1015.IsEditable = true; w1015.WidthChars = 23; w1015.MaxLength = 40; w1015.InvisibleChar = '●'; w1015.CanFocus = true; w1015.Name = "en_FuncRe34"; this.en_FuncRe34 = w1015; w1012.Add (w1015); Gtk.Table.TableChild w1016 = ((Gtk.Table.TableChild) (w1012 [w1015])); w1016.TopAttach = ((uint) (1)); w1016.BottomAttach = ((uint) (2)); w1016.LeftAttach = ((uint) (2)); w1016.RightAttach = ((uint) (3)); w1016.YOptions = ((Gtk.AttachOptions) (4)); // Container child table9.Gtk.Table+TableChild Gtk.Entry w1017 = new Gtk.Entry (); w1017.IsEditable = true; w1017.WidthChars = 23; w1017.MaxLength = 40; w1017.InvisibleChar = '●'; w1017.CanFocus = true; w1017.Name = "en_FuncRe33"; this.en_FuncRe33 = w1017; w1012.Add (w1017); Gtk.Table.TableChild w1018 = ((Gtk.Table.TableChild) (w1012 [w1017])); w1018.TopAttach = ((uint) (1)); w1018.BottomAttach = ((uint) (2)); w1018.YOptions = ((Gtk.AttachOptions) (4)); // Container child table9.Gtk.Table+TableChild Gtk.Entry w1019 = new Gtk.Entry (); w1019.IsEditable = true; w1019.WidthChars = 23; w1019.MaxLength = 40; w1019.InvisibleChar = '●'; w1019.CanFocus = true; w1019.Name = "en_FuncRe32"; this.en_FuncRe32 = w1019; w1012.Add (w1019); Gtk.Table.TableChild w1020 = ((Gtk.Table.TableChild) (w1012 [w1019])); w1020.LeftAttach = ((uint) (2)); w1020.RightAttach = ((uint) (3)); w1020.YOptions = ((Gtk.AttachOptions) (4)); // Container child table9.Gtk.Table+TableChild Gtk.Entry w1021 = new Gtk.Entry (); w1021.IsEditable = true; w1021.WidthChars = 23; w1021.MaxLength = 40; w1021.InvisibleChar = '●'; w1021.CanFocus = true; w1021.Name = "en_FuncRe31"; this.en_FuncRe31 = w1021; w1012.Add (w1021); Gtk.Table.TableChild w1022 = ((Gtk.Table.TableChild) (w1012 [w1021])); w1022.YOptions = ((Gtk.AttachOptions) (4)); this.table9 = w1012; w1009.Add (w1012); Gtk.Box.BoxChild w1023 = ((Gtk.Box.BoxChild) (w1009 [w1012])); w1023.Position = 1; this.hbox68 = w1009; w1008.Add (w1009); this.alignment51 = w1008; w975.Add (w1008); Gtk.Box.BoxChild w1025 = ((Gtk.Box.BoxChild) (w975 [w1008])); w1025.Position = 3; w1025.Expand = false; w1025.Fill = false; this.vbox16 = w975; w974.Add (w975); this.GtkAlignment19 = w974; w973.Add (w974); Gtk.Label w1028 = new Gtk.Label (); w1028.LabelProp = ""; w1028.UseMarkup = true; w1028.Events = ((Gdk.EventMask) (256)); w1028.Name = "GtkLabel48"; this.GtkLabel48 = w1028; w973.LabelWidget = w1028; this.frame21 = w973; w972.Add (w973); this.alignment20 = w972; w971.Add (w972); Gtk.Label w1031 = new Gtk.Label (); w1031.LabelProp = "3. Experiencia Laboral"; w1031.UseUnderline = true; w1031.Name = "GtkLabel61"; this.GtkLabel61 = w1031; w971.LabelWidget = w1031; this.expander3 = w971; w840.Add (w971); Gtk.Box.BoxChild w1032 = ((Gtk.Box.BoxChild) (w840 [w971])); w1032.Position = 3; w1032.Expand = false; w1032.Fill = false; // Container child vbox14.Gtk.Box+BoxChild Gtk.Expander w1033 = new Gtk.Expander (null); w1033.CanFocus = true; w1033.Name = "expander4"; // Container child expander4.Gtk.Container+ContainerChild Gtk.Alignment w1034 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1034.LeftPadding = ((uint) (10)); w1034.RightPadding = ((uint) (10)); w1034.BottomPadding = ((uint) (5)); w1034.Name = "alignment22"; // Container child alignment22.Gtk.Container+ContainerChild Gtk.Frame w1035 = new Gtk.Frame (); w1035.ShadowType = ((Gtk.ShadowType) (4)); w1035.LabelXalign = 0F; w1035.Name = "frame22"; // Container child frame22.Gtk.Container+ContainerChild Gtk.Alignment w1036 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1036.LeftPadding = ((uint) (10)); w1036.RightPadding = ((uint) (10)); w1036.Name = "GtkAlignment20"; // Container child GtkAlignment20.Gtk.Container+ContainerChild Gtk.VBox w1037 = new Gtk.VBox (); w1037.Name = "vbox17"; // Container child vbox17.Gtk.Box+BoxChild Gtk.HBox w1038 = new Gtk.HBox (); w1038.BorderWidth = ((uint) (1)); w1038.Name = "hbox33"; // Container child hbox33.Gtk.Box+BoxChild Gtk.Label w1039 = new Gtk.Label (); w1039.LabelProp = "Empresa que Laboro : "; w1039.Name = "label59"; this.label59 = w1039; w1038.Add (w1039); Gtk.Box.BoxChild w1040 = ((Gtk.Box.BoxChild) (w1038 [w1039])); w1040.Position = 0; w1040.Expand = false; w1040.Fill = false; // Container child hbox33.Gtk.Box+BoxChild Gtk.Entry w1041 = new Gtk.Entry (); w1041.IsEditable = true; w1041.WidthChars = 40; w1041.MaxLength = 40; w1041.InvisibleChar = '●'; w1041.CanFocus = true; w1041.Name = "en_EmprLa4"; this.en_EmprLa4 = w1041; w1038.Add (w1041); Gtk.Box.BoxChild w1042 = ((Gtk.Box.BoxChild) (w1038 [w1041])); w1042.Position = 1; w1042.Expand = false; this.hbox33 = w1038; w1037.Add (w1038); Gtk.Box.BoxChild w1043 = ((Gtk.Box.BoxChild) (w1037 [w1038])); w1043.Position = 0; w1043.Expand = false; w1043.Fill = false; // Container child vbox17.Gtk.Box+BoxChild Gtk.HBox w1044 = new Gtk.HBox (); w1044.BorderWidth = ((uint) (1)); w1044.Name = "hbox34"; // Container child hbox34.Gtk.Box+BoxChild Gtk.Label w1045 = new Gtk.Label (); w1045.LabelProp = "Periodo desde : "; w1045.Name = "label60"; this.label60 = w1045; w1044.Add (w1045); Gtk.Box.BoxChild w1046 = ((Gtk.Box.BoxChild) (w1044 [w1045])); w1046.Position = 0; w1046.Expand = false; w1046.Fill = false; // Container child hbox34.Gtk.Box+BoxChild Gtk.SpinButton w1047 = new Gtk.SpinButton (1940, 2020, 1); w1047.Adjustment.PageIncrement = 10; w1047.ClimbRate = 1; w1047.Numeric = true; w1047.Value = 1980; w1047.CanFocus = true; w1047.Name = "sp_AnioIni4"; this.sp_AnioIni4 = w1047; w1044.Add (w1047); Gtk.Box.BoxChild w1048 = ((Gtk.Box.BoxChild) (w1044 [w1047])); w1048.Position = 1; w1048.Expand = false; w1048.Fill = false; // Container child hbox34.Gtk.Box+BoxChild Gtk.Label w1049 = new Gtk.Label (); w1049.LabelProp = "Mes :"; w1049.Name = "label61"; this.label61 = w1049; w1044.Add (w1049); Gtk.Box.BoxChild w1050 = ((Gtk.Box.BoxChild) (w1044 [w1049])); w1050.Position = 2; w1050.Expand = false; w1050.Fill = false; w1050.Padding = ((uint) (5)); // Container child hbox34.Gtk.Box+BoxChild Gtk.ComboBox w1051 = Gtk.ComboBox.NewText (); w1051.Active = 0; w1051.Name = "com_MesIni4"; this.com_MesIni4 = w1051; w1044.Add (w1051); Gtk.Box.BoxChild w1052 = ((Gtk.Box.BoxChild) (w1044 [w1051])); w1052.Position = 3; w1052.Expand = false; w1052.Fill = false; // Container child hbox34.Gtk.Box+BoxChild Gtk.Alignment w1053 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1053.LeftPadding = ((uint) (62)); w1053.Name = "alignment23"; // Container child alignment23.Gtk.Container+ContainerChild Gtk.Label w1054 = new Gtk.Label (); w1054.LabelProp = " Hasta : "; w1054.Name = "label62"; this.label62 = w1054; w1053.Add (w1054); this.alignment23 = w1053; w1044.Add (w1053); Gtk.Box.BoxChild w1056 = ((Gtk.Box.BoxChild) (w1044 [w1053])); w1056.Position = 4; w1056.Expand = false; w1056.Fill = false; // Container child hbox34.Gtk.Box+BoxChild Gtk.SpinButton w1057 = new Gtk.SpinButton (1940, 2020, 1); w1057.Adjustment.PageIncrement = 10; w1057.ClimbRate = 1; w1057.Numeric = true; w1057.Value = 1980; w1057.CanFocus = true; w1057.Name = "sp_AnioFin4"; this.sp_AnioFin4 = w1057; w1044.Add (w1057); Gtk.Box.BoxChild w1058 = ((Gtk.Box.BoxChild) (w1044 [w1057])); w1058.Position = 5; w1058.Expand = false; w1058.Fill = false; // Container child hbox34.Gtk.Box+BoxChild Gtk.Label w1059 = new Gtk.Label (); w1059.LabelProp = "Mes :"; w1059.Name = "label154"; this.label154 = w1059; w1044.Add (w1059); Gtk.Box.BoxChild w1060 = ((Gtk.Box.BoxChild) (w1044 [w1059])); w1060.Position = 6; w1060.Expand = false; w1060.Fill = false; w1060.Padding = ((uint) (5)); // Container child hbox34.Gtk.Box+BoxChild Gtk.ComboBox w1061 = Gtk.ComboBox.NewText (); w1061.Active = 0; w1061.Name = "com_MesFin4"; this.com_MesFin4 = w1061; w1044.Add (w1061); Gtk.Box.BoxChild w1062 = ((Gtk.Box.BoxChild) (w1044 [w1061])); w1062.Position = 7; w1062.Expand = false; w1062.Fill = false; this.hbox34 = w1044; w1037.Add (w1044); Gtk.Box.BoxChild w1063 = ((Gtk.Box.BoxChild) (w1037 [w1044])); w1063.Position = 1; w1063.Expand = false; w1063.Fill = false; // Container child vbox17.Gtk.Box+BoxChild Gtk.HBox w1064 = new Gtk.HBox (); w1064.BorderWidth = ((uint) (1)); w1064.Name = "hbox35"; // Container child hbox35.Gtk.Box+BoxChild Gtk.Label w1065 = new Gtk.Label (); w1065.LabelProp = "Cargo Desempeñado: "; w1065.Name = "label155"; this.label155 = w1065; w1064.Add (w1065); Gtk.Box.BoxChild w1066 = ((Gtk.Box.BoxChild) (w1064 [w1065])); w1066.Position = 0; w1066.Expand = false; w1066.Fill = false; // Container child hbox35.Gtk.Box+BoxChild Gtk.Entry w1067 = new Gtk.Entry (); w1067.IsEditable = true; w1067.WidthChars = 40; w1067.MaxLength = 40; w1067.InvisibleChar = '●'; w1067.CanFocus = true; w1067.Name = "en_Cargo4"; this.en_Cargo4 = w1067; w1064.Add (w1067); Gtk.Box.BoxChild w1068 = ((Gtk.Box.BoxChild) (w1064 [w1067])); w1068.Position = 1; w1068.Expand = false; this.hbox35 = w1064; w1037.Add (w1064); Gtk.Box.BoxChild w1069 = ((Gtk.Box.BoxChild) (w1037 [w1064])); w1069.Position = 2; w1069.Expand = false; w1069.Fill = false; // Container child vbox17.Gtk.Box+BoxChild Gtk.Alignment w1070 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1070.LeftPadding = ((uint) (3)); w1070.BottomPadding = ((uint) (2)); w1070.Name = "alignment52"; // Container child alignment52.Gtk.Container+ContainerChild Gtk.HBox w1071 = new Gtk.HBox (); w1071.Name = "hbox69"; // Container child hbox69.Gtk.Box+BoxChild Gtk.Label w1072 = new Gtk.Label (); w1072.LabelProp = "Funciones\nRealizadas: "; w1072.Name = "label156"; this.label156 = w1072; w1071.Add (w1072); Gtk.Box.BoxChild w1073 = ((Gtk.Box.BoxChild) (w1071 [w1072])); w1073.Position = 0; w1073.Expand = false; w1073.Fill = false; // Container child hbox69.Gtk.Box+BoxChild Gtk.Table w1074 = new Gtk.Table (((uint) (2)), ((uint) (3)), false); w1074.Name = "table10"; // Container child table10.Gtk.Table+TableChild Gtk.Label w1075 = new Gtk.Label (); w1075.LabelProp = "* "; w1075.Name = "label157"; this.label157 = w1075; w1074.Add (w1075); Gtk.Table.TableChild w1076 = ((Gtk.Table.TableChild) (w1074 [w1075])); w1076.LeftAttach = ((uint) (1)); w1076.RightAttach = ((uint) (2)); w1076.XOptions = ((Gtk.AttachOptions) (4)); w1076.YOptions = ((Gtk.AttachOptions) (4)); // Container child table10.Gtk.Table+TableChild Gtk.Entry w1077 = new Gtk.Entry (); w1077.IsEditable = true; w1077.WidthChars = 23; w1077.MaxLength = 40; w1077.InvisibleChar = '●'; w1077.CanFocus = true; w1077.Name = "en_FuncRe44"; this.en_FuncRe44 = w1077; w1074.Add (w1077); Gtk.Table.TableChild w1078 = ((Gtk.Table.TableChild) (w1074 [w1077])); w1078.TopAttach = ((uint) (1)); w1078.BottomAttach = ((uint) (2)); w1078.LeftAttach = ((uint) (2)); w1078.RightAttach = ((uint) (3)); w1078.YOptions = ((Gtk.AttachOptions) (4)); // Container child table10.Gtk.Table+TableChild Gtk.Entry w1079 = new Gtk.Entry (); w1079.IsEditable = true; w1079.WidthChars = 23; w1079.MaxLength = 40; w1079.InvisibleChar = '●'; w1079.CanFocus = true; w1079.Name = "en_FuncRe43"; this.en_FuncRe43 = w1079; w1074.Add (w1079); Gtk.Table.TableChild w1080 = ((Gtk.Table.TableChild) (w1074 [w1079])); w1080.TopAttach = ((uint) (1)); w1080.BottomAttach = ((uint) (2)); w1080.YOptions = ((Gtk.AttachOptions) (4)); // Container child table10.Gtk.Table+TableChild Gtk.Entry w1081 = new Gtk.Entry (); w1081.IsEditable = true; w1081.WidthChars = 23; w1081.MaxLength = 40; w1081.InvisibleChar = '●'; w1081.CanFocus = true; w1081.Name = "en_FuncRe42"; this.en_FuncRe42 = w1081; w1074.Add (w1081); Gtk.Table.TableChild w1082 = ((Gtk.Table.TableChild) (w1074 [w1081])); w1082.LeftAttach = ((uint) (2)); w1082.RightAttach = ((uint) (3)); w1082.YOptions = ((Gtk.AttachOptions) (4)); // Container child table10.Gtk.Table+TableChild Gtk.Entry w1083 = new Gtk.Entry (); w1083.IsEditable = true; w1083.WidthChars = 23; w1083.MaxLength = 40; w1083.InvisibleChar = '●'; w1083.CanFocus = true; w1083.Name = "en_FuncRe41"; this.en_FuncRe41 = w1083; w1074.Add (w1083); Gtk.Table.TableChild w1084 = ((Gtk.Table.TableChild) (w1074 [w1083])); w1084.YOptions = ((Gtk.AttachOptions) (4)); this.table10 = w1074; w1071.Add (w1074); Gtk.Box.BoxChild w1085 = ((Gtk.Box.BoxChild) (w1071 [w1074])); w1085.Position = 1; this.hbox69 = w1071; w1070.Add (w1071); this.alignment52 = w1070; w1037.Add (w1070); Gtk.Box.BoxChild w1087 = ((Gtk.Box.BoxChild) (w1037 [w1070])); w1087.Position = 3; w1087.Expand = false; w1087.Fill = false; this.vbox17 = w1037; w1036.Add (w1037); this.GtkAlignment20 = w1036; w1035.Add (w1036); Gtk.Label w1090 = new Gtk.Label (); w1090.LabelProp = ""; w1090.UseMarkup = true; w1090.Events = ((Gdk.EventMask) (256)); w1090.Name = "GtkLabel49"; this.GtkLabel49 = w1090; w1035.LabelWidget = w1090; this.frame22 = w1035; w1034.Add (w1035); this.alignment22 = w1034; w1033.Add (w1034); Gtk.Label w1093 = new Gtk.Label (); w1093.LabelProp = "4. Experiencia Laboral"; w1093.UseUnderline = true; w1093.Name = "GtkLabel62"; this.GtkLabel62 = w1093; w1033.LabelWidget = w1093; this.expander4 = w1033; w840.Add (w1033); Gtk.Box.BoxChild w1094 = ((Gtk.Box.BoxChild) (w840 [w1033])); w1094.Position = 4; w1094.Expand = false; w1094.Fill = false; // Container child vbox14.Gtk.Box+BoxChild Gtk.Expander w1095 = new Gtk.Expander (null); w1095.CanFocus = true; w1095.Name = "expander5"; // Container child expander5.Gtk.Container+ContainerChild Gtk.Alignment w1096 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1096.LeftPadding = ((uint) (10)); w1096.RightPadding = ((uint) (10)); w1096.BottomPadding = ((uint) (5)); w1096.Name = "alignment53"; // Container child alignment53.Gtk.Container+ContainerChild Gtk.Frame w1097 = new Gtk.Frame (); w1097.ShadowType = ((Gtk.ShadowType) (4)); w1097.LabelXalign = 0F; w1097.Name = "frame37"; // Container child frame37.Gtk.Container+ContainerChild Gtk.Alignment w1098 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1098.LeftPadding = ((uint) (10)); w1098.RightPadding = ((uint) (10)); w1098.Name = "GtkAlignment38"; // Container child GtkAlignment38.Gtk.Container+ContainerChild Gtk.VBox w1099 = new Gtk.VBox (); w1099.Name = "vbox35"; // Container child vbox35.Gtk.Box+BoxChild Gtk.HBox w1100 = new Gtk.HBox (); w1100.BorderWidth = ((uint) (1)); w1100.Name = "hbox70"; // Container child hbox70.Gtk.Box+BoxChild Gtk.Label w1101 = new Gtk.Label (); w1101.LabelProp = "Empresa que Laboro : "; w1101.Name = "label158"; this.label158 = w1101; w1100.Add (w1101); Gtk.Box.BoxChild w1102 = ((Gtk.Box.BoxChild) (w1100 [w1101])); w1102.Position = 0; w1102.Expand = false; w1102.Fill = false; // Container child hbox70.Gtk.Box+BoxChild Gtk.Entry w1103 = new Gtk.Entry (); w1103.IsEditable = true; w1103.WidthChars = 40; w1103.MaxLength = 40; w1103.InvisibleChar = '●'; w1103.CanFocus = true; w1103.Name = "en_EmprLa5"; this.en_EmprLa5 = w1103; w1100.Add (w1103); Gtk.Box.BoxChild w1104 = ((Gtk.Box.BoxChild) (w1100 [w1103])); w1104.Position = 1; w1104.Expand = false; this.hbox70 = w1100; w1099.Add (w1100); Gtk.Box.BoxChild w1105 = ((Gtk.Box.BoxChild) (w1099 [w1100])); w1105.Position = 0; w1105.Expand = false; w1105.Fill = false; // Container child vbox35.Gtk.Box+BoxChild Gtk.HBox w1106 = new Gtk.HBox (); w1106.BorderWidth = ((uint) (1)); w1106.Name = "hbox71"; // Container child hbox71.Gtk.Box+BoxChild Gtk.Label w1107 = new Gtk.Label (); w1107.LabelProp = "Periodo desde : "; w1107.Name = "label159"; this.label159 = w1107; w1106.Add (w1107); Gtk.Box.BoxChild w1108 = ((Gtk.Box.BoxChild) (w1106 [w1107])); w1108.Position = 0; w1108.Expand = false; w1108.Fill = false; // Container child hbox71.Gtk.Box+BoxChild Gtk.SpinButton w1109 = new Gtk.SpinButton (1940, 2020, 1); w1109.Adjustment.PageIncrement = 10; w1109.ClimbRate = 1; w1109.Numeric = true; w1109.Value = 1980; w1109.CanFocus = true; w1109.Name = "sp_AnioIni5"; this.sp_AnioIni5 = w1109; w1106.Add (w1109); Gtk.Box.BoxChild w1110 = ((Gtk.Box.BoxChild) (w1106 [w1109])); w1110.Position = 1; w1110.Expand = false; w1110.Fill = false; // Container child hbox71.Gtk.Box+BoxChild Gtk.Label w1111 = new Gtk.Label (); w1111.LabelProp = "Mes :"; w1111.Name = "label160"; this.label160 = w1111; w1106.Add (w1111); Gtk.Box.BoxChild w1112 = ((Gtk.Box.BoxChild) (w1106 [w1111])); w1112.Position = 2; w1112.Expand = false; w1112.Fill = false; w1112.Padding = ((uint) (5)); // Container child hbox71.Gtk.Box+BoxChild Gtk.ComboBox w1113 = Gtk.ComboBox.NewText (); w1113.Active = 0; w1113.Name = "com_MesIni5"; this.com_MesIni5 = w1113; w1106.Add (w1113); Gtk.Box.BoxChild w1114 = ((Gtk.Box.BoxChild) (w1106 [w1113])); w1114.Position = 3; w1114.Expand = false; w1114.Fill = false; // Container child hbox71.Gtk.Box+BoxChild Gtk.Alignment w1115 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1115.LeftPadding = ((uint) (62)); w1115.Name = "alignment54"; // Container child alignment54.Gtk.Container+ContainerChild Gtk.Label w1116 = new Gtk.Label (); w1116.LabelProp = " Hasta : "; w1116.Name = "label161"; this.label161 = w1116; w1115.Add (w1116); this.alignment54 = w1115; w1106.Add (w1115); Gtk.Box.BoxChild w1118 = ((Gtk.Box.BoxChild) (w1106 [w1115])); w1118.Position = 4; w1118.Expand = false; w1118.Fill = false; // Container child hbox71.Gtk.Box+BoxChild Gtk.SpinButton w1119 = new Gtk.SpinButton (1940, 2020, 1); w1119.Adjustment.PageIncrement = 10; w1119.ClimbRate = 1; w1119.Numeric = true; w1119.Value = 1980; w1119.CanFocus = true; w1119.Name = "sp_AnioFin5"; this.sp_AnioFin5 = w1119; w1106.Add (w1119); Gtk.Box.BoxChild w1120 = ((Gtk.Box.BoxChild) (w1106 [w1119])); w1120.Position = 5; w1120.Expand = false; w1120.Fill = false; // Container child hbox71.Gtk.Box+BoxChild Gtk.Label w1121 = new Gtk.Label (); w1121.LabelProp = "Mes :"; w1121.Name = "label162"; this.label162 = w1121; w1106.Add (w1121); Gtk.Box.BoxChild w1122 = ((Gtk.Box.BoxChild) (w1106 [w1121])); w1122.Position = 6; w1122.Expand = false; w1122.Fill = false; w1122.Padding = ((uint) (5)); // Container child hbox71.Gtk.Box+BoxChild Gtk.ComboBox w1123 = Gtk.ComboBox.NewText (); w1123.Active = 0; w1123.Name = "com_MesFin5"; this.com_MesFin5 = w1123; w1106.Add (w1123); Gtk.Box.BoxChild w1124 = ((Gtk.Box.BoxChild) (w1106 [w1123])); w1124.Position = 7; w1124.Expand = false; w1124.Fill = false; this.hbox71 = w1106; w1099.Add (w1106); Gtk.Box.BoxChild w1125 = ((Gtk.Box.BoxChild) (w1099 [w1106])); w1125.Position = 1; w1125.Expand = false; w1125.Fill = false; // Container child vbox35.Gtk.Box+BoxChild Gtk.HBox w1126 = new Gtk.HBox (); w1126.BorderWidth = ((uint) (1)); w1126.Name = "hbox72"; // Container child hbox72.Gtk.Box+BoxChild Gtk.Label w1127 = new Gtk.Label (); w1127.LabelProp = "Cargo Desempeñado: "; w1127.Name = "label163"; this.label163 = w1127; w1126.Add (w1127); Gtk.Box.BoxChild w1128 = ((Gtk.Box.BoxChild) (w1126 [w1127])); w1128.Position = 0; w1128.Expand = false; w1128.Fill = false; // Container child hbox72.Gtk.Box+BoxChild Gtk.Entry w1129 = new Gtk.Entry (); w1129.IsEditable = true; w1129.WidthChars = 40; w1129.MaxLength = 40; w1129.InvisibleChar = '●'; w1129.CanFocus = true; w1129.Name = "en_Cargo5"; this.en_Cargo5 = w1129; w1126.Add (w1129); Gtk.Box.BoxChild w1130 = ((Gtk.Box.BoxChild) (w1126 [w1129])); w1130.Position = 1; w1130.Expand = false; this.hbox72 = w1126; w1099.Add (w1126); Gtk.Box.BoxChild w1131 = ((Gtk.Box.BoxChild) (w1099 [w1126])); w1131.Position = 2; w1131.Expand = false; w1131.Fill = false; // Container child vbox35.Gtk.Box+BoxChild Gtk.Alignment w1132 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1132.LeftPadding = ((uint) (3)); w1132.BottomPadding = ((uint) (2)); w1132.Name = "alignment55"; // Container child alignment55.Gtk.Container+ContainerChild Gtk.HBox w1133 = new Gtk.HBox (); w1133.Name = "hbox73"; // Container child hbox73.Gtk.Box+BoxChild Gtk.Label w1134 = new Gtk.Label (); w1134.LabelProp = "Funciones\nRealizadas: "; w1134.Name = "label164"; this.label164 = w1134; w1133.Add (w1134); Gtk.Box.BoxChild w1135 = ((Gtk.Box.BoxChild) (w1133 [w1134])); w1135.Position = 0; w1135.Expand = false; w1135.Fill = false; // Container child hbox73.Gtk.Box+BoxChild Gtk.Table w1136 = new Gtk.Table (((uint) (2)), ((uint) (3)), false); w1136.Name = "table11"; // Container child table11.Gtk.Table+TableChild Gtk.Label w1137 = new Gtk.Label (); w1137.LabelProp = "* "; w1137.Name = "label165"; this.label165 = w1137; w1136.Add (w1137); Gtk.Table.TableChild w1138 = ((Gtk.Table.TableChild) (w1136 [w1137])); w1138.LeftAttach = ((uint) (1)); w1138.RightAttach = ((uint) (2)); w1138.XOptions = ((Gtk.AttachOptions) (4)); w1138.YOptions = ((Gtk.AttachOptions) (4)); // Container child table11.Gtk.Table+TableChild Gtk.Entry w1139 = new Gtk.Entry (); w1139.IsEditable = true; w1139.WidthChars = 23; w1139.MaxLength = 40; w1139.InvisibleChar = '●'; w1139.CanFocus = true; w1139.Name = "en_FuncRe54"; this.en_FuncRe54 = w1139; w1136.Add (w1139); Gtk.Table.TableChild w1140 = ((Gtk.Table.TableChild) (w1136 [w1139])); w1140.TopAttach = ((uint) (1)); w1140.BottomAttach = ((uint) (2)); w1140.LeftAttach = ((uint) (2)); w1140.RightAttach = ((uint) (3)); w1140.YOptions = ((Gtk.AttachOptions) (4)); // Container child table11.Gtk.Table+TableChild Gtk.Entry w1141 = new Gtk.Entry (); w1141.IsEditable = true; w1141.WidthChars = 23; w1141.MaxLength = 40; w1141.InvisibleChar = '●'; w1141.CanFocus = true; w1141.Name = "en_FuncRe53"; this.en_FuncRe53 = w1141; w1136.Add (w1141); Gtk.Table.TableChild w1142 = ((Gtk.Table.TableChild) (w1136 [w1141])); w1142.TopAttach = ((uint) (1)); w1142.BottomAttach = ((uint) (2)); w1142.YOptions = ((Gtk.AttachOptions) (4)); // Container child table11.Gtk.Table+TableChild Gtk.Entry w1143 = new Gtk.Entry (); w1143.IsEditable = true; w1143.WidthChars = 23; w1143.MaxLength = 40; w1143.InvisibleChar = '●'; w1143.CanFocus = true; w1143.Name = "en_FuncRe52"; this.en_FuncRe52 = w1143; w1136.Add (w1143); Gtk.Table.TableChild w1144 = ((Gtk.Table.TableChild) (w1136 [w1143])); w1144.LeftAttach = ((uint) (2)); w1144.RightAttach = ((uint) (3)); w1144.YOptions = ((Gtk.AttachOptions) (4)); // Container child table11.Gtk.Table+TableChild Gtk.Entry w1145 = new Gtk.Entry (); w1145.IsEditable = true; w1145.WidthChars = 23; w1145.MaxLength = 40; w1145.InvisibleChar = '●'; w1145.CanFocus = true; w1145.Name = "en_FuncRe51"; this.en_FuncRe51 = w1145; w1136.Add (w1145); Gtk.Table.TableChild w1146 = ((Gtk.Table.TableChild) (w1136 [w1145])); w1146.YOptions = ((Gtk.AttachOptions) (4)); this.table11 = w1136; w1133.Add (w1136); Gtk.Box.BoxChild w1147 = ((Gtk.Box.BoxChild) (w1133 [w1136])); w1147.Position = 1; this.hbox73 = w1133; w1132.Add (w1133); this.alignment55 = w1132; w1099.Add (w1132); Gtk.Box.BoxChild w1149 = ((Gtk.Box.BoxChild) (w1099 [w1132])); w1149.Position = 3; w1149.Expand = false; w1149.Fill = false; this.vbox35 = w1099; w1098.Add (w1099); this.GtkAlignment38 = w1098; w1097.Add (w1098); Gtk.Label w1152 = new Gtk.Label (); w1152.LabelProp = ""; w1152.UseMarkup = true; w1152.Events = ((Gdk.EventMask) (256)); w1152.Name = "GtkLabel50"; this.GtkLabel50 = w1152; w1097.LabelWidget = w1152; this.frame37 = w1097; w1096.Add (w1097); this.alignment53 = w1096; w1095.Add (w1096); Gtk.Label w1155 = new Gtk.Label (); w1155.LabelProp = "5. Experiencia Laboral "; w1155.UseUnderline = true; w1155.Name = "GtkLabel47"; this.GtkLabel47 = w1155; w1095.LabelWidget = w1155; this.expander5 = w1095; w840.Add (w1095); Gtk.Box.BoxChild w1156 = ((Gtk.Box.BoxChild) (w840 [w1095])); w1156.Position = 5; w1156.Expand = false; w1156.Fill = false; this.vbox14 = w840; w839.Add (w840); w838.Add (w839); this.scrolledwindow6 = w838; w136.Add (w838); Gtk.Notebook.NotebookChild w1159 = ((Gtk.Notebook.NotebookChild) (w136 [w838])); w1159.Position = 5; w1159.TabExpand = false; // Notebook tab Gtk.Label w1160 = new Gtk.Label (); w1160.LabelProp = "Experiencia\nLaboral"; w1160.Justify = ((Gtk.Justification) (2)); w1160.Name = "la_ExpLaboral"; this.la_ExpLaboral = w1160; w136.SetTabLabel (w838, w1160); // Container child notebook1.Gtk.Notebook+NotebookChild Gtk.Notebook w1161 = new Gtk.Notebook (); w1161.TabPos = ((Gtk.PositionType) (0)); w1161.CanFocus = true; w1161.Name = "notebook2"; // Container child notebook2.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w1162 = new Gtk.ScrolledWindow (); w1162.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w1162.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w1162.CanFocus = true; w1162.Name = "scrolledwindow8"; // Container child scrolledwindow8.Gtk.Container+ContainerChild Gtk.Viewport w1163 = new Gtk.Viewport (); w1163.ShadowType = ((Gtk.ShadowType) (0)); w1163.Name = "GtkViewport7"; // Container child GtkViewport7.Gtk.Container+ContainerChild Gtk.VBox w1164 = new Gtk.VBox (); w1164.Name = "vbox30"; // Container child vbox30.Gtk.Box+BoxChild Gtk.Alignment w1165 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1165.LeftPadding = ((uint) (10)); w1165.RightPadding = ((uint) (10)); w1165.BottomPadding = ((uint) (5)); w1165.Name = "alignment38"; // Container child alignment38.Gtk.Container+ContainerChild Gtk.Frame w1166 = new Gtk.Frame (); w1166.ShadowType = ((Gtk.ShadowType) (4)); w1166.LabelXalign = 0F; w1166.Name = "frame30"; // Container child frame30.Gtk.Container+ContainerChild Gtk.Alignment w1167 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1167.LeftPadding = ((uint) (12)); w1167.BottomPadding = ((uint) (5)); w1167.Name = "GtkAlignment33"; // Container child GtkAlignment33.Gtk.Container+ContainerChild Gtk.HBox w1168 = new Gtk.HBox (); w1168.Name = "hbox56"; // Container child hbox56.Gtk.Box+BoxChild Gtk.Table w1169 = new Gtk.Table (((uint) (8)), ((uint) (2)), false); w1169.RowSpacing = ((uint) (2)); w1169.BorderWidth = ((uint) (5)); w1169.Name = "table2"; // Container child table2.Gtk.Table+TableChild Gtk.Label w1170 = new Gtk.Label (); w1170.LabelProp = "Trabajo en Equipo (A): "; w1170.Name = "label99"; this.label99 = w1170; w1169.Add (w1170); Gtk.Table.TableChild w1171 = ((Gtk.Table.TableChild) (w1169 [w1170])); w1171.XOptions = ((Gtk.AttachOptions) (4)); w1171.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1172 = new Gtk.Label (); w1172.LabelProp = "Atención al Detalle: "; w1172.Name = "label101"; this.label101 = w1172; w1169.Add (w1172); Gtk.Table.TableChild w1173 = ((Gtk.Table.TableChild) (w1169 [w1172])); w1173.TopAttach = ((uint) (1)); w1173.BottomAttach = ((uint) (2)); w1173.XOptions = ((Gtk.AttachOptions) (4)); w1173.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1174 = new Gtk.Label (); w1174.LabelProp = "Retroalimentación: "; w1174.Name = "label103"; this.label103 = w1174; w1169.Add (w1174); Gtk.Table.TableChild w1175 = ((Gtk.Table.TableChild) (w1169 [w1174])); w1175.TopAttach = ((uint) (2)); w1175.BottomAttach = ((uint) (3)); w1175.XOptions = ((Gtk.AttachOptions) (4)); w1175.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1176 = new Gtk.Entry (); w1176.IsEditable = true; w1176.WidthChars = 5; w1176.MaxLength = 5; w1176.InvisibleChar = '●'; w1176.CanFocus = true; w1176.Name = "en_TrabEqui"; this.en_TrabEqui = w1176; w1169.Add (w1176); Gtk.Table.TableChild w1177 = ((Gtk.Table.TableChild) (w1169 [w1176])); w1177.LeftAttach = ((uint) (1)); w1177.RightAttach = ((uint) (2)); w1177.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1178 = new Gtk.Entry (); w1178.IsEditable = true; w1178.WidthChars = 5; w1178.MaxLength = 5; w1178.InvisibleChar = '●'; w1178.CanFocus = true; w1178.Name = "en_AtenDet"; this.en_AtenDet = w1178; w1169.Add (w1178); Gtk.Table.TableChild w1179 = ((Gtk.Table.TableChild) (w1169 [w1178])); w1179.TopAttach = ((uint) (1)); w1179.BottomAttach = ((uint) (2)); w1179.LeftAttach = ((uint) (1)); w1179.RightAttach = ((uint) (2)); w1179.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1180 = new Gtk.Entry (); w1180.IsEditable = true; w1180.WidthChars = 5; w1180.MaxLength = 5; w1180.InvisibleChar = '●'; w1180.CanFocus = true; w1180.Name = "en_RetroAli"; this.en_RetroAli = w1180; w1169.Add (w1180); Gtk.Table.TableChild w1181 = ((Gtk.Table.TableChild) (w1169 [w1180])); w1181.TopAttach = ((uint) (2)); w1181.BottomAttach = ((uint) (3)); w1181.LeftAttach = ((uint) (1)); w1181.RightAttach = ((uint) (2)); w1181.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1182 = new Gtk.Label (); w1182.LabelProp = "Comunicación Abierta (A): "; w1182.Name = "label106"; this.label106 = w1182; w1169.Add (w1182); Gtk.Table.TableChild w1183 = ((Gtk.Table.TableChild) (w1169 [w1182])); w1183.TopAttach = ((uint) (3)); w1183.BottomAttach = ((uint) (4)); w1183.XOptions = ((Gtk.AttachOptions) (4)); w1183.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1184 = new Gtk.Entry (); w1184.IsEditable = true; w1184.WidthChars = 5; w1184.MaxLength = 5; w1184.InvisibleChar = '●'; w1184.CanFocus = true; w1184.Name = "en_ComAbie"; this.en_ComAbie = w1184; w1169.Add (w1184); Gtk.Table.TableChild w1185 = ((Gtk.Table.TableChild) (w1169 [w1184])); w1185.TopAttach = ((uint) (3)); w1185.BottomAttach = ((uint) (4)); w1185.LeftAttach = ((uint) (1)); w1185.RightAttach = ((uint) (2)); w1185.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1186 = new Gtk.Label (); w1186.LabelProp = "Comunicación Escrita: "; w1186.Name = "label107"; this.label107 = w1186; w1169.Add (w1186); Gtk.Table.TableChild w1187 = ((Gtk.Table.TableChild) (w1169 [w1186])); w1187.TopAttach = ((uint) (4)); w1187.BottomAttach = ((uint) (5)); w1187.XOptions = ((Gtk.AttachOptions) (4)); w1187.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1188 = new Gtk.Entry (); w1188.IsEditable = true; w1188.WidthChars = 5; w1188.MaxLength = 5; w1188.InvisibleChar = '●'; w1188.CanFocus = true; w1188.Name = "en_ComEscr"; this.en_ComEscr = w1188; w1169.Add (w1188); Gtk.Table.TableChild w1189 = ((Gtk.Table.TableChild) (w1169 [w1188])); w1189.TopAttach = ((uint) (4)); w1189.BottomAttach = ((uint) (5)); w1189.LeftAttach = ((uint) (1)); w1189.RightAttach = ((uint) (2)); w1189.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1190 = new Gtk.Label (); w1190.LabelProp = "Planeación (A): "; w1190.Name = "label108"; this.label108 = w1190; w1169.Add (w1190); Gtk.Table.TableChild w1191 = ((Gtk.Table.TableChild) (w1169 [w1190])); w1191.TopAttach = ((uint) (5)); w1191.BottomAttach = ((uint) (6)); w1191.XOptions = ((Gtk.AttachOptions) (4)); w1191.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1192 = new Gtk.Entry (); w1192.IsEditable = true; w1192.WidthChars = 5; w1192.MaxLength = 5; w1192.InvisibleChar = '●'; w1192.CanFocus = true; w1192.Name = "en_Planeacion"; this.en_Planeacion = w1192; w1169.Add (w1192); Gtk.Table.TableChild w1193 = ((Gtk.Table.TableChild) (w1169 [w1192])); w1193.TopAttach = ((uint) (5)); w1193.BottomAttach = ((uint) (6)); w1193.LeftAttach = ((uint) (1)); w1193.RightAttach = ((uint) (2)); w1193.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1194 = new Gtk.Label (); w1194.LabelProp = "Actitud nacia las Normas: "; w1194.Name = "label109"; this.label109 = w1194; w1169.Add (w1194); Gtk.Table.TableChild w1195 = ((Gtk.Table.TableChild) (w1169 [w1194])); w1195.TopAttach = ((uint) (6)); w1195.BottomAttach = ((uint) (7)); w1195.XOptions = ((Gtk.AttachOptions) (4)); w1195.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Label w1196 = new Gtk.Label (); w1196.LabelProp = "Adaptabilidad(A): "; w1196.Name = "label113"; this.label113 = w1196; w1169.Add (w1196); Gtk.Table.TableChild w1197 = ((Gtk.Table.TableChild) (w1169 [w1196])); w1197.TopAttach = ((uint) (7)); w1197.BottomAttach = ((uint) (8)); w1197.XOptions = ((Gtk.AttachOptions) (4)); w1197.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1198 = new Gtk.Entry (); w1198.IsEditable = true; w1198.WidthChars = 5; w1198.MaxLength = 5; w1198.InvisibleChar = '●'; w1198.CanFocus = true; w1198.Name = "en_ActNorma"; this.en_ActNorma = w1198; w1169.Add (w1198); Gtk.Table.TableChild w1199 = ((Gtk.Table.TableChild) (w1169 [w1198])); w1199.TopAttach = ((uint) (6)); w1199.BottomAttach = ((uint) (7)); w1199.LeftAttach = ((uint) (1)); w1199.RightAttach = ((uint) (2)); w1199.YOptions = ((Gtk.AttachOptions) (4)); // Container child table2.Gtk.Table+TableChild Gtk.Entry w1200 = new Gtk.Entry (); w1200.IsEditable = true; w1200.WidthChars = 5; w1200.MaxLength = 5; w1200.InvisibleChar = '●'; w1200.CanFocus = true; w1200.Name = "en_Adapta"; this.en_Adapta = w1200; w1169.Add (w1200); Gtk.Table.TableChild w1201 = ((Gtk.Table.TableChild) (w1169 [w1200])); w1201.TopAttach = ((uint) (7)); w1201.BottomAttach = ((uint) (8)); w1201.LeftAttach = ((uint) (1)); w1201.RightAttach = ((uint) (2)); w1201.YOptions = ((Gtk.AttachOptions) (4)); this.table2 = w1169; w1168.Add (w1169); Gtk.Box.BoxChild w1202 = ((Gtk.Box.BoxChild) (w1168 [w1169])); w1202.Position = 0; w1202.Expand = false; // Container child hbox56.Gtk.Box+BoxChild Gtk.VSeparator w1203 = new Gtk.VSeparator (); w1203.WidthRequest = 37; w1203.Name = "vseparator1"; this.vseparator1 = w1203; w1168.Add (w1203); Gtk.Box.BoxChild w1204 = ((Gtk.Box.BoxChild) (w1168 [w1203])); w1204.Position = 1; w1204.Expand = false; w1204.Fill = false; // Container child hbox56.Gtk.Box+BoxChild Gtk.Table w1205 = new Gtk.Table (((uint) (8)), ((uint) (2)), false); w1205.RowSpacing = ((uint) (2)); w1205.BorderWidth = ((uint) (5)); w1205.Name = "table3"; // Container child table3.Gtk.Table+TableChild Gtk.Label w1206 = new Gtk.Label (); w1206.LabelProp = "Compromiso Laboral: "; w1206.Name = "label100"; this.label100 = w1206; w1205.Add (w1206); Gtk.Table.TableChild w1207 = ((Gtk.Table.TableChild) (w1205 [w1206])); w1207.XOptions = ((Gtk.AttachOptions) (4)); w1207.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1208 = new Gtk.Label (); w1208.LabelProp = "Orientación al Resultado: "; w1208.Name = "label102"; this.label102 = w1208; w1205.Add (w1208); Gtk.Table.TableChild w1209 = ((Gtk.Table.TableChild) (w1205 [w1208])); w1209.TopAttach = ((uint) (1)); w1209.BottomAttach = ((uint) (2)); w1209.XOptions = ((Gtk.AttachOptions) (4)); w1209.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1210 = new Gtk.Label (); w1210.LabelProp = "Disciplina: "; w1210.Name = "label104"; this.label104 = w1210; w1205.Add (w1210); Gtk.Table.TableChild w1211 = ((Gtk.Table.TableChild) (w1205 [w1210])); w1211.TopAttach = ((uint) (2)); w1211.BottomAttach = ((uint) (3)); w1211.XOptions = ((Gtk.AttachOptions) (4)); w1211.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1212 = new Gtk.Entry (); w1212.IsEditable = true; w1212.WidthChars = 5; w1212.MaxLength = 5; w1212.InvisibleChar = '●'; w1212.CanFocus = true; w1212.Name = "en_CompLab"; this.en_CompLab = w1212; w1205.Add (w1212); Gtk.Table.TableChild w1213 = ((Gtk.Table.TableChild) (w1205 [w1212])); w1213.LeftAttach = ((uint) (1)); w1213.RightAttach = ((uint) (2)); w1213.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1214 = new Gtk.Entry (); w1214.IsEditable = true; w1214.WidthChars = 5; w1214.MaxLength = 5; w1214.InvisibleChar = '●'; w1214.CanFocus = true; w1214.Name = "en_OrieRes"; this.en_OrieRes = w1214; w1205.Add (w1214); Gtk.Table.TableChild w1215 = ((Gtk.Table.TableChild) (w1205 [w1214])); w1215.TopAttach = ((uint) (1)); w1215.BottomAttach = ((uint) (2)); w1215.LeftAttach = ((uint) (1)); w1215.RightAttach = ((uint) (2)); w1215.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1216 = new Gtk.Entry (); w1216.IsEditable = true; w1216.WidthChars = 5; w1216.MaxLength = 5; w1216.InvisibleChar = '●'; w1216.CanFocus = true; w1216.Name = "en_Disciplina"; this.en_Disciplina = w1216; w1205.Add (w1216); Gtk.Table.TableChild w1217 = ((Gtk.Table.TableChild) (w1205 [w1216])); w1217.TopAttach = ((uint) (2)); w1217.BottomAttach = ((uint) (3)); w1217.LeftAttach = ((uint) (1)); w1217.RightAttach = ((uint) (2)); w1217.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1218 = new Gtk.Label (); w1218.LabelProp = "Habilidad Social (A): "; w1218.Name = "label110"; this.label110 = w1218; w1205.Add (w1218); Gtk.Table.TableChild w1219 = ((Gtk.Table.TableChild) (w1205 [w1218])); w1219.TopAttach = ((uint) (3)); w1219.BottomAttach = ((uint) (4)); w1219.XOptions = ((Gtk.AttachOptions) (4)); w1219.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1220 = new Gtk.Label (); w1220.LabelProp = "Sentido de Urgencia: "; w1220.Name = "label111"; this.label111 = w1220; w1205.Add (w1220); Gtk.Table.TableChild w1221 = ((Gtk.Table.TableChild) (w1205 [w1220])); w1221.TopAttach = ((uint) (4)); w1221.BottomAttach = ((uint) (5)); w1221.XOptions = ((Gtk.AttachOptions) (4)); w1221.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1222 = new Gtk.Entry (); w1222.IsEditable = true; w1222.WidthChars = 5; w1222.MaxLength = 5; w1222.InvisibleChar = '●'; w1222.CanFocus = true; w1222.Name = "en_HabSoc"; this.en_HabSoc = w1222; w1205.Add (w1222); Gtk.Table.TableChild w1223 = ((Gtk.Table.TableChild) (w1205 [w1222])); w1223.TopAttach = ((uint) (3)); w1223.BottomAttach = ((uint) (4)); w1223.LeftAttach = ((uint) (1)); w1223.RightAttach = ((uint) (2)); w1223.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1224 = new Gtk.Entry (); w1224.IsEditable = true; w1224.WidthChars = 5; w1224.MaxLength = 5; w1224.InvisibleChar = '●'; w1224.CanFocus = true; w1224.Name = "en_SenUrge"; this.en_SenUrge = w1224; w1205.Add (w1224); Gtk.Table.TableChild w1225 = ((Gtk.Table.TableChild) (w1205 [w1224])); w1225.TopAttach = ((uint) (4)); w1225.BottomAttach = ((uint) (5)); w1225.LeftAttach = ((uint) (1)); w1225.RightAttach = ((uint) (2)); w1225.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1226 = new Gtk.Label (); w1226.LabelProp = "Autocontrol: "; w1226.Name = "label112"; this.label112 = w1226; w1205.Add (w1226); Gtk.Table.TableChild w1227 = ((Gtk.Table.TableChild) (w1205 [w1226])); w1227.TopAttach = ((uint) (5)); w1227.BottomAttach = ((uint) (6)); w1227.XOptions = ((Gtk.AttachOptions) (4)); w1227.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Label w1228 = new Gtk.Label (); w1228.LabelProp = "Análisis Numérico: "; w1228.Name = "label118"; this.label118 = w1228; w1205.Add (w1228); Gtk.Table.TableChild w1229 = ((Gtk.Table.TableChild) (w1205 [w1228])); w1229.TopAttach = ((uint) (6)); w1229.BottomAttach = ((uint) (7)); w1229.XOptions = ((Gtk.AttachOptions) (4)); w1229.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1230 = new Gtk.Entry (); w1230.IsEditable = true; w1230.WidthChars = 5; w1230.MaxLength = 5; w1230.InvisibleChar = '●'; w1230.CanFocus = true; w1230.Name = "en_AutoCon"; this.en_AutoCon = w1230; w1205.Add (w1230); Gtk.Table.TableChild w1231 = ((Gtk.Table.TableChild) (w1205 [w1230])); w1231.TopAttach = ((uint) (5)); w1231.BottomAttach = ((uint) (6)); w1231.LeftAttach = ((uint) (1)); w1231.RightAttach = ((uint) (2)); w1231.YOptions = ((Gtk.AttachOptions) (4)); // Container child table3.Gtk.Table+TableChild Gtk.Entry w1232 = new Gtk.Entry (); w1232.IsEditable = true; w1232.WidthChars = 5; w1232.MaxLength = 5; w1232.InvisibleChar = '●'; w1232.CanFocus = true; w1232.Name = "en_AnaNum"; this.en_AnaNum = w1232; w1205.Add (w1232); Gtk.Table.TableChild w1233 = ((Gtk.Table.TableChild) (w1205 [w1232])); w1233.TopAttach = ((uint) (6)); w1233.BottomAttach = ((uint) (7)); w1233.LeftAttach = ((uint) (1)); w1233.RightAttach = ((uint) (2)); w1233.YOptions = ((Gtk.AttachOptions) (4)); this.table3 = w1205; w1168.Add (w1205); Gtk.Box.BoxChild w1234 = ((Gtk.Box.BoxChild) (w1168 [w1205])); w1234.Position = 2; w1234.Expand = false; this.hbox56 = w1168; w1167.Add (w1168); this.GtkAlignment33 = w1167; w1166.Add (w1167); Gtk.Label w1237 = new Gtk.Label (); w1237.LabelProp = "<b>Gestión 360:</b>"; w1237.UseMarkup = true; w1237.Xpad = 8; w1237.Events = ((Gdk.EventMask) (256)); w1237.Name = "GtkLabel40"; this.GtkLabel40 = w1237; w1166.LabelWidget = w1237; this.frame30 = w1166; w1165.Add (w1166); this.alignment38 = w1165; w1164.Add (w1165); Gtk.Box.BoxChild w1239 = ((Gtk.Box.BoxChild) (w1164 [w1165])); w1239.Position = 0; w1239.Expand = false; w1239.Fill = false; this.vbox30 = w1164; w1163.Add (w1164); w1162.Add (w1163); this.scrolledwindow8 = w1162; w1161.Add (w1162); Gtk.Notebook.NotebookChild w1242 = ((Gtk.Notebook.NotebookChild) (w1161 [w1162])); w1242.TabExpand = false; // Notebook tab Gtk.Label w1243 = new Gtk.Label (); w1243.LabelProp = "Competencia\nLaborales"; w1243.Justify = ((Gtk.Justification) (2)); w1243.Name = "la_CompLabo"; this.la_CompLabo = w1243; w1161.SetTabLabel (w1162, w1243); // Container child notebook2.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w1244 = new Gtk.ScrolledWindow (); w1244.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w1244.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w1244.CanFocus = true; w1244.Name = "scrolledwindow9"; // Container child scrolledwindow9.Gtk.Container+ContainerChild Gtk.Viewport w1245 = new Gtk.Viewport (); w1245.ShadowType = ((Gtk.ShadowType) (0)); w1245.Name = "GtkViewport8"; // Container child GtkViewport8.Gtk.Container+ContainerChild Gtk.VBox w1246 = new Gtk.VBox (); w1246.Name = "vbox34"; // Container child vbox34.Gtk.Box+BoxChild Gtk.Alignment w1247 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1247.LeftPadding = ((uint) (10)); w1247.RightPadding = ((uint) (10)); w1247.BottomPadding = ((uint) (5)); w1247.Name = "alignment39"; // Container child alignment39.Gtk.Container+ContainerChild Gtk.Frame w1248 = new Gtk.Frame (); w1248.ShadowType = ((Gtk.ShadowType) (4)); w1248.LabelXalign = 0F; w1248.Name = "frame31"; // Container child frame31.Gtk.Container+ContainerChild Gtk.Alignment w1249 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1249.LeftPadding = ((uint) (12)); w1249.BottomPadding = ((uint) (5)); w1249.Name = "GtkAlignment34"; // Container child GtkAlignment34.Gtk.Container+ContainerChild Gtk.HBox w1250 = new Gtk.HBox (); w1250.Name = "hbox57"; // Container child hbox57.Gtk.Box+BoxChild Gtk.Table w1251 = new Gtk.Table (((uint) (6)), ((uint) (2)), false); w1251.RowSpacing = ((uint) (2)); w1251.BorderWidth = ((uint) (5)); w1251.Name = "table4"; // Container child table4.Gtk.Table+TableChild Gtk.Entry w1252 = new Gtk.Entry (); w1252.IsEditable = true; w1252.WidthChars = 5; w1252.MaxLength = 5; w1252.InvisibleChar = '●'; w1252.CanFocus = true; w1252.Name = "en_Obedie"; this.en_Obedie = w1252; w1251.Add (w1252); Gtk.Table.TableChild w1253 = ((Gtk.Table.TableChild) (w1251 [w1252])); w1253.TopAttach = ((uint) (5)); w1253.BottomAttach = ((uint) (6)); w1253.LeftAttach = ((uint) (1)); w1253.RightAttach = ((uint) (2)); w1253.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Entry w1254 = new Gtk.Entry (); w1254.IsEditable = true; w1254.WidthChars = 5; w1254.MaxLength = 5; w1254.InvisibleChar = '●'; w1254.CanFocus = true; w1254.Name = "en_Ambicion"; this.en_Ambicion = w1254; w1251.Add (w1254); Gtk.Table.TableChild w1255 = ((Gtk.Table.TableChild) (w1251 [w1254])); w1255.TopAttach = ((uint) (4)); w1255.BottomAttach = ((uint) (5)); w1255.LeftAttach = ((uint) (1)); w1255.RightAttach = ((uint) (2)); w1255.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Entry w1256 = new Gtk.Entry (); w1256.IsEditable = true; w1256.WidthChars = 5; w1256.MaxLength = 5; w1256.InvisibleChar = '●'; w1256.CanFocus = true; w1256.Name = "en_Libertad"; this.en_Libertad = w1256; w1251.Add (w1256); Gtk.Table.TableChild w1257 = ((Gtk.Table.TableChild) (w1251 [w1256])); w1257.TopAttach = ((uint) (3)); w1257.BottomAttach = ((uint) (4)); w1257.LeftAttach = ((uint) (1)); w1257.RightAttach = ((uint) (2)); w1257.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Entry w1258 = new Gtk.Entry (); w1258.IsEditable = true; w1258.WidthChars = 5; w1258.MaxLength = 5; w1258.InvisibleChar = '●'; w1258.CanFocus = true; w1258.Name = "en_RealPers"; this.en_RealPers = w1258; w1251.Add (w1258); Gtk.Table.TableChild w1259 = ((Gtk.Table.TableChild) (w1251 [w1258])); w1259.TopAttach = ((uint) (2)); w1259.BottomAttach = ((uint) (3)); w1259.LeftAttach = ((uint) (1)); w1259.RightAttach = ((uint) (2)); w1259.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1260 = new Gtk.Label (); w1260.LabelProp = "6. Obediencia (VI): "; w1260.Name = "label128"; this.label128 = w1260; w1251.Add (w1260); Gtk.Table.TableChild w1261 = ((Gtk.Table.TableChild) (w1251 [w1260])); w1261.TopAttach = ((uint) (5)); w1261.BottomAttach = ((uint) (6)); w1261.XOptions = ((Gtk.AttachOptions) (4)); w1261.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1262 = new Gtk.Label (); w1262.LabelProp = "5. Ambición (VI): "; w1262.Name = "label126"; this.label126 = w1262; w1251.Add (w1262); Gtk.Table.TableChild w1263 = ((Gtk.Table.TableChild) (w1251 [w1262])); w1263.TopAttach = ((uint) (4)); w1263.BottomAttach = ((uint) (5)); w1263.XOptions = ((Gtk.AttachOptions) (4)); w1263.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1264 = new Gtk.Label (); w1264.LabelProp = "4. Libertad (VF): "; w1264.Name = "label124"; this.label124 = w1264; w1251.Add (w1264); Gtk.Table.TableChild w1265 = ((Gtk.Table.TableChild) (w1251 [w1264])); w1265.TopAttach = ((uint) (3)); w1265.BottomAttach = ((uint) (4)); w1265.XOptions = ((Gtk.AttachOptions) (4)); w1265.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1266 = new Gtk.Label (); w1266.LabelProp = "3. Realización Personal (VF): "; w1266.Name = "label123"; this.label123 = w1266; w1251.Add (w1266); Gtk.Table.TableChild w1267 = ((Gtk.Table.TableChild) (w1251 [w1266])); w1267.TopAttach = ((uint) (2)); w1267.BottomAttach = ((uint) (3)); w1267.XOptions = ((Gtk.AttachOptions) (4)); w1267.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1268 = new Gtk.Label (); w1268.LabelProp = "1. Igualdad (VF): "; w1268.Name = "label133"; this.label133 = w1268; w1251.Add (w1268); Gtk.Table.TableChild w1269 = ((Gtk.Table.TableChild) (w1251 [w1268])); w1269.XOptions = ((Gtk.AttachOptions) (4)); w1269.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Entry w1270 = new Gtk.Entry (); w1270.IsEditable = true; w1270.WidthChars = 5; w1270.MaxLength = 5; w1270.InvisibleChar = '●'; w1270.CanFocus = true; w1270.Name = "en_Igualdad"; this.en_Igualdad = w1270; w1251.Add (w1270); Gtk.Table.TableChild w1271 = ((Gtk.Table.TableChild) (w1251 [w1270])); w1271.LeftAttach = ((uint) (1)); w1271.RightAttach = ((uint) (2)); w1271.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Label w1272 = new Gtk.Label (); w1272.LabelProp = "2. Responsabilidad (VI): "; w1272.Name = "label120"; this.label120 = w1272; w1251.Add (w1272); Gtk.Table.TableChild w1273 = ((Gtk.Table.TableChild) (w1251 [w1272])); w1273.TopAttach = ((uint) (1)); w1273.BottomAttach = ((uint) (2)); w1273.XOptions = ((Gtk.AttachOptions) (4)); w1273.YOptions = ((Gtk.AttachOptions) (4)); // Container child table4.Gtk.Table+TableChild Gtk.Entry w1274 = new Gtk.Entry (); w1274.IsEditable = true; w1274.WidthChars = 5; w1274.MaxLength = 5; w1274.InvisibleChar = '●'; w1274.CanFocus = true; w1274.Name = "en_Respons"; this.en_Respons = w1274; w1251.Add (w1274); Gtk.Table.TableChild w1275 = ((Gtk.Table.TableChild) (w1251 [w1274])); w1275.TopAttach = ((uint) (1)); w1275.BottomAttach = ((uint) (2)); w1275.LeftAttach = ((uint) (1)); w1275.RightAttach = ((uint) (2)); w1275.YOptions = ((Gtk.AttachOptions) (4)); this.table4 = w1251; w1250.Add (w1251); Gtk.Box.BoxChild w1276 = ((Gtk.Box.BoxChild) (w1250 [w1251])); w1276.Position = 0; w1276.Expand = false; // Container child hbox57.Gtk.Box+BoxChild Gtk.VSeparator w1277 = new Gtk.VSeparator (); w1277.Name = "vseparator2"; this.vseparator2 = w1277; w1250.Add (w1277); Gtk.Box.BoxChild w1278 = ((Gtk.Box.BoxChild) (w1250 [w1277])); w1278.Position = 1; w1278.Expand = false; w1278.Fill = false; w1278.Padding = ((uint) (20)); // Container child hbox57.Gtk.Box+BoxChild Gtk.Table w1279 = new Gtk.Table (((uint) (6)), ((uint) (2)), false); w1279.RowSpacing = ((uint) (2)); w1279.BorderWidth = ((uint) (5)); w1279.Name = "table5"; // Container child table5.Gtk.Table+TableChild Gtk.Entry w1280 = new Gtk.Entry (); w1280.IsEditable = true; w1280.WidthChars = 5; w1280.MaxLength = 5; w1280.InvisibleChar = '●'; w1280.CanFocus = true; w1280.Name = "en_ActServ"; this.en_ActServ = w1280; w1279.Add (w1280); Gtk.Table.TableChild w1281 = ((Gtk.Table.TableChild) (w1279 [w1280])); w1281.TopAttach = ((uint) (5)); w1281.BottomAttach = ((uint) (6)); w1281.LeftAttach = ((uint) (1)); w1281.RightAttach = ((uint) (2)); w1281.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Entry w1282 = new Gtk.Entry (); w1282.IsEditable = true; w1282.WidthChars = 5; w1282.MaxLength = 5; w1282.InvisibleChar = '●'; w1282.CanFocus = true; w1282.Name = "en_Indep"; this.en_Indep = w1282; w1279.Add (w1282); Gtk.Table.TableChild w1283 = ((Gtk.Table.TableChild) (w1279 [w1282])); w1283.TopAttach = ((uint) (4)); w1283.BottomAttach = ((uint) (5)); w1283.LeftAttach = ((uint) (1)); w1283.RightAttach = ((uint) (2)); w1283.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Entry w1284 = new Gtk.Entry (); w1284.IsEditable = true; w1284.WidthChars = 5; w1284.MaxLength = 5; w1284.InvisibleChar = '●'; w1284.CanFocus = true; w1284.Name = "en_Honest"; this.en_Honest = w1284; w1279.Add (w1284); Gtk.Table.TableChild w1285 = ((Gtk.Table.TableChild) (w1279 [w1284])); w1285.TopAttach = ((uint) (3)); w1285.BottomAttach = ((uint) (4)); w1285.LeftAttach = ((uint) (1)); w1285.RightAttach = ((uint) (2)); w1285.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Entry w1286 = new Gtk.Entry (); w1286.IsEditable = true; w1286.WidthChars = 5; w1286.MaxLength = 5; w1286.InvisibleChar = '●'; w1286.CanFocus = true; w1286.Name = "en_RecSoc"; this.en_RecSoc = w1286; w1279.Add (w1286); Gtk.Table.TableChild w1287 = ((Gtk.Table.TableChild) (w1279 [w1286])); w1287.TopAttach = ((uint) (2)); w1287.BottomAttach = ((uint) (3)); w1287.LeftAttach = ((uint) (1)); w1287.RightAttach = ((uint) (2)); w1287.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1288 = new Gtk.Label (); w1288.LabelProp = "12. Actitud de Servicio (VI): "; w1288.Name = "label129"; this.label129 = w1288; w1279.Add (w1288); Gtk.Table.TableChild w1289 = ((Gtk.Table.TableChild) (w1279 [w1288])); w1289.TopAttach = ((uint) (5)); w1289.BottomAttach = ((uint) (6)); w1289.XOptions = ((Gtk.AttachOptions) (4)); w1289.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1290 = new Gtk.Label (); w1290.LabelProp = "11. Independencia (VI): "; w1290.Name = "label127"; this.label127 = w1290; w1279.Add (w1290); Gtk.Table.TableChild w1291 = ((Gtk.Table.TableChild) (w1279 [w1290])); w1291.TopAttach = ((uint) (4)); w1291.BottomAttach = ((uint) (5)); w1291.XOptions = ((Gtk.AttachOptions) (4)); w1291.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1292 = new Gtk.Label (); w1292.LabelProp = "10. Honestidad (VI): "; w1292.Name = "label125"; this.label125 = w1292; w1279.Add (w1292); Gtk.Table.TableChild w1293 = ((Gtk.Table.TableChild) (w1279 [w1292])); w1293.TopAttach = ((uint) (3)); w1293.BottomAttach = ((uint) (4)); w1293.XOptions = ((Gtk.AttachOptions) (4)); w1293.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1294 = new Gtk.Label (); w1294.LabelProp = "9. Reconocimiento Social (VF): "; w1294.Name = "label152"; this.label152 = w1294; w1279.Add (w1294); Gtk.Table.TableChild w1295 = ((Gtk.Table.TableChild) (w1279 [w1294])); w1295.TopAttach = ((uint) (2)); w1295.BottomAttach = ((uint) (3)); w1295.XOptions = ((Gtk.AttachOptions) (4)); w1295.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Entry w1296 = new Gtk.Entry (); w1296.IsEditable = true; w1296.WidthChars = 5; w1296.MaxLength = 5; w1296.InvisibleChar = '●'; w1296.CanFocus = true; w1296.Name = "en_LogRac"; this.en_LogRac = w1296; w1279.Add (w1296); Gtk.Table.TableChild w1297 = ((Gtk.Table.TableChild) (w1279 [w1296])); w1297.TopAttach = ((uint) (1)); w1297.BottomAttach = ((uint) (2)); w1297.LeftAttach = ((uint) (1)); w1297.RightAttach = ((uint) (2)); w1297.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1298 = new Gtk.Label (); w1298.LabelProp = "8. Lógica Racional (VI): "; w1298.Name = "label121"; this.label121 = w1298; w1279.Add (w1298); Gtk.Table.TableChild w1299 = ((Gtk.Table.TableChild) (w1279 [w1298])); w1299.TopAttach = ((uint) (1)); w1299.BottomAttach = ((uint) (2)); w1299.XOptions = ((Gtk.AttachOptions) (4)); w1299.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Entry w1300 = new Gtk.Entry (); w1300.IsEditable = true; w1300.WidthChars = 5; w1300.MaxLength = 5; w1300.InvisibleChar = '●'; w1300.CanFocus = true; w1300.Name = "en_Tolerancia"; this.en_Tolerancia = w1300; w1279.Add (w1300); Gtk.Table.TableChild w1301 = ((Gtk.Table.TableChild) (w1279 [w1300])); w1301.LeftAttach = ((uint) (1)); w1301.RightAttach = ((uint) (2)); w1301.YOptions = ((Gtk.AttachOptions) (4)); // Container child table5.Gtk.Table+TableChild Gtk.Label w1302 = new Gtk.Label (); w1302.LabelProp = "7. Tolerancia (VI): "; w1302.Name = "label119"; this.label119 = w1302; w1279.Add (w1302); Gtk.Table.TableChild w1303 = ((Gtk.Table.TableChild) (w1279 [w1302])); w1303.XOptions = ((Gtk.AttachOptions) (4)); w1303.YOptions = ((Gtk.AttachOptions) (4)); this.table5 = w1279; w1250.Add (w1279); Gtk.Box.BoxChild w1304 = ((Gtk.Box.BoxChild) (w1250 [w1279])); w1304.Position = 2; w1304.Expand = false; this.hbox57 = w1250; w1249.Add (w1250); this.GtkAlignment34 = w1249; w1248.Add (w1249); Gtk.Label w1307 = new Gtk.Label (); w1307.LabelProp = "<b>Eva:</b>"; w1307.UseMarkup = true; w1307.Xpad = 8; w1307.Events = ((Gdk.EventMask) (256)); w1307.Name = "GtkLabel41"; this.GtkLabel41 = w1307; w1248.LabelWidget = w1307; this.frame31 = w1248; w1247.Add (w1248); this.alignment39 = w1247; w1246.Add (w1247); Gtk.Box.BoxChild w1309 = ((Gtk.Box.BoxChild) (w1246 [w1247])); w1309.Position = 0; w1309.Expand = false; w1309.Fill = false; this.vbox34 = w1246; w1245.Add (w1246); w1244.Add (w1245); this.scrolledwindow9 = w1244; w1161.Add (w1244); Gtk.Notebook.NotebookChild w1312 = ((Gtk.Notebook.NotebookChild) (w1161 [w1244])); w1312.Position = 1; w1312.TabExpand = false; // Notebook tab Gtk.Label w1313 = new Gtk.Label (); w1313.LabelProp = "Valores"; w1313.Justify = ((Gtk.Justification) (2)); w1313.Ypad = 6; w1313.Name = "la_valores"; this.la_valores = w1313; w1161.SetTabLabel (w1244, w1313); // Container child notebook2.Gtk.Notebook+NotebookChild Gtk.ScrolledWindow w1314 = new Gtk.ScrolledWindow (); w1314.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w1314.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w1314.CanFocus = true; w1314.Name = "scrolledwindow10"; // Container child scrolledwindow10.Gtk.Container+ContainerChild Gtk.Viewport w1315 = new Gtk.Viewport (); w1315.ShadowType = ((Gtk.ShadowType) (0)); w1315.Name = "GtkViewport9"; // Container child GtkViewport9.Gtk.Container+ContainerChild Gtk.VBox w1316 = new Gtk.VBox (); w1316.Name = "vbox36"; // Container child vbox36.Gtk.Box+BoxChild Gtk.Alignment w1317 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1317.LeftPadding = ((uint) (10)); w1317.RightPadding = ((uint) (10)); w1317.BottomPadding = ((uint) (5)); w1317.Name = "alignment40"; // Container child alignment40.Gtk.Container+ContainerChild Gtk.Frame w1318 = new Gtk.Frame (); w1318.ShadowType = ((Gtk.ShadowType) (4)); w1318.LabelXalign = 0F; w1318.Name = "frame32"; // Container child frame32.Gtk.Container+ContainerChild Gtk.Alignment w1319 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1319.LeftPadding = ((uint) (12)); w1319.BottomPadding = ((uint) (5)); w1319.Name = "GtkAlignment35"; // Container child GtkAlignment35.Gtk.Container+ContainerChild Gtk.HBox w1320 = new Gtk.HBox (); w1320.Name = "hbox58"; // Container child hbox58.Gtk.Box+BoxChild Gtk.Table w1321 = new Gtk.Table (((uint) (11)), ((uint) (2)), false); w1321.RowSpacing = ((uint) (2)); w1321.BorderWidth = ((uint) (5)); w1321.Name = "table6"; // Container child table6.Gtk.Table+TableChild Gtk.Label w1322 = new Gtk.Label (); w1322.LabelProp = "A. Reservada/Abierta: "; w1322.Name = "label134"; this.label134 = w1322; w1321.Add (w1322); Gtk.Table.TableChild w1323 = ((Gtk.Table.TableChild) (w1321 [w1322])); w1323.XOptions = ((Gtk.AttachOptions) (4)); w1323.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1324 = new Gtk.Entry (); w1324.IsEditable = true; w1324.WidthChars = 5; w1324.MaxLength = 5; w1324.InvisibleChar = '●'; w1324.CanFocus = true; w1324.Name = "en_ResAbie"; this.en_ResAbie = w1324; w1321.Add (w1324); Gtk.Table.TableChild w1325 = ((Gtk.Table.TableChild) (w1321 [w1324])); w1325.LeftAttach = ((uint) (1)); w1325.RightAttach = ((uint) (2)); w1325.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1326 = new Gtk.Label (); w1326.LabelProp = "B. Razonam.Concreto/Abstracto: "; w1326.Name = "label131"; this.label131 = w1326; w1321.Add (w1326); Gtk.Table.TableChild w1327 = ((Gtk.Table.TableChild) (w1321 [w1326])); w1327.TopAttach = ((uint) (1)); w1327.BottomAttach = ((uint) (2)); w1327.XOptions = ((Gtk.AttachOptions) (4)); w1327.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1328 = new Gtk.Label (); w1328.LabelProp = "C. Inestabilidad/Estab. Emocional: "; w1328.Name = "label135"; this.label135 = w1328; w1321.Add (w1328); Gtk.Table.TableChild w1329 = ((Gtk.Table.TableChild) (w1321 [w1328])); w1329.TopAttach = ((uint) (2)); w1329.BottomAttach = ((uint) (3)); w1329.XOptions = ((Gtk.AttachOptions) (4)); w1329.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1330 = new Gtk.Label (); w1330.LabelProp = "E. Sumisa/Dominante: "; w1330.Name = "label137"; this.label137 = w1330; w1321.Add (w1330); Gtk.Table.TableChild w1331 = ((Gtk.Table.TableChild) (w1321 [w1330])); w1331.TopAttach = ((uint) (3)); w1331.BottomAttach = ((uint) (4)); w1331.XOptions = ((Gtk.AttachOptions) (4)); w1331.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1332 = new Gtk.Label (); w1332.LabelProp = "F. Prudente/Impulsiva: "; w1332.Name = "label139"; this.label139 = w1332; w1321.Add (w1332); Gtk.Table.TableChild w1333 = ((Gtk.Table.TableChild) (w1321 [w1332])); w1333.TopAttach = ((uint) (4)); w1333.BottomAttach = ((uint) (5)); w1333.XOptions = ((Gtk.AttachOptions) (4)); w1333.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1334 = new Gtk.Label (); w1334.LabelProp = "G. Despreocupada/Escrupulosa: "; w1334.Name = "label141"; this.label141 = w1334; w1321.Add (w1334); Gtk.Table.TableChild w1335 = ((Gtk.Table.TableChild) (w1321 [w1334])); w1335.TopAttach = ((uint) (5)); w1335.BottomAttach = ((uint) (6)); w1335.XOptions = ((Gtk.AttachOptions) (4)); w1335.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1336 = new Gtk.Label (); w1336.LabelProp = "H. Tímida/Espontanea: "; w1336.Name = "label143"; this.label143 = w1336; w1321.Add (w1336); Gtk.Table.TableChild w1337 = ((Gtk.Table.TableChild) (w1321 [w1336])); w1337.TopAttach = ((uint) (6)); w1337.BottomAttach = ((uint) (7)); w1337.XOptions = ((Gtk.AttachOptions) (4)); w1337.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1338 = new Gtk.Label (); w1338.LabelProp = "M. Práctica/Soñadora: "; w1338.Name = "label145"; this.label145 = w1338; w1321.Add (w1338); Gtk.Table.TableChild w1339 = ((Gtk.Table.TableChild) (w1321 [w1338])); w1339.TopAttach = ((uint) (7)); w1339.BottomAttach = ((uint) (8)); w1339.XOptions = ((Gtk.AttachOptions) (4)); w1339.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1340 = new Gtk.Label (); w1340.LabelProp = "N. Sencilla/Astuta: "; w1340.Name = "label147"; this.label147 = w1340; w1321.Add (w1340); Gtk.Table.TableChild w1341 = ((Gtk.Table.TableChild) (w1321 [w1340])); w1341.TopAttach = ((uint) (8)); w1341.BottomAttach = ((uint) (9)); w1341.XOptions = ((Gtk.AttachOptions) (4)); w1341.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1342 = new Gtk.Label (); w1342.LabelProp = "O. Segura/insegura: "; w1342.Name = "label149"; this.label149 = w1342; w1321.Add (w1342); Gtk.Table.TableChild w1343 = ((Gtk.Table.TableChild) (w1321 [w1342])); w1343.TopAttach = ((uint) (9)); w1343.BottomAttach = ((uint) (10)); w1343.XOptions = ((Gtk.AttachOptions) (4)); w1343.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Label w1344 = new Gtk.Label (); w1344.LabelProp = "Q1. Tradicionalista/Innovadora: "; w1344.Name = "label151"; this.label151 = w1344; w1321.Add (w1344); Gtk.Table.TableChild w1345 = ((Gtk.Table.TableChild) (w1321 [w1344])); w1345.TopAttach = ((uint) (10)); w1345.BottomAttach = ((uint) (11)); w1345.XOptions = ((Gtk.AttachOptions) (4)); w1345.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1346 = new Gtk.Entry (); w1346.IsEditable = true; w1346.WidthChars = 5; w1346.MaxLength = 5; w1346.InvisibleChar = '●'; w1346.CanFocus = true; w1346.Name = "en_Razona"; this.en_Razona = w1346; w1321.Add (w1346); Gtk.Table.TableChild w1347 = ((Gtk.Table.TableChild) (w1321 [w1346])); w1347.TopAttach = ((uint) (1)); w1347.BottomAttach = ((uint) (2)); w1347.LeftAttach = ((uint) (1)); w1347.RightAttach = ((uint) (2)); w1347.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1348 = new Gtk.Entry (); w1348.IsEditable = true; w1348.WidthChars = 5; w1348.MaxLength = 5; w1348.InvisibleChar = '●'; w1348.CanFocus = true; w1348.Name = "en_InesEst"; this.en_InesEst = w1348; w1321.Add (w1348); Gtk.Table.TableChild w1349 = ((Gtk.Table.TableChild) (w1321 [w1348])); w1349.TopAttach = ((uint) (2)); w1349.BottomAttach = ((uint) (3)); w1349.LeftAttach = ((uint) (1)); w1349.RightAttach = ((uint) (2)); w1349.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1350 = new Gtk.Entry (); w1350.IsEditable = true; w1350.WidthChars = 5; w1350.MaxLength = 5; w1350.InvisibleChar = '●'; w1350.CanFocus = true; w1350.Name = "en_SumDom"; this.en_SumDom = w1350; w1321.Add (w1350); Gtk.Table.TableChild w1351 = ((Gtk.Table.TableChild) (w1321 [w1350])); w1351.TopAttach = ((uint) (3)); w1351.BottomAttach = ((uint) (4)); w1351.LeftAttach = ((uint) (1)); w1351.RightAttach = ((uint) (2)); w1351.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1352 = new Gtk.Entry (); w1352.IsEditable = true; w1352.WidthChars = 5; w1352.MaxLength = 5; w1352.InvisibleChar = '●'; w1352.CanFocus = true; w1352.Name = "en_PrudImp"; this.en_PrudImp = w1352; w1321.Add (w1352); Gtk.Table.TableChild w1353 = ((Gtk.Table.TableChild) (w1321 [w1352])); w1353.TopAttach = ((uint) (4)); w1353.BottomAttach = ((uint) (5)); w1353.LeftAttach = ((uint) (1)); w1353.RightAttach = ((uint) (2)); w1353.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1354 = new Gtk.Entry (); w1354.IsEditable = true; w1354.WidthChars = 5; w1354.MaxLength = 5; w1354.InvisibleChar = '●'; w1354.CanFocus = true; w1354.Name = "en_DesEsc"; this.en_DesEsc = w1354; w1321.Add (w1354); Gtk.Table.TableChild w1355 = ((Gtk.Table.TableChild) (w1321 [w1354])); w1355.TopAttach = ((uint) (5)); w1355.BottomAttach = ((uint) (6)); w1355.LeftAttach = ((uint) (1)); w1355.RightAttach = ((uint) (2)); w1355.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1356 = new Gtk.Entry (); w1356.IsEditable = true; w1356.WidthChars = 5; w1356.MaxLength = 5; w1356.InvisibleChar = '●'; w1356.CanFocus = true; w1356.Name = "en_TimEsp"; this.en_TimEsp = w1356; w1321.Add (w1356); Gtk.Table.TableChild w1357 = ((Gtk.Table.TableChild) (w1321 [w1356])); w1357.TopAttach = ((uint) (6)); w1357.BottomAttach = ((uint) (7)); w1357.LeftAttach = ((uint) (1)); w1357.RightAttach = ((uint) (2)); w1357.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1358 = new Gtk.Entry (); w1358.IsEditable = true; w1358.WidthChars = 5; w1358.MaxLength = 5; w1358.InvisibleChar = '●'; w1358.CanFocus = true; w1358.Name = "en_PracSonia"; this.en_PracSonia = w1358; w1321.Add (w1358); Gtk.Table.TableChild w1359 = ((Gtk.Table.TableChild) (w1321 [w1358])); w1359.TopAttach = ((uint) (7)); w1359.BottomAttach = ((uint) (8)); w1359.LeftAttach = ((uint) (1)); w1359.RightAttach = ((uint) (2)); w1359.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1360 = new Gtk.Entry (); w1360.IsEditable = true; w1360.WidthChars = 5; w1360.MaxLength = 5; w1360.InvisibleChar = '●'; w1360.CanFocus = true; w1360.Name = "en_SencAst"; this.en_SencAst = w1360; w1321.Add (w1360); Gtk.Table.TableChild w1361 = ((Gtk.Table.TableChild) (w1321 [w1360])); w1361.TopAttach = ((uint) (8)); w1361.BottomAttach = ((uint) (9)); w1361.LeftAttach = ((uint) (1)); w1361.RightAttach = ((uint) (2)); w1361.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1362 = new Gtk.Entry (); w1362.IsEditable = true; w1362.WidthChars = 5; w1362.MaxLength = 5; w1362.InvisibleChar = '●'; w1362.CanFocus = true; w1362.Name = "en_SegInseg"; this.en_SegInseg = w1362; w1321.Add (w1362); Gtk.Table.TableChild w1363 = ((Gtk.Table.TableChild) (w1321 [w1362])); w1363.TopAttach = ((uint) (9)); w1363.BottomAttach = ((uint) (10)); w1363.LeftAttach = ((uint) (1)); w1363.RightAttach = ((uint) (2)); w1363.YOptions = ((Gtk.AttachOptions) (4)); // Container child table6.Gtk.Table+TableChild Gtk.Entry w1364 = new Gtk.Entry (); w1364.IsEditable = true; w1364.WidthChars = 5; w1364.MaxLength = 5; w1364.InvisibleChar = '●'; w1364.CanFocus = true; w1364.Name = "en_TradInno"; this.en_TradInno = w1364; w1321.Add (w1364); Gtk.Table.TableChild w1365 = ((Gtk.Table.TableChild) (w1321 [w1364])); w1365.TopAttach = ((uint) (10)); w1365.BottomAttach = ((uint) (11)); w1365.LeftAttach = ((uint) (1)); w1365.RightAttach = ((uint) (2)); w1365.YOptions = ((Gtk.AttachOptions) (4)); this.table6 = w1321; w1320.Add (w1321); Gtk.Box.BoxChild w1366 = ((Gtk.Box.BoxChild) (w1320 [w1321])); w1366.Position = 0; w1366.Expand = false; // Container child hbox58.Gtk.Box+BoxChild Gtk.VSeparator w1367 = new Gtk.VSeparator (); w1367.WidthRequest = 20; w1367.Name = "vseparator3"; this.vseparator3 = w1367; w1320.Add (w1367); Gtk.Box.BoxChild w1368 = ((Gtk.Box.BoxChild) (w1320 [w1367])); w1368.Position = 1; w1368.Expand = false; w1368.Fill = false; // Container child hbox58.Gtk.Box+BoxChild Gtk.Table w1369 = new Gtk.Table (((uint) (11)), ((uint) (2)), false); w1369.RowSpacing = ((uint) (2)); w1369.BorderWidth = ((uint) (5)); w1369.Name = "table7"; // Container child table7.Gtk.Table+TableChild Gtk.Label w1370 = new Gtk.Label (); w1370.LabelProp = "Q2. Dep. Grupal/Autosuficiente :"; w1370.Name = "label130"; this.label130 = w1370; w1369.Add (w1370); Gtk.Table.TableChild w1371 = ((Gtk.Table.TableChild) (w1369 [w1370])); w1371.XOptions = ((Gtk.AttachOptions) (4)); w1371.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1372 = new Gtk.Label (); w1372.LabelProp = "Q3. Desinhibida/Controlada: "; w1372.Name = "label132"; this.label132 = w1372; w1369.Add (w1372); Gtk.Table.TableChild w1373 = ((Gtk.Table.TableChild) (w1369 [w1372])); w1373.TopAttach = ((uint) (1)); w1373.BottomAttach = ((uint) (2)); w1373.XOptions = ((Gtk.AttachOptions) (4)); w1373.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1374 = new Gtk.Label (); w1374.LabelProp = "Q4. Tranquila/Tensionada: "; w1374.Name = "label136"; this.label136 = w1374; w1369.Add (w1374); Gtk.Table.TableChild w1375 = ((Gtk.Table.TableChild) (w1369 [w1374])); w1375.TopAttach = ((uint) (2)); w1375.BottomAttach = ((uint) (3)); w1375.XOptions = ((Gtk.AttachOptions) (4)); w1375.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1376 = new Gtk.Label (); w1376.LabelProp = "Dm. Distorción Motivacional: "; w1376.Name = "label138"; this.label138 = w1376; w1369.Add (w1376); Gtk.Table.TableChild w1377 = ((Gtk.Table.TableChild) (w1369 [w1376])); w1377.TopAttach = ((uint) (3)); w1377.BottomAttach = ((uint) (4)); w1377.XOptions = ((Gtk.AttachOptions) (4)); w1377.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1378 = new Gtk.Label (); w1378.LabelProp = "Ng. Negación: "; w1378.Name = "label140"; this.label140 = w1378; w1369.Add (w1378); Gtk.Table.TableChild w1379 = ((Gtk.Table.TableChild) (w1369 [w1378])); w1379.TopAttach = ((uint) (4)); w1379.BottomAttach = ((uint) (5)); w1379.XOptions = ((Gtk.AttachOptions) (4)); w1379.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1380 = new Gtk.Label (); w1380.LabelProp = "F1. Ansiedad: "; w1380.Name = "label142"; this.label142 = w1380; w1369.Add (w1380); Gtk.Table.TableChild w1381 = ((Gtk.Table.TableChild) (w1369 [w1380])); w1381.TopAttach = ((uint) (5)); w1381.BottomAttach = ((uint) (6)); w1381.XOptions = ((Gtk.AttachOptions) (4)); w1381.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1382 = new Gtk.Label (); w1382.LabelProp = "F2. Extroversión: "; w1382.Name = "label144"; this.label144 = w1382; w1369.Add (w1382); Gtk.Table.TableChild w1383 = ((Gtk.Table.TableChild) (w1369 [w1382])); w1383.TopAttach = ((uint) (6)); w1383.BottomAttach = ((uint) (7)); w1383.XOptions = ((Gtk.AttachOptions) (4)); w1383.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1384 = new Gtk.Label (); w1384.LabelProp = "F3. Control Social: "; w1384.Name = "label146"; this.label146 = w1384; w1369.Add (w1384); Gtk.Table.TableChild w1385 = ((Gtk.Table.TableChild) (w1369 [w1384])); w1385.TopAttach = ((uint) (7)); w1385.BottomAttach = ((uint) (8)); w1385.XOptions = ((Gtk.AttachOptions) (4)); w1385.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1386 = new Gtk.Label (); w1386.LabelProp = "F4. Independencia: "; w1386.Name = "label148"; this.label148 = w1386; w1369.Add (w1386); Gtk.Table.TableChild w1387 = ((Gtk.Table.TableChild) (w1369 [w1386])); w1387.TopAttach = ((uint) (8)); w1387.BottomAttach = ((uint) (9)); w1387.XOptions = ((Gtk.AttachOptions) (4)); w1387.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Label w1388 = new Gtk.Label (); w1388.LabelProp = "F5. Subjetividad: "; w1388.Name = "label150"; this.label150 = w1388; w1369.Add (w1388); Gtk.Table.TableChild w1389 = ((Gtk.Table.TableChild) (w1369 [w1388])); w1389.TopAttach = ((uint) (9)); w1389.BottomAttach = ((uint) (10)); w1389.XOptions = ((Gtk.AttachOptions) (4)); w1389.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1390 = new Gtk.Entry (); w1390.IsEditable = true; w1390.WidthChars = 5; w1390.MaxLength = 5; w1390.InvisibleChar = '●'; w1390.CanFocus = true; w1390.Name = "en_DepAuto"; this.en_DepAuto = w1390; w1369.Add (w1390); Gtk.Table.TableChild w1391 = ((Gtk.Table.TableChild) (w1369 [w1390])); w1391.LeftAttach = ((uint) (1)); w1391.RightAttach = ((uint) (2)); w1391.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1392 = new Gtk.Entry (); w1392.IsEditable = true; w1392.WidthChars = 5; w1392.MaxLength = 5; w1392.InvisibleChar = '●'; w1392.CanFocus = true; w1392.Name = "en_DesCont"; this.en_DesCont = w1392; w1369.Add (w1392); Gtk.Table.TableChild w1393 = ((Gtk.Table.TableChild) (w1369 [w1392])); w1393.TopAttach = ((uint) (1)); w1393.BottomAttach = ((uint) (2)); w1393.LeftAttach = ((uint) (1)); w1393.RightAttach = ((uint) (2)); w1393.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1394 = new Gtk.Entry (); w1394.IsEditable = true; w1394.WidthChars = 5; w1394.MaxLength = 5; w1394.InvisibleChar = '●'; w1394.CanFocus = true; w1394.Name = "en_TranTens"; this.en_TranTens = w1394; w1369.Add (w1394); Gtk.Table.TableChild w1395 = ((Gtk.Table.TableChild) (w1369 [w1394])); w1395.TopAttach = ((uint) (2)); w1395.BottomAttach = ((uint) (3)); w1395.LeftAttach = ((uint) (1)); w1395.RightAttach = ((uint) (2)); w1395.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1396 = new Gtk.Entry (); w1396.IsEditable = true; w1396.WidthChars = 5; w1396.MaxLength = 5; w1396.InvisibleChar = '●'; w1396.CanFocus = true; w1396.Name = "en_DistMot"; this.en_DistMot = w1396; w1369.Add (w1396); Gtk.Table.TableChild w1397 = ((Gtk.Table.TableChild) (w1369 [w1396])); w1397.TopAttach = ((uint) (3)); w1397.BottomAttach = ((uint) (4)); w1397.LeftAttach = ((uint) (1)); w1397.RightAttach = ((uint) (2)); w1397.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1398 = new Gtk.Entry (); w1398.IsEditable = true; w1398.WidthChars = 5; w1398.MaxLength = 5; w1398.InvisibleChar = '●'; w1398.CanFocus = true; w1398.Name = "en_Negacion"; this.en_Negacion = w1398; w1369.Add (w1398); Gtk.Table.TableChild w1399 = ((Gtk.Table.TableChild) (w1369 [w1398])); w1399.TopAttach = ((uint) (4)); w1399.BottomAttach = ((uint) (5)); w1399.LeftAttach = ((uint) (1)); w1399.RightAttach = ((uint) (2)); w1399.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1400 = new Gtk.Entry (); w1400.IsEditable = true; w1400.WidthChars = 5; w1400.MaxLength = 5; w1400.InvisibleChar = '●'; w1400.CanFocus = true; w1400.Name = "en_Ansiedad"; this.en_Ansiedad = w1400; w1369.Add (w1400); Gtk.Table.TableChild w1401 = ((Gtk.Table.TableChild) (w1369 [w1400])); w1401.TopAttach = ((uint) (5)); w1401.BottomAttach = ((uint) (6)); w1401.LeftAttach = ((uint) (1)); w1401.RightAttach = ((uint) (2)); w1401.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1402 = new Gtk.Entry (); w1402.IsEditable = true; w1402.WidthChars = 5; w1402.MaxLength = 5; w1402.InvisibleChar = '●'; w1402.CanFocus = true; w1402.Name = "en_Extro"; this.en_Extro = w1402; w1369.Add (w1402); Gtk.Table.TableChild w1403 = ((Gtk.Table.TableChild) (w1369 [w1402])); w1403.TopAttach = ((uint) (6)); w1403.BottomAttach = ((uint) (7)); w1403.LeftAttach = ((uint) (1)); w1403.RightAttach = ((uint) (2)); w1403.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1404 = new Gtk.Entry (); w1404.IsEditable = true; w1404.WidthChars = 5; w1404.MaxLength = 5; w1404.InvisibleChar = '●'; w1404.CanFocus = true; w1404.Name = "en_ContrSoc"; this.en_ContrSoc = w1404; w1369.Add (w1404); Gtk.Table.TableChild w1405 = ((Gtk.Table.TableChild) (w1369 [w1404])); w1405.TopAttach = ((uint) (7)); w1405.BottomAttach = ((uint) (8)); w1405.LeftAttach = ((uint) (1)); w1405.RightAttach = ((uint) (2)); w1405.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1406 = new Gtk.Entry (); w1406.IsEditable = true; w1406.WidthChars = 5; w1406.MaxLength = 5; w1406.InvisibleChar = '●'; w1406.CanFocus = true; w1406.Name = "en_Indepe"; this.en_Indepe = w1406; w1369.Add (w1406); Gtk.Table.TableChild w1407 = ((Gtk.Table.TableChild) (w1369 [w1406])); w1407.TopAttach = ((uint) (8)); w1407.BottomAttach = ((uint) (9)); w1407.LeftAttach = ((uint) (1)); w1407.RightAttach = ((uint) (2)); w1407.YOptions = ((Gtk.AttachOptions) (4)); // Container child table7.Gtk.Table+TableChild Gtk.Entry w1408 = new Gtk.Entry (); w1408.IsEditable = true; w1408.WidthChars = 5; w1408.MaxLength = 5; w1408.InvisibleChar = '●'; w1408.CanFocus = true; w1408.Name = "en_Subjet"; this.en_Subjet = w1408; w1369.Add (w1408); Gtk.Table.TableChild w1409 = ((Gtk.Table.TableChild) (w1369 [w1408])); w1409.TopAttach = ((uint) (9)); w1409.BottomAttach = ((uint) (10)); w1409.LeftAttach = ((uint) (1)); w1409.RightAttach = ((uint) (2)); w1409.YOptions = ((Gtk.AttachOptions) (4)); this.table7 = w1369; w1320.Add (w1369); Gtk.Box.BoxChild w1410 = ((Gtk.Box.BoxChild) (w1320 [w1369])); w1410.Position = 2; w1410.Expand = false; this.hbox58 = w1320; w1319.Add (w1320); this.GtkAlignment35 = w1319; w1318.Add (w1319); Gtk.Label w1413 = new Gtk.Label (); w1413.LabelProp = "<b>16 PF:</b>"; w1413.UseMarkup = true; w1413.Xpad = 8; w1413.Events = ((Gdk.EventMask) (256)); w1413.Name = "GtkLabel42"; this.GtkLabel42 = w1413; w1318.LabelWidget = w1413; this.frame32 = w1318; w1317.Add (w1318); this.alignment40 = w1317; w1316.Add (w1317); Gtk.Box.BoxChild w1415 = ((Gtk.Box.BoxChild) (w1316 [w1317])); w1415.Position = 0; w1415.Expand = false; w1415.Fill = false; this.vbox36 = w1316; w1315.Add (w1316); w1314.Add (w1315); this.scrolledwindow10 = w1314; w1161.Add (w1314); Gtk.Notebook.NotebookChild w1418 = ((Gtk.Notebook.NotebookChild) (w1161 [w1314])); w1418.Position = 2; w1418.TabExpand = false; // Notebook tab Gtk.Label w1419 = new Gtk.Label (); w1419.LabelProp = "Factores de\nPersonalidad\n (16 PF)"; w1419.Justify = ((Gtk.Justification) (2)); w1419.Name = "la_FactPerso"; this.la_FactPerso = w1419; w1161.SetTabLabel (w1314, w1419); // Container child notebook2.Gtk.Notebook+NotebookChild Gtk.VBox w1420 = new Gtk.VBox (); w1420.Name = "vbox32"; // Container child vbox32.Gtk.Box+BoxChild Gtk.Alignment w1421 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1421.LeftPadding = ((uint) (10)); w1421.TopPadding = ((uint) (15)); w1421.RightPadding = ((uint) (10)); w1421.BottomPadding = ((uint) (10)); w1421.Name = "alignment42"; // Container child alignment42.Gtk.Container+ContainerChild Gtk.Frame w1422 = new Gtk.Frame (); w1422.ShadowType = ((Gtk.ShadowType) (4)); w1422.LabelXalign = 0F; w1422.Name = "frame34"; // Container child frame34.Gtk.Container+ContainerChild Gtk.Alignment w1423 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1423.LeftPadding = ((uint) (60)); w1423.TopPadding = ((uint) (20)); w1423.RightPadding = ((uint) (60)); w1423.BottomPadding = ((uint) (20)); w1423.Name = "GtkAlignment32"; // Container child GtkAlignment32.Gtk.Container+ContainerChild Gtk.TextView w1424 = new Gtk.TextView (); w1424.Buffer.Text = "\n\n\n\n\n"; w1424.WrapMode = ((Gtk.WrapMode) (2)); w1424.LeftMargin = 10; w1424.RightMargin = 10; w1424.HeightRequest = 90; w1424.CanFocus = true; w1424.Name = "textEvaluacion"; this.textEvaluacion = w1424; w1423.Add (w1424); this.GtkAlignment32 = w1423; w1422.Add (w1423); Gtk.Label w1427 = new Gtk.Label (); w1427.LabelProp = "<b>Evaluación Psicológica y Entrevista:</b>"; w1427.UseMarkup = true; w1427.Xpad = 8; w1427.Events = ((Gdk.EventMask) (256)); w1427.Name = "GtkLabel39"; this.GtkLabel39 = w1427; w1422.LabelWidget = w1427; this.frame34 = w1422; w1421.Add (w1422); this.alignment42 = w1421; w1420.Add (w1421); Gtk.Box.BoxChild w1429 = ((Gtk.Box.BoxChild) (w1420 [w1421])); w1429.Position = 0; w1429.Expand = false; // Container child vbox32.Gtk.Box+BoxChild Gtk.Alignment w1430 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1430.LeftPadding = ((uint) (10)); w1430.RightPadding = ((uint) (10)); w1430.BottomPadding = ((uint) (168)); w1430.Name = "alignment57"; // Container child alignment57.Gtk.Container+ContainerChild Gtk.Frame w1431 = new Gtk.Frame (); w1431.ShadowType = ((Gtk.ShadowType) (4)); w1431.LabelXalign = 0F; w1431.Name = "frame39"; // Container child frame39.Gtk.Container+ContainerChild Gtk.Alignment w1432 = new Gtk.Alignment (0F, 0F, 1F, 1F); w1432.LeftPadding = ((uint) (12)); w1432.BottomPadding = ((uint) (5)); w1432.Name = "GtkAlignment40"; // Container child GtkAlignment40.Gtk.Container+ContainerChild Gtk.HBox w1433 = new Gtk.HBox (); w1433.BorderWidth = ((uint) (3)); w1433.Name = "hbox77"; // Container child hbox77.Gtk.Box+BoxChild Gtk.Label w1434 = new Gtk.Label (); w1434.LabelProp = "Código Sicologo(a): "; w1434.Name = "label183"; this.label183 = w1434; w1433.Add (w1434); Gtk.Box.BoxChild w1435 = ((Gtk.Box.BoxChild) (w1433 [w1434])); w1435.Position = 0; w1435.Expand = false; w1435.Fill = false; // Container child hbox77.Gtk.Box+BoxChild Gtk.Entry w1436 = new Gtk.Entry (); w1436.IsEditable = true; w1436.WidthChars = 8; w1436.MaxLength = 8; w1436.InvisibleChar = '●'; w1436.CanFocus = true; w1436.Name = "en_CodSicologo"; this.en_CodSicologo = w1436; w1433.Add (w1436); Gtk.Box.BoxChild w1437 = ((Gtk.Box.BoxChild) (w1433 [w1436])); w1437.Position = 1; w1437.Expand = false; w1437.Padding = ((uint) (10)); // Container child hbox77.Gtk.Box+BoxChild Gtk.Label w1438 = new Gtk.Label (); w1438.LabelProp = ""; w1438.Name = "la_NomSico"; this.la_NomSico = w1438; w1433.Add (w1438); Gtk.Box.BoxChild w1439 = ((Gtk.Box.BoxChild) (w1433 [w1438])); w1439.Position = 2; w1439.Expand = false; w1439.Fill = false; w1439.Padding = ((uint) (5)); this.hbox77 = w1433; w1432.Add (w1433); this.GtkAlignment40 = w1432; w1431.Add (w1432); Gtk.Label w1442 = new Gtk.Label (); w1442.LabelProp = ""; w1442.UseMarkup = true; w1442.Events = ((Gdk.EventMask) (256)); w1442.Name = "GtkLabel53"; this.GtkLabel53 = w1442; w1431.LabelWidget = w1442; this.frame39 = w1431; w1430.Add (w1431); this.alignment57 = w1430; w1420.Add (w1430); Gtk.Box.BoxChild w1444 = ((Gtk.Box.BoxChild) (w1420 [w1430])); w1444.PackType = ((Gtk.PackType) (1)); w1444.Position = 1; w1444.Expand = false; w1444.Fill = false; this.vbox32 = w1420; w1161.Add (w1420); Gtk.Notebook.NotebookChild w1445 = ((Gtk.Notebook.NotebookChild) (w1161 [w1420])); w1445.Position = 3; w1445.TabExpand = false; w1445.TabFill = false; // Notebook tab Gtk.Label w1446 = new Gtk.Label (); w1446.LabelProp = "Evaluación\nEntrevista"; w1446.Justify = ((Gtk.Justification) (2)); w1446.Name = "la_EvalEntrevista"; this.la_EvalEntrevista = w1446; w1161.SetTabLabel (w1420, w1446); this.notebook2 = w1161; w136.Add (w1161); Gtk.Notebook.NotebookChild w1447 = ((Gtk.Notebook.NotebookChild) (w136 [w1161])); w1447.Position = 6; w1447.TabExpand = false; // Notebook tab Gtk.Label w1448 = new Gtk.Label (); w1448.LabelProp = "Evaluación\nSicológica"; w1448.Justify = ((Gtk.Justification) (2)); w1448.Name = "la_EvalSico"; this.la_EvalSico = w1448; w136.SetTabLabel (w1161, w1448); this.notebook1 = w136; w66.Add (w136); Gtk.Box.BoxChild w1449 = ((Gtk.Box.BoxChild) (w66 [w136])); w1449.Position = 2; this.vbox3 = w66; w65.Add (w66); Gtk.Box.BoxChild w1450 = ((Gtk.Box.BoxChild) (w65 [w66])); w1450.Position = 0; this.vbox2 = w65; w64.Add (w65); Gtk.Box.BoxChild w1451 = ((Gtk.Box.BoxChild) (w64 [w65])); w1451.Position = 0; w1451.Expand = false; w1451.Fill = false; // Container child hbox3.Gtk.Box+BoxChild Gtk.VBox w1452 = new Gtk.VBox (); w1452.Name = "vbox9"; // Container child vbox9.Gtk.Box+BoxChild Gtk.Image w1453 = new Gtk.Image (); w1453.Xpad = 21; w1453.Name = "image9"; this.image9 = w1453; w1452.Add (w1453); Gtk.Box.BoxChild w1454 = ((Gtk.Box.BoxChild) (w1452 [w1453])); w1454.Position = 0; w1454.Expand = false; w1454.Padding = ((uint) (30)); // Container child vbox9.Gtk.Box+BoxChild Gtk.VBox w1455 = new Gtk.VBox (); w1455.Name = "vbox33"; // Container child vbox33.Gtk.Box+BoxChild Gtk.Alignment w1456 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1456.LeftPadding = ((uint) (22)); w1456.RightPadding = ((uint) (15)); w1456.BottomPadding = ((uint) (4)); w1456.Name = "alignment44"; // Container child alignment44.Gtk.Container+ContainerChild Gtk.Button w1457 = new Gtk.Button (); w1457.HeightRequest = 41; w1457.CanFocus = true; w1457.Name = "bu_Grabar"; // Container child bu_Grabar.Gtk.Container+ContainerChild Gtk.Alignment w1458 = new Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w1458.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w1459 = new Gtk.HBox (); w1459.Spacing = 2; w1459.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w1460 = new Gtk.Image (); w1460.Pixbuf = Gtk.IconTheme.Default.LoadIcon ("gtk-apply", 24, 0); w1460.Name = "image63"; w1459.Add (w1460); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w1462 = new Gtk.Label (); w1462.LabelProp = "Grabar"; w1462.Name = "GtkLabel"; w1459.Add (w1462); w1458.Add (w1459); w1457.Add (w1458); this.bu_Grabar = w1457; w1456.Add (w1457); this.alignment44 = w1456; w1455.Add (w1456); Gtk.Box.BoxChild w1467 = ((Gtk.Box.BoxChild) (w1455 [w1456])); w1467.Position = 0; w1467.Expand = false; w1467.Fill = false; // Container child vbox33.Gtk.Box+BoxChild Gtk.Alignment w1468 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1468.LeftPadding = ((uint) (8)); w1468.RightPadding = ((uint) (5)); w1468.BottomPadding = ((uint) (9)); w1468.Name = "alignment61"; // Container child alignment61.Gtk.Container+ContainerChild Gtk.Label w1469 = new Gtk.Label (); w1469.LabelProp = ""; w1469.Name = "label190"; this.label190 = w1469; w1468.Add (w1469); this.alignment61 = w1468; w1455.Add (w1468); Gtk.Box.BoxChild w1471 = ((Gtk.Box.BoxChild) (w1455 [w1468])); w1471.Position = 1; w1471.Expand = false; w1471.Fill = false; // Container child vbox33.Gtk.Box+BoxChild Gtk.Alignment w1472 = new Gtk.Alignment (0.5F, 0.5F, 1F, 1F); w1472.LeftPadding = ((uint) (20)); w1472.RightPadding = ((uint) (14)); w1472.Name = "alignment45"; // Container child alignment45.Gtk.Container+ContainerChild Gtk.Button w1473 = new Gtk.Button (); w1473.CanFocus = true; w1473.Name = "button15"; // Container child button15.Gtk.Container+ContainerChild Gtk.Alignment w1474 = new Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w1474.Name = "GtkAlignment"; // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w1475 = new Gtk.HBox (); w1475.Spacing = 2; w1475.Name = "GtkHBox"; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w1476 = new Gtk.Image (); w1476.Pixbuf = Gtk.IconTheme.Default.LoadIcon ("gtk-quit", 24, 0); w1476.Name = "image64"; w1475.Add (w1476); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w1478 = new Gtk.Label (); w1478.LabelProp = "Salir sin\nGrabar"; w1478.Name = "GtkLabel"; w1475.Add (w1478); w1474.Add (w1475); w1473.Add (w1474); this.button15 = w1473; w1472.Add (w1473); this.alignment45 = w1472; w1455.Add (w1472); Gtk.Box.BoxChild w1483 = ((Gtk.Box.BoxChild) (w1455 [w1472])); w1483.Position = 2; w1483.Expand = false; w1483.Fill = false; this.vbox33 = w1455; w1452.Add (w1455); Gtk.Box.BoxChild w1484 = ((Gtk.Box.BoxChild) (w1452 [w1455])); w1484.Position = 1; w1484.Expand = false; w1484.Fill = false; this.vbox9 = w1452; w64.Add (w1452); Gtk.Box.BoxChild w1485 = ((Gtk.Box.BoxChild) (w64 [w1452])); w1485.Position = 1; w1485.Expand = false; w1485.Fill = false; this.hbox3 = w64; w27.Add (w64); Gtk.Box.BoxChild w1486 = ((Gtk.Box.BoxChild) (w27 [w64])); w1486.Position = 4; w1486.Expand = false; w1486.Fill = false; // Container child vbox1.Gtk.Box+BoxChild Gtk.ScrolledWindow w1487 = new Gtk.ScrolledWindow (); w1487.VscrollbarPolicy = ((Gtk.PolicyType) (1)); w1487.HscrollbarPolicy = ((Gtk.PolicyType) (1)); w1487.CanFocus = true; w1487.Name = "scrolledwindow1"; // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w1488 = new Gtk.Viewport (); w1488.ShadowType = ((Gtk.ShadowType) (0)); w1488.Name = "GtkViewport1"; w1487.Add (w1488); this.scrolledwindow1 = w1487; w27.Add (w1487); Gtk.Box.BoxChild w1490 = ((Gtk.Box.BoxChild) (w27 [w1487])); w1490.Position = 5; this.vbox1 = w27; w26.Add (w27); w25.Add (w26); this.scrolledwindow2 = w25; cobj.Add (w25); cobj.DefaultWidth = 1272; cobj.DefaultHeight = 882; w29.Show (); w31.Show (); w33.Show (); w28.Show (); w36.Show (); w39.Show (); w41.Show (); w43.Show (); w45.Show (); w47.Show (); w49.Show (); w51.Show (); w53.Show (); w55.Show (); w57.Show (); w59.Show (); w38.Show (); w62.Show (); w74.Show (); w76.Show (); w78.Show (); w80.Show (); w82.Show (); w84.Show (); w73.Show (); w88.Show (); w90.Show (); w92.Show (); w87.Show (); w72.Show (); w71.Show (); w97.Show (); w70.Show (); w103.Show (); w105.Show (); w107.Show (); w109.Show (); w111.Show (); w102.Show (); w115.Show (); w117.Show (); w119.Show (); w121.Show (); w123.Show (); w114.Show (); w101.Show (); w100.Show (); w128.Show (); w99.Show (); w69.Show (); w68.Show (); w132.Show (); w67.Show (); w134.Show (); w145.Show (); w147.Show (); w149.Show (); w144.Show (); w143.Show (); w153.Show (); w142.Show (); w159.Show (); w161.Show (); w163.Show (); w158.Show (); w157.Show (); w167.Show (); w156.Show (); w155.Show (); w141.Show (); w140.Show (); w177.Show (); w179.Show (); w181.Show (); w183.Show (); w185.Show (); w176.Show (); w175.Show (); w189.Show (); w174.Show (); w173.Show (); w172.Show (); w197.Show (); w199.Show (); w201.Show (); w203.Show (); w205.Show (); w207.Show (); w209.Show (); w196.Show (); w195.Show (); w213.Show (); w194.Show (); w193.Show (); w220.Show (); w222.Show (); w219.Show (); w218.Show (); w226.Show (); w217.Show (); w216.Show (); w234.Show (); w236.Show (); w238.Show (); w240.Show (); w242.Show (); w233.Show (); w246.Show (); w248.Show (); w250.Show (); w252.Show (); w254.Show (); w256.Show (); w258.Show (); w245.Show (); w262.Show (); w264.Show (); w261.Show (); w268.Show (); w270.Show (); w272.Show (); w274.Show (); w276.Show (); w278.Show (); w280.Show (); w267.Show (); w284.Show (); w286.Show (); w283.Show (); w232.Show (); w231.Show (); w291.Show (); w230.Show (); w229.Show (); w139.Show (); w138.Show (); w137.Show (); w297.Show (); w308.Show (); w310.Show (); w312.Show (); w314.Show (); w307.Show (); w306.Show (); w318.Show (); w305.Show (); w304.Show (); w325.Show (); w327.Show (); w329.Show (); w331.Show (); w324.Show (); w323.Show (); w335.Show (); w322.Show (); w321.Show (); w342.Show (); w344.Show (); w346.Show (); w348.Show (); w341.Show (); w340.Show (); w352.Show (); w339.Show (); w338.Show (); w303.Show (); w361.Show (); w363.Show (); w360.Show (); w359.Show (); w367.Show (); w358.Show (); w357.Show (); w374.Show (); w376.Show (); w373.Show (); w372.Show (); w380.Show (); w371.Show (); w370.Show (); w356.Show (); w302.Show (); w301.Show (); w386.Show (); w300.Show (); w299.Show (); w393.Show (); w395.Show (); w392.Show (); w391.Show (); w399.Show (); w390.Show (); w389.Show (); w298.Show (); w403.Show (); w415.Show (); w417.Show (); w419.Show (); w414.Show (); w413.Show (); w423.Show (); w412.Show (); w411.Show (); w430.Show (); w432.Show (); w434.Show (); w429.Show (); w428.Show (); w438.Show (); w427.Show (); w426.Show (); w410.Show (); w409.Show (); w443.Show (); w408.Show (); w407.Show (); w454.Show (); w456.Show (); w453.Show (); w452.Show (); w460.Show (); w451.Show (); w450.Show (); w467.Show (); w469.Show (); w466.Show (); w465.Show (); w473.Show (); w464.Show (); w463.Show (); w449.Show (); w448.Show (); w478.Show (); w447.Show (); w446.Show (); w489.Show (); w491.Show (); w488.Show (); w487.Show (); w495.Show (); w486.Show (); w485.Show (); w502.Show (); w504.Show (); w501.Show (); w500.Show (); w508.Show (); w499.Show (); w498.Show (); w484.Show (); w483.Show (); w513.Show (); w482.Show (); w481.Show (); w406.Show (); w405.Show (); w404.Show (); w519.Show (); w523.Show (); w531.Show (); w533.Show (); w537.Show (); w539.Show (); w541.Show (); w543.Show (); w545.Show (); w536.Show (); w535.Show (); w530.Show (); w551.Show (); w553.Show (); w555.Show (); w557.Show (); w550.Show (); w529.Show (); w528.Show (); w527.Show (); w563.Show (); w526.Show (); w525.Show (); w572.Show (); w574.Show (); w578.Show (); w580.Show (); w582.Show (); w584.Show (); w586.Show (); w577.Show (); w576.Show (); w571.Show (); w592.Show (); w594.Show (); w596.Show (); w598.Show (); w591.Show (); w570.Show (); w569.Show (); w568.Show (); w604.Show (); w567.Show (); w566.Show (); w613.Show (); w615.Show (); w619.Show (); w621.Show (); w623.Show (); w625.Show (); w627.Show (); w618.Show (); w617.Show (); w612.Show (); w633.Show (); w635.Show (); w637.Show (); w639.Show (); w632.Show (); w611.Show (); w610.Show (); w609.Show (); w645.Show (); w608.Show (); w607.Show (); w654.Show (); w656.Show (); w660.Show (); w662.Show (); w664.Show (); w666.Show (); w668.Show (); w659.Show (); w658.Show (); w653.Show (); w674.Show (); w676.Show (); w678.Show (); w680.Show (); w673.Show (); w652.Show (); w651.Show (); w650.Show (); w686.Show (); w649.Show (); w648.Show (); w522.Show (); w521.Show (); w520.Show (); w692.Show (); w701.Show (); w703.Show (); w705.Show (); w707.Show (); w700.Show (); w711.Show (); w713.Show (); w715.Show (); w717.Show (); w710.Show (); w721.Show (); w723.Show (); w725.Show (); w727.Show (); w720.Show (); w731.Show (); w733.Show (); w735.Show (); w737.Show (); w730.Show (); w699.Show (); w698.Show (); w742.Show (); w697.Show (); w696.Show (); w750.Show (); w752.Show (); w755.Show (); w754.Show (); w758.Show (); w760.Show (); w762.Show (); w764.Show (); w766.Show (); w749.Show (); w770.Show (); w772.Show (); w775.Show (); w774.Show (); w778.Show (); w780.Show (); w782.Show (); w784.Show (); w786.Show (); w769.Show (); w790.Show (); w792.Show (); w795.Show (); w794.Show (); w798.Show (); w800.Show (); w802.Show (); w804.Show (); w806.Show (); w789.Show (); w810.Show (); w812.Show (); w815.Show (); w814.Show (); w818.Show (); w820.Show (); w822.Show (); w824.Show (); w826.Show (); w809.Show (); w748.Show (); w747.Show (); w831.Show (); w746.Show (); w745.Show (); w695.Show (); w694.Show (); w693.Show (); w837.Show (); w842.Show (); w844.Show (); w841.Show (); w853.Show (); w855.Show (); w852.Show (); w859.Show (); w861.Show (); w863.Show (); w865.Show (); w868.Show (); w867.Show (); w871.Show (); w873.Show (); w875.Show (); w858.Show (); w879.Show (); w881.Show (); w878.Show (); w886.Show (); w889.Show (); w891.Show (); w893.Show (); w895.Show (); w897.Show (); w888.Show (); w885.Show (); w884.Show (); w851.Show (); w850.Show (); w904.Show (); w849.Show (); w848.Show (); w907.Show (); w847.Show (); w915.Show (); w917.Show (); w914.Show (); w921.Show (); w923.Show (); w925.Show (); w927.Show (); w930.Show (); w929.Show (); w933.Show (); w935.Show (); w937.Show (); w920.Show (); w941.Show (); w943.Show (); w940.Show (); w948.Show (); w951.Show (); w953.Show (); w955.Show (); w957.Show (); w959.Show (); w950.Show (); w947.Show (); w946.Show (); w913.Show (); w912.Show (); w966.Show (); w911.Show (); w910.Show (); w969.Show (); w909.Show (); w977.Show (); w979.Show (); w976.Show (); w983.Show (); w985.Show (); w987.Show (); w989.Show (); w992.Show (); w991.Show (); w995.Show (); w997.Show (); w999.Show (); w982.Show (); w1003.Show (); w1005.Show (); w1002.Show (); w1010.Show (); w1013.Show (); w1015.Show (); w1017.Show (); w1019.Show (); w1021.Show (); w1012.Show (); w1009.Show (); w1008.Show (); w975.Show (); w974.Show (); w1028.Show (); w973.Show (); w972.Show (); w1031.Show (); w971.Show (); w1039.Show (); w1041.Show (); w1038.Show (); w1045.Show (); w1047.Show (); w1049.Show (); w1051.Show (); w1054.Show (); w1053.Show (); w1057.Show (); w1059.Show (); w1061.Show (); w1044.Show (); w1065.Show (); w1067.Show (); w1064.Show (); w1072.Show (); w1075.Show (); w1077.Show (); w1079.Show (); w1081.Show (); w1083.Show (); w1074.Show (); w1071.Show (); w1070.Show (); w1037.Show (); w1036.Show (); w1090.Show (); w1035.Show (); w1034.Show (); w1093.Show (); w1033.Show (); w1101.Show (); w1103.Show (); w1100.Show (); w1107.Show (); w1109.Show (); w1111.Show (); w1113.Show (); w1116.Show (); w1115.Show (); w1119.Show (); w1121.Show (); w1123.Show (); w1106.Show (); w1127.Show (); w1129.Show (); w1126.Show (); w1134.Show (); w1137.Show (); w1139.Show (); w1141.Show (); w1143.Show (); w1145.Show (); w1136.Show (); w1133.Show (); w1132.Show (); w1099.Show (); w1098.Show (); w1152.Show (); w1097.Show (); w1096.Show (); w1155.Show (); w1095.Show (); w840.Show (); w839.Show (); w838.Show (); w1160.Show (); w1170.Show (); w1172.Show (); w1174.Show (); w1176.Show (); w1178.Show (); w1180.Show (); w1182.Show (); w1184.Show (); w1186.Show (); w1188.Show (); w1190.Show (); w1192.Show (); w1194.Show (); w1196.Show (); w1198.Show (); w1200.Show (); w1169.Show (); w1203.Show (); w1206.Show (); w1208.Show (); w1210.Show (); w1212.Show (); w1214.Show (); w1216.Show (); w1218.Show (); w1220.Show (); w1222.Show (); w1224.Show (); w1226.Show (); w1228.Show (); w1230.Show (); w1232.Show (); w1205.Show (); w1168.Show (); w1167.Show (); w1237.Show (); w1166.Show (); w1165.Show (); w1164.Show (); w1163.Show (); w1162.Show (); w1243.Show (); w1252.Show (); w1254.Show (); w1256.Show (); w1258.Show (); w1260.Show (); w1262.Show (); w1264.Show (); w1266.Show (); w1268.Show (); w1270.Show (); w1272.Show (); w1274.Show (); w1251.Show (); w1277.Show (); w1280.Show (); w1282.Show (); w1284.Show (); w1286.Show (); w1288.Show (); w1290.Show (); w1292.Show (); w1294.Show (); w1296.Show (); w1298.Show (); w1300.Show (); w1302.Show (); w1279.Show (); w1250.Show (); w1249.Show (); w1307.Show (); w1248.Show (); w1247.Show (); w1246.Show (); w1245.Show (); w1244.Show (); w1313.Show (); w1322.Show (); w1324.Show (); w1326.Show (); w1328.Show (); w1330.Show (); w1332.Show (); w1334.Show (); w1336.Show (); w1338.Show (); w1340.Show (); w1342.Show (); w1344.Show (); w1346.Show (); w1348.Show (); w1350.Show (); w1352.Show (); w1354.Show (); w1356.Show (); w1358.Show (); w1360.Show (); w1362.Show (); w1364.Show (); w1321.Show (); w1367.Show (); w1370.Show (); w1372.Show (); w1374.Show (); w1376.Show (); w1378.Show (); w1380.Show (); w1382.Show (); w1384.Show (); w1386.Show (); w1388.Show (); w1390.Show (); w1392.Show (); w1394.Show (); w1396.Show (); w1398.Show (); w1400.Show (); w1402.Show (); w1404.Show (); w1406.Show (); w1408.Show (); w1369.Show (); w1320.Show (); w1319.Show (); w1413.Show (); w1318.Show (); w1317.Show (); w1316.Show (); w1315.Show (); w1314.Show (); w1419.Show (); w1424.Show (); w1423.Show (); w1427.Show (); w1422.Show (); w1421.Show (); w1434.Show (); w1436.Show (); w1438.Show (); w1433.Show (); w1432.Show (); w1442.Show (); w1431.Show (); w1430.Show (); w1420.Show (); w1446.Show (); w1161.Show (); w1448.Show (); w136.Show (); w66.Show (); w65.Show (); w1453.Show (); w1460.Show (); w1462.Show (); w1459.Show (); w1458.Show (); w1457.Show (); w1456.Show (); w1469.Show (); w1468.Show (); w1476.Show (); w1478.Show (); w1475.Show (); w1474.Show (); w1473.Show (); w1472.Show (); w1455.Show (); w1452.Show (); w64.Show (); w1488.Show (); w1487.Show (); w27.Show (); w26.Show (); w25.Show (); cobj.Show (); w39.Changed += new System.EventHandler (this.OnComboOpRecChanged); w76.Changed += new System.EventHandler (this.OnCombTipoChanged); w82.KeyPressEvent += new Gtk.KeyPressEventHandler (this.OnEnNumTipoKeyPressEvent); w82.Changed += new System.EventHandler (this.OnEnNumTipoChanged); w82.TextInserted += new Gtk.TextInsertedHandler (this.OnEnNumTipoTextInserted); w90.FocusInEvent += new Gtk.FocusInEventHandler (this.OnEnNumExpFocusInEvent); w90.TextInserted += new Gtk.TextInsertedHandler (this.OnEnNumExpTextInserted); w90.KeyPressEvent += new Gtk.KeyPressEventHandler (this.OnEnNumExpKeyPressEvent); w105.TextInserted += new Gtk.TextInsertedHandler (this.OnEnPrNombreTextInserted); w105.KeyPressEvent += new Gtk.KeyPressEventHandler (this.OnEnPrNombreKeyPressEvent); w111.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w117.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w117.KeyPressEvent += new Gtk.KeyPressEventHandler (this.OnEnSdoNombreTextInserted); w123.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w147.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w161.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w179.FocusOutEvent += new Gtk.FocusOutEventHandler (this.OnEnSdoNombreTextInserted); w181.FocusOutEvent += new Gtk.FocusOutEventHandler (this.OnEnSdoNombreTextInserted); w181.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w183.FocusOutEvent += new Gtk.FocusOutEventHandler (this.OnEnSdoNombreTextInserted); w199.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w203.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w207.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w236.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w240.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w248.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w252.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w256.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w270.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w276.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w280.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w344.Clicked += new System.EventHandler (this.OnEnSdoNombreTextInserted); w346.Clicked += new System.EventHandler (this.OnEnSdoNombreTextInserted); w363.FocusOutEvent += new Gtk.FocusOutEventHandler (this.OnEnSdoNombreTextInserted); w376.FocusOutEvent += new Gtk.FocusOutEventHandler (this.OnEnSdoNombreTextInserted); w395.TextInserted += new Gtk.TextInsertedHandler (this.OnEnSdoNombreTextInserted); w417.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w432.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w456.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w469.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w491.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w504.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w533.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w574.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w615.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w656.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w703.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w713.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w723.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w733.Changed += new System.EventHandler (this.OnEnSdoNombreTextInserted); w847.Activated += new System.EventHandler (this.OnEnSdoNombreTextInserted); w909.Activated += new System.EventHandler (this.OnEnSdoNombreTextInserted); w971.Activated += new System.EventHandler (this.OnEnSdoNombreTextInserted); w1033.Activated += new System.EventHandler (this.OnEnSdoNombreTextInserted); w1095.Activated += new System.EventHandler (this.OnEnSdoNombreTextInserted); w1457.Clicked += new System.EventHandler (this.OnEnSdoNombreTextInserted); w1473.Clicked += new System.EventHandler (this.OnEnSdoNombreTextInserted); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Smuxi.Frontend.Gnome.SteticPreferencesDialog this.Name = "Smuxi.Frontend.Gnome.SteticPreferencesDialog"; this.Title = Mono.Unix.Catalog.GetString("smuxi - Preferences"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog-vbox1"; w1.BorderWidth = ((uint)(2)); // Container child dialog-vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.BorderWidth = ((uint)(10)); // Container child hbox1.Gtk.Box+BoxChild this.MenuScrolledWindow = new Gtk.ScrolledWindow(); this.MenuScrolledWindow.WidthRequest = 128; this.MenuScrolledWindow.Name = "MenuScrolledWindow"; this.MenuScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); // Container child MenuScrolledWindow.Gtk.Container+ContainerChild this.MenuTreeView = new Gtk.TreeView(); this.MenuTreeView.Name = "MenuTreeView"; this.MenuTreeView.EnableSearch = false; this.MenuTreeView.HeadersVisible = false; this.MenuTreeView.HeadersClickable = true; this.MenuScrolledWindow.Add(this.MenuTreeView); this.hbox1.Add(this.MenuScrolledWindow); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.MenuScrolledWindow])); w3.Position = 0; w3.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.Notebook = new Gtk.Notebook(); this.Notebook.Name = "Notebook"; this.Notebook.CurrentPage = 1; this.Notebook.ShowBorder = false; // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 5; this.vbox1.BorderWidth = ((uint)(5)); // Container child vbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(5)); this.table1.ColumnSpacing = ((uint)(5)); // Container child table1.Gtk.Table+TableChild this.ConnectionNicknamesEntry = new Gtk.Entry(); this.ConnectionNicknamesEntry.Name = "ConnectionNicknamesEntry"; this.ConnectionNicknamesEntry.IsEditable = true; this.ConnectionNicknamesEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionNicknamesEntry); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionNicknamesEntry])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionRealnameEntry = new Gtk.Entry(); this.ConnectionRealnameEntry.Name = "ConnectionRealnameEntry"; this.ConnectionRealnameEntry.IsEditable = true; this.ConnectionRealnameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionRealnameEntry); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionRealnameEntry])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.ConnectionUsernameEntry = new Gtk.Entry(); this.ConnectionUsernameEntry.Name = "ConnectionUsernameEntry"; this.ConnectionUsernameEntry.IsEditable = true; this.ConnectionUsernameEntry.InvisibleChar = '●'; this.table1.Add(this.ConnectionUsernameEntry); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.ConnectionUsernameEntry])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(0)); // Container child table1.Gtk.Table+TableChild this.EncodingComboBox = new Gtk.ComboBox(); this.EncodingComboBox.Name = "EncodingComboBox"; this.table1.Add(this.EncodingComboBox); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.EncodingComboBox])); w7.TopAttach = ((uint)(3)); w7.BottomAttach = ((uint)(4)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox13 = new Gtk.HBox(); this.hbox13.Name = "hbox13"; // Container child hbox13.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Nicknames:"); this.hbox13.Add(this.label6); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox13[this.label6])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox13.Gtk.Box+BoxChild this.fixed31 = new Gtk.Fixed(); this.fixed31.Name = "fixed31"; this.fixed31.HasWindow = false; this.hbox13.Add(this.fixed31); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox13[this.fixed31])); w9.Position = 1; this.table1.Add(this.hbox13); // Container child table1.Gtk.Table+TableChild this.hbox14 = new Gtk.HBox(); this.hbox14.Name = "hbox14"; // Container child hbox14.Gtk.Box+BoxChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username:"******"fixed32"; this.fixed32.HasWindow = false; this.hbox14.Add(this.fixed32); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox14[this.fixed32])); w12.Position = 1; this.table1.Add(this.hbox14); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.hbox14])); w13.TopAttach = ((uint)(1)); w13.BottomAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.hbox15 = new Gtk.HBox(); this.hbox15.Name = "hbox15"; // Container child hbox15.Gtk.Box+BoxChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("Realname:"); this.hbox15.Add(this.label8); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox15[this.label8])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child hbox15.Gtk.Box+BoxChild this.fixed33 = new Gtk.Fixed(); this.fixed33.Name = "fixed33"; this.fixed33.HasWindow = false; this.hbox15.Add(this.fixed33); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox15[this.fixed33])); w15.Position = 1; this.table1.Add(this.hbox15); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.hbox15])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.label58 = new Gtk.Label(); this.label58.Name = "label58"; this.label58.Xalign = 0F; this.label58.LabelProp = Mono.Unix.Catalog.GetString("Encoding:"); this.table1.Add(this.label58); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label58])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.YOptions = ((Gtk.AttachOptions)(0)); this.vbox1.Add(this.table1); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1])); w18.Position = 0; w18.Expand = false; // Container child vbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; // Container child vbox3.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.label37 = new Gtk.Label(); this.label37.Name = "label37"; this.label37.LabelProp = Mono.Unix.Catalog.GetString("On Connect Commands:"); this.hbox2.Add(this.label37); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.label37])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.fixed18 = new Gtk.Fixed(); this.fixed18.Name = "fixed18"; this.fixed18.HasWindow = false; this.hbox2.Add(this.fixed18); Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox2[this.fixed18])); w20.Position = 1; this.vbox3.Add(this.hbox2); Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.WidthRequest = 350; this.scrolledwindow1.HeightRequest = 100; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.OnConnectCommandsTextView = new Gtk.TextView(); this.OnConnectCommandsTextView.WidthRequest = 152; this.OnConnectCommandsTextView.HeightRequest = 168; this.OnConnectCommandsTextView.Name = "OnConnectCommandsTextView"; this.OnConnectCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow1.Add(this.OnConnectCommandsTextView); this.vbox3.Add(this.scrolledwindow1); Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow1])); w23.Position = 1; this.vbox2.Add(this.vbox3); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3])); w24.Position = 0; // Container child vbox2.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.label43 = new Gtk.Label(); this.label43.Name = "label43"; this.label43.LabelProp = Mono.Unix.Catalog.GetString("On Startup Commands:"); this.hbox3.Add(this.label43); Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox3[this.label43])); w25.Position = 0; w25.Expand = false; w25.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.fixed19 = new Gtk.Fixed(); this.fixed19.Name = "fixed19"; this.fixed19.HasWindow = false; this.hbox3.Add(this.fixed19); Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox3[this.fixed19])); w26.Position = 1; this.vbox4.Add(this.hbox3); Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.WidthRequest = 350; this.scrolledwindow2.HeightRequest = 100; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild this.OnStartupCommandsTextView = new Gtk.TextView(); this.OnStartupCommandsTextView.WidthRequest = 152; this.OnStartupCommandsTextView.HeightRequest = 168; this.OnStartupCommandsTextView.Name = "OnStartupCommandsTextView"; this.OnStartupCommandsTextView.WrapMode = ((Gtk.WrapMode)(2)); this.scrolledwindow2.Add(this.OnStartupCommandsTextView); this.vbox4.Add(this.scrolledwindow2); Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox4[this.scrolledwindow2])); w29.Position = 1; this.vbox2.Add(this.vbox4); Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox4])); w30.Position = 1; this.vbox1.Add(this.vbox2); Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2])); w31.Position = 1; this.Notebook.Add(this.vbox1); // Notebook tab this.label44 = new Gtk.Label(); this.label44.Name = "label44"; this.label44.LabelProp = Mono.Unix.Catalog.GetString("C_onnection"); this.label44.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox1, this.label44); this.label44.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.InterfaceNotebook = new Gtk.Notebook(); this.InterfaceNotebook.Name = "InterfaceNotebook"; this.InterfaceNotebook.CurrentPage = 0; // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox10 = new Gtk.VBox(); this.vbox10.Name = "vbox10"; // Container child vbox10.Gtk.Box+BoxChild this.table5 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table5.Name = "table5"; this.table5.RowSpacing = ((uint)(5)); this.table5.ColumnSpacing = ((uint)(5)); this.table5.BorderWidth = ((uint)(5)); // Container child table5.Gtk.Table+TableChild this.BufferLinesSpinButton = new Gtk.SpinButton(1, 9999, 1); this.BufferLinesSpinButton.WidthRequest = 60; this.BufferLinesSpinButton.Name = "BufferLinesSpinButton"; this.BufferLinesSpinButton.Adjustment.PageIncrement = 10; this.BufferLinesSpinButton.Adjustment.PageSize = 10; this.BufferLinesSpinButton.ClimbRate = 1; this.BufferLinesSpinButton.Numeric = true; this.BufferLinesSpinButton.Value = 200; this.table5.Add(this.BufferLinesSpinButton); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table5[this.BufferLinesSpinButton])); w33.TopAttach = ((uint)(1)); w33.BottomAttach = ((uint)(2)); w33.LeftAttach = ((uint)(1)); w33.RightAttach = ((uint)(2)); w33.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.EngineBufferLinesSpinButton = new Gtk.SpinButton(0, 9999, 1); this.EngineBufferLinesSpinButton.WidthRequest = 60; this.EngineBufferLinesSpinButton.Name = "EngineBufferLinesSpinButton"; this.EngineBufferLinesSpinButton.Adjustment.PageIncrement = 10; this.EngineBufferLinesSpinButton.Adjustment.PageSize = 10; this.EngineBufferLinesSpinButton.ClimbRate = 1; this.EngineBufferLinesSpinButton.Numeric = true; this.EngineBufferLinesSpinButton.Value = 200; this.table5.Add(this.EngineBufferLinesSpinButton); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table5[this.EngineBufferLinesSpinButton])); w34.TopAttach = ((uint)(2)); w34.BottomAttach = ((uint)(3)); w34.LeftAttach = ((uint)(1)); w34.RightAttach = ((uint)(2)); w34.YOptions = ((Gtk.AttachOptions)(0)); // Container child table5.Gtk.Table+TableChild this.hbox7 = new Gtk.HBox(); this.hbox7.Name = "hbox7"; // Container child hbox7.Gtk.Box+BoxChild this.label33 = new Gtk.Label(); this.label33.Name = "label33"; this.label33.LabelProp = Mono.Unix.Catalog.GetString("Timestamp Format:"); this.hbox7.Add(this.label33); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox7[this.label33])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.fixed25 = new Gtk.Fixed(); this.fixed25.Name = "fixed25"; this.fixed25.HasWindow = false; this.hbox7.Add(this.fixed25); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox7[this.fixed25])); w36.Position = 1; this.table5.Add(this.hbox7); // Container child table5.Gtk.Table+TableChild this.hbox8 = new Gtk.HBox(); this.hbox8.Name = "hbox8"; // Container child hbox8.Gtk.Box+BoxChild this.label39 = new Gtk.Label(); this.label39.Name = "label39"; this.label39.LabelProp = Mono.Unix.Catalog.GetString("Buffer Lines:"); this.hbox8.Add(this.label39); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox8[this.label39])); w38.Position = 0; w38.Expand = false; w38.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.fixed26 = new Gtk.Fixed(); this.fixed26.Name = "fixed26"; this.fixed26.HasWindow = false; this.hbox8.Add(this.fixed26); Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox8[this.fixed26])); w39.Position = 1; this.table5.Add(this.hbox8); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table5[this.hbox8])); w40.TopAttach = ((uint)(1)); w40.BottomAttach = ((uint)(2)); // Container child table5.Gtk.Table+TableChild this.hbox9 = new Gtk.HBox(); this.hbox9.Name = "hbox9"; // Container child hbox9.Gtk.Box+BoxChild this.label40 = new Gtk.Label(); this.label40.Name = "label40"; this.label40.LabelProp = Mono.Unix.Catalog.GetString("Engine Buffer Lines:"); this.hbox9.Add(this.label40); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox9[this.label40])); w41.Position = 0; w41.Expand = false; w41.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.fixed27 = new Gtk.Fixed(); this.fixed27.Name = "fixed27"; this.fixed27.HasWindow = false; this.hbox9.Add(this.fixed27); Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox9[this.fixed27])); w42.Position = 1; this.table5.Add(this.hbox9); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table5[this.hbox9])); w43.TopAttach = ((uint)(2)); w43.BottomAttach = ((uint)(3)); // Container child table5.Gtk.Table+TableChild this.TimestampFormatEntry = new Gtk.Entry(); this.TimestampFormatEntry.WidthRequest = 60; this.TimestampFormatEntry.Name = "TimestampFormatEntry"; this.TimestampFormatEntry.Text = "HH:mm"; this.TimestampFormatEntry.IsEditable = true; this.TimestampFormatEntry.InvisibleChar = '●'; this.table5.Add(this.TimestampFormatEntry); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table5[this.TimestampFormatEntry])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.YOptions = ((Gtk.AttachOptions)(0)); this.vbox10.Add(this.table5); Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox10[this.table5])); w45.Position = 0; w45.Expand = false; w45.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripColorsCheckButton = new Gtk.CheckButton(); this.StripColorsCheckButton.Name = "StripColorsCheckButton"; this.StripColorsCheckButton.DrawIndicator = true; this.StripColorsCheckButton.UseUnderline = true; this.StripColorsCheckButton.Remove(this.StripColorsCheckButton.Child); // Container child StripColorsCheckButton.Gtk.Container+ContainerChild this.alignment16 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment16.Name = "alignment16"; // Container child alignment16.Gtk.Container+ContainerChild this.hbox17 = new Gtk.HBox(); this.hbox17.Name = "hbox17"; this.hbox17.Spacing = 2; // Container child hbox17.Gtk.Box+BoxChild this.image5 = new Gtk.Image(); this.image5.Name = "image5"; this.image5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox17.Add(this.image5); Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox17[this.image5])); w46.Position = 0; w46.Expand = false; w46.Fill = false; // Container child hbox17.Gtk.Box+BoxChild this.label47 = new Gtk.Label(); this.label47.Name = "label47"; this.label47.LabelProp = Mono.Unix.Catalog.GetString("Strip Colors"); this.label47.UseUnderline = true; this.hbox17.Add(this.label47); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox17[this.label47])); w47.Position = 1; w47.Expand = false; w47.Fill = false; this.alignment16.Add(this.hbox17); this.StripColorsCheckButton.Add(this.alignment16); this.vbox10.Add(this.StripColorsCheckButton); Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripColorsCheckButton])); w50.Position = 1; w50.Expand = false; w50.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.StripFormattingsCheckButton = new Gtk.CheckButton(); this.StripFormattingsCheckButton.Name = "StripFormattingsCheckButton"; this.StripFormattingsCheckButton.DrawIndicator = true; this.StripFormattingsCheckButton.UseUnderline = true; this.StripFormattingsCheckButton.Remove(this.StripFormattingsCheckButton.Child); // Container child StripFormattingsCheckButton.Gtk.Container+ContainerChild this.alignment15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment15.Name = "alignment15"; // Container child alignment15.Gtk.Container+ContainerChild this.hbox16 = new Gtk.HBox(); this.hbox16.Name = "hbox16"; this.hbox16.Spacing = 2; // Container child hbox16.Gtk.Box+BoxChild this.image6 = new Gtk.Image(); this.image6.Name = "image6"; this.image6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox16.Add(this.image6); Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox16[this.image6])); w51.Position = 0; w51.Expand = false; w51.Fill = false; // Container child hbox16.Gtk.Box+BoxChild this.label46 = new Gtk.Label(); this.label46.Name = "label46"; this.label46.LabelProp = Mono.Unix.Catalog.GetString("Strip Formattings"); this.label46.UseUnderline = true; this.hbox16.Add(this.label46); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.hbox16[this.label46])); w52.Position = 1; w52.Expand = false; w52.Fill = false; this.alignment15.Add(this.hbox16); this.StripFormattingsCheckButton.Add(this.alignment15); this.vbox10.Add(this.StripFormattingsCheckButton); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.vbox10[this.StripFormattingsCheckButton])); w55.Position = 2; w55.Expand = false; w55.Fill = false; // Container child vbox10.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.Sensitive = false; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.checkbutton1.Remove(this.checkbutton1.Child); // Container child checkbutton1.Gtk.Container+ContainerChild this.alignment26 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment26.Name = "alignment26"; // Container child alignment26.Gtk.Container+ContainerChild this.hbox28 = new Gtk.HBox(); this.hbox28.Name = "hbox28"; this.hbox28.Spacing = 2; // Container child hbox28.Gtk.Box+BoxChild this.image7 = new Gtk.Image(); this.image7.Name = "image7"; this.image7.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cut", Gtk.IconSize.Menu, 16); this.hbox28.Add(this.image7); Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.hbox28[this.image7])); w56.Position = 0; w56.Expand = false; w56.Fill = false; // Container child hbox28.Gtk.Box+BoxChild this.label60 = new Gtk.Label(); this.label60.Name = "label60"; this.label60.LabelProp = Mono.Unix.Catalog.GetString("Strip UTF-8"); this.label60.UseUnderline = true; this.hbox28.Add(this.label60); Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.hbox28[this.label60])); w57.Position = 1; w57.Expand = false; w57.Fill = false; this.alignment26.Add(this.hbox28); this.checkbutton1.Add(this.alignment26); this.vbox10.Add(this.checkbutton1); Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.vbox10[this.checkbutton1])); w60.Position = 3; w60.Expand = false; w60.Fill = false; this.InterfaceNotebook.Add(this.vbox10); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.InterfaceNotebook.SetTabLabel(this.vbox10, this.label1); this.label1.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 5; // Container child vbox5.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; // Container child frame1.Gtk.Container+ContainerChild this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment4.Name = "alignment4"; this.alignment4.LeftPadding = ((uint)(12)); // Container child alignment4.Gtk.Container+ContainerChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TabPositionRadioButtonTop.CanFocus = true; this.TabPositionRadioButtonTop.Name = "TabPositionRadioButtonTop"; this.TabPositionRadioButtonTop.Active = true; this.TabPositionRadioButtonTop.DrawIndicator = true; this.TabPositionRadioButtonTop.UseUnderline = true; this.TabPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TabPositionRadioButtonTop.Remove(this.TabPositionRadioButtonTop.Child); // Container child TabPositionRadioButtonTop.Gtk.Container+ContainerChild this.hbox10 = new Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.image12 = new Gtk.Image(); this.image12.Name = "image12"; this.image12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox10.Add(this.image12); Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.hbox10[this.image12])); w62.Position = 0; w62.Expand = false; w62.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.hbox10.Add(this.label5); Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.hbox10[this.label5])); w63.Position = 1; w63.Expand = false; w63.Fill = false; this.TabPositionRadioButtonTop.Add(this.hbox10); this.vbox6.Add(this.TabPositionRadioButtonTop); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonTop])); w65.Position = 0; w65.Expand = false; w65.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TabPositionRadioButtonBottom.Name = "TabPositionRadioButtonBottom"; this.TabPositionRadioButtonBottom.DrawIndicator = true; this.TabPositionRadioButtonBottom.UseUnderline = true; this.TabPositionRadioButtonBottom.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonBottom.Remove(this.TabPositionRadioButtonBottom.Child); // Container child TabPositionRadioButtonBottom.Gtk.Container+ContainerChild this.hbox24 = new Gtk.HBox(); this.hbox24.Name = "hbox24"; this.hbox24.Spacing = 2; // Container child hbox24.Gtk.Box+BoxChild this.image9 = new Gtk.Image(); this.image9.Name = "image9"; this.image9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox24.Add(this.image9); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox24[this.image9])); w66.Position = 0; w66.Expand = false; w66.Fill = false; // Container child hbox24.Gtk.Box+BoxChild this.label54 = new Gtk.Label(); this.label54.Name = "label54"; this.label54.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label54.UseUnderline = true; this.hbox24.Add(this.label54); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox24[this.label54])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.TabPositionRadioButtonBottom.Add(this.hbox24); this.vbox6.Add(this.TabPositionRadioButtonBottom); Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonBottom])); w69.Position = 1; w69.Expand = false; w69.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.TabPositionRadioButtonLeft.Name = "TabPositionRadioButtonLeft"; this.TabPositionRadioButtonLeft.DrawIndicator = true; this.TabPositionRadioButtonLeft.UseUnderline = true; this.TabPositionRadioButtonLeft.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonLeft.Remove(this.TabPositionRadioButtonLeft.Child); // Container child TabPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment24 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment24.Name = "alignment24"; // Container child alignment24.Gtk.Container+ContainerChild this.hbox25 = new Gtk.HBox(); this.hbox25.Name = "hbox25"; this.hbox25.Spacing = 2; // Container child hbox25.Gtk.Box+BoxChild this.image10 = new Gtk.Image(); this.image10.Name = "image10"; this.image10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox25.Add(this.image10); Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox25[this.image10])); w70.Position = 0; w70.Expand = false; w70.Fill = false; // Container child hbox25.Gtk.Box+BoxChild this.label55 = new Gtk.Label(); this.label55.Name = "label55"; this.label55.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label55.UseUnderline = true; this.hbox25.Add(this.label55); Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.hbox25[this.label55])); w71.Position = 1; w71.Expand = false; w71.Fill = false; this.alignment24.Add(this.hbox25); this.TabPositionRadioButtonLeft.Add(this.alignment24); this.vbox6.Add(this.TabPositionRadioButtonLeft); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonLeft])); w74.Position = 2; w74.Expand = false; w74.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.TabPositionRadioButtonRight.Name = "TabPositionRadioButtonRight"; this.TabPositionRadioButtonRight.DrawIndicator = true; this.TabPositionRadioButtonRight.UseUnderline = true; this.TabPositionRadioButtonRight.Group = this.TabPositionRadioButtonTop.Group; this.TabPositionRadioButtonRight.Remove(this.TabPositionRadioButtonRight.Child); // Container child TabPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment25 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment25.Name = "alignment25"; // Container child alignment25.Gtk.Container+ContainerChild this.hbox26 = new Gtk.HBox(); this.hbox26.Name = "hbox26"; this.hbox26.Spacing = 2; // Container child hbox26.Gtk.Box+BoxChild this.image11 = new Gtk.Image(); this.image11.Name = "image11"; this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox26.Add(this.image11); Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild)(this.hbox26[this.image11])); w75.Position = 0; w75.Expand = false; w75.Fill = false; // Container child hbox26.Gtk.Box+BoxChild this.label56 = new Gtk.Label(); this.label56.Name = "label56"; this.label56.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label56.UseUnderline = true; this.hbox26.Add(this.label56); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.hbox26[this.label56])); w76.Position = 1; w76.Expand = false; w76.Fill = false; this.alignment25.Add(this.hbox26); this.TabPositionRadioButtonRight.Add(this.alignment25); this.vbox6.Add(this.TabPositionRadioButtonRight); Gtk.Box.BoxChild w79 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonRight])); w79.Position = 3; w79.Expand = false; w79.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.TabPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TabPositionRadioButtonNone.Name = "TabPositionRadioButtonNone"; this.TabPositionRadioButtonNone.DrawIndicator = true; this.TabPositionRadioButtonNone.UseUnderline = true; this.TabPositionRadioButtonNone.Group = this.TabPositionRadioButtonTop.Group; this.vbox6.Add(this.TabPositionRadioButtonNone); Gtk.Box.BoxChild w80 = ((Gtk.Box.BoxChild)(this.vbox6[this.TabPositionRadioButtonNone])); w80.Position = 4; w80.Expand = false; w80.Fill = false; this.alignment4.Add(this.vbox6); this.frame1.Add(this.alignment4); this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("<b> Tabs Position </b>"); this.label9.UseMarkup = true; this.frame1.LabelWidget = this.label9; this.vbox5.Add(this.frame1); Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame1])); w83.Position = 0; w83.Expand = false; // Container child vbox5.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; // Container child frame4.Gtk.Container+ContainerChild this.alignment8 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment8.Name = "alignment8"; this.alignment8.LeftPadding = ((uint)(12)); // Container child alignment8.Gtk.Container+ContainerChild this.table3 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(5)); this.table3.ColumnSpacing = ((uint)(5)); // Container child table3.Gtk.Table+TableChild this.ActivityColorButton = new Gtk.ColorButton(); this.ActivityColorButton.Name = "ActivityColorButton"; this.table3.Add(this.ActivityColorButton); Gtk.Table.TableChild w84 = ((Gtk.Table.TableChild)(this.table3[this.ActivityColorButton])); w84.TopAttach = ((uint)(1)); w84.BottomAttach = ((uint)(2)); w84.LeftAttach = ((uint)(1)); w84.RightAttach = ((uint)(2)); w84.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.HighlightColorButton = new Gtk.ColorButton(); this.HighlightColorButton.Name = "HighlightColorButton"; this.table3.Add(this.HighlightColorButton); Gtk.Table.TableChild w85 = ((Gtk.Table.TableChild)(this.table3[this.HighlightColorButton])); w85.TopAttach = ((uint)(3)); w85.BottomAttach = ((uint)(4)); w85.LeftAttach = ((uint)(1)); w85.RightAttach = ((uint)(2)); w85.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = Mono.Unix.Catalog.GetString("No Activity"); this.table3.Add(this.label16); Gtk.Table.TableChild w86 = ((Gtk.Table.TableChild)(this.table3[this.label16])); w86.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Activity"); this.table3.Add(this.label17); Gtk.Table.TableChild w87 = ((Gtk.Table.TableChild)(this.table3[this.label17])); w87.TopAttach = ((uint)(1)); w87.BottomAttach = ((uint)(2)); w87.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.Xalign = 0F; this.label18.LabelProp = Mono.Unix.Catalog.GetString("Join/Part/Mode"); this.table3.Add(this.label18); Gtk.Table.TableChild w88 = ((Gtk.Table.TableChild)(this.table3[this.label18])); w88.TopAttach = ((uint)(2)); w88.BottomAttach = ((uint)(3)); w88.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.label59 = new Gtk.Label(); this.label59.Name = "label59"; this.label59.Xalign = 0F; this.label59.LabelProp = Mono.Unix.Catalog.GetString("Highlight"); this.table3.Add(this.label59); Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table3[this.label59])); w89.TopAttach = ((uint)(3)); w89.BottomAttach = ((uint)(4)); w89.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.ModeColorButton = new Gtk.ColorButton(); this.ModeColorButton.Name = "ModeColorButton"; this.table3.Add(this.ModeColorButton); Gtk.Table.TableChild w90 = ((Gtk.Table.TableChild)(this.table3[this.ModeColorButton])); w90.TopAttach = ((uint)(2)); w90.BottomAttach = ((uint)(3)); w90.LeftAttach = ((uint)(1)); w90.RightAttach = ((uint)(2)); w90.YOptions = ((Gtk.AttachOptions)(0)); // Container child table3.Gtk.Table+TableChild this.NoActivityColorButton = new Gtk.ColorButton(); this.NoActivityColorButton.Name = "NoActivityColorButton"; this.table3.Add(this.NoActivityColorButton); Gtk.Table.TableChild w91 = ((Gtk.Table.TableChild)(this.table3[this.NoActivityColorButton])); w91.LeftAttach = ((uint)(1)); w91.RightAttach = ((uint)(2)); w91.YOptions = ((Gtk.AttachOptions)(0)); this.alignment8.Add(this.table3); this.frame4.Add(this.alignment8); this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.LabelProp = Mono.Unix.Catalog.GetString("<b> Tab Colors </b>"); this.label15.UseMarkup = true; this.frame4.LabelWidget = this.label15; this.vbox5.Add(this.frame4); Gtk.Box.BoxChild w94 = ((Gtk.Box.BoxChild)(this.vbox5[this.frame4])); w94.Position = 1; w94.Expand = false; this.InterfaceNotebook.Add(this.vbox5); Gtk.Notebook.NotebookChild w95 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox5])); w95.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Tabs"); this.InterfaceNotebook.SetTabLabel(this.vbox5, this.label2); this.label2.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; // Container child frame3.Gtk.Container+ContainerChild this.alignment7 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment7.Name = "alignment7"; this.alignment7.LeftPadding = ((uint)(12)); // Container child alignment7.Gtk.Container+ContainerChild this.vbox7 = new Gtk.VBox(); this.vbox7.Name = "vbox7"; this.vbox7.Spacing = 5; // Container child vbox7.Gtk.Box+BoxChild this.table4 = new Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(5)); this.table4.ColumnSpacing = ((uint)(5)); this.table4.BorderWidth = ((uint)(5)); // Container child table4.Gtk.Table+TableChild this.CommandCharacterEntry = new Gtk.Entry(); this.CommandCharacterEntry.WidthRequest = 30; this.CommandCharacterEntry.Name = "CommandCharacterEntry"; this.CommandCharacterEntry.Text = "/"; this.CommandCharacterEntry.IsEditable = true; this.CommandCharacterEntry.MaxLength = 1; this.CommandCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CommandCharacterEntry); Gtk.Table.TableChild w96 = ((Gtk.Table.TableChild)(this.table4[this.CommandCharacterEntry])); w96.TopAttach = ((uint)(1)); w96.BottomAttach = ((uint)(2)); w96.LeftAttach = ((uint)(1)); w96.RightAttach = ((uint)(2)); w96.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CommandHistorySizeSpinButton = new Gtk.SpinButton(1, 9999, 1); this.CommandHistorySizeSpinButton.WidthRequest = 60; this.CommandHistorySizeSpinButton.Name = "CommandHistorySizeSpinButton"; this.CommandHistorySizeSpinButton.Adjustment.PageIncrement = 10; this.CommandHistorySizeSpinButton.Adjustment.PageSize = 10; this.CommandHistorySizeSpinButton.ClimbRate = 1; this.CommandHistorySizeSpinButton.Numeric = true; this.CommandHistorySizeSpinButton.Value = 30; this.table4.Add(this.CommandHistorySizeSpinButton); Gtk.Table.TableChild w97 = ((Gtk.Table.TableChild)(this.table4[this.CommandHistorySizeSpinButton])); w97.TopAttach = ((uint)(2)); w97.BottomAttach = ((uint)(3)); w97.LeftAttach = ((uint)(1)); w97.RightAttach = ((uint)(2)); w97.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.CompletionCharacterEntry = new Gtk.Entry(); this.CompletionCharacterEntry.WidthRequest = 30; this.CompletionCharacterEntry.Name = "CompletionCharacterEntry"; this.CompletionCharacterEntry.Text = ":"; this.CompletionCharacterEntry.IsEditable = true; this.CompletionCharacterEntry.MaxLength = 1; this.CompletionCharacterEntry.InvisibleChar = '●'; this.table4.Add(this.CompletionCharacterEntry); Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table4[this.CompletionCharacterEntry])); w98.LeftAttach = ((uint)(1)); w98.RightAttach = ((uint)(2)); w98.YOptions = ((Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Completion Character:"); this.hbox4.Add(this.label13); Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox4[this.label13])); w99.Position = 0; w99.Expand = false; w99.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.fixed22 = new Gtk.Fixed(); this.fixed22.Name = "fixed22"; this.fixed22.HasWindow = false; this.hbox4.Add(this.fixed22); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox4[this.fixed22])); w100.Position = 1; this.table4.Add(this.hbox4); // Container child table4.Gtk.Table+TableChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; // Container child hbox5.Gtk.Box+BoxChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Command Character:"); this.hbox5.Add(this.label14); Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.hbox5[this.label14])); w102.Position = 0; w102.Expand = false; w102.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.fixed23 = new Gtk.Fixed(); this.fixed23.Name = "fixed23"; this.fixed23.HasWindow = false; this.hbox5.Add(this.fixed23); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.hbox5[this.fixed23])); w103.Position = 1; this.table4.Add(this.hbox5); Gtk.Table.TableChild w104 = ((Gtk.Table.TableChild)(this.table4[this.hbox5])); w104.TopAttach = ((uint)(1)); w104.BottomAttach = ((uint)(2)); // Container child table4.Gtk.Table+TableChild this.hbox6 = new Gtk.HBox(); this.hbox6.Name = "hbox6"; // Container child hbox6.Gtk.Box+BoxChild this.label42 = new Gtk.Label(); this.label42.Name = "label42"; this.label42.LabelProp = Mono.Unix.Catalog.GetString("Command History Size:"); this.hbox6.Add(this.label42); Gtk.Box.BoxChild w105 = ((Gtk.Box.BoxChild)(this.hbox6[this.label42])); w105.Position = 0; w105.Expand = false; w105.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.fixed24 = new Gtk.Fixed(); this.fixed24.Name = "fixed24"; this.fixed24.HasWindow = false; this.hbox6.Add(this.fixed24); Gtk.Box.BoxChild w106 = ((Gtk.Box.BoxChild)(this.hbox6[this.fixed24])); w106.Position = 1; this.table4.Add(this.hbox6); Gtk.Table.TableChild w107 = ((Gtk.Table.TableChild)(this.table4[this.hbox6])); w107.TopAttach = ((uint)(2)); w107.BottomAttach = ((uint)(3)); this.vbox7.Add(this.table4); Gtk.Box.BoxChild w108 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4])); w108.Position = 0; w108.Expand = false; w108.Fill = false; // Container child vbox7.Gtk.Box+BoxChild this.BashStyleCompletionCheckButton = new Gtk.CheckButton(); this.BashStyleCompletionCheckButton.Name = "BashStyleCompletionCheckButton"; this.BashStyleCompletionCheckButton.Label = Mono.Unix.Catalog.GetString("Bash-Style Completion"); this.BashStyleCompletionCheckButton.DrawIndicator = true; this.BashStyleCompletionCheckButton.UseUnderline = true; this.vbox7.Add(this.BashStyleCompletionCheckButton); Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.vbox7[this.BashStyleCompletionCheckButton])); w109.Position = 1; w109.Expand = false; w109.Fill = false; this.alignment7.Add(this.vbox7); this.frame3.Add(this.alignment7); this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("<b> Entry Field </b>"); this.label12.UseMarkup = true; this.frame3.LabelWidget = this.label12; this.InterfaceNotebook.Add(this.frame3); Gtk.Notebook.NotebookChild w112 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.frame3])); w112.Position = 2; // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Input"); this.InterfaceNotebook.SetTabLabel(this.frame3, this.label3); this.label3.ShowAll(); // Container child InterfaceNotebook.Gtk.Notebook+NotebookChild this.vbox8 = new Gtk.VBox(); this.vbox8.Name = "vbox8"; // Container child vbox8.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; // Container child frame2.Gtk.Container+ContainerChild this.alignment5 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.alignment5.LeftPadding = ((uint)(12)); // Container child alignment5.Gtk.Container+ContainerChild this.vbox9 = new Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 5; this.vbox9.BorderWidth = ((uint)(5)); // Container child vbox9.Gtk.Box+BoxChild this.NickColorsCheckButton = new Gtk.CheckButton(); this.NickColorsCheckButton.Name = "NickColorsCheckButton"; this.NickColorsCheckButton.Label = Mono.Unix.Catalog.GetString("Nick Colors"); this.NickColorsCheckButton.DrawIndicator = true; this.NickColorsCheckButton.UseUnderline = true; this.vbox9.Add(this.NickColorsCheckButton); Gtk.Box.BoxChild w113 = ((Gtk.Box.BoxChild)(this.vbox9[this.NickColorsCheckButton])); w113.Position = 0; w113.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame10 = new Gtk.Frame(); this.frame10.Name = "frame10"; // Container child frame10.Gtk.Container+ContainerChild this.alignment14 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment14.Name = "alignment14"; this.alignment14.LeftPadding = ((uint)(12)); // Container child alignment14.Gtk.Container+ContainerChild this.vbox11 = new Gtk.VBox(); this.vbox11.Name = "vbox11"; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonTop = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Top")); this.TopicPositionRadioButtonTop.Name = "TopicPositionRadioButtonTop"; this.TopicPositionRadioButtonTop.Active = true; this.TopicPositionRadioButtonTop.DrawIndicator = true; this.TopicPositionRadioButtonTop.UseUnderline = true; this.TopicPositionRadioButtonTop.Group = new GLib.SList(System.IntPtr.Zero); this.TopicPositionRadioButtonTop.Remove(this.TopicPositionRadioButtonTop.Child); // Container child TopicPositionRadioButtonTop.Gtk.Container+ContainerChild this.alignment21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment21.Name = "alignment21"; // Container child alignment21.Gtk.Container+ContainerChild this.hbox22 = new Gtk.HBox(); this.hbox22.Name = "hbox22"; this.hbox22.Spacing = 2; // Container child hbox22.Gtk.Box+BoxChild this.image1 = new Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-top", Gtk.IconSize.Menu, 16); this.hbox22.Add(this.image1); Gtk.Box.BoxChild w114 = ((Gtk.Box.BoxChild)(this.hbox22[this.image1])); w114.Position = 0; w114.Expand = false; w114.Fill = false; // Container child hbox22.Gtk.Box+BoxChild this.label52 = new Gtk.Label(); this.label52.Name = "label52"; this.label52.LabelProp = Mono.Unix.Catalog.GetString("Top"); this.label52.UseUnderline = true; this.hbox22.Add(this.label52); Gtk.Box.BoxChild w115 = ((Gtk.Box.BoxChild)(this.hbox22[this.label52])); w115.Position = 1; w115.Expand = false; w115.Fill = false; this.alignment21.Add(this.hbox22); this.TopicPositionRadioButtonTop.Add(this.alignment21); this.vbox11.Add(this.TopicPositionRadioButtonTop); Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonTop])); w118.Position = 0; w118.Expand = false; w118.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonBottom = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Bottom")); this.TopicPositionRadioButtonBottom.Name = "TopicPositionRadioButtonBottom"; this.TopicPositionRadioButtonBottom.DrawIndicator = true; this.TopicPositionRadioButtonBottom.UseUnderline = true; this.TopicPositionRadioButtonBottom.Group = this.TopicPositionRadioButtonTop.Group; this.TopicPositionRadioButtonBottom.Remove(this.TopicPositionRadioButtonBottom.Child); // Container child TopicPositionRadioButtonBottom.Gtk.Container+ContainerChild this.alignment20 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment20.Name = "alignment20"; // Container child alignment20.Gtk.Container+ContainerChild this.hbox21 = new Gtk.HBox(); this.hbox21.Name = "hbox21"; this.hbox21.Spacing = 2; // Container child hbox21.Gtk.Box+BoxChild this.image2 = new Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-bottom", Gtk.IconSize.Menu, 16); this.hbox21.Add(this.image2); Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.hbox21[this.image2])); w119.Position = 0; w119.Expand = false; w119.Fill = false; // Container child hbox21.Gtk.Box+BoxChild this.label51 = new Gtk.Label(); this.label51.Name = "label51"; this.label51.LabelProp = Mono.Unix.Catalog.GetString("Bottom"); this.label51.UseUnderline = true; this.hbox21.Add(this.label51); Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.hbox21[this.label51])); w120.Position = 1; w120.Expand = false; w120.Fill = false; this.alignment20.Add(this.hbox21); this.TopicPositionRadioButtonBottom.Add(this.alignment20); this.vbox11.Add(this.TopicPositionRadioButtonBottom); Gtk.Box.BoxChild w123 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonBottom])); w123.Position = 1; w123.Expand = false; w123.Fill = false; // Container child vbox11.Gtk.Box+BoxChild this.TopicPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.TopicPositionRadioButtonNone.Name = "TopicPositionRadioButtonNone"; this.TopicPositionRadioButtonNone.DrawIndicator = true; this.TopicPositionRadioButtonNone.UseUnderline = true; this.TopicPositionRadioButtonNone.Group = this.TopicPositionRadioButtonTop.Group; this.vbox11.Add(this.TopicPositionRadioButtonNone); Gtk.Box.BoxChild w124 = ((Gtk.Box.BoxChild)(this.vbox11[this.TopicPositionRadioButtonNone])); w124.Position = 2; w124.Expand = false; w124.Fill = false; this.alignment14.Add(this.vbox11); this.frame10.Add(this.alignment14); this.label41 = new Gtk.Label(); this.label41.Name = "label41"; this.label41.LabelProp = Mono.Unix.Catalog.GetString("<b> Topic Position </b>"); this.label41.UseMarkup = true; this.frame10.LabelWidget = this.label41; this.vbox9.Add(this.frame10); Gtk.Box.BoxChild w127 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame10])); w127.Position = 1; w127.Expand = false; // Container child vbox9.Gtk.Box+BoxChild this.frame9 = new Gtk.Frame(); this.frame9.WidthRequest = 152; this.frame9.HeightRequest = 96; this.frame9.Name = "frame9"; // Container child frame9.Gtk.Container+ContainerChild this.alignment13 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment13.Name = "alignment13"; this.alignment13.LeftPadding = ((uint)(12)); // Container child alignment13.Gtk.Container+ContainerChild this.vbox12 = new Gtk.VBox(); this.vbox12.Name = "vbox12"; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonLeft = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Left")); this.UserListPositionRadioButtonLeft.Name = "UserListPositionRadioButtonLeft"; this.UserListPositionRadioButtonLeft.Active = true; this.UserListPositionRadioButtonLeft.DrawIndicator = true; this.UserListPositionRadioButtonLeft.UseUnderline = true; this.UserListPositionRadioButtonLeft.Group = new GLib.SList(System.IntPtr.Zero); this.UserListPositionRadioButtonLeft.Remove(this.UserListPositionRadioButtonLeft.Child); // Container child UserListPositionRadioButtonLeft.Gtk.Container+ContainerChild this.alignment17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment17.Name = "alignment17"; // Container child alignment17.Gtk.Container+ContainerChild this.hbox18 = new Gtk.HBox(); this.hbox18.Name = "hbox18"; this.hbox18.Spacing = 2; // Container child hbox18.Gtk.Box+BoxChild this.image3 = new Gtk.Image(); this.image3.Name = "image3"; this.image3.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", Gtk.IconSize.Menu, 16); this.hbox18.Add(this.image3); Gtk.Box.BoxChild w128 = ((Gtk.Box.BoxChild)(this.hbox18[this.image3])); w128.Position = 0; w128.Expand = false; w128.Fill = false; // Container child hbox18.Gtk.Box+BoxChild this.label48 = new Gtk.Label(); this.label48.Name = "label48"; this.label48.LabelProp = Mono.Unix.Catalog.GetString("Left"); this.label48.UseUnderline = true; this.hbox18.Add(this.label48); Gtk.Box.BoxChild w129 = ((Gtk.Box.BoxChild)(this.hbox18[this.label48])); w129.Position = 1; w129.Expand = false; w129.Fill = false; this.alignment17.Add(this.hbox18); this.UserListPositionRadioButtonLeft.Add(this.alignment17); this.vbox12.Add(this.UserListPositionRadioButtonLeft); Gtk.Box.BoxChild w132 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonLeft])); w132.Position = 0; w132.Expand = false; w132.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonRight = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Right")); this.UserListPositionRadioButtonRight.Name = "UserListPositionRadioButtonRight"; this.UserListPositionRadioButtonRight.DrawIndicator = true; this.UserListPositionRadioButtonRight.UseUnderline = true; this.UserListPositionRadioButtonRight.Group = this.UserListPositionRadioButtonLeft.Group; this.UserListPositionRadioButtonRight.Remove(this.UserListPositionRadioButtonRight.Child); // Container child UserListPositionRadioButtonRight.Gtk.Container+ContainerChild this.alignment18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); this.alignment18.Name = "alignment18"; // Container child alignment18.Gtk.Container+ContainerChild this.hbox19 = new Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 2; // Container child hbox19.Gtk.Box+BoxChild this.image4 = new Gtk.Image(); this.image4.Name = "image4"; this.image4.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", Gtk.IconSize.Menu, 16); this.hbox19.Add(this.image4); Gtk.Box.BoxChild w133 = ((Gtk.Box.BoxChild)(this.hbox19[this.image4])); w133.Position = 0; w133.Expand = false; w133.Fill = false; // Container child hbox19.Gtk.Box+BoxChild this.label49 = new Gtk.Label(); this.label49.Name = "label49"; this.label49.LabelProp = Mono.Unix.Catalog.GetString("Right"); this.label49.UseUnderline = true; this.hbox19.Add(this.label49); Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.hbox19[this.label49])); w134.Position = 1; w134.Expand = false; w134.Fill = false; this.alignment18.Add(this.hbox19); this.UserListPositionRadioButtonRight.Add(this.alignment18); this.vbox12.Add(this.UserListPositionRadioButtonRight); Gtk.Box.BoxChild w137 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonRight])); w137.Position = 1; w137.Expand = false; w137.Fill = false; // Container child vbox12.Gtk.Box+BoxChild this.UserListPositionRadioButtonNone = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("None")); this.UserListPositionRadioButtonNone.Name = "UserListPositionRadioButtonNone"; this.UserListPositionRadioButtonNone.DrawIndicator = true; this.UserListPositionRadioButtonNone.UseUnderline = true; this.UserListPositionRadioButtonNone.Group = this.UserListPositionRadioButtonLeft.Group; this.vbox12.Add(this.UserListPositionRadioButtonNone); Gtk.Box.BoxChild w138 = ((Gtk.Box.BoxChild)(this.vbox12[this.UserListPositionRadioButtonNone])); w138.Position = 2; w138.Expand = false; w138.Fill = false; this.alignment13.Add(this.vbox12); this.frame9.Add(this.alignment13); this.label38 = new Gtk.Label(); this.label38.Name = "label38"; this.label38.LabelProp = Mono.Unix.Catalog.GetString("<b> User List Position </b>"); this.label38.UseMarkup = true; this.frame9.LabelWidget = this.label38; this.vbox9.Add(this.frame9); Gtk.Box.BoxChild w141 = ((Gtk.Box.BoxChild)(this.vbox9[this.frame9])); w141.Position = 2; w141.Expand = false; this.alignment5.Add(this.vbox9); this.frame2.Add(this.alignment5); this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("<b> Channel </b>"); this.label10.UseMarkup = true; this.frame2.LabelWidget = this.label10; this.vbox8.Add(this.frame2); Gtk.Box.BoxChild w144 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame2])); w144.Position = 0; w144.Expand = false; // Container child vbox8.Gtk.Box+BoxChild this.frame11 = new Gtk.Frame(); this.frame11.Name = "frame11"; // Container child frame11.Gtk.Container+ContainerChild this.alignment27 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment27.Name = "alignment27"; this.alignment27.LeftPadding = ((uint)(12)); // Container child alignment27.Gtk.Container+ContainerChild this.vbox13 = new Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.BorderWidth = ((uint)(5)); // Container child vbox13.Gtk.Box+BoxChild this.vbox14 = new Gtk.VBox(); this.vbox14.Name = "vbox14"; // Container child vbox14.Gtk.Box+BoxChild this.label62 = new Gtk.Label(); this.label62.Name = "label62"; this.label62.Xalign = 0F; this.label62.LabelProp = Mono.Unix.Catalog.GetString("Highlight words:"); this.vbox14.Add(this.label62); Gtk.Box.BoxChild w145 = ((Gtk.Box.BoxChild)(this.vbox14[this.label62])); w145.Position = 0; w145.Expand = false; w145.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.scrolledwindow4 = new Gtk.ScrolledWindow(); this.scrolledwindow4.Name = "scrolledwindow4"; this.scrolledwindow4.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow4.Gtk.Container+ContainerChild this.HighlightWordsTextView = new Gtk.TextView(); this.HighlightWordsTextView.Sensitive = false; this.HighlightWordsTextView.Name = "HighlightWordsTextView"; this.scrolledwindow4.Add(this.HighlightWordsTextView); this.vbox14.Add(this.scrolledwindow4); Gtk.Box.BoxChild w147 = ((Gtk.Box.BoxChild)(this.vbox14[this.scrolledwindow4])); w147.Position = 1; this.vbox13.Add(this.vbox14); Gtk.Box.BoxChild w148 = ((Gtk.Box.BoxChild)(this.vbox13[this.vbox14])); w148.Position = 0; // Container child vbox13.Gtk.Box+BoxChild this.BeepOnHighlightCheckButton = new Gtk.CheckButton(); this.BeepOnHighlightCheckButton.Name = "BeepOnHighlightCheckButton"; this.BeepOnHighlightCheckButton.Label = Mono.Unix.Catalog.GetString("Beep on highlight"); this.BeepOnHighlightCheckButton.DrawIndicator = true; this.BeepOnHighlightCheckButton.UseUnderline = true; this.vbox13.Add(this.BeepOnHighlightCheckButton); Gtk.Box.BoxChild w149 = ((Gtk.Box.BoxChild)(this.vbox13[this.BeepOnHighlightCheckButton])); w149.Position = 1; w149.Expand = false; w149.Fill = false; this.alignment27.Add(this.vbox13); this.frame11.Add(this.alignment27); this.label61 = new Gtk.Label(); this.label61.Name = "label61"; this.label61.LabelProp = Mono.Unix.Catalog.GetString("<b> Highlighting </b>"); this.label61.UseMarkup = true; this.frame11.LabelWidget = this.label61; this.vbox8.Add(this.frame11); Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.vbox8[this.frame11])); w152.Position = 1; this.InterfaceNotebook.Add(this.vbox8); Gtk.Notebook.NotebookChild w153 = ((Gtk.Notebook.NotebookChild)(this.InterfaceNotebook[this.vbox8])); w153.Position = 3; // Notebook tab this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Output"); this.InterfaceNotebook.SetTabLabel(this.vbox8, this.label4); this.label4.ShowAll(); this.Notebook.Add(this.InterfaceNotebook); Gtk.Notebook.NotebookChild w154 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.InterfaceNotebook])); w154.Position = 1; // Notebook tab this.label45 = new Gtk.Label(); this.label45.Name = "label45"; this.label45.LabelProp = Mono.Unix.Catalog.GetString("_Interface"); this.label45.UseUnderline = true; this.Notebook.SetTabLabel(this.InterfaceNotebook, this.label45); this.label45.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.hbox27 = new Gtk.HBox(); this.hbox27.Name = "hbox27"; this.hbox27.BorderWidth = ((uint)(5)); // Container child hbox27.Gtk.Box+BoxChild this.scrolledwindow3 = new Gtk.ScrolledWindow(); this.scrolledwindow3.Name = "scrolledwindow3"; this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow3.Gtk.Container+ContainerChild this.ServersTreeView = new Gtk.TreeView(); this.ServersTreeView.Name = "ServersTreeView"; this.ServersTreeView.HeadersClickable = true; this.scrolledwindow3.Add(this.ServersTreeView); this.hbox27.Add(this.scrolledwindow3); Gtk.Box.BoxChild w156 = ((Gtk.Box.BoxChild)(this.hbox27[this.scrolledwindow3])); w156.Position = 0; // Container child hbox27.Gtk.Box+BoxChild this.vbuttonbox1 = new Gtk.VButtonBox(); this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox1.BorderWidth = ((uint)(5)); this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersAddButton = new Gtk.Button(); this.ServersAddButton.Name = "ServersAddButton"; this.ServersAddButton.UseStock = true; this.ServersAddButton.UseUnderline = true; this.ServersAddButton.Label = "gtk-add"; this.vbuttonbox1.Add(this.ServersAddButton); // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersEditButton = new Gtk.Button(); this.ServersEditButton.Name = "ServersEditButton"; this.ServersEditButton.UseStock = true; this.ServersEditButton.UseUnderline = true; this.ServersEditButton.Label = "gtk-edit"; this.vbuttonbox1.Add(this.ServersEditButton); Gtk.ButtonBox.ButtonBoxChild w158 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersEditButton])); w158.Position = 1; // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ServersRemoveButton = new Gtk.Button(); this.ServersRemoveButton.Name = "ServersRemoveButton"; this.ServersRemoveButton.UseStock = true; this.ServersRemoveButton.UseUnderline = true; this.ServersRemoveButton.Label = "gtk-remove"; this.vbuttonbox1.Add(this.ServersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w159 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.ServersRemoveButton])); w159.Position = 2; this.hbox27.Add(this.vbuttonbox1); Gtk.Box.BoxChild w160 = ((Gtk.Box.BoxChild)(this.hbox27[this.vbuttonbox1])); w160.Position = 1; w160.Expand = false; this.Notebook.Add(this.hbox27); Gtk.Notebook.NotebookChild w161 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.hbox27])); w161.Position = 2; // Notebook tab this.label57 = new Gtk.Label(); this.label57.Name = "label57"; this.label57.LabelProp = Mono.Unix.Catalog.GetString("_Servers"); this.label57.UseUnderline = true; this.Notebook.SetTabLabel(this.hbox27, this.label57); this.label57.ShowAll(); // Container child Notebook.Gtk.Notebook+NotebookChild this.vbox15 = new Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.BorderWidth = ((uint)(5)); // Container child vbox15.Gtk.Box+BoxChild this.frame12 = new Gtk.Frame(); this.frame12.Name = "frame12"; // Container child frame12.Gtk.Container+ContainerChild this.alignment28 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment28.Name = "alignment28"; this.alignment28.LeftPadding = ((uint)(12)); // Container child alignment28.Gtk.Container+ContainerChild this.vbox16 = new Gtk.VBox(); this.vbox16.Name = "vbox16"; // Container child vbox16.Gtk.Box+BoxChild this.scrolledwindow5 = new Gtk.ScrolledWindow(); this.scrolledwindow5.Name = "scrolledwindow5"; this.scrolledwindow5.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow5.Gtk.Container+ContainerChild this.ChannelFiltersTreeView = new Gtk.TreeView(); this.ChannelFiltersTreeView.Name = "ChannelFiltersTreeView"; this.ChannelFiltersTreeView.HeadersClickable = true; this.scrolledwindow5.Add(this.ChannelFiltersTreeView); this.vbox16.Add(this.scrolledwindow5); Gtk.Box.BoxChild w163 = ((Gtk.Box.BoxChild)(this.vbox16[this.scrolledwindow5])); w163.Position = 0; // Container child vbox16.Gtk.Box+BoxChild this.hbuttonbox1 = new Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(1)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersAddButton = new Gtk.Button(); this.ChannelFiltersAddButton.Sensitive = false; this.ChannelFiltersAddButton.Name = "ChannelFiltersAddButton"; this.ChannelFiltersAddButton.UseStock = true; this.ChannelFiltersAddButton.UseUnderline = true; this.ChannelFiltersAddButton.Label = "gtk-add"; this.hbuttonbox1.Add(this.ChannelFiltersAddButton); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.ChannelFiltersRemoveButton = new Gtk.Button(); this.ChannelFiltersRemoveButton.Sensitive = false; this.ChannelFiltersRemoveButton.Name = "ChannelFiltersRemoveButton"; this.ChannelFiltersRemoveButton.UseStock = true; this.ChannelFiltersRemoveButton.UseUnderline = true; this.ChannelFiltersRemoveButton.Label = "gtk-remove"; this.hbuttonbox1.Add(this.ChannelFiltersRemoveButton); Gtk.ButtonBox.ButtonBoxChild w165 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.ChannelFiltersRemoveButton])); w165.Position = 1; this.vbox16.Add(this.hbuttonbox1); Gtk.Box.BoxChild w166 = ((Gtk.Box.BoxChild)(this.vbox16[this.hbuttonbox1])); w166.Position = 1; w166.Expand = false; this.alignment28.Add(this.vbox16); this.frame12.Add(this.alignment28); this.label64 = new Gtk.Label(); this.label64.Name = "label64"; this.label64.LabelProp = Mono.Unix.Catalog.GetString("<b>Channel Filters</b>"); this.label64.UseMarkup = true; this.frame12.LabelWidget = this.label64; this.vbox15.Add(this.frame12); Gtk.Box.BoxChild w169 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame12])); w169.Position = 0; // Container child vbox15.Gtk.Box+BoxChild this.frame13 = new Gtk.Frame(); this.frame13.Sensitive = false; this.frame13.Name = "frame13"; // Container child frame13.Gtk.Container+ContainerChild this.alignment29 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment29.Name = "alignment29"; this.alignment29.LeftPadding = ((uint)(12)); this.frame13.Add(this.alignment29); this.label65 = new Gtk.Label(); this.label65.Name = "label65"; this.label65.LabelProp = Mono.Unix.Catalog.GetString("<b>User Filters</b>"); this.label65.UseMarkup = true; this.frame13.LabelWidget = this.label65; this.vbox15.Add(this.frame13); Gtk.Box.BoxChild w171 = ((Gtk.Box.BoxChild)(this.vbox15[this.frame13])); w171.Position = 1; this.Notebook.Add(this.vbox15); Gtk.Notebook.NotebookChild w172 = ((Gtk.Notebook.NotebookChild)(this.Notebook[this.vbox15])); w172.Position = 3; // Notebook tab this.label63 = new Gtk.Label(); this.label63.Name = "label63"; this.label63.LabelProp = Mono.Unix.Catalog.GetString("_Filters"); this.label63.UseUnderline = true; this.Notebook.SetTabLabel(this.vbox15, this.label63); this.label63.ShowAll(); this.hbox1.Add(this.Notebook); Gtk.Box.BoxChild w173 = ((Gtk.Box.BoxChild)(this.hbox1[this.Notebook])); w173.Position = 1; w1.Add(this.hbox1); Gtk.Box.BoxChild w174 = ((Gtk.Box.BoxChild)(w1[this.hbox1])); w174.Position = 0; // Internal child Smuxi.Frontend.Gnome.SteticPreferencesDialog.ActionArea Gtk.HButtonBox w175 = this.ActionArea; w175.Name = "dialog-action_area1"; w175.Spacing = 6; w175.BorderWidth = ((uint)(5)); w175.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.CancelButton = new Gtk.Button(); this.CancelButton.Name = "CancelButton"; this.CancelButton.UseStock = true; this.CancelButton.UseUnderline = true; this.CancelButton.Label = "gtk-cancel"; this.AddActionWidget(this.CancelButton, -6); // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.ApplyButton = new Gtk.Button(); this.ApplyButton.Sensitive = false; this.ApplyButton.Name = "ApplyButton"; this.ApplyButton.UseStock = true; this.ApplyButton.UseUnderline = true; this.ApplyButton.Label = "gtk-apply"; this.AddActionWidget(this.ApplyButton, -10); Gtk.ButtonBox.ButtonBoxChild w177 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.ApplyButton])); w177.Position = 1; // Container child dialog-action_area1.Gtk.ButtonBox+ButtonBoxChild this.OKButton = new Gtk.Button(); this.OKButton.Name = "OKButton"; this.OKButton.UseStock = true; this.OKButton.UseUnderline = true; this.OKButton.Label = "gtk-ok"; this.AddActionWidget(this.OKButton, -5); Gtk.ButtonBox.ButtonBoxChild w178 = ((Gtk.ButtonBox.ButtonBoxChild)(w175[this.OKButton])); w178.Position = 2; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 524; this.DefaultHeight = 579; this.label44.MnemonicWidget = this.Notebook; this.label45.MnemonicWidget = this.Notebook; this.label57.MnemonicWidget = this.Notebook; this.label63.MnemonicWidget = this.Notebook; this.Show(); this.EncodingComboBox.Changed += new System.EventHandler(this._OnChanged); this.ConnectionUsernameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionRealnameEntry.Changed += new System.EventHandler(this._OnChanged); this.ConnectionNicknamesEntry.Changed += new System.EventHandler(this._OnChanged); this.TimestampFormatEntry.Changed += new System.EventHandler(this._OnChanged); this.EngineBufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.BufferLinesSpinButton.Changed += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.TabPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.NoActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ModeColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.ActivityColorButton.ColorSet += new System.EventHandler(this._OnChanged); this.CompletionCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.CommandHistorySizeSpinButton.Changed += new System.EventHandler(this._OnChanged); this.CommandCharacterEntry.Changed += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonTop.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonBottom.Toggled += new System.EventHandler(this._OnChanged); this.TopicPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonLeft.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonRight.Toggled += new System.EventHandler(this._OnChanged); this.UserListPositionRadioButtonNone.Toggled += new System.EventHandler(this._OnChanged); }
public ValueReferenceEditor(Project p, ValueReferenceGroup vrg, int rows, string frameText = null) : base(1.0F, 1.0F, 1.0F, 1.0F) { Project = p; valueReferenceGroup = vrg; maxBounds = new int[valueReferenceGroup.GetNumValueReferences()]; widgetPositions = new Tuple <uint, uint> [maxBounds.Count]; widgets = new Gtk.Widget[maxBounds.Count]; helpButtonContainers = new Gtk.Container[maxBounds.Count]; table = new Gtk.Table(2, 2, false); uint x = 0, y = 0; int cnt = 0; foreach (ValueReference r in valueReferenceGroup.GetValueReferences()) { int index = cnt; cnt++; if (y >= rows) { y = 0; x += 3; } widgetPositions[index] = new Tuple <uint, uint>(x, y); // If it has a ConstantsMapping, use a combobox instead of anything else if (r.ConstantsMapping != null) { ComboBoxFromConstants comboBox = new ComboBoxFromConstants(false); comboBox.SetConstantsMapping(r.ConstantsMapping); comboBox.Changed += delegate(object sender, EventArgs e) { r.SetValue(comboBox.ActiveValue); OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { comboBox.ActiveValue = r.GetIntValue(); }; table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); table.Attach(comboBox, x + 1, x + 2, y, y + 1); widgets[index] = comboBox; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); goto loopEnd; } // ConstantsMapping == null switch (r.ValueType) { case DataValueType.String: default: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); Gtk.Entry entry = new Gtk.Entry(); if (!r.Editable) { entry.Sensitive = false; } dataModifiedExternalEvent += delegate() { entry.Text = r.GetStringValue(); OnDataModifiedInternal(); }; table.Attach(entry, x + 1, x + 2, y, y + 1); widgets[index] = entry; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); break; } case DataValueType.Byte: case DataValueType.HalfByte: byteCase: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); SpinButtonHexadecimal spinButton = new SpinButtonHexadecimal(0, 255); if (!r.Editable) { spinButton.Sensitive = false; } if (r.ValueType == DataValueType.HalfByte) { spinButton.Digits = 1; spinButton.Adjustment.Upper = 15; } else { spinButton.Digits = 2; } spinButton.ValueChanged += delegate(object sender, EventArgs e) { Gtk.SpinButton button = sender as Gtk.SpinButton; if (maxBounds[index] == 0 || button.ValueAsInt <= maxBounds[index]) { r.SetValue(button.ValueAsInt); } else { button.Value = maxBounds[index]; } OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { spinButton.Value = r.GetIntValue(); }; table.Attach(spinButton, x + 1, x + 2, y, y + 1); widgets[index] = spinButton; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); } break; case DataValueType.WarpDestIndex: { Gtk.Button newDestButton = new Gtk.Button("New\nDestination"); newDestButton.Clicked += delegate(object sender, EventArgs e) { WarpSourceData warpData = (WarpSourceData)r.Data; WarpDestGroup destGroup = warpData.GetReferencedDestGroup(); // Check if there's unused destination data // already for (int i = 0; i < destGroup.GetNumWarpDests(); i++) { WarpDestData destData = destGroup.GetWarpDest(i); if (destData.GetNumReferences() == 0) { Gtk.MessageDialog d = new Gtk.MessageDialog(null, Gtk.DialogFlags.DestroyWithParent, Gtk.MessageType.Warning, Gtk.ButtonsType.YesNo, "Destination index " + i.ToString("X2") + " is not used by any sources. Use this index?\n\n(\"No\" will create a new destination instead.)"); Gtk.ResponseType response = (Gtk.ResponseType)d.Run(); d.Destroy(); if (response == Gtk.ResponseType.Yes) { warpData.SetDestData(destGroup.GetWarpDest(i)); } else if (response == Gtk.ResponseType.No) { warpData.SetDestData(destGroup.AddDestData()); } break; } } }; table.Attach(newDestButton, x + 2, x + 3, y, y + 2); } goto byteCase; case DataValueType.Word: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); SpinButtonHexadecimal spinButton = new SpinButtonHexadecimal(0, 0xffff); if (!r.Editable) { spinButton.Sensitive = false; } spinButton.Digits = 4; spinButton.ValueChanged += delegate(object sender, EventArgs e) { Gtk.SpinButton button = sender as Gtk.SpinButton; if (maxBounds[index] == 0 || button.ValueAsInt <= maxBounds[index]) { r.SetValue(button.ValueAsInt); } else { button.Value = maxBounds[index]; } OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { spinButton.Value = r.GetIntValue(); }; table.Attach(spinButton, x + 1, x + 2, y, y + 1); widgets[index] = spinButton; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); } break; case DataValueType.ByteBit: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); Gtk.CheckButton checkButton = new Gtk.CheckButton(); checkButton.CanFocus = false; if (!r.Editable) { checkButton.Sensitive = false; } checkButton.Toggled += delegate(object sender, EventArgs e) { Gtk.CheckButton button = sender as Gtk.CheckButton; r.SetValue(button.Active ? 1 : 0); OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { checkButton.Active = r.GetIntValue() == 1; }; table.Attach(checkButton, x + 1, x + 2, y, y + 1); widgets[index] = checkButton; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); } break; case DataValueType.ByteBits: case DataValueType.WordBits: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); SpinButtonHexadecimal spinButton = new SpinButtonHexadecimal(0, r.MaxValue); if (!r.Editable) { spinButton.Sensitive = false; } spinButton.Digits = (uint)Math.Pow(r.MaxValue, ((double)1) / 16) + 1; spinButton.ValueChanged += delegate(object sender, EventArgs e) { Gtk.SpinButton button = sender as Gtk.SpinButton; if (maxBounds[index] == 0 || button.ValueAsInt <= maxBounds[index]) { r.SetValue(button.ValueAsInt); } else { button.Value = maxBounds[index]; } OnDataModifiedInternal(); }; dataModifiedExternalEvent += delegate() { spinButton.Value = r.GetIntValue(); }; table.Attach(spinButton, x + 1, x + 2, y, y + 1); widgets[index] = spinButton; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); } break; case DataValueType.ObjectPointer: { table.Attach(new Gtk.Label(r.Name), x + 0, x + 1, y, y + 1); Gtk.Entry entry = new Gtk.Entry(); if (!r.Editable) { entry.Sensitive = false; } entry.Changed += delegate(object sender, EventArgs e) { UpdatePointerTextBox(sender as Gtk.Entry, r); OnDataModifiedInternal(); }; table.Attach(entry, x + 1, x + 2, y, y + 1); widgets[index] = entry; pointerFrame = new Gtk.Frame(); pointerFrame.Label = "Pointer data (possibly shared)"; pointerFrame.BorderWidth = 5; y++; table.Attach(pointerFrame, x + 0, x + 2, y, y + 1); dataModifiedExternalEvent += delegate() { entry.Text = r.GetStringValue(); UpdatePointerTextBox(entry, r); }; helpButtonContainers[index] = new Gtk.HBox(); table.Attach(helpButtonContainers[index], x + 2, x + 3, y, y + 1, 0, Gtk.AttachOptions.Fill, 0, 0); } break; } loopEnd: y++; } table.ColumnSpacing = 6; if (frameText != null) { var frame = new Gtk.Frame(frameText); frame.Add(table); this.Add(frame); } else { this.Add(table); } this.ShowAll(); Data lastData = null; foreach (ValueReference r in valueReferenceGroup.GetValueReferences()) { if (lastData != r.Data) { lastData = r.Data; r.Data.AddDataModifiedHandler(OnDataModifiedExternal); // Destroy handler this.Destroyed += delegate(object sender, EventArgs e) { r.Data.RemoveDataModifiedHandler(OnDataModifiedExternal); }; } } // Initial values if (dataModifiedExternalEvent != null) { dataModifiedExternalEvent(); } UpdateHelpButtons(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ControlWrappers.BoundCalendar Stetic.BinContainer.Attach(this); this.Name = "ControlWrappers.BoundCalendar"; // Container child ControlWrappers.BoundCalendar.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.calBound = new Gtk.Calendar(); this.calBound.CanFocus = true; this.calBound.Name = "calBound"; this.calBound.DisplayOptions = ((Gtk.CalendarDisplayOptions)(35)); this.vbox1.Add(this.calBound); Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.calBound])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.lblHour = new Gtk.Label(); this.lblHour.Name = "lblHour"; this.lblHour.LabelProp = Mono.Unix.Catalog.GetString("H:"); this.hbox1.Add(this.lblHour); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblHour])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.sbHour = new Gtk.SpinButton(0, 23, 1); this.sbHour.CanFocus = true; this.sbHour.Name = "sbHour"; this.sbHour.Adjustment.PageIncrement = 10; this.sbHour.ClimbRate = 1; this.sbHour.Numeric = true; this.hbox1.Add(this.sbHour); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.sbHour])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.lblMinute = new Gtk.Label(); this.lblMinute.Name = "lblMinute"; this.lblMinute.LabelProp = Mono.Unix.Catalog.GetString("M:"); this.hbox1.Add(this.lblMinute); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblMinute])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.sbMinute = new Gtk.SpinButton(0, 59, 1); this.sbMinute.CanFocus = true; this.sbMinute.Name = "sbMinute"; this.sbMinute.Adjustment.PageIncrement = 10; this.sbMinute.ClimbRate = 1; this.sbMinute.Numeric = true; this.hbox1.Add(this.sbMinute); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.sbMinute])); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.cbNullDateTime = new Gtk.CheckButton(); this.cbNullDateTime.CanFocus = true; this.cbNullDateTime.Name = "cbNullDateTime"; this.cbNullDateTime.Label = ""; this.cbNullDateTime.Active = true; this.cbNullDateTime.DrawIndicator = true; this.cbNullDateTime.UseUnderline = true; this.hbox1.Add(this.cbNullDateTime); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox1[this.cbNullDateTime])); w6.Position = 4; this.vbox1.Add(this.hbox1); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Hide(); this.calBound.DaySelected += new System.EventHandler(this.CalendarDaySelected); this.calBound.DaySelectedDoubleClick += new System.EventHandler(this.CalendarDaySelectedDoubleClick); this.sbHour.ValueChanged += new System.EventHandler(this.HourValueChanged); this.sbMinute.ValueChanged += new System.EventHandler(this.MinuteValueChanged); this.cbNullDateTime.Toggled += new System.EventHandler(this.NullDateTimeToggled); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Monsoon.MainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); this.FileAction = new Gtk.Action("FileAction", Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.EditAction = new Gtk.Action("EditAction", Mono.Unix.Catalog.GetString("_Edit"), null, null); this.EditAction.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.ViewAction = new Gtk.Action("ViewAction", Mono.Unix.Catalog.GetString("_View"), null, null); this.ViewAction.ShortLabel = Mono.Unix.Catalog.GetString("View"); w1.Add(this.ViewAction, null); this.HelpAction = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.About = new Gtk.Action("About", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about"); this.About.ShortLabel = Mono.Unix.Catalog.GetString("_About"); w1.Add(this.About, null); this.Quit = new Gtk.Action("Quit", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit"); this.Quit.ShortLabel = Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.Quit, null); this.stopTorrentButton = new Gtk.Action("stopTorrentButton", null, Mono.Unix.Catalog.GetString("Stop the torrent"), "gtk-media-stop"); this.stopTorrentButton.Sensitive = false; w1.Add(this.stopTorrentButton, null); this.removeTorrentButton = new Gtk.Action("removeTorrentButton", null, Mono.Unix.Catalog.GetString("Remove the torrent"), "gtk-remove"); this.removeTorrentButton.Sensitive = false; w1.Add(this.removeTorrentButton, null); this.preferences = new Gtk.Action("preferences", null, Mono.Unix.Catalog.GetString("Open the preferences dialog"), "gtk-preferences"); w1.Add(this.preferences, null); this.deleteTorrentButton = new Gtk.Action("deleteTorrentButton", null, Mono.Unix.Catalog.GetString("Remove the torrent and delete it's data"), "gtk-delete"); this.deleteTorrentButton.Sensitive = false; w1.Add(this.deleteTorrentButton, null); this.EditColumns = new Gtk.Action("EditColumns", Mono.Unix.Catalog.GetString("Edit Columns"), null, null); this.EditColumns.ShortLabel = Mono.Unix.Catalog.GetString("Columns"); w1.Add(this.EditColumns, null); this.ShowLabels = new Gtk.ToggleAction("ShowLabels", Mono.Unix.Catalog.GetString("Show Labels"), null, null); this.ShowLabels.ShortLabel = Mono.Unix.Catalog.GetString("Show Labels"); w1.Add(this.ShowLabels, null); this.ShowDetailedInfo = new Gtk.ToggleAction("ShowDetailedInfo", Mono.Unix.Catalog.GetString("Show Detailed Info"), null, null); this.ShowDetailedInfo.ShortLabel = Mono.Unix.Catalog.GetString("Show Detailed Info"); w1.Add(this.ShowDetailedInfo, null); this.OpenTorrent = new Gtk.Action("OpenTorrent", Mono.Unix.Catalog.GetString("_Open Torrent"), Mono.Unix.Catalog.GetString("Open existing torrent file"), "gtk-open"); this.OpenTorrent.ShortLabel = Mono.Unix.Catalog.GetString("_Open Torrent"); w1.Add(this.OpenTorrent, null); this.startTorrentButton = new Gtk.Action("startTorrentButton", null, Mono.Unix.Catalog.GetString("Start the torrent"), "gtk-media-play"); this.startTorrentButton.Sensitive = false; w1.Add(this.startTorrentButton, null); this.NewTorrent = new Gtk.Action("NewTorrent", Mono.Unix.Catalog.GetString("_New Torrent"), Mono.Unix.Catalog.GetString("Create a new torrent"), "gtk-new"); this.NewTorrent.ShortLabel = Mono.Unix.Catalog.GetString("_New Torrent"); w1.Add(this.NewTorrent, null); this.Plugins = new Gtk.Action("Plugins", Mono.Unix.Catalog.GetString("Plugins"), Mono.Unix.Catalog.GetString("Open the RSS manager"), "rss"); this.Plugins.ShortLabel = Mono.Unix.Catalog.GetString("Plugins"); w1.Add(this.Plugins, null); this.ReportBugAction = new Gtk.Action("ReportBugAction", Mono.Unix.Catalog.GetString("Report Bug"), null, null); this.ReportBugAction.ShortLabel = Mono.Unix.Catalog.GetString("Report Bug"); w1.Add(this.ReportBugAction, null); this.gotoTopAction = new Gtk.Action("gotoTopAction", null, null, "gtk-goto-top"); w1.Add(this.gotoTopAction, null); this.gotoBottomAction = new Gtk.Action("gotoBottomAction", null, null, "gtk-goto-bottom"); w1.Add(this.gotoBottomAction, null); this.CloseAction = new Gtk.Action("CloseAction", Mono.Unix.Catalog.GetString("Close"), null, "gtk-close"); this.CloseAction.ShortLabel = Mono.Unix.Catalog.GetString("Close"); w1.Add(this.CloseAction, null); this.AddInManagerAction = new Gtk.Action("AddInManagerAction", Mono.Unix.Catalog.GetString("_Add-in Manager"), null, "gtk-properties"); this.AddInManagerAction.ShortLabel = Mono.Unix.Catalog.GetString("_Add-in Manager"); w1.Add(this.AddInManagerAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "Monsoon.MainWindow"; this.Title = Mono.Unix.Catalog.GetString("Monsoon"); this.Icon = Stetic.IconLoader.LoadIcon(this, "stock_weather-showers", Gtk.IconSize.Dialog, 48); // Container child Monsoon.MainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewTorrent' action='NewTorrent'/><menuitem name='OpenTorrent' action='OpenTorrent'/><separator/><menuitem name='CloseAction' action='CloseAction'/><menuitem name='Quit' action='Quit'/></menu><menu name='EditAction' action='EditAction'><menuitem name='AddInManagerAction' action='AddInManagerAction'/><menuitem name='preferences' action='preferences'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='EditColumns' action='EditColumns'/><separator/><menuitem name='ShowLabels' action='ShowLabels'/><menuitem name='ShowDetailedInfo' action='ShowDetailedInfo'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='About' action='About'/><menuitem name='ReportBugAction' action='ReportBugAction'/></menu></menubar></ui>"); this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox1.Add(this.menubar1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='NewTorrent' action='NewTorrent'/><toolitem name='OpenTorrent' action='OpenTorrent'/><separator/><toolitem name='startTorrentButton' action='startTorrentButton'/><toolitem name='stopTorrentButton' action='stopTorrentButton'/><toolitem name='removeTorrentButton' action='removeTorrentButton'/><toolitem name='deleteTorrentButton' action='deleteTorrentButton'/><separator/><toolitem name='gotoTopAction' action='gotoTopAction'/><toolitem name='gotoBottomAction' action='gotoBottomAction'/><separator/><toolitem name='Plugins' action='Plugins'/><toolitem name='preferences' action='preferences'/></toolbar></ui>"); this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.vbox1.Add(this.toolbar1); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hPaned = new Gtk.HPaned(); this.hPaned.CanFocus = true; this.hPaned.Name = "hPaned"; this.hPaned.Position = 145; // Container child hPaned.Gtk.Paned+PanedChild this.labelViewScrolledWindow = new Gtk.ScrolledWindow(); this.labelViewScrolledWindow.CanFocus = true; this.labelViewScrolledWindow.Name = "labelViewScrolledWindow"; this.hPaned.Add(this.labelViewScrolledWindow); Gtk.Paned.PanedChild w4 = ((Gtk.Paned.PanedChild)(this.hPaned[this.labelViewScrolledWindow])); w4.Resize = false; // Container child hPaned.Gtk.Paned+PanedChild this.vPaned = new Gtk.VPaned(); this.vPaned.CanFocus = true; this.vPaned.Name = "vPaned"; this.vPaned.Position = 165; // Container child vPaned.Gtk.Paned+PanedChild this.torrentViewScrolledWindow = new Gtk.ScrolledWindow(); this.torrentViewScrolledWindow.CanFocus = true; this.torrentViewScrolledWindow.Name = "torrentViewScrolledWindow"; this.torrentViewScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.vPaned.Add(this.torrentViewScrolledWindow); Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.vPaned[this.torrentViewScrolledWindow])); w5.Resize = false; // Container child vPaned.Gtk.Paned+PanedChild this.detailNotebook = new Gtk.Notebook(); this.detailNotebook.CanFocus = true; this.detailNotebook.Name = "detailNotebook"; this.detailNotebook.CurrentPage = 4; // Container child detailNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow1 = new Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild Gtk.Viewport w6 = new Gtk.Viewport(); w6.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport2.Gtk.Container+ContainerChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; this.vbox4.BorderWidth = ((uint)(5)); // Container child vbox4.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.statusProgressBarLabel = new Gtk.Label(); this.statusProgressBarLabel.Name = "statusProgressBarLabel"; this.statusProgressBarLabel.LabelProp = Mono.Unix.Catalog.GetString("Status: "); this.hbox3.Add(this.statusProgressBarLabel); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.statusProgressBarLabel])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.statusProgressBar = new Gtk.ProgressBar(); this.statusProgressBar.Name = "statusProgressBar"; this.statusProgressBar.Text = Mono.Unix.Catalog.GetString(" "); this.hbox3.Add(this.statusProgressBar); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.statusProgressBar])); w8.Position = 1; this.vbox4.Add(this.hbox3); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.WidthRequest = 260; this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table8 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table8.Name = "table8"; this.table8.RowSpacing = ((uint)(6)); this.table8.ColumnSpacing = ((uint)(6)); // Container child table8.Gtk.Table+TableChild this.downloadedValueLabel = new Gtk.Label(); this.downloadedValueLabel.Name = "downloadedValueLabel"; this.downloadedValueLabel.Xalign = 0F; this.table8.Add(this.downloadedValueLabel); Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table8[this.downloadedValueLabel])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((Gtk.AttachOptions)(4)); w10.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.elapsedTimeLabel = new Gtk.Label(); this.elapsedTimeLabel.Name = "elapsedTimeLabel"; this.elapsedTimeLabel.Xalign = 0F; this.elapsedTimeLabel.LabelProp = Mono.Unix.Catalog.GetString("Elapsed Time:"); this.table8.Add(this.elapsedTimeLabel); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table8[this.elapsedTimeLabel])); w11.XOptions = ((Gtk.AttachOptions)(4)); w11.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.elapsedTimeValueLabel = new Gtk.Label(); this.elapsedTimeValueLabel.Name = "elapsedTimeValueLabel"; this.elapsedTimeValueLabel.Xalign = 0F; this.table8.Add(this.elapsedTimeValueLabel); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table8[this.elapsedTimeValueLabel])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.hashFailsLabel = new Gtk.Label(); this.hashFailsLabel.Name = "hashFailsLabel"; this.hashFailsLabel.Xalign = 0F; this.table8.Add(this.hashFailsLabel); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table8[this.hashFailsLabel])); w13.TopAttach = ((uint)(3)); w13.BottomAttach = ((uint)(4)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label21 = new Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 0F; this.label21.LabelProp = Mono.Unix.Catalog.GetString("Downloaded:"); this.table8.Add(this.label21); Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table8[this.label21])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((Gtk.AttachOptions)(4)); w14.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label22 = new Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 0F; this.label22.LabelProp = Mono.Unix.Catalog.GetString("Uploaded:"); this.table8.Add(this.label22); Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table8[this.label22])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((Gtk.AttachOptions)(4)); w15.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Hash Fails:"); this.table8.Add(this.label3); Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table8[this.label3])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((Gtk.AttachOptions)(4)); w16.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Swarm Speed:"); this.table8.Add(this.label5); Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table8[this.label5])); w17.TopAttach = ((uint)(4)); w17.BottomAttach = ((uint)(5)); w17.XOptions = ((Gtk.AttachOptions)(4)); w17.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.swarmSpeedLabel = new Gtk.Label(); this.swarmSpeedLabel.Name = "swarmSpeedLabel"; this.swarmSpeedLabel.Xalign = 0F; this.table8.Add(this.swarmSpeedLabel); Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table8[this.swarmSpeedLabel])); w18.TopAttach = ((uint)(4)); w18.BottomAttach = ((uint)(5)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((Gtk.AttachOptions)(4)); w18.YOptions = ((Gtk.AttachOptions)(4)); // Container child table8.Gtk.Table+TableChild this.uploadedValueLabel = new Gtk.Label(); this.uploadedValueLabel.Name = "uploadedValueLabel"; this.uploadedValueLabel.Xalign = 0F; this.table8.Add(this.uploadedValueLabel); Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table8[this.uploadedValueLabel])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((Gtk.AttachOptions)(4)); w19.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table8); this.frame1.Add(this.GtkAlignment); this.GtkLabel6 = new Gtk.Label(); this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Transfer</b>"); this.GtkLabel6.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel6; this.hbox1.Add(this.frame1); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame1])); w22.Position = 0; w22.Expand = false; w22.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.table7 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table7.Name = "table7"; this.table7.RowSpacing = ((uint)(6)); this.table7.ColumnSpacing = ((uint)(6)); // Container child table7.Gtk.Table+TableChild this.label19 = new Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 0F; this.label19.LabelProp = Mono.Unix.Catalog.GetString("Update In:"); this.table7.Add(this.label19); Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table7[this.label19])); w23.TopAttach = ((uint)(3)); w23.BottomAttach = ((uint)(4)); w23.XOptions = ((Gtk.AttachOptions)(4)); w23.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.label20 = new Gtk.Label(); this.label20.Name = "label20"; this.label20.Xalign = 0F; this.label20.LabelProp = Mono.Unix.Catalog.GetString("Status:"); this.table7.Add(this.label20); Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table7[this.label20])); w24.TopAttach = ((uint)(1)); w24.BottomAttach = ((uint)(2)); w24.XOptions = ((Gtk.AttachOptions)(4)); w24.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.label23 = new Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 0F; this.label23.LabelProp = Mono.Unix.Catalog.GetString("Message:"); this.table7.Add(this.label23); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table7[this.label23])); w25.TopAttach = ((uint)(4)); w25.BottomAttach = ((uint)(5)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0F; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Last Updated:"); this.table7.Add(this.label4); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table7[this.label4])); w26.TopAttach = ((uint)(2)); w26.BottomAttach = ((uint)(3)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = Mono.Unix.Catalog.GetString("URL:"); this.table7.Add(this.label8); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table7[this.label8])); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.lastUpdatedLabel = new Gtk.Label(); this.lastUpdatedLabel.Name = "lastUpdatedLabel"; this.lastUpdatedLabel.Xalign = 0F; this.table7.Add(this.lastUpdatedLabel); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table7[this.lastUpdatedLabel])); w28.TopAttach = ((uint)(2)); w28.BottomAttach = ((uint)(3)); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.messageLabel = new Gtk.Label(); this.messageLabel.Name = "messageLabel"; this.messageLabel.Xalign = 0F; this.messageLabel.Wrap = true; this.table7.Add(this.messageLabel); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table7[this.messageLabel])); w29.TopAttach = ((uint)(4)); w29.BottomAttach = ((uint)(5)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.trackerStatusValueLabel = new Gtk.Label(); this.trackerStatusValueLabel.Name = "trackerStatusValueLabel"; this.trackerStatusValueLabel.Xalign = 0F; this.table7.Add(this.trackerStatusValueLabel); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table7[this.trackerStatusValueLabel])); w30.TopAttach = ((uint)(1)); w30.BottomAttach = ((uint)(2)); w30.LeftAttach = ((uint)(1)); w30.RightAttach = ((uint)(2)); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.trackerUrlValueLabel = new Gtk.Label(); this.trackerUrlValueLabel.Name = "trackerUrlValueLabel"; this.trackerUrlValueLabel.Xalign = 0F; this.table7.Add(this.trackerUrlValueLabel); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table7[this.trackerUrlValueLabel])); w31.LeftAttach = ((uint)(1)); w31.RightAttach = ((uint)(2)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table7.Gtk.Table+TableChild this.updateInLabel = new Gtk.Label(); this.updateInLabel.Name = "updateInLabel"; this.updateInLabel.Xalign = 0F; this.table7.Add(this.updateInLabel); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table7[this.updateInLabel])); w32.TopAttach = ((uint)(3)); w32.BottomAttach = ((uint)(4)); w32.LeftAttach = ((uint)(1)); w32.RightAttach = ((uint)(2)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment1.Add(this.table7); this.frame2.Add(this.GtkAlignment1); this.GtkLabel7 = new Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Tracker</b>"); this.GtkLabel7.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel7; this.hbox1.Add(this.frame2); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame2])); w35.Position = 1; w35.Expand = false; w35.Fill = false; this.vbox4.Add(this.hbox1); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox1])); w36.Position = 1; w36.Expand = false; w36.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.table9 = new Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table9.Name = "table9"; this.table9.RowSpacing = ((uint)(6)); this.table9.ColumnSpacing = ((uint)(6)); // Container child table9.Gtk.Table+TableChild this.commentValueLabel = new Gtk.Label(); this.commentValueLabel.Name = "commentValueLabel"; this.commentValueLabel.Xalign = 0F; this.table9.Add(this.commentValueLabel); Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table9[this.commentValueLabel])); w37.TopAttach = ((uint)(3)); w37.BottomAttach = ((uint)(4)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((Gtk.AttachOptions)(4)); w37.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.createdOnValueLabel = new Gtk.Label(); this.createdOnValueLabel.Name = "createdOnValueLabel"; this.createdOnValueLabel.Xalign = 0F; this.table9.Add(this.createdOnValueLabel); Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table9[this.createdOnValueLabel])); w38.TopAttach = ((uint)(2)); w38.BottomAttach = ((uint)(3)); w38.LeftAttach = ((uint)(1)); w38.RightAttach = ((uint)(2)); w38.XOptions = ((Gtk.AttachOptions)(4)); w38.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = Mono.Unix.Catalog.GetString("Size:"); this.table9.Add(this.label10); Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table9[this.label10])); w39.TopAttach = ((uint)(1)); w39.BottomAttach = ((uint)(2)); w39.XOptions = ((Gtk.AttachOptions)(4)); w39.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = Mono.Unix.Catalog.GetString("Created on:"); this.table9.Add(this.label11); Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table9[this.label11])); w40.TopAttach = ((uint)(2)); w40.BottomAttach = ((uint)(3)); w40.XOptions = ((Gtk.AttachOptions)(4)); w40.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = Mono.Unix.Catalog.GetString("Comment:"); this.table9.Add(this.label12); Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table9[this.label12])); w41.TopAttach = ((uint)(3)); w41.BottomAttach = ((uint)(4)); w41.XOptions = ((Gtk.AttachOptions)(4)); w41.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = Mono.Unix.Catalog.GetString("Save path:"); this.table9.Add(this.label7); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table9[this.label7])); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.savePathValueLabel = new Gtk.Label(); this.savePathValueLabel.Name = "savePathValueLabel"; this.savePathValueLabel.Xalign = 0F; this.table9.Add(this.savePathValueLabel); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table9[this.savePathValueLabel])); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table9.Gtk.Table+TableChild this.sizeValueLabel = new Gtk.Label(); this.sizeValueLabel.Name = "sizeValueLabel"; this.sizeValueLabel.Xalign = 0F; this.table9.Add(this.sizeValueLabel); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table9[this.sizeValueLabel])); w44.TopAttach = ((uint)(1)); w44.BottomAttach = ((uint)(2)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment2.Add(this.table9); this.frame3.Add(this.GtkAlignment2); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>"); this.GtkLabel8.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel8; this.vbox4.Add(this.frame3); Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame3])); w47.Position = 2; w47.Expand = false; w47.Fill = false; w6.Add(this.vbox4); this.scrolledwindow1.Add(w6); this.detailNotebook.Add(this.scrolledwindow1); // Notebook tab this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("General"); this.detailNotebook.SetTabLabel(this.scrolledwindow1, this.label1); this.label1.ShowAll(); // Container child detailNotebook.Gtk.Notebook+NotebookChild this.filesScrolledWindow = new Gtk.ScrolledWindow(); this.filesScrolledWindow.CanFocus = true; this.filesScrolledWindow.Name = "filesScrolledWindow"; this.filesScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.detailNotebook.Add(this.filesScrolledWindow); Gtk.Notebook.NotebookChild w51 = ((Gtk.Notebook.NotebookChild)(this.detailNotebook[this.filesScrolledWindow])); w51.Position = 1; // Notebook tab this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("Files"); this.detailNotebook.SetTabLabel(this.filesScrolledWindow, this.label9); this.label9.ShowAll(); // Container child detailNotebook.Gtk.Notebook+NotebookChild this.piecesScrolledWindow = new Gtk.ScrolledWindow(); this.piecesScrolledWindow.CanFocus = true; this.piecesScrolledWindow.Name = "piecesScrolledWindow"; this.piecesScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.detailNotebook.Add(this.piecesScrolledWindow); Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.detailNotebook[this.piecesScrolledWindow])); w52.Position = 2; // Notebook tab this.label18 = new Gtk.Label(); this.label18.Name = "label18"; this.label18.LabelProp = Mono.Unix.Catalog.GetString("Pieces"); this.detailNotebook.SetTabLabel(this.piecesScrolledWindow, this.label18); this.label18.ShowAll(); // Container child detailNotebook.Gtk.Notebook+NotebookChild this.peersScrolledWindow = new Gtk.ScrolledWindow(); this.peersScrolledWindow.CanFocus = true; this.peersScrolledWindow.Name = "peersScrolledWindow"; this.peersScrolledWindow.ShadowType = ((Gtk.ShadowType)(1)); this.detailNotebook.Add(this.peersScrolledWindow); Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.detailNotebook[this.peersScrolledWindow])); w53.Position = 3; // Notebook tab this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Peers"); this.detailNotebook.SetTabLabel(this.peersScrolledWindow, this.label6); this.label6.ShowAll(); // Container child detailNotebook.Gtk.Notebook+NotebookChild this.scrolledwindow2 = new Gtk.ScrolledWindow(); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1)); // Container child scrolledwindow2.Gtk.Container+ContainerChild Gtk.Viewport w54 = new Gtk.Viewport(); w54.ShadowType = ((Gtk.ShadowType)(0)); // Container child GtkViewport5.Gtk.Container+ContainerChild this.hbox13 = new Gtk.HBox(); this.hbox13.Name = "hbox13"; this.hbox13.Spacing = 6; // Container child hbox13.Gtk.Box+BoxChild this.vbox6 = new Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment4 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.table2 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = Mono.Unix.Catalog.GetString("Maximum upload rate:"); this.table2.Add(this.label14); Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table2[this.label14])); w55.XOptions = ((Gtk.AttachOptions)(4)); w55.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label15 = new Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 0F; this.label15.LabelProp = Mono.Unix.Catalog.GetString("Maximum download rate:"); this.table2.Add(this.label15); Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table2[this.label15])); w56.TopAttach = ((uint)(1)); w56.BottomAttach = ((uint)(2)); w56.XOptions = ((Gtk.AttachOptions)(4)); w56.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label16 = new Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 0F; this.label16.LabelProp = Mono.Unix.Catalog.GetString("Maximum connections:"); this.table2.Add(this.label16); Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table2[this.label16])); w57.TopAttach = ((uint)(2)); w57.BottomAttach = ((uint)(3)); w57.XOptions = ((Gtk.AttachOptions)(4)); w57.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label17 = new Gtk.Label(); this.label17.Name = "label17"; this.label17.Xalign = 0F; this.label17.LabelProp = Mono.Unix.Catalog.GetString("Upload slots:"); this.table2.Add(this.label17); Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table2[this.label17])); w58.TopAttach = ((uint)(3)); w58.BottomAttach = ((uint)(4)); w58.XOptions = ((Gtk.AttachOptions)(4)); w58.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.torrentDownloadRateSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentDownloadRateSpinButton.CanFocus = true; this.torrentDownloadRateSpinButton.Name = "torrentDownloadRateSpinButton"; this.torrentDownloadRateSpinButton.Adjustment.PageIncrement = 10; this.torrentDownloadRateSpinButton.ClimbRate = 1; this.torrentDownloadRateSpinButton.Numeric = true; this.table2.Add(this.torrentDownloadRateSpinButton); Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table2[this.torrentDownloadRateSpinButton])); w59.TopAttach = ((uint)(1)); w59.BottomAttach = ((uint)(2)); w59.LeftAttach = ((uint)(1)); w59.RightAttach = ((uint)(2)); w59.XOptions = ((Gtk.AttachOptions)(4)); w59.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.torrentMaxConnectionsSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentMaxConnectionsSpinButton.CanFocus = true; this.torrentMaxConnectionsSpinButton.Name = "torrentMaxConnectionsSpinButton"; this.torrentMaxConnectionsSpinButton.Adjustment.PageIncrement = 10; this.torrentMaxConnectionsSpinButton.ClimbRate = 1; this.torrentMaxConnectionsSpinButton.Numeric = true; this.table2.Add(this.torrentMaxConnectionsSpinButton); Gtk.Table.TableChild w60 = ((Gtk.Table.TableChild)(this.table2[this.torrentMaxConnectionsSpinButton])); w60.TopAttach = ((uint)(2)); w60.BottomAttach = ((uint)(3)); w60.LeftAttach = ((uint)(1)); w60.RightAttach = ((uint)(2)); w60.XOptions = ((Gtk.AttachOptions)(4)); w60.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.torrentUploadRateSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentUploadRateSpinButton.CanFocus = true; this.torrentUploadRateSpinButton.Name = "torrentUploadRateSpinButton"; this.torrentUploadRateSpinButton.Adjustment.PageIncrement = 10; this.torrentUploadRateSpinButton.ClimbRate = 1; this.torrentUploadRateSpinButton.Numeric = true; this.table2.Add(this.torrentUploadRateSpinButton); Gtk.Table.TableChild w61 = ((Gtk.Table.TableChild)(this.table2[this.torrentUploadRateSpinButton])); w61.LeftAttach = ((uint)(1)); w61.RightAttach = ((uint)(2)); w61.XOptions = ((Gtk.AttachOptions)(4)); w61.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.torrentUploadSlotSpinButton = new Gtk.SpinButton(0, 100, 1); this.torrentUploadSlotSpinButton.CanFocus = true; this.torrentUploadSlotSpinButton.Name = "torrentUploadSlotSpinButton"; this.torrentUploadSlotSpinButton.Adjustment.PageIncrement = 10; this.torrentUploadSlotSpinButton.ClimbRate = 1; this.torrentUploadSlotSpinButton.Numeric = true; this.table2.Add(this.torrentUploadSlotSpinButton); Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table2[this.torrentUploadSlotSpinButton])); w62.TopAttach = ((uint)(3)); w62.BottomAttach = ((uint)(4)); w62.LeftAttach = ((uint)(1)); w62.RightAttach = ((uint)(2)); w62.XOptions = ((Gtk.AttachOptions)(4)); w62.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment4.Add(this.table2); this.frame5.Add(this.GtkAlignment4); this.GtkLabel11 = new Gtk.Label(); this.GtkLabel11.Name = "GtkLabel11"; this.GtkLabel11.LabelProp = Mono.Unix.Catalog.GetString("<b>Bandwidth</b>"); this.GtkLabel11.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel11; this.vbox6.Add(this.frame5); Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame5])); w65.Position = 0; this.hbox13.Add(this.vbox6); Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox13[this.vbox6])); w66.Position = 0; w66.Expand = false; w66.Fill = false; w54.Add(this.hbox13); this.scrolledwindow2.Add(w54); this.detailNotebook.Add(this.scrolledwindow2); Gtk.Notebook.NotebookChild w69 = ((Gtk.Notebook.NotebookChild)(this.detailNotebook[this.scrolledwindow2])); w69.Position = 4; // Notebook tab this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("Options"); this.detailNotebook.SetTabLabel(this.scrolledwindow2, this.label13); this.label13.ShowAll(); this.vPaned.Add(this.detailNotebook); this.hPaned.Add(this.vPaned); this.vbox1.Add(this.hPaned); Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.vbox1[this.hPaned])); w72.Position = 2; // Container child vbox1.Gtk.Box+BoxChild this.alignment4 = new Gtk.Alignment(1F, 0.5F, 0F, 1F); this.alignment4.Name = "alignment4"; // Container child alignment4.Gtk.Container+ContainerChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.natStatus = new Monsoon.NatWidget(); this.natStatus.WidthRequest = 28; this.natStatus.Name = "natStatus"; this.natStatus.HasIncoming = false; this.natStatus.RouterFound = false; this.natStatus.PortForwarded = false; this.hbox4.Add(this.natStatus); Gtk.Box.BoxChild w73 = ((Gtk.Box.BoxChild)(this.hbox4[this.natStatus])); w73.Position = 0; w73.Expand = false; w73.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='statusToolbar'/></ui>"); this.statusToolbar = ((Gtk.Toolbar)(this.UIManager.GetWidget("/statusToolbar"))); this.statusToolbar.Name = "statusToolbar"; this.statusToolbar.ShowArrow = false; this.statusToolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); this.statusToolbar.IconSize = ((Gtk.IconSize)(1)); this.hbox4.Add(this.statusToolbar); Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.hbox4[this.statusToolbar])); w74.Position = 1; this.alignment4.Add(this.hbox4); this.vbox1.Add(this.alignment4); Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment4])); w76.Position = 3; w76.Expand = false; w76.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 765; this.DefaultHeight = 658; this.Hide(); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.About.Activated += new System.EventHandler(this.OnAboutActivated); this.Quit.Activated += new System.EventHandler(this.OnQuitActivated); this.stopTorrentButton.Activated += new System.EventHandler(this.OnStopTorrentActivated); this.removeTorrentButton.Activated += new System.EventHandler(this.OnRemoveTorrentButtonActivated); this.preferences.Activated += new System.EventHandler(this.OnPreferencesActivated); this.deleteTorrentButton.Activated += new System.EventHandler(this.OnDeleteTorrentButtonActivated); this.EditColumns.Activated += new System.EventHandler(this.OnColumnsActivated); this.ShowLabels.Activated += new System.EventHandler(this.OnShowLabelsActivated); this.ShowDetailedInfo.Activated += new System.EventHandler(this.OnShowDetailedInfoActivated); this.OpenTorrent.Activated += new System.EventHandler(this.OnOpenActivated); this.startTorrentButton.Activated += new System.EventHandler(this.OnStartTorrentActivated); this.NewTorrent.Activated += new System.EventHandler(this.OnNewActivated); this.Plugins.Activated += new System.EventHandler(this.OnPluginsActivated); this.ReportBugAction.Activated += new System.EventHandler(this.OnReportBugActivated); this.gotoTopAction.Activated += new System.EventHandler(this.OnPriorityHighest); this.gotoBottomAction.Activated += new System.EventHandler(this.OnPriorityLowest); this.CloseAction.Activated += new System.EventHandler(this.OnCloseActionActivated); }
void InitializeWidget() { _viewModel.Init(); // one row per option and one per group tblContainer.NRows = (uint)(_viewModel.GroupedOptions.Sum(x => x.Count()) + _viewModel.GroupedOptions.Count()) + 1; tblContainer.NColumns = 2; tblContainer.RowSpacing = 0; tblContainer.ColumnSpacing = 0; tblContainer.BorderWidth = 0; uint r = 0; var btn = new Gtk.Button(); btn.Label = "Reset to defaults"; btn.WidthRequest = 150; btn.Clicked += (sender, e) => { _viewModel.ResetToDefaults(); foreach (var item in tblContainer.Children) { item.Destroy(); } InitializeWidget(); }; tblContainer.Attach(btn, 0, 2, r, r + 1, Gtk.AttachOptions.Fill, Gtk.AttachOptions.Fill, 0, 0); r++; foreach (var optionGroup in _viewModel.GroupedOptions) { // group label var grouplbl = new Gtk.Label(); grouplbl.SetAlignment(0f, 0.5f); grouplbl.HeightRequest = 40; grouplbl.Markup = $"<b> {optionGroup.Key}</b>"; var box = new Gtk.EventBox(); box.ModifyBg(Gtk.StateType.Normal, _groupHeaderColor); box.Add(grouplbl); tblContainer.Attach(box, 0, 2, r, r + 1, Gtk.AttachOptions.Fill, Gtk.AttachOptions.Fill, 0, 0); r++; foreach (var option in optionGroup) { // name label var lbl = new Gtk.Label(option.Name) { TooltipText = option.Description }; lbl.SetAlignment(0f, 0.5f); lbl.HeightRequest = 30; AddToTable(r, 0, lbl); var type = option.PropertyType; if (type == typeof(bool)) { var chk = new Gtk.CheckButton { Active = (bool)option.Property.GetValue(_viewModel.Options) }; chk.Clicked += (sender, e) => { option.Property.SetValue(_viewModel.Options, chk.Active); _viewModel.IsDirty = true; }; AddToTable(r, 1, chk); } else if (type == typeof(int)) { var val = (int)option.Property.GetValue(_viewModel.Options); var spin = new Gtk.SpinButton(0, 10, 1) { Value = val, WidthChars = 3 }; spin.ValueChanged += (sender, e) => { option.Property.SetValue(_viewModel.Options, (int)spin.Value); _viewModel.IsDirty = true; }; AddToTable(r, 1, spin); } else if (type == typeof(byte)) { var val = (byte)option.Property.GetValue(_viewModel.Options); var spin = new Gtk.SpinButton(0, 10, 1) { Value = val, WidthChars = 3 }; spin.ValueChanged += (sender, e) => { option.Property.SetValue(_viewModel.Options, (byte)spin.Value); _viewModel.IsDirty = true; }; AddToTable(r, 1, spin); } else if (type == typeof(string)) { var val = (string)option.Property.GetValue(_viewModel.Options); var txt = new Gtk.Entry(val); txt.Alignment = 0; txt.Changed += (sender, e) => { option.Property.SetValue(_viewModel.Options, txt.Text); _viewModel.IsDirty = true; }; AddToTable(r, 1, txt); } else if (type == typeof(string[])) { var vals = (string[])option.Property.GetValue(_viewModel.Options); var val = string.Join(Environment.NewLine, vals); var txt = new Gtk.TextView(new Gtk.TextBuffer(new Gtk.TextTagTable())); txt.LeftMargin = 5; txt.RightMargin = 5; txt.BorderWidth = 1; txt.SetSizeRequest(320, 150); txt.Buffer.Text = val; txt.Buffer.Changed += (sender, e) => { var newVals = txt.Buffer.Text.Split(Environment.NewLine.ToCharArray()); option.Property.SetValue(_viewModel.Options, newVals); _viewModel.IsDirty = true; }; var frame = new Gtk.Frame(); frame.Shadow = Gtk.ShadowType.In; frame.BorderWidth = 5; frame.Child = txt; AddToTable(r, 1, frame); } else if (type.IsEnum) { var val = option.Property.GetValue(_viewModel.Options); var values = Enum.GetNames(type); var cmb = new Gtk.ComboBox(values); cmb.Active = Array.IndexOf(values, val.ToString()); cmb.Changed += (sender, e) => { option.Property.SetValue(_viewModel.Options, Enum.Parse(type, cmb.ActiveText)); _viewModel.IsDirty = true; }; AddToTable(r, 1, cmb); } r++; } } alContainer.ShowAll(); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget serialmon.ConfigWindow this.Name = "serialmon.ConfigWindow"; this.Title = Mono.Unix.Catalog.GetString("ConfigWindow"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(3)); // Container child serialmon.ConfigWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.frame3 = new Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((Gtk.ShadowType)(1)); this.frame3.BorderWidth = ((uint)(3)); // Container child frame3.Gtk.Container+ContainerChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.vbox4 = new Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.table3 = new Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.fontbutton1 = new Gtk.FontButton(); this.fontbutton1.CanFocus = true; this.fontbutton1.Name = "fontbutton1"; this.fontbutton1.FontName = "Monospace 12"; this.table3.Add(this.fontbutton1); Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.fontbutton1])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((Gtk.AttachOptions)(4)); w1.YOptions = ((Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label11 = new Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = Mono.Unix.Catalog.GetString("font"); this.table3.Add(this.label11); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.label11])); w2.XPadding = ((uint)(6)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); this.vbox4.Add(this.table3); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox4[this.table3])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame4 = new Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((Gtk.ShadowType)(1)); this.frame4.BorderWidth = ((uint)(3)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment7 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.table4 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.colauto_rb = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("automatic")); this.colauto_rb.CanFocus = true; this.colauto_rb.Name = "colauto_rb"; this.colauto_rb.Active = true; this.colauto_rb.DrawIndicator = true; this.colauto_rb.UseUnderline = true; this.colauto_rb.Group = new GLib.SList(System.IntPtr.Zero); this.table4.Add(this.colauto_rb); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table4[this.colauto_rb])); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.colgran_spin = new Gtk.SpinButton(1, 100, 1); this.colgran_spin.CanFocus = true; this.colgran_spin.Name = "colgran_spin"; this.colgran_spin.Adjustment.PageIncrement = 10; this.colgran_spin.ClimbRate = 1; this.colgran_spin.Numeric = true; this.colgran_spin.Value = 8; this.table4.Add(this.colgran_spin); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table4[this.colgran_spin])); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((Gtk.AttachOptions)(4)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.colman_rb = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("manual")); this.colman_rb.CanFocus = true; this.colman_rb.Name = "colman_rb"; this.colman_rb.DrawIndicator = true; this.colman_rb.UseUnderline = true; this.colman_rb.Group = this.colauto_rb.Group; this.table4.Add(this.colman_rb); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table4[this.colman_rb])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.colwidth_spin = new Gtk.SpinButton(1, 100, 1); this.colwidth_spin.CanFocus = true; this.colwidth_spin.Name = "colwidth_spin"; this.colwidth_spin.Adjustment.PageIncrement = 10; this.colwidth_spin.ClimbRate = 1; this.colwidth_spin.Numeric = true; this.colwidth_spin.Value = 16; this.table4.Add(this.colwidth_spin); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table4[this.colwidth_spin])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new Gtk.Label(); this.label13.Name = "label13"; this.label13.LabelProp = Mono.Unix.Catalog.GetString("width"); this.table4.Add(this.label13); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table4[this.label13])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.XOptions = ((Gtk.AttachOptions)(4)); w8.YOptions = ((Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = Mono.Unix.Catalog.GetString("granularity"); this.table4.Add(this.label14); Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table4[this.label14])); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((Gtk.AttachOptions)(4)); w9.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment7.Add(this.table4); this.frame4.Add(this.GtkAlignment7); this.GtkLabel8 = new Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>column size</b>"); this.GtkLabel8.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel8; this.vbox4.Add(this.frame4); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame4])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.hbox4.Add(this.vbox4); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.vbox4])); w13.Position = 0; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.frame5 = new Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((Gtk.ShadowType)(1)); this.frame5.BorderWidth = ((uint)(3)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment8 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment8.Name = "GtkAlignment8"; this.GtkAlignment8.LeftPadding = ((uint)(12)); // Container child GtkAlignment8.Gtk.Container+ContainerChild this.vbox5 = new Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.addrbasehex_rb = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("hexadecimal")); this.addrbasehex_rb.CanFocus = true; this.addrbasehex_rb.Name = "addrbasehex_rb"; this.addrbasehex_rb.Active = true; this.addrbasehex_rb.DrawIndicator = true; this.addrbasehex_rb.UseUnderline = true; this.addrbasehex_rb.Group = new GLib.SList(System.IntPtr.Zero); this.vbox5.Add(this.addrbasehex_rb); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox5[this.addrbasehex_rb])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.addrbasedec_rb = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("decimal")); this.addrbasedec_rb.CanFocus = true; this.addrbasedec_rb.Name = "addrbasedec_rb"; this.addrbasedec_rb.DrawIndicator = true; this.addrbasedec_rb.UseUnderline = true; this.addrbasedec_rb.Group = this.addrbasehex_rb.Group; this.vbox5.Add(this.addrbasedec_rb); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox5[this.addrbasedec_rb])); w15.Position = 1; w15.Expand = false; w15.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.addrbaseoct_rb = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("octal")); this.addrbaseoct_rb.Sensitive = false; this.addrbaseoct_rb.CanFocus = true; this.addrbaseoct_rb.Name = "addrbaseoct_rb"; this.addrbaseoct_rb.DrawIndicator = true; this.addrbaseoct_rb.UseUnderline = true; this.addrbaseoct_rb.Group = this.addrbasehex_rb.Group; this.vbox5.Add(this.addrbaseoct_rb); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox5[this.addrbaseoct_rb])); w16.Position = 2; w16.Expand = false; w16.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label12 = new Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = Mono.Unix.Catalog.GetString("width"); this.hbox5.Add(this.label12); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.label12])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.addrwidth_spin = new Gtk.SpinButton(1, 100, 1); this.addrwidth_spin.CanFocus = true; this.addrwidth_spin.Name = "addrwidth_spin"; this.addrwidth_spin.Adjustment.PageIncrement = 10; this.addrwidth_spin.ClimbRate = 1; this.addrwidth_spin.Numeric = true; this.addrwidth_spin.Value = 4; this.hbox5.Add(this.addrwidth_spin); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox5[this.addrwidth_spin])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox5.Add(this.hbox5); Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5])); w19.Position = 3; w19.Expand = false; w19.Fill = false; this.GtkAlignment8.Add(this.vbox5); this.frame5.Add(this.GtkAlignment8); this.GtkLabel12 = new Gtk.Label(); this.GtkLabel12.Name = "GtkLabel12"; this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>address</b>"); this.GtkLabel12.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel12; this.hbox4.Add(this.frame5); Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox4[this.frame5])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.frame3.Add(this.hbox4); this.GtkLabel14 = new Gtk.Label(); this.GtkLabel14.Name = "GtkLabel14"; this.GtkLabel14.LabelProp = Mono.Unix.Catalog.GetString("<b>general settings</b>"); this.GtkLabel14.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel14; this.vbox1.Add(this.frame3); Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame3])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(1)); this.frame1.BorderWidth = ((uint)(3)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cb_baudrate1 = Gtk.ComboBoxEntry.NewText(); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("1200")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("2400")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("4800")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("9600")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("19200")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("38400")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("57600")); this.cb_baudrate1.AppendText(Mono.Unix.Catalog.GetString("115200")); this.cb_baudrate1.Name = "cb_baudrate1"; this.cb_baudrate1.Active = 3; this.table1.Add(this.cb_baudrate1); Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table1[this.cb_baudrate1])); w25.TopAttach = ((uint)(1)); w25.BottomAttach = ((uint)(2)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.XOptions = ((Gtk.AttachOptions)(4)); w25.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cb_databits1 = Gtk.ComboBox.NewText(); this.cb_databits1.AppendText(Mono.Unix.Catalog.GetString("5")); this.cb_databits1.AppendText(Mono.Unix.Catalog.GetString("6")); this.cb_databits1.AppendText(Mono.Unix.Catalog.GetString("7")); this.cb_databits1.AppendText(Mono.Unix.Catalog.GetString("8")); this.cb_databits1.Name = "cb_databits1"; this.cb_databits1.Active = 3; this.table1.Add(this.cb_databits1); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.cb_databits1])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cb_parity1 = Gtk.ComboBox.NewText(); this.cb_parity1.AppendText(Mono.Unix.Catalog.GetString("Even")); this.cb_parity1.AppendText(Mono.Unix.Catalog.GetString("Mark")); this.cb_parity1.AppendText(Mono.Unix.Catalog.GetString("None")); this.cb_parity1.AppendText(Mono.Unix.Catalog.GetString("Odd")); this.cb_parity1.AppendText(Mono.Unix.Catalog.GetString("Space")); this.cb_parity1.Name = "cb_parity1"; this.cb_parity1.Active = 2; this.table1.Add(this.cb_parity1); Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.cb_parity1])); w27.TopAttach = ((uint)(2)); w27.BottomAttach = ((uint)(3)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((Gtk.AttachOptions)(4)); w27.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cb_pn1 = Gtk.ComboBoxEntry.NewText(); this.cb_pn1.Name = "cb_pn1"; this.table1.Add(this.cb_pn1); Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.cb_pn1])); w28.LeftAttach = ((uint)(1)); w28.RightAttach = ((uint)(2)); w28.XOptions = ((Gtk.AttachOptions)(4)); w28.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cb_stopbits1 = Gtk.ComboBox.NewText(); this.cb_stopbits1.AppendText(Mono.Unix.Catalog.GetString("0")); this.cb_stopbits1.AppendText(Mono.Unix.Catalog.GetString("1")); this.cb_stopbits1.AppendText(Mono.Unix.Catalog.GetString("1.5")); this.cb_stopbits1.AppendText(Mono.Unix.Catalog.GetString("2")); this.cb_stopbits1.Name = "cb_stopbits1"; this.cb_stopbits1.Active = 1; this.table1.Add(this.cb_stopbits1); Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table1[this.cb_stopbits1])); w29.TopAttach = ((uint)(4)); w29.BottomAttach = ((uint)(5)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.XOptions = ((Gtk.AttachOptions)(4)); w29.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("port name"); this.table1.Add(this.label1); Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w30.XOptions = ((Gtk.AttachOptions)(4)); w30.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("baudrate"); this.table1.Add(this.label2); Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w31.TopAttach = ((uint)(1)); w31.BottomAttach = ((uint)(2)); w31.XOptions = ((Gtk.AttachOptions)(4)); w31.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("parity"); this.table1.Add(this.label3); Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w32.TopAttach = ((uint)(2)); w32.BottomAttach = ((uint)(3)); w32.XOptions = ((Gtk.AttachOptions)(4)); w32.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("data bits"); this.table1.Add(this.label4); Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w33.TopAttach = ((uint)(3)); w33.BottomAttach = ((uint)(4)); w33.XOptions = ((Gtk.AttachOptions)(4)); w33.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("stop bits"); this.table1.Add(this.label5); Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table1[this.label5])); w34.TopAttach = ((uint)(4)); w34.BottomAttach = ((uint)(5)); w34.XOptions = ((Gtk.AttachOptions)(4)); w34.YOptions = ((Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.hbox1[this.table1])); w35.Position = 0; w35.Expand = false; w35.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.checkbutton1 = new Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = Mono.Unix.Catalog.GetString("active"); this.checkbutton1.Active = true; this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox2.Add(this.checkbutton1); Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox2[this.checkbutton1])); w36.Position = 0; w36.Expand = false; w36.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.colorbutton1 = new Gtk.ColorButton(); this.colorbutton1.CanFocus = true; this.colorbutton1.Events = ((Gdk.EventMask)(784)); this.colorbutton1.Name = "colorbutton1"; this.colorbutton1.Title = Mono.Unix.Catalog.GetString("#FF0000"); this.vbox2.Add(this.colorbutton1); Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox2[this.colorbutton1])); w37.Position = 1; w37.Expand = false; w37.Fill = false; this.hbox1.Add(this.vbox2); Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2])); w38.Position = 1; w38.Expand = false; w38.Fill = false; this.GtkAlignment.Add(this.hbox1); this.frame1.Add(this.GtkAlignment); this.GtkLabel10 = new Gtk.Label(); this.GtkLabel10.Name = "GtkLabel10"; this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>serial port 1</b>"); this.GtkLabel10.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel10; this.vbox1.Add(this.frame1); Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1])); w41.Position = 1; w41.Expand = false; w41.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(1)); this.frame2.BorderWidth = ((uint)(3)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.table2 = new Gtk.Table(((uint)(5)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.cb_baudrate2 = Gtk.ComboBoxEntry.NewText(); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("1200")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("2400")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("4800")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("9600")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("19200")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("38400")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("57600")); this.cb_baudrate2.AppendText(Mono.Unix.Catalog.GetString("115200")); this.cb_baudrate2.Name = "cb_baudrate2"; this.cb_baudrate2.Active = 3; this.table2.Add(this.cb_baudrate2); Gtk.Table.TableChild w42 = ((Gtk.Table.TableChild)(this.table2[this.cb_baudrate2])); w42.TopAttach = ((uint)(1)); w42.BottomAttach = ((uint)(2)); w42.LeftAttach = ((uint)(1)); w42.RightAttach = ((uint)(2)); w42.XOptions = ((Gtk.AttachOptions)(4)); w42.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cb_databits2 = Gtk.ComboBox.NewText(); this.cb_databits2.AppendText(Mono.Unix.Catalog.GetString("5")); this.cb_databits2.AppendText(Mono.Unix.Catalog.GetString("6")); this.cb_databits2.AppendText(Mono.Unix.Catalog.GetString("7")); this.cb_databits2.AppendText(Mono.Unix.Catalog.GetString("8")); this.cb_databits2.Name = "cb_databits2"; this.cb_databits2.Active = 3; this.table2.Add(this.cb_databits2); Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table2[this.cb_databits2])); w43.TopAttach = ((uint)(3)); w43.BottomAttach = ((uint)(4)); w43.LeftAttach = ((uint)(1)); w43.RightAttach = ((uint)(2)); w43.XOptions = ((Gtk.AttachOptions)(4)); w43.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cb_parity2 = Gtk.ComboBox.NewText(); this.cb_parity2.AppendText(Mono.Unix.Catalog.GetString("Even")); this.cb_parity2.AppendText(Mono.Unix.Catalog.GetString("Mark")); this.cb_parity2.AppendText(Mono.Unix.Catalog.GetString("None")); this.cb_parity2.AppendText(Mono.Unix.Catalog.GetString("Odd")); this.cb_parity2.AppendText(Mono.Unix.Catalog.GetString("Space")); this.cb_parity2.Name = "cb_parity2"; this.cb_parity2.Active = 2; this.table2.Add(this.cb_parity2); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table2[this.cb_parity2])); w44.TopAttach = ((uint)(2)); w44.BottomAttach = ((uint)(3)); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cb_pn2 = Gtk.ComboBoxEntry.NewText(); this.cb_pn2.Name = "cb_pn2"; this.table2.Add(this.cb_pn2); Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table2[this.cb_pn2])); w45.LeftAttach = ((uint)(1)); w45.RightAttach = ((uint)(2)); w45.XOptions = ((Gtk.AttachOptions)(4)); w45.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.cb_stopbits2 = Gtk.ComboBox.NewText(); this.cb_stopbits2.AppendText(Mono.Unix.Catalog.GetString("0")); this.cb_stopbits2.AppendText(Mono.Unix.Catalog.GetString("1")); this.cb_stopbits2.AppendText(Mono.Unix.Catalog.GetString("1.5")); this.cb_stopbits2.AppendText(Mono.Unix.Catalog.GetString("2")); this.cb_stopbits2.Name = "cb_stopbits2"; this.cb_stopbits2.Active = 1; this.table2.Add(this.cb_stopbits2); Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table2[this.cb_stopbits2])); w46.TopAttach = ((uint)(4)); w46.BottomAttach = ((uint)(5)); w46.LeftAttach = ((uint)(1)); w46.RightAttach = ((uint)(2)); w46.XOptions = ((Gtk.AttachOptions)(4)); w46.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label10 = new Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = Mono.Unix.Catalog.GetString("port name"); this.table2.Add(this.label10); Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table2[this.label10])); w47.XOptions = ((Gtk.AttachOptions)(4)); w47.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = Mono.Unix.Catalog.GetString("stop bits"); this.table2.Add(this.label6); Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table2[this.label6])); w48.TopAttach = ((uint)(4)); w48.BottomAttach = ((uint)(5)); w48.XOptions = ((Gtk.AttachOptions)(4)); w48.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = Mono.Unix.Catalog.GetString("data bits"); this.table2.Add(this.label7); Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table2[this.label7])); w49.TopAttach = ((uint)(3)); w49.BottomAttach = ((uint)(4)); w49.XOptions = ((Gtk.AttachOptions)(4)); w49.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = Mono.Unix.Catalog.GetString("parity"); this.table2.Add(this.label8); Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table2[this.label8])); w50.TopAttach = ((uint)(2)); w50.BottomAttach = ((uint)(3)); w50.XOptions = ((Gtk.AttachOptions)(4)); w50.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label9 = new Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = Mono.Unix.Catalog.GetString("baudrate"); this.table2.Add(this.label9); Gtk.Table.TableChild w51 = ((Gtk.Table.TableChild)(this.table2[this.label9])); w51.TopAttach = ((uint)(1)); w51.BottomAttach = ((uint)(2)); w51.XOptions = ((Gtk.AttachOptions)(4)); w51.YOptions = ((Gtk.AttachOptions)(4)); this.hbox2.Add(this.table2); Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.hbox2[this.table2])); w52.Position = 0; w52.Expand = false; w52.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.checkbutton2 = new Gtk.CheckButton(); this.checkbutton2.CanFocus = true; this.checkbutton2.Name = "checkbutton2"; this.checkbutton2.Label = Mono.Unix.Catalog.GetString("active"); this.checkbutton2.Active = true; this.checkbutton2.DrawIndicator = true; this.checkbutton2.UseUnderline = true; this.vbox3.Add(this.checkbutton2); Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox3[this.checkbutton2])); w53.Position = 0; w53.Expand = false; w53.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.colorbutton2 = new Gtk.ColorButton(); this.colorbutton2.CanFocus = true; this.colorbutton2.Events = ((Gdk.EventMask)(784)); this.colorbutton2.Name = "colorbutton2"; this.colorbutton2.Title = Mono.Unix.Catalog.GetString("#FF0000"); this.vbox3.Add(this.colorbutton2); Gtk.Box.BoxChild w54 = ((Gtk.Box.BoxChild)(this.vbox3[this.colorbutton2])); w54.Position = 1; w54.Expand = false; w54.Fill = false; this.hbox2.Add(this.vbox3); Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbox3])); w55.Position = 1; w55.Expand = false; w55.Fill = false; this.GtkAlignment3.Add(this.hbox2); this.frame2.Add(this.GtkAlignment3); this.GtkLabel13 = new Gtk.Label(); this.GtkLabel13.Name = "GtkLabel13"; this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>serial port 2</b>"); this.GtkLabel13.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel13; this.vbox1.Add(this.frame2); Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame2])); w58.Position = 2; w58.Expand = false; w58.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.ok_button = new Gtk.Button(); this.ok_button.CanFocus = true; this.ok_button.Name = "ok_button"; this.ok_button.UseUnderline = true; // Container child ok_button.Gtk.Container+ContainerChild Gtk.Alignment w59 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w60 = new Gtk.HBox(); w60.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w61 = new Gtk.Image(); w61.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16); w60.Add(w61); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w63 = new Gtk.Label(); w63.LabelProp = Mono.Unix.Catalog.GetString("OK"); w63.UseUnderline = true; w60.Add(w63); w59.Add(w60); this.ok_button.Add(w59); this.hbox3.Add(this.ok_button); Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox3[this.ok_button])); w67.Position = 1; w67.Expand = false; w67.Fill = false; this.vbox1.Add(this.hbox3); Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3])); w68.Position = 3; w68.Expand = false; w68.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 520; this.DefaultHeight = 550; this.Show(); this.DestroyEvent += new Gtk.DestroyEventHandler(this.OnDestroyEvent); this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); this.fontbutton1.FontSet += new System.EventHandler(this.OnFontbutton1FontSet); this.colwidth_spin.ValueChanged += new System.EventHandler(this.OnColwidthSpinValueChanged); this.colgran_spin.ValueChanged += new System.EventHandler(this.OnColgranSpinValueChanged); this.colauto_rb.GroupChanged += new System.EventHandler(this.OnColautoRbGroupChanged); this.addrbasehex_rb.GroupChanged += new System.EventHandler(this.OnAddrbasehexRbGroupChanged); this.addrwidth_spin.ValueChanged += new System.EventHandler(this.OnAddrwidthSpinValueChanged); this.cb_stopbits1.EditingDone += new System.EventHandler(this.OnCbStopbits1EditingDone); this.cb_stopbits1.Changed += new System.EventHandler(this.OnCbStopbits1EditingDone); this.cb_pn1.Changed += new System.EventHandler(this.OnCbPn1EditingDone); this.cb_parity1.EditingDone += new System.EventHandler(this.OnCbParity1EditingDone); this.cb_parity1.Changed += new System.EventHandler(this.OnCbParity1EditingDone); this.cb_databits1.EditingDone += new System.EventHandler(this.OnCbDatabits1EditingDone); this.cb_databits1.Changed += new System.EventHandler(this.OnCbDatabits1EditingDone); this.cb_baudrate1.Changed += new System.EventHandler(this.OnCbBaudrate1EditingDone); this.checkbutton1.Released += new System.EventHandler(this.OnCheckbutton1Released); this.colorbutton1.ColorSet += new System.EventHandler(this.OnColorbutton1ColorSet); this.cb_stopbits2.EditingDone += new System.EventHandler(this.OnCbStopbits2EditingDone); this.cb_stopbits2.Changed += new System.EventHandler(this.OnCbStopbits2EditingDone); this.cb_pn2.EditingDone += new System.EventHandler(this.OnCbPn2EditingDone); this.cb_pn2.Changed += new System.EventHandler(this.OnCbPn2EditingDone); this.cb_parity2.EditingDone += new System.EventHandler(this.OnCbParity2EditingDone); this.cb_parity2.Changed += new System.EventHandler(this.OnCbParity2EditingDone); this.cb_databits2.EditingDone += new System.EventHandler(this.OnCbDatabits2EditingDone); this.cb_databits2.Changed += new System.EventHandler(this.OnCbDatabits2EditingDone); this.cb_baudrate2.EditingDone += new System.EventHandler(this.OnCbBaudrate2EditingDone); this.cb_baudrate2.Changed += new System.EventHandler(this.OnCbBaudrate2EditingDone); this.checkbutton2.Released += new System.EventHandler(this.OnCheckbutton2Released); this.colorbutton2.ColorSet += new System.EventHandler(this.OnColorbutton2ColorSet); this.ok_button.Released += new System.EventHandler(this.OnOKButtonReleased); }
private void BuildTimePickerWindow() { Title = "TimePicker"; TypeHint = Gdk.WindowTypeHint.Normal; WindowPosition = Gtk.WindowPosition.None; BorderWidth = 1; Resizable = false; AllowGrow = false; Decorated = false; DestroyWithParent = true; SkipPagerHint = true; SkipTaskbarHint = true; _timeBox = new Gtk.HBox(); _timeBox.Spacing = 6; _timeBox.BorderWidth = 3; _labelHour = new Gtk.Label(); _labelHour.LabelProp = "H:"; _timeBox.Add(_labelHour); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(_timeBox[_labelHour])); w2.Position = 0; w2.Expand = false; w2.Fill = false; _txtHour = new Gtk.SpinButton(0D, 24D, 1D); _txtHour.CanFocus = true; _txtHour.Adjustment.PageIncrement = 1D; _txtHour.ClimbRate = 1D; _txtHour.Numeric = true; _timeBox.Add(_txtHour); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(_timeBox[_txtHour])); w3.Position = 1; w3.Expand = false; w3.Fill = false; _labelMin = new Gtk.Label(); _labelMin.LabelProp = "M:"; _timeBox.Add(_labelMin); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(_timeBox[_labelMin])); w4.Position = 2; w4.Expand = false; w4.Fill = false; _txtMin = new Gtk.SpinButton(0D, 60D, 1D); _txtMin.CanFocus = true; _txtMin.Adjustment.PageIncrement = 10D; _txtMin.ClimbRate = 1D; _txtMin.Numeric = true; _timeBox.Add(_txtMin); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(_timeBox[_txtMin])); w5.Position = 3; w5.Expand = false; w5.Fill = false; _labelSec = new Gtk.Label(); _labelSec.LabelProp = "S:"; _timeBox.Add(_labelSec); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(_timeBox[_labelSec])); w6.Position = 4; w6.Expand = false; w6.Fill = false; _txtSec = new Gtk.SpinButton(0D, 60D, 1D); _txtSec.CanFocus = true; _txtSec.Adjustment.PageIncrement = 10D; _txtSec.ClimbRate = 1D; _txtSec.Numeric = true; _timeBox.Add(_txtSec); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(_timeBox[_txtSec])); w7.Position = 5; w7.Expand = false; w7.Fill = false; Add(_timeBox); if ((Child != null)) { Child.ShowAll(); } Show(); ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnButtonPressEvent); _txtHour.ValueChanged += new EventHandler(OnTxtHourValueChanged); _txtHour.ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnTxtHourButtonPressEvent); _txtMin.ValueChanged += new EventHandler(OnTxtMinValueChanged); _txtMin.ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnTxtMinButtonPressEvent); _txtSec.ValueChanged += new EventHandler(OnTxtSecValueChanged); _txtSec.ButtonPressEvent += new Gtk.ButtonPressEventHandler(OnTxtSecButtonPressEvent); }
protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget Pinta.ResizeCanvasDialog this.Name = "Pinta.ResizeCanvasDialog"; this.Title = Mono.Unix.Catalog.GetString("Resize Canvas"); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.DefaultWidth = 300; this.DefaultHeight = 200; // Internal child Pinta.ResizeCanvasDialog.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; this.vbox2.BorderWidth = ((uint)(12)); // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.percentageRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By percentage:")); this.percentageRadio.CanFocus = true; this.percentageRadio.Name = "percentageRadio"; this.percentageRadio.DrawIndicator = true; this.percentageRadio.UseUnderline = true; this.percentageRadio.Group = new GLib.SList(System.IntPtr.Zero); this.hbox1.Add(this.percentageRadio); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageRadio])); w2.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.percentageSpinner = new Gtk.SpinButton(1, 1000, 1); this.percentageSpinner.CanFocus = true; this.percentageSpinner.Name = "percentageSpinner"; this.percentageSpinner.Adjustment.PageIncrement = 10; this.percentageSpinner.ClimbRate = 1; this.percentageSpinner.Numeric = true; this.percentageSpinner.Value = 100; this.hbox1.Add(this.percentageSpinner); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.percentageSpinner])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = "%"; this.hbox1.Add(this.label1); Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.vbox2.Add(this.hbox1); Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox2 = new Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.absoluteRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("By absolute size:")); this.absoluteRadio.CanFocus = true; this.absoluteRadio.Name = "absoluteRadio"; this.absoluteRadio.DrawIndicator = true; this.absoluteRadio.UseUnderline = true; this.absoluteRadio.Group = this.percentageRadio.Group; this.hbox2.Add(this.absoluteRadio); Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.absoluteRadio])); w6.Position = 0; this.vbox2.Add(this.hbox2); Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("Width:"); this.hbox3.Add(this.label2); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label2])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.widthSpinner = new Gtk.SpinButton(1, 10000, 1); this.widthSpinner.Sensitive = false; this.widthSpinner.CanFocus = true; this.widthSpinner.Name = "widthSpinner"; this.widthSpinner.Adjustment.PageIncrement = 10; this.widthSpinner.ClimbRate = 1; this.widthSpinner.Numeric = true; this.hbox3.Add(this.widthSpinner); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.widthSpinner])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox3.Add(this.label4); Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.label4])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox3); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Height:"); this.hbox4.Add(this.label3); Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.heightSpinner = new Gtk.SpinButton(1, 10000, 1); this.heightSpinner.Sensitive = false; this.heightSpinner.CanFocus = true; this.heightSpinner.Name = "heightSpinner"; this.heightSpinner.Adjustment.PageIncrement = 10; this.heightSpinner.ClimbRate = 1; this.heightSpinner.Numeric = true; this.hbox4.Add(this.heightSpinner); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.heightSpinner])); w13.Position = 1; w13.Expand = false; w13.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("pixels"); this.hbox4.Add(this.label5); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.label5])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox4); Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox4])); w15.Position = 3; w15.Expand = false; w15.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.aspectCheckbox = new Gtk.CheckButton(); this.aspectCheckbox.Sensitive = false; this.aspectCheckbox.CanFocus = true; this.aspectCheckbox.Name = "aspectCheckbox"; this.aspectCheckbox.Label = Mono.Unix.Catalog.GetString("Maintain aspect ratio"); this.aspectCheckbox.Active = true; this.aspectCheckbox.DrawIndicator = true; this.aspectCheckbox.UseUnderline = true; this.vbox2.Add(this.aspectCheckbox); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.aspectCheckbox])); w16.Position = 4; w16.Expand = false; w16.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment1.Name = "alignment1"; this.hbox5.Add(this.alignment1); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment1])); w17.Position = 0; // Container child hbox5.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.CenterButton = new Gtk.Button(); this.CenterButton.WidthRequest = 30; this.CenterButton.HeightRequest = 30; this.CenterButton.CanFocus = true; this.CenterButton.Name = "CenterButton"; this.CenterButton.UseUnderline = true; // Container child CenterButton.Gtk.Container+ContainerChild Gtk.Alignment w18 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w19 = new Gtk.HBox(); w19.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w20 = new Gtk.Image(); w19.Add(w20); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w22 = new Gtk.Label(); w19.Add(w22); w18.Add(w19); this.CenterButton.Add(w18); this.table1.Add(this.CenterButton); Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.CenterButton])); w26.TopAttach = ((uint)(1)); w26.BottomAttach = ((uint)(2)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.XOptions = ((Gtk.AttachOptions)(4)); w26.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.EButton = new Gtk.Button(); this.EButton.WidthRequest = 30; this.EButton.HeightRequest = 30; this.EButton.CanFocus = true; this.EButton.Name = "EButton"; this.EButton.UseUnderline = true; // Container child EButton.Gtk.Container+ContainerChild Gtk.Alignment w27 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w28 = new Gtk.HBox(); w28.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w29 = new Gtk.Image(); w28.Add(w29); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w31 = new Gtk.Label(); w28.Add(w31); w27.Add(w28); this.EButton.Add(w27); this.table1.Add(this.EButton); Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table1[this.EButton])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.LeftAttach = ((uint)(2)); w35.RightAttach = ((uint)(3)); w35.XOptions = ((Gtk.AttachOptions)(4)); w35.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NButton = new Gtk.Button(); this.NButton.WidthRequest = 30; this.NButton.HeightRequest = 30; this.NButton.CanFocus = true; this.NButton.Name = "NButton"; this.NButton.UseUnderline = true; // Container child NButton.Gtk.Container+ContainerChild Gtk.Alignment w36 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w37 = new Gtk.HBox(); w37.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w38 = new Gtk.Image(); w37.Add(w38); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w40 = new Gtk.Label(); w37.Add(w40); w36.Add(w37); this.NButton.Add(w36); this.table1.Add(this.NButton); Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table1[this.NButton])); w44.LeftAttach = ((uint)(1)); w44.RightAttach = ((uint)(2)); w44.XOptions = ((Gtk.AttachOptions)(4)); w44.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NEButton = new Gtk.Button(); this.NEButton.WidthRequest = 30; this.NEButton.HeightRequest = 30; this.NEButton.CanFocus = true; this.NEButton.Name = "NEButton"; this.NEButton.UseUnderline = true; // Container child NEButton.Gtk.Container+ContainerChild Gtk.Alignment w45 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w46 = new Gtk.HBox(); w46.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w47 = new Gtk.Image(); w46.Add(w47); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w49 = new Gtk.Label(); w46.Add(w49); w45.Add(w46); this.NEButton.Add(w45); this.table1.Add(this.NEButton); Gtk.Table.TableChild w53 = ((Gtk.Table.TableChild)(this.table1[this.NEButton])); w53.LeftAttach = ((uint)(2)); w53.RightAttach = ((uint)(3)); w53.XOptions = ((Gtk.AttachOptions)(4)); w53.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.NWButton = new Gtk.Button(); this.NWButton.WidthRequest = 30; this.NWButton.HeightRequest = 30; this.NWButton.CanFocus = true; this.NWButton.Name = "NWButton"; this.NWButton.UseUnderline = true; // Container child NWButton.Gtk.Container+ContainerChild Gtk.Alignment w54 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w55 = new Gtk.HBox(); w55.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w56 = new Gtk.Image(); w55.Add(w56); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w58 = new Gtk.Label(); w55.Add(w58); w54.Add(w55); this.NWButton.Add(w54); this.table1.Add(this.NWButton); Gtk.Table.TableChild w62 = ((Gtk.Table.TableChild)(this.table1[this.NWButton])); w62.XOptions = ((Gtk.AttachOptions)(4)); w62.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SButton = new Gtk.Button(); this.SButton.WidthRequest = 30; this.SButton.HeightRequest = 30; this.SButton.CanFocus = true; this.SButton.Name = "SButton"; this.SButton.UseUnderline = true; // Container child SButton.Gtk.Container+ContainerChild Gtk.Alignment w63 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w64 = new Gtk.HBox(); w64.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w65 = new Gtk.Image(); w64.Add(w65); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w67 = new Gtk.Label(); w64.Add(w67); w63.Add(w64); this.SButton.Add(w63); this.table1.Add(this.SButton); Gtk.Table.TableChild w71 = ((Gtk.Table.TableChild)(this.table1[this.SButton])); w71.TopAttach = ((uint)(2)); w71.BottomAttach = ((uint)(3)); w71.LeftAttach = ((uint)(1)); w71.RightAttach = ((uint)(2)); w71.XOptions = ((Gtk.AttachOptions)(4)); w71.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SEButton = new Gtk.Button(); this.SEButton.WidthRequest = 30; this.SEButton.HeightRequest = 30; this.SEButton.CanFocus = true; this.SEButton.Name = "SEButton"; this.SEButton.UseUnderline = true; // Container child SEButton.Gtk.Container+ContainerChild Gtk.Alignment w72 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w73 = new Gtk.HBox(); w73.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w74 = new Gtk.Image(); w73.Add(w74); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w76 = new Gtk.Label(); w73.Add(w76); w72.Add(w73); this.SEButton.Add(w72); this.table1.Add(this.SEButton); Gtk.Table.TableChild w80 = ((Gtk.Table.TableChild)(this.table1[this.SEButton])); w80.TopAttach = ((uint)(2)); w80.BottomAttach = ((uint)(3)); w80.LeftAttach = ((uint)(2)); w80.RightAttach = ((uint)(3)); w80.XOptions = ((Gtk.AttachOptions)(4)); w80.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.SWButton = new Gtk.Button(); this.SWButton.WidthRequest = 30; this.SWButton.HeightRequest = 30; this.SWButton.CanFocus = true; this.SWButton.Name = "SWButton"; this.SWButton.UseUnderline = true; // Container child SWButton.Gtk.Container+ContainerChild Gtk.Alignment w81 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w82 = new Gtk.HBox(); w82.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w83 = new Gtk.Image(); w82.Add(w83); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w85 = new Gtk.Label(); w82.Add(w85); w81.Add(w82); this.SWButton.Add(w81); this.table1.Add(this.SWButton); Gtk.Table.TableChild w89 = ((Gtk.Table.TableChild)(this.table1[this.SWButton])); w89.TopAttach = ((uint)(2)); w89.BottomAttach = ((uint)(3)); w89.XOptions = ((Gtk.AttachOptions)(4)); w89.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.WButton = new Gtk.Button(); this.WButton.WidthRequest = 30; this.WButton.HeightRequest = 30; this.WButton.CanFocus = true; this.WButton.Name = "WButton"; this.WButton.UseUnderline = true; // Container child WButton.Gtk.Container+ContainerChild Gtk.Alignment w90 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w91 = new Gtk.HBox(); w91.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w92 = new Gtk.Image(); w91.Add(w92); // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w94 = new Gtk.Label(); w91.Add(w94); w90.Add(w91); this.WButton.Add(w90); this.table1.Add(this.WButton); Gtk.Table.TableChild w98 = ((Gtk.Table.TableChild)(this.table1[this.WButton])); w98.TopAttach = ((uint)(1)); w98.BottomAttach = ((uint)(2)); w98.XOptions = ((Gtk.AttachOptions)(4)); w98.YOptions = ((Gtk.AttachOptions)(4)); this.hbox5.Add(this.table1); Gtk.Box.BoxChild w99 = ((Gtk.Box.BoxChild)(this.hbox5[this.table1])); w99.Position = 1; w99.Expand = false; w99.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment2.Name = "alignment2"; this.hbox5.Add(this.alignment2); Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.hbox5[this.alignment2])); w100.Position = 2; this.vbox2.Add(this.hbox5); Gtk.Box.BoxChild w101 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w101.PackType = ((Gtk.PackType)(1)); w101.Position = 5; w101.Expand = false; w101.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label6 = new Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = Mono.Unix.Catalog.GetString("Anchor:"); this.vbox2.Add(this.label6); Gtk.Box.BoxChild w102 = ((Gtk.Box.BoxChild)(this.vbox2[this.label6])); w102.PackType = ((Gtk.PackType)(1)); w102.Position = 6; w102.Expand = false; w102.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hseparator1 = new Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox2.Add(this.hseparator1); Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox2[this.hseparator1])); w103.PackType = ((Gtk.PackType)(1)); w103.Position = 7; w103.Expand = false; w103.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w104 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w104.Position = 0; w104.Expand = false; w104.Fill = false; // Internal child Pinta.ResizeCanvasDialog.ActionArea Gtk.HButtonBox w105 = this.ActionArea; w105.Name = "dialog1_ActionArea"; w105.Spacing = 10; w105.BorderWidth = ((uint)(5)); w105.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new 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); Gtk.ButtonBox.ButtonBoxChild w106 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonCancel])); w106.Expand = false; w106.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new 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); Gtk.ButtonBox.ButtonBoxChild w107 = ((Gtk.ButtonBox.ButtonBoxChild)(w105[this.buttonOk])); w107.Position = 1; w107.Expand = false; w107.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); }