示例#1
0
 public static void ToRGBA(this Gtk.ColorButton button, out byte r, out byte g, out byte b, out byte a)
 {
     r = (byte)(button.Color.Red >> 8);
     g = (byte)(button.Color.Green >> 8);
     b = (byte)(button.Color.Blue >> 8);
     a = (byte)(button.Alpha >> 8);
 }
示例#2
0
        public static System.Drawing.Color ToSystemDrawingColor(this Gtk.ColorButton button)
        {
            byte r, g, b, a;

            button.ToRGBA(out r, out g, out b, out a);
            return(System.Drawing.Color.FromArgb(a, r, g, b));
        }
示例#3
0
        public static void FromUInt32(this Gtk.ColorButton button, UInt32 rgba)
        {
            byte r, g, b, a;

            UInt32_to_RGBA(rgba, out r, out g, out b, out a);
            button.Color = new Gdk.Color(r, g, b);
            button.Alpha = (ushort)(a << 8);
        }
示例#4
0
 static void ColorActivated_cb(IntPtr inst, IntPtr color)
 {
     try {
         Gtk.ColorButton __obj = GLib.Object.GetObject(inst, false) as Gtk.ColorButton;
         __obj.OnColorActivated(Gdk.RGBA.New(color));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, false);
     }
 }
示例#5
0
        protected string GetColorCode(Gtk.ColorButton clrbtn)
        {
            //Red
            double a    = clrbtn.Color.Red;
            int    mod1 = Convert.ToInt32(a / 257);

            //string red = mod1.ToString ();
            string l1 = Convert.ToString(mod1, 16).ToUpper();
            string hax1;

            if (l1.Length <= 1)
            {
                hax1 = string.Concat("0", l1);
            }
            else
            {
                hax1 = l1;
            }
            //Green
            double b    = clrbtn.Color.Green;
            int    mod2 = Convert.ToInt32(b / 257);

            //string green = mod2.ToString ();
            string l2 = Convert.ToString(mod2, 16).ToUpper();
            string hax2;

            if (l2.Length <= 1)
            {
                hax2 = string.Concat("0", l2);
            }
            else
            {
                hax2 = l2;
            }
            //blue
            double c    = clrbtn.Color.Blue;
            int    mod3 = Convert.ToInt32(c / 257);

            //string blue = mod3.ToString ();
            string l3 = Convert.ToString(mod3, 16).ToUpper();
            string hax3;

            if (l3.Length <= 1)
            {
                hax3 = string.Concat("0", l3);
            }
            else
            {
                hax3 = l3;
            }

            string XCode = string.Concat("#", hax1, hax2, hax3);

            tbClr.Text = XCode;
            //string Code = string.Concat (red, green, blue);
            return(XCode);
        }
示例#6
0
        Gtk.Widget GenerateButtonsForData(PaletteHeaderData data)
        {
            Gtk.Grid grid = new Gtk.Grid();

            if (data.IsResolvable)
            {
                System.Drawing.Color[][] colors = data.GetPalettes();

                int row = 0;
                int col = 0;

                int numCols = 8; // Reduce this to sort colors into separate rows

                for (int i = 0; i < data.NumPalettes; i++)
                {
                    Gtk.Box box = new Gtk.VBox();

                    for (int j = 0; j < 4; j++)
                    {
                        int paletteIndex = i;
                        int colorIndex   = j;

                        Cairo.Color     color  = CairoHelper.ConvertColor(colors[i][j]);
                        Gtk.ColorButton button = new Gtk.ColorButton(color.ToRGBA());
                        button.ColorSet += (sender, args) => {
                            data.SetColor(paletteIndex, colorIndex, button.Rgba.ToDrawingColor());
                        };
                        box.Add(button);
                    }

                    Gtk.Frame frame = new Gtk.Frame();
                    frame.Label       = (i + data.FirstPalette).ToString();
                    frame.LabelXalign = 0.5f;
                    frame.Add(box);
                    grid.Attach(frame, col, row, 1, 1);
                    col++;
                    if (col == numCols)
                    {
                        col = 0;
                        row++;
                    }
                }
            }

            Gtk.Frame outsideFrame = new Gtk.Frame();
            outsideFrame.Add(grid);
            outsideFrame.Label = data.PointerName
                                 + " [" + (data.PaletteType == PaletteType.Background ? "BG" : "OBJ") + "]";
            outsideFrame.LabelXalign = 0.5f;

            return(outsideFrame);
        }
示例#7
0
        protected void updateColor(string pltname, Gtk.ColorButton btn, int no)
        {
            string clrCode = GetColorCode(btn);
            IEnumerable <XElement> elem = mgr.GetPalette(pltname).Descendants();

            try {
                XElement e1 = elem.ElementAt(no);
                if (e1 != null)
                {
                    e1.Attribute("COLOR").Value = clrCode;
                }
                //else
                //	e1.Add ("Color",new XAttribute ("COLOR", clrCode));
            } catch (Exception ex) {
                XElement plelem = mgr.GetPalette(pltname).Single();
                XElement e      = new XElement("Color", new XAttribute("COLOR", clrCode));
                plelem.Add(e);
            }

            mgr.save();
        }
示例#8
0
 public static Cairo.Color ToCairo(this Gtk.ColorButton button)
 {
     return(new Cairo.Color(button.Color.Red / 65535f, button.Color.Green / 65535f, button.Color.Blue / 65535f, button.Alpha / 65535f));
 }
示例#9
0
 public override void Initialize()
 {
     Widget = new Gtk.ColorButton();
     base.Widget.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MonoHotDraw.Database.ColorDialog
     this.Name = "MonoHotDraw.Database.ColorDialog";
     this.Title = Mono.Unix.Catalog.GetString("Select color");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.HasSeparator = false;
     // Internal child MonoHotDraw.Database.ColorDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Select color value:");
     this.hbox1.Add(this.label2);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this._colorButton = new Gtk.ColorButton();
     this._colorButton.CanFocus = true;
     this._colorButton.Events = ((Gdk.EventMask)(784));
     this._colorButton.Name = "_colorButton";
     this.hbox1.Add(this._colorButton);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this._colorButton]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     w1.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Internal child MonoHotDraw.Database.ColorDialog.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 = 202;
     this.DefaultHeight = 109;
     this.Show();
 }
示例#11
0
 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 omvviewerlight.Preferences
     this.Name = "omvviewerlight.Preferences";
     this.Title = Mono.Unix.Catalog.GetString("Preferences");
     this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child omvviewerlight.Preferences.Gtk.Container+ContainerChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.notebook4 = new Gtk.Notebook();
     this.notebook4.CanFocus = true;
     this.notebook4.Name = "notebook4";
     this.notebook4.CurrentPage = 0;
     // Container child notebook4.Gtk.Notebook+NotebookChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.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.vbox4 = new Gtk.VBox();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.checkbutton_showtimestamps = new Gtk.CheckButton();
     this.checkbutton_showtimestamps.CanFocus = true;
     this.checkbutton_showtimestamps.Name = "checkbutton_showtimestamps";
     this.checkbutton_showtimestamps.Label = Mono.Unix.Catalog.GetString("Show time stamps in chat and IMs");
     this.checkbutton_showtimestamps.DrawIndicator = true;
     this.checkbutton_showtimestamps.UseUnderline = true;
     this.vbox4.Add(this.checkbutton_showtimestamps);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox4[this.checkbutton_showtimestamps]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.checkbutton_notifychat = new Gtk.CheckButton();
     this.checkbutton_notifychat.CanFocus = true;
     this.checkbutton_notifychat.Name = "checkbutton_notifychat";
     this.checkbutton_notifychat.Label = Mono.Unix.Catalog.GetString("Notify on Avatar chat");
     this.checkbutton_notifychat.DrawIndicator = true;
     this.checkbutton_notifychat.UseUnderline = true;
     this.vbox4.Add(this.checkbutton_notifychat);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox4[this.checkbutton_notifychat]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.checkbutton_notifyIM = new Gtk.CheckButton();
     this.checkbutton_notifyIM.CanFocus = true;
     this.checkbutton_notifyIM.Name = "checkbutton_notifyIM";
     this.checkbutton_notifyIM.Label = Mono.Unix.Catalog.GetString("Notify on IM");
     this.checkbutton_notifyIM.DrawIndicator = true;
     this.checkbutton_notifyIM.UseUnderline = true;
     this.vbox4.Add(this.checkbutton_notifyIM);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox4[this.checkbutton_notifyIM]));
     w3.Position = 2;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.checkbutton_notifyGroupIM = new Gtk.CheckButton();
     this.checkbutton_notifyGroupIM.CanFocus = true;
     this.checkbutton_notifyGroupIM.Name = "checkbutton_notifyGroupIM";
     this.checkbutton_notifyGroupIM.Label = Mono.Unix.Catalog.GetString("Notify on Group IM");
     this.checkbutton_notifyGroupIM.DrawIndicator = true;
     this.checkbutton_notifyGroupIM.UseUnderline = true;
     this.vbox4.Add(this.checkbutton_notifyGroupIM);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox4[this.checkbutton_notifyGroupIM]));
     w4.Position = 3;
     w4.Expand = false;
     w4.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.checkbutton_notifyobjectchat = new Gtk.CheckButton();
     this.checkbutton_notifyobjectchat.CanFocus = true;
     this.checkbutton_notifyobjectchat.Name = "checkbutton_notifyobjectchat";
     this.checkbutton_notifyobjectchat.Label = Mono.Unix.Catalog.GetString("Notify on Object Chat");
     this.checkbutton_notifyobjectchat.DrawIndicator = true;
     this.checkbutton_notifyobjectchat.UseUnderline = true;
     this.vbox4.Add(this.checkbutton_notifyobjectchat);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox4[this.checkbutton_notifyobjectchat]));
     w5.Position = 4;
     w5.Expand = false;
     w5.Fill = false;
     this.GtkAlignment.Add(this.vbox4);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel4 = new Gtk.Label();
     this.GtkLabel4.Name = "GtkLabel4";
     this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Chat and IMs</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel4;
     this.vbox3.Add(this.frame1);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame1]));
     w8.Position = 0;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbox3.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.vbox5 = new Gtk.VBox();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.checkbutton_hideminimise = new Gtk.CheckButton();
     this.checkbutton_hideminimise.CanFocus = true;
     this.checkbutton_hideminimise.Name = "checkbutton_hideminimise";
     this.checkbutton_hideminimise.Label = Mono.Unix.Catalog.GetString("Hide minimise confirm");
     this.checkbutton_hideminimise.DrawIndicator = true;
     this.checkbutton_hideminimise.UseUnderline = true;
     this.vbox5.Add(this.checkbutton_hideminimise);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox5[this.checkbutton_hideminimise]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.radiobutton1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Default is to minimise"));
     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.vbox5.Add(this.radiobutton1);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox5[this.radiobutton1]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.radiobutton2 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Default is to close"));
     this.radiobutton2.CanFocus = true;
     this.radiobutton2.Name = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline = true;
     this.radiobutton2.Group = this.radiobutton1.Group;
     this.vbox5.Add(this.radiobutton2);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox5[this.radiobutton2]));
     w11.Position = 2;
     w11.Expand = false;
     w11.Fill = false;
     this.GtkAlignment1.Add(this.vbox5);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel8 = new Gtk.Label();
     this.GtkLabel8.Name = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Minimise</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel8;
     this.vbox3.Add(this.frame2);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame2]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.notebook4.Add(this.vbox3);
     // Notebook tab
     this.label11 = new Gtk.Label();
     this.label11.Name = "label11";
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("General");
     this.notebook4.SetTabLabel(this.vbox3, this.label11);
     this.label11.ShowAll();
     // Container child notebook4.Gtk.Notebook+NotebookChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox6 = new Gtk.VBox();
     this.vbox6.Name = "vbox6";
     this.vbox6.Homogeneous = true;
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Cloud");
     this.vbox6.Add(this.label3);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox6[this.label3]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Wind");
     this.vbox6.Add(this.label4);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox6[this.label4]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label5 = new Gtk.Label();
     this.label5.Name = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Land");
     this.vbox6.Add(this.label5);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox6[this.label5]));
     w18.Position = 3;
     w18.Expand = false;
     w18.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label6 = new Gtk.Label();
     this.label6.Name = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Texture");
     this.vbox6.Add(this.label6);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox6[this.label6]));
     w19.Position = 4;
     w19.Expand = false;
     w19.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label7 = new Gtk.Label();
     this.label7.Name = "label7";
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Asset");
     this.vbox6.Add(this.label7);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox6[this.label7]));
     w20.Position = 5;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label8 = new Gtk.Label();
     this.label8.Name = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Resend");
     this.vbox6.Add(this.label8);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox6[this.label8]));
     w21.Position = 6;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.label9 = new Gtk.Label();
     this.label9.Name = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Task");
     this.vbox6.Add(this.label9);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox6[this.label9]));
     w22.Position = 7;
     w22.Expand = false;
     w22.Fill = false;
     this.hbox1.Add(this.vbox6);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox6]));
     w23.Position = 0;
     w23.Expand = false;
     w23.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox7 = new Gtk.VBox();
     this.vbox7.WidthRequest = 333;
     this.vbox7.Name = "vbox7";
     this.vbox7.Homogeneous = true;
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.label10 = new Gtk.Label();
     this.label10.Name = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Bandwidth throttle control");
     this.vbox7.Add(this.label10);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox7[this.label10]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_cloud = new Gtk.HScale(null);
     this.hscale_cloud.CanFocus = true;
     this.hscale_cloud.Name = "hscale_cloud";
     this.hscale_cloud.Adjustment.Upper = 34000;
     this.hscale_cloud.Adjustment.PageIncrement = 1000;
     this.hscale_cloud.Adjustment.PageSize = 1000;
     this.hscale_cloud.Adjustment.StepIncrement = 1;
     this.hscale_cloud.DrawValue = true;
     this.hscale_cloud.Digits = 0;
     this.hscale_cloud.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_cloud);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_cloud]));
     w25.Position = 1;
     w25.Expand = false;
     w25.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_wind = new Gtk.HScale(null);
     this.hscale_wind.CanFocus = true;
     this.hscale_wind.Name = "hscale_wind";
     this.hscale_wind.Adjustment.Upper = 34000;
     this.hscale_wind.Adjustment.PageIncrement = 1000;
     this.hscale_wind.Adjustment.PageSize = 1000;
     this.hscale_wind.Adjustment.StepIncrement = 1;
     this.hscale_wind.Adjustment.Value = 4;
     this.hscale_wind.DrawValue = true;
     this.hscale_wind.Digits = 0;
     this.hscale_wind.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_wind);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_wind]));
     w26.Position = 2;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_land = new Gtk.HScale(null);
     this.hscale_land.CanFocus = true;
     this.hscale_land.Name = "hscale_land";
     this.hscale_land.Adjustment.Upper = 170000;
     this.hscale_land.Adjustment.PageIncrement = 1000;
     this.hscale_land.Adjustment.StepIncrement = 1000;
     this.hscale_land.DrawValue = true;
     this.hscale_land.Digits = 0;
     this.hscale_land.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_land);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_land]));
     w27.Position = 3;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_texture = new Gtk.HScale(null);
     this.hscale_texture.CanFocus = true;
     this.hscale_texture.Name = "hscale_texture";
     this.hscale_texture.Adjustment.Lower = 4000;
     this.hscale_texture.Adjustment.Upper = 446000;
     this.hscale_texture.Adjustment.PageIncrement = 1000;
     this.hscale_texture.Adjustment.PageSize = 1000;
     this.hscale_texture.Adjustment.StepIncrement = 1;
     this.hscale_texture.Adjustment.Value = 4000;
     this.hscale_texture.DrawValue = true;
     this.hscale_texture.Digits = 0;
     this.hscale_texture.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_texture);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_texture]));
     w28.Position = 4;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_asset = new Gtk.HScale(null);
     this.hscale_asset.CanFocus = true;
     this.hscale_asset.Name = "hscale_asset";
     this.hscale_asset.Adjustment.Lower = 10000;
     this.hscale_asset.Adjustment.Upper = 220000;
     this.hscale_asset.Adjustment.PageIncrement = 1000;
     this.hscale_asset.Adjustment.PageSize = 1000;
     this.hscale_asset.Adjustment.StepIncrement = 1;
     this.hscale_asset.Adjustment.Value = 10000;
     this.hscale_asset.DrawValue = true;
     this.hscale_asset.Digits = 0;
     this.hscale_asset.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_asset);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_asset]));
     w29.Position = 5;
     w29.Expand = false;
     w29.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_resend = new Gtk.HScale(null);
     this.hscale_resend.CanFocus = true;
     this.hscale_resend.Name = "hscale_resend";
     this.hscale_resend.Adjustment.Lower = 10000;
     this.hscale_resend.Adjustment.Upper = 150000;
     this.hscale_resend.Adjustment.PageIncrement = 1000;
     this.hscale_resend.Adjustment.StepIncrement = 1000;
     this.hscale_resend.Adjustment.Value = 10000;
     this.hscale_resend.DrawValue = true;
     this.hscale_resend.Digits = 0;
     this.hscale_resend.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_resend);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_resend]));
     w30.Position = 6;
     w30.Expand = false;
     w30.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hscale_task = new Gtk.HScale(null);
     this.hscale_task.CanFocus = true;
     this.hscale_task.Name = "hscale_task";
     this.hscale_task.Adjustment.Lower = 4000;
     this.hscale_task.Adjustment.Upper = 446000;
     this.hscale_task.Adjustment.PageIncrement = 1000;
     this.hscale_task.Adjustment.PageSize = 1000;
     this.hscale_task.Adjustment.StepIncrement = 1;
     this.hscale_task.Adjustment.Value = 4000;
     this.hscale_task.DrawValue = true;
     this.hscale_task.Digits = 0;
     this.hscale_task.ValuePos = ((Gtk.PositionType)(2));
     this.vbox7.Add(this.hscale_task);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox7[this.hscale_task]));
     w31.Position = 7;
     w31.Expand = false;
     w31.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.button_applythrottle = new Gtk.Button();
     this.button_applythrottle.CanFocus = true;
     this.button_applythrottle.Name = "button_applythrottle";
     this.button_applythrottle.UseUnderline = true;
     this.button_applythrottle.Label = Mono.Unix.Catalog.GetString("Apply throttle settings");
     this.hbox4.Add(this.button_applythrottle);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox4[this.button_applythrottle]));
     w32.Position = 1;
     w32.Expand = false;
     w32.Fill = false;
     this.vbox7.Add(this.hbox4);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox4]));
     w33.Position = 8;
     w33.Expand = false;
     w33.Fill = false;
     this.hbox1.Add(this.vbox7);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox7]));
     w34.Position = 1;
     w34.Expand = false;
     w34.Fill = false;
     this.notebook4.Add(this.hbox1);
     Gtk.Notebook.NotebookChild w35 = ((Gtk.Notebook.NotebookChild)(this.notebook4[this.hbox1]));
     w35.Position = 1;
     // Notebook tab
     this.label12 = new Gtk.Label();
     this.label12.Name = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Throttle");
     this.notebook4.SetTabLabel(this.hbox1, this.label12);
     this.label12.ShowAll();
     // Container child notebook4.Gtk.Notebook+NotebookChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // 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.hbox7 = new Gtk.HBox();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.colorbutton_normal = new Gtk.ColorButton();
     this.colorbutton_normal.CanFocus = true;
     this.colorbutton_normal.Events = ((Gdk.EventMask)(784));
     this.colorbutton_normal.Name = "colorbutton_normal";
     this.hbox7.Add(this.colorbutton_normal);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox7[this.colorbutton_normal]));
     w36.Position = 0;
     w36.Expand = false;
     w36.Fill = false;
     w36.Padding = ((uint)(17));
     // Container child hbox7.Gtk.Box+BoxChild
     this.label15 = new Gtk.Label();
     this.label15.Name = "label15";
     this.label15.Xalign = 0F;
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Normal chat");
     this.label15.WidthChars = 20;
     this.hbox7.Add(this.label15);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox7[this.label15]));
     w37.Position = 1;
     w37.Expand = false;
     w37.Fill = false;
     w37.Padding = ((uint)(6));
     this.hbox2.Add(this.hbox7);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox7]));
     w38.Position = 0;
     w38.Expand = false;
     w38.Fill = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w39.Position = 0;
     w39.Expand = false;
     w39.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5 = new Gtk.HBox();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.colorbutton_object = new Gtk.ColorButton();
     this.colorbutton_object.CanFocus = true;
     this.colorbutton_object.Events = ((Gdk.EventMask)(784));
     this.colorbutton_object.Name = "colorbutton_object";
     this.hbox5.Add(this.colorbutton_object);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox5[this.colorbutton_object]));
     w40.Position = 0;
     w40.Expand = false;
     w40.Fill = false;
     w40.Padding = ((uint)(17));
     // Container child hbox5.Gtk.Box+BoxChild
     this.label13 = new Gtk.Label();
     this.label13.Name = "label13";
     this.label13.Xalign = 0F;
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Object chat");
     this.label13.WidthChars = 20;
     this.hbox5.Add(this.label13);
     Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.hbox5[this.label13]));
     w41.Position = 1;
     w41.Expand = false;
     w41.Fill = false;
     w41.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox5);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w42.Position = 1;
     w42.Expand = false;
     w42.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox6 = new Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.colorbutton_ownerim = new Gtk.ColorButton();
     this.colorbutton_ownerim.CanFocus = true;
     this.colorbutton_ownerim.Events = ((Gdk.EventMask)(784));
     this.colorbutton_ownerim.Name = "colorbutton_ownerim";
     this.hbox6.Add(this.colorbutton_ownerim);
     Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox6[this.colorbutton_ownerim]));
     w43.Position = 0;
     w43.Expand = false;
     w43.Fill = false;
     w43.Padding = ((uint)(17));
     // Container child hbox6.Gtk.Box+BoxChild
     this.label14 = new Gtk.Label();
     this.label14.Name = "label14";
     this.label14.Xalign = 0F;
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Object Owner IM");
     this.label14.WidthChars = 20;
     this.hbox6.Add(this.label14);
     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox6[this.label14]));
     w44.Position = 1;
     w44.Expand = false;
     w44.Fill = false;
     w44.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox6);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox6]));
     w45.Position = 2;
     w45.Expand = false;
     w45.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox8 = new Gtk.HBox();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.colorbutton_objectim = new Gtk.ColorButton();
     this.colorbutton_objectim.CanFocus = true;
     this.colorbutton_objectim.Events = ((Gdk.EventMask)(784));
     this.colorbutton_objectim.Name = "colorbutton_objectim";
     this.hbox8.Add(this.colorbutton_objectim);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox8[this.colorbutton_objectim]));
     w46.Position = 0;
     w46.Expand = false;
     w46.Fill = false;
     w46.Padding = ((uint)(17));
     // Container child hbox8.Gtk.Box+BoxChild
     this.label16 = new Gtk.Label();
     this.label16.Name = "label16";
     this.label16.Xalign = 0F;
     this.label16.LabelProp = Mono.Unix.Catalog.GetString("Object IM");
     this.label16.WidthChars = 20;
     this.hbox8.Add(this.label16);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox8[this.label16]));
     w47.Position = 1;
     w47.Expand = false;
     w47.Fill = false;
     w47.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox8);
     Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox8]));
     w48.Position = 3;
     w48.Expand = false;
     w48.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox9 = new Gtk.HBox();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.colorbutton_system = new Gtk.ColorButton();
     this.colorbutton_system.CanFocus = true;
     this.colorbutton_system.Events = ((Gdk.EventMask)(784));
     this.colorbutton_system.Name = "colorbutton_system";
     this.hbox9.Add(this.colorbutton_system);
     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.hbox9[this.colorbutton_system]));
     w49.Position = 0;
     w49.Expand = false;
     w49.Fill = false;
     w49.Padding = ((uint)(17));
     // Container child hbox9.Gtk.Box+BoxChild
     this.label17 = new Gtk.Label();
     this.label17.Name = "label17";
     this.label17.Xalign = 0F;
     this.label17.LabelProp = Mono.Unix.Catalog.GetString("System chat");
     this.label17.WidthChars = 20;
     this.hbox9.Add(this.label17);
     Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.hbox9[this.label17]));
     w50.Position = 1;
     w50.Expand = false;
     w50.Fill = false;
     w50.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox9);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox9]));
     w51.Position = 4;
     w51.Expand = false;
     w51.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox10 = new Gtk.HBox();
     this.hbox10.Name = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.colorbutton_online = new Gtk.ColorButton();
     this.colorbutton_online.CanFocus = true;
     this.colorbutton_online.Events = ((Gdk.EventMask)(784));
     this.colorbutton_online.Name = "colorbutton_online";
     this.hbox10.Add(this.colorbutton_online);
     Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.hbox10[this.colorbutton_online]));
     w52.Position = 0;
     w52.Expand = false;
     w52.Fill = false;
     w52.Padding = ((uint)(17));
     // Container child hbox10.Gtk.Box+BoxChild
     this.label18 = new Gtk.Label();
     this.label18.Name = "label18";
     this.label18.Xalign = 0F;
     this.label18.LabelProp = Mono.Unix.Catalog.GetString("Online");
     this.label18.WidthChars = 20;
     this.hbox10.Add(this.label18);
     Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.hbox10[this.label18]));
     w53.Position = 1;
     w53.Expand = false;
     w53.Fill = false;
     w53.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox10);
     Gtk.Box.BoxChild w54 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox10]));
     w54.Position = 5;
     w54.Expand = false;
     w54.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox11 = new Gtk.HBox();
     this.hbox11.Name = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.colorbutton_typing = new Gtk.ColorButton();
     this.colorbutton_typing.CanFocus = true;
     this.colorbutton_typing.Events = ((Gdk.EventMask)(784));
     this.colorbutton_typing.Name = "colorbutton_typing";
     this.hbox11.Add(this.colorbutton_typing);
     Gtk.Box.BoxChild w55 = ((Gtk.Box.BoxChild)(this.hbox11[this.colorbutton_typing]));
     w55.Position = 0;
     w55.Expand = false;
     w55.Fill = false;
     w55.Padding = ((uint)(17));
     // Container child hbox11.Gtk.Box+BoxChild
     this.label19 = new Gtk.Label();
     this.label19.Name = "label19";
     this.label19.Xalign = 0F;
     this.label19.LabelProp = Mono.Unix.Catalog.GetString("Typing...");
     this.label19.WidthChars = 20;
     this.hbox11.Add(this.label19);
     Gtk.Box.BoxChild w56 = ((Gtk.Box.BoxChild)(this.hbox11[this.label19]));
     w56.Position = 1;
     w56.Expand = false;
     w56.Fill = false;
     w56.Padding = ((uint)(6));
     this.vbox1.Add(this.hbox11);
     Gtk.Box.BoxChild w57 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox11]));
     w57.Position = 6;
     w57.Expand = false;
     w57.Fill = false;
     this.notebook4.Add(this.vbox1);
     Gtk.Notebook.NotebookChild w58 = ((Gtk.Notebook.NotebookChild)(this.notebook4[this.vbox1]));
     w58.Position = 2;
     // Notebook tab
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Chat colors");
     this.notebook4.SetTabLabel(this.vbox1, this.label1);
     this.label1.ShowAll();
     this.vbox2.Add(this.notebook4);
     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.vbox2[this.notebook4]));
     w59.Position = 0;
     w59.Expand = false;
     w59.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 9;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button_ok = new Gtk.Button();
     this.button_ok.WidthRequest = 75;
     this.button_ok.CanFocus = true;
     this.button_ok.Name = "button_ok";
     this.button_ok.UseUnderline = true;
     // Container child button_ok.Gtk.Container+ContainerChild
     Gtk.Alignment w60 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w61 = new Gtk.HBox();
     w61.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w62 = new Gtk.Image();
     w62.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Menu, 16);
     w61.Add(w62);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w64 = new Gtk.Label();
     w64.LabelProp = Mono.Unix.Catalog.GetString("Ok");
     w64.UseUnderline = true;
     w61.Add(w64);
     w60.Add(w61);
     this.button_ok.Add(w60);
     this.hbox3.Add(this.button_ok);
     Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.hbox3[this.button_ok]));
     w68.Position = 0;
     w68.Expand = false;
     w68.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button_apply = new Gtk.Button();
     this.button_apply.WidthRequest = 75;
     this.button_apply.CanFocus = true;
     this.button_apply.Name = "button_apply";
     this.button_apply.UseUnderline = true;
     // Container child button_apply.Gtk.Container+ContainerChild
     Gtk.Alignment w69 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w70 = new Gtk.HBox();
     w70.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w71 = new Gtk.Image();
     w71.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
     w70.Add(w71);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w73 = new Gtk.Label();
     w73.LabelProp = Mono.Unix.Catalog.GetString("Apply");
     w73.UseUnderline = true;
     w70.Add(w73);
     w69.Add(w70);
     this.button_apply.Add(w69);
     this.hbox3.Add(this.button_apply);
     Gtk.Box.BoxChild w77 = ((Gtk.Box.BoxChild)(this.hbox3[this.button_apply]));
     w77.Position = 1;
     w77.Expand = false;
     w77.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.button_cancel = new Gtk.Button();
     this.button_cancel.WidthRequest = 75;
     this.button_cancel.CanFocus = true;
     this.button_cancel.Name = "button_cancel";
     this.button_cancel.UseUnderline = true;
     // Container child button_cancel.Gtk.Container+ContainerChild
     Gtk.Alignment w78 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w79 = new Gtk.HBox();
     w79.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w80 = new Gtk.Image();
     w80.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
     w79.Add(w80);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w82 = new Gtk.Label();
     w82.LabelProp = Mono.Unix.Catalog.GetString("Cancel");
     w82.UseUnderline = true;
     w79.Add(w82);
     w78.Add(w79);
     this.button_cancel.Add(w78);
     this.hbox3.Add(this.button_cancel);
     Gtk.Box.BoxChild w86 = ((Gtk.Box.BoxChild)(this.hbox3[this.button_cancel]));
     w86.Position = 2;
     w86.Expand = false;
     w86.Fill = false;
     this.vbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w87 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w87.Position = 2;
     w87.Expand = false;
     w87.Fill = false;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 663;
     this.DefaultHeight = 499;
     this.Show();
     this.checkbutton_showtimestamps.Clicked += new System.EventHandler(this.OnCheckbuttonShowtimestampsClicked);
     this.checkbutton_hideminimise.Clicked += new System.EventHandler(this.OnCheckbuttonHideminimiseClicked);
     this.radiobutton1.Activated += new System.EventHandler(this.OnRadiobutton1Activated);
     this.radiobutton2.Activated += new System.EventHandler(this.OnRadiobutton2Activated);
     this.button_applythrottle.Clicked += new System.EventHandler(this.OnButtonApplythrottleClicked);
     this.colorbutton_normal.Clicked += new System.EventHandler(this.OnColorbuttonNormalClicked);
     this.colorbutton_object.Clicked += new System.EventHandler(this.OnColorbuttonObjectClicked);
     this.colorbutton_ownerim.Clicked += new System.EventHandler(this.OnColorbuttonOwnerimClicked);
     this.colorbutton_objectim.Clicked += new System.EventHandler(this.OnColorbuttonObjectimClicked);
     this.colorbutton_system.Clicked += new System.EventHandler(this.OnColorbuttonSystemClicked);
     this.colorbutton_online.Clicked += new System.EventHandler(this.OnColorbuttonSystemClicked);
     this.colorbutton_typing.Clicked += new System.EventHandler(this.OnColorbuttonSystemClicked);
     this.button_ok.Clicked += new System.EventHandler(this.OnButtonOkClicked);
     this.button_apply.Clicked += new System.EventHandler(this.OnButtonApplyClicked);
     this.button_cancel.Clicked += new System.EventHandler(this.OnButtonCancelClicked);
 }
示例#13
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget sermon2.TaggerDataConf
     Stetic.BinContainer.Attach(this);
     this.Name = "sermon2.TaggerDataConf";
     // Container child sermon2.TaggerDataConf.Gtk.Container+ContainerChild
     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.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));
     this.table1.BorderWidth   = ((uint)(3));
     // 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 w1 = ((Gtk.Table.TableChild)(this.table1[this.backgroundCheckButton]));
     w1.TopAttach    = ((uint)(1));
     w1.BottomAttach = ((uint)(2));
     w1.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.backgroundColorButton          = new Gtk.ColorButton();
     this.backgroundColorButton.CanFocus = true;
     this.backgroundColorButton.Events   = ((Gdk.EventMask)(784));
     this.backgroundColorButton.Name     = "backgroundColorButton";
     this.backgroundColorButton.Title    = Mono.Unix.Catalog.GetString("#000000");
     this.table1.Add(this.backgroundColorButton);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.backgroundColorButton]));
     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.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 w3 = ((Gtk.Table.TableChild)(this.table1[this.foregroundCheckButton]));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.foregroundColorButton          = new Gtk.ColorButton();
     this.foregroundColorButton.CanFocus = true;
     this.foregroundColorButton.Events   = ((Gdk.EventMask)(784));
     this.foregroundColorButton.Name     = "foregroundColorButton";
     this.table1.Add(this.foregroundColorButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.foregroundColorButton]));
     w4.LeftAttach  = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     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.remButton              = new Gtk.Button();
     this.remButton.CanFocus     = true;
     this.remButton.Name         = "remButton";
     this.remButton.UseUnderline = true;
     this.remButton.BorderWidth  = ((uint)(3));
     // Container child remButton.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-remove", Gtk.IconSize.Menu, 16);
     w7.Add(w8);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w10 = new Gtk.Label();
     w10.LabelProp    = Mono.Unix.Catalog.GetString("remove");
     w10.UseUnderline = true;
     w7.Add(w10);
     w6.Add(w7);
     this.remButton.Add(w6);
     this.vbox3.Add(this.remButton);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox3[this.remButton]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.dataLabel           = new Gtk.Label();
     this.dataLabel.Name      = "dataLabel";
     this.dataLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>data tagger</b>");
     this.dataLabel.UseMarkup = true;
     this.frame1.LabelWidget  = this.dataLabel;
     this.Add(this.frame1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.foregroundColorButton.ColorSet += new System.EventHandler(this.OnForegroundColorButtonColorSet);
     this.foregroundCheckButton.Released += new System.EventHandler(this.OnForegroundCheckButtonReleased);
     this.backgroundColorButton.ColorSet += new System.EventHandler(this.OnBackgroundColorButtonColorSet);
     this.backgroundCheckButton.Released += new System.EventHandler(this.OnBackgroundCheckButtonReleased);
     this.remButton.Released             += new System.EventHandler(this.OnRemButtonReleased);
 }
示例#14
0
 public static void FromRGBA(this Gtk.ColorButton button, byte r, byte g, byte b, byte a)
 {
     button.Color = new Gdk.Color(r, g, b);
     button.Alpha = (ushort)(a << 8);
 }
 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);
 }
示例#16
0
 public static void FromSystemDrawingColor(this Gtk.ColorButton button, System.Drawing.Color color)
 {
     button.Color = color.ToGdk();
     button.Alpha = (ushort)(color.A << 8);
 }
示例#17
0
 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);
 }
示例#18
0
 public static void FromRGB(this Gtk.ColorButton button, byte r, byte g, byte b)
 {
     button.Color = new Gdk.Color(r, g, b);
 }
示例#19
0
		public override void Initialize ()
		{
			Widget = new Gtk.ColorButton ();
			base.Widget.Show ();
		}