Example #1
0
        public static void ReplaceChild(Gtk.Widget oldWidget, Gtk.Widget newWidget)
        {
            Gtk.Container cont = oldWidget.Parent as Gtk.Container;
            if (cont == null)
            {
                return;
            }

            if (cont is IGtkContainer)
            {
                ((IGtkContainer)cont).ReplaceChild(oldWidget, newWidget);
            }
            else if (cont is Gtk.Notebook)
            {
                Gtk.Notebook notebook         = (Gtk.Notebook)cont;
                Gtk.Notebook.NotebookChild nc = (Gtk.Notebook.NotebookChild)notebook [oldWidget];
                var detachable  = nc.Detachable;
                var pos         = nc.Position;
                var reorderable = nc.Reorderable;
                var tabExpand   = nc.TabExpand;
                var tabFill     = nc.TabFill;
                var label       = notebook.GetTabLabel(oldWidget);
                notebook.Remove(oldWidget);
                notebook.InsertPage(newWidget, label, pos);

                nc             = (Gtk.Notebook.NotebookChild)notebook [newWidget];
                nc.Detachable  = detachable;
                nc.Reorderable = reorderable;
                nc.TabExpand   = tabExpand;
                nc.TabFill     = tabFill;
            }
            else if (cont is Gtk.Paned)
            {
                var paned  = (Gtk.Paned)cont;
                var pc     = (Gtk.Paned.PanedChild)paned[oldWidget];
                var resize = pc.Resize;
                var shrink = pc.Shrink;
                var pos    = paned.Position;
                if (paned.Child1 == oldWidget)
                {
                    paned.Remove(oldWidget);
                    paned.Pack1(newWidget, resize, shrink);
                }
                else
                {
                    paned.Remove(oldWidget);
                    paned.Pack2(newWidget, resize, shrink);
                }
                paned.Position = pos;
            }
            else if (cont is Gtk.Bin)
            {
                ((Gtk.Bin)cont).Remove(oldWidget);
                ((Gtk.Bin)cont).Child = newWidget;
            }
        }
Example #2
0
        public static void ReplaceChild(Gtk.Widget oldWidget, Gtk.Widget newWidget)
        {
            Gtk.Container cont = oldWidget.Parent as Gtk.Container;
            if (cont == null)
            {
                return;
            }

            if (cont is IGtkContainer)
            {
                ((IGtkContainer)cont).ReplaceChild(oldWidget, newWidget);
            }
            else if (cont is Gtk.Notebook)
            {
                Gtk.Notebook notebook         = (Gtk.Notebook)cont;
                Gtk.Notebook.NotebookChild nc = (Gtk.Notebook.NotebookChild)notebook[oldWidget];
                var detachable  = nc.Detachable;
                var pos         = nc.Position;
                var reorderable = nc.Reorderable;
                var tabExpand   = nc.TabExpand;
                var tabFill     = nc.TabFill;
                var label       = notebook.GetTabLabel(oldWidget);
                notebook.Remove(oldWidget);
                notebook.InsertPage(newWidget, label, pos);

                nc             = (Gtk.Notebook.NotebookChild)notebook[newWidget];
                nc.Detachable  = detachable;
                nc.Reorderable = reorderable;
                nc.TabExpand   = tabExpand;
                nc.TabFill     = tabFill;
            }
            else if (cont is Gtk.Bin)
            {
                ((Gtk.Bin)cont).Remove(oldWidget);
                ((Gtk.Bin)cont).Child = newWidget;
            }
        }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget test.MainWin
     this.Name           = "test.MainWin";
     this.Title          = Mono.Unix.Catalog.GetString("MainWin");
     this.WindowPosition = ((Gtk.WindowPosition)(3));
     // Container child test.MainWin.Gtk.Container+ContainerChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     this.notebook1.Scrollable  = true;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vpaned1          = new Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 42;
     // Container child vpaned1.Gtk.Paned+PanedChild
     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;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("<b>HTreeView</b>");
     this.label2.UseMarkup = true;
     this.vbox2.Add(this.label2);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label2]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.BtnTreeViewDemo              = new Gtk.Button();
     this.BtnTreeViewDemo.CanFocus     = true;
     this.BtnTreeViewDemo.Name         = "BtnTreeViewDemo";
     this.BtnTreeViewDemo.UseUnderline = true;
     this.BtnTreeViewDemo.Label        = Mono.Unix.Catalog.GetString("Start demo");
     this.vbox2.Add(this.BtnTreeViewDemo);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.BtnTreeViewDemo]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.vbox2);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox2]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vpaned1.Add(this.vbox1);
     Gtk.Paned.PanedChild w4 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.vbox1]));
     w4.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.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.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1             = new Gtk.TextView();
     this.textview1.Buffer.Text = "using System;\nusing HollyLibrary;\nusing Gtk;\n\nnamespace test\n{\n\t\n\tpublic class TreeView : Window\n\t{\n\t\t//the tree widget\n\t\tHTreeView tree       = new HTreeView();\n\t\t//buttons\n\t\tButton BtnAddNode    = new Button(\"Add node\");\n\t\tButton BtnRemoveNode = new Button(\"Remove node\");\n\t\tButton BtnEditNode   = new Button(\"Edit node\");\n\t\t//checkboxes\n\t\tCheckButton ChkNodeIconVisible = new CheckButton(\"Node icon is visible\");\n\t\tCheckButton ChkCheckBoxTree    = new CheckButton(\"Tree is checkbox tree\");\n\t\tCheckButton ChkEditableTree    = new CheckButton(\"Tree is editable\");\n\t\t\n\t\tpublic TreeView() : base( WindowType.Toplevel )\n\t\t{\n\t\t\tthis.Title          = \"HTreeView demo\";\n\t\t\tthis.WindowPosition = Gtk.WindowPosition.CenterAlways;\n\t\t\tthis.Resize( 320, 240 );\n\t\t\t//\n\t\t\tinitGui();\n\t\t\t//button events\n\t\t\tBtnAddNode.Clicked         += OnBtnAddClicked;\n\t\t\tBtnEditNode.Clicked        += OnBtnEditClicked;\n\t\t\tBtnRemoveNode.Clicked      += OnBtnRemoveClicked;\n\t\t\t//checkbox events\n\t\t\tChkCheckBoxTree.Toggled    += OnCheckBoxChecked;\n\t\t\tChkEditableTree.Toggled    += OnEditableChecked;\n\t\t\tChkNodeIconVisible.Toggled += OnNodeIconChecked;\n\t\t\t//make the tree to show icons by default\n\t\t\tChkNodeIconVisible.Active   = true;\n\t\t\t\n\t\t}\n\t\t\n\t\tprivate void OnBtnAddClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//make a icon from a stock image\n\t\t\tGdk.Pixbuf icon = GraphUtil.pixbufFromStock(\"gtk-yes\", IconSize.Button );\n\t\t\t//create the new node\n\t\t\tHTreeNode node  = new HTreeNode( \"new node!\", icon );\n\t\t\t//check if there is a node selected\n\t\t\tHTreeNode selected_node = tree.SelectedNode;\n\t\t\t//if no node is selected, add the new node directly to the base\n\t\t\tif( selected_node == null )\n\t\t\t\ttree.Nodes.Add( node );\n\t\t\telse\n\t\t\t\tselected_node.Nodes.Add( node );\n\t\t}\n\t\t\n\t\tprivate void OnBtnEditClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//change the text/icon to the selected node\n\t\t\tHTreeNode node = tree.SelectedNode;\n\t\t\tif( node != null )\n\t\t\t{\n\t\t\t\tnode.Text = \"new and shiny modified value!\";\n\t\t\t\tnode.Icon = GraphUtil.pixbufFromStock(\"gtk-add\", IconSize.Button );\n\t\t\t}\n\t\t}\n\t\t\n\t\tprivate void OnBtnRemoveClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//remove the selected node\n\t\t\tHTreeNode node = tree.SelectedNode;\n\t\t\tif( node != null )\n\t\t\t{\n\t\t\t\tif( node.ParentNode == null )\n\t\t\t\t\ttree.Nodes.Remove( node );\n\t\t\t\telse\n\t\t\t\t\tnode.ParentNode.Nodes.Remove( node );\n\t\t\t}\n\t\t}\n\t\t\n\t\tprivate void OnCheckBoxChecked( object sender, EventArgs args )\n\t\t{\n\t\t\ttree.IsCheckBoxTree = ChkCheckBoxTree.Active;\n\t\t}\n\t\t\n\t\tprivate void OnEditableChecked( object sender, EventArgs args )\n\t\t{\n\t\t\ttree.Editable = ChkEditableTree.Active;\n\t\t}\n\t\t\n\t\tprivate void OnNodeIconChecked( object sender, EventArgs args )\n\t\t{\n\t\t\ttree.NodeIconVisible = ChkNodeIconVisible.Active;\n\t\t}\n\t\t\n\t\tprivate void initGui()\n\t\t{\n\t\t\t//create the layout\n\t\t\tVBox layout = new VBox();\n\t\t\t//add the treeview\n\t\t\tScrolledWindow swTree = new ScrolledWindow();\n\t\t\tswTree.AddWithViewport( tree );\n\t\t\tlayout.PackStart( swTree );\n\t\t\t//add the add/edit/remove buttons\n\t\t\tHBox hbox = new HBox();\n\t\t\thbox.PackStart  ( BtnAddNode    );\n\t\t\thbox.PackStart  ( BtnEditNode   );\n\t\t\thbox.PackStart  ( BtnRemoveNode );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add the checkboxes\n\t\t\thbox      = new HBox();\n\t\t\thbox.PackStart  ( ChkNodeIconVisible );\n\t\t\thbox.PackStart  ( ChkCheckBoxTree    );\n\t\t\thbox.PackStart  ( ChkEditableTree    );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add layout\n\t\t\tthis.Add( layout );\n\t\t}\n\t\t\n\t}\n}\n";
     this.textview1.CanFocus    = true;
     this.textview1.Name        = "textview1";
     this.textview1.Editable    = false;
     this.GtkScrolledWindow.Add(this.textview1);
     this.GtkAlignment3.Add(this.GtkScrolledWindow);
     this.frame1.Add(this.GtkAlignment3);
     this.GtkLabel3           = new Gtk.Label();
     this.GtkLabel3.Name      = "GtkLabel3";
     this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Code</b>");
     this.GtkLabel3.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel3;
     this.vpaned1.Add(this.frame1);
     this.notebook1.Add(this.vpaned1);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("HTreeView");
     this.notebook1.SetTabLabel(this.vpaned1, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("<b>HSimpleList</b>");
     this.label4.UseMarkup = true;
     this.vbox3.Add(this.label4);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.label4]));
     w10.Position = 0;
     w10.Expand   = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.BtnSimpleListDemo              = new Gtk.Button();
     this.BtnSimpleListDemo.CanFocus     = true;
     this.BtnSimpleListDemo.Name         = "BtnSimpleListDemo";
     this.BtnSimpleListDemo.UseUnderline = true;
     this.BtnSimpleListDemo.Label        = Mono.Unix.Catalog.GetString("Start demo");
     this.vbox3.Add(this.BtnSimpleListDemo);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox3[this.BtnSimpleListDemo]));
     w11.Position = 1;
     w11.Expand   = 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.GtkAlignment4             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textview2             = new Gtk.TextView();
     this.textview2.Buffer.Text = "using Gtk;\nusing System;\nusing System.Drawing;\nusing System.Drawing.Drawing2D;\nusing HollyLibrary;\n\nnamespace test\n{\n\t\n\tpublic class SimpleList : Window\n\t{\n\t\t//the list widget\n\t\tHSimpleList list = new HSimpleList();\n\t\t//buttons\n\t\tButton BtnAdd    = new Button(\"Add item\");\n\t\tButton BtnRemove = new Button(\"Remove item\");\n\t\tButton BtnEdit   = new Button(\"Edit item\");\n\t\tButton BtnSort   = new Button(\"Sort\");\n\t\t//checkboxes\n\t\tCheckButton ChkOwnerDrawned   = new CheckButton(\"List is ownerdrawed\");\n\t\tCheckButton ChkIsCheckBoxList = new CheckButton(\"Checkbox list\");\n\t\t\n\t\tpublic SimpleList() : base( WindowType.Toplevel )\n\t\t{\n\t\t\tthis.Title          = \"HSimpleList demo\";\n\t\t\tthis.WindowPosition = Gtk.WindowPosition.CenterAlways;\n\t\t\tthis.Resize( 320, 240 );\n\t\t\t//\n\t\t\tinitGui();\n\t\t\t//button events\n\t\t\tBtnAdd.Clicked          += OnBtnAddClicked;\n\t\t\tBtnEdit.Clicked         += OnBtnEditClicked;\n\t\t\tBtnRemove.Clicked       += OnBtnRemoveClicked;\n\t\t\tBtnSort.Clicked         += OnBtnSortClicked;\n\t\t\t//checkbox events\n\t\t\tChkOwnerDrawned.Toggled   += OnOwnerDrawnedChecked;\n\t\t\tChkIsCheckBoxList.Toggled += OnIsCheckBoxListChecked;\n\t\t\t//ownerdrawned event\n\t\t\tlist.DrawItem           += OnItemDraw;\n\t\t}\n\t\t\n\t\tprivate void OnBtnSortClicked( object sender, EventArgs args )\n\t\t{\n\t\t\tlist.Sort();\n\t\t}\n\t\t\n\t\tprivate void OnBtnAddClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//add a list item\n\t\t\tlist.Items.Add(\"new item !\");\n\t\t}\n\t\t\n\t\tprivate void OnBtnEditClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//change the current selected item's text\n\t\t\tif( list.SelectedIndex != -1 )\n\t\t\t{\n\t\t\t\tlist.Items[ list.SelectedIndex ] = \"i'm modified\";\n\t\t\t}\n\t\t}\n\t\t\n\t\tprivate void OnBtnRemoveClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//remove the selected item\n\t\t\tif( list.SelectedIndex != -1 )\n\t\t\t\tlist.Items.RemoveAt( list.SelectedIndex );\n\t\t\t\n\t\t}\n\t\t\n\t\tprivate void OnOwnerDrawnedChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tlist.OwnerDraw      = ChkOwnerDrawned.Active;\n\t\t}\n\t\t\n\t\tprivate void OnIsCheckBoxListChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tlist.IsCheckBoxList = ChkIsCheckBoxList.Active;\n\t\t}\n\t\t\n\t\tprivate void OnItemDraw( object sender, DrawItemEventArgs args )\n\t\t{\n\t\t\tString text      = list.Items[ args.ItemIndex ].ToString();\n\t\t\t//take font from style\n\t\t\tFont font        = new Font( Style.FontDesc.Family , Style.FontDesc.Size / 1000, FontStyle.Bold );\n\t\t\t\n\t\t\t// take color from style\n\t\t\tColor c          = Color.Blue;\n\t\t\tif( args.ItemIndex % 2 == 0 ) c = Color.Red;\n\t\t\t\n\t\t\tBrush b          = new SolidBrush( c );\n\t\t\t//set quality to HighSpeed\n\t\t\targs.Graphics.CompositingQuality = CompositingQuality.HighSpeed;\n\t\t\targs.Graphics.DrawString( text, font, b, args.CellArea.X, args.CellArea.Y );\n\t\t\targs.Graphics.Dispose();\n\t\t}\n\t\t\n\t\tprivate void initGui()\n\t\t{\n\t\t\t//create the layout\n\t\t\tVBox layout       = new VBox();\n\t\t\t//add the list\n\t\t\tScrolledWindow sw = new ScrolledWindow();\n\t\t\tsw.AddWithViewport( list );\n\t\t\tlayout.PackStart  ( sw   );\n\t\t\t//add the add/edit/remove buttons\n\t\t\tHBox hbox = new HBox();\n\t\t\thbox.PackStart  ( BtnAdd    );\n\t\t\thbox.PackStart  ( BtnEdit   );\n\t\t\thbox.PackStart  ( BtnRemove );\n\t\t\thbox.PackStart  ( BtnSort   );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add the checkboxes\n\t\t\thbox = new HBox();\n\t\t\thbox.PackStart( ChkOwnerDrawned  , true, true, 0 );\n\t\t\thbox.PackStart( ChkIsCheckBoxList, true, true, 0 );\n\t\t\t//\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add layout\n\t\t\tthis.Add( layout );\n\t\t}\n\t\t\n\t}\n}\n";
     this.textview2.CanFocus    = true;
     this.textview2.Name        = "textview2";
     this.textview2.Editable    = false;
     this.GtkScrolledWindow1.Add(this.textview2);
     this.GtkAlignment4.Add(this.GtkScrolledWindow1);
     this.frame2.Add(this.GtkAlignment4);
     this.GtkLabel4           = new Gtk.Label();
     this.GtkLabel4.Name      = "GtkLabel4";
     this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Code</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel4;
     this.vbox3.Add(this.frame2);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox3[this.frame2]));
     w15.Position = 2;
     this.notebook1.Add(this.vbox3);
     Gtk.Notebook.NotebookChild w16 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox3]));
     w16.Position = 1;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("HSimpleList");
     this.notebook1.SetTabLabel(this.vbox3, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("<b>HSimpleComboBox</b>");
     this.label6.UseMarkup = true;
     this.vbox4.Add(this.label6);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox4[this.label6]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.BtnStartComboDemo              = new Gtk.Button();
     this.BtnStartComboDemo.CanFocus     = true;
     this.BtnStartComboDemo.Name         = "BtnStartComboDemo";
     this.BtnStartComboDemo.UseUnderline = true;
     this.BtnStartComboDemo.Label        = Mono.Unix.Catalog.GetString("Start demo");
     this.vbox4.Add(this.BtnStartComboDemo);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox4[this.BtnStartComboDemo]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.textview3             = new Gtk.TextView();
     this.textview3.Buffer.Text = "using Gtk;\nusing System;\nusing System.Drawing;\nusing System.Drawing.Drawing2D;\nusing HollyLibrary;\n\nnamespace test\n{\n\t\n\tpublic class SimpleComboBox : Window\n\t{\n\t\t//the list widget\n\t\tHSimpleComboBox cmb = new HSimpleComboBox();\n\t\t//buttons\n\t\tButton BtnAdd    = new Button(\"Add item\");\n\t\tButton BtnRemove = new Button(\"Remove last item\");\n\t\tButton BtnEdit   = new Button(\"Edit last item\");\n\t\t//checkboxes\n\t\tCheckButton ChkOwnerDrawned = new CheckButton(\"Popup list is ownerdrawed\");\n\t\tCheckButton ChkEditable     = new CheckButton(\"Editable combo\");\n\t\t\n\t\tpublic SimpleComboBox() : base( WindowType.Toplevel )\n\t\t{\n\t\t\tthis.Title          = \"SimpleComboBox demo\";\n\t\t\tthis.WindowPosition = Gtk.WindowPosition.CenterAlways;\n\t\t\tthis.Resize( 320, 240 );\n\t\t\t//\n\t\t\tinitGui();\n\t\t\t//button events\n\t\t\tBtnAdd.Clicked          += OnBtnAddClicked;\n\t\t\tBtnEdit.Clicked         += OnBtnEditClicked;\n\t\t\tBtnRemove.Clicked       += OnBtnRemoveClicked;\n\t\t\t//checkbox events\n\t\t\tChkOwnerDrawned.Toggled += OnOwnerDrawnedChecked;\n\t\t\tChkEditable.Toggled     += OnEditableChecked;\n\t\t\t//ownerdrawned event\n\t\t\tcmb.List.DrawItem       += OnItemDraw;\n\t\t}\n\t\t\n\t\tprivate void OnBtnAddClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//add a list item\n\t\t\tcmb.List.Items.Add(\"new item !\");\n\t\t}\n\t\t\n\t\tprivate void OnBtnEditClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//change the last item's text\n\t\t\tif( cmb.List.Items.Count > 0 )\n\t\t\t{\n\t\t\t\tcmb.List.Items[ cmb.List.Items.Count - 1 ] = \"i'm modified\";\n\t\t\t}\n\t\t}\n\t\t\n\t\tprivate void OnBtnRemoveClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//remove the selected item\n\t\t\tif( cmb.List.Items.Count > 0 )\n\t\t\t\tcmb.List.Items.RemoveAt( cmb.List.Items.Count - 1 );\n\t\t\t\n\t\t}\n\t\t\n\t\tprivate void OnEditableChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tcmb.IsEditable = ChkEditable.Active;\n\t\t}\n\t\t\n\t\tprivate void OnOwnerDrawnedChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tcmb.List.OwnerDraw      = ChkOwnerDrawned.Active;\n\t\t}\n\t\t\n\t\tprivate void OnItemDraw( object sender, DrawItemEventArgs args )\n\t\t{\n\t\t\tString text      = cmb.List.Items[ args.ItemIndex ].ToString();\n\t\t\t//take font from style\n\t\t\tFont font        = new Font( Style.FontDesc.Family , Style.FontDesc.Size / 1000, FontStyle.Bold );\n\t\t\t\n\t\t\t// take color from style\n\t\t\tColor c          = Color.Blue;\n\t\t\tif( args.ItemIndex % 2 == 0 ) c = Color.Red;\n\t\t\t\n\t\t\tBrush b          = new SolidBrush( c );\n\t\t\t//set quality to HighSpeed\n\t\t\targs.Graphics.CompositingQuality = CompositingQuality.HighSpeed;\n\t\t\targs.Graphics.DrawString( text, font, b, args.CellArea.X, args.CellArea.Y );\n\t\t\targs.Graphics.Dispose();\n\t\t}\n\t\t\n\t\tprivate void initGui()\n\t\t{\n\t\t\t//create the layout\n\t\t\tVBox layout       = new VBox();\n\t\t\t//add the combo\n\t\t\tlayout.PackStart( cmb, false, false, 2);\n\t\t\t//add the add/edit/remove buttons\n\t\t\tHBox hbox = new HBox();\n\t\t\thbox.PackStart  ( BtnAdd    );\n\t\t\thbox.PackStart  ( BtnEdit   );\n\t\t\thbox.PackStart  ( BtnRemove );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add the checkbox\n\t\t\thbox      = new HBox();\n\t\t\thbox.PackStart( ChkOwnerDrawned );\n\t\t\thbox.PackStart( ChkEditable     );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add layout\n\t\t\tthis.Add( layout );\n\t\t}\n\t\t\n\t}\n}\n";
     this.textview3.CanFocus    = true;
     this.textview3.Name        = "textview3";
     this.GtkScrolledWindow2.Add(this.textview3);
     this.vbox4.Add(this.GtkScrolledWindow2);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2]));
     w20.Position = 2;
     this.notebook1.Add(this.vbox4);
     Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4]));
     w21.Position = 2;
     // Notebook tab
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("HSimpleComboBox");
     this.notebook1.SetTabLabel(this.vbox4, this.label5);
     this.label5.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("<b>HComboTree</b>");
     this.label14.UseMarkup = true;
     this.vbox5.Add(this.label14);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox5[this.label14]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.ComboTreeDemo              = new Gtk.Button();
     this.ComboTreeDemo.CanFocus     = true;
     this.ComboTreeDemo.Name         = "ComboTreeDemo";
     this.ComboTreeDemo.UseUnderline = true;
     this.ComboTreeDemo.Label        = Mono.Unix.Catalog.GetString("Start demo");
     this.vbox5.Add(this.ComboTreeDemo);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox5[this.ComboTreeDemo]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.GtkScrolledWindow3            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.TxtComboTree             = new Gtk.TextView();
     this.TxtComboTree.Buffer.Text = "using Gtk;\nusing System;\nusing System.Drawing;\nusing System.Drawing.Drawing2D;\nusing HollyLibrary;\n\nnamespace test\n{\n\t\n\tpublic class ComboTree : Window\n\t{\n\t\t//the combotree widget\n\t\tHComboTree cmb     = new HComboTree();\n\t\t//buttons\n\t\tButton BtnAdd      = new Button( \"Add node\"       );\n\t\tButton BtnAddChild = new Button( \"Add child node\" );\n\t\tButton BtnRemove   = new Button( \"Remove node\"    );\n\t\t//checkboxes\n\t\tCheckButton ChkShowIcon = new CheckButton(\"Show tree icons\");\n\t\tCheckButton ChkEditable = new CheckButton(\"Editable tree items\");\n\t\t\n\t\tpublic ComboTree() : base( WindowType.Toplevel )\n\t\t{\n\t\t\tthis.Title          = \"SimpleComboBox demo\";\n\t\t\tthis.WindowPosition = Gtk.WindowPosition.CenterAlways;\n\t\t\tthis.Resize( 320, 240 );\n\t\t\t//\n\t\t\tinitGui();\n\t\t\t//button events\n\t\t\tBtnAdd.Clicked          += OnBtnAddClicked;\n\t\t\tBtnAddChild.Clicked     += OnBtnAddChildClicked;\n\t\t\tBtnRemove.Clicked       += OnBtnRemoveClicked;\n\t\t\t//checkbox events\n\t\t\tChkShowIcon.Toggled     += OnShowIconChecked;\n\t\t\tChkEditable.Toggled     += OnEditableChecked;\n\t\t}\n\t\t\n\t\tprivate void OnBtnAddClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//add a list item\n\t\t\tGdk.Pixbuf icon = GraphUtil.pixbufFromStock(\"gtk-add\", IconSize.Button );\n\t\t\tint node_nr     = cmb.Tree.Nodes.Count;\n\t\t\tcmb.Tree.Nodes.Add( new HTreeNode( \"node \" + node_nr , icon ) );\n\t\t}\n\t\t\n\t\tprivate void OnBtnAddChildClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//add a new child node\n\t\t\tif( cmb.Tree.SelectedNode != null )\n\t\t\t{\n\t\t\t\tHTreeNode father_node = cmb.Tree.SelectedNode;\n\t\t\t\tGdk.Pixbuf icon       = GraphUtil.pixbufFromStock(\"gtk-remove\", IconSize.Button );\n\t\t\t\tHTreeNode new_node    = new HTreeNode(\"gigi kent\", icon );\n\t\t\t\tfather_node.Nodes.Add( new_node );\n\t\t\t}\n\t\t}\n\t\t\n\t\tprivate void OnBtnRemoveClicked( object sender, EventArgs args )\n\t\t{\n\t\t\t//remove the selected node\n\t\t\tHTreeNode node = cmb.Tree.SelectedNode;\n\t\t\tif( node != null )\n\t\t\t{\n\t\t\t\tHTreeNode parent_node = node.ParentNode;\n\t\t\t\tif( parent_node == null )\n\t\t\t\t\tcmb.Tree.Nodes.Remove( node );\n\t\t\t\telse\n\t\t\t\t\tparent_node.Nodes.Remove( node );\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\tprivate void OnEditableChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tcmb.Tree.Editable        = ChkEditable.Active;\n\t\t}\n\t\t\n\t\tprivate void OnShowIconChecked( object sender, EventArgs args )\n\t\t{\n\t\t\tcmb.Tree.NodeIconVisible = ChkShowIcon.Active;\n\t\t}\n\t\t\n\t\tprivate void initGui()\n\t\t{\n\t\t\t//create the layout\n\t\t\tVBox layout       = new VBox();\n\t\t\t//add the combo\n\t\t\tlayout.PackStart( cmb, false, false, 2);\n\t\t\t//add the add/edit/remove buttons\n\t\t\tHBox hbox = new HBox();\n\t\t\thbox.PackStart  ( BtnAdd    );\n\t\t\thbox.PackStart  ( BtnAddChild   );\n\t\t\thbox.PackStart  ( BtnRemove );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add the checkbox\n\t\t\thbox      = new HBox();\n\t\t\thbox.PackStart( ChkShowIcon );\n\t\t\thbox.PackStart( ChkEditable );\n\t\t\tlayout.PackStart( hbox, false, true, 0 );\n\t\t\t//add layout\n\t\t\tthis.Add( layout );\n\t\t}\n\t\t\n\t}\n}\n";
     this.TxtComboTree.CanFocus    = true;
     this.TxtComboTree.Name        = "TxtComboTree";
     this.GtkScrolledWindow3.Add(this.TxtComboTree);
     this.vbox5.Add(this.GtkScrolledWindow3);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox5[this.GtkScrolledWindow3]));
     w25.Position = 2;
     this.notebook1.Add(this.vbox5);
     Gtk.Notebook.NotebookChild w26 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5]));
     w26.Position = 3;
     // Notebook tab
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("HComboTree");
     this.notebook1.SetTabLabel(this.vbox5, this.label9);
     this.label9.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame3            = new Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame3.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.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.ColorPicker = new HollyLibrary.HColorPicker();
     this.ColorPicker.WidthRequest = 108;
     this.ColorPicker.Events       = ((Gdk.EventMask)(256));
     this.ColorPicker.Name         = "ColorPicker";
     this.hbox2.Add(this.ColorPicker);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.ColorPicker]));
     w27.Position = 0;
     w27.Expand   = false;
     this.GtkAlignment8.Add(this.hbox2);
     this.frame3.Add(this.GtkAlignment8);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>HColorPicker</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame3.LabelWidget  = this.GtkLabel6;
     this.vbox6.Add(this.frame3);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame3]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame4            = new Gtk.Frame();
     this.frame4.Name       = "frame4";
     this.frame4.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame4.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.hcombofolder1                = new HollyLibrary.HComboFolder();
     this.hcombofolder1.Events         = ((Gdk.EventMask)(256));
     this.hcombofolder1.Name           = "hcombofolder1";
     this.hcombofolder1.DropDownHeight = 0;
     this.GtkAlignment1.Add(this.hcombofolder1);
     this.frame4.Add(this.GtkAlignment1);
     this.GtkLabel7           = new Gtk.Label();
     this.GtkLabel7.Name      = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>HComboFolder</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame4.LabelWidget  = this.GtkLabel7;
     this.vbox6.Add(this.frame4);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame4]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame5            = new Gtk.Frame();
     this.frame5.Name       = "frame5";
     this.frame5.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame5.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.hdateedit2             = new HollyLibrary.HDateEdit();
     this.hdateedit2.Events      = ((Gdk.EventMask)(256));
     this.hdateedit2.Name        = "hdateedit2";
     this.hdateedit2.CurrentDate = new System.DateTime(0);
     this.GtkAlignment2.Add(this.hdateedit2);
     this.frame5.Add(this.GtkAlignment2);
     this.GtkLabel8           = new Gtk.Label();
     this.GtkLabel8.Name      = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>HDateEdit</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame5.LabelWidget  = this.GtkLabel8;
     this.vbox6.Add(this.frame5);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame5]));
     w36.Position = 2;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame6            = new Gtk.Frame();
     this.frame6.Name       = "frame6";
     this.frame6.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame6.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.hfontpicker1        = new HollyLibrary.HFontPicker();
     this.hfontpicker1.Events = ((Gdk.EventMask)(256));
     this.hfontpicker1.Name   = "hfontpicker1";
     this.GtkAlignment5.Add(this.hfontpicker1);
     this.frame6.Add(this.GtkAlignment5);
     this.GtkLabel9           = new Gtk.Label();
     this.GtkLabel9.Name      = "GtkLabel9";
     this.GtkLabel9.LabelProp = Mono.Unix.Catalog.GetString("<b>HFontPicker</b>");
     this.GtkLabel9.UseMarkup = true;
     this.frame6.LabelWidget  = this.GtkLabel9;
     this.vbox6.Add(this.frame6);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame6]));
     w39.Position = 3;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame7            = new Gtk.Frame();
     this.frame7.Name       = "frame7";
     this.frame7.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame7.Gtk.Container+ContainerChild
     this.GtkAlignment6             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name        = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.hipentry1              = new HollyLibrary.HIpEntry();
     this.hipentry1.Events       = ((Gdk.EventMask)(256));
     this.hipentry1.Name         = "hipentry1";
     this.hipentry1.ErrorMessage = "My customised error message";
     this.GtkAlignment6.Add(this.hipentry1);
     this.frame7.Add(this.GtkAlignment6);
     this.GtkLabel10           = new Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>HIpEntry</b>");
     this.GtkLabel10.UseMarkup = true;
     this.frame7.LabelWidget   = this.GtkLabel10;
     this.vbox6.Add(this.frame7);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame7]));
     w42.Position = 4;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame8            = new Gtk.Frame();
     this.frame8.Name       = "frame8";
     this.frame8.ShadowType = ((Gtk.ShadowType)(1));
     // Container child frame8.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.vbox7         = new Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.RegExEntry              = new HollyLibrary.HRegExEntry();
     this.RegExEntry.Events       = ((Gdk.EventMask)(256));
     this.RegExEntry.Name         = "RegExEntry";
     this.RegExEntry.OkMessage    = "My customised ok message";
     this.RegExEntry.ErrorMessage = "A custom error message";
     this.vbox7.Add(this.RegExEntry);
     Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.vbox7[this.RegExEntry]));
     w43.Position = 0;
     w43.Expand   = false;
     w43.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox13         = new Gtk.HBox();
     this.hbox13.Name    = "hbox13";
     this.hbox13.Spacing = 6;
     // Container child hbox13.Gtk.Box+BoxChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Regular expression used:");
     this.hbox13.Add(this.label12);
     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.hbox13[this.label12]));
     w44.Position = 0;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.TxtRegularExpresion               = new Gtk.Entry();
     this.TxtRegularExpresion.CanFocus      = true;
     this.TxtRegularExpresion.Name          = "TxtRegularExpresion";
     this.TxtRegularExpresion.Text          = Mono.Unix.Catalog.GetString("\\d{3}-\\d{2}-\\d{4}");
     this.TxtRegularExpresion.IsEditable    = true;
     this.TxtRegularExpresion.InvisibleChar = '●';
     this.hbox13.Add(this.TxtRegularExpresion);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox13[this.TxtRegularExpresion]));
     w45.Position = 1;
     // Container child hbox13.Gtk.Box+BoxChild
     this.BtnApplyRegex              = new Gtk.Button();
     this.BtnApplyRegex.CanFocus     = true;
     this.BtnApplyRegex.Name         = "BtnApplyRegex";
     this.BtnApplyRegex.UseStock     = true;
     this.BtnApplyRegex.UseUnderline = true;
     this.BtnApplyRegex.Label        = "gtk-apply";
     this.hbox13.Add(this.BtnApplyRegex);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox13[this.BtnApplyRegex]));
     w46.Position = 2;
     w46.Expand   = false;
     w46.Fill     = false;
     this.vbox7.Add(this.hbox13);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox13]));
     w47.Position = 1;
     w47.Expand   = false;
     w47.Fill     = false;
     this.GtkAlignment7.Add(this.vbox7);
     this.frame8.Add(this.GtkAlignment7);
     this.GtkLabel12           = new Gtk.Label();
     this.GtkLabel12.Name      = "GtkLabel12";
     this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>HRegExEntry</b>");
     this.GtkLabel12.UseMarkup = true;
     this.frame8.LabelWidget   = this.GtkLabel12;
     this.vbox6.Add(this.frame8);
     Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame8]));
     w50.Position = 5;
     w50.Expand   = false;
     w50.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.BtnToolTip              = new Gtk.Button();
     this.BtnToolTip.CanFocus     = true;
     this.BtnToolTip.Name         = "BtnToolTip";
     this.BtnToolTip.UseUnderline = true;
     // Container child BtnToolTip.Gtk.Container+ContainerChild
     Gtk.Alignment w51 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w52 = new Gtk.HBox();
     w52.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w53 = new Gtk.Image();
     w53.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-about", Gtk.IconSize.Menu, 16);
     w52.Add(w53);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w55 = new Gtk.Label();
     w55.LabelProp    = Mono.Unix.Catalog.GetString("Look ! I have a baloon tooltip over me!");
     w55.UseUnderline = true;
     w52.Add(w55);
     w51.Add(w52);
     this.BtnToolTip.Add(w51);
     this.vbox6.Add(this.BtnToolTip);
     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.vbox6[this.BtnToolTip]));
     w59.Position = 6;
     w59.Expand   = false;
     w59.Fill     = false;
     this.notebook1.Add(this.vbox6);
     Gtk.Notebook.NotebookChild w60 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6]));
     w60.Position = 4;
     // Notebook tab
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Other widgets");
     this.notebook1.SetTabLabel(this.vbox6, this.label11);
     this.label11.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox14         = new Gtk.HBox();
     this.hbox14.Name    = "hbox14";
     this.hbox14.Spacing = 6;
     // Container child hbox14.Gtk.Box+BoxChild
     this.vbox8         = new Gtk.VBox();
     this.vbox8.Name    = "vbox8";
     this.vbox8.Spacing = 6;
     // Container child vbox8.Gtk.Box+BoxChild
     this.hcolorpickerwidget1        = new HollyLibrary.HColorPickerWidget();
     this.hcolorpickerwidget1.Events = ((Gdk.EventMask)(256));
     this.hcolorpickerwidget1.Name   = "hcolorpickerwidget1";
     this.vbox8.Add(this.hcolorpickerwidget1);
     Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.vbox8[this.hcolorpickerwidget1]));
     w61.Position = 0;
     this.hbox14.Add(this.vbox8);
     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.hbox14[this.vbox8]));
     w62.Position = 0;
     this.notebook1.Add(this.hbox14);
     Gtk.Notebook.NotebookChild w63 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.hbox14]));
     w63.Position = 5;
     this.Add(this.notebook1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 623;
     this.DefaultHeight = 523;
     this.Show();
     this.DeleteEvent               += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.BtnTreeViewDemo.Clicked   += new System.EventHandler(this.OnBtnTreeViewDemoClicked);
     this.BtnSimpleListDemo.Clicked += new System.EventHandler(this.OnBtnSimpleListDemoClicked);
     this.BtnStartComboDemo.Clicked += new System.EventHandler(this.OnBtnStartComboDemoClicked);
     this.ComboTreeDemo.Clicked     += new System.EventHandler(this.OnComboTreeDemoClicked);
     this.BtnApplyRegex.Clicked     += new System.EventHandler(this.OnBtnApplyRegexClicked);
 }
Example #4
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.FilterDialog
     this.Name            = "ocmgtk.FilterDialog";
     this.Title           = Mono.Unix.Catalog.GetString("Advanced Filters...");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.FilterDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     this.notebook1.TabPos      = ((Gtk.PositionType)(0));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.difficultyPage        = new ocmgtk.OCMQueryPage1();
     this.difficultyPage.Events = ((Gdk.EventMask)(256));
     this.difficultyPage.Name   = "difficultyPage";
     this.notebook1.Add(this.difficultyPage);
     // Notebook tab
     this.diffLabel           = new Gtk.Label();
     this.diffLabel.Name      = "diffLabel";
     this.diffLabel.LabelProp = Mono.Unix.Catalog.GetString("Difficulty/Terrain/Type");
     this.notebook1.SetTabLabel(this.difficultyPage, this.diffLabel);
     this.diffLabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.contPage          = new ocmgtk.OCMQueryPage2();
     this.contPage.Events   = ((Gdk.EventMask)(256));
     this.contPage.Name     = "contPage";
     this.contPage.hasDNF   = false;
     this.contPage.hasNoDNF = false;
     this.contPage.hasFTF   = false;
     this.contPage.hasNoFTF = false;
     this.notebook1.Add(this.contPage);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.contPage]));
     w3.Position = 1;
     // Notebook tab
     this.contLabel           = new Gtk.Label();
     this.contLabel.Name      = "contLabel";
     this.contLabel.LabelProp = Mono.Unix.Catalog.GetString("Container/Description/Status");
     this.notebook1.SetTabLabel(this.contPage, this.contLabel);
     this.contLabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.placementPage             = new ocmgtk.OCMQueryPage3();
     this.placementPage.Events      = ((Gdk.EventMask)(256));
     this.placementPage.Name        = "placementPage";
     this.placementPage.PlaceBefore = new System.DateTime(0);
     this.placementPage.PlaceAfter  = new System.DateTime(0);
     this.placementPage.Distance    = 0;
     this.placementPage.DistLat     = 0;
     this.placementPage.DistLon     = 0;
     this.notebook1.Add(this.placementPage);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.placementPage]));
     w4.Position = 2;
     // Notebook tab
     this.dateLabel           = new Gtk.Label();
     this.dateLabel.Name      = "dateLabel";
     this.dateLabel.LabelProp = Mono.Unix.Catalog.GetString("Placement/Location");
     this.notebook1.SetTabLabel(this.placementPage, this.dateLabel);
     this.dateLabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.childrenPage                            = new ocmgtk.OCMQueryPage4();
     this.childrenPage.Events                     = ((Gdk.EventMask)(256));
     this.childrenPage.Name                       = "childrenPage";
     this.childrenPage.HasNotes                   = false;
     this.childrenPage.HasCorrectedCoords         = false;
     this.childrenPage.DoesNotHaveCorrectedCoords = false;
     this.notebook1.Add(this.childrenPage);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.childrenPage]));
     w5.Position = 3;
     // Notebook tab
     this.labelChildren           = new Gtk.Label();
     this.labelChildren.Name      = "labelChildren";
     this.labelChildren.LabelProp = Mono.Unix.Catalog.GetString("Notes/User Data/Waypoints/Corrected");
     this.notebook1.SetTabLabel(this.childrenPage, this.labelChildren);
     this.labelChildren.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.attributePage        = new ocmgtk.OCMQueryPage5();
     this.attributePage.Events = ((Gdk.EventMask)(256));
     this.attributePage.Name   = "attributePage";
     this.notebook1.Add(this.attributePage);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.attributePage]));
     w6.Position = 4;
     // Notebook tab
     this.attrPageLabel           = new Gtk.Label();
     this.attrPageLabel.Name      = "attrPageLabel";
     this.attrPageLabel.LabelProp = Mono.Unix.Catalog.GetString("Attributes");
     this.notebook1.SetTabLabel(this.attributePage, this.attrPageLabel);
     this.attrPageLabel.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.updatedPage                   = new ocmgtk.OCMQueryPage6();
     this.updatedPage.Events            = ((Gdk.EventMask)(256));
     this.updatedPage.Name              = "updatedPage";
     this.updatedPage.FoundOn           = new System.DateTime(0);
     this.updatedPage.FoundBefore       = new System.DateTime(0);
     this.updatedPage.FoundAfter        = new System.DateTime(0);
     this.updatedPage.FoundAnyoneBefore = new System.DateTime(0);
     this.updatedPage.FoundAnyoneAfter  = new System.DateTime(0);
     this.updatedPage.InfoAfter         = new System.DateTime(0);
     this.updatedPage.InfoBefore        = new System.DateTime(0);
     this.updatedPage.InfoWithin        = 0;
     this.updatedPage.InfoNotWithin     = 0;
     this.notebook1.Add(this.updatedPage);
     Gtk.Notebook.NotebookChild w7 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.updatedPage]));
     w7.Position = 5;
     // Notebook tab
     this.updateLabel           = new Gtk.Label();
     this.updateLabel.Name      = "updateLabel";
     this.updateLabel.LabelProp = Mono.Unix.Catalog.GetString("Updated/Found");
     this.notebook1.SetTabLabel(this.updatedPage, this.updateLabel);
     this.updateLabel.ShowAll();
     w1.Add(this.notebook1);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.notebook1]));
     w8.Position = 0;
     // Internal child ocmgtk.FilterDialog.ActionArea
     Gtk.HButtonBox w9 = this.ActionArea;
     w9.Name        = "dialog1_ActionArea";
     w9.Spacing     = 10;
     w9.BorderWidth = ((uint)(5));
     w9.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 w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonCancel]));
     w10.Expand = false;
     w10.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 w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w9[this.buttonOk]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth        = 1058;
     this.DefaultHeight       = 619;
     this.buttonOk.HasDefault = true;
     this.Show();
     this.DeleteEvent          += new Gtk.DeleteEventHandler(this.OnDeleteClick);
     this.buttonCancel.Clicked += new System.EventHandler(this.OnCancel);
     this.buttonOk.Clicked     += new System.EventHandler(this.OnOKClicked);
 }
Example #5
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.ExportGPXDialog
     this.WidthRequest    = 750;
     this.HeightRequest   = 500;
     this.Name            = "ocmgtk.ExportGPXDialog";
     this.Title           = Mono.Unix.Catalog.GetString("Export GPX...");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.ExportGPXDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     this.notebook1.TabPos      = ((Gtk.PositionType)(0));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.alignment1             = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name        = "alignment1";
     this.alignment1.BorderWidth = ((uint)(6));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.fileChooser      = new Gtk.FileChooserWidget(((Gtk.FileChooserAction)(1)));
     this.fileChooser.Name = "fileChooser";
     this.fileChooser.DoOverwriteConfirmation = true;
     this.alignment1.Add(this.fileChooser);
     this.notebook1.Add(this.alignment1);
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("File");
     this.notebook1.SetTabLabel(this.alignment1, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame4             = new Gtk.Frame();
     this.frame4.Name        = "frame4";
     this.frame4.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame4.BorderWidth = ((uint)(6));
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment15             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment15.Name        = "GtkAlignment15";
     this.GtkAlignment15.LeftPadding = ((uint)(12));
     // Container child GtkAlignment15.Gtk.Container+ContainerChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.limitCheck               = new Gtk.CheckButton();
     this.limitCheck.CanFocus      = true;
     this.limitCheck.Name          = "limitCheck";
     this.limitCheck.Label         = Mono.Unix.Catalog.GetString("Limit Number of Geocaches");
     this.limitCheck.DrawIndicator = true;
     this.limitCheck.UseUnderline  = true;
     this.hbox1.Add(this.limitCheck);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitCheck]));
     w4.Position = 0;
     w4.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.limitEntry               = new Gtk.Entry();
     this.limitEntry.CanFocus      = true;
     this.limitEntry.Name          = "limitEntry";
     this.limitEntry.Text          = "1000";
     this.limitEntry.IsEditable    = true;
     this.limitEntry.InvisibleChar = '•';
     this.hbox1.Add(this.limitEntry);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.limitEntry]));
     w5.Position = 1;
     this.vbox5.Add(this.hbox1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.includeChildrenCheck               = new Gtk.CheckButton();
     this.includeChildrenCheck.CanFocus      = true;
     this.includeChildrenCheck.Name          = "includeChildrenCheck";
     this.includeChildrenCheck.Label         = Mono.Unix.Catalog.GetString("Include Child Waypoints");
     this.includeChildrenCheck.Active        = true;
     this.includeChildrenCheck.DrawIndicator = true;
     this.includeChildrenCheck.UseUnderline  = true;
     this.vbox5.Add(this.includeChildrenCheck);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox5[this.includeChildrenCheck]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.exportPaperlessDetails               = new Gtk.CheckButton();
     this.exportPaperlessDetails.CanFocus      = true;
     this.exportPaperlessDetails.Name          = "exportPaperlessDetails";
     this.exportPaperlessDetails.Label         = Mono.Unix.Catalog.GetString("Export Paperless Caching Details");
     this.exportPaperlessDetails.Active        = true;
     this.exportPaperlessDetails.DrawIndicator = true;
     this.exportPaperlessDetails.UseUnderline  = true;
     this.vbox5.Add(this.exportPaperlessDetails);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox5[this.exportPaperlessDetails]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.checkbutton1               = new Gtk.CheckButton();
     this.checkbutton1.Sensitive     = false;
     this.checkbutton1.CanFocus      = true;
     this.checkbutton1.Name          = "checkbutton1";
     this.checkbutton1.Label         = Mono.Unix.Catalog.GetString("Export Extra Fields in GPX");
     this.checkbutton1.DrawIndicator = true;
     this.checkbutton1.UseUnderline  = true;
     this.vbox5.Add(this.checkbutton1);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox5[this.checkbutton1]));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.customSymbolsCheck               = new Gtk.CheckButton();
     this.customSymbolsCheck.CanFocus      = true;
     this.customSymbolsCheck.Name          = "customSymbolsCheck";
     this.customSymbolsCheck.Label         = Mono.Unix.Catalog.GetString("Use Custom Waypoint Symbols");
     this.customSymbolsCheck.DrawIndicator = true;
     this.customSymbolsCheck.UseUnderline  = true;
     this.vbox5.Add(this.customSymbolsCheck);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox5[this.customSymbolsCheck]));
     w10.Position = 4;
     w10.Expand   = false;
     w10.Fill     = false;
     this.GtkAlignment15.Add(this.vbox5);
     this.frame4.Add(this.GtkAlignment15);
     this.GtkLabel25           = new Gtk.Label();
     this.GtkLabel25.Name      = "GtkLabel25";
     this.GtkLabel25.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>");
     this.GtkLabel25.UseMarkup = true;
     this.frame4.LabelWidget   = this.GtkLabel25;
     this.vbox4.Add(this.frame4);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame4]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.paperlessFrame            = new Gtk.Frame();
     this.paperlessFrame.Name       = "paperlessFrame";
     this.paperlessFrame.ShadowType = ((Gtk.ShadowType)(0));
     // Container child paperlessFrame.Gtk.Container+ContainerChild
     this.GtkAlignment12             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment12.Name        = "GtkAlignment12";
     this.GtkAlignment12.LeftPadding = ((uint)(12));
     // Container child GtkAlignment12.Gtk.Container+ContainerChild
     this.table5               = new Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table5.Name          = "table5";
     this.table5.RowSpacing    = ((uint)(6));
     this.table5.ColumnSpacing = ((uint)(6));
     this.table5.BorderWidth   = ((uint)(6));
     // Container child table5.Gtk.Table+TableChild
     this.attrCheck               = new Gtk.CheckButton();
     this.attrCheck.CanFocus      = true;
     this.attrCheck.Name          = "attrCheck";
     this.attrCheck.Label         = Mono.Unix.Catalog.GetString("Include Attributes in Description");
     this.attrCheck.DrawIndicator = true;
     this.attrCheck.UseUnderline  = true;
     this.table5.Add(this.attrCheck);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table5[this.attrCheck]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.RightAttach  = ((uint)(2));
     w14.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.logLimitCheck               = new Gtk.CheckButton();
     this.logLimitCheck.CanFocus      = true;
     this.logLimitCheck.Name          = "logLimitCheck";
     this.logLimitCheck.Label         = Mono.Unix.Catalog.GetString("Limit Number of Logs");
     this.logLimitCheck.DrawIndicator = true;
     this.logLimitCheck.UseUnderline  = true;
     this.table5.Add(this.logLimitCheck);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.logLimitCheck]));
     w15.XOptions = ((Gtk.AttachOptions)(4));
     w15.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.logLimitEntry               = new Gtk.Entry();
     this.logLimitEntry.Sensitive     = false;
     this.logLimitEntry.CanFocus      = true;
     this.logLimitEntry.Name          = "logLimitEntry";
     this.logLimitEntry.Text          = Mono.Unix.Catalog.GetString("5");
     this.logLimitEntry.IsEditable    = true;
     this.logLimitEntry.InvisibleChar = '•';
     this.table5.Add(this.logLimitEntry);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.logLimitEntry]));
     w16.LeftAttach  = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions    = ((Gtk.AttachOptions)(4));
     w16.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.usePlainTextCheck               = new Gtk.CheckButton();
     this.usePlainTextCheck.CanFocus      = true;
     this.usePlainTextCheck.Name          = "usePlainTextCheck";
     this.usePlainTextCheck.Label         = Mono.Unix.Catalog.GetString("Convert HTML to Plain Text");
     this.usePlainTextCheck.DrawIndicator = true;
     this.usePlainTextCheck.UseUnderline  = true;
     this.table5.Add(this.usePlainTextCheck);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table5[this.usePlainTextCheck]));
     w17.TopAttach    = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((Gtk.AttachOptions)(4));
     w17.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment12.Add(this.table5);
     this.paperlessFrame.Add(this.GtkAlignment12);
     this.GtkLabel20                 = new Gtk.Label();
     this.GtkLabel20.Name            = "GtkLabel20";
     this.GtkLabel20.LabelProp       = Mono.Unix.Catalog.GetString("<b>Paperless Options</b>");
     this.GtkLabel20.UseMarkup       = true;
     this.paperlessFrame.LabelWidget = this.GtkLabel20;
     this.vbox4.Add(this.paperlessFrame);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox4[this.paperlessFrame]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.waypointFrame            = new Gtk.Frame();
     this.waypointFrame.Name       = "waypointFrame";
     this.waypointFrame.ShadowType = ((Gtk.ShadowType)(0));
     // Container child waypointFrame.Gtk.Container+ContainerChild
     this.GtkAlignment11             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment11.Name        = "GtkAlignment11";
     this.GtkAlignment11.LeftPadding = ((uint)(12));
     // Container child GtkAlignment11.Gtk.Container+ContainerChild
     this.table3               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.BorderWidth   = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.descMode = Gtk.ComboBox.NewText();
     this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name"));
     this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Hint"));
     this.descMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code/Size/Type"));
     this.descMode.Name   = "descMode";
     this.descMode.Active = 0;
     this.table3.Add(this.descMode);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table3[this.descMode]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((Gtk.AttachOptions)(4));
     w21.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Name Format:");
     this.table3.Add(this.label1);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table3[this.label1]));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Description Format:");
     this.table3.Add(this.label5);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table3[this.label5]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.XOptions     = ((Gtk.AttachOptions)(4));
     w23.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.nameMode = Gtk.ComboBox.NewText();
     this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Code"));
     this.nameMode.AppendText(Mono.Unix.Catalog.GetString("Cache Name"));
     this.nameMode.Name   = "nameMode";
     this.nameMode.Active = 0;
     this.table3.Add(this.nameMode);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.nameMode]));
     w24.LeftAttach  = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions    = ((Gtk.AttachOptions)(4));
     w24.YOptions    = ((Gtk.AttachOptions)(4));
     this.GtkAlignment11.Add(this.table3);
     this.waypointFrame.Add(this.GtkAlignment11);
     this.GtkLabel21                = new Gtk.Label();
     this.GtkLabel21.Name           = "GtkLabel21";
     this.GtkLabel21.LabelProp      = Mono.Unix.Catalog.GetString("<b>Waypoint Options</b>");
     this.GtkLabel21.UseMarkup      = true;
     this.waypointFrame.LabelWidget = this.GtkLabel21;
     this.vbox4.Add(this.waypointFrame);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.waypointFrame]));
     w27.Position = 2;
     w27.Expand   = false;
     w27.Fill     = false;
     this.notebook1.Add(this.vbox4);
     Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4]));
     w28.Position = 1;
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Options");
     this.notebook1.SetTabLabel(this.vbox4, this.label4);
     this.label4.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.waypointSymbolWidget        = new ocmgtk.WaypointOverrideWidget();
     this.waypointSymbolWidget.Events = ((Gdk.EventMask)(256));
     this.waypointSymbolWidget.Name   = "waypointSymbolWidget";
     this.notebook1.Add(this.waypointSymbolWidget);
     Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.waypointSymbolWidget]));
     w29.Position = 2;
     // Notebook tab
     this.symbolsPage           = new Gtk.Label();
     this.symbolsPage.Name      = "symbolsPage";
     this.symbolsPage.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Symbols");
     this.notebook1.SetTabLabel(this.waypointSymbolWidget, this.symbolsPage);
     this.symbolsPage.ShowAll();
     w1.Add(this.notebook1);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook1]));
     w30.Position = 0;
     // Internal child ocmgtk.ExportGPXDialog.ActionArea
     Gtk.HButtonBox w31 = this.ActionArea;
     w31.Name        = "dialog1_ActionArea";
     w31.Spacing     = 10;
     w31.BorderWidth = ((uint)(5));
     w31.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     Gtk.ButtonBox.ButtonBoxChild w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel]));
     w32.Expand = false;
     w32.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 762;
     this.DefaultHeight = 527;
     this.Show();
     this.limitCheck.Toggled             += new System.EventHandler(this.OnLimitToggle);
     this.exportPaperlessDetails.Toggled += new System.EventHandler(this.OnPaperlessToggle);
     this.logLimitCheck.Toggled          += new System.EventHandler(this.OnLogLimitToggle);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget tryServer.MainWindow
     this.WidthRequest      = 380;
     this.HeightRequest     = 330;
     this.CanFocus          = true;
     this.Events            = ((Gdk.EventMask)(256));
     this.Name              = "tryServer.MainWindow";
     this.Title             = Mono.Unix.Catalog.GetString("Main");
     this.WindowPosition    = ((Gtk.WindowPosition)(1));
     this.Resizable         = false;
     this.AllowGrow         = false;
     this.DestroyWithParent = true;
     // Container child tryServer.MainWindow.Gtk.Container+ContainerChild
     this.notebook3 = new Gtk.Notebook();
     this.notebook3.WidthRequest = 300;
     this.notebook3.CanFocus     = true;
     this.notebook3.Name         = "notebook3";
     // Container child notebook3.Gtk.Notebook+NotebookChild
     this.fixed3           = new Gtk.Fixed();
     this.fixed3.Name      = "fixed3";
     this.fixed3.HasWindow = false;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Stop server");
     this.fixed3.Add(this.label8);
     Gtk.Fixed.FixedChild w1 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label8]));
     w1.X = 104;
     w1.Y = 172;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Connections Settings");
     this.fixed3.Add(this.label9);
     Gtk.Fixed.FixedChild w2 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label9]));
     w2.X = 104;
     w2.Y = 230;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.btnStart = new Gtk.Button();
     this.btnStart.WidthRequest  = 80;
     this.btnStart.HeightRequest = 55;
     this.btnStart.CanFocus      = true;
     this.btnStart.Name          = "btnStart";
     this.btnStart.UseUnderline  = true;
     // Container child btnStart.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w3.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Name    = "GtkHBox";
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Name   = "image14";
     w5.Pixbuf = Gdk.Pixbuf.LoadFromResource("play.png");
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w7.Name      = "GtkLabel";
     w7.LabelProp = "";
     w4.Add(w7);
     w3.Add(w4);
     this.btnStart.Add(w3);
     this.fixed3.Add(this.btnStart);
     Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnStart]));
     w11.X = 14;
     w11.Y = 99;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.btnStop = new Gtk.Button();
     this.btnStop.WidthRequest  = 80;
     this.btnStop.HeightRequest = 55;
     this.btnStop.CanFocus      = true;
     this.btnStop.Name          = "btnStop";
     this.btnStop.UseUnderline  = true;
     // Container child btnStop.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w12.Name = "GtkAlignment1";
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Name    = "GtkHBox1";
     w13.Spacing = 2;
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Name   = "image15";
     w14.Pixbuf = Gdk.Pixbuf.LoadFromResource("process-stop.png");
     w13.Add(w14);
     // Container child GtkHBox1.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w16.Name      = "GtkLabel1";
     w16.LabelProp = "";
     w13.Add(w16);
     w12.Add(w13);
     this.btnStop.Add(w12);
     this.fixed3.Add(this.btnStop);
     Gtk.Fixed.FixedChild w20 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnStop]));
     w20.X = 14;
     w20.Y = 157;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.btnSettings = new Gtk.Button();
     this.btnSettings.WidthRequest  = 80;
     this.btnSettings.HeightRequest = 55;
     this.btnSettings.CanFocus      = true;
     this.btnSettings.Name          = "btnSettings";
     this.btnSettings.UseUnderline  = true;
     // Container child btnSettings.Gtk.Container+ContainerChild
     Gtk.Alignment w21 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w21.Name = "GtkAlignment2";
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     Gtk.HBox w22 = new Gtk.HBox();
     w22.Name    = "GtkHBox2";
     w22.Spacing = 2;
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Image w23 = new Gtk.Image();
     w23.Name   = "image16";
     w23.Pixbuf = Gdk.Pixbuf.LoadFromResource("db_sql_.png");
     w22.Add(w23);
     // Container child GtkHBox2.Gtk.Container+ContainerChild
     Gtk.Label w25 = new Gtk.Label();
     w25.Name      = "GtkLabel2";
     w25.LabelProp = "";
     w22.Add(w25);
     w21.Add(w22);
     this.btnSettings.Add(w21);
     this.fixed3.Add(this.btnSettings);
     Gtk.Fixed.FixedChild w29 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.btnSettings]));
     w29.X = 14;
     w29.Y = 215;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Start server");
     this.fixed3.Add(this.label7);
     Gtk.Fixed.FixedChild w30 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label7]));
     w30.X = 104;
     w30.Y = 116;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.imgOffline        = new Gtk.Image();
     this.imgOffline.Name   = "imgOffline";
     this.imgOffline.Pixbuf = Gdk.Pixbuf.LoadFromResource("Internet - Offline.png");
     this.fixed3.Add(this.imgOffline);
     Gtk.Fixed.FixedChild w31 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.imgOffline]));
     w31.X = 211;
     w31.Y = 93;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.imgOnline        = new Gtk.Image();
     this.imgOnline.Name   = "imgOnline";
     this.imgOnline.Pixbuf = Gdk.Pixbuf.LoadFromResource("Network Configuration.png");
     this.fixed3.Add(this.imgOnline);
     Gtk.Fixed.FixedChild w32 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.imgOnline]));
     w32.X = 211;
     w32.Y = 93;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Instance");
     this.fixed3.Add(this.label6);
     Gtk.Fixed.FixedChild w33 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.label6]));
     w33.X = 16;
     w33.Y = 39;
     // Container child fixed3.Gtk.Fixed+FixedChild
     this.cmbInstance = Gtk.ComboBox.NewText();
     this.cmbInstance.WidthRequest = 250;
     this.cmbInstance.Name         = "cmbInstance";
     this.fixed3.Add(this.cmbInstance);
     Gtk.Fixed.FixedChild w34 = ((Gtk.Fixed.FixedChild)(this.fixed3[this.cmbInstance]));
     w34.X = 93;
     w34.Y = 31;
     this.notebook3.Add(this.fixed3);
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Settings");
     this.notebook3.SetTabLabel(this.fixed3, this.label4);
     // Container child notebook3.Gtk.Notebook+NotebookChild
     this.fixed4           = new Gtk.Fixed();
     this.fixed4.Name      = "fixed4";
     this.fixed4.HasWindow = false;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Server");
     this.fixed4.Add(this.label10);
     Gtk.Fixed.FixedChild w36 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label10]));
     w36.X = 175;
     w36.Y = 30;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Port");
     this.fixed4.Add(this.label11);
     Gtk.Fixed.FixedChild w37 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label11]));
     w37.X = 175;
     w37.Y = 65;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("File");
     this.fixed4.Add(this.label12);
     Gtk.Fixed.FixedChild w38 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label12]));
     w38.X = 175;
     w38.Y = 100;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label13           = new Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("User");
     this.fixed4.Add(this.label13);
     Gtk.Fixed.FixedChild w39 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label13]));
     w39.X = 175;
     w39.Y = 145;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Password");
     this.fixed4.Add(this.label14);
     Gtk.Fixed.FixedChild w40 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.label14]));
     w40.X = 175;
     w40.Y = 180;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.chkStart               = new Gtk.CheckButton();
     this.chkStart.CanFocus      = true;
     this.chkStart.Name          = "chkStart";
     this.chkStart.Label         = Mono.Unix.Catalog.GetString("Start automatically");
     this.chkStart.DrawIndicator = true;
     this.chkStart.UseUnderline  = true;
     this.fixed4.Add(this.chkStart);
     Gtk.Fixed.FixedChild w41 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.chkStart]));
     w41.X = 191;
     w41.Y = 216;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.button4 = new Gtk.Button();
     this.button4.WidthRequest = 80;
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = Mono.Unix.Catalog.GetString("Ok");
     this.fixed4.Add(this.button4);
     Gtk.Fixed.FixedChild w42 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.button4]));
     w42.X = 204;
     w42.Y = 253;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.button5 = new Gtk.Button();
     this.button5.WidthRequest = 80;
     this.button5.CanFocus     = true;
     this.button5.Name         = "button5";
     this.button5.UseUnderline = true;
     this.button5.Label        = Mono.Unix.Catalog.GetString("Cancel");
     this.fixed4.Add(this.button5);
     Gtk.Fixed.FixedChild w43 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.button5]));
     w43.X = 288;
     w43.Y = 253;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.entry1 = new Gtk.Entry();
     this.entry1.WidthRequest  = 120;
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '●';
     this.fixed4.Add(this.entry1);
     Gtk.Fixed.FixedChild w44 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry1]));
     w44.X = 250;
     w44.Y = 25;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.entry2 = new Gtk.Entry();
     this.entry2.WidthRequest  = 120;
     this.entry2.CanFocus      = true;
     this.entry2.Name          = "entry2";
     this.entry2.IsEditable    = true;
     this.entry2.InvisibleChar = '●';
     this.fixed4.Add(this.entry2);
     Gtk.Fixed.FixedChild w45 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry2]));
     w45.X = 250;
     w45.Y = 60;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.entry4 = new Gtk.Entry();
     this.entry4.WidthRequest  = 120;
     this.entry4.CanFocus      = true;
     this.entry4.Name          = "entry4";
     this.entry4.IsEditable    = true;
     this.entry4.InvisibleChar = '●';
     this.fixed4.Add(this.entry4);
     Gtk.Fixed.FixedChild w46 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry4]));
     w46.X = 250;
     w46.Y = 95;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.WidthRequest = 200;
     this.hseparator1.Name         = "hseparator1";
     this.fixed4.Add(this.hseparator1);
     Gtk.Fixed.FixedChild w47 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator1]));
     w47.X = 169;
     w47.Y = 129;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.entry5 = new Gtk.Entry();
     this.entry5.WidthRequest  = 120;
     this.entry5.CanFocus      = true;
     this.entry5.Name          = "entry5";
     this.entry5.IsEditable    = true;
     this.entry5.Visibility    = false;
     this.entry5.InvisibleChar = '●';
     this.fixed4.Add(this.entry5);
     Gtk.Fixed.FixedChild w48 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry5]));
     w48.X = 250;
     w48.Y = 175;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.entry6 = new Gtk.Entry();
     this.entry6.WidthRequest  = 120;
     this.entry6.CanFocus      = true;
     this.entry6.Name          = "entry6";
     this.entry6.IsEditable    = true;
     this.entry6.InvisibleChar = '●';
     this.fixed4.Add(this.entry6);
     Gtk.Fixed.FixedChild w49 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.entry6]));
     w49.X = 248;
     w49.Y = 140;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.hseparator4 = new Gtk.HSeparator();
     this.hseparator4.WidthRequest = 150;
     this.hseparator4.Name         = "hseparator4";
     this.fixed4.Add(this.hseparator4);
     Gtk.Fixed.FixedChild w50 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator4]));
     w50.X = 11;
     w50.Y = 10;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.hseparator5 = new Gtk.HSeparator();
     this.hseparator5.WidthRequest = 150;
     this.hseparator5.Name         = "hseparator5";
     this.fixed4.Add(this.hseparator5);
     Gtk.Fixed.FixedChild w51 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.hseparator5]));
     w51.X = 9;
     w51.Y = 282;
     // Container child fixed4.Gtk.Fixed+FixedChild
     this.treeview1 = new Gtk.TreeView();
     this.treeview1.WidthRequest    = 150;
     this.treeview1.HeightRequest   = 270;
     this.treeview1.CanFocus        = true;
     this.treeview1.Name            = "treeview1";
     this.treeview1.FixedHeightMode = true;
     this.treeview1.HeadersVisible  = false;
     this.fixed4.Add(this.treeview1);
     Gtk.Fixed.FixedChild w52 = ((Gtk.Fixed.FixedChild)(this.fixed4[this.treeview1]));
     w52.X = 11;
     w52.Y = 11;
     this.notebook3.Add(this.fixed4);
     Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.notebook3[this.fixed4]));
     w53.Position = 1;
     // Notebook tab
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Registered items");
     this.notebook3.SetTabLabel(this.fixed4, this.label5);
     this.Add(this.notebook3);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 419;
     this.DefaultHeight = 379;
     this.Show();
     this.DeleteEvent         += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.btnStart.Clicked    += new System.EventHandler(this.OnBtnStartClicked);
     this.btnStop.Clicked     += new System.EventHandler(this.OnBtnStopClicked);
     this.btnSettings.Clicked += new System.EventHandler(this.OnBtnSettingsClicked);
 }
Example #7
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.CacheInfoWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.CacheInfoWidget";
     // Container child ocmgtk.CacheInfoWidget.Gtk.Container+ContainerChild
     this.infoNoteBook             = new Gtk.Notebook();
     this.infoNoteBook.CanFocus    = true;
     this.infoNoteBook.Name        = "infoNoteBook";
     this.infoNoteBook.CurrentPage = 5;
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.quickInfoPane        = new ocmgtk.GeocacheInfoPanel();
     this.quickInfoPane.Events = ((Gdk.EventMask)(256));
     this.quickInfoPane.Name   = "quickInfoPane";
     this.infoNoteBook.Add(this.quickInfoPane);
     // Notebook tab
     this.quickInfoLabel           = new Gtk.Label();
     this.quickInfoLabel.Name      = "quickInfoLabel";
     this.quickInfoLabel.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.infoNoteBook.SetTabLabel(this.quickInfoPane, this.quickInfoLabel);
     this.quickInfoLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.descriptionPane        = new ocmgtk.DescriptionWidget();
     this.descriptionPane.Events = ((Gdk.EventMask)(256));
     this.descriptionPane.Name   = "descriptionPane";
     this.infoNoteBook.Add(this.descriptionPane);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.descriptionPane]));
     w2.Position = 1;
     // Notebook tab
     this.descriptionTab           = new Gtk.Label();
     this.descriptionTab.Name      = "descriptionTab";
     this.descriptionTab.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.infoNoteBook.SetTabLabel(this.descriptionPane, this.descriptionTab);
     this.descriptionTab.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.logViewer        = new ocmgtk.LogViewerWidget();
     this.logViewer.Events = ((Gdk.EventMask)(256));
     this.logViewer.Name   = "logViewer";
     this.infoNoteBook.Add(this.logViewer);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.logViewer]));
     w3.Position = 2;
     // Notebook tab
     this.logLabel           = new Gtk.Label();
     this.logLabel.Name      = "logLabel";
     this.logLabel.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.infoNoteBook.SetTabLabel(this.logViewer, this.logLabel);
     this.logLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.waypointWidget        = new ocmgtk.WaypointWidget();
     this.waypointWidget.Events = ((Gdk.EventMask)(256));
     this.waypointWidget.Name   = "waypointWidget";
     this.infoNoteBook.Add(this.waypointWidget);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.waypointWidget]));
     w4.Position = 3;
     // Notebook tab
     this.waypointLabel           = new Gtk.Label();
     this.waypointLabel.Name      = "waypointLabel";
     this.waypointLabel.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.infoNoteBook.SetTabLabel(this.waypointWidget, this.waypointLabel);
     this.waypointLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.cacheNotes        = new ocmgtk.NotesWidget();
     this.cacheNotes.Events = ((Gdk.EventMask)(256));
     this.cacheNotes.Name   = "cacheNotes";
     this.infoNoteBook.Add(this.cacheNotes);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.cacheNotes]));
     w5.Position = 4;
     // Notebook tab
     this.notesLabel           = new Gtk.Label();
     this.notesLabel.Name      = "notesLabel";
     this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.infoNoteBook.SetTabLabel(this.cacheNotes, this.notesLabel);
     this.notesLabel.ShowAll();
     // Container child infoNoteBook.Gtk.Notebook+NotebookChild
     this.imageWidget        = new ocmgtk.ImagesWidget();
     this.imageWidget.Events = ((Gdk.EventMask)(256));
     this.imageWidget.Name   = "imageWidget";
     this.infoNoteBook.Add(this.imageWidget);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.infoNoteBook[this.imageWidget]));
     w6.Position = 5;
     // Notebook tab
     this.imageLabel           = new Gtk.Label();
     this.imageLabel.Name      = "imageLabel";
     this.imageLabel.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.infoNoteBook.SetTabLabel(this.imageWidget, this.imageLabel);
     this.imageLabel.ShowAll();
     this.Add(this.infoNoteBook);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
Example #8
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OffLineLogViewer
     this.WidthRequest    = 600;
     this.HeightRequest   = 400;
     this.Name            = "ocmgtk.OffLineLogViewer";
     this.Title           = Mono.Unix.Catalog.GetString("View Field Notes...");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.AllowShrink     = true;
     this.Gravity         = ((Gdk.Gravity)(5));
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.OffLineLogViewer.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vpaned1          = new Gtk.VPaned();
     this.vpaned1.CanFocus = true;
     this.vpaned1.Name     = "vpaned1";
     this.vpaned1.Position = 250;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image11        = new Gtk.Image();
     this.image11.Name   = "image11";
     this.image11.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24);
     this.hbox1.Add(this.image11);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image11]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.fnFieldNotesLabel           = new Gtk.Label();
     this.fnFieldNotesLabel.Name      = "fnFieldNotesLabel";
     this.fnFieldNotesLabel.LabelProp = Mono.Unix.Catalog.GetString("Please wait...");
     this.hbox1.Add(this.fnFieldNotesLabel);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.fnFieldNotesLabel]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox3.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hseparator1      = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     this.vbox3.Add(this.hseparator1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.hseparator1]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.scrolledwindow1            = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.logView              = new Gtk.TreeView();
     this.logView.CanFocus     = true;
     this.logView.Name         = "logView";
     this.logView.EnableSearch = false;
     this.scrolledwindow1.Add(this.logView);
     this.hbox2.Add(this.scrolledwindow1);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow1]));
     w7.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.vbuttonbox1             = new Gtk.VButtonBox();
     this.vbuttonbox1.Name        = "vbuttonbox1";
     this.vbuttonbox1.Spacing     = 6;
     this.vbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.viewCacheButton              = new Gtk.Button();
     this.viewCacheButton.Sensitive    = false;
     this.viewCacheButton.CanFocus     = true;
     this.viewCacheButton.Name         = "viewCacheButton";
     this.viewCacheButton.UseUnderline = true;
     this.viewCacheButton.Label        = Mono.Unix.Catalog.GetString("View Cache");
     this.vbuttonbox1.Add(this.viewCacheButton);
     Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewCacheButton]));
     w8.Expand = false;
     w8.Fill   = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.deleteButton              = new Gtk.Button();
     this.deleteButton.Sensitive    = false;
     this.deleteButton.CanFocus     = true;
     this.deleteButton.Name         = "deleteButton";
     this.deleteButton.UseStock     = true;
     this.deleteButton.UseUnderline = true;
     this.deleteButton.Label        = "gtk-delete";
     this.vbuttonbox1.Add(this.deleteButton);
     Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.deleteButton]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.delAllButton              = new Gtk.Button();
     this.delAllButton.CanFocus     = true;
     this.delAllButton.Name         = "delAllButton";
     this.delAllButton.UseUnderline = true;
     this.delAllButton.Label        = Mono.Unix.Catalog.GetString("Delete All");
     this.vbuttonbox1.Add(this.delAllButton);
     Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.delAllButton]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     this.hbox2.Add(this.vbuttonbox1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbuttonbox1]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     w11.Padding  = ((uint)(6));
     this.vbox3.Add(this.hbox2);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w12.Position = 2;
     this.vpaned1.Add(this.vbox3);
     Gtk.Paned.PanedChild w13 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.vbox3]));
     w13.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.fieldNotesDescPane             = new Gtk.Notebook();
     this.fieldNotesDescPane.Sensitive   = false;
     this.fieldNotesDescPane.CanFocus    = true;
     this.fieldNotesDescPane.Name        = "fieldNotesDescPane";
     this.fieldNotesDescPane.CurrentPage = 0;
     this.fieldNotesDescPane.TabPos      = ((Gtk.PositionType)(0));
     // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild
     this.logPane             = new Gtk.VBox();
     this.logPane.Name        = "logPane";
     this.logPane.Spacing     = 6;
     this.logPane.BorderWidth = ((uint)(6));
     // Container child logPane.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Log Type:");
     this.hbox5.Add(this.label1);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox5[this.label1]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.logChoice = Gtk.ComboBox.NewText();
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Found it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Didn't Find it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Write Note"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Needs Maintenance"));
     this.logChoice.Name   = "logChoice";
     this.logChoice.Active = 0;
     this.hbox5.Add(this.logChoice);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox5[this.logChoice]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.logPane.Add(this.hbox5);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox5]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child logPane.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.firstToFindCheck               = new Gtk.CheckButton();
     this.firstToFindCheck.CanFocus      = true;
     this.firstToFindCheck.Name          = "firstToFindCheck";
     this.firstToFindCheck.Label         = Mono.Unix.Catalog.GetString("First To Find");
     this.firstToFindCheck.DrawIndicator = true;
     this.firstToFindCheck.UseUnderline  = true;
     this.hbox4.Add(this.firstToFindCheck);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox4[this.firstToFindCheck]));
     w17.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.saveButton              = new Gtk.Button();
     this.saveButton.CanFocus     = true;
     this.saveButton.Name         = "saveButton";
     this.saveButton.UseStock     = true;
     this.saveButton.UseUnderline = true;
     this.saveButton.Label        = "gtk-save";
     this.hbox4.Add(this.saveButton);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox4[this.saveButton]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     this.logPane.Add(this.hbox4);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.logPane[this.hbox4]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child logPane.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.logEntry          = new Gtk.TextView();
     this.logEntry.CanFocus = true;
     this.logEntry.Name     = "logEntry";
     this.logEntry.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add(this.logEntry);
     this.logPane.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.logPane[this.GtkScrolledWindow]));
     w21.Position = 2;
     this.fieldNotesDescPane.Add(this.logPane);
     // Notebook tab
     this.logPage           = new Gtk.Label();
     this.logPage.Name      = "logPage";
     this.logPage.LabelProp = Mono.Unix.Catalog.GetString("Field Log");
     this.fieldNotesDescPane.SetTabLabel(this.logPane, this.logPage);
     this.logPage.ShowAll();
     // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.wptCombo           = new Gtk.Label();
     this.wptCombo.Name      = "wptCombo";
     this.wptCombo.LabelProp = Mono.Unix.Catalog.GetString("Waypoint:");
     this.hbox3.Add(this.wptCombo);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox3[this.wptCombo]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.waypointCombo      = Gtk.ComboBox.NewText();
     this.waypointCombo.Name = "waypointCombo";
     this.hbox3.Add(this.waypointCombo);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox3[this.waypointCombo]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.mapView                 = new ocmgtk.MapWidget();
     this.mapView.Events          = ((Gdk.EventMask)(256));
     this.mapView.Name            = "mapView";
     this.mapView.ShowNearby      = false;
     this.mapView.ShowAllChildren = false;
     this.vbox2.Add(this.mapView);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox2[this.mapView]));
     w26.Position = 1;
     this.fieldNotesDescPane.Add(this.vbox2);
     Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.vbox2]));
     w27.Position = 1;
     // Notebook tab
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Map");
     this.fieldNotesDescPane.SetTabLabel(this.vbox2, this.label7);
     this.label7.ShowAll();
     // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild
     this.cacheDesc        = new ocmgtk.HTMLWidget();
     this.cacheDesc.Events = ((Gdk.EventMask)(256));
     this.cacheDesc.Name   = "cacheDesc";
     this.fieldNotesDescPane.Add(this.cacheDesc);
     Gtk.Notebook.NotebookChild w28 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheDesc]));
     w28.Position = 2;
     // Notebook tab
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Cache Description");
     this.fieldNotesDescPane.SetTabLabel(this.cacheDesc, this.label5);
     this.label5.ShowAll();
     // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild
     this.cacheLog        = new ocmgtk.HTMLWidget();
     this.cacheLog.Events = ((Gdk.EventMask)(256));
     this.cacheLog.Name   = "cacheLog";
     this.fieldNotesDescPane.Add(this.cacheLog);
     Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheLog]));
     w29.Position = 3;
     // Notebook tab
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Cache Logs");
     this.fieldNotesDescPane.SetTabLabel(this.cacheLog, this.label8);
     this.label8.ShowAll();
     // Container child fieldNotesDescPane.Gtk.Notebook+NotebookChild
     this.cacheNotes        = new ocmgtk.NotesWidget();
     this.cacheNotes.Events = ((Gdk.EventMask)(256));
     this.cacheNotes.Name   = "cacheNotes";
     this.fieldNotesDescPane.Add(this.cacheNotes);
     Gtk.Notebook.NotebookChild w30 = ((Gtk.Notebook.NotebookChild)(this.fieldNotesDescPane[this.cacheNotes]));
     w30.Position = 4;
     // Notebook tab
     this.notesLabel           = new Gtk.Label();
     this.notesLabel.Name      = "notesLabel";
     this.notesLabel.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.fieldNotesDescPane.SetTabLabel(this.cacheNotes, this.notesLabel);
     this.notesLabel.ShowAll();
     this.vpaned1.Add(this.fieldNotesDescPane);
     w1.Add(this.vpaned1);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(w1[this.vpaned1]));
     w32.Position = 0;
     // Internal child ocmgtk.OffLineLogViewer.ActionArea
     Gtk.HButtonBox w33 = this.ActionArea;
     w33.Name        = "dialog1_ActionArea";
     w33.Spacing     = 10;
     w33.BorderWidth = ((uint)(5));
     w33.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.closeButton              = new Gtk.Button();
     this.closeButton.CanDefault   = true;
     this.closeButton.CanFocus     = true;
     this.closeButton.Name         = "closeButton";
     this.closeButton.UseStock     = true;
     this.closeButton.UseUnderline = true;
     this.closeButton.Label        = "gtk-close";
     this.AddActionWidget(this.closeButton, -7);
     Gtk.ButtonBox.ButtonBoxChild w34 = ((Gtk.ButtonBox.ButtonBoxChild)(w33[this.closeButton]));
     w34.Expand = false;
     w34.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth           = 839;
     this.DefaultHeight          = 566;
     this.closeButton.HasDefault = true;
     this.Show();
     this.DeleteEvent              += new Gtk.DeleteEventHandler(this.OnCloseClick);
     this.viewCacheButton.Clicked  += new System.EventHandler(this.OnViewCache);
     this.deleteButton.Clicked     += new System.EventHandler(this.OnDeleteClick);
     this.delAllButton.Clicked     += new System.EventHandler(this.OnDeleteAllClick);
     this.logChoice.Changed        += new System.EventHandler(this.OnLogTypeChange);
     this.firstToFindCheck.Toggled += new System.EventHandler(this.OnFTFCheck);
     this.saveButton.Clicked       += new System.EventHandler(this.OnSaveClick);
     this.closeButton.Clicked      += new System.EventHandler(this.OnCloseClick);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.GeoCachePane
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.GeoCachePane";
     // Container child ocmgtk.GeoCachePane.Gtk.Container+ContainerChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.notebook2             = new Gtk.Notebook();
     this.notebook2.CanFocus    = true;
     this.notebook2.Name        = "notebook2";
     this.notebook2.CurrentPage = 5;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheInfo        = new ocmgtk.GeocacheInfoPanel();
     this.cacheInfo.Events = ((Gdk.EventMask)(256));
     this.cacheInfo.Name   = "cacheInfo";
     this.notebook2.Add(this.cacheInfo);
     // Notebook tab
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Quick Info");
     this.notebook2.SetTabLabel(this.cacheInfo, this.label12);
     this.label12.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.descWidget        = new ocmgtk.DescriptionWidget();
     this.descWidget.Events = ((Gdk.EventMask)(256));
     this.descWidget.Name   = "descWidget";
     this.notebook2.Add(this.descWidget);
     Gtk.Notebook.NotebookChild w2 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.descWidget]));
     w2.Position = 1;
     // Notebook tab
     this.label13           = new Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Description");
     this.notebook2.SetTabLabel(this.descWidget, this.label13);
     this.label13.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.logView        = new ocmgtk.LogViewerWidget();
     this.logView.Events = ((Gdk.EventMask)(256));
     this.logView.Name   = "logView";
     this.notebook2.Add(this.logView);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.logView]));
     w3.Position = 2;
     // Notebook tab
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Logs");
     this.notebook2.SetTabLabel(this.logView, this.label14);
     this.label14.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.waypointView        = new ocmgtk.WaypointWidget();
     this.waypointView.Events = ((Gdk.EventMask)(256));
     this.waypointView.Name   = "waypointView";
     this.notebook2.Add(this.waypointView);
     Gtk.Notebook.NotebookChild w4 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.waypointView]));
     w4.Position = 3;
     // Notebook tab
     this.label15           = new Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Waypoints");
     this.notebook2.SetTabLabel(this.waypointView, this.label15);
     this.label15.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.notesWidget        = new ocmgtk.NotesWidget();
     this.notesWidget.Events = ((Gdk.EventMask)(256));
     this.notesWidget.Name   = "notesWidget";
     this.notebook2.Add(this.notesWidget);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.notesWidget]));
     w5.Position = 4;
     // Notebook tab
     this.label16           = new Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.LabelProp = Mono.Unix.Catalog.GetString("Notes");
     this.notebook2.SetTabLabel(this.notesWidget, this.label16);
     this.label16.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.cacheImages        = new ocmgtk.ImagesWidget();
     this.cacheImages.Events = ((Gdk.EventMask)(256));
     this.cacheImages.Name   = "cacheImages";
     this.notebook2.Add(this.cacheImages);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook2[this.cacheImages]));
     w6.Position = 5;
     // Notebook tab
     this.label17           = new Gtk.Label();
     this.label17.Name      = "label17";
     this.label17.LabelProp = Mono.Unix.Catalog.GetString("Images");
     this.notebook2.SetTabLabel(this.cacheImages, this.label17);
     this.label17.ShowAll();
     this.alignment1.Add(this.notebook2);
     this.Add(this.alignment1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget MainWindow
     Gtk.UIManager   w1 = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.Options            = new Gtk.Action("Options", Mono.Unix.Catalog.GetString("Options"), null, "gtk-preferences");
     this.Options.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w2.Add(this.Options, null);
     this.AddFolder            = new Gtk.Action("AddFolder", Mono.Unix.Catalog.GetString("Add Folder"), null, "gtk-open");
     this.AddFolder.ShortLabel = Mono.Unix.Catalog.GetString("Add Folder");
     w2.Add(this.AddFolder, null);
     this.NewCollection            = new Gtk.Action("NewCollection", Mono.Unix.Catalog.GetString("New Collection"), null, "gtk-new");
     this.NewCollection.ShortLabel = Mono.Unix.Catalog.GetString("New Collection");
     w2.Add(this.NewCollection, null);
     this.Preferences            = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("Preferences"), null, "gtk-preferences");
     this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("Options");
     w2.Add(this.Preferences, null);
     this.Exit1            = new Gtk.Action("Exit1", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
     this.Exit1.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
     w2.Add(this.Exit1, null);
     this.Update            = new Gtk.Action("Update", Mono.Unix.Catalog.GetString("Update"), null, "gtk-dialog-warning");
     this.Update.ShortLabel = Mono.Unix.Catalog.GetString("Update");
     w2.Add(this.Update, null);
     this.Exit2            = new Gtk.ToggleAction("Exit2", Mono.Unix.Catalog.GetString("Exit"), null, "gtk-quit");
     this.Exit2.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
     w2.Add(this.Exit2, null);
     this.AddFile            = new Gtk.Action("AddFile", Mono.Unix.Catalog.GetString("Add File"), null, "gtk-add");
     this.AddFile.ShortLabel = Mono.Unix.Catalog.GetString("Add File");
     w2.Add(this.AddFile, null);
     this.About            = new Gtk.Action("About", Mono.Unix.Catalog.GetString("About"), null, "gtk-about");
     this.About.ShortLabel = Mono.Unix.Catalog.GetString("About");
     w2.Add(this.About, null);
     this.About3            = new Gtk.Action("About3", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.About3.ShortLabel = Mono.Unix.Catalog.GetString("_About");
     w2.Add(this.About3, null);
     w1.InsertActionGroup(w2, 0);
     this.AddAccelGroup(w1.AccelGroup);
     this.WidthRequest   = 360;
     this.Name           = "MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("Mp3 Player");
     this.Icon           = Stetic.IconLoader.LoadIcon("stock_headphones", 16);
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.MainFixedWindow = new Gtk.Fixed();
     this.MainFixedWindow.WidthRequest  = 0;
     this.MainFixedWindow.HeightRequest = 640;
     this.MainFixedWindow.Name          = "MainFixedWindow";
     this.MainFixedWindow.HasWindow     = false;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.bottomStatusBar = new Gtk.Statusbar();
     this.bottomStatusBar.WidthRequest  = 363;
     this.bottomStatusBar.HeightRequest = 17;
     this.bottomStatusBar.Name          = "bottomStatusBar";
     this.bottomStatusBar.Spacing       = 6;
     this.MainFixedWindow.Add(this.bottomStatusBar);
     Gtk.Fixed.FixedChild w3 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.bottomStatusBar]));
     w3.X = 1;
     w3.Y = 624;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     w1.AddUiFromString("<ui><menubar name='menubar'><menu action='Options'><menuitem action='NewCollection'/><menuitem action='AddFolder'/><menuitem action='AddFile'/><menuitem action='Preferences'/><menuitem action='Exit1'/></menu><menu action='About'><menuitem action='About3'/></menu></menubar></ui>");
     this.menubar = ((Gtk.MenuBar)(w1.GetWidget("/menubar")));
     this.menubar.WidthRequest = 370;
     this.menubar.HasDefault   = true;
     this.menubar.CanFocus     = true;
     this.menubar.Name         = "menubar";
     this.MainFixedWindow.Add(this.menubar);
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.musicButtonBox         = new Gtk.HBox();
     this.musicButtonBox.Name    = "musicButtonBox";
     this.musicButtonBox.Spacing = 6;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.playButton              = new Gtk.Button();
     this.playButton.CanFocus     = true;
     this.playButton.Name         = "playButton";
     this.playButton.UseUnderline = true;
     // Container child playButton.Gtk.Container+ContainerChild
     Gtk.Alignment w5 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w5.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w6 = new Gtk.HBox();
     w6.Name    = "GtkHBox";
     w6.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w7 = new Gtk.Image();
     w7.Name   = "image35";
     w7.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-play", 16);
     w6.Add(w7);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w9 = new Gtk.Label();
     w9.Name      = "GtkLabel";
     w9.LabelProp = "";
     w6.Add(w9);
     w5.Add(w6);
     this.playButton.Add(w5);
     this.musicButtonBox.Add(this.playButton);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.playButton]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.stopButton              = new Gtk.Button();
     this.stopButton.CanFocus     = true;
     this.stopButton.Name         = "stopButton";
     this.stopButton.UseUnderline = true;
     // Container child stopButton.Gtk.Container+ContainerChild
     Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w14.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w15 = new Gtk.HBox();
     w15.Name    = "GtkHBox";
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w16 = new Gtk.Image();
     w16.Name   = "image36";
     w16.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-stop", 16);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w18 = new Gtk.Label();
     w18.Name      = "GtkLabel";
     w18.LabelProp = "";
     w15.Add(w18);
     w14.Add(w15);
     this.stopButton.Add(w14);
     this.musicButtonBox.Add(this.stopButton);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.stopButton]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.previousButton              = new Gtk.Button();
     this.previousButton.CanFocus     = true;
     this.previousButton.Name         = "previousButton";
     this.previousButton.UseUnderline = true;
     // Container child previousButton.Gtk.Container+ContainerChild
     Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w23.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w24 = new Gtk.HBox();
     w24.Name    = "GtkHBox";
     w24.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w25 = new Gtk.Image();
     w25.Name   = "image37";
     w25.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-prev", 16);
     w24.Add(w25);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w27 = new Gtk.Label();
     w27.Name      = "GtkLabel";
     w27.LabelProp = "";
     w24.Add(w27);
     w23.Add(w24);
     this.previousButton.Add(w23);
     this.musicButtonBox.Add(this.previousButton);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.previousButton]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.nextButton              = new Gtk.Button();
     this.nextButton.CanFocus     = true;
     this.nextButton.Name         = "nextButton";
     this.nextButton.UseUnderline = true;
     // Container child nextButton.Gtk.Container+ContainerChild
     Gtk.Alignment w32 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w32.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w33 = new Gtk.HBox();
     w33.Name    = "GtkHBox";
     w33.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w34 = new Gtk.Image();
     w34.Name   = "image38";
     w34.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-next", 16);
     w33.Add(w34);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w36 = new Gtk.Label();
     w36.Name      = "GtkLabel";
     w36.LabelProp = "";
     w33.Add(w36);
     w32.Add(w33);
     this.nextButton.Add(w32);
     this.musicButtonBox.Add(this.nextButton);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.nextButton]));
     w40.Position = 3;
     w40.Expand   = false;
     w40.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.rewindButton              = new Gtk.Button();
     this.rewindButton.CanFocus     = true;
     this.rewindButton.Name         = "rewindButton";
     this.rewindButton.UseUnderline = true;
     // Container child rewindButton.Gtk.Container+ContainerChild
     Gtk.Alignment w41 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w41.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w42 = new Gtk.HBox();
     w42.Name    = "GtkHBox";
     w42.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w43 = new Gtk.Image();
     w43.Name   = "image39";
     w43.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-rew", 16);
     w42.Add(w43);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w45 = new Gtk.Label();
     w45.Name      = "GtkLabel";
     w45.LabelProp = "";
     w42.Add(w45);
     w41.Add(w42);
     this.rewindButton.Add(w41);
     this.musicButtonBox.Add(this.rewindButton);
     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.rewindButton]));
     w49.Position = 4;
     w49.Expand   = false;
     w49.Fill     = false;
     // Container child musicButtonBox.Gtk.Box+BoxChild
     this.fastfoward              = new Gtk.Button();
     this.fastfoward.CanFocus     = true;
     this.fastfoward.Name         = "fastfoward";
     this.fastfoward.UseUnderline = true;
     // Container child fastfoward.Gtk.Container+ContainerChild
     Gtk.Alignment w50 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w50.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w51 = new Gtk.HBox();
     w51.Name    = "GtkHBox";
     w51.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w52 = new Gtk.Image();
     w52.Name   = "image40";
     w52.Pixbuf = Stetic.IconLoader.LoadIcon("stock_media-fwd", 16);
     w51.Add(w52);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w54 = new Gtk.Label();
     w54.Name      = "GtkLabel";
     w54.LabelProp = "";
     w51.Add(w54);
     w50.Add(w51);
     this.fastfoward.Add(w50);
     this.musicButtonBox.Add(this.fastfoward);
     Gtk.Box.BoxChild w58 = ((Gtk.Box.BoxChild)(this.musicButtonBox[this.fastfoward]));
     w58.Position = 5;
     w58.Expand   = false;
     w58.Fill     = false;
     this.MainFixedWindow.Add(this.musicButtonBox);
     Gtk.Fixed.FixedChild w59 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.musicButtonBox]));
     w59.X = 127;
     w59.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.songProgressBar = new Gtk.ProgressBar();
     this.songProgressBar.WidthRequest = 199;
     this.songProgressBar.Name         = "songProgressBar";
     this.songProgressBar.Text         = Mono.Unix.Catalog.GetString("00:00 / 00:00");
     this.MainFixedWindow.Add(this.songProgressBar);
     Gtk.Fixed.FixedChild w60 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.songProgressBar]));
     w60.X = 132;
     w60.Y = 90;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.volumeScale = new Gtk.HScale(null);
     this.volumeScale.WidthRequest             = 80;
     this.volumeScale.CanFocus                 = true;
     this.volumeScale.Name                     = "volumeScale";
     this.volumeScale.Adjustment.Upper         = 1;
     this.volumeScale.Adjustment.PageIncrement = 0.5;
     this.volumeScale.Adjustment.StepIncrement = 0.1;
     this.volumeScale.Adjustment.Value         = 1;
     this.volumeScale.DrawValue                = false;
     this.volumeScale.Digits                   = 0;
     this.volumeScale.ValuePos                 = ((Gtk.PositionType)(2));
     this.MainFixedWindow.Add(this.volumeScale);
     Gtk.Fixed.FixedChild w61 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeScale]));
     w61.X = 3;
     w61.Y = 126;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.muteButton              = new Gtk.Button();
     this.muteButton.CanFocus     = true;
     this.muteButton.Name         = "muteButton";
     this.muteButton.UseUnderline = true;
     // Container child muteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w62 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w62.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w63 = new Gtk.HBox();
     w63.Name    = "GtkHBox";
     w63.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w64 = new Gtk.Image();
     w64.Name   = "image41";
     w64.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cancel", 16);
     w63.Add(w64);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w66 = new Gtk.Label();
     w66.Name      = "GtkLabel";
     w66.LabelProp = "";
     w63.Add(w66);
     w62.Add(w63);
     this.muteButton.Add(w62);
     this.MainFixedWindow.Add(this.muteButton);
     Gtk.Fixed.FixedChild w70 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.muteButton]));
     w70.X = 90;
     w70.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.volumeButton              = new Gtk.Button();
     this.volumeButton.CanFocus     = true;
     this.volumeButton.Name         = "volumeButton";
     this.volumeButton.UseUnderline = true;
     // Container child volumeButton.Gtk.Container+ContainerChild
     Gtk.Alignment w71 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w71.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w72 = new Gtk.HBox();
     w72.Name    = "GtkHBox";
     w72.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w73 = new Gtk.Image();
     w73.Name   = "image42";
     w73.Pixbuf = Stetic.IconLoader.LoadIcon("stock_volume", 16);
     w72.Add(w73);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w75 = new Gtk.Label();
     w75.Name      = "GtkLabel";
     w75.LabelProp = "";
     w72.Add(w75);
     w71.Add(w72);
     this.volumeButton.Add(w71);
     this.MainFixedWindow.Add(this.volumeButton);
     Gtk.Fixed.FixedChild w79 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.volumeButton]));
     w79.X = 90;
     w79.Y = 120;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.npSong           = new Gtk.Label();
     this.npSong.Name      = "npSong";
     this.npSong.LabelProp = Mono.Unix.Catalog.GetString("Stopped");
     this.npSong.UseMarkup = true;
     this.MainFixedWindow.Add(this.npSong);
     Gtk.Fixed.FixedChild w80 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npSong]));
     w80.X = 115;
     w80.Y = 35;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.npByFrom = new Gtk.Label();
     this.npByFrom.WidthRequest = 231;
     this.npByFrom.Name         = "npByFrom";
     this.npByFrom.LabelProp    = Mono.Unix.Catalog.GetString("       ");
     this.npByFrom.UseMarkup    = true;
     this.npByFrom.Wrap         = true;
     this.MainFixedWindow.Add(this.npByFrom);
     Gtk.Fixed.FixedChild w81 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.npByFrom]));
     w81.X = 121;
     w81.Y = 49;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.albumCoverImage        = new Gtk.Image();
     this.albumCoverImage.Name   = "albumCoverImage";
     this.albumCoverImage.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-cdrom", 48);
     this.MainFixedWindow.Add(this.albumCoverImage);
     Gtk.Fixed.FixedChild w82 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.albumCoverImage]));
     w82.X = 24;
     w82.Y = 62;
     // Container child MainFixedWindow.Gtk.Fixed+FixedChild
     this.tabbedNotebook             = new Gtk.Notebook();
     this.tabbedNotebook.CanFocus    = true;
     this.tabbedNotebook.Name        = "tabbedNotebook";
     this.tabbedNotebook.CurrentPage = 1;
     this.tabbedNotebook.Scrollable  = true;
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.searchVertBox         = new Gtk.VBox();
     this.searchVertBox.Name    = "searchVertBox";
     this.searchVertBox.Spacing = 6;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchTopHorBox             = new Gtk.HBox();
     this.searchTopHorBox.Name        = "searchTopHorBox";
     this.searchTopHorBox.Spacing     = 6;
     this.searchTopHorBox.BorderWidth = ((uint)(4));
     // Container child searchTopHorBox.Gtk.Box+BoxChild
     this.searchSelectionType = Gtk.ComboBox.NewText();
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Song"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Artist"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Album"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Track #"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Year"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Genre"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("Filename"));
     this.searchSelectionType.AppendText(Mono.Unix.Catalog.GetString("All Fields"));
     this.searchSelectionType.WidthRequest = 75;
     this.searchSelectionType.Name         = "searchSelectionType";
     this.searchSelectionType.Active       = 7;
     this.searchTopHorBox.Add(this.searchSelectionType);
     Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchSelectionType]));
     w83.Position = 0;
     w83.Expand   = false;
     w83.Fill     = false;
     // Container child searchTopHorBox.Gtk.Box+BoxChild
     this.searchEntry = new Gtk.Entry();
     this.searchEntry.WidthRequest  = 246;
     this.searchEntry.HeightRequest = 23;
     this.searchEntry.HasDefault    = true;
     this.searchEntry.CanFocus      = true;
     this.searchEntry.Name          = "searchEntry";
     this.searchEntry.IsEditable    = true;
     this.searchEntry.InvisibleChar = '●';
     this.searchTopHorBox.Add(this.searchEntry);
     Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.searchTopHorBox[this.searchEntry]));
     w84.Position = 1;
     this.searchVertBox.Add(this.searchTopHorBox);
     Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchTopHorBox]));
     w85.Position = 0;
     w85.Expand   = false;
     w85.Fill     = false;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchList = new Gtk.ScrolledWindow();
     this.searchList.WidthRequest     = 329;
     this.searchList.HeightRequest    = 358;
     this.searchList.CanFocus         = true;
     this.searchList.Name             = "searchList";
     this.searchList.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.searchList.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child searchList.Gtk.Container+ContainerChild
     this.songListTree             = new Gtk.TreeView();
     this.songListTree.CanFocus    = true;
     this.songListTree.Name        = "songListTree";
     this.songListTree.Reorderable = true;
     this.searchList.Add(this.songListTree);
     this.searchVertBox.Add(this.searchList);
     Gtk.Box.BoxChild w87 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchList]));
     w87.Position = 1;
     // Container child searchVertBox.Gtk.Box+BoxChild
     this.searchBottomHorizonalBox             = new Gtk.HBox();
     this.searchBottomHorizonalBox.Name        = "searchBottomHorizonalBox";
     this.searchBottomHorizonalBox.Spacing     = 6;
     this.searchBottomHorizonalBox.BorderWidth = ((uint)(2));
     // Container child searchBottomHorizonalBox.Gtk.Box+BoxChild
     this.searchAddButton              = new Gtk.Button();
     this.searchAddButton.CanFocus     = true;
     this.searchAddButton.Name         = "searchAddButton";
     this.searchAddButton.UseUnderline = true;
     // Container child searchAddButton.Gtk.Container+ContainerChild
     Gtk.Alignment w88 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w88.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w89 = new Gtk.HBox();
     w89.Name    = "GtkHBox";
     w89.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w90 = new Gtk.Image();
     w90.Name   = "image43";
     w90.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-add", 16);
     w89.Add(w90);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w92 = new Gtk.Label();
     w92.Name         = "GtkLabel";
     w92.LabelProp    = Mono.Unix.Catalog.GetString("Add");
     w92.UseUnderline = true;
     w89.Add(w92);
     w88.Add(w89);
     this.searchAddButton.Add(w88);
     this.searchBottomHorizonalBox.Add(this.searchAddButton);
     Gtk.Box.BoxChild w96 = ((Gtk.Box.BoxChild)(this.searchBottomHorizonalBox[this.searchAddButton]));
     w96.Position = 2;
     w96.Expand   = false;
     w96.Fill     = false;
     this.searchVertBox.Add(this.searchBottomHorizonalBox);
     Gtk.Box.BoxChild w97 = ((Gtk.Box.BoxChild)(this.searchVertBox[this.searchBottomHorizonalBox]));
     w97.Position = 2;
     w97.Expand   = false;
     w97.Fill     = false;
     this.tabbedNotebook.Add(this.searchVertBox);
     Gtk.Notebook.NotebookChild w98 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.searchVertBox]));
     w98.TabExpand = false;
     // Notebook tab
     this.searchMainLabel = new Gtk.Label();
     this.searchMainLabel.WidthRequest = 100;
     this.searchMainLabel.Name         = "searchMainLabel";
     this.searchMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Collection");
     this.tabbedNotebook.SetTabLabel(this.searchVertBox, this.searchMainLabel);
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.queueVertBox             = new Gtk.VBox();
     this.queueVertBox.Name        = "queueVertBox";
     this.queueVertBox.Spacing     = 9;
     this.queueVertBox.BorderWidth = ((uint)(3));
     // Container child queueVertBox.Gtk.Box+BoxChild
     this.queueScrolledList                  = new Gtk.ScrolledWindow();
     this.queueScrolledList.CanFocus         = true;
     this.queueScrolledList.Name             = "queueScrolledList";
     this.queueScrolledList.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.queueScrolledList.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.queueScrolledList.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child queueScrolledList.Gtk.Container+ContainerChild
     this.queueTreeView          = new Gtk.TreeView();
     this.queueTreeView.CanFocus = true;
     this.queueTreeView.Name     = "queueTreeView";
     this.queueScrolledList.Add(this.queueTreeView);
     this.queueVertBox.Add(this.queueScrolledList);
     Gtk.Box.BoxChild w100 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueScrolledList]));
     w100.Position = 0;
     // Container child queueVertBox.Gtk.Box+BoxChild
     this.queueBottomHorBox         = new Gtk.HBox();
     this.queueBottomHorBox.Name    = "queueBottomHorBox";
     this.queueBottomHorBox.Spacing = 6;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueNewPlaylist          = new Gtk.Button();
     this.queueNewPlaylist.CanFocus = true;
     this.queueNewPlaylist.Name     = "queueNewPlaylist";
     // Container child queueNewPlaylist.Gtk.Container+ContainerChild
     Gtk.Alignment w101 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w101.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w102 = new Gtk.HBox();
     w102.Name    = "GtkHBox";
     w102.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w103 = new Gtk.Image();
     w103.Name   = "image44";
     w103.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16);
     w102.Add(w103);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w105 = new Gtk.Label();
     w105.Name      = "GtkLabel";
     w105.LabelProp = "";
     w102.Add(w105);
     w101.Add(w102);
     this.queueNewPlaylist.Add(w101);
     this.queueBottomHorBox.Add(this.queueNewPlaylist);
     Gtk.Box.BoxChild w109 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueNewPlaylist]));
     w109.Position = 0;
     w109.Expand   = false;
     w109.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueDeleteButton              = new Gtk.Button();
     this.queueDeleteButton.CanFocus     = true;
     this.queueDeleteButton.Name         = "queueDeleteButton";
     this.queueDeleteButton.UseUnderline = true;
     // Container child queueDeleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w110 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w110.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w111 = new Gtk.HBox();
     w111.Name    = "GtkHBox";
     w111.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w112 = new Gtk.Image();
     w112.Name   = "image45";
     w112.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16);
     w111.Add(w112);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w114 = new Gtk.Label();
     w114.Name      = "GtkLabel";
     w114.LabelProp = "";
     w111.Add(w114);
     w110.Add(w111);
     this.queueDeleteButton.Add(w110);
     this.queueBottomHorBox.Add(this.queueDeleteButton);
     Gtk.Box.BoxChild w118 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueDeleteButton]));
     w118.Position = 1;
     w118.Expand   = false;
     w118.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Playlist Name");
     this.queueBottomHorBox.Add(this.label4);
     Gtk.Box.BoxChild w119 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.label4]));
     w119.Position = 2;
     w119.Expand   = false;
     w119.Fill     = false;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueEntryBox = new Gtk.Entry();
     this.queueEntryBox.WidthRequest  = 3;
     this.queueEntryBox.CanFocus      = true;
     this.queueEntryBox.Name          = "queueEntryBox";
     this.queueEntryBox.IsEditable    = true;
     this.queueEntryBox.InvisibleChar = '●';
     this.queueBottomHorBox.Add(this.queueEntryBox);
     Gtk.Box.BoxChild w120 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueEntryBox]));
     w120.Position = 3;
     // Container child queueBottomHorBox.Gtk.Box+BoxChild
     this.queueSaveButton              = new Gtk.Button();
     this.queueSaveButton.CanFocus     = true;
     this.queueSaveButton.Name         = "queueSaveButton";
     this.queueSaveButton.UseUnderline = true;
     this.queueSaveButton.Label        = Mono.Unix.Catalog.GetString("Save");
     this.queueBottomHorBox.Add(this.queueSaveButton);
     Gtk.Box.BoxChild w121 = ((Gtk.Box.BoxChild)(this.queueBottomHorBox[this.queueSaveButton]));
     w121.Position = 4;
     w121.Expand   = false;
     w121.Fill     = false;
     this.queueVertBox.Add(this.queueBottomHorBox);
     Gtk.Box.BoxChild w122 = ((Gtk.Box.BoxChild)(this.queueVertBox[this.queueBottomHorBox]));
     w122.Position = 1;
     w122.Expand   = false;
     w122.Fill     = false;
     this.tabbedNotebook.Add(this.queueVertBox);
     Gtk.Notebook.NotebookChild w123 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.queueVertBox]));
     w123.Position  = 1;
     w123.TabExpand = false;
     // Notebook tab
     this.queueMainLabel = new Gtk.Label();
     this.queueMainLabel.WidthRequest = 100;
     this.queueMainLabel.Name         = "queueMainLabel";
     this.queueMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Current Songs");
     this.tabbedNotebook.SetTabLabel(this.queueVertBox, this.queueMainLabel);
     // Container child tabbedNotebook.Gtk.Notebook+NotebookChild
     this.playlistVertBox             = new Gtk.VBox();
     this.playlistVertBox.Name        = "playlistVertBox";
     this.playlistVertBox.Spacing     = 6;
     this.playlistVertBox.BorderWidth = ((uint)(3));
     // Container child playlistVertBox.Gtk.Box+BoxChild
     this.playListScrolledWindow                  = new Gtk.ScrolledWindow();
     this.playListScrolledWindow.CanFocus         = true;
     this.playListScrolledWindow.Name             = "playListScrolledWindow";
     this.playListScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.playListScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.playListScrolledWindow.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child playListScrolledWindow.Gtk.Container+ContainerChild
     this.playListTreeView          = new Gtk.TreeView();
     this.playListTreeView.CanFocus = true;
     this.playListTreeView.Name     = "playListTreeView";
     this.playListScrolledWindow.Add(this.playListTreeView);
     this.playlistVertBox.Add(this.playListScrolledWindow);
     Gtk.Box.BoxChild w125 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListScrolledWindow]));
     w125.Position = 0;
     // Container child playlistVertBox.Gtk.Box+BoxChild
     this.playListBottomBox         = new Gtk.HBox();
     this.playListBottomBox.Name    = "playListBottomBox";
     this.playListBottomBox.Spacing = 6;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListNewButton              = new Gtk.Button();
     this.playListNewButton.CanFocus     = true;
     this.playListNewButton.Name         = "playListNewButton";
     this.playListNewButton.UseUnderline = true;
     // Container child playListNewButton.Gtk.Container+ContainerChild
     Gtk.Alignment w126 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w126.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w127 = new Gtk.HBox();
     w127.Name    = "GtkHBox";
     w127.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w128 = new Gtk.Image();
     w128.Name   = "image46";
     w128.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-file", 16);
     w127.Add(w128);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w130 = new Gtk.Label();
     w130.Name         = "GtkLabel";
     w130.LabelProp    = Mono.Unix.Catalog.GetString("New");
     w130.UseUnderline = true;
     w127.Add(w130);
     w126.Add(w127);
     this.playListNewButton.Add(w126);
     this.playListBottomBox.Add(this.playListNewButton);
     Gtk.Box.BoxChild w134 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListNewButton]));
     w134.Position = 0;
     w134.Expand   = false;
     w134.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListLoadButton              = new Gtk.Button();
     this.playListLoadButton.CanFocus     = true;
     this.playListLoadButton.Name         = "playListLoadButton";
     this.playListLoadButton.UseUnderline = true;
     // Container child playListLoadButton.Gtk.Container+ContainerChild
     Gtk.Alignment w135 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w135.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w136 = new Gtk.HBox();
     w136.Name    = "GtkHBox";
     w136.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w137 = new Gtk.Image();
     w137.Name   = "image47";
     w137.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-directory", 16);
     w136.Add(w137);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w139 = new Gtk.Label();
     w139.Name         = "GtkLabel";
     w139.LabelProp    = Mono.Unix.Catalog.GetString("Load");
     w139.UseUnderline = true;
     w136.Add(w139);
     w135.Add(w136);
     this.playListLoadButton.Add(w135);
     this.playListBottomBox.Add(this.playListLoadButton);
     Gtk.Box.BoxChild w143 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListLoadButton]));
     w143.Position = 1;
     w143.Expand   = false;
     w143.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playlistRenameButton              = new Gtk.Button();
     this.playlistRenameButton.CanFocus     = true;
     this.playlistRenameButton.Name         = "playlistRenameButton";
     this.playlistRenameButton.UseUnderline = true;
     // Container child playlistRenameButton.Gtk.Container+ContainerChild
     Gtk.Alignment w144 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w144.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w145 = new Gtk.HBox();
     w145.Name    = "GtkHBox";
     w145.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w146 = new Gtk.Image();
     w146.Name   = "image48";
     w146.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-edit", 16);
     w145.Add(w146);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w148 = new Gtk.Label();
     w148.Name         = "GtkLabel";
     w148.LabelProp    = Mono.Unix.Catalog.GetString("Edit");
     w148.UseUnderline = true;
     w145.Add(w148);
     w144.Add(w145);
     this.playlistRenameButton.Add(w144);
     this.playListBottomBox.Add(this.playlistRenameButton);
     Gtk.Box.BoxChild w152 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playlistRenameButton]));
     w152.Position = 2;
     w152.Expand   = false;
     w152.Fill     = false;
     // Container child playListBottomBox.Gtk.Box+BoxChild
     this.playListDeleteButton              = new Gtk.Button();
     this.playListDeleteButton.CanFocus     = true;
     this.playListDeleteButton.Name         = "playListDeleteButton";
     this.playListDeleteButton.UseUnderline = true;
     // Container child playListDeleteButton.Gtk.Container+ContainerChild
     Gtk.Alignment w153 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     w153.Name = "GtkAlignment";
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w154 = new Gtk.HBox();
     w154.Name    = "GtkHBox";
     w154.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w155 = new Gtk.Image();
     w155.Name   = "image49";
     w155.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-delete", 16);
     w154.Add(w155);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w157 = new Gtk.Label();
     w157.Name         = "GtkLabel";
     w157.LabelProp    = Mono.Unix.Catalog.GetString("Delete");
     w157.UseUnderline = true;
     w154.Add(w157);
     w153.Add(w154);
     this.playListDeleteButton.Add(w153);
     this.playListBottomBox.Add(this.playListDeleteButton);
     Gtk.Box.BoxChild w161 = ((Gtk.Box.BoxChild)(this.playListBottomBox[this.playListDeleteButton]));
     w161.Position = 3;
     w161.Expand   = false;
     w161.Fill     = false;
     this.playlistVertBox.Add(this.playListBottomBox);
     Gtk.Box.BoxChild w162 = ((Gtk.Box.BoxChild)(this.playlistVertBox[this.playListBottomBox]));
     w162.PackType = ((Gtk.PackType)(1));
     w162.Position = 1;
     w162.Expand   = false;
     w162.Fill     = false;
     this.tabbedNotebook.Add(this.playlistVertBox);
     Gtk.Notebook.NotebookChild w163 = ((Gtk.Notebook.NotebookChild)(this.tabbedNotebook[this.playlistVertBox]));
     w163.Position  = 2;
     w163.TabExpand = false;
     // Notebook tab
     this.playListMainLabel = new Gtk.Label();
     this.playListMainLabel.WidthRequest = 100;
     this.playListMainLabel.Name         = "playListMainLabel";
     this.playListMainLabel.LabelProp    = Mono.Unix.Catalog.GetString("Playlists");
     this.tabbedNotebook.SetTabLabel(this.playlistVertBox, this.playListMainLabel);
     this.MainFixedWindow.Add(this.tabbedNotebook);
     Gtk.Fixed.FixedChild w164 = ((Gtk.Fixed.FixedChild)(this.MainFixedWindow[this.tabbedNotebook]));
     w164.X = 10;
     w164.Y = 159;
     this.Add(this.MainFixedWindow);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 562;
     this.DefaultHeight = 662;
     this.muteButton.Hide();
     this.Show();
     this.DeleteEvent                  += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.AddFolder.Activated          += new System.EventHandler(this.OnAddFolderActivated);
     this.NewCollection.Activated      += new System.EventHandler(this.OnNewCollectionActivated);
     this.Preferences.Activated        += new System.EventHandler(this.OnPreferencesActivated);
     this.Exit1.Activated              += new System.EventHandler(this.OnExit1Activated);
     this.AddFile.Activated            += new System.EventHandler(this.OnAddFileActivated);
     this.About3.Activated             += new System.EventHandler(this.OnAbout3Activated);
     this.playButton.Clicked           += new System.EventHandler(this.OnPlayButtonClicked);
     this.stopButton.Clicked           += new System.EventHandler(this.OnStopButtonClicked);
     this.previousButton.Clicked       += new System.EventHandler(this.OnPreviousButtonClicked);
     this.nextButton.Clicked           += new System.EventHandler(this.OnNextButtonClicked);
     this.rewindButton.Clicked         += new System.EventHandler(this.OnRewindClicked);
     this.fastfoward.Clicked           += new System.EventHandler(this.OnFastfowardClicked);
     this.volumeScale.ValueChanged     += new System.EventHandler(this.OnVolumeScaleValueChanged);
     this.muteButton.Clicked           += new System.EventHandler(this.OnMuteButtonClicked);
     this.volumeButton.Clicked         += new System.EventHandler(this.OnVolumeButtonClicked);
     this.searchAddButton.Clicked      += new System.EventHandler(this.OnSearchAddButtonClicked);
     this.queueNewPlaylist.Clicked     += new System.EventHandler(this.OnQueueNewPlaylistClicked);
     this.queueDeleteButton.Clicked    += new System.EventHandler(this.OnQueueDeleteButtonClicked);
     this.queueSaveButton.Clicked      += new System.EventHandler(this.OnQueueSaveButtonClicked);
     this.playListNewButton.Clicked    += new System.EventHandler(this.OnPlayListNewButtonClicked);
     this.playListLoadButton.Clicked   += new System.EventHandler(this.OnPlayListLoadButtonClicked);
     this.playListDeleteButton.Clicked += new System.EventHandler(this.OnPlayListDeleteButtonClicked);
 }
Example #11
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget Mono.Addins.Gui.AddinInstallDialog
     this.Name          = "Mono.Addins.Gui.AddinInstallDialog";
     this.Title         = Mono.Unix.Catalog.GetString("Add-in Installation");
     this.TypeHint      = ((Gdk.WindowTypeHint)(1));
     this.Modal         = true;
     this.DefaultWidth  = 725;
     this.DefaultHeight = 550;
     // Internal child Mono.Addins.Gui.AddinInstallDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog-vbox9";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog-vbox9.Gtk.Box+BoxChild
     this.wizardNotebook             = new Gtk.Notebook();
     this.wizardNotebook.CanFocus    = true;
     this.wizardNotebook.Name        = "wizardNotebook";
     this.wizardNotebook.CurrentPage = 0;
     this.wizardNotebook.ShowBorder  = false;
     this.wizardNotebook.BorderWidth = ((uint)(12));
     // Container child wizardNotebook.Gtk.Notebook+NotebookChild
     this.vbox82         = new Gtk.VBox();
     this.vbox82.Name    = "vbox82";
     this.vbox82.Spacing = 12;
     // Container child vbox82.Gtk.Box+BoxChild
     this.label113           = new Gtk.Label();
     this.label113.Name      = "label113";
     this.label113.Xalign    = 0F;
     this.label113.LabelProp = Mono.Unix.Catalog.GetString("<b>Select the add-ins to install and click on Next</b>");
     this.label113.UseMarkup = true;
     this.vbox82.Add(this.label113);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox82[this.label113]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox82.Gtk.Box+BoxChild
     this.hbox66         = new Gtk.HBox();
     this.hbox66.Name    = "hbox66";
     this.hbox66.Spacing = 6;
     // Container child hbox66.Gtk.Box+BoxChild
     this.label112           = new Gtk.Label();
     this.label112.Name      = "label112";
     this.label112.LabelProp = Mono.Unix.Catalog.GetString("Install from:");
     this.hbox66.Add(this.label112);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox66[this.label112]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox66.Gtk.Box+BoxChild
     this.repoCombo      = new Gtk.ComboBox();
     this.repoCombo.Name = "repoCombo";
     this.hbox66.Add(this.repoCombo);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox66[this.repoCombo]));
     w4.Position = 1;
     // Container child hbox66.Gtk.Box+BoxChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseStock     = true;
     this.button1.UseUnderline = true;
     this.button1.Label        = "gtk-refresh";
     this.hbox66.Add(this.button1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox66[this.button1]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox66.Gtk.Box+BoxChild
     this.btnManageSites              = new Gtk.Button();
     this.btnManageSites.CanFocus     = true;
     this.btnManageSites.Name         = "btnManageSites";
     this.btnManageSites.UseUnderline = true;
     this.btnManageSites.Label        = Mono.Unix.Catalog.GetString("_Repositories...");
     this.hbox66.Add(this.btnManageSites);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox66[this.btnManageSites]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     this.vbox82.Add(this.hbox66);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox66]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox82.Gtk.Box+BoxChild
     this.hbox70         = new Gtk.HBox();
     this.hbox70.Name    = "hbox70";
     this.hbox70.Spacing = 12;
     // Container child hbox70.Gtk.Box+BoxChild
     this.vbox92         = new Gtk.VBox();
     this.vbox92.Name    = "vbox92";
     this.vbox92.Spacing = 6;
     // Container child vbox92.Gtk.Box+BoxChild
     this.scrolledwindow18                  = new Gtk.ScrolledWindow();
     this.scrolledwindow18.CanFocus         = true;
     this.scrolledwindow18.Name             = "scrolledwindow18";
     this.scrolledwindow18.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow18.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow18.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow18.Gtk.Container+ContainerChild
     this.addinTree          = new Gtk.TreeView();
     this.addinTree.CanFocus = true;
     this.addinTree.Name     = "addinTree";
     this.scrolledwindow18.Add(this.addinTree);
     this.vbox92.Add(this.scrolledwindow18);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox92[this.scrolledwindow18]));
     w9.Position = 0;
     // Container child vbox92.Gtk.Box+BoxChild
     this.hbox83         = new Gtk.HBox();
     this.hbox83.Name    = "hbox83";
     this.hbox83.Spacing = 6;
     // Container child hbox83.Gtk.Box+BoxChild
     this.filterComboBox = Gtk.ComboBox.NewText();
     this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show all packages"));
     this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show new versions only"));
     this.filterComboBox.AppendText(Mono.Unix.Catalog.GetString("Show updates only"));
     this.filterComboBox.Name = "filterComboBox";
     this.hbox83.Add(this.filterComboBox);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox83[this.filterComboBox]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox83.Gtk.Box+BoxChild
     this.btnInfo              = new Gtk.Button();
     this.btnInfo.CanFocus     = true;
     this.btnInfo.Name         = "btnInfo";
     this.btnInfo.UseStock     = true;
     this.btnInfo.UseUnderline = true;
     this.btnInfo.Label        = "gtk-dialog-info";
     this.hbox83.Add(this.btnInfo);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnInfo]));
     w11.PackType = ((Gtk.PackType)(1));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox83.Gtk.Box+BoxChild
     this.btnUnselectAll              = new Gtk.Button();
     this.btnUnselectAll.CanFocus     = true;
     this.btnUnselectAll.Name         = "btnUnselectAll";
     this.btnUnselectAll.UseUnderline = true;
     this.btnUnselectAll.Label        = Mono.Unix.Catalog.GetString("_Unselect All");
     this.hbox83.Add(this.btnUnselectAll);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnUnselectAll]));
     w12.PackType = ((Gtk.PackType)(1));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child hbox83.Gtk.Box+BoxChild
     this.btnSelectAll              = new Gtk.Button();
     this.btnSelectAll.CanFocus     = true;
     this.btnSelectAll.Name         = "btnSelectAll";
     this.btnSelectAll.UseUnderline = true;
     this.btnSelectAll.Label        = Mono.Unix.Catalog.GetString("Select _All");
     this.hbox83.Add(this.btnSelectAll);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox83[this.btnSelectAll]));
     w13.PackType = ((Gtk.PackType)(1));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox92.Add(this.hbox83);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox92[this.hbox83]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.hbox70.Add(this.vbox92);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox70[this.vbox92]));
     w15.Position = 0;
     this.vbox82.Add(this.hbox70);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox82[this.hbox70]));
     w16.Position = 2;
     this.wizardNotebook.Add(this.vbox82);
     Gtk.Notebook.NotebookChild w17 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox82]));
     w17.TabExpand = false;
     // Notebook tab
     this.label108           = new Gtk.Label();
     this.label108.Name      = "label108";
     this.label108.LabelProp = "label108";
     this.wizardNotebook.SetTabLabel(this.vbox82, this.label108);
     // Container child wizardNotebook.Gtk.Notebook+NotebookChild
     this.scrolledwindow19                  = new Gtk.ScrolledWindow();
     this.scrolledwindow19.CanFocus         = true;
     this.scrolledwindow19.Name             = "scrolledwindow19";
     this.scrolledwindow19.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow19.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     // Container child scrolledwindow19.Gtk.Container+ContainerChild
     Gtk.Viewport w18 = new Gtk.Viewport();
     w18.Name = "viewport1";
     // Container child viewport1.Gtk.Container+ContainerChild
     this.hbox82             = new Gtk.HBox();
     this.hbox82.Name        = "hbox82";
     this.hbox82.Spacing     = 12;
     this.hbox82.BorderWidth = ((uint)(12));
     // Container child hbox82.Gtk.Box+BoxChild
     this.imageInstall        = new Gtk.Image();
     this.imageInstall.Name   = "imageInstall";
     this.imageInstall.Xalign = 0F;
     this.imageInstall.Yalign = 0F;
     this.imageInstall.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-warning", 48);
     this.hbox82.Add(this.imageInstall);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox82[this.imageInstall]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox82.Gtk.Box+BoxChild
     this.labelSummary           = new Gtk.Label();
     this.labelSummary.Name      = "labelSummary";
     this.labelSummary.Xpad      = 6;
     this.labelSummary.Ypad      = 6;
     this.labelSummary.Xalign    = 0F;
     this.labelSummary.Yalign    = 0F;
     this.labelSummary.LabelProp = "<b>The following add-ins will be installed:</b>\n\nC# language binding\nC# language IDE extension\n\n<b>The following add-ins are required by the selected add-ins</b>\n\nNUnit add-in\nNAnt add-in\n\nasd\nasd\na\nsd\nasd\nasd\na\nsda\nsd\nas\nda\nsd\nasd\n";
     this.labelSummary.UseMarkup = true;
     this.labelSummary.Wrap      = true;
     this.hbox82.Add(this.labelSummary);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox82[this.labelSummary]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     w18.Add(this.hbox82);
     this.scrolledwindow19.Add(w18);
     this.wizardNotebook.Add(this.scrolledwindow19);
     Gtk.Notebook.NotebookChild w23 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow19]));
     w23.Position  = 1;
     w23.TabExpand = false;
     // Notebook tab
     this.label124           = new Gtk.Label();
     this.label124.Name      = "label124";
     this.label124.LabelProp = Mono.Unix.Catalog.GetString("label124");
     this.wizardNotebook.SetTabLabel(this.scrolledwindow19, this.label124);
     // Container child wizardNotebook.Gtk.Notebook+NotebookChild
     this.vbox86             = new Gtk.VBox();
     this.vbox86.Name        = "vbox86";
     this.vbox86.Spacing     = 6;
     this.vbox86.BorderWidth = ((uint)(116));
     // Container child vbox86.Gtk.Box+BoxChild
     this.label126           = new Gtk.Label();
     this.label126.Name      = "label126";
     this.label126.Xalign    = 0F;
     this.label126.LabelProp = Mono.Unix.Catalog.GetString("Overall Progress:");
     this.vbox86.Add(this.label126);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox86[this.label126]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child vbox86.Gtk.Box+BoxChild
     this.mainProgressBar           = new Gtk.ProgressBar();
     this.mainProgressBar.Name      = "mainProgressBar";
     this.mainProgressBar.PulseStep = 0.10000000149;
     this.vbox86.Add(this.mainProgressBar);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox86[this.mainProgressBar]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox86.Gtk.Box+BoxChild
     this.label129           = new Gtk.Label();
     this.label129.Name      = "label129";
     this.label129.LabelProp = "";
     this.vbox86.Add(this.label129);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox86[this.label129]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox86.Gtk.Box+BoxChild
     this.progressLabel           = new Gtk.Label();
     this.progressLabel.Name      = "progressLabel";
     this.progressLabel.Xalign    = 0F;
     this.progressLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloading add-ins...");
     this.vbox86.Add(this.progressLabel);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressLabel]));
     w27.Position = 3;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox86.Gtk.Box+BoxChild
     this.progressBar           = new Gtk.ProgressBar();
     this.progressBar.Name      = "progressBar";
     this.progressBar.PulseStep = 0.10000000149;
     this.vbox86.Add(this.progressBar);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox86[this.progressBar]));
     w28.Position = 4;
     w28.Expand   = false;
     w28.Fill     = false;
     this.wizardNotebook.Add(this.vbox86);
     Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.vbox86]));
     w29.Position  = 2;
     w29.TabExpand = false;
     // Notebook tab
     this.label110           = new Gtk.Label();
     this.label110.Name      = "label110";
     this.label110.LabelProp = "label110";
     this.wizardNotebook.SetTabLabel(this.vbox86, this.label110);
     // Container child wizardNotebook.Gtk.Notebook+NotebookChild
     this.scrolledwindow20                  = new Gtk.ScrolledWindow();
     this.scrolledwindow20.CanFocus         = true;
     this.scrolledwindow20.Name             = "scrolledwindow20";
     this.scrolledwindow20.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow20.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     // Container child scrolledwindow20.Gtk.Container+ContainerChild
     Gtk.Viewport w30 = new Gtk.Viewport();
     w30.Name = "viewport3";
     // Container child viewport3.Gtk.Container+ContainerChild
     this.vbox91      = new Gtk.VBox();
     this.vbox91.Name = "vbox91";
     // Container child vbox91.Gtk.Box+BoxChild
     this.label130           = new Gtk.Label();
     this.label130.Name      = "label130";
     this.label130.LabelProp = "";
     this.vbox91.Add(this.label130);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox91[this.label130]));
     w31.Position = 0;
     // Container child vbox91.Gtk.Box+BoxChild
     this.imageError        = new Gtk.Image();
     this.imageError.Name   = "imageError";
     this.imageError.Yalign = 1F;
     this.imageError.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-error", 48);
     this.vbox91.Add(this.imageError);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageError]));
     w32.Position = 1;
     w32.Expand   = false;
     w32.Fill     = false;
     w32.Padding  = ((uint)(5));
     // Container child vbox91.Gtk.Box+BoxChild
     this.imageInfo        = new Gtk.Image();
     this.imageInfo.Name   = "imageInfo";
     this.imageInfo.Yalign = 1F;
     this.imageInfo.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-dialog-info", 48);
     this.vbox91.Add(this.imageInfo);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox91[this.imageInfo]));
     w33.Position = 2;
     w33.Expand   = false;
     w33.Fill     = false;
     // Container child vbox91.Gtk.Box+BoxChild
     this.hbox71      = new Gtk.HBox();
     this.hbox71.Name = "hbox71";
     // Container child hbox71.Gtk.Box+BoxChild
     this.labelResult = new Gtk.Label();
     this.labelResult.WidthRequest = 450;
     this.labelResult.Name         = "labelResult";
     this.labelResult.Ypad         = 9;
     this.labelResult.Yalign       = 0F;
     this.labelResult.LabelProp    = "Done";
     this.labelResult.UseMarkup    = true;
     this.labelResult.Wrap         = true;
     this.labelResult.Justify      = ((Gtk.Justification)(2));
     this.hbox71.Add(this.labelResult);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox71[this.labelResult]));
     w34.PackType = ((Gtk.PackType)(1));
     w34.Position = 0;
     this.vbox91.Add(this.hbox71);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox91[this.hbox71]));
     w35.Position = 3;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox91.Gtk.Box+BoxChild
     this.label131           = new Gtk.Label();
     this.label131.Name      = "label131";
     this.label131.LabelProp = "";
     this.vbox91.Add(this.label131);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.vbox91[this.label131]));
     w36.Position = 4;
     w30.Add(this.vbox91);
     this.scrolledwindow20.Add(w30);
     this.wizardNotebook.Add(this.scrolledwindow20);
     Gtk.Notebook.NotebookChild w39 = ((Gtk.Notebook.NotebookChild)(this.wizardNotebook[this.scrolledwindow20]));
     w39.Position  = 3;
     w39.TabExpand = false;
     // Notebook tab
     this.label111           = new Gtk.Label();
     this.label111.Name      = "label111";
     this.label111.LabelProp = "label111";
     this.wizardNotebook.SetTabLabel(this.scrolledwindow20, this.label111);
     w1.Add(this.wizardNotebook);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(w1[this.wizardNotebook]));
     w40.Position = 0;
     // Container child dialog-vbox9.Gtk.Box+BoxChild
     this.dialog_action_area9             = new Gtk.HButtonBox();
     this.dialog_action_area9.Name        = "dialog_action_area9";
     this.dialog_action_area9.Spacing     = 9;
     this.dialog_action_area9.BorderWidth = ((uint)(6));
     this.dialog_action_area9.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild
     this.btnCancel              = new Gtk.Button();
     this.btnCancel.CanDefault   = true;
     this.btnCancel.CanFocus     = true;
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.UseStock     = true;
     this.btnCancel.UseUnderline = true;
     this.btnCancel.Label        = "gtk-cancel";
     this.dialog_action_area9.Add(this.btnCancel);
     // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild
     this.btnPrev              = new Gtk.Button();
     this.btnPrev.CanDefault   = true;
     this.btnPrev.CanFocus     = true;
     this.btnPrev.Name         = "btnPrev";
     this.btnPrev.UseStock     = true;
     this.btnPrev.UseUnderline = true;
     this.btnPrev.Label        = "gtk-go-back";
     this.dialog_action_area9.Add(this.btnPrev);
     Gtk.ButtonBox.ButtonBoxChild w42 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnPrev]));
     w42.Position = 1;
     // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild
     this.btnNext              = new Gtk.Button();
     this.btnNext.CanDefault   = true;
     this.btnNext.CanFocus     = true;
     this.btnNext.Name         = "btnNext";
     this.btnNext.UseStock     = true;
     this.btnNext.UseUnderline = true;
     this.btnNext.Label        = "gtk-go-forward";
     this.dialog_action_area9.Add(this.btnNext);
     Gtk.ButtonBox.ButtonBoxChild w43 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnNext]));
     w43.Position = 2;
     // Container child dialog_action_area9.Gtk.ButtonBox+ButtonBoxChild
     this.btnOk              = new Gtk.Button();
     this.btnOk.CanDefault   = true;
     this.btnOk.CanFocus     = true;
     this.btnOk.Name         = "btnOk";
     this.btnOk.UseStock     = true;
     this.btnOk.UseUnderline = true;
     this.btnOk.Label        = "gtk-ok";
     this.dialog_action_area9.Add(this.btnOk);
     Gtk.ButtonBox.ButtonBoxChild w44 = ((Gtk.ButtonBox.ButtonBoxChild)(this.dialog_action_area9[this.btnOk]));
     w44.Position = 3;
     w1.Add(this.dialog_action_area9);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[this.dialog_action_area9]));
     w45.PackType = ((Gtk.PackType)(1));
     w45.Position = 2;
     w45.Expand   = false;
     w45.Fill     = false;
     // Container child dialog-vbox9.Gtk.Box+BoxChild
     this.hseparator3      = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     w1.Add(this.hseparator3);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(w1[this.hseparator3]));
     w46.PackType = ((Gtk.PackType)(1));
     w46.Position = 3;
     w46.Expand   = false;
     w46.Fill     = false;
     // Internal child Mono.Addins.Gui.AddinInstallDialog.ActionArea
     Gtk.HButtonBox w47 = this.ActionArea;
     w47.Name        = "hbuttonbox1";
     w47.Spacing     = 10;
     w47.BorderWidth = ((uint)(5));
     w47.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.repoCombo.Changed       += new System.EventHandler(this.OnRepoChanged);
     this.button1.Clicked         += new System.EventHandler(this.OnUpdateRepo);
     this.btnManageSites.Clicked  += new System.EventHandler(this.OnManageSites);
     this.addinTree.CursorChanged += new System.EventHandler(this.OnActiveAddinChanged);
     this.filterComboBox.Changed  += new System.EventHandler(this.OnFilterChanged);
     this.btnSelectAll.Clicked    += new System.EventHandler(this.OnSelectAll);
     this.btnUnselectAll.Clicked  += new System.EventHandler(this.OnUnselectAll);
     this.btnInfo.Clicked         += new System.EventHandler(this.OnShowInfo);
     this.btnCancel.Clicked       += new System.EventHandler(this.OnCancel);
     this.btnPrev.Clicked         += new System.EventHandler(this.OnPrevPage);
     this.btnNext.Clicked         += new System.EventHandler(this.OnNextPage);
     this.btnOk.Clicked           += new System.EventHandler(this.OnOk);
 }
Example #12
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget CBinding.EditPackagesDialog
     this.Name  = "CBinding.EditPackagesDialog";
     this.Title = Mono.Unix.Catalog.GetString("Edit packages");
     this.Modal = true;
     // Internal child CBinding.EditPackagesDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.vpaned1             = new Gtk.VPaned();
     this.vpaned1.CanFocus    = true;
     this.vpaned1.Name        = "vpaned1";
     this.vpaned1.Position    = 183;
     this.vpaned1.BorderWidth = ((uint)(6));
     // Container child vpaned1.Gtk.Paned+PanedChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow1                  = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.normalPackageTreeView                  = new Gtk.TreeView();
     this.normalPackageTreeView.CanFocus         = true;
     this.normalPackageTreeView.Name             = "normalPackageTreeView";
     this.normalPackageTreeView.HeadersClickable = true;
     this.scrolledwindow1.Add(this.normalPackageTreeView);
     this.notebook1.Add(this.scrolledwindow1);
     Gtk.Notebook.NotebookChild w3 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow1]));
     w3.TabExpand = false;
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("System Packages");
     this.notebook1.SetTabLabel(this.scrolledwindow1, this.label1);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow3                  = new Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus         = true;
     this.scrolledwindow3.Name             = "scrolledwindow3";
     this.scrolledwindow3.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow3.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow3.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.projectPackageTreeView                  = new Gtk.TreeView();
     this.projectPackageTreeView.CanFocus         = true;
     this.projectPackageTreeView.Name             = "projectPackageTreeView";
     this.projectPackageTreeView.HeadersClickable = true;
     this.scrolledwindow3.Add(this.projectPackageTreeView);
     this.notebook1.Add(this.scrolledwindow3);
     Gtk.Notebook.NotebookChild w5 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow3]));
     w5.Position  = 1;
     w5.TabExpand = false;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Project Packages");
     this.notebook1.SetTabLabel(this.scrolledwindow3, this.label2);
     this.vpaned1.Add(this.notebook1);
     Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.notebook1]));
     w6.Resize = false;
     // Container child vpaned1.Gtk.Paned+PanedChild
     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.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.Yalign    = 0F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Selected packages:");
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.scrolledwindow2                  = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus         = true;
     this.scrolledwindow2.Name             = "scrolledwindow2";
     this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.selectedPackagesTreeView                  = new Gtk.TreeView();
     this.selectedPackagesTreeView.CanFocus         = true;
     this.selectedPackagesTreeView.Name             = "selectedPackagesTreeView";
     this.selectedPackagesTreeView.HeadersClickable = true;
     this.scrolledwindow2.Add(this.selectedPackagesTreeView);
     this.table1.Add(this.scrolledwindow2);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.scrolledwindow2]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.removeButton = new Gtk.Button();
     Gtk.Tooltips w10 = new Gtk.Tooltips();
     w10.SetTip(this.removeButton, "Remove selected package from the project.", "Remove selected package from the project.");
     this.removeButton.WidthRequest  = 33;
     this.removeButton.HeightRequest = 33;
     this.removeButton.Sensitive     = false;
     this.removeButton.CanFocus      = true;
     this.removeButton.Name          = "removeButton";
     this.removeButton.UseUnderline  = true;
     // Container child removeButton.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-remove", Gtk.IconSize.Menu, 16);
     w12.Add(w13);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w15 = new Gtk.Label();
     w15.LabelProp = "";
     w12.Add(w15);
     w11.Add(w12);
     this.removeButton.Add(w11);
     this.vbox2.Add(this.removeButton);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox2[this.removeButton]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     this.table1.Add(this.vbox2);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.vbox2]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((Gtk.AttachOptions)(4));
     this.vpaned1.Add(this.table1);
     w1.Add(this.vpaned1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(w1[this.vpaned1]));
     w22.Position = 0;
     w22.Padding  = ((uint)(3));
     // Internal child CBinding.EditPackagesDialog.ActionArea
     Gtk.HButtonBox w23 = this.ActionArea;
     w23.Name        = "dialog1_ActionArea";
     w23.Spacing     = 6;
     w23.BorderWidth = ((uint)(5));
     w23.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 w24 = ((Gtk.ButtonBox.ButtonBoxChild)(w23[this.buttonCancel]));
     w24.Expand = false;
     w24.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 w25 = ((Gtk.ButtonBox.ButtonBoxChild)(w23[this.buttonOk]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 580;
     this.DefaultHeight = 449;
     this.Show();
     this.removeButton.Clicked += new System.EventHandler(this.OnRemoveButtonClicked);
     this.removeButton.Clicked += new System.EventHandler(this.OnRemoveButtonClick);
     this.selectedPackagesTreeView.CursorChanged += new System.EventHandler(this.OnSelectedPackagesTreeViewCursorChanged);
     this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelButtonClick);
     this.buttonOk.Clicked     += new System.EventHandler(this.OnOkButtonClick);
 }
Example #13
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Do.FilesAndFolders.Configuration
     Stetic.BinContainer.Attach(this);
     this.Name = "Do.FilesAndFolders.Configuration";
     // Container child Do.FilesAndFolders.Configuration.Gtk.Container+ContainerChild
     this.alignment1             = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name        = "alignment1";
     this.alignment1.BorderWidth = ((uint)(8));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1 = new Gtk.Notebook();
     this.notebook1.HeightRequest = 270;
     this.notebook1.CanFocus      = true;
     this.notebook1.Name          = "notebook1";
     this.notebook1.CurrentPage   = 0;
     this.notebook1.ShowBorder    = false;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.alignment3               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment3.Name          = "alignment3";
     this.alignment3.LeftPadding   = ((uint)(8));
     this.alignment3.TopPadding    = ((uint)(8));
     this.alignment3.RightPadding  = ((uint)(8));
     this.alignment3.BottomPadding = ((uint)(8));
     // Container child alignment3.Gtk.Container+ContainerChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.index_node_scroll            = new Gtk.ScrolledWindow();
     this.index_node_scroll.CanFocus   = true;
     this.index_node_scroll.Name       = "index_node_scroll";
     this.index_node_scroll.ShadowType = ((Gtk.ShadowType)(1));
     this.vbox6.Add(this.index_node_scroll);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox6[this.index_node_scroll]));
     w1.Position = 0;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.IndexLabel      = new Gtk.Label();
     this.IndexLabel.Name = "IndexLabel";
     this.hbox1.Add(this.IndexLabel);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.IndexLabel]));
     w2.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.hbuttonbox2      = new Gtk.HButtonBox();
     this.hbuttonbox2.Name = "hbuttonbox2";
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.index_remove_btn              = new Gtk.Button();
     this.index_remove_btn.CanFocus     = true;
     this.index_remove_btn.Name         = "index_remove_btn";
     this.index_remove_btn.UseUnderline = true;
     // Container child index_remove_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w4 = new Gtk.HBox();
     w4.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w5 = new Gtk.Image();
     w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16);
     w4.Add(w5);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w7 = new Gtk.Label();
     w4.Add(w7);
     w3.Add(w4);
     this.index_remove_btn.Add(w3);
     this.hbuttonbox2.Add(this.index_remove_btn);
     Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_remove_btn]));
     w11.Expand = false;
     w11.Fill   = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.index_add_btn              = new Gtk.Button();
     this.index_add_btn.CanFocus     = true;
     this.index_add_btn.Name         = "index_add_btn";
     this.index_add_btn.UseUnderline = true;
     // Container child index_add_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w13.Add(w16);
     w12.Add(w13);
     this.index_add_btn.Add(w12);
     this.hbuttonbox2.Add(this.index_add_btn);
     Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_add_btn]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     this.hbox1.Add(this.hbuttonbox2);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.hbuttonbox2]));
     w21.Position = 1;
     w21.Expand   = false;
     this.vbox6.Add(this.hbox1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.show_hidden_chk               = new Gtk.CheckButton();
     this.show_hidden_chk.CanFocus      = true;
     this.show_hidden_chk.Name          = "show_hidden_chk";
     this.show_hidden_chk.Label         = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show hidden files");
     this.show_hidden_chk.DrawIndicator = true;
     this.show_hidden_chk.UseUnderline  = true;
     this.show_hidden_chk.BorderWidth   = ((uint)(5));
     this.vbox6.Add(this.show_hidden_chk);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.show_hidden_chk]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.alignment3.Add(this.vbox6);
     this.vbox4.Add(this.alignment3);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox4[this.alignment3]));
     w25.Position = 0;
     this.notebook1.Add(this.vbox4);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Indexed Folders");
     this.notebook1.SetTabLabel(this.vbox4, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.alignment2               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name          = "alignment2";
     this.alignment2.LeftPadding   = ((uint)(8));
     this.alignment2.TopPadding    = ((uint)(8));
     this.alignment2.RightPadding  = ((uint)(8));
     this.alignment2.BottomPadding = ((uint)(8));
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.ignore_node_scroll            = new Gtk.ScrolledWindow();
     this.ignore_node_scroll.CanFocus   = true;
     this.ignore_node_scroll.Name       = "ignore_node_scroll";
     this.ignore_node_scroll.ShadowType = ((Gtk.ShadowType)(1));
     this.vbox3.Add(this.ignore_node_scroll);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox3[this.ignore_node_scroll]));
     w27.Position = 0;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.IgnoreLabel      = new Gtk.Label();
     this.IgnoreLabel.Name = "IgnoreLabel";
     this.hbox3.Add(this.IgnoreLabel);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox3[this.IgnoreLabel]));
     w28.Position = 0;
     w28.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbuttonbox3      = new Gtk.HButtonBox();
     this.hbuttonbox3.Name = "hbuttonbox3";
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.ignore_remove_btn              = new Gtk.Button();
     this.ignore_remove_btn.CanFocus     = true;
     this.ignore_remove_btn.Name         = "ignore_remove_btn";
     this.ignore_remove_btn.UseUnderline = true;
     // Container child ignore_remove_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w30 = new Gtk.HBox();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w31 = new Gtk.Image();
     w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16);
     w30.Add(w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w33 = new Gtk.Label();
     w30.Add(w33);
     w29.Add(w30);
     this.ignore_remove_btn.Add(w29);
     this.hbuttonbox3.Add(this.ignore_remove_btn);
     Gtk.ButtonBox.ButtonBoxChild w37 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_remove_btn]));
     w37.Expand  = false;
     w37.Fill    = false;
     w37.Padding = ((uint)(5));
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.ignore_add_btn              = new Gtk.Button();
     this.ignore_add_btn.CanFocus     = true;
     this.ignore_add_btn.Name         = "ignore_add_btn";
     this.ignore_add_btn.UseUnderline = true;
     // Container child ignore_add_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w39 = new Gtk.HBox();
     w39.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w40 = new Gtk.Image();
     w40.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w39.Add(w40);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w42 = new Gtk.Label();
     w39.Add(w42);
     w38.Add(w39);
     this.ignore_add_btn.Add(w38);
     this.hbuttonbox3.Add(this.ignore_add_btn);
     Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_add_btn]));
     w46.Position = 1;
     w46.Expand   = false;
     w46.Fill     = false;
     w46.Padding  = ((uint)(5));
     this.hbox3.Add(this.hbuttonbox3);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox3[this.hbuttonbox3]));
     w47.Position = 1;
     w47.Expand   = false;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w48.Position = 1;
     w48.Expand   = false;
     w48.Fill     = false;
     this.alignment2.Add(this.vbox3);
     this.vbox5.Add(this.alignment2);
     Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox5[this.alignment2]));
     w50.Position = 0;
     this.notebook1.Add(this.vbox5);
     Gtk.Notebook.NotebookChild w51 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5]));
     w51.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Ignored Folders");
     this.notebook1.SetTabLabel(this.vbox5, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook1);
     Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w52.Position = 0;
     this.vbox2.Add(this.vbox1);
     Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox1]));
     w53.Position = 0;
     this.alignment1.Add(this.vbox2);
     this.Add(this.alignment1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.index_remove_btn.Clicked  += new System.EventHandler(this.OnRemoveBtnClicked);
     this.index_add_btn.Clicked     += new System.EventHandler(this.OnAddBtnClicked);
     this.show_hidden_chk.Clicked   += new System.EventHandler(this.OnShowHiddenChkClicked);
     this.ignore_remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked);
     this.ignore_add_btn.Clicked    += new System.EventHandler(this.OnAddBtnClicked);
 }
Example #14
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget MainWindow
     Gtk.UIManager   w1 = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.File            = new Gtk.Action("File", Mono.Unix.Catalog.GetString("File"), null, null);
     this.File.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w2.Add(this.File, null);
     this.Edit            = new Gtk.Action("Edit", Mono.Unix.Catalog.GetString("Edit"), null, null);
     this.Edit.ShortLabel = Mono.Unix.Catalog.GetString("Edit");
     w2.Add(this.Edit, null);
     this.View            = new Gtk.Action("View", Mono.Unix.Catalog.GetString("View"), null, null);
     this.View.ShortLabel = Mono.Unix.Catalog.GetString("View");
     w2.Add(this.View, null);
     this.Help            = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("Help"), null, null);
     this.Help.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w2.Add(this.Help, null);
     this.About            = new Gtk.Action("About", Mono.Unix.Catalog.GetString("_About"), null, "gtk-about");
     this.About.ShortLabel = Mono.Unix.Catalog.GetString("_About");
     w2.Add(this.About, null);
     this.Quit            = new Gtk.Action("Quit", Mono.Unix.Catalog.GetString("Quit"), null, "gtk-quit");
     this.Quit.ShortLabel = Mono.Unix.Catalog.GetString("Quit");
     w2.Add(this.Quit, null);
     this.Preferences            = new Gtk.Action("Preferences", Mono.Unix.Catalog.GetString("_Preferences"), null, "gtk-preferences");
     this.Preferences.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences");
     w2.Add(this.Preferences, null);
     this.@new = new Gtk.Action("new", null, null, "gtk-new");
     w2.Add(this.@new, null);
     this.open = new Gtk.Action("open", null, null, "gtk-open");
     w2.Add(this.open, null);
     this.startTorrentButton           = new Gtk.Action("startTorrentButton", null, null, "gtk-media-play");
     this.startTorrentButton.Sensitive = false;
     w2.Add(this.startTorrentButton, null);
     this.stopTorrentButton           = new Gtk.Action("stopTorrentButton", null, null, "gtk-media-stop");
     this.stopTorrentButton.Sensitive = false;
     w2.Add(this.stopTorrentButton, null);
     this.removeTorrentButton           = new Gtk.Action("removeTorrentButton", null, null, "gtk-remove");
     this.removeTorrentButton.Sensitive = false;
     w2.Add(this.removeTorrentButton, null);
     this.preferences = new Gtk.Action("preferences", null, null, "gtk-preferences");
     w2.Add(this.preferences, null);
     this.deleteTorrentButton           = new Gtk.Action("deleteTorrentButton", null, null, "gtk-delete");
     this.deleteTorrentButton.Sensitive = false;
     w2.Add(this.deleteTorrentButton, null);
     this.Columns            = new Gtk.Action("Columns", Mono.Unix.Catalog.GetString("Columns"), null, null);
     this.Columns.ShortLabel = Mono.Unix.Catalog.GetString("Columns");
     w2.Add(this.Columns, null);
     w1.InsertActionGroup(w2, 0);
     this.AddAccelGroup(w1.AccelGroup);
     this.Name  = "MainWindow";
     this.Title = Mono.Unix.Catalog.GetString("MonoTorrent");
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1      = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Quit'/></menu><menu action='Edit'><menuitem action='Preferences'/></menu><menu action='View'><menuitem action='Columns'/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     w1.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem action='new'/><toolitem action='open'/><separator/><toolitem action='startTorrentButton'/><toolitem action='stopTorrentButton'/><toolitem action='removeTorrentButton'/><toolitem action='deleteTorrentButton'/><separator/><toolitem action='preferences'/></toolbar></ui>");
     this.toolbar1              = ((Gtk.Toolbar)(w1.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
     this.vbox1.Add(this.toolbar1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hPaned          = new Gtk.HPaned();
     this.hPaned.CanFocus = true;
     this.hPaned.Name     = "hPaned";
     this.hPaned.Position = 145;
     // Container child hPaned.Gtk.Paned+PanedChild
     this.labelViewScrolledWindow                  = new Gtk.ScrolledWindow();
     this.labelViewScrolledWindow.CanFocus         = true;
     this.labelViewScrolledWindow.Name             = "labelViewScrolledWindow";
     this.labelViewScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.labelViewScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.hPaned.Add(this.labelViewScrolledWindow);
     Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hPaned[this.labelViewScrolledWindow]));
     w5.Resize = false;
     // Container child hPaned.Gtk.Paned+PanedChild
     this.vPaned          = new Gtk.VPaned();
     this.vPaned.CanFocus = true;
     this.vPaned.Name     = "vPaned";
     this.vPaned.Position = 160;
     // Container child vPaned.Gtk.Paned+PanedChild
     this.torrentViewScrolledWindow                  = new Gtk.ScrolledWindow();
     this.torrentViewScrolledWindow.CanFocus         = true;
     this.torrentViewScrolledWindow.Name             = "torrentViewScrolledWindow";
     this.torrentViewScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.torrentViewScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.vPaned.Add(this.torrentViewScrolledWindow);
     Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.vPaned[this.torrentViewScrolledWindow]));
     w6.Resize = false;
     // Container child vPaned.Gtk.Paned+PanedChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 3;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow1                  = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     Gtk.Viewport w7 = new Gtk.Viewport();
     w7.Name       = "GtkViewport2";
     w7.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport2.Gtk.Container+ContainerChild
     this.vbox4             = new Gtk.VBox();
     this.vbox4.Name        = "vbox4";
     this.vbox4.Spacing     = 6;
     this.vbox4.BorderWidth = ((uint)(5));
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.downloadProgressBarLabel           = new Gtk.Label();
     this.downloadProgressBarLabel.Name      = "downloadProgressBarLabel";
     this.downloadProgressBarLabel.LabelProp = Mono.Unix.Catalog.GetString("Downloaded: ");
     this.hbox3.Add(this.downloadProgressBarLabel);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.downloadProgressBarLabel]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.downloadedProgressBar      = new Gtk.ProgressBar();
     this.downloadedProgressBar.Name = "downloadedProgressBar";
     this.hbox3.Add(this.downloadedProgressBar);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.downloadedProgressBar]));
     w9.Position = 1;
     this.vbox4.Add(this.hbox3);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox3]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame1             = new Gtk.Frame();
     this.frame1.Name        = "frame1";
     this.frame1.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame1.LabelXalign = 0F;
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox12         = new Gtk.HBox();
     this.hbox12.Name    = "hbox12";
     this.hbox12.Spacing = 6;
     // Container child hbox12.Gtk.Box+BoxChild
     this.elapsedTimeLabel           = new Gtk.Label();
     this.elapsedTimeLabel.Name      = "elapsedTimeLabel";
     this.elapsedTimeLabel.LabelProp = Mono.Unix.Catalog.GetString("Elapsed Time:");
     this.hbox12.Add(this.elapsedTimeLabel);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox12[this.elapsedTimeLabel]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.elapsedTimeValueLabel           = new Gtk.Label();
     this.elapsedTimeValueLabel.Name      = "elapsedTimeValueLabel";
     this.elapsedTimeValueLabel.LabelProp = "";
     this.hbox12.Add(this.elapsedTimeValueLabel);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox12[this.elapsedTimeValueLabel]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox2.Add(this.hbox12);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox12]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Downloaded:");
     this.hbox2.Add(this.label3);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.label3]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.downloadedValueLabel           = new Gtk.Label();
     this.downloadedValueLabel.Name      = "downloadedValueLabel";
     this.downloadedValueLabel.LabelProp = "";
     this.hbox2.Add(this.downloadedValueLabel);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.downloadedValueLabel]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Uploaded:");
     this.hbox5.Add(this.label5);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox5[this.label5]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.uploadedValueLabel           = new Gtk.Label();
     this.uploadedValueLabel.Name      = "uploadedValueLabel";
     this.uploadedValueLabel.LabelProp = "";
     this.hbox5.Add(this.uploadedValueLabel);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox5[this.uploadedValueLabel]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     this.vbox2.Add(this.hbox5);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox5]));
     w19.Position = 2;
     w19.Expand   = false;
     w19.Fill     = false;
     this.GtkAlignment.Add(this.vbox2);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Transfer</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel6;
     this.hbox1.Add(this.frame1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame1]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame2             = new Gtk.Frame();
     this.frame2.Name        = "frame2";
     this.frame2.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame2.LabelXalign = 0F;
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox6         = new Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("URL:");
     this.hbox6.Add(this.label8);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox6[this.label8]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.trackerUrlValueLabel           = new Gtk.Label();
     this.trackerUrlValueLabel.Name      = "trackerUrlValueLabel";
     this.trackerUrlValueLabel.LabelProp = "";
     this.hbox6.Add(this.trackerUrlValueLabel);
     Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.hbox6[this.trackerUrlValueLabel]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     this.vbox3.Add(this.hbox6);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox6]));
     w25.Position = 0;
     w25.Expand   = false;
     w25.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox7         = new Gtk.HBox();
     this.hbox7.Name    = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Status:");
     this.hbox7.Add(this.label2);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.hbox7[this.label2]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.trackerStatusValueLabel           = new Gtk.Label();
     this.trackerStatusValueLabel.Name      = "trackerStatusValueLabel";
     this.trackerStatusValueLabel.LabelProp = "";
     this.hbox7.Add(this.trackerStatusValueLabel);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox7[this.trackerStatusValueLabel]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     this.vbox3.Add(this.hbox7);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox7]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox8         = new Gtk.HBox();
     this.hbox8.Name    = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Last updated:");
     this.hbox8.Add(this.label4);
     Gtk.Box.BoxChild w29 = ((Gtk.Box.BoxChild)(this.hbox8[this.label4]));
     w29.Position = 0;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child hbox8.Gtk.Box+BoxChild
     this.updateInValueLabel           = new Gtk.Label();
     this.updateInValueLabel.Name      = "updateInValueLabel";
     this.updateInValueLabel.LabelProp = "";
     this.hbox8.Add(this.updateInValueLabel);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.hbox8[this.updateInValueLabel]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     this.vbox3.Add(this.hbox8);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox8]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.GtkAlignment1.Add(this.vbox3);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel7           = new Gtk.Label();
     this.GtkLabel7.Name      = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Tracker</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel7;
     this.hbox1.Add(this.frame2);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame2]));
     w34.Position = 1;
     w34.Expand   = false;
     w34.Fill     = false;
     this.vbox4.Add(this.hbox1);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox1]));
     w35.Position = 1;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame3             = new Gtk.Frame();
     this.frame3.Name        = "frame3";
     this.frame3.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame3.LabelXalign = 0F;
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Save path:");
     this.hbox4.Add(this.label7);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox4[this.label7]));
     w36.Position = 0;
     w36.Expand   = false;
     w36.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.savePathValueLabel           = new Gtk.Label();
     this.savePathValueLabel.Name      = "savePathValueLabel";
     this.savePathValueLabel.LabelProp = "";
     this.hbox4.Add(this.savePathValueLabel);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox4[this.savePathValueLabel]));
     w37.Position = 1;
     w37.Expand   = false;
     w37.Fill     = false;
     this.vbox5.Add(this.hbox4);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox4]));
     w38.Position = 0;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox9         = new Gtk.HBox();
     this.hbox9.Name    = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Size:");
     this.hbox9.Add(this.label10);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.hbox9[this.label10]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.sizeValueLabel           = new Gtk.Label();
     this.sizeValueLabel.Name      = "sizeValueLabel";
     this.sizeValueLabel.LabelProp = "";
     this.hbox9.Add(this.sizeValueLabel);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox9[this.sizeValueLabel]));
     w40.Position = 1;
     w40.Expand   = false;
     w40.Fill     = false;
     this.vbox5.Add(this.hbox9);
     Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox9]));
     w41.Position = 1;
     w41.Expand   = false;
     w41.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox11         = new Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Created on:");
     this.hbox11.Add(this.label11);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox11[this.label11]));
     w42.Position = 0;
     w42.Expand   = false;
     w42.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.createdOnValueLabel           = new Gtk.Label();
     this.createdOnValueLabel.Name      = "createdOnValueLabel";
     this.createdOnValueLabel.LabelProp = "";
     this.hbox11.Add(this.createdOnValueLabel);
     Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox11[this.createdOnValueLabel]));
     w43.Position = 1;
     w43.Expand   = false;
     w43.Fill     = false;
     this.vbox5.Add(this.hbox11);
     Gtk.Box.BoxChild w44 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox11]));
     w44.Position = 2;
     w44.Expand   = false;
     w44.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox10         = new Gtk.HBox();
     this.hbox10.Name    = "hbox10";
     this.hbox10.Spacing = 6;
     // Container child hbox10.Gtk.Box+BoxChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Comment:");
     this.hbox10.Add(this.label12);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(this.hbox10[this.label12]));
     w45.Position = 0;
     w45.Expand   = false;
     w45.Fill     = false;
     // Container child hbox10.Gtk.Box+BoxChild
     this.commentValueLabel           = new Gtk.Label();
     this.commentValueLabel.Name      = "commentValueLabel";
     this.commentValueLabel.LabelProp = "";
     this.hbox10.Add(this.commentValueLabel);
     Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox10[this.commentValueLabel]));
     w46.Position = 2;
     w46.Expand   = false;
     w46.Fill     = false;
     this.vbox5.Add(this.hbox10);
     Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox10]));
     w47.Position = 3;
     w47.Expand   = false;
     w47.Fill     = false;
     this.GtkAlignment2.Add(this.vbox5);
     this.frame3.Add(this.GtkAlignment2);
     this.GtkLabel8           = new Gtk.Label();
     this.GtkLabel8.Name      = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>General</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame3.LabelWidget  = this.GtkLabel8;
     this.vbox4.Add(this.frame3);
     Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame3]));
     w50.Position = 2;
     w50.Expand   = false;
     w50.Fill     = false;
     w7.Add(this.vbox4);
     this.scrolledwindow1.Add(w7);
     this.notebook1.Add(this.scrolledwindow1);
     Gtk.Notebook.NotebookChild w53 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow1]));
     w53.TabExpand = false;
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("General");
     this.notebook1.SetTabLabel(this.scrolledwindow1, this.label1);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.filesScrolledWindow                  = new Gtk.ScrolledWindow();
     this.filesScrolledWindow.CanFocus         = true;
     this.filesScrolledWindow.Name             = "filesScrolledWindow";
     this.filesScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.filesScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.filesScrolledWindow.ShadowType       = ((Gtk.ShadowType)(1));
     this.notebook1.Add(this.filesScrolledWindow);
     Gtk.Notebook.NotebookChild w54 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.filesScrolledWindow]));
     w54.Position  = 1;
     w54.TabExpand = false;
     // Notebook tab
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Files");
     this.notebook1.SetTabLabel(this.filesScrolledWindow, this.label9);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.peersScrolledWindow                  = new Gtk.ScrolledWindow();
     this.peersScrolledWindow.CanFocus         = true;
     this.peersScrolledWindow.Name             = "peersScrolledWindow";
     this.peersScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.peersScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.peersScrolledWindow.ShadowType       = ((Gtk.ShadowType)(1));
     this.notebook1.Add(this.peersScrolledWindow);
     Gtk.Notebook.NotebookChild w55 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.peersScrolledWindow]));
     w55.Position  = 2;
     w55.TabExpand = false;
     // Notebook tab
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Peers");
     this.notebook1.SetTabLabel(this.peersScrolledWindow, this.label6);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow2                  = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus         = true;
     this.scrolledwindow2.Name             = "scrolledwindow2";
     this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     Gtk.Viewport w56 = new Gtk.Viewport();
     w56.Name       = "GtkViewport5";
     w56.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport5.Gtk.Container+ContainerChild
     this.hbox13         = new Gtk.HBox();
     this.hbox13.Name    = "hbox13";
     this.hbox13.Spacing = 6;
     // Container child hbox13.Gtk.Box+BoxChild
     this.frame4             = new Gtk.Frame();
     this.frame4.Name        = "frame4";
     this.frame4.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame4.LabelXalign = 0F;
     // Container child frame4.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.WidthRequest = 250;
     this.GtkAlignment3.Name         = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding  = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.selectLabelScrolledWindow                  = new Gtk.ScrolledWindow();
     this.selectLabelScrolledWindow.CanFocus         = true;
     this.selectLabelScrolledWindow.Name             = "selectLabelScrolledWindow";
     this.selectLabelScrolledWindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.selectLabelScrolledWindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.selectLabelScrolledWindow.ShadowType       = ((Gtk.ShadowType)(1));
     this.GtkAlignment3.Add(this.selectLabelScrolledWindow);
     this.frame4.Add(this.GtkAlignment3);
     this.GtkLabel9           = new Gtk.Label();
     this.GtkLabel9.Name      = "GtkLabel9";
     this.GtkLabel9.LabelProp = Mono.Unix.Catalog.GetString("<b>Set labels</b>");
     this.GtkLabel9.UseMarkup = true;
     this.frame4.LabelWidget  = this.GtkLabel9;
     this.hbox13.Add(this.frame4);
     Gtk.Box.BoxChild w59 = ((Gtk.Box.BoxChild)(this.hbox13[this.frame4]));
     w59.Position = 0;
     w59.Expand   = false;
     w59.Fill     = false;
     // Container child hbox13.Gtk.Box+BoxChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame5             = new Gtk.Frame();
     this.frame5.Name        = "frame5";
     this.frame5.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame5.LabelXalign = 0F;
     // Container child frame5.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vbox7         = new Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox14         = new Gtk.HBox();
     this.hbox14.Name    = "hbox14";
     this.hbox14.Spacing = 6;
     // Container child hbox14.Gtk.Box+BoxChild
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Maximum upload rate:");
     this.hbox14.Add(this.label14);
     Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox14[this.label14]));
     w60.Position = 0;
     w60.Expand   = false;
     w60.Fill     = false;
     // Container child hbox14.Gtk.Box+BoxChild
     this.torrentUploadRateSpinButton          = new Gtk.SpinButton(0, 100, 1);
     this.torrentUploadRateSpinButton.CanFocus = true;
     this.torrentUploadRateSpinButton.Name     = "torrentUploadRateSpinButton";
     this.torrentUploadRateSpinButton.Adjustment.PageIncrement = 10;
     this.torrentUploadRateSpinButton.ClimbRate = 1;
     this.torrentUploadRateSpinButton.Numeric   = true;
     this.hbox14.Add(this.torrentUploadRateSpinButton);
     Gtk.Box.BoxChild w61 = ((Gtk.Box.BoxChild)(this.hbox14[this.torrentUploadRateSpinButton]));
     w61.Position = 1;
     w61.Expand   = false;
     w61.Fill     = false;
     this.vbox7.Add(this.hbox14);
     Gtk.Box.BoxChild w62 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox14]));
     w62.Position = 0;
     w62.Expand   = false;
     w62.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox15         = new Gtk.HBox();
     this.hbox15.Name    = "hbox15";
     this.hbox15.Spacing = 6;
     // Container child hbox15.Gtk.Box+BoxChild
     this.label15           = new Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Maximum download rate:");
     this.hbox15.Add(this.label15);
     Gtk.Box.BoxChild w63 = ((Gtk.Box.BoxChild)(this.hbox15[this.label15]));
     w63.Position = 0;
     w63.Expand   = false;
     w63.Fill     = false;
     // Container child hbox15.Gtk.Box+BoxChild
     this.torrentDownloadRateSpinButton          = new Gtk.SpinButton(0, 100, 1);
     this.torrentDownloadRateSpinButton.CanFocus = true;
     this.torrentDownloadRateSpinButton.Name     = "torrentDownloadRateSpinButton";
     this.torrentDownloadRateSpinButton.Adjustment.PageIncrement = 10;
     this.torrentDownloadRateSpinButton.ClimbRate = 1;
     this.torrentDownloadRateSpinButton.Numeric   = true;
     this.hbox15.Add(this.torrentDownloadRateSpinButton);
     Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.hbox15[this.torrentDownloadRateSpinButton]));
     w64.Position = 1;
     w64.Expand   = false;
     w64.Fill     = false;
     this.vbox7.Add(this.hbox15);
     Gtk.Box.BoxChild w65 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox15]));
     w65.Position = 1;
     w65.Expand   = false;
     w65.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox16         = new Gtk.HBox();
     this.hbox16.Name    = "hbox16";
     this.hbox16.Spacing = 6;
     // Container child hbox16.Gtk.Box+BoxChild
     this.label16           = new Gtk.Label();
     this.label16.Name      = "label16";
     this.label16.LabelProp = Mono.Unix.Catalog.GetString("Maximum connections:");
     this.hbox16.Add(this.label16);
     Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(this.hbox16[this.label16]));
     w66.Position = 0;
     w66.Expand   = false;
     w66.Fill     = false;
     // Container child hbox16.Gtk.Box+BoxChild
     this.torrentMaxConnectionsSpinButton          = new Gtk.SpinButton(0, 100, 1);
     this.torrentMaxConnectionsSpinButton.CanFocus = true;
     this.torrentMaxConnectionsSpinButton.Name     = "torrentMaxConnectionsSpinButton";
     this.torrentMaxConnectionsSpinButton.Adjustment.PageIncrement = 10;
     this.torrentMaxConnectionsSpinButton.ClimbRate = 1;
     this.torrentMaxConnectionsSpinButton.Numeric   = true;
     this.hbox16.Add(this.torrentMaxConnectionsSpinButton);
     Gtk.Box.BoxChild w67 = ((Gtk.Box.BoxChild)(this.hbox16[this.torrentMaxConnectionsSpinButton]));
     w67.Position = 1;
     w67.Expand   = false;
     w67.Fill     = false;
     this.vbox7.Add(this.hbox16);
     Gtk.Box.BoxChild w68 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox16]));
     w68.Position = 2;
     w68.Expand   = false;
     w68.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox17         = new Gtk.HBox();
     this.hbox17.Name    = "hbox17";
     this.hbox17.Spacing = 6;
     // Container child hbox17.Gtk.Box+BoxChild
     this.label17           = new Gtk.Label();
     this.label17.Name      = "label17";
     this.label17.LabelProp = Mono.Unix.Catalog.GetString("Upload slots:");
     this.hbox17.Add(this.label17);
     Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox17[this.label17]));
     w69.Position = 0;
     w69.Expand   = false;
     w69.Fill     = false;
     // Container child hbox17.Gtk.Box+BoxChild
     this.torrentUploadSlotSpinButton          = new Gtk.SpinButton(0, 100, 1);
     this.torrentUploadSlotSpinButton.CanFocus = true;
     this.torrentUploadSlotSpinButton.Name     = "torrentUploadSlotSpinButton";
     this.torrentUploadSlotSpinButton.Adjustment.PageIncrement = 10;
     this.torrentUploadSlotSpinButton.ClimbRate = 1;
     this.torrentUploadSlotSpinButton.Numeric   = true;
     this.hbox17.Add(this.torrentUploadSlotSpinButton);
     Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox17[this.torrentUploadSlotSpinButton]));
     w70.Position = 1;
     w70.Expand   = false;
     w70.Fill     = false;
     this.vbox7.Add(this.hbox17);
     Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox17]));
     w71.Position = 3;
     w71.Expand   = false;
     w71.Fill     = false;
     this.GtkAlignment4.Add(this.vbox7);
     this.frame5.Add(this.GtkAlignment4);
     this.GtkLabel10           = new Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>Bandwidth</b>");
     this.GtkLabel10.UseMarkup = true;
     this.frame5.LabelWidget   = this.GtkLabel10;
     this.vbox6.Add(this.frame5);
     Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame5]));
     w74.Position = 0;
     w74.Expand   = false;
     w74.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox18         = new Gtk.HBox();
     this.hbox18.Name    = "hbox18";
     this.hbox18.Spacing = 6;
     // Container child hbox18.Gtk.Box+BoxChild
     this.saveTorrentSettingsButton              = new Gtk.Button();
     this.saveTorrentSettingsButton.CanFocus     = true;
     this.saveTorrentSettingsButton.Name         = "saveTorrentSettingsButton";
     this.saveTorrentSettingsButton.UseUnderline = true;
     this.saveTorrentSettingsButton.Label        = Mono.Unix.Catalog.GetString("Save");
     this.hbox18.Add(this.saveTorrentSettingsButton);
     Gtk.Box.BoxChild w75 = ((Gtk.Box.BoxChild)(this.hbox18[this.saveTorrentSettingsButton]));
     w75.Position = 2;
     w75.Expand   = false;
     w75.Fill     = false;
     this.vbox6.Add(this.hbox18);
     Gtk.Box.BoxChild w76 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox18]));
     w76.Position = 1;
     w76.Expand   = false;
     w76.Fill     = false;
     this.hbox13.Add(this.vbox6);
     Gtk.Box.BoxChild w77 = ((Gtk.Box.BoxChild)(this.hbox13[this.vbox6]));
     w77.Position = 1;
     w77.Expand   = false;
     w77.Fill     = false;
     w56.Add(this.hbox13);
     this.scrolledwindow2.Add(w56);
     this.notebook1.Add(this.scrolledwindow2);
     Gtk.Notebook.NotebookChild w80 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.scrolledwindow2]));
     w80.Position  = 3;
     w80.TabExpand = false;
     // Notebook tab
     this.label13           = new Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Options");
     this.notebook1.SetTabLabel(this.scrolledwindow2, this.label13);
     this.vPaned.Add(this.notebook1);
     this.hPaned.Add(this.vPaned);
     this.vbox1.Add(this.hPaned);
     Gtk.Box.BoxChild w83 = ((Gtk.Box.BoxChild)(this.vbox1[this.hPaned]));
     w83.Position = 2;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar2         = new Gtk.Statusbar();
     this.statusbar2.Name    = "statusbar2";
     this.statusbar2.Spacing = 6;
     // Container child statusbar2.Gtk.Box+BoxChild
     this.statusDownloadLabel           = new Gtk.Label();
     this.statusDownloadLabel.Name      = "statusDownloadLabel";
     this.statusDownloadLabel.LabelProp = Mono.Unix.Catalog.GetString("<small>D: 0.00 kB</small>");
     this.statusDownloadLabel.UseMarkup = true;
     this.statusbar2.Add(this.statusDownloadLabel);
     Gtk.Box.BoxChild w84 = ((Gtk.Box.BoxChild)(this.statusbar2[this.statusDownloadLabel]));
     w84.Position = 1;
     w84.Expand   = false;
     w84.Fill     = false;
     // Container child statusbar2.Gtk.Box+BoxChild
     this.statusUploadLabel           = new Gtk.Label();
     this.statusUploadLabel.Name      = "statusUploadLabel";
     this.statusUploadLabel.LabelProp = Mono.Unix.Catalog.GetString("<small>U: 0.00 kB</small>");
     this.statusUploadLabel.UseMarkup = true;
     this.statusbar2.Add(this.statusUploadLabel);
     Gtk.Box.BoxChild w85 = ((Gtk.Box.BoxChild)(this.statusbar2[this.statusUploadLabel]));
     w85.Position = 2;
     w85.Expand   = false;
     w85.Fill     = false;
     this.vbox1.Add(this.statusbar2);
     Gtk.Box.BoxChild w86 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar2]));
     w86.Position = 3;
     w86.Expand   = false;
     w86.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 762;
     this.DefaultHeight = 559;
     this.Hide();
     this.DeleteEvent                       += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.About.Activated                   += new System.EventHandler(this.OnAboutActivated);
     this.Quit.Activated                    += new System.EventHandler(this.OnQuitActivated);
     this.Preferences.Activated             += new System.EventHandler(this.OnPreferencesActivated);
     [email protected]                    += new System.EventHandler(this.OnNewActivated);
     this.open.Activated                    += new System.EventHandler(this.OnOpenActivated);
     this.startTorrentButton.Activated      += new System.EventHandler(this.OnStartTorrentActivated);
     this.stopTorrentButton.Activated       += new System.EventHandler(this.OnStopTorrentActivated);
     this.removeTorrentButton.Activated     += new System.EventHandler(this.OnRemoveTorrentButtonActivated);
     this.preferences.Activated             += new System.EventHandler(this.OnPreferencesActivated);
     this.deleteTorrentButton.Activated     += new System.EventHandler(this.OnDeleteTorrentButtonActivated);
     this.Columns.Activated                 += new System.EventHandler(this.OnColumnsActivated);
     this.saveTorrentSettingsButton.Clicked += new System.EventHandler(this.OnSaveTorrentSettingsButtonClicked);
 }
Example #15
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget Monoxide.MainWindow
     Gtk.UIManager   w1 = new Gtk.UIManager();
     Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
     this.refresh = new Gtk.Action("refresh", null, null, "gtk-refresh");
     w2.Add(this.refresh, null);
     this.File            = new Gtk.Action("File", Mono.Unix.Catalog.GetString("_File"), null, null);
     this.File.ShortLabel = Mono.Unix.Catalog.GetString("_File");
     w2.Add(this.File, null);
     this.Quit            = new Gtk.Action("Quit", Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.Quit.ShortLabel = Mono.Unix.Catalog.GetString("_Quit");
     w2.Add(this.Quit, null);
     this.Tools            = new Gtk.Action("Tools", Mono.Unix.Catalog.GetString("_Tools"), null, null);
     this.Tools.ShortLabel = Mono.Unix.Catalog.GetString("_Tools");
     w2.Add(this.Tools, null);
     this.AddinManagerAction            = new Gtk.Action("AddinManagerAction", Mono.Unix.Catalog.GetString("Addin Manager..."), null, "AddinManager");
     this.AddinManagerAction.ShortLabel = Mono.Unix.Catalog.GetString("Addin Manager...");
     w2.Add(this.AddinManagerAction, null);
     this.View            = new Gtk.Action("View", Mono.Unix.Catalog.GetString("_View"), null, null);
     this.View.ShortLabel = Mono.Unix.Catalog.GetString("_View");
     w2.Add(this.View, null);
     this.Open            = new Gtk.Action("Open", Mono.Unix.Catalog.GetString("_Open..."), null, "gtk-open");
     this.Open.ShortLabel = Mono.Unix.Catalog.GetString("_Open...");
     w2.Add(this.Open, null);
     this.Help            = new Gtk.Action("Help", Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.Help.ShortLabel = Mono.Unix.Catalog.GetString("_Help");
     w2.Add(this.Help, null);
     this.About            = new Gtk.Action("About", Mono.Unix.Catalog.GetString("_About..."), null, "gtk-about");
     this.About.ShortLabel = Mono.Unix.Catalog.GetString("_About...");
     w2.Add(this.About, null);
     this.Save            = new Gtk.Action("Save", Mono.Unix.Catalog.GetString("_Save..."), null, "gtk-save");
     this.Save.ShortLabel = Mono.Unix.Catalog.GetString("_Save...");
     w2.Add(this.Save, null);
     w1.InsertActionGroup(w2, 0);
     this.AddAccelGroup(w1.AccelGroup);
     this.Name           = "Monoxide.MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("monoXide 0.2");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child Monoxide.MainWindow.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='File'><menuitem action='Open'/><menuitem action='Save'/><separator/><menuitem action='Quit'/></menu><menu action='View'><menuitem action='refresh'/></menu><menu action='Tools'><menuitem action='AddinManagerAction'/><separator/></menu><menu action='Help'><menuitem action='About'/></menu></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox2.Add(this.menubar1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.menubar1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     w1.AddUiFromString("<ui><toolbar name='toolbar'><toolitem action='Open'/><separator/><toolitem action='refresh'/><separator/><toolitem action='AddinManagerAction'/></toolbar></ui>");
     this.toolbar              = ((Gtk.Toolbar)(w1.GetWidget("/toolbar")));
     this.toolbar.Name         = "toolbar";
     this.toolbar.ShowArrow    = false;
     this.toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
     this.toolbar.IconSize     = ((Gtk.IconSize)(3));
     this.vbox2.Add(this.toolbar);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.toolbar]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 199;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.scrolledwindow1                  = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.treeview          = new Gtk.TreeView();
     this.treeview.CanFocus = true;
     this.treeview.Name     = "treeview";
     this.scrolledwindow1.Add(this.treeview);
     this.hpaned1.Add(this.scrolledwindow1);
     Gtk.Paned.PanedChild w6 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow1]));
     w6.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.objectExpander          = new Gtk.Expander(null);
     this.objectExpander.CanFocus = true;
     this.objectExpander.Name     = "objectExpander";
     // Container child objectExpander.Gtk.Container+ContainerChild
     this.textview          = new Gtk.TextView();
     this.textview.CanFocus = true;
     this.textview.Name     = "textview";
     this.textview.Editable = false;
     this.objectExpander.Add(this.textview);
     this.objectLabel                = new Gtk.Label();
     this.objectLabel.Name           = "objectLabel";
     this.objectLabel.LabelProp      = Mono.Unix.Catalog.GetString("<empty>");
     this.objectLabel.UseUnderline   = true;
     this.objectExpander.LabelWidget = this.objectLabel;
     this.vbox1.Add(this.objectExpander);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.objectExpander]));
     w8.Position = 0;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook             = new Gtk.Notebook();
     this.notebook.CanFocus    = true;
     this.notebook.Name        = "notebook";
     this.notebook.CurrentPage = 0;
     this.notebook.Scrollable  = true;
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.scrolledwindow2                  = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus         = true;
     this.scrolledwindow2.Name             = "scrolledwindow2";
     this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.ShadowType       = ((Gtk.ShadowType)(1));
     this.notebook.Add(this.scrolledwindow2);
     Gtk.Notebook.NotebookChild w9 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.scrolledwindow2]));
     w9.TabExpand = false;
     this.vbox1.Add(this.notebook);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook]));
     w10.Position = 1;
     this.hpaned1.Add(this.vbox1);
     this.vbox2.Add(this.hpaned1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox2[this.hpaned1]));
     w12.Position = 2;
     // Container child vbox2.Gtk.Box+BoxChild
     this.statusbar1         = new Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox2.Add(this.statusbar1);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.statusbar1]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 698;
     this.DefaultHeight = 490;
     this.Show();
     this.refresh.Activated            += new System.EventHandler(this.OnRefreshActivated);
     this.Quit.Activated               += new System.EventHandler(this.OnQuitActivated);
     this.AddinManagerAction.Activated += new System.EventHandler(this.OnAddinManagerActivated);
     this.Open.Activated               += new System.EventHandler(this.OnOpenActivated);
     this.About.Activated              += new System.EventHandler(this.OnAboutActivated);
     this.Save.Activated               += new System.EventHandler(this.OnSaveActivated);
     this.treeview.ButtonPressEvent    += new Gtk.ButtonPressEventHandler(this.OnTreeviewButtonPressEvent);
 }
Example #16
0
        public LoginRegisterDialog(Gtk.Window parentWindows)
        {
            if (parentWindows != null)
            {
                this.TransientFor = parentWindows;
            }
            else
            {
                this.TransientFor = MainClass.MainWindow;
            }

            this.BorderWidth    = 10;
            this.WindowPosition = Gtk.WindowPosition.CenterOnParent;

            notebook1            = new Notebook();
            btnInfo              = new Button();
            btnInfo.Label        = "Login";
            btnInfo.UseUnderline = true;
            btnInfo.CanFocus     = true;

            btnClose              = new Button();
            btnClose.CanDefault   = true;
            btnClose.CanFocus     = true;
            btnClose.Name         = "buttonCancel";
            btnClose.UseStock     = true;
            btnClose.UseUnderline = true;
            btnClose.Label        = "gtk-cancel";
            btnClose.Clicked     += delegate(object sender, EventArgs e)
            {
                this.Respond(Gtk.ResponseType.Close);
            };

            entrLoginR                = new Entry();
            entrPasswordR1            = new Entry();
            entrPasswordR1.Visibility = false;
            entrPasswordR2            = new Entry();
            entrPasswordR2.Visibility = false;
            entrEmailR                = new Entry();

            entrLogin               = new Entry();
            entrPassword            = new Entry();
            entrPassword.Visibility = false;
            chbRemember             = new CheckButton();
            chbRemember.Label       = MainClass.Languages.Translate("loginDialog_remember");

            linkbutton1 = new Components.LinkButton();
            linkbutton1.HeightRequest = 25;
            linkbutton1.UseWebStile   = true;
            linkbutton1.LinkUrl       = "http://moscrif.com/request-new-password";
            linkbutton1.Label         = MainClass.Languages.Translate("loginDialog_forgot_password");

            Table mainTbl = new Table(2, 1, false);

            mainTbl.RowSpacing    = 6;
            mainTbl.ColumnSpacing = 6;
            //mainTbl.BorderWidth = 6;

            this.Title = MainClass.Languages.Translate("moscrif_ide_title_f1");


            if (MainClass.Settings.Account != null)
            {
                if (!String.IsNullOrEmpty(MainClass.Settings.Account.Login))
                {
                    entrLogin.Text = MainClass.Settings.Account.Login;
                }
                chbRemember.Active = MainClass.Settings.Account.Remember;
            }
            bannerImage.WidthRequest  = 400;
            bannerImage.HeightRequest = 120;

            mainTbl.Attach(bannerImage, 0, 1, 0, 1, AttachOptions.Fill, AttachOptions.Shrink, 0, 0);

            Table tblPage1 = new Table(5, 2, false);

            tblPage1.BorderWidth   = 6;
            tblPage1.ColumnSpacing = 6;
            tblPage1.RowSpacing    = 6;
            AddControl(ref tblPage1, 0, entrLogin, MainClass.Languages.Translate("loginDialog_login"));
            AddControl(ref tblPage1, 1, entrPassword, MainClass.Languages.Translate("loginDialog_password"));
            AddControl(ref tblPage1, 2, chbRemember, "");
            AddControl(ref tblPage1, 3, linkbutton1, "");

            notebook1.AppendPage(tblPage1, new Label("Login"));

            Table tblPage2 = new Table(5, 2, false);

            tblPage2.ColumnSpacing = 6;
            tblPage2.RowSpacing    = 6;
            tblPage2.BorderWidth   = 6;
            AddControl(ref tblPage2, 0, entrLoginR, MainClass.Languages.Translate("loginDialog_login"));
            AddControl(ref tblPage2, 1, entrPasswordR1, MainClass.Languages.Translate("loginDialog_reg_password1"));
            AddControl(ref tblPage2, 2, entrPasswordR2, MainClass.Languages.Translate("loginDialog_reg_password2"));
            AddControl(ref tblPage2, 3, entrEmailR, MainClass.Languages.Translate("loginDialog_reg_email"));

            notebook1.AppendPage(tblPage2, new Label("Register"));

            Gtk.Notebook.NotebookChild nchT1 = (Gtk.Notebook.NotebookChild) this.notebook1[tblPage1];
            nchT1.TabExpand = true;
            nchT1.TabFill   = false;

            Gtk.Notebook.NotebookChild nchT2 = (Gtk.Notebook.NotebookChild) this.notebook1[tblPage2];
            nchT2.TabExpand = true;
            nchT2.TabFill   = false;

            mainTbl.Attach(notebook1, 0, 1, 1, 2, AttachOptions.Fill | AttachOptions.Expand, AttachOptions.Fill | AttachOptions.Expand, 0, 0);

            LoadDefaultBanner();

            Thread BannerThread = new Thread(new ThreadStart(BannerThreadLoop));

            BannerThread.Name         = "BannerThread";
            BannerThread.IsBackground = true;
            BannerThread.Start();

            entrPassword.GrabFocus();
            //entrLogin.GrabFocus();

            this.VBox.Add(mainTbl);

            this.ActionArea.Add(btnClose);
            this.ActionArea.Add(btnInfo);

            btnInfo.Clicked                   += new System.EventHandler(this.OnBtnInfoClicked);
            this.notebook1.SwitchPage         += new Gtk.SwitchPageHandler(this.OnNotebook1SwitchPage);
            this.entrPassword.KeyReleaseEvent += new Gtk.KeyReleaseEventHandler(this.OnEntrPasswordKeyReleaseEvent);
            this.entrLogin.KeyReleaseEvent    += new Gtk.KeyReleaseEventHandler(this.OnEntrLoginKeyReleaseEvent);
            //this.BorderWidth = 6;
            this.HeightRequest = 370;
            this.ShowAll();
        }
Example #17
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
     this.XFileAction            = new Gtk.Action("XFileAction", Mono.Unix.Catalog.GetString("XFile"), null, null);
     this.XFileAction.ShortLabel = Mono.Unix.Catalog.GetString("File");
     w1.Add(this.XFileAction, null);
     this.GimmeHelpAction            = new Gtk.Action("GimmeHelpAction", Mono.Unix.Catalog.GetString("GimmeHelp"), null, null);
     this.GimmeHelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.GimmeHelpAction, null);
     this.AboutAction            = new Gtk.Action("AboutAction", Mono.Unix.Catalog.GetString("About"), null, null);
     this.AboutAction.ShortLabel = Mono.Unix.Catalog.GetString("About");
     w1.Add(this.AboutAction, null);
     this.QuitAction            = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("Quit"), null, null);
     this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("Quit");
     w1.Add(this.QuitAction, null);
     this.SomeEditMenuAction            = new Gtk.Action("SomeEditMenuAction", Mono.Unix.Catalog.GetString("SomeEditMenu"), null, null);
     this.SomeEditMenuAction.ShortLabel = Mono.Unix.Catalog.GetString("SomeEditMenu");
     w1.Add(this.SomeEditMenuAction, null);
     this.NewAction            = new Gtk.Action("NewAction", Mono.Unix.Catalog.GetString("New"), null, null);
     this.NewAction.ShortLabel = Mono.Unix.Catalog.GetString("New");
     w1.Add(this.NewAction, null);
     this.Action1 = new Gtk.Action("Action1", null, null, null);
     w1.Add(this.Action1, null);
     this.indexAction = new Gtk.Action("indexAction", null, Mono.Unix.Catalog.GetString("tooltipText"), "gtk-index");
     w1.Add(this.indexAction, null);
     this.cdromAction = new Gtk.Action("cdromAction", null, null, "gtk-cdrom");
     w1.Add(this.cdromAction, null);
     this.RadioInToolBarTest1Action            = new Gtk.RadioAction("RadioInToolBarTest1Action", Mono.Unix.Catalog.GetString("RadioInToolBarTest1"), null, null, 0);
     this.RadioInToolBarTest1Action.Group      = new GLib.SList(System.IntPtr.Zero);
     this.RadioInToolBarTest1Action.ShortLabel = Mono.Unix.Catalog.GetString("RadioInToolBarTest1");
     w1.Add(this.RadioInToolBarTest1Action, null);
     this.RadioInToolBarTest2Action            = new Gtk.RadioAction("RadioInToolBarTest2Action", Mono.Unix.Catalog.GetString("RadioInToolBarTest2"), null, null, 0);
     this.RadioInToolBarTest2Action.Group      = this.RadioInToolBarTest1Action.Group;
     this.RadioInToolBarTest2Action.ShortLabel = Mono.Unix.Catalog.GetString("RadioInToolBarTest2");
     w1.Add(this.RadioInToolBarTest2Action, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='XFileAction' action='XFileAction'><menuitem name='NewAction' action='NewAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='SomeEditMenuAction' action='SomeEditMenuAction'/><menu name='GimmeHelpAction' action='GimmeHelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='indexAction' action='indexAction'/><toolitem name='RadioInToolBarTest1Action' action='RadioInToolBarTest1Action'/><toolitem name='RadioInToolBarTest2Action' action='RadioInToolBarTest2Action'/></toolbar></ui>");
     this.toolbar1              = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name         = "toolbar1";
     this.toolbar1.ShowArrow    = false;
     this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
     this.vbox1.Add(this.toolbar1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview2          = new Gtk.TreeView();
     this.treeview2.CanFocus = true;
     this.treeview2.Name     = "treeview2";
     this.GtkScrolledWindow.Add(this.treeview2);
     this.hbox1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
     w5.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(5)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.btnTest1              = new Gtk.Button();
     this.btnTest1.CanFocus     = true;
     this.btnTest1.Name         = "btnTest1";
     this.btnTest1.UseUnderline = true;
     this.btnTest1.Label        = Mono.Unix.Catalog.GetString("hey ya");
     this.table1.Add(this.btnTest1);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.btnTest1]));
     w6.LeftAttach  = ((uint)(2));
     w6.RightAttach = ((uint)(3));
     w6.XOptions    = ((Gtk.AttachOptions)(4));
     w6.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.btnWithImg              = new Gtk.Button();
     this.btnWithImg.CanFocus     = true;
     this.btnWithImg.Name         = "btnWithImg";
     this.btnWithImg.UseUnderline = true;
     this.btnWithImg.Label        = Mono.Unix.Catalog.GetString("IMG");
     this.table1.Add(this.btnWithImg);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.btnWithImg]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.XOptions     = ((Gtk.AttachOptions)(4));
     w7.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbeTest = Gtk.ComboBoxEntry.NewText();
     this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("First element"));
     this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("Second element"));
     this.cbeTest.AppendText(Mono.Unix.Catalog.GetString("Third element"));
     this.cbeTest.Name = "cbeTest";
     this.table1.Add(this.cbeTest);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.cbeTest]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(2));
     w8.RightAttach  = ((uint)(3));
     w8.XOptions     = ((Gtk.AttachOptions)(4));
     w8.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.cbxTest = Gtk.ComboBox.NewText();
     this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("FirstItem"));
     this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("SecondItem"));
     this.cbxTest.AppendText(Mono.Unix.Catalog.GetString("LastItem"));
     this.cbxTest.Name = "cbxTest";
     this.table1.Add(this.cbxTest);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.cbxTest]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((Gtk.AttachOptions)(4));
     w9.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.checkbutton1               = new Gtk.CheckButton();
     this.checkbutton1.CanFocus      = true;
     this.checkbutton1.Name          = "checkbutton1";
     this.checkbutton1.Label         = Mono.Unix.Catalog.GetString("checkbutton1");
     this.checkbutton1.DrawIndicator = true;
     this.checkbutton1.UseUnderline  = true;
     this.table1.Add(this.checkbutton1);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.checkbutton1]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((Gtk.AttachOptions)(4));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.chkTest               = new Gtk.CheckButton();
     this.chkTest.CanFocus      = true;
     this.chkTest.Name          = "chkTest";
     this.chkTest.Label         = Mono.Unix.Catalog.GetString("checkbutton1");
     this.chkTest.DrawIndicator = true;
     this.chkTest.UseUnderline  = true;
     this.table1.Add(this.chkTest);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.chkTest]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((Gtk.AttachOptions)(4));
     w11.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lblTest1           = new Gtk.Label();
     this.lblTest1.Name      = "lblTest1";
     this.lblTest1.LabelProp = Mono.Unix.Catalog.GetString("This is a test message\nin a label");
     this.table1.Add(this.lblTest1);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.lblTest1]));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.maskedEntry               = new Gtk.Entry();
     this.maskedEntry.CanFocus      = true;
     this.maskedEntry.Name          = "maskedEntry";
     this.maskedEntry.IsEditable    = true;
     this.maskedEntry.InvisibleChar = '●';
     this.table1.Add(this.maskedEntry);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.maskedEntry]));
     w13.TopAttach    = ((uint)(4));
     w13.BottomAttach = ((uint)(5));
     w13.LeftAttach   = ((uint)(2));
     w13.RightAttach  = ((uint)(3));
     w13.XOptions     = ((Gtk.AttachOptions)(4));
     w13.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobutton1               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("radiobutton1"));
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     this.radiobutton1.Group         = new GLib.SList(System.IntPtr.Zero);
     this.table1.Add(this.radiobutton1);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table1[this.radiobutton1]));
     w14.TopAttach    = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach   = ((uint)(1));
     w14.RightAttach  = ((uint)(2));
     w14.XOptions     = ((Gtk.AttachOptions)(4));
     w14.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radiobutton2               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("radiobutton2"));
     this.radiobutton2.CanFocus      = true;
     this.radiobutton2.Name          = "radiobutton2";
     this.radiobutton2.DrawIndicator = true;
     this.radiobutton2.UseUnderline  = true;
     this.radiobutton2.Group         = this.radiobutton1.Group;
     this.table1.Add(this.radiobutton2);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.radiobutton2]));
     w15.TopAttach    = ((uint)(3));
     w15.BottomAttach = ((uint)(4));
     w15.LeftAttach   = ((uint)(2));
     w15.RightAttach  = ((uint)(3));
     w15.XOptions     = ((Gtk.AttachOptions)(4));
     w15.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radTest1               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("rad Opt 0"));
     this.radTest1.CanFocus      = true;
     this.radTest1.Name          = "radTest1";
     this.radTest1.DrawIndicator = true;
     this.radTest1.UseUnderline  = true;
     this.radTest1.Group         = new GLib.SList(System.IntPtr.Zero);
     this.table1.Add(this.radTest1);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.radTest1]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((Gtk.AttachOptions)(4));
     w16.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.radTest2               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("rad Opt 1"));
     this.radTest2.CanFocus      = true;
     this.radTest2.Name          = "radTest2";
     this.radTest2.DrawIndicator = true;
     this.radTest2.UseUnderline  = true;
     this.radTest2.Group         = this.radTest1.Group;
     this.table1.Add(this.radTest2);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.radTest2]));
     w17.TopAttach    = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.LeftAttach   = ((uint)(2));
     w17.RightAttach  = ((uint)(3));
     w17.XOptions     = ((Gtk.AttachOptions)(4));
     w17.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbuttonTest1          = new Gtk.SpinButton(0, 100, 1);
     this.spinbuttonTest1.CanFocus = true;
     this.spinbuttonTest1.Name     = "spinbuttonTest1";
     this.spinbuttonTest1.Adjustment.PageIncrement = 10;
     this.spinbuttonTest1.ClimbRate = 1;
     this.spinbuttonTest1.Numeric   = true;
     this.table1.Add(this.spinbuttonTest1);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.spinbuttonTest1]));
     w18.TopAttach    = ((uint)(4));
     w18.BottomAttach = ((uint)(5));
     w18.XOptions     = ((Gtk.AttachOptions)(4));
     w18.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.txtEntry               = new Gtk.Entry();
     this.txtEntry.CanFocus      = true;
     this.txtEntry.Name          = "txtEntry";
     this.txtEntry.Text          = Mono.Unix.Catalog.GetString("test text");
     this.txtEntry.IsEditable    = true;
     this.txtEntry.InvisibleChar = '●';
     this.table1.Add(this.txtEntry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.txtEntry]));
     w19.LeftAttach  = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions    = ((Gtk.AttachOptions)(4));
     w19.YOptions    = ((Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table1);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox1[this.table1]));
     w20.Position = 1;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vscrollbar1                          = new Gtk.VScrollbar(null);
     this.vscrollbar1.Name                     = "vscrollbar1";
     this.vscrollbar1.Adjustment.Upper         = 100;
     this.vscrollbar1.Adjustment.PageIncrement = 10;
     this.vscrollbar1.Adjustment.PageSize      = 10;
     this.vscrollbar1.Adjustment.StepIncrement = 1;
     this.hbox1.Add(this.vscrollbar1);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.vscrollbar1]));
     w21.Position = 2;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.imgTest1      = new Gtk.Image();
     this.imgTest1.Name = "imgTest1";
     this.hbox1.Add(this.imgTest1);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.imgTest1]));
     w22.Position = 3;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.imgTest2      = new Gtk.Image();
     this.imgTest2.Name = "imgTest2";
     this.hbox1.Add(this.imgTest2);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.hbox1[this.imgTest2]));
     w23.Position = 5;
     w23.Expand   = false;
     w23.Fill     = false;
     this.notebook1.Add(this.hbox1);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(this.hbox1, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.calendar1                = new Gtk.Calendar();
     this.calendar1.CanFocus       = true;
     this.calendar1.Name           = "calendar1";
     this.calendar1.DisplayOptions = ((Gtk.CalendarDisplayOptions)(3));
     this.notebook1.Add(this.calendar1);
     Gtk.Notebook.NotebookChild w25 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.calendar1]));
     w25.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("page2");
     this.notebook1.SetTabLabel(this.calendar1, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook1);
     Gtk.Box.BoxChild w26 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.progressbar1      = new Gtk.ProgressBar();
     this.progressbar1.Name = "progressbar1";
     this.vbox1.Add(this.progressbar1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox1[this.progressbar1]));
     w27.Position = 3;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hscrollbar1                          = new Gtk.HScrollbar(null);
     this.hscrollbar1.Name                     = "hscrollbar1";
     this.hscrollbar1.Adjustment.Upper         = 100;
     this.hscrollbar1.Adjustment.PageIncrement = 10;
     this.hscrollbar1.Adjustment.PageSize      = 10;
     this.hscrollbar1.Adjustment.StepIncrement = 1;
     this.hscrollbar1.Adjustment.Value         = 9.28317766722556;
     this.vbox1.Add(this.hscrollbar1);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.vbox1[this.hscrollbar1]));
     w28.Position = 4;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 19;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vscale1                          = new Gtk.VScale(null);
     this.vscale1.CanFocus                 = true;
     this.vscale1.Name                     = "vscale1";
     this.vscale1.Adjustment.Upper         = 100;
     this.vscale1.Adjustment.PageIncrement = 10;
     this.vscale1.Adjustment.StepIncrement = 1;
     this.vscale1.DrawValue                = true;
     this.vscale1.Digits                   = 0;
     this.vscale1.ValuePos                 = ((Gtk.PositionType)(2));
     this.hpaned1.Add(this.vscale1);
     Gtk.Paned.PanedChild w29 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vscale1]));
     w29.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.GtkScrolledWindow2            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.nodeview1          = new Gtk.NodeView();
     this.nodeview1.CanFocus = true;
     this.nodeview1.Name     = "nodeview1";
     this.GtkScrolledWindow2.Add(this.nodeview1);
     this.hpaned1.Add(this.GtkScrolledWindow2);
     this.hbox2.Add(this.hpaned1);
     Gtk.Box.BoxChild w32 = ((Gtk.Box.BoxChild)(this.hbox2[this.hpaned1]));
     w32.Position = 0;
     // Container child hbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.txtViewTest          = new Gtk.TextView();
     this.txtViewTest.CanFocus = true;
     this.txtViewTest.Name     = "txtViewTest";
     this.GtkScrolledWindow1.Add(this.txtViewTest);
     this.hbox2.Add(this.GtkScrolledWindow1);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox2[this.GtkScrolledWindow1]));
     w34.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel13           = new Gtk.Label();
     this.GtkLabel13.Name      = "GtkLabel13";
     this.GtkLabel13.LabelProp = Mono.Unix.Catalog.GetString("<b>frame1</b>");
     this.GtkLabel13.UseMarkup = true;
     this.frame1.LabelWidget   = this.GtkLabel13;
     this.hbox2.Add(this.frame1);
     Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox2[this.frame1]));
     w36.Position = 2;
     w36.Expand   = false;
     w36.Fill     = false;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w37.Position = 5;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w38.Position = 7;
     w38.Expand   = false;
     w38.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 757;
     this.DefaultHeight = 516;
     this.Show();
     this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
Example #18
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize();
     // Widget CBinding.CodeGenerationPanel
     Stetic.BinContainer.Attach(this);
     this.Name = "CBinding.CodeGenerationPanel";
     // Container child CBinding.CodeGenerationPanel.Gtk.Container+ContainerChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 3;
     // Container child vbox6.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(3)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(5));
     this.table1.ColumnSpacing = ((uint)(5));
     this.table1.BorderWidth   = ((uint)(2));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xpad      = 10;
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Warning Level:");
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w1.XOptions = ((Gtk.AttachOptions)(4));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xpad      = 10;
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Optimization Level:");
     this.table1.Add(this.label5);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label5]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.XOptions     = ((Gtk.AttachOptions)(4));
     w2.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xpad      = 10;
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Target:");
     this.table1.Add(this.label6);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.XOptions     = ((Gtk.AttachOptions)(4));
     w3.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.optimizationSpinButton          = new Gtk.SpinButton(0, 3, 1);
     this.optimizationSpinButton.CanFocus = true;
     this.optimizationSpinButton.Name     = "optimizationSpinButton";
     this.optimizationSpinButton.Adjustment.PageIncrement = 10;
     this.optimizationSpinButton.ClimbRate = 1;
     this.optimizationSpinButton.Numeric   = true;
     this.table1.Add(this.optimizationSpinButton);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.optimizationSpinButton]));
     w4.TopAttach    = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((Gtk.AttachOptions)(4));
     w4.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.targetComboBox = Gtk.ComboBox.NewText();
     this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Executable"));
     this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Static Library"));
     this.targetComboBox.AppendText(Mono.Unix.Catalog.GetString("Shared Object"));
     this.targetComboBox.Name = "targetComboBox";
     this.table1.Add(this.targetComboBox);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.targetComboBox]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((Gtk.AttachOptions)(4));
     w5.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.noWarningRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("no warnings"));
     this.noWarningRadio.CanFocus      = true;
     this.noWarningRadio.Name          = "noWarningRadio";
     this.noWarningRadio.Active        = true;
     this.noWarningRadio.DrawIndicator = true;
     this.noWarningRadio.UseUnderline  = true;
     this.noWarningRadio.Group         = new GLib.SList(System.IntPtr.Zero);
     this.vbox1.Add(this.noWarningRadio);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.noWarningRadio]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.normalWarningRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("normal"));
     this.normalWarningRadio.CanFocus      = true;
     this.normalWarningRadio.Name          = "normalWarningRadio";
     this.normalWarningRadio.DrawIndicator = true;
     this.normalWarningRadio.UseUnderline  = true;
     this.normalWarningRadio.Group         = this.noWarningRadio.Group;
     this.vbox1.Add(this.normalWarningRadio);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.normalWarningRadio]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.allWarningRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("all"));
     this.allWarningRadio.CanFocus      = true;
     this.allWarningRadio.Name          = "allWarningRadio";
     this.allWarningRadio.DrawIndicator = true;
     this.allWarningRadio.UseUnderline  = true;
     this.allWarningRadio.Group         = this.noWarningRadio.Group;
     this.vbox1.Add(this.allWarningRadio);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.allWarningRadio]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.table1.Add(this.vbox1);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.vbox1]));
     w9.LeftAttach  = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions    = ((Gtk.AttachOptions)(4));
     w9.YOptions    = ((Gtk.AttachOptions)(4));
     this.vbox6.Add(this.table1);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox6[this.table1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xpad      = 13;
     this.label12.Xalign    = 0F;
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("Define Symbols:");
     this.hbox1.Add(this.label12);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.label12]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.defineSymbolsTextEntry = new Gtk.Entry();
     Gtk.Tooltips w12 = new Gtk.Tooltips();
     w12.SetTip(this.defineSymbolsTextEntry, "A space seperated list of symbols to define.", "A space seperated list of symbols to define.");
     this.defineSymbolsTextEntry.CanFocus      = true;
     this.defineSymbolsTextEntry.Name          = "defineSymbolsTextEntry";
     this.defineSymbolsTextEntry.IsEditable    = true;
     this.defineSymbolsTextEntry.InvisibleChar = '●';
     this.hbox1.Add(this.defineSymbolsTextEntry);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox1[this.defineSymbolsTextEntry]));
     w13.Position = 1;
     w13.Padding  = ((uint)(14));
     this.vbox6.Add(this.hbox1);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame2             = new Gtk.Frame();
     this.frame2.Name        = "frame2";
     this.frame2.ShadowType  = ((Gtk.ShadowType)(0));
     this.frame2.LabelXalign = 0F;
     this.frame2.LabelYalign = 0F;
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table5               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table5.Name          = "table5";
     this.table5.RowSpacing    = ((uint)(6));
     this.table5.ColumnSpacing = ((uint)(9));
     this.table5.BorderWidth   = ((uint)(6));
     // Container child table5.Gtk.Table+TableChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 0F;
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Extra Linker Options");
     this.table5.Add(this.label11);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table5[this.label11]));
     w15.LeftAttach  = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions    = ((Gtk.AttachOptions)(4));
     w15.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Extra Compiler Options");
     this.table5.Add(this.label7);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table5[this.label7]));
     w16.XOptions = ((Gtk.AttachOptions)(4));
     w16.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table5.Gtk.Table+TableChild
     this.scrolledwindow4                  = new Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus         = true;
     this.scrolledwindow4.Name             = "scrolledwindow4";
     this.scrolledwindow4.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow4.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow4.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.extraCompilerTextView = new Gtk.TextView();
     w12.SetTip(this.extraCompilerTextView, "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`", "A newline seperated list of extra options to send to the compiler.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--cflags\n\tcairo`");
     this.extraCompilerTextView.CanFocus = true;
     this.extraCompilerTextView.Name     = "extraCompilerTextView";
     this.scrolledwindow4.Add(this.extraCompilerTextView);
     this.table5.Add(this.scrolledwindow4);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow4]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     // Container child table5.Gtk.Table+TableChild
     this.scrolledwindow5                  = new Gtk.ScrolledWindow();
     this.scrolledwindow5.CanFocus         = true;
     this.scrolledwindow5.Name             = "scrolledwindow5";
     this.scrolledwindow5.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow5.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow5.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow5.Gtk.Container+ContainerChild
     this.extraLinkerTextView = new Gtk.TextView();
     w12.SetTip(this.extraLinkerTextView, "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`", "A newline seperated list of extra options to send to the linker.\nOne option can be in more than one line.\nExample:\n\t`pkg-config\n\t--libs\n\tcairo`");
     this.extraLinkerTextView.CanFocus = true;
     this.extraLinkerTextView.Name     = "extraLinkerTextView";
     this.scrolledwindow5.Add(this.extraLinkerTextView);
     this.table5.Add(this.scrolledwindow5);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table5[this.scrolledwindow5]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     this.GtkAlignment.Add(this.table5);
     this.frame2.Add(this.GtkAlignment);
     this.GtkLabel12           = new Gtk.Label();
     this.GtkLabel12.Name      = "GtkLabel12";
     this.GtkLabel12.LabelProp = Mono.Unix.Catalog.GetString("<b>Extra Options</b>");
     this.GtkLabel12.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel12;
     this.vbox6.Add(this.frame2);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame2]));
     w23.Position = 2;
     this.notebook1.Add(this.vbox6);
     Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox6]));
     w24.TabExpand = false;
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Code Generation");
     this.notebook1.SetTabLabel(this.vbox6, this.label1);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.table2               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(10));
     this.table2.ColumnSpacing = ((uint)(10));
     this.table2.BorderWidth   = ((uint)(3));
     // Container child table2.Gtk.Table+TableChild
     this.addLibButton              = new Gtk.Button();
     this.addLibButton.Sensitive    = false;
     this.addLibButton.CanFocus     = true;
     this.addLibButton.Name         = "addLibButton";
     this.addLibButton.UseUnderline = true;
     this.addLibButton.Label        = Mono.Unix.Catalog.GetString("Add");
     this.table2.Add(this.addLibButton);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table2[this.addLibButton]));
     w25.LeftAttach  = ((uint)(2));
     w25.RightAttach = ((uint)(3));
     w25.XOptions    = ((Gtk.AttachOptions)(4));
     w25.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Library:");
     this.table2.Add(this.label8);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table2[this.label8]));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.libAddEntry               = new Gtk.Entry();
     this.libAddEntry.CanFocus      = true;
     this.libAddEntry.Name          = "libAddEntry";
     this.libAddEntry.IsEditable    = true;
     this.libAddEntry.InvisibleChar = '●';
     this.table2.Add(this.libAddEntry);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table2[this.libAddEntry]));
     w27.LeftAttach  = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.scrolledwindow1                  = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus         = true;
     this.scrolledwindow1.Name             = "scrolledwindow1";
     this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow1.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.libTreeView                  = new Gtk.TreeView();
     this.libTreeView.CanFocus         = true;
     this.libTreeView.Name             = "libTreeView";
     this.libTreeView.HeadersClickable = true;
     this.scrolledwindow1.Add(this.libTreeView);
     this.table2.Add(this.scrolledwindow1);
     Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table2[this.scrolledwindow1]));
     w29.TopAttach    = ((uint)(1));
     w29.BottomAttach = ((uint)(2));
     w29.LeftAttach   = ((uint)(1));
     w29.RightAttach  = ((uint)(2));
     // Container child table2.Gtk.Table+TableChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.browseButton              = new Gtk.Button();
     this.browseButton.CanFocus     = true;
     this.browseButton.Name         = "browseButton";
     this.browseButton.UseUnderline = true;
     this.browseButton.Label        = Mono.Unix.Catalog.GetString("Browse...");
     this.vbox4.Add(this.browseButton);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox4[this.browseButton]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.removeLibButton              = new Gtk.Button();
     this.removeLibButton.Sensitive    = false;
     this.removeLibButton.CanFocus     = true;
     this.removeLibButton.Name         = "removeLibButton";
     this.removeLibButton.UseUnderline = true;
     this.removeLibButton.Label        = Mono.Unix.Catalog.GetString("Remove");
     this.vbox4.Add(this.removeLibButton);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox4[this.removeLibButton]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     this.table2.Add(this.vbox4);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table2[this.vbox4]));
     w32.TopAttach    = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.LeftAttach   = ((uint)(2));
     w32.RightAttach  = ((uint)(3));
     w32.XOptions     = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table2);
     Gtk.Notebook.NotebookChild w33 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table2]));
     w33.Position  = 1;
     w33.TabExpand = false;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Libraries");
     this.notebook1.SetTabLabel(this.table2, this.label2);
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox7             = new Gtk.VBox();
     this.vbox7.Name        = "vbox7";
     this.vbox7.Spacing     = 6;
     this.vbox7.BorderWidth = ((uint)(3));
     // Container child vbox7.Gtk.Box+BoxChild
     this.table4               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(10));
     this.table4.ColumnSpacing = ((uint)(10));
     // Container child table4.Gtk.Table+TableChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Library:");
     this.table4.Add(this.label10);
     Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table4[this.label10]));
     w34.XOptions = ((Gtk.AttachOptions)(4));
     w34.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.libPathAddButton              = new Gtk.Button();
     this.libPathAddButton.Sensitive    = false;
     this.libPathAddButton.CanFocus     = true;
     this.libPathAddButton.Name         = "libPathAddButton";
     this.libPathAddButton.UseUnderline = true;
     this.libPathAddButton.Label        = Mono.Unix.Catalog.GetString("Add");
     this.table4.Add(this.libPathAddButton);
     Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table4[this.libPathAddButton]));
     w35.LeftAttach  = ((uint)(2));
     w35.RightAttach = ((uint)(3));
     w35.XOptions    = ((Gtk.AttachOptions)(4));
     w35.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.libPathEntry               = new Gtk.Entry();
     this.libPathEntry.CanFocus      = true;
     this.libPathEntry.Name          = "libPathEntry";
     this.libPathEntry.IsEditable    = true;
     this.libPathEntry.InvisibleChar = '●';
     this.table4.Add(this.libPathEntry);
     Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table4[this.libPathEntry]));
     w36.LeftAttach  = ((uint)(1));
     w36.RightAttach = ((uint)(2));
     w36.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.scrolledwindow3                  = new Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus         = true;
     this.scrolledwindow3.Name             = "scrolledwindow3";
     this.scrolledwindow3.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow3.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow3.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.libPathTreeView                  = new Gtk.TreeView();
     this.libPathTreeView.CanFocus         = true;
     this.libPathTreeView.Name             = "libPathTreeView";
     this.libPathTreeView.HeadersClickable = true;
     this.scrolledwindow3.Add(this.libPathTreeView);
     this.table4.Add(this.scrolledwindow3);
     Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table4[this.scrolledwindow3]));
     w38.TopAttach    = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.LeftAttach   = ((uint)(1));
     w38.RightAttach  = ((uint)(2));
     // Container child table4.Gtk.Table+TableChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.libPathBrowseButton              = new Gtk.Button();
     this.libPathBrowseButton.CanFocus     = true;
     this.libPathBrowseButton.Name         = "libPathBrowseButton";
     this.libPathBrowseButton.UseUnderline = true;
     this.libPathBrowseButton.Label        = Mono.Unix.Catalog.GetString("Browse...");
     this.vbox3.Add(this.libPathBrowseButton);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathBrowseButton]));
     w39.Position = 0;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.libPathRemoveButton              = new Gtk.Button();
     this.libPathRemoveButton.Sensitive    = false;
     this.libPathRemoveButton.CanFocus     = true;
     this.libPathRemoveButton.Name         = "libPathRemoveButton";
     this.libPathRemoveButton.UseUnderline = true;
     this.libPathRemoveButton.Label        = Mono.Unix.Catalog.GetString("Remove");
     this.vbox3.Add(this.libPathRemoveButton);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.vbox3[this.libPathRemoveButton]));
     w40.Position = 1;
     w40.Expand   = false;
     w40.Fill     = false;
     this.table4.Add(this.vbox3);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table4[this.vbox3]));
     w41.TopAttach    = ((uint)(1));
     w41.BottomAttach = ((uint)(2));
     w41.LeftAttach   = ((uint)(2));
     w41.RightAttach  = ((uint)(3));
     w41.XOptions     = ((Gtk.AttachOptions)(4));
     this.vbox7.Add(this.table4);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox7[this.table4]));
     w42.Position = 0;
     // Container child vbox7.Gtk.Box+BoxChild
     this.table3               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(10));
     this.table3.ColumnSpacing = ((uint)(10));
     // Container child table3.Gtk.Table+TableChild
     this.includePathAddButton              = new Gtk.Button();
     this.includePathAddButton.Sensitive    = false;
     this.includePathAddButton.CanFocus     = true;
     this.includePathAddButton.Name         = "includePathAddButton";
     this.includePathAddButton.UseUnderline = true;
     this.includePathAddButton.Label        = Mono.Unix.Catalog.GetString("Add");
     this.table3.Add(this.includePathAddButton);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table3[this.includePathAddButton]));
     w43.LeftAttach  = ((uint)(2));
     w43.RightAttach = ((uint)(3));
     w43.XOptions    = ((Gtk.AttachOptions)(4));
     w43.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.includePathEntry               = new Gtk.Entry();
     this.includePathEntry.CanFocus      = true;
     this.includePathEntry.Name          = "includePathEntry";
     this.includePathEntry.IsEditable    = true;
     this.includePathEntry.InvisibleChar = '●';
     this.table3.Add(this.includePathEntry);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table3[this.includePathEntry]));
     w44.LeftAttach  = ((uint)(1));
     w44.RightAttach = ((uint)(2));
     w44.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Include:");
     this.table3.Add(this.label9);
     Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table3[this.label9]));
     w45.XOptions = ((Gtk.AttachOptions)(4));
     w45.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.scrolledwindow2                  = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus         = true;
     this.scrolledwindow2.Name             = "scrolledwindow2";
     this.scrolledwindow2.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow2.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.includePathTreeView                  = new Gtk.TreeView();
     this.includePathTreeView.CanFocus         = true;
     this.includePathTreeView.Name             = "includePathTreeView";
     this.includePathTreeView.HeadersClickable = true;
     this.scrolledwindow2.Add(this.includePathTreeView);
     this.table3.Add(this.scrolledwindow2);
     Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table3[this.scrolledwindow2]));
     w47.TopAttach    = ((uint)(1));
     w47.BottomAttach = ((uint)(2));
     w47.LeftAttach   = ((uint)(1));
     w47.RightAttach  = ((uint)(2));
     // Container child table3.Gtk.Table+TableChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.includePathBrowseButton              = new Gtk.Button();
     this.includePathBrowseButton.CanFocus     = true;
     this.includePathBrowseButton.Name         = "includePathBrowseButton";
     this.includePathBrowseButton.UseUnderline = true;
     this.includePathBrowseButton.Label        = Mono.Unix.Catalog.GetString("Browse...");
     this.vbox5.Add(this.includePathBrowseButton);
     Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathBrowseButton]));
     w48.Position = 0;
     w48.Expand   = false;
     w48.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.includePathRemoveButton              = new Gtk.Button();
     this.includePathRemoveButton.Sensitive    = false;
     this.includePathRemoveButton.CanFocus     = true;
     this.includePathRemoveButton.Name         = "includePathRemoveButton";
     this.includePathRemoveButton.UseUnderline = true;
     this.includePathRemoveButton.Label        = Mono.Unix.Catalog.GetString("Remove");
     this.vbox5.Add(this.includePathRemoveButton);
     Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.vbox5[this.includePathRemoveButton]));
     w49.Position = 1;
     w49.Expand   = false;
     w49.Fill     = false;
     this.table3.Add(this.vbox5);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table3[this.vbox5]));
     w50.TopAttach    = ((uint)(1));
     w50.BottomAttach = ((uint)(2));
     w50.LeftAttach   = ((uint)(2));
     w50.RightAttach  = ((uint)(3));
     w50.XOptions     = ((Gtk.AttachOptions)(4));
     this.vbox7.Add(this.table3);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.vbox7[this.table3]));
     w51.Position = 1;
     this.notebook1.Add(this.vbox7);
     Gtk.Notebook.NotebookChild w52 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox7]));
     w52.Position  = 2;
     w52.TabExpand = false;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Paths");
     this.notebook1.SetTabLabel(this.vbox7, this.label3);
     this.Add(this.notebook1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.browseButton.Clicked              += new System.EventHandler(this.OnBrowseButtonClick);
     this.removeLibButton.Clicked           += new System.EventHandler(this.OnRemoveLibButtonClicked);
     this.removeLibButton.Clicked           += new System.EventHandler(this.OnLibRemoved);
     this.libTreeView.CursorChanged         += new System.EventHandler(this.OnLibTreeViewCursorChanged);
     this.libAddEntry.Changed               += new System.EventHandler(this.OnLibAddEntryChanged);
     this.libAddEntry.Activated             += new System.EventHandler(this.OnLibAddEntryActivated);
     this.addLibButton.Clicked              += new System.EventHandler(this.OnLibAdded);
     this.libPathBrowseButton.Clicked       += new System.EventHandler(this.OnLibPathBrowseButtonClick);
     this.libPathRemoveButton.Clicked       += new System.EventHandler(this.OnLibPathRemoveButtonClicked);
     this.libPathRemoveButton.Clicked       += new System.EventHandler(this.OnLibPathRemoved);
     this.libPathTreeView.CursorChanged     += new System.EventHandler(this.OnLibPathTreeViewCursorChanged);
     this.libPathEntry.Changed              += new System.EventHandler(this.OnLibPathEntryChanged);
     this.libPathEntry.Activated            += new System.EventHandler(this.OnLibPathEntryActivated);
     this.libPathAddButton.Clicked          += new System.EventHandler(this.OnLibPathAdded);
     this.includePathBrowseButton.Clicked   += new System.EventHandler(this.OnIncludePathBrowseButtonClick);
     this.includePathRemoveButton.Clicked   += new System.EventHandler(this.OnIncludePathRemoveButtonClicked);
     this.includePathRemoveButton.Clicked   += new System.EventHandler(this.OnIncludePathRemoved);
     this.includePathTreeView.CursorChanged += new System.EventHandler(this.OnIncludePathTreeViewCursorChanged);
     this.includePathEntry.Changed          += new System.EventHandler(this.OnIncludePathEntryChanged);
     this.includePathEntry.Activated        += new System.EventHandler(this.OnIncludePathEntryActivated);
     this.includePathAddButton.Clicked      += new System.EventHandler(this.OnIncludePathAdded);
 }
Example #19
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new Gtk.UIManager();
     Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
     this.XBMControlAction            = new Gtk.Action("XBMControlAction", Mono.Unix.Catalog.GetString("XBMControl"), null, null);
     this.XBMControlAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMControl");
     w1.Add(this.XBMControlAction, null);
     this.QuitAction            = new Gtk.Action("QuitAction", Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-disconnect");
     this.QuitAction.ShortLabel = Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, null);
     this.XBMCAction            = new Gtk.Action("XBMCAction", Mono.Unix.Catalog.GetString("XBMC"), null, null);
     this.XBMCAction.ShortLabel = Mono.Unix.Catalog.GetString("XBMC");
     w1.Add(this.XBMCAction, null);
     this.PlaylistAction            = new Gtk.Action("PlaylistAction", Mono.Unix.Catalog.GetString("Playlist"), null, null);
     this.PlaylistAction.ShortLabel = Mono.Unix.Catalog.GetString("Playlist");
     w1.Add(this.PlaylistAction, null);
     this.HelpAction            = new Gtk.Action("HelpAction", Mono.Unix.Catalog.GetString("Help"), null, null);
     this.HelpAction.ShortLabel = Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.HelpAction, null);
     this.UpdateMusicLibraryAction            = new Gtk.Action("UpdateMusicLibraryAction", Mono.Unix.Catalog.GetString("Update music library"), null, null);
     this.UpdateMusicLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library");
     w1.Add(this.UpdateMusicLibraryAction, null);
     this.UpdateVideoLibraryAction            = new Gtk.Action("UpdateVideoLibraryAction", Mono.Unix.Catalog.GetString("Update video library"), null, null);
     this.UpdateVideoLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library");
     w1.Add(this.UpdateVideoLibraryAction, null);
     this.UpdateLibraryAction            = new Gtk.Action("UpdateLibraryAction", Mono.Unix.Catalog.GetString("Update Library"), null, null);
     this.UpdateLibraryAction.ShortLabel = Mono.Unix.Catalog.GetString("Library");
     w1.Add(this.UpdateLibraryAction, null);
     this.MusicAction            = new Gtk.Action("MusicAction", Mono.Unix.Catalog.GetString("Music"), null, "gtk-harddisk");
     this.MusicAction.ShortLabel = Mono.Unix.Catalog.GetString("Update music library");
     w1.Add(this.MusicAction, null);
     this.VideoAction            = new Gtk.Action("VideoAction", Mono.Unix.Catalog.GetString("Video"), null, "gtk-harddisk");
     this.VideoAction.ShortLabel = Mono.Unix.Catalog.GetString("Update video library");
     w1.Add(this.VideoAction, null);
     this.RestartAction            = new Gtk.Action("RestartAction", Mono.Unix.Catalog.GetString("Restart"), null, "gtk-refresh");
     this.RestartAction.ShortLabel = Mono.Unix.Catalog.GetString("Restart");
     w1.Add(this.RestartAction, null);
     this.RebootAction            = new Gtk.Action("RebootAction", Mono.Unix.Catalog.GetString("Reboot"), null, "gtk-refresh");
     this.RebootAction.ShortLabel = Mono.Unix.Catalog.GetString("Reboot");
     w1.Add(this.RebootAction, null);
     this.ShutdownAction            = new Gtk.Action("ShutdownAction", Mono.Unix.Catalog.GetString("Shutdown"), null, "gtk-quit");
     this.ShutdownAction.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown");
     w1.Add(this.ShutdownAction, null);
     this.ConfigurationAction            = new Gtk.Action("ConfigurationAction", Mono.Unix.Catalog.GetString("Configuration"), null, "gtk-edit");
     this.ConfigurationAction.ShortLabel = Mono.Unix.Catalog.GetString("_Preferences");
     w1.Add(this.ConfigurationAction, null);
     this.clearAction = new Gtk.Action("clearAction", null, Mono.Unix.Catalog.GetString("Clear playlist"), "gtk-clear");
     w1.Add(this.clearAction, null);
     this.openAction = new Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.saveAction = new Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.saveAsAction = new Gtk.Action("saveAsAction", null, null, "gtk-save-as");
     w1.Add(this.saveAsAction, null);
     this.aRefreshPlaylist = new Gtk.Action("aRefreshPlaylist", null, null, "gtk-refresh");
     w1.Add(this.aRefreshPlaylist, null);
     this.aRemoveSelected = new Gtk.Action("aRemoveSelected", null, Mono.Unix.Catalog.GetString("Remove selected item"), "gtk-remove");
     w1.Add(this.aRemoveSelected, null);
     this.aPlaySelected = new Gtk.Action("aPlaySelected", null, Mono.Unix.Catalog.GetString("Play selected item"), "gtk-media-play");
     w1.Add(this.aPlaySelected, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.WidthRequest   = 900;
     this.HeightRequest  = 600;
     this.Name           = "MainWindow";
     this.Title          = Mono.Unix.Catalog.GetString("XBMControl Evo");
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.Resizable      = false;
     this.AllowGrow      = false;
     this.DefaultWidth   = 800;
     this.DefaultHeight  = 600;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='XBMControlAction' action='XBMControlAction'><menuitem name='ConfigurationAction' action='ConfigurationAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='XBMCAction' action='XBMCAction'><menu name='UpdateLibraryAction' action='UpdateLibraryAction'><menuitem name='MusicAction' action='MusicAction'/><menuitem name='VideoAction' action='VideoAction'/></menu><menuitem name='RestartAction' action='RestartAction'/><menuitem name='RebootAction' action='RebootAction'/><menuitem name='ShutdownAction' action='ShutdownAction'/></menu><menu name='PlaylistAction' action='PlaylistAction'/><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1      = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 300;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.nbBrowser = new Gtk.Notebook();
     this.nbBrowser.WidthRequest = 300;
     this.nbBrowser.CanFocus     = true;
     this.nbBrowser.Name         = "nbBrowser";
     this.nbBrowser.CurrentPage  = 0;
     // Container child nbBrowser.Gtk.Notebook+NotebookChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.cbShareType = Gtk.ComboBox.NewText();
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Music"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Video"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Pictures"));
     this.cbShareType.AppendText(Mono.Unix.Catalog.GetString("Files"));
     this.cbShareType.Name   = "cbShareType";
     this.cbShareType.Active = 0;
     this.vbox3.Add(this.cbShareType);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox3[this.cbShareType]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.tvShareBrowser          = new Gtk.TreeView();
     this.tvShareBrowser.CanFocus = true;
     this.tvShareBrowser.Name     = "tvShareBrowser";
     this.GtkScrolledWindow.Add(this.tvShareBrowser);
     this.vbox3.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w5.Position = 1;
     this.nbBrowser.Add(this.vbox3);
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Shares");
     this.nbBrowser.SetTabLabel(this.vbox3, this.label2);
     this.label2.ShowAll();
     this.hpaned1.Add(this.nbBrowser);
     Gtk.Paned.PanedChild w7 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbBrowser]));
     w7.Resize = false;
     w7.Shrink = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.nbDataContainer             = new Gtk.Notebook();
     this.nbDataContainer.CanFocus    = true;
     this.nbDataContainer.Name        = "nbDataContainer";
     this.nbDataContainer.CurrentPage = 0;
     this.nbDataContainer.ShowBorder  = false;
     this.nbDataContainer.Scrollable  = true;
     // Container child nbDataContainer.Gtk.Notebook+NotebookChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     Gtk.Viewport w8 = new Gtk.Viewport();
     w8.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.fixedNowPlaying           = new Gtk.Fixed();
     this.fixedNowPlaying.Name      = "fixedNowPlaying";
     this.fixedNowPlaying.HasWindow = false;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.imgNowPlaying = new Gtk.Image();
     this.imgNowPlaying.WidthRequest  = 300;
     this.imgNowPlaying.HeightRequest = 300;
     this.imgNowPlaying.Name          = "imgNowPlaying";
     this.fixedNowPlaying.Add(this.imgNowPlaying);
     Gtk.Fixed.FixedChild w9 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.imgNowPlaying]));
     w9.X = 20;
     w9.Y = 145;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lArtist = new Gtk.Label();
     this.lArtist.WidthRequest = 555;
     this.lArtist.Name         = "lArtist";
     this.fixedNowPlaying.Add(this.lArtist);
     Gtk.Fixed.FixedChild w10 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lArtist]));
     w10.X = 10;
     w10.Y = 10;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lSong = new Gtk.Label();
     this.lSong.WidthRequest = 555;
     this.lSong.Name         = "lSong";
     this.fixedNowPlaying.Add(this.lSong);
     Gtk.Fixed.FixedChild w11 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lSong]));
     w11.X = 10;
     w11.Y = 34;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lAlbum = new Gtk.Label();
     this.lAlbum.WidthRequest = 555;
     this.lAlbum.Name         = "lAlbum";
     this.fixedNowPlaying.Add(this.lAlbum);
     Gtk.Fixed.FixedChild w12 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lAlbum]));
     w12.X = 10;
     w12.Y = 70;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lGenre = new Gtk.Label();
     this.lGenre.WidthRequest = 155;
     this.lGenre.Name         = "lGenre";
     this.fixedNowPlaying.Add(this.lGenre);
     Gtk.Fixed.FixedChild w13 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lGenre]));
     w13.X = 410;
     w13.Y = 98;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lProgress = new Gtk.Label();
     this.lProgress.WidthRequest = 150;
     this.lProgress.Name         = "lProgress";
     this.fixedNowPlaying.Add(this.lProgress);
     Gtk.Fixed.FixedChild w14 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lProgress]));
     w14.X = 353;
     w14.Y = 430;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lDuration = new Gtk.Label();
     this.lDuration.WidthRequest = 60;
     this.lDuration.Name         = "lDuration";
     this.fixedNowPlaying.Add(this.lDuration);
     Gtk.Fixed.FixedChild w15 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lDuration]));
     w15.X = 502;
     w15.Y = 430;
     // Container child fixedNowPlaying.Gtk.Fixed+FixedChild
     this.lYear = new Gtk.Label();
     this.lYear.WidthRequest = 155;
     this.lYear.Name         = "lYear";
     this.fixedNowPlaying.Add(this.lYear);
     Gtk.Fixed.FixedChild w16 = ((Gtk.Fixed.FixedChild)(this.fixedNowPlaying[this.lYear]));
     w16.X = 410;
     w16.Y = 84;
     w8.Add(this.fixedNowPlaying);
     this.GtkScrolledWindow1.Add(w8);
     this.nbDataContainer.Add(this.GtkScrolledWindow1);
     // Notebook tab
     this.labelMediaInfo           = new Gtk.Label();
     this.labelMediaInfo.Name      = "labelMediaInfo";
     this.labelMediaInfo.LabelProp = Mono.Unix.Catalog.GetString("Playing Now");
     this.nbDataContainer.SetTabLabel(this.GtkScrolledWindow1, this.labelMediaInfo);
     this.labelMediaInfo.ShowAll();
     // Container child nbDataContainer.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.cbPlaylistType = Gtk.ComboBox.NewText();
     this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Music"));
     this.cbPlaylistType.AppendText(Mono.Unix.Catalog.GetString("Video"));
     this.cbPlaylistType.Name   = "cbPlaylistType";
     this.cbPlaylistType.Active = 0;
     this.vbox2.Add(this.cbPlaylistType);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox2[this.cbPlaylistType]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow2            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.tvPlaylist          = new Gtk.TreeView();
     this.tvPlaylist.CanFocus = true;
     this.tvPlaylist.Name     = "tvPlaylist";
     this.GtkScrolledWindow2.Add(this.tvPlaylist);
     this.vbox2.Add(this.GtkScrolledWindow2);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow2]));
     w22.Position = 1;
     // Container child vbox2.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='clearAction' action='clearAction'/><toolitem name='aRefreshPlaylist' action='aRefreshPlaylist'/><toolitem name='aRemoveSelected' action='aRemoveSelected'/><toolitem name='aPlaySelected' action='aPlaySelected'/></toolbar></ui>");
     this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.TooltipMarkup = "Refresh playlist";
     this.toolbar1.Name          = "toolbar1";
     this.toolbar1.ShowArrow     = false;
     this.toolbar1.ToolbarStyle  = ((Gtk.ToolbarStyle)(0));
     this.toolbar1.IconSize      = ((Gtk.IconSize)(3));
     this.vbox2.Add(this.toolbar1);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
     w23.Position = 2;
     w23.Expand   = false;
     w23.Fill     = false;
     this.nbDataContainer.Add(this.vbox2);
     Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.nbDataContainer[this.vbox2]));
     w24.Position = 1;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Playlist");
     this.nbDataContainer.SetTabLabel(this.vbox2, this.label3);
     this.label3.ShowAll();
     // Notebook tab
     Gtk.Label w25 = new Gtk.Label();
     w25.Visible = true;
     this.nbDataContainer.Add(w25);
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Configuration");
     this.nbDataContainer.SetTabLabel(w25, this.label4);
     this.label4.ShowAll();
     this.hpaned1.Add(this.nbDataContainer);
     Gtk.Paned.PanedChild w26 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.nbDataContainer]));
     w26.Resize = false;
     w26.Shrink = false;
     this.vbox1.Add(this.hpaned1);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
     w27.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.fixed1 = new Gtk.Fixed();
     this.fixed1.HeightRequest = 60;
     this.fixed1.Name          = "fixed1";
     this.fixed1.HasWindow     = false;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.hsVolume = new Gtk.HScale(null);
     this.hsVolume.TooltipMarkup            = "Volume";
     this.hsVolume.WidthRequest             = 120;
     this.hsVolume.CanFocus                 = true;
     this.hsVolume.Name                     = "hsVolume";
     this.hsVolume.Adjustment.Upper         = 100;
     this.hsVolume.Adjustment.PageIncrement = 10;
     this.hsVolume.Adjustment.StepIncrement = 1;
     this.hsVolume.Adjustment.Value         = 51.8987341772152;
     this.hsVolume.DrawValue                = false;
     this.hsVolume.Digits                   = 0;
     this.hsVolume.ValuePos                 = ((Gtk.PositionType)(2));
     this.fixed1.Add(this.hsVolume);
     Gtk.Fixed.FixedChild w28 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsVolume]));
     w28.X = 730;
     w28.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.hsProgress = new Gtk.HScale(null);
     this.hsProgress.TooltipMarkup            = "Progress";
     this.hsProgress.WidthRequest             = 420;
     this.hsProgress.CanFocus                 = true;
     this.hsProgress.Name                     = "hsProgress";
     this.hsProgress.Adjustment.Upper         = 100;
     this.hsProgress.Adjustment.PageIncrement = 10;
     this.hsProgress.Adjustment.StepIncrement = 1;
     this.hsProgress.DrawValue                = false;
     this.hsProgress.Digits                   = 0;
     this.hsProgress.ValuePos                 = ((Gtk.PositionType)(2));
     this.fixed1.Add(this.hsProgress);
     Gtk.Fixed.FixedChild w29 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.hsProgress]));
     w29.X = 300;
     w29.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbMute = new Gtk.ToggleButton();
     this.tbMute.TooltipMarkup = "Toggle Mute";
     this.tbMute.WidthRequest  = 32;
     this.tbMute.HeightRequest = 32;
     this.tbMute.CanFocus      = true;
     this.tbMute.Name          = "tbMute";
     this.tbMute.UseUnderline  = true;
     // Container child tbMute.Gtk.Container+ContainerChild
     Gtk.Alignment w30 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w31 = new Gtk.HBox();
     w31.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w32 = new Gtk.Image();
     w32.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_volume-mute", Gtk.IconSize.Button, 20);
     w31.Add(w32);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w34 = new Gtk.Label();
     w31.Add(w34);
     w30.Add(w31);
     this.tbMute.Add(w30);
     this.fixed1.Add(this.tbMute);
     Gtk.Fixed.FixedChild w38 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbMute]));
     w38.X = 850;
     w38.Y = 8;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bPrevious = new Gtk.Button();
     this.bPrevious.TooltipMarkup = "Previous";
     this.bPrevious.WidthRequest  = 35;
     this.bPrevious.HeightRequest = 35;
     this.bPrevious.CanFocus      = true;
     this.bPrevious.Name          = "bPrevious";
     this.bPrevious.UseUnderline  = true;
     // Container child bPrevious.Gtk.Container+ContainerChild
     Gtk.Alignment w39 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w40 = new Gtk.HBox();
     w40.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w41 = new Gtk.Image();
     w41.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", Gtk.IconSize.LargeToolbar, 24);
     w40.Add(w41);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w43 = new Gtk.Label();
     w40.Add(w43);
     w39.Add(w40);
     this.bPrevious.Add(w39);
     this.fixed1.Add(this.bPrevious);
     Gtk.Fixed.FixedChild w47 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPrevious]));
     w47.X = 14;
     w47.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbPlay = new Gtk.ToggleButton();
     this.tbPlay.TooltipMarkup = "Play";
     this.tbPlay.WidthRequest  = 35;
     this.tbPlay.HeightRequest = 35;
     this.tbPlay.CanFocus      = true;
     this.tbPlay.Name          = "tbPlay";
     this.tbPlay.UseUnderline  = true;
     // Container child tbPlay.Gtk.Container+ContainerChild
     Gtk.Alignment w48 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w49 = new Gtk.HBox();
     w49.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w50 = new Gtk.Image();
     w50.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-play", Gtk.IconSize.LargeToolbar, 24);
     w49.Add(w50);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w52 = new Gtk.Label();
     w49.Add(w52);
     w48.Add(w49);
     this.tbPlay.Add(w48);
     this.fixed1.Add(this.tbPlay);
     Gtk.Fixed.FixedChild w56 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbPlay]));
     w56.X = 46;
     w56.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.tbStop = new Gtk.ToggleButton();
     this.tbStop.TooltipMarkup = "Stop";
     this.tbStop.WidthRequest  = 35;
     this.tbStop.HeightRequest = 35;
     this.tbStop.CanFocus      = true;
     this.tbStop.Name          = "tbStop";
     this.tbStop.UseUnderline  = true;
     // Container child tbStop.Gtk.Container+ContainerChild
     Gtk.Alignment w57 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w58 = new Gtk.HBox();
     w58.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w59 = new Gtk.Image();
     w59.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", Gtk.IconSize.LargeToolbar, 24);
     w58.Add(w59);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w61 = new Gtk.Label();
     w58.Add(w61);
     w57.Add(w58);
     this.tbStop.Add(w57);
     this.fixed1.Add(this.tbStop);
     Gtk.Fixed.FixedChild w65 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.tbStop]));
     w65.X = 78;
     w65.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bNext = new Gtk.Button();
     this.bNext.TooltipMarkup = "Next";
     this.bNext.WidthRequest  = 35;
     this.bNext.HeightRequest = 35;
     this.bNext.CanFocus      = true;
     this.bNext.Name          = "bNext";
     this.bNext.UseUnderline  = true;
     // Container child bNext.Gtk.Container+ContainerChild
     Gtk.Alignment w66 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w67 = new Gtk.HBox();
     w67.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w68 = new Gtk.Image();
     w68.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-media-next", Gtk.IconSize.LargeToolbar, 24);
     w67.Add(w68);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w70 = new Gtk.Label();
     w67.Add(w70);
     w66.Add(w67);
     this.bNext.Add(w66);
     this.fixed1.Add(this.bNext);
     Gtk.Fixed.FixedChild w74 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bNext]));
     w74.X = 110;
     w74.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bRepeat = new Gtk.Button();
     this.bRepeat.TooltipMarkup = "Toggle Repeat Modes";
     this.bRepeat.WidthRequest  = 28;
     this.bRepeat.HeightRequest = 28;
     this.bRepeat.CanFocus      = true;
     this.bRepeat.Name          = "bRepeat";
     this.bRepeat.UseUnderline  = true;
     // Container child bRepeat.Gtk.Container+ContainerChild
     Gtk.Alignment w75 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w76 = new Gtk.HBox();
     w76.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w77 = new Gtk.Image();
     w77.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-redo", Gtk.IconSize.Menu, 16);
     w76.Add(w77);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w79 = new Gtk.Label();
     w76.Add(w79);
     w75.Add(w76);
     this.bRepeat.Add(w75);
     this.fixed1.Add(this.bRepeat);
     Gtk.Fixed.FixedChild w83 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bRepeat]));
     w83.X = 160;
     w83.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bShuffle = new Gtk.Button();
     this.bShuffle.TooltipMarkup = "Toggle Shuffel Mode";
     this.bShuffle.WidthRequest  = 28;
     this.bShuffle.HeightRequest = 28;
     this.bShuffle.CanFocus      = true;
     this.bShuffle.Name          = "bShuffle";
     this.bShuffle.UseUnderline  = true;
     // Container child bShuffle.Gtk.Container+ContainerChild
     Gtk.Alignment w84 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w85 = new Gtk.HBox();
     w85.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w86 = new Gtk.Image();
     w86.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_chart-toggle-legend", Gtk.IconSize.Menu, 16);
     w85.Add(w86);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w88 = new Gtk.Label();
     w85.Add(w88);
     w84.Add(w85);
     this.bShuffle.Add(w84);
     this.fixed1.Add(this.bShuffle);
     Gtk.Fixed.FixedChild w92 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bShuffle]));
     w92.X = 185;
     w92.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.bPartyMode = new Gtk.Button();
     this.bPartyMode.TooltipMarkup = "Toggle Party Mode";
     this.bPartyMode.WidthRequest  = 28;
     this.bPartyMode.HeightRequest = 28;
     this.bPartyMode.CanFocus      = true;
     this.bPartyMode.Name          = "bPartyMode";
     this.bPartyMode.UseUnderline  = true;
     // Container child bPartyMode.Gtk.Container+ContainerChild
     Gtk.Alignment w93 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w94 = new Gtk.HBox();
     w94.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w95 = new Gtk.Image();
     w95.Pixbuf = Stetic.IconLoader.LoadIcon(this, "stock_filters", Gtk.IconSize.Menu, 16);
     w94.Add(w95);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w97 = new Gtk.Label();
     w94.Add(w97);
     w93.Add(w94);
     this.bPartyMode.Add(w93);
     this.fixed1.Add(this.bPartyMode);
     Gtk.Fixed.FixedChild w101 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.bPartyMode]));
     w101.X = 210;
     w101.Y = 10;
     // Container child fixed1.Gtk.Fixed+FixedChild
     this.imgLoading = new Gtk.Image();
     this.imgLoading.TooltipMarkup = "Loading data...";
     this.imgLoading.Name          = "imgLoading";
     this.imgLoading.Pixbuf        = Stetic.IconLoader.LoadIcon(this, "gtk-jump-to", Gtk.IconSize.LargeToolbar, 24);
     this.fixed1.Add(this.imgLoading);
     Gtk.Fixed.FixedChild w102 = ((Gtk.Fixed.FixedChild)(this.fixed1[this.imgLoading]));
     w102.X = 255;
     w102.Y = 13;
     this.vbox1.Add(this.fixed1);
     Gtk.Box.BoxChild w103 = ((Gtk.Box.BoxChild)(this.vbox1[this.fixed1]));
     w103.Position = 2;
     w103.Expand   = false;
     w103.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.DeleteEvent                       += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.QuitAction.Activated              += new System.EventHandler(this.OnExit);
     this.MusicAction.Activated             += new System.EventHandler(this.click_UpdateMusicLibrary);
     this.VideoAction.Activated             += new System.EventHandler(this.click_UpdateVideoLibrary);
     this.clearAction.Activated             += new System.EventHandler(this.aClearPlaylist_click);
     this.aRefreshPlaylist.Activated        += new System.EventHandler(this.aRefreshPlaylist_activated);
     this.aRemoveSelected.Activated         += new System.EventHandler(this.aRemoveSelected_activated);
     this.aPlaySelected.Activated           += new System.EventHandler(this.aPlaySelected_activated);
     this.cbShareType.Changed               += new System.EventHandler(this.cbShareBrowser_changed);
     this.tvShareBrowser.ButtonReleaseEvent += new Gtk.ButtonReleaseEventHandler(this.tvShareBrowser_release);
     this.cbPlaylistType.Changed            += new System.EventHandler(this.cbPlaylistType_changed);
     this.tvPlaylist.ButtonReleaseEvent     += new Gtk.ButtonReleaseEventHandler(this.tvPlaylist_buttonRelease);
     this.hsVolume.ValueChanged             += new System.EventHandler(this.hsVolume_valueChanged);
     this.hsProgress.ChangeValue            += new Gtk.ChangeValueHandler(this.hsProgress_changeValue);
     this.tbMute.Released                   += new System.EventHandler(this.tbMute_released);
     this.bPrevious.Released                += new System.EventHandler(this.bPrevious_released);
     this.tbPlay.Released                   += new System.EventHandler(this.tbPlay_released);
     this.tbStop.Released                   += new System.EventHandler(this.tbStop_released);
     this.bNext.Released                    += new System.EventHandler(this.bNext_released);
     this.bRepeat.Activated                 += new System.EventHandler(this.bRepeat_click);
     this.bShuffle.Released                 += new System.EventHandler(this.bShuffle_release);
     this.bPartyMode.Released               += new System.EventHandler(this.bPartyMode_released);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog
     this.Name            = "MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog";
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(1));
     this.SkipTaskbarHint = true;
     this.HasSeparator    = false;
     // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook             = new Gtk.Notebook();
     this.notebook.CanFocus    = true;
     this.notebook.Name        = "notebook";
     this.notebook.CurrentPage = 0;
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.tableGeneral               = new Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.tableGeneral.Name          = "tableGeneral";
     this.tableGeneral.RowSpacing    = ((uint)(6));
     this.tableGeneral.ColumnSpacing = ((uint)(6));
     this.tableGeneral.BorderWidth   = ((uint)(6));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.comboProvider      = new Gtk.ComboBox();
     this.comboProvider.Name = "comboProvider";
     this.tableGeneral.Add(this.comboProvider);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.tableGeneral[this.comboProvider]));
     w2.LeftAttach  = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions    = ((Gtk.AttachOptions)(4));
     w2.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.entryName                  = new Gtk.Entry();
     this.entryName.CanDefault       = true;
     this.entryName.CanFocus         = true;
     this.entryName.Name             = "entryName";
     this.entryName.IsEditable       = true;
     this.entryName.ActivatesDefault = true;
     this.entryName.InvisibleChar    = '●';
     this.tableGeneral.Add(this.entryName);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryName]));
     w3.TopAttach    = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.entryServer               = new Gtk.Entry();
     this.entryServer.CanFocus      = true;
     this.entryServer.Name          = "entryServer";
     this.entryServer.IsEditable    = true;
     this.entryServer.InvisibleChar = '●';
     this.tableGeneral.Add(this.entryServer);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryServer]));
     w4.TopAttach    = ((uint)(2));
     w4.BottomAttach = ((uint)(3));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.entryUsername               = new Gtk.Entry();
     this.entryUsername.CanFocus      = true;
     this.entryUsername.Name          = "entryUsername";
     this.entryUsername.IsEditable    = true;
     this.entryUsername.InvisibleChar = '●';
     this.tableGeneral.Add(this.entryUsername);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.tableGeneral[this.entryUsername]));
     w5.TopAttach    = ((uint)(4));
     w5.BottomAttach = ((uint)(5));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((Gtk.AttachOptions)(4));
     w5.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.hboxDatabase         = new Gtk.HBox();
     this.hboxDatabase.Name    = "hboxDatabase";
     this.hboxDatabase.Spacing = 6;
     // Container child hboxDatabase.Gtk.Box+BoxChild
     this.comboDatabase      = Gtk.ComboBoxEntry.NewText();
     this.comboDatabase.Name = "comboDatabase";
     this.hboxDatabase.Add(this.comboDatabase);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.comboDatabase]));
     w6.Position = 0;
     // Container child hboxDatabase.Gtk.Box+BoxChild
     this.buttonRefresh              = new Gtk.Button();
     this.buttonRefresh.CanFocus     = true;
     this.buttonRefresh.Name         = "buttonRefresh";
     this.buttonRefresh.UseStock     = true;
     this.buttonRefresh.UseUnderline = true;
     this.buttonRefresh.Label        = "gtk-refresh";
     this.hboxDatabase.Add(this.buttonRefresh);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonRefresh]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hboxDatabase.Gtk.Box+BoxChild
     this.buttonOpen              = new Gtk.Button();
     this.buttonOpen.CanFocus     = true;
     this.buttonOpen.Name         = "buttonOpen";
     this.buttonOpen.UseStock     = true;
     this.buttonOpen.UseUnderline = true;
     this.buttonOpen.Label        = "gtk-open";
     this.hboxDatabase.Add(this.buttonOpen);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hboxDatabase[this.buttonOpen]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.tableGeneral.Add(this.hboxDatabase);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxDatabase]));
     w9.TopAttach    = ((uint)(6));
     w9.BottomAttach = ((uint)(7));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((Gtk.AttachOptions)(4));
     w9.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.hboxPassword         = new Gtk.HBox();
     this.hboxPassword.Name    = "hboxPassword";
     this.hboxPassword.Spacing = 6;
     // Container child hboxPassword.Gtk.Box+BoxChild
     this.entryPassword               = new Gtk.Entry();
     this.entryPassword.CanFocus      = true;
     this.entryPassword.Name          = "entryPassword";
     this.entryPassword.IsEditable    = true;
     this.entryPassword.Visibility    = false;
     this.entryPassword.InvisibleChar = '●';
     this.hboxPassword.Add(this.entryPassword);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.entryPassword]));
     w10.Position = 0;
     // Container child hboxPassword.Gtk.Box+BoxChild
     this.checkSavePassword               = new Gtk.CheckButton();
     this.checkSavePassword.CanFocus      = true;
     this.checkSavePassword.Name          = "checkSavePassword";
     this.checkSavePassword.Label         = Mono.Unix.Catalog.GetString("Save Password");
     this.checkSavePassword.Active        = true;
     this.checkSavePassword.DrawIndicator = true;
     this.checkSavePassword.UseUnderline  = true;
     this.hboxPassword.Add(this.checkSavePassword);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hboxPassword[this.checkSavePassword]));
     w11.Position = 1;
     w11.Expand   = false;
     this.tableGeneral.Add(this.hboxPassword);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.tableGeneral[this.hboxPassword]));
     w12.TopAttach    = ((uint)(5));
     w12.BottomAttach = ((uint)(6));
     w12.LeftAttach   = ((uint)(1));
     w12.RightAttach  = ((uint)(2));
     w12.XOptions     = ((Gtk.AttachOptions)(4));
     w12.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Type");
     this.tableGeneral.Add(this.label3);
     Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label3]));
     w13.XOptions = ((Gtk.AttachOptions)(4));
     w13.YOptions = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Name");
     this.tableGeneral.Add(this.label4);
     Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label4]));
     w14.TopAttach    = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions     = ((Gtk.AttachOptions)(4));
     w14.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Server");
     this.tableGeneral.Add(this.label5);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label5]));
     w15.TopAttach    = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.XOptions     = ((Gtk.AttachOptions)(4));
     w15.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Port");
     this.tableGeneral.Add(this.label6);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label6]));
     w16.TopAttach    = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.XOptions     = ((Gtk.AttachOptions)(4));
     w16.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Username");
     this.tableGeneral.Add(this.label7);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label7]));
     w17.TopAttach    = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.XOptions     = ((Gtk.AttachOptions)(4));
     w17.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Password");
     this.tableGeneral.Add(this.label8);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label8]));
     w18.TopAttach    = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.XOptions     = ((Gtk.AttachOptions)(4));
     w18.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Database");
     this.tableGeneral.Add(this.label9);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.tableGeneral[this.label9]));
     w19.TopAttach    = ((uint)(6));
     w19.BottomAttach = ((uint)(7));
     w19.XOptions     = ((Gtk.AttachOptions)(4));
     w19.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableGeneral.Gtk.Table+TableChild
     this.spinPort          = new Gtk.SpinButton(1, 65535, 1);
     this.spinPort.CanFocus = true;
     this.spinPort.Name     = "spinPort";
     this.spinPort.Adjustment.PageIncrement = 10;
     this.spinPort.ClimbRate = 1;
     this.spinPort.Numeric   = true;
     this.spinPort.Value     = 1;
     this.tableGeneral.Add(this.spinPort);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.tableGeneral[this.spinPort]));
     w20.TopAttach    = ((uint)(3));
     w20.BottomAttach = ((uint)(4));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((Gtk.AttachOptions)(4));
     w20.YOptions     = ((Gtk.AttachOptions)(4));
     this.notebook.Add(this.tableGeneral);
     Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableGeneral]));
     w21.TabExpand = false;
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("General");
     this.notebook.SetTabLabel(this.tableGeneral, this.label1);
     this.label1.ShowAll();
     // Container child notebook.Gtk.Notebook+NotebookChild
     this.tableAdvanced               = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.tableAdvanced.Name          = "tableAdvanced";
     this.tableAdvanced.RowSpacing    = ((uint)(6));
     this.tableAdvanced.ColumnSpacing = ((uint)(6));
     this.tableAdvanced.BorderWidth   = ((uint)(6));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.checkCustom               = new Gtk.CheckButton();
     this.checkCustom.CanFocus      = true;
     this.checkCustom.Name          = "checkCustom";
     this.checkCustom.Label         = Mono.Unix.Catalog.GetString("Use custom connection string");
     this.checkCustom.DrawIndicator = true;
     this.checkCustom.UseUnderline  = true;
     this.tableAdvanced.Add(this.checkCustom);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.checkCustom]));
     w22.TopAttach    = ((uint)(2));
     w22.BottomAttach = ((uint)(3));
     w22.RightAttach  = ((uint)(2));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 0F;
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Min Pool Size");
     this.tableAdvanced.Add(this.label10);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label10]));
     w23.XOptions = ((Gtk.AttachOptions)(4));
     w23.YOptions = ((Gtk.AttachOptions)(4));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 0F;
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Max Pool Size");
     this.tableAdvanced.Add(this.label11);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.label11]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.XOptions     = ((Gtk.AttachOptions)(4));
     w24.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.scrolledwindow                  = new Gtk.ScrolledWindow();
     this.scrolledwindow.Sensitive        = false;
     this.scrolledwindow.CanFocus         = true;
     this.scrolledwindow.Name             = "scrolledwindow";
     this.scrolledwindow.VscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow.HscrollbarPolicy = ((Gtk.PolicyType)(1));
     this.scrolledwindow.ShadowType       = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow.Gtk.Container+ContainerChild
     this.textConnectionString          = new Gtk.TextView();
     this.textConnectionString.CanFocus = true;
     this.textConnectionString.Name     = "textConnectionString";
     this.scrolledwindow.Add(this.textConnectionString);
     this.tableAdvanced.Add(this.scrolledwindow);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.scrolledwindow]));
     w26.TopAttach    = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.RightAttach  = ((uint)(2));
     w26.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.spinMaxPoolSize          = new Gtk.SpinButton(1, 100, 1);
     this.spinMaxPoolSize.CanFocus = true;
     this.spinMaxPoolSize.Name     = "spinMaxPoolSize";
     this.spinMaxPoolSize.Adjustment.PageIncrement = 10;
     this.spinMaxPoolSize.ClimbRate = 1;
     this.spinMaxPoolSize.Numeric   = true;
     this.spinMaxPoolSize.Value     = 5;
     this.tableAdvanced.Add(this.spinMaxPoolSize);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMaxPoolSize]));
     w27.TopAttach    = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((Gtk.AttachOptions)(4));
     w27.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child tableAdvanced.Gtk.Table+TableChild
     this.spinMinPoolSize          = new Gtk.SpinButton(1, 100, 1);
     this.spinMinPoolSize.CanFocus = true;
     this.spinMinPoolSize.Name     = "spinMinPoolSize";
     this.spinMinPoolSize.Adjustment.PageIncrement = 10;
     this.spinMinPoolSize.ClimbRate = 1;
     this.spinMinPoolSize.Numeric   = true;
     this.spinMinPoolSize.Value     = 1;
     this.tableAdvanced.Add(this.spinMinPoolSize);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.tableAdvanced[this.spinMinPoolSize]));
     w28.LeftAttach  = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions    = ((Gtk.AttachOptions)(4));
     w28.YOptions    = ((Gtk.AttachOptions)(4));
     this.notebook.Add(this.tableAdvanced);
     Gtk.Notebook.NotebookChild w29 = ((Gtk.Notebook.NotebookChild)(this.notebook[this.tableAdvanced]));
     w29.Position  = 1;
     w29.TabExpand = false;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Advanced");
     this.notebook.SetTabLabel(this.tableAdvanced, this.label2);
     this.label2.ShowAll();
     w1.Add(this.notebook);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(w1[this.notebook]));
     w30.Position = 0;
     w30.Expand   = false;
     w30.Fill     = false;
     // Internal child MonoDevelop.Database.Components.DatabaseConnectionSettingsDialog.ActionArea
     Gtk.HButtonBox w31 = this.ActionArea;
     w31.Name        = "dialog1_ActionArea";
     w31.Spacing     = 6;
     w31.BorderWidth = ((uint)(5));
     w31.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     Gtk.ButtonBox.ButtonBoxChild w32 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonCancel]));
     w32.Expand = false;
     w32.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w33 = ((Gtk.ButtonBox.ButtonBoxChild)(w31[this.buttonOk]));
     w33.Position = 1;
     w33.Expand   = false;
     w33.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth         = 606;
     this.DefaultHeight        = 351;
     this.entryName.HasDefault = true;
     this.Show();
     this.spinPort.Changed        += new System.EventHandler(this.PortChanged);
     this.entryPassword.Changed   += new System.EventHandler(this.PasswordChanged);
     this.buttonRefresh.Clicked   += new System.EventHandler(this.RefreshClicked);
     this.buttonOpen.Clicked      += new System.EventHandler(this.OpenClicked);
     this.entryUsername.Changed   += new System.EventHandler(this.UsernameChanged);
     this.entryServer.Changed     += new System.EventHandler(this.ServerChanged);
     this.entryName.Changed       += new System.EventHandler(this.NameChanged);
     this.comboProvider.Changed   += new System.EventHandler(this.ProviderChanged);
     this.spinMinPoolSize.Changed += new System.EventHandler(this.MinPoolSizeChanged);
     this.spinMaxPoolSize.Changed += new System.EventHandler(this.MaxPoolSizeChanged);
     this.buttonCancel.Clicked    += new System.EventHandler(this.OnCancelClicked);
     this.buttonOk.Clicked        += new System.EventHandler(this.OnOkClicked);
 }
Example #21
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget serialmon.about
     this.Name           = "serialmon.about";
     this.Title          = Mono.Unix.Catalog.GetString("about");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Container child serialmon.about.Gtk.Container+ContainerChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("serialmon (v0.001): \n      a mono program by <b>Daniel Otte</b> ([email protected]) [GPLv3 or later]");
     this.label4.UseMarkup = true;
     this.vbox2.Add(this.label4);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label4]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.image8        = new Gtk.Image();
     this.image8.Name   = "image8";
     this.image8.Pixbuf = Gdk.Pixbuf.LoadFromResource("logo_small.png");
     this.vbox2.Add(this.image8);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.image8]));
     w2.Position = 1;
     w2.Expand   = false;
     this.notebook1.Add(this.vbox2);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString(":about");
     this.notebook1.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.alignment1      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textview1             = new Gtk.TextView();
     this.textview1.Buffer.Text = "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU General Public License is a free, copyleft license for\nsoftware and other kinds of works.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nthe GNU General Public License is intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Use with the GNU Affero General Public License.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU Affero General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU GPL, see\n<http://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<http://www.gnu.org/philosophy/why-not-lgpl.html>.\n";
     this.textview1.CanFocus    = true;
     this.textview1.Name        = "textview1";
     this.textview1.Editable    = false;
     this.textview1.WrapMode    = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow.Add(this.textview1);
     this.alignment1.Add(this.GtkScrolledWindow);
     this.notebook1.Add(this.alignment1);
     Gtk.Notebook.NotebookChild w6 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment1]));
     w6.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString(":License");
     this.notebook1.SetTabLabel(this.alignment1, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.alignment2      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name = "alignment2";
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("This program is a project by <b>Das Labor</b>\n  visit us at http://www.das-labor.org");
     this.label5.UseMarkup = true;
     this.vbox3.Add(this.label5);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.label5]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.image7        = new Gtk.Image();
     this.image7.Name   = "image7";
     this.image7.Pixbuf = Gdk.Pixbuf.LoadFromResource("Labor.png");
     this.vbox3.Add(this.image7);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.image7]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.alignment2.Add(this.vbox3);
     this.notebook1.Add(this.alignment2);
     Gtk.Notebook.NotebookChild w10 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.alignment2]));
     w10.Position = 2;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString(":Labor");
     this.notebook1.SetTabLabel(this.alignment2, this.label3);
     this.label3.ShowAll();
     this.vbox1.Add(this.notebook1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
     w11.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1              = new Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     // Container child button1.Gtk.Container+ContainerChild
     Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w13 = new Gtk.HBox();
     w13.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w14 = new Gtk.Image();
     w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
     w13.Add(w14);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w16 = new Gtk.Label();
     w16.LabelProp    = Mono.Unix.Catalog.GetString("close");
     w16.UseUnderline = true;
     w13.Add(w16);
     w12.Add(w13);
     this.button1.Add(w12);
     this.hbox1.Add(this.button1);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.hbox1[this.button1]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     this.vbox1.Add(this.hbox1);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
     w21.Position = 1;
     w21.Expand   = false;
     w21.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 485;
     this.DefaultHeight = 506;
     this.Show();
     this.button1.Released += new System.EventHandler(this.OnButton1Released);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Monsoon.RssManagerDialog
     this.Name           = "Monsoon.RssManagerDialog";
     this.Title          = Mono.Unix.Catalog.GetString("Monsoon RSS Manager");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     // Internal child Monsoon.RssManagerDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 2;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox2             = new Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(5));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("RSS Feed:");
     this.hbox1.Add(this.label5);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label5]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.feedUrlEntry               = new Gtk.Entry();
     this.feedUrlEntry.CanFocus      = true;
     this.feedUrlEntry.Name          = "feedUrlEntry";
     this.feedUrlEntry.IsEditable    = true;
     this.feedUrlEntry.InvisibleChar = '●';
     this.hbox1.Add(this.feedUrlEntry);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.feedUrlEntry]));
     w3.Position = 1;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.scrolledwindow1            = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus   = true;
     this.scrolledwindow1.Name       = "scrolledwindow1";
     this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     this.feedTreeView                = new Gtk.TreeView();
     this.feedTreeView.CanFocus       = true;
     this.feedTreeView.Name           = "feedTreeView";
     this.feedTreeView.HeadersVisible = false;
     this.scrolledwindow1.Add(this.feedTreeView);
     this.hbox2.Add(this.scrolledwindow1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.scrolledwindow1]));
     w6.Position = 0;
     // 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.addFeedButton              = new Gtk.Button();
     this.addFeedButton.CanFocus     = true;
     this.addFeedButton.Name         = "addFeedButton";
     this.addFeedButton.UseStock     = true;
     this.addFeedButton.UseUnderline = true;
     this.addFeedButton.Label        = "gtk-add";
     this.vbox3.Add(this.addFeedButton);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.addFeedButton]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.removeFeedButton              = new Gtk.Button();
     this.removeFeedButton.CanFocus     = true;
     this.removeFeedButton.Name         = "removeFeedButton";
     this.removeFeedButton.UseStock     = true;
     this.removeFeedButton.UseUnderline = true;
     this.removeFeedButton.Label        = "gtk-remove";
     this.vbox3.Add(this.removeFeedButton);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.removeFeedButton]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     this.hbox2.Add(this.vbox3);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox2[this.vbox3]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w10.Position = 1;
     this.notebook1.Add(this.vbox2);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Feeds");
     this.notebook1.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox3             = new Gtk.HBox();
     this.hbox3.Name        = "hbox3";
     this.hbox3.Spacing     = 6;
     this.hbox3.BorderWidth = ((uint)(5));
     // Container child hbox3.Gtk.Box+BoxChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.scrolledwindow2            = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus   = true;
     this.scrolledwindow2.Name       = "scrolledwindow2";
     this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     this.filterTreeView                = new Gtk.TreeView();
     this.filterTreeView.CanFocus       = true;
     this.filterTreeView.Name           = "filterTreeView";
     this.filterTreeView.HeadersVisible = false;
     this.scrolledwindow2.Add(this.filterTreeView);
     this.vbox4.Add(this.scrolledwindow2);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.scrolledwindow2]));
     w13.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.addFilterButton              = new Gtk.Button();
     this.addFilterButton.CanFocus     = true;
     this.addFilterButton.Name         = "addFilterButton";
     this.addFilterButton.UseStock     = true;
     this.addFilterButton.UseUnderline = true;
     this.addFilterButton.Label        = "gtk-add";
     this.hbox4.Add(this.addFilterButton);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.addFilterButton]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.removeFilterButton              = new Gtk.Button();
     this.removeFilterButton.CanFocus     = true;
     this.removeFilterButton.Name         = "removeFilterButton";
     this.removeFilterButton.UseStock     = true;
     this.removeFilterButton.UseUnderline = true;
     this.removeFilterButton.Label        = "gtk-remove";
     this.hbox4.Add(this.removeFilterButton);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox4[this.removeFilterButton]));
     w15.Position = 1;
     w15.Expand   = false;
     w15.Fill     = false;
     this.vbox4.Add(this.hbox4);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbox4]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     this.hbox3.Add(this.vbox4);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox3[this.vbox4]));
     w17.Position = 0;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox3.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.GtkAlignment4             = new Gtk.Alignment(1F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.filterTable               = new Gtk.Table(((uint)(7)), ((uint)(2)), false);
     this.filterTable.Name          = "filterTable";
     this.filterTable.RowSpacing    = ((uint)(6));
     this.filterTable.ColumnSpacing = ((uint)(6));
     // Container child filterTable.Gtk.Table+TableChild
     this.excludeEntry               = new Gtk.Entry();
     this.excludeEntry.CanFocus      = true;
     this.excludeEntry.Name          = "excludeEntry";
     this.excludeEntry.IsEditable    = true;
     this.excludeEntry.InvisibleChar = '●';
     this.filterTable.Add(this.excludeEntry);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.filterTable[this.excludeEntry]));
     w18.TopAttach    = ((uint)(2));
     w18.BottomAttach = ((uint)(3));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((Gtk.AttachOptions)(4));
     w18.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.filterFeedCombobox      = new Gtk.ComboBox();
     this.filterFeedCombobox.Name = "filterFeedCombobox";
     this.filterTable.Add(this.filterFeedCombobox);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.filterTable[this.filterFeedCombobox]));
     w19.TopAttach    = ((uint)(4));
     w19.BottomAttach = ((uint)(5));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((Gtk.AttachOptions)(4));
     w19.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.includeEntry               = new Gtk.Entry();
     this.includeEntry.CanFocus      = true;
     this.includeEntry.Name          = "includeEntry";
     this.includeEntry.IsEditable    = true;
     this.includeEntry.InvisibleChar = '●';
     this.filterTable.Add(this.includeEntry);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.filterTable[this.includeEntry]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label10           = new Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 0F;
     this.label10.LabelProp = Mono.Unix.Catalog.GetString("Name:");
     this.filterTable.Add(this.label10);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.filterTable[this.label10]));
     w21.XOptions = ((Gtk.AttachOptions)(4));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 0F;
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("Feed:");
     this.filterTable.Add(this.label11);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.filterTable[this.label11]));
     w22.TopAttach    = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions     = ((Gtk.AttachOptions)(4));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label6           = new Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = Mono.Unix.Catalog.GetString("Filter:");
     this.filterTable.Add(this.label6);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.filterTable[this.label6]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.XOptions     = ((Gtk.AttachOptions)(4));
     w23.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Exclude:");
     this.filterTable.Add(this.label7);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.filterTable[this.label7]));
     w24.TopAttach    = ((uint)(2));
     w24.BottomAttach = ((uint)(3));
     w24.XOptions     = ((Gtk.AttachOptions)(4));
     w24.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Save Path:");
     this.filterTable.Add(this.label8);
     Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.filterTable[this.label8]));
     w25.TopAttach    = ((uint)(3));
     w25.BottomAttach = ((uint)(4));
     w25.XOptions     = ((Gtk.AttachOptions)(4));
     w25.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.label9           = new Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = Mono.Unix.Catalog.GetString("Label:");
     this.filterTable.Add(this.label9);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.filterTable[this.label9]));
     w26.TopAttach    = ((uint)(5));
     w26.BottomAttach = ((uint)(6));
     w26.XOptions     = ((Gtk.AttachOptions)(4));
     w26.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.labelCombobox      = new Gtk.ComboBox();
     this.labelCombobox.Name = "labelCombobox";
     this.filterTable.Add(this.labelCombobox);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.filterTable[this.labelCombobox]));
     w27.TopAttach    = ((uint)(5));
     w27.BottomAttach = ((uint)(6));
     w27.LeftAttach   = ((uint)(1));
     w27.RightAttach  = ((uint)(2));
     w27.XOptions     = ((Gtk.AttachOptions)(4));
     w27.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child filterTable.Gtk.Table+TableChild
     this.nameEntry               = new Gtk.Entry();
     this.nameEntry.CanFocus      = true;
     this.nameEntry.Name          = "nameEntry";
     this.nameEntry.IsEditable    = true;
     this.nameEntry.InvisibleChar = '●';
     this.filterTable.Add(this.nameEntry);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.filterTable[this.nameEntry]));
     w28.LeftAttach  = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.XOptions    = ((Gtk.AttachOptions)(4));
     w28.YOptions    = ((Gtk.AttachOptions)(4));
     this.GtkAlignment4.Add(this.filterTable);
     this.frame1.Add(this.GtkAlignment4);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Filter Settings</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel6;
     this.hbox3.Add(this.frame1);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox3[this.frame1]));
     w31.Position = 1;
     this.notebook1.Add(this.hbox3);
     Gtk.Notebook.NotebookChild w32 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.hbox3]));
     w32.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Filters");
     this.notebook1.SetTabLabel(this.hbox3, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox5             = new Gtk.VBox();
     this.vbox5.Name        = "vbox5";
     this.vbox5.Spacing     = 6;
     this.vbox5.BorderWidth = ((uint)(5));
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.feedCombobox      = new Gtk.ComboBox();
     this.feedCombobox.Name = "feedCombobox";
     this.hbox5.Add(this.feedCombobox);
     Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.hbox5[this.feedCombobox]));
     w33.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.refreshFeedButton              = new Gtk.Button();
     this.refreshFeedButton.CanFocus     = true;
     this.refreshFeedButton.Name         = "refreshFeedButton";
     this.refreshFeedButton.UseStock     = true;
     this.refreshFeedButton.UseUnderline = true;
     this.refreshFeedButton.Label        = "gtk-refresh";
     this.hbox5.Add(this.refreshFeedButton);
     Gtk.Box.BoxChild w34 = ((Gtk.Box.BoxChild)(this.hbox5[this.refreshFeedButton]));
     w34.Position = 1;
     w34.Expand   = false;
     w34.Fill     = false;
     this.vbox5.Add(this.hbox5);
     Gtk.Box.BoxChild w35 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.scrolledwindow3            = new Gtk.ScrolledWindow();
     this.scrolledwindow3.CanFocus   = true;
     this.scrolledwindow3.Name       = "scrolledwindow3";
     this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1));
     // Container child scrolledwindow3.Gtk.Container+ContainerChild
     this.itemTreeView                = new Gtk.TreeView();
     this.itemTreeView.CanFocus       = true;
     this.itemTreeView.Name           = "itemTreeView";
     this.itemTreeView.HeadersVisible = false;
     this.scrolledwindow3.Add(this.itemTreeView);
     this.vbox5.Add(this.scrolledwindow3);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.vbox5[this.scrolledwindow3]));
     w37.Position = 1;
     this.notebook1.Add(this.vbox5);
     Gtk.Notebook.NotebookChild w38 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5]));
     w38.Position = 2;
     // Notebook tab
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Torrents");
     this.notebook1.SetTabLabel(this.vbox5, this.label3);
     this.label3.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox6             = new Gtk.HBox();
     this.hbox6.Name        = "hbox6";
     this.hbox6.Spacing     = 6;
     this.hbox6.BorderWidth = ((uint)(5));
     // Container child hbox6.Gtk.Box+BoxChild
     this.scrolledwindow4             = new Gtk.ScrolledWindow();
     this.scrolledwindow4.CanFocus    = true;
     this.scrolledwindow4.Name        = "scrolledwindow4";
     this.scrolledwindow4.ShadowType  = ((Gtk.ShadowType)(1));
     this.scrolledwindow4.BorderWidth = ((uint)(5));
     // Container child scrolledwindow4.Gtk.Container+ContainerChild
     this.historyTreeView          = new Gtk.TreeView();
     this.historyTreeView.CanFocus = true;
     this.historyTreeView.Name     = "historyTreeView";
     this.scrolledwindow4.Add(this.historyTreeView);
     this.hbox6.Add(this.scrolledwindow4);
     Gtk.Box.BoxChild w40 = ((Gtk.Box.BoxChild)(this.hbox6[this.scrolledwindow4]));
     w40.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.removeHistoryButton              = new Gtk.Button();
     this.removeHistoryButton.CanFocus     = true;
     this.removeHistoryButton.Name         = "removeHistoryButton";
     this.removeHistoryButton.UseStock     = true;
     this.removeHistoryButton.UseUnderline = true;
     this.removeHistoryButton.Label        = "gtk-remove";
     this.vbox6.Add(this.removeHistoryButton);
     Gtk.Box.BoxChild w41 = ((Gtk.Box.BoxChild)(this.vbox6[this.removeHistoryButton]));
     w41.Position = 0;
     w41.Expand   = false;
     w41.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.clearHistoryButton              = new Gtk.Button();
     this.clearHistoryButton.CanFocus     = true;
     this.clearHistoryButton.Name         = "clearHistoryButton";
     this.clearHistoryButton.UseStock     = true;
     this.clearHistoryButton.UseUnderline = true;
     this.clearHistoryButton.Label        = "gtk-clear";
     this.vbox6.Add(this.clearHistoryButton);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox6[this.clearHistoryButton]));
     w42.Position = 1;
     w42.Expand   = false;
     w42.Fill     = false;
     this.hbox6.Add(this.vbox6);
     Gtk.Box.BoxChild w43 = ((Gtk.Box.BoxChild)(this.hbox6[this.vbox6]));
     w43.Position = 1;
     w43.Expand   = false;
     w43.Fill     = false;
     this.notebook1.Add(this.hbox6);
     Gtk.Notebook.NotebookChild w44 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.hbox6]));
     w44.Position = 3;
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("History");
     this.notebook1.SetTabLabel(this.hbox6, this.label4);
     this.label4.ShowAll();
     w1.Add(this.notebook1);
     Gtk.Box.BoxChild w45 = ((Gtk.Box.BoxChild)(w1[this.notebook1]));
     w45.Position = 0;
     // Internal child Monsoon.RssManagerDialog.ActionArea
     Gtk.HButtonBox w46 = this.ActionArea;
     w46.Name        = "GtkDialog_ActionArea";
     w46.Spacing     = 6;
     w46.BorderWidth = ((uint)(5));
     w46.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.Close              = new Gtk.Button();
     this.Close.CanFocus     = true;
     this.Close.Name         = "Close";
     this.Close.UseUnderline = true;
     this.Close.Label        = Mono.Unix.Catalog.GetString("Close");
     this.AddActionWidget(this.Close, 0);
     Gtk.ButtonBox.ButtonBoxChild w47 = ((Gtk.ButtonBox.ButtonBoxChild)(w46[this.Close]));
     w47.Expand = false;
     w47.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 549;
     this.DefaultHeight = 384;
     this.label9.Hide();
     this.labelCombobox.Hide();
     this.Show();
     this.addFeedButton.Clicked       += new System.EventHandler(this.OnAddFeedButtonClicked);
     this.removeFeedButton.Clicked    += new System.EventHandler(this.OnRemoveFeedButtonClicked);
     this.addFilterButton.Clicked     += new System.EventHandler(this.OnAddFilterButtonClicked);
     this.removeFilterButton.Clicked  += new System.EventHandler(this.OnRemoveFilterButtonClicked);
     this.refreshFeedButton.Clicked   += new System.EventHandler(this.OnRefreshFeedButtonClicked);
     this.removeHistoryButton.Clicked += new System.EventHandler(this.OnRemoveHistoryButtonClicked);
     this.clearHistoryButton.Clicked  += new System.EventHandler(this.OnClearHistoryButtonClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.ModifyCacheDialog
     this.WidthRequest   = 650;
     this.HeightRequest  = 550;
     this.Name           = "ocmgtk.ModifyCacheDialog";
     this.Title          = Mono.Unix.Catalog.GetString("Add/Modify Geocache...");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(6));
     // Internal child ocmgtk.ModifyCacheDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     this.notebook1.TabPos      = ((Gtk.PositionType)(0));
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.table2               = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.BorderWidth   = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.codeEntry               = new Gtk.Entry();
     this.codeEntry.CanFocus      = true;
     this.codeEntry.Name          = "codeEntry";
     this.codeEntry.IsEditable    = true;
     this.codeEntry.InvisibleChar = '•';
     this.table2.Add(this.codeEntry);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.codeEntry]));
     w2.LeftAttach  = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.frame3            = new Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.image46        = new Gtk.Image();
     this.image46.Name   = "image46";
     this.image46.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Button, 20);
     this.hbox1.Add(this.image46);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.image46]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.corrButton              = new Gtk.Button();
     this.corrButton.CanFocus     = true;
     this.corrButton.Name         = "corrButton";
     this.corrButton.FocusOnClick = false;
     this.corrButton.Relief       = ((Gtk.ReliefStyle)(2));
     // Container child corrButton.Gtk.Container+ContainerChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Use <span fgcolor=\"blue\">corrected coordinates</span> to prevent GPX imports from overwriting the cache location");
     this.label3.UseMarkup = true;
     this.corrButton.Add(this.label3);
     this.corrButton.Label = null;
     this.hbox1.Add(this.corrButton);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.corrButton]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.coordEntry           = new ocmgtk.LocationWidget();
     this.coordEntry.Events    = ((Gdk.EventMask)(256));
     this.coordEntry.Name      = "coordEntry";
     this.coordEntry.Latitude  = 0;
     this.coordEntry.Longitude = 0;
     this.vbox2.Add(this.coordEntry);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.coordEntry]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.GtkAlignment2.Add(this.vbox2);
     this.frame3.Add(this.GtkAlignment2);
     this.GtkLabel2           = new Gtk.Label();
     this.GtkLabel2.Name      = "GtkLabel2";
     this.GtkLabel2.LabelProp = Mono.Unix.Catalog.GetString("<b>Location</b>");
     this.GtkLabel2.UseMarkup = true;
     this.frame3.LabelWidget  = this.GtkLabel2;
     this.table2.Add(this.frame3);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table2[this.frame3]));
     w10.TopAttach    = ((uint)(4));
     w10.BottomAttach = ((uint)(5));
     w10.RightAttach  = ((uint)(2));
     w10.XOptions     = ((Gtk.AttachOptions)(4));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.frame4            = new Gtk.Frame();
     this.frame4.Name       = "frame4";
     this.frame4.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame4.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.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.descriptionEntry          = new Gtk.TextView();
     this.descriptionEntry.CanFocus = true;
     this.descriptionEntry.Name     = "descriptionEntry";
     this.GtkScrolledWindow.Add(this.descriptionEntry);
     this.vbox3.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
     w12.Position = 0;
     this.GtkAlignment3.Add(this.vbox3);
     this.frame4.Add(this.GtkAlignment3);
     this.GtkLabel3           = new Gtk.Label();
     this.GtkLabel3.Name      = "GtkLabel3";
     this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Waypoint Description</b>");
     this.GtkLabel3.UseMarkup = true;
     this.frame4.LabelWidget  = this.GtkLabel3;
     this.table2.Add(this.frame4);
     Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table2[this.frame4]));
     w15.TopAttach    = ((uint)(5));
     w15.BottomAttach = ((uint)(6));
     w15.RightAttach  = ((uint)(2));
     // Container child table2.Gtk.Table+TableChild
     this.label11           = new Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.Xalign    = 0F;
     this.label11.LabelProp = Mono.Unix.Catalog.GetString("URL:");
     this.table2.Add(this.label11);
     Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table2[this.label11]));
     w16.TopAttach    = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.XOptions     = ((Gtk.AttachOptions)(4));
     w16.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label12           = new Gtk.Label();
     this.label12.Name      = "label12";
     this.label12.Xalign    = 0F;
     this.label12.LabelProp = Mono.Unix.Catalog.GetString("URL Name:");
     this.table2.Add(this.label12);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.label12]));
     w17.TopAttach    = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions     = ((Gtk.AttachOptions)(4));
     w17.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = Mono.Unix.Catalog.GetString("Cache Type:");
     this.table2.Add(this.label7);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.label7]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.XOptions     = ((Gtk.AttachOptions)(4));
     w18.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = Mono.Unix.Catalog.GetString("Cache Code:");
     this.table2.Add(this.label8);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.label8]));
     w19.XOptions = ((Gtk.AttachOptions)(4));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.typeEntry = Gtk.ComboBox.NewText();
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Generic"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Traditional Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Unknown Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Multi-Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Earthcache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Eventcache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Letterbox Hybrid"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Project A.P.E Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("GPS Adventures Exhibit"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Locationless Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Virtual Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Webcam Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Wherigo Cache"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Cache In Trash Out Event"));
     this.typeEntry.AppendText(Mono.Unix.Catalog.GetString("Mega Event Cache"));
     this.typeEntry.Name   = "typeEntry";
     this.typeEntry.Active = 0;
     this.table2.Add(this.typeEntry);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.typeEntry]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(1));
     w20.RightAttach  = ((uint)(2));
     w20.XOptions     = ((Gtk.AttachOptions)(4));
     w20.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.urlEntry               = new Gtk.Entry();
     this.urlEntry.CanFocus      = true;
     this.urlEntry.Name          = "urlEntry";
     this.urlEntry.IsEditable    = true;
     this.urlEntry.InvisibleChar = '•';
     this.table2.Add(this.urlEntry);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.urlEntry]));
     w21.TopAttach    = ((uint)(2));
     w21.BottomAttach = ((uint)(3));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((Gtk.AttachOptions)(4));
     w21.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.urlNameEntry               = new Gtk.Entry();
     this.urlNameEntry.CanFocus      = true;
     this.urlNameEntry.Name          = "urlNameEntry";
     this.urlNameEntry.IsEditable    = true;
     this.urlNameEntry.InvisibleChar = '•';
     this.table2.Add(this.urlNameEntry);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.urlNameEntry]));
     w22.TopAttach    = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.XOptions     = ((Gtk.AttachOptions)(4));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table2);
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Properties");
     this.notebook1.SetTabLabel(this.table2, this.label2);
     this.label2.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.table3               = new Gtk.Table(((uint)(6)), ((uint)(2)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.BorderWidth   = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.diffEntry = Gtk.ComboBox.NewText();
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("1"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("1.5"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("2"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("2.5"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("3"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("3.5"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("4"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("4.5"));
     this.diffEntry.AppendText(Mono.Unix.Catalog.GetString("5"));
     this.diffEntry.Name   = "diffEntry";
     this.diffEntry.Active = 0;
     this.table3.Add(this.diffEntry);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.diffEntry]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach   = ((uint)(1));
     w24.RightAttach  = ((uint)(2));
     w24.XOptions     = ((Gtk.AttachOptions)(4));
     w24.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.frame5            = new Gtk.Frame();
     this.frame5.Name       = "frame5";
     this.frame5.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame5.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.shortDescEntry          = new Gtk.TextView();
     this.shortDescEntry.CanFocus = true;
     this.shortDescEntry.Name     = "shortDescEntry";
     this.shortDescEntry.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow1.Add(this.shortDescEntry);
     this.GtkAlignment4.Add(this.GtkScrolledWindow1);
     this.frame5.Add(this.GtkAlignment4);
     this.GtkLabel4           = new Gtk.Label();
     this.GtkLabel4.Name      = "GtkLabel4";
     this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Short Description</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame5.LabelWidget  = this.GtkLabel4;
     this.table3.Add(this.frame5);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table3[this.frame5]));
     w28.TopAttach    = ((uint)(4));
     w28.BottomAttach = ((uint)(5));
     w28.RightAttach  = ((uint)(2));
     w28.XOptions     = ((Gtk.AttachOptions)(4));
     w28.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.frame6            = new Gtk.Frame();
     this.frame6.Name       = "frame6";
     this.frame6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame6.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.GtkScrolledWindow2            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow2.Name       = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.longDescEntry          = new Gtk.TextView();
     this.longDescEntry.CanFocus = true;
     this.longDescEntry.Name     = "longDescEntry";
     this.longDescEntry.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow2.Add(this.longDescEntry);
     this.GtkAlignment5.Add(this.GtkScrolledWindow2);
     this.frame6.Add(this.GtkAlignment5);
     this.GtkLabel5           = new Gtk.Label();
     this.GtkLabel5.Name      = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>Long Description</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame6.LabelWidget  = this.GtkLabel5;
     this.table3.Add(this.frame6);
     Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table3[this.frame6]));
     w32.TopAttach    = ((uint)(5));
     w32.BottomAttach = ((uint)(6));
     w32.RightAttach  = ((uint)(2));
     w32.XOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.frame7            = new Gtk.Frame();
     this.frame7.Name       = "frame7";
     this.frame7.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame7.Gtk.Container+ContainerChild
     this.GtkAlignment6             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment6.Name        = "GtkAlignment6";
     this.GtkAlignment6.LeftPadding = ((uint)(12));
     // Container child GtkAlignment6.Gtk.Container+ContainerChild
     this.GtkScrolledWindow3            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow3.Name       = "GtkScrolledWindow3";
     this.GtkScrolledWindow3.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild
     this.hintEntry          = new Gtk.TextView();
     this.hintEntry.CanFocus = true;
     this.hintEntry.Name     = "hintEntry";
     this.hintEntry.WrapMode = ((Gtk.WrapMode)(2));
     this.GtkScrolledWindow3.Add(this.hintEntry);
     this.GtkAlignment6.Add(this.GtkScrolledWindow3);
     this.frame7.Add(this.GtkAlignment6);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Hint</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame7.LabelWidget  = this.GtkLabel6;
     this.table3.Add(this.frame7);
     Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table3[this.frame7]));
     w36.TopAttach    = ((uint)(3));
     w36.BottomAttach = ((uint)(4));
     w36.RightAttach  = ((uint)(2));
     w36.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label13           = new Gtk.Label();
     this.label13.Name      = "label13";
     this.label13.Xalign    = 0F;
     this.label13.LabelProp = Mono.Unix.Catalog.GetString("Cache Name:");
     this.table3.Add(this.label13);
     Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table3[this.label13]));
     w37.XOptions = ((Gtk.AttachOptions)(4));
     w37.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label14           = new Gtk.Label();
     this.label14.Name      = "label14";
     this.label14.Xalign    = 0F;
     this.label14.LabelProp = Mono.Unix.Catalog.GetString("Difficulty:");
     this.table3.Add(this.label14);
     Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table3[this.label14]));
     w38.TopAttach    = ((uint)(1));
     w38.BottomAttach = ((uint)(2));
     w38.XOptions     = ((Gtk.AttachOptions)(4));
     w38.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label15           = new Gtk.Label();
     this.label15.Name      = "label15";
     this.label15.Xalign    = 0F;
     this.label15.LabelProp = Mono.Unix.Catalog.GetString("Terrain:");
     this.table3.Add(this.label15);
     Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table3[this.label15]));
     w39.TopAttach    = ((uint)(2));
     w39.BottomAttach = ((uint)(3));
     w39.XOptions     = ((Gtk.AttachOptions)(4));
     w39.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.nameEntry               = new Gtk.Entry();
     this.nameEntry.CanFocus      = true;
     this.nameEntry.Name          = "nameEntry";
     this.nameEntry.IsEditable    = true;
     this.nameEntry.InvisibleChar = '•';
     this.table3.Add(this.nameEntry);
     Gtk.Table.TableChild w40 = ((Gtk.Table.TableChild)(this.table3[this.nameEntry]));
     w40.LeftAttach  = ((uint)(1));
     w40.RightAttach = ((uint)(2));
     w40.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.terrEntry = Gtk.ComboBox.NewText();
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("1"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("1.5"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("2"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("2.5"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("3"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("3.5"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("4"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("4.5"));
     this.terrEntry.AppendText(Mono.Unix.Catalog.GetString("5"));
     this.terrEntry.Name   = "terrEntry";
     this.terrEntry.Active = 0;
     this.table3.Add(this.terrEntry);
     Gtk.Table.TableChild w41 = ((Gtk.Table.TableChild)(this.table3[this.terrEntry]));
     w41.TopAttach    = ((uint)(2));
     w41.BottomAttach = ((uint)(3));
     w41.LeftAttach   = ((uint)(1));
     w41.RightAttach  = ((uint)(2));
     w41.XOptions     = ((Gtk.AttachOptions)(4));
     w41.YOptions     = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table3);
     Gtk.Notebook.NotebookChild w42 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.table3]));
     w42.Position = 1;
     // Notebook tab
     this.name           = new Gtk.Label();
     this.name.Name      = "name";
     this.name.LabelProp = Mono.Unix.Catalog.GetString("Paperless Caching Details");
     this.notebook1.SetTabLabel(this.table3, this.name);
     this.name.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.vbox4             = new Gtk.VBox();
     this.vbox4.Name        = "vbox4";
     this.vbox4.Spacing     = 6;
     this.vbox4.BorderWidth = ((uint)(6));
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame8            = new Gtk.Frame();
     this.frame8.Name       = "frame8";
     this.frame8.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame8.Gtk.Container+ContainerChild
     this.GtkAlignment7             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment7.Name        = "GtkAlignment7";
     this.GtkAlignment7.LeftPadding = ((uint)(12));
     // Container child GtkAlignment7.Gtk.Container+ContainerChild
     this.table1               = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.cacheIDEntry               = new Gtk.Entry();
     this.cacheIDEntry.CanFocus      = true;
     this.cacheIDEntry.Name          = "cacheIDEntry";
     this.cacheIDEntry.IsEditable    = true;
     this.cacheIDEntry.InvisibleChar = '•';
     this.table1.Add(this.cacheIDEntry);
     Gtk.Table.TableChild w43 = ((Gtk.Table.TableChild)(this.table1[this.cacheIDEntry]));
     w43.TopAttach    = ((uint)(3));
     w43.BottomAttach = ((uint)(4));
     w43.LeftAttach   = ((uint)(1));
     w43.RightAttach  = ((uint)(2));
     w43.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19           = new Gtk.Label();
     this.label19.Name      = "label19";
     this.label19.Xalign    = 0F;
     this.label19.LabelProp = Mono.Unix.Catalog.GetString("Owner:");
     this.table1.Add(this.label19);
     Gtk.Table.TableChild w44 = ((Gtk.Table.TableChild)(this.table1[this.label19]));
     w44.XOptions = ((Gtk.AttachOptions)(4));
     w44.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label20           = new Gtk.Label();
     this.label20.Name      = "label20";
     this.label20.Xalign    = 0F;
     this.label20.LabelProp = Mono.Unix.Catalog.GetString("Owner ID:");
     this.table1.Add(this.label20);
     Gtk.Table.TableChild w45 = ((Gtk.Table.TableChild)(this.table1[this.label20]));
     w45.TopAttach    = ((uint)(1));
     w45.BottomAttach = ((uint)(2));
     w45.XOptions     = ((Gtk.AttachOptions)(4));
     w45.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label21           = new Gtk.Label();
     this.label21.Name      = "label21";
     this.label21.Xalign    = 0F;
     this.label21.LabelProp = Mono.Unix.Catalog.GetString("Placed By:");
     this.table1.Add(this.label21);
     Gtk.Table.TableChild w46 = ((Gtk.Table.TableChild)(this.table1[this.label21]));
     w46.TopAttach    = ((uint)(2));
     w46.BottomAttach = ((uint)(3));
     w46.XOptions     = ((Gtk.AttachOptions)(4));
     w46.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label22           = new Gtk.Label();
     this.label22.Name      = "label22";
     this.label22.Xalign    = 0F;
     this.label22.LabelProp = Mono.Unix.Catalog.GetString("Cache ID:");
     this.table1.Add(this.label22);
     Gtk.Table.TableChild w47 = ((Gtk.Table.TableChild)(this.table1[this.label22]));
     w47.TopAttach    = ((uint)(3));
     w47.BottomAttach = ((uint)(4));
     w47.XOptions     = ((Gtk.AttachOptions)(4));
     w47.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ownerEntry               = new Gtk.Entry();
     this.ownerEntry.CanFocus      = true;
     this.ownerEntry.Name          = "ownerEntry";
     this.ownerEntry.IsEditable    = true;
     this.ownerEntry.InvisibleChar = '•';
     this.table1.Add(this.ownerEntry);
     Gtk.Table.TableChild w48 = ((Gtk.Table.TableChild)(this.table1[this.ownerEntry]));
     w48.LeftAttach  = ((uint)(1));
     w48.RightAttach = ((uint)(2));
     w48.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.ownerIDEntry               = new Gtk.Entry();
     this.ownerIDEntry.CanFocus      = true;
     this.ownerIDEntry.Name          = "ownerIDEntry";
     this.ownerIDEntry.IsEditable    = true;
     this.ownerIDEntry.InvisibleChar = '•';
     this.table1.Add(this.ownerIDEntry);
     Gtk.Table.TableChild w49 = ((Gtk.Table.TableChild)(this.table1[this.ownerIDEntry]));
     w49.TopAttach    = ((uint)(1));
     w49.BottomAttach = ((uint)(2));
     w49.LeftAttach   = ((uint)(1));
     w49.RightAttach  = ((uint)(2));
     w49.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.placedByEntry               = new Gtk.Entry();
     this.placedByEntry.CanFocus      = true;
     this.placedByEntry.Name          = "placedByEntry";
     this.placedByEntry.IsEditable    = true;
     this.placedByEntry.InvisibleChar = '•';
     this.table1.Add(this.placedByEntry);
     Gtk.Table.TableChild w50 = ((Gtk.Table.TableChild)(this.table1[this.placedByEntry]));
     w50.TopAttach    = ((uint)(2));
     w50.BottomAttach = ((uint)(3));
     w50.LeftAttach   = ((uint)(1));
     w50.RightAttach  = ((uint)(2));
     w50.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment7.Add(this.table1);
     this.frame8.Add(this.GtkAlignment7);
     this.GtkLabel           = new Gtk.Label();
     this.GtkLabel.Name      = "GtkLabel";
     this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Owner Details</b>");
     this.GtkLabel.UseMarkup = true;
     this.frame8.LabelWidget = this.GtkLabel;
     this.vbox4.Add(this.frame8);
     Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame8]));
     w53.Position = 0;
     w53.Expand   = false;
     w53.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame9            = new Gtk.Frame();
     this.frame9.Name       = "frame9";
     this.frame9.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame9.Gtk.Container+ContainerChild
     this.GtkAlignment8             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name        = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.table4               = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.label23           = new Gtk.Label();
     this.label23.Name      = "label23";
     this.label23.LabelProp = Mono.Unix.Catalog.GetString("User Data 2:");
     this.table4.Add(this.label23);
     Gtk.Table.TableChild w54 = ((Gtk.Table.TableChild)(this.table4[this.label23]));
     w54.TopAttach    = ((uint)(1));
     w54.BottomAttach = ((uint)(2));
     w54.XOptions     = ((Gtk.AttachOptions)(4));
     w54.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label24           = new Gtk.Label();
     this.label24.Name      = "label24";
     this.label24.LabelProp = Mono.Unix.Catalog.GetString("User Data 3:");
     this.table4.Add(this.label24);
     Gtk.Table.TableChild w55 = ((Gtk.Table.TableChild)(this.table4[this.label24]));
     w55.TopAttach    = ((uint)(2));
     w55.BottomAttach = ((uint)(3));
     w55.XOptions     = ((Gtk.AttachOptions)(4));
     w55.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label25           = new Gtk.Label();
     this.label25.Name      = "label25";
     this.label25.LabelProp = Mono.Unix.Catalog.GetString("User Data 4:");
     this.table4.Add(this.label25);
     Gtk.Table.TableChild w56 = ((Gtk.Table.TableChild)(this.table4[this.label25]));
     w56.TopAttach    = ((uint)(3));
     w56.BottomAttach = ((uint)(4));
     w56.XOptions     = ((Gtk.AttachOptions)(4));
     w56.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("User Data 1:");
     this.table4.Add(this.label5);
     Gtk.Table.TableChild w57 = ((Gtk.Table.TableChild)(this.table4[this.label5]));
     w57.XOptions = ((Gtk.AttachOptions)(4));
     w57.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.udata1Entry               = new Gtk.Entry();
     this.udata1Entry.CanFocus      = true;
     this.udata1Entry.Name          = "udata1Entry";
     this.udata1Entry.IsEditable    = true;
     this.udata1Entry.InvisibleChar = '•';
     this.table4.Add(this.udata1Entry);
     Gtk.Table.TableChild w58 = ((Gtk.Table.TableChild)(this.table4[this.udata1Entry]));
     w58.LeftAttach  = ((uint)(1));
     w58.RightAttach = ((uint)(2));
     w58.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.uData2Entry               = new Gtk.Entry();
     this.uData2Entry.CanFocus      = true;
     this.uData2Entry.Name          = "uData2Entry";
     this.uData2Entry.IsEditable    = true;
     this.uData2Entry.InvisibleChar = '•';
     this.table4.Add(this.uData2Entry);
     Gtk.Table.TableChild w59 = ((Gtk.Table.TableChild)(this.table4[this.uData2Entry]));
     w59.TopAttach    = ((uint)(1));
     w59.BottomAttach = ((uint)(2));
     w59.LeftAttach   = ((uint)(1));
     w59.RightAttach  = ((uint)(2));
     w59.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.uData3Entry               = new Gtk.Entry();
     this.uData3Entry.CanFocus      = true;
     this.uData3Entry.Name          = "uData3Entry";
     this.uData3Entry.IsEditable    = true;
     this.uData3Entry.InvisibleChar = '•';
     this.table4.Add(this.uData3Entry);
     Gtk.Table.TableChild w60 = ((Gtk.Table.TableChild)(this.table4[this.uData3Entry]));
     w60.TopAttach    = ((uint)(2));
     w60.BottomAttach = ((uint)(3));
     w60.LeftAttach   = ((uint)(1));
     w60.RightAttach  = ((uint)(2));
     w60.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.uData4Entry               = new Gtk.Entry();
     this.uData4Entry.CanFocus      = true;
     this.uData4Entry.Name          = "uData4Entry";
     this.uData4Entry.IsEditable    = true;
     this.uData4Entry.InvisibleChar = '•';
     this.table4.Add(this.uData4Entry);
     Gtk.Table.TableChild w61 = ((Gtk.Table.TableChild)(this.table4[this.uData4Entry]));
     w61.TopAttach    = ((uint)(3));
     w61.BottomAttach = ((uint)(4));
     w61.LeftAttach   = ((uint)(1));
     w61.RightAttach  = ((uint)(2));
     w61.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment8.Add(this.table4);
     this.frame9.Add(this.GtkAlignment8);
     this.GtkLabel8           = new Gtk.Label();
     this.GtkLabel8.Name      = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>User Data</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame9.LabelWidget  = this.GtkLabel8;
     this.vbox4.Add(this.frame9);
     Gtk.Box.BoxChild w64 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame9]));
     w64.Position = 1;
     w64.Expand   = false;
     w64.Fill     = false;
     this.notebook1.Add(this.vbox4);
     Gtk.Notebook.NotebookChild w65 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox4]));
     w65.Position = 2;
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Other Properties");
     this.notebook1.SetTabLabel(this.vbox4, this.label4);
     this.label4.ShowAll();
     w1.Add(this.notebook1);
     Gtk.Box.BoxChild w66 = ((Gtk.Box.BoxChild)(w1[this.notebook1]));
     w66.Position = 0;
     w66.Padding  = ((uint)(6));
     // Internal child ocmgtk.ModifyCacheDialog.ActionArea
     Gtk.HButtonBox w67 = this.ActionArea;
     w67.Name        = "dialog1_ActionArea";
     w67.Spacing     = 10;
     w67.BorderWidth = ((uint)(5));
     w67.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 w68 = ((Gtk.ButtonBox.ButtonBoxChild)(w67[this.buttonCancel]));
     w68.Expand = false;
     w68.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 w69 = ((Gtk.ButtonBox.ButtonBoxChild)(w67[this.buttonOk]));
     w69.Position = 1;
     w69.Expand   = false;
     w69.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 808;
     this.DefaultHeight = 577;
     this.Show();
     this.corrButton.Clicked   += new System.EventHandler(this.OnCorrClick);
     this.buttonCancel.Clicked += new System.EventHandler(this.OnCancelClicked);
     this.buttonOk.Clicked     += new System.EventHandler(this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Docky.ConfigurationWindow
     this.Name           = "Docky.ConfigurationWindow";
     this.Title          = Mono.Unix.Catalog.GetString("Docky Settings");
     this.Icon           = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
     this.TypeHint       = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((Gtk.WindowPosition)(1));
     this.BorderWidth    = ((uint)(2));
     // Container child Docky.ConfigurationWindow.Gtk.Container+ContainerChild
     this.vbox1      = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     // Container child vbox1.Gtk.Box+BoxChild
     this.config_notebook             = new Gtk.Notebook();
     this.config_notebook.CanFocus    = true;
     this.config_notebook.Name        = "config_notebook";
     this.config_notebook.CurrentPage = 1;
     this.config_notebook.Scrollable  = true;
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment1.Name          = "alignment1";
     this.alignment1.LeftPadding   = ((uint)(7));
     this.alignment1.TopPadding    = ((uint)(7));
     this.alignment1.RightPadding  = ((uint)(7));
     this.alignment1.BottomPadding = ((uint)(7));
     // Container child alignment1.Gtk.Container+ContainerChild
     this.vbox6         = new Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.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.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.start_with_computer_checkbutton               = new Gtk.CheckButton();
     this.start_with_computer_checkbutton.CanFocus      = true;
     this.start_with_computer_checkbutton.Name          = "start_with_computer_checkbutton";
     this.start_with_computer_checkbutton.Label         = Mono.Unix.Catalog.GetString("_Start When User Logs In");
     this.start_with_computer_checkbutton.DrawIndicator = true;
     this.start_with_computer_checkbutton.UseUnderline  = true;
     this.vbox3.Add(this.start_with_computer_checkbutton);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.start_with_computer_checkbutton]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label3              = new Gtk.Label();
     this.label3.CanFocus     = true;
     this.label3.Name         = "label3";
     this.label3.LabelProp    = Mono.Unix.Catalog.GetString("_Theme:");
     this.label3.UseUnderline = true;
     this.hbox4.Add(this.label3);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox4[this.label3]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.theme_combo      = Gtk.ComboBox.NewText();
     this.theme_combo.Name = "theme_combo";
     this.hbox4.Add(this.theme_combo);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox4[this.theme_combo]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.install_theme_btn              = new Gtk.Button();
     this.install_theme_btn.CanFocus     = true;
     this.install_theme_btn.Name         = "install_theme_btn";
     this.install_theme_btn.UseUnderline = true;
     // Container child install_theme_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w4 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w5 = new Gtk.HBox();
     w5.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w6 = new Gtk.Image();
     w6.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16);
     w5.Add(w6);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w8 = new Gtk.Label();
     w8.LabelProp    = Mono.Unix.Catalog.GetString("_Install");
     w8.UseUnderline = true;
     w5.Add(w8);
     w4.Add(w5);
     this.install_theme_btn.Add(w4);
     this.hbox4.Add(this.install_theme_btn);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox4[this.install_theme_btn]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox3.Add(this.hbox4);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel5           = new Gtk.Label();
     this.GtkLabel5.Name      = "GtkLabel5";
     this.GtkLabel5.LabelProp = Mono.Unix.Catalog.GetString("<b>General Options</b>");
     this.GtkLabel5.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel5;
     this.vbox6.Add(this.frame1);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame1]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.frame3            = new Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.config_alignment              = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.config_alignment.Name         = "config_alignment";
     this.config_alignment.LeftPadding  = ((uint)(12));
     this.config_alignment.RightPadding = ((uint)(10));
     this.frame3.Add(this.config_alignment);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Dock Configuration</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame3.LabelWidget  = this.GtkLabel6;
     this.vbox6.Add(this.frame3);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox6[this.frame3]));
     w18.Position = 1;
     this.alignment1.Add(this.vbox6);
     this.vbox2.Add(this.alignment1);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
     w20.Position = 0;
     this.config_notebook.Add(this.vbox2);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Docks");
     this.config_notebook.SetTabLabel(this.vbox2, this.label1);
     this.label1.ShowAll();
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.alignment2               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.alignment2.Name          = "alignment2";
     this.alignment2.LeftPadding   = ((uint)(7));
     this.alignment2.TopPadding    = ((uint)(7));
     this.alignment2.RightPadding  = ((uint)(7));
     this.alignment2.BottomPadding = ((uint)(7));
     this.alignment2.BorderWidth   = ((uint)(7));
     // Container child alignment2.Gtk.Container+ContainerChild
     this.vbox7         = new Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.docklet_show_cmb = Gtk.ComboBox.NewText();
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("All"));
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Enabled"));
     this.docklet_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Disabled"));
     this.docklet_show_cmb.Name   = "docklet_show_cmb";
     this.docklet_show_cmb.Active = 0;
     this.hbox1.Add(this.docklet_show_cmb);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox1[this.docklet_show_cmb]));
     w22.Position = 0;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox7.Add(this.hbox1);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox7[this.hbox1]));
     w23.Position = 0;
     w23.Expand   = false;
     w23.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.docklet_alignment      = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.docklet_alignment.Name = "docklet_alignment";
     // Container child docklet_alignment.Gtk.Container+ContainerChild
     this.docklet_scroll                  = new Gtk.ScrolledWindow();
     this.docklet_scroll.CanFocus         = true;
     this.docklet_scroll.Name             = "docklet_scroll";
     this.docklet_scroll.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.docklet_alignment.Add(this.docklet_scroll);
     this.vbox7.Add(this.docklet_alignment);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox7[this.docklet_alignment]));
     w25.Position = 1;
     this.alignment2.Add(this.vbox7);
     this.config_notebook.Add(this.alignment2);
     Gtk.Notebook.NotebookChild w27 = ((Gtk.Notebook.NotebookChild)(this.config_notebook[this.alignment2]));
     w27.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Docklets");
     this.config_notebook.SetTabLabel(this.alignment2, this.label2);
     this.label2.ShowAll();
     // Container child config_notebook.Gtk.Notebook+NotebookChild
     this.helper_alignment               = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.helper_alignment.Name          = "helper_alignment";
     this.helper_alignment.LeftPadding   = ((uint)(7));
     this.helper_alignment.TopPadding    = ((uint)(7));
     this.helper_alignment.RightPadding  = ((uint)(7));
     this.helper_alignment.BottomPadding = ((uint)(7));
     this.helper_alignment.BorderWidth   = ((uint)(7));
     // Container child helper_alignment.Gtk.Container+ContainerChild
     this.vbox5         = new Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.helper_show_cmb = Gtk.ComboBox.NewText();
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Usable"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Enabled"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("Disabled"));
     this.helper_show_cmb.AppendText(Mono.Unix.Catalog.GetString("All"));
     this.helper_show_cmb.Name   = "helper_show_cmb";
     this.helper_show_cmb.Active = 0;
     this.hbox5.Add(this.helper_show_cmb);
     Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox5[this.helper_show_cmb]));
     w28.Position = 0;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.install_btn              = new Gtk.Button();
     this.install_btn.CanFocus     = true;
     this.install_btn.Name         = "install_btn";
     this.install_btn.UseUnderline = true;
     // Container child install_btn.Gtk.Container+ContainerChild
     Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w30 = new Gtk.HBox();
     w30.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w31 = new Gtk.Image();
     w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-execute", Gtk.IconSize.Menu, 16);
     w30.Add(w31);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w33 = new Gtk.Label();
     w33.LabelProp    = Mono.Unix.Catalog.GetString("_Install");
     w33.UseUnderline = true;
     w30.Add(w33);
     w29.Add(w30);
     this.install_btn.Add(w29);
     this.hbox5.Add(this.install_btn);
     Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox5[this.install_btn]));
     w37.PackType = ((Gtk.PackType)(1));
     w37.Position = 1;
     w37.Expand   = false;
     w37.Fill     = false;
     this.vbox5.Add(this.hbox5);
     Gtk.Box.BoxChild w38 = ((Gtk.Box.BoxChild)(this.vbox5[this.hbox5]));
     w38.Position = 0;
     w38.Expand   = false;
     w38.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.helper_scroll                  = new Gtk.ScrolledWindow();
     this.helper_scroll.CanFocus         = true;
     this.helper_scroll.Name             = "helper_scroll";
     this.helper_scroll.HscrollbarPolicy = ((Gtk.PolicyType)(2));
     this.vbox5.Add(this.helper_scroll);
     Gtk.Box.BoxChild w39 = ((Gtk.Box.BoxChild)(this.vbox5[this.helper_scroll]));
     w39.Position = 1;
     this.helper_alignment.Add(this.vbox5);
     this.config_notebook.Add(this.helper_alignment);
     Gtk.Notebook.NotebookChild w41 = ((Gtk.Notebook.NotebookChild)(this.config_notebook[this.helper_alignment]));
     w41.Position = 2;
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Helpers");
     this.config_notebook.SetTabLabel(this.helper_alignment, this.label4);
     this.label4.ShowAll();
     this.vbox1.Add(this.config_notebook);
     Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.vbox1[this.config_notebook]));
     w42.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.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.help_button             = new Gtk.Button();
     this.help_button.CanFocus    = true;
     this.help_button.Name        = "help_button";
     this.help_button.BorderWidth = ((uint)(5));
     // Container child help_button.Gtk.Container+ContainerChild
     Gtk.Alignment w43 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w44 = new Gtk.HBox();
     w44.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w45 = new Gtk.Image();
     w45.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-help", Gtk.IconSize.Menu, 16);
     w44.Add(w45);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w47 = new Gtk.Label();
     w44.Add(w47);
     w43.Add(w44);
     this.help_button.Add(w43);
     this.hbox3.Add(this.help_button);
     Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox3[this.help_button]));
     w51.Position = 0;
     w51.Expand   = false;
     w51.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.new_dock_button              = new Gtk.Button();
     this.new_dock_button.CanFocus     = true;
     this.new_dock_button.Name         = "new_dock_button";
     this.new_dock_button.UseUnderline = true;
     this.new_dock_button.BorderWidth  = ((uint)(5));
     // Container child new_dock_button.Gtk.Container+ContainerChild
     Gtk.Alignment w52 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w53 = new Gtk.HBox();
     w53.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w54 = new Gtk.Image();
     w54.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     w53.Add(w54);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w56 = new Gtk.Label();
     w56.LabelProp    = Mono.Unix.Catalog.GetString("_New Dock");
     w56.UseUnderline = true;
     w53.Add(w56);
     w52.Add(w53);
     this.new_dock_button.Add(w52);
     this.hbox3.Add(this.new_dock_button);
     Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox3[this.new_dock_button]));
     w60.Position = 1;
     w60.Expand   = false;
     w60.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.delete_dock_button              = new Gtk.Button();
     this.delete_dock_button.CanFocus     = true;
     this.delete_dock_button.Name         = "delete_dock_button";
     this.delete_dock_button.UseUnderline = true;
     this.delete_dock_button.BorderWidth  = ((uint)(5));
     // Container child delete_dock_button.Gtk.Container+ContainerChild
     Gtk.Alignment w61 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     Gtk.HBox w62 = new Gtk.HBox();
     w62.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Image w63 = new Gtk.Image();
     w63.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-delete", Gtk.IconSize.Menu, 16);
     w62.Add(w63);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     Gtk.Label w65 = new Gtk.Label();
     w65.LabelProp    = Mono.Unix.Catalog.GetString("_Delete Dock");
     w65.UseUnderline = true;
     w62.Add(w65);
     w61.Add(w62);
     this.delete_dock_button.Add(w61);
     this.hbox3.Add(this.delete_dock_button);
     Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox3[this.delete_dock_button]));
     w69.Position = 2;
     w69.Expand   = false;
     w69.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.close_button = new Gtk.Button();
     this.close_button.WidthRequest = 100;
     this.close_button.CanFocus     = true;
     this.close_button.Name         = "close_button";
     this.close_button.UseStock     = true;
     this.close_button.UseUnderline = true;
     this.close_button.BorderWidth  = ((uint)(5));
     this.close_button.Label        = "gtk-close";
     this.hbox3.Add(this.close_button);
     Gtk.Box.BoxChild w70 = ((Gtk.Box.BoxChild)(this.hbox3[this.close_button]));
     w70.PackType = ((Gtk.PackType)(1));
     w70.Position = 3;
     w70.Expand   = false;
     w70.Fill     = false;
     this.hbox2.Add(this.hbox3);
     Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbox3]));
     w71.Position = 0;
     this.vbox1.Add(this.hbox2);
     Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
     w72.Position = 1;
     w72.Expand   = false;
     w72.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth          = 380;
     this.DefaultHeight         = 390;
     this.label3.MnemonicWidget = this.theme_combo;
     this.Show();
     this.config_notebook.SwitchPage += new Gtk.SwitchPageHandler(this.OnPageSwitch);
     this.start_with_computer_checkbutton.Toggled += new System.EventHandler(this.OnStartWithComputerCheckbuttonToggled);
     this.theme_combo.Changed        += new System.EventHandler(this.OnThemeComboChanged);
     this.install_theme_btn.Clicked  += new System.EventHandler(this.OnInstallThemeClicked);
     this.docklet_show_cmb.Changed   += new System.EventHandler(this.OnShowDockletChanged);
     this.helper_show_cmb.Changed    += new System.EventHandler(this.OnShowHelperChanged);
     this.install_btn.Clicked        += new System.EventHandler(this.OnInstallClicked);
     this.help_button.Clicked        += new System.EventHandler(this.OnHelpClicked);
     this.new_dock_button.Clicked    += new System.EventHandler(this.OnNewDockButtonClicked);
     this.delete_dock_button.Clicked += new System.EventHandler(this.OnDeleteDockButtonClicked);
     this.close_button.Clicked       += new System.EventHandler(this.OnCloseButtonClicked);
 }
Example #25
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.GPSConfiguration
     this.WidthRequest    = 600;
     this.HeightRequest   = 500;
     this.Name            = "ocmgtk.GPSConfiguration";
     this.Title           = Mono.Unix.Catalog.GetString("Add GPS Profile...");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.GPSConfiguration.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.profLabel           = new Gtk.Label();
     this.profLabel.Name      = "profLabel";
     this.profLabel.Xalign    = 0F;
     this.profLabel.LabelProp = Mono.Unix.Catalog.GetString("Profile Name:");
     this.hbox1.Add(this.profLabel);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.profLabel]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.profileEntry               = new Gtk.Entry();
     this.profileEntry.CanFocus      = true;
     this.profileEntry.Name          = "profileEntry";
     this.profileEntry.Text          = Mono.Unix.Catalog.GetString("New Profile");
     this.profileEntry.IsEditable    = true;
     this.profileEntry.InvisibleChar = '•';
     this.hbox1.Add(this.profileEntry);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.profileEntry]));
     w3.Position = 1;
     w1.Add(this.hbox1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 0;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.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)(6));
     // Container child table1.Gtk.Table+TableChild
     this.deviceCombo = Gtk.ComboBox.NewText();
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin GPX (Colorado/Oregon/Dakotai/Map62/Nuvi 5xx)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin USB (eTrex/GPSMap60/StreetPiot)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin Serial (original eTrex/eTrex H/Gecko)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Garmin Edge (605/705)/Garmin Nuvi"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("DeLorme USB (PN-20/PN-30/PN-40)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("DeLorme GPX (PN-60/PN-40 v2.8+)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Magellan GPX (Explorist GC/310/510/610/710)"));
     this.deviceCombo.AppendText(Mono.Unix.Catalog.GetString("Other GPS"));
     this.deviceCombo.Name   = "deviceCombo";
     this.deviceCombo.Active = 0;
     this.table1.Add(this.deviceCombo);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.deviceCombo]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((Gtk.AttachOptions)(4));
     w5.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.deviceLabel           = new Gtk.Label();
     this.deviceLabel.Name      = "deviceLabel";
     this.deviceLabel.Xalign    = 0F;
     this.deviceLabel.LabelProp = Mono.Unix.Catalog.GetString("Select a GPS Type:");
     this.table1.Add(this.deviceLabel);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.deviceLabel]));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     this.notebook1.Add(this.table1);
     // Notebook tab
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Device");
     this.notebook1.SetTabLabel(this.table1, this.label4);
     this.label4.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.waypointWidget        = new ocmgtk.WaypointOverrideWidget();
     this.waypointWidget.Events = ((Gdk.EventMask)(256));
     this.waypointWidget.Name   = "waypointWidget";
     this.notebook1.Add(this.waypointWidget);
     Gtk.Notebook.NotebookChild w8 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.waypointWidget]));
     w8.Position = 1;
     // Notebook tab
     this.label5           = new Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = Mono.Unix.Catalog.GetString("Waypoint Symbols");
     this.notebook1.SetTabLabel(this.waypointWidget, this.label5);
     this.label5.ShowAll();
     w1.Add(this.notebook1);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.notebook1]));
     w9.Position = 1;
     // Internal child ocmgtk.GPSConfiguration.ActionArea
     Gtk.HButtonBox w10 = this.ActionArea;
     w10.Name        = "dialog1_ActionArea";
     w10.Spacing     = 10;
     w10.BorderWidth = ((uint)(5));
     w10.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 w11 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonCancel]));
     w11.Expand = false;
     w11.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 w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth        = 602;
     this.DefaultHeight       = 533;
     this.buttonOk.HasDefault = true;
     this.Show();
     this.deviceCombo.Changed  += new System.EventHandler(this.OnComboChange);
     this.buttonCancel.Clicked += new System.EventHandler(this.OnButtonClick);
     this.buttonOk.Clicked     += new System.EventHandler(this.OnButtonClick);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget OpenVP.GtkGui.LinearPresetEditor
     Stetic.BinContainer.Attach(this);
     this.Name = "OpenVP.GtkGui.LinearPresetEditor";
     // Container child OpenVP.GtkGui.LinearPresetEditor.Gtk.Container+ContainerChild
     this.notebook1             = new Gtk.Notebook();
     this.notebook1.CanFocus    = true;
     this.notebook1.Name        = "notebook1";
     this.notebook1.CurrentPage = 1;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hpaned1          = new Gtk.HPaned();
     this.hpaned1.CanFocus = true;
     this.hpaned1.Name     = "hpaned1";
     this.hpaned1.Position = 211;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.vbox1         = new Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox1             = new Gtk.HButtonBox();
     this.hbuttonbox1.Homogeneous = true;
     this.hbuttonbox1.Spacing     = 6;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.AddEffect              = new Gtk.Button();
     this.AddEffect.CanFocus     = true;
     this.AddEffect.Name         = "AddEffect";
     this.AddEffect.UseStock     = true;
     this.AddEffect.UseUnderline = true;
     this.AddEffect.Label        = "gtk-add";
     this.hbuttonbox1.Add(this.AddEffect);
     Gtk.ButtonBox.ButtonBoxChild w1 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.AddEffect]));
     w1.Expand = false;
     w1.Fill   = false;
     // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.RemoveEffect              = new Gtk.Button();
     this.RemoveEffect.Sensitive    = false;
     this.RemoveEffect.CanFocus     = true;
     this.RemoveEffect.Name         = "RemoveEffect";
     this.RemoveEffect.UseStock     = true;
     this.RemoveEffect.UseUnderline = true;
     this.RemoveEffect.Label        = "gtk-remove";
     this.hbuttonbox1.Add(this.RemoveEffect);
     Gtk.ButtonBox.ButtonBoxChild w2 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.RemoveEffect]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox1.Add(this.hbuttonbox1);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.EffectList                  = new Gtk.TreeView();
     this.EffectList.CanFocus         = true;
     this.EffectList.Name             = "EffectList";
     this.EffectList.HeadersVisible   = false;
     this.EffectList.HeadersClickable = true;
     this.GtkScrolledWindow.Add(this.EffectList);
     this.vbox1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
     w5.Position = 1;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbuttonbox2             = new Gtk.HButtonBox();
     this.hbuttonbox2.Name        = "hbuttonbox2";
     this.hbuttonbox2.Homogeneous = true;
     this.hbuttonbox2.Spacing     = 6;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.UpButton              = new Gtk.Button();
     this.UpButton.Sensitive    = false;
     this.UpButton.CanFocus     = true;
     this.UpButton.Name         = "UpButton";
     this.UpButton.UseStock     = true;
     this.UpButton.UseUnderline = true;
     this.UpButton.Label        = "gtk-go-up";
     this.hbuttonbox2.Add(this.UpButton);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.UpButton]));
     w6.Expand = false;
     w6.Fill   = false;
     // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
     this.DownButton              = new Gtk.Button();
     this.DownButton.Sensitive    = false;
     this.DownButton.CanFocus     = true;
     this.DownButton.Name         = "DownButton";
     this.DownButton.UseStock     = true;
     this.DownButton.UseUnderline = true;
     this.DownButton.Label        = "gtk-go-down";
     this.hbuttonbox2.Add(this.DownButton);
     Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.DownButton]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.vbox1.Add(this.hbuttonbox2);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox2]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     this.hpaned1.Add(this.vbox1);
     Gtk.Paned.PanedChild w9 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vbox1]));
     w9.Resize = false;
     // Container child hpaned1.Gtk.Paned+PanedChild
     this.EffectPane      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.EffectPane.Name = "EffectPane";
     this.hpaned1.Add(this.EffectPane);
     this.notebook1.Add(this.hpaned1);
     // Notebook tab
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("Effects");
     this.notebook1.SetTabLabel(this.hpaned1, this.label1);
     this.label1.ShowAll();
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.hbox1         = new Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment4             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment4.Name        = "GtkAlignment4";
     this.GtkAlignment4.LeftPadding = ((uint)(12));
     // Container child GtkAlignment4.Gtk.Container+ContainerChild
     this.vbox2         = new Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbuttonbox3         = new Gtk.HButtonBox();
     this.hbuttonbox3.Name    = "hbuttonbox3";
     this.hbuttonbox3.Spacing = 6;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.KeybindAddButton              = new Gtk.Button();
     this.KeybindAddButton.CanFocus     = true;
     this.KeybindAddButton.Name         = "KeybindAddButton";
     this.KeybindAddButton.UseStock     = true;
     this.KeybindAddButton.UseUnderline = true;
     this.KeybindAddButton.Label        = "gtk-add";
     this.hbuttonbox3.Add(this.KeybindAddButton);
     Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.KeybindAddButton]));
     w12.Expand = false;
     w12.Fill   = false;
     // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
     this.KeybindRemoveButton              = new Gtk.Button();
     this.KeybindRemoveButton.CanFocus     = true;
     this.KeybindRemoveButton.Name         = "KeybindRemoveButton";
     this.KeybindRemoveButton.UseStock     = true;
     this.KeybindRemoveButton.UseUnderline = true;
     this.KeybindRemoveButton.Label        = "gtk-remove";
     this.hbuttonbox3.Add(this.KeybindRemoveButton);
     Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.KeybindRemoveButton]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.vbox2.Add(this.hbuttonbox3);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox3]));
     w14.Position = 0;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.GtkScrolledWindow1            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow1.Name       = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.KeybindList                  = new Gtk.TreeView();
     this.KeybindList.CanFocus         = true;
     this.KeybindList.Name             = "KeybindList";
     this.KeybindList.HeadersClickable = true;
     this.GtkScrolledWindow1.Add(this.KeybindList);
     this.vbox2.Add(this.GtkScrolledWindow1);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1]));
     w16.Position = 1;
     this.GtkAlignment4.Add(this.vbox2);
     this.frame1.Add(this.GtkAlignment4);
     this.GtkLabel6           = new Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = Mono.Unix.Catalog.GetString("<b>Bound keys</b>");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel6;
     this.hbox1.Add(this.frame1);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox1[this.frame1]));
     w19.Position = 0;
     w19.Expand   = false;
     w19.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox4         = new Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame2            = new Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment9             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment9.Name        = "GtkAlignment9";
     this.GtkAlignment9.LeftPadding = ((uint)(12));
     this.frame2.Add(this.GtkAlignment9);
     this.GtkLabel7           = new Gtk.Label();
     this.GtkLabel7.Name      = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Script</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel7;
     this.vbox4.Add(this.frame2);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame2]));
     w21.Position = 0;
     // Container child vbox4.Gtk.Box+BoxChild
     this.frame3            = new Gtk.Frame();
     this.frame3.Name       = "frame3";
     this.frame3.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame3.Gtk.Container+ContainerChild
     this.GtkAlignment8             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name        = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.table1               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.KeybindEventCheck              = new Gtk.ToggleButton();
     this.KeybindEventCheck.CanFocus     = true;
     this.KeybindEventCheck.Name         = "KeybindEventCheck";
     this.KeybindEventCheck.UseUnderline = true;
     this.KeybindEventCheck.Active       = true;
     this.KeybindEventCheck.Label        = Mono.Unix.Catalog.GetString("On press");
     this.table1.Add(this.KeybindEventCheck);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.KeybindEventCheck]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(1));
     w22.RightAttach  = ((uint)(2));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.KeyEntryAlign      = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.KeyEntryAlign.Name = "KeyEntryAlign";
     this.table1.Add(this.KeyEntryAlign);
     Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.KeyEntryAlign]));
     w23.LeftAttach  = ((uint)(1));
     w23.RightAttach = ((uint)(2));
     w23.XOptions    = ((Gtk.AttachOptions)(4));
     w23.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("Key:");
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w24.XOptions = ((Gtk.AttachOptions)(4));
     w24.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment8.Add(this.table1);
     this.frame3.Add(this.GtkAlignment8);
     this.GtkLabel10           = new Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = Mono.Unix.Catalog.GetString("<b>Trigger</b>");
     this.GtkLabel10.UseMarkup = true;
     this.frame3.LabelWidget   = this.GtkLabel10;
     this.vbox4.Add(this.frame3);
     Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox4[this.frame3]));
     w27.Position = 1;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.hbuttonbox4             = new Gtk.HButtonBox();
     this.hbuttonbox4.Name        = "hbuttonbox4";
     this.hbuttonbox4.Spacing     = 6;
     this.hbuttonbox4.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.KeybindRevertButton              = new Gtk.Button();
     this.KeybindRevertButton.Sensitive    = false;
     this.KeybindRevertButton.CanFocus     = true;
     this.KeybindRevertButton.Name         = "KeybindRevertButton";
     this.KeybindRevertButton.UseStock     = true;
     this.KeybindRevertButton.UseUnderline = true;
     this.KeybindRevertButton.Label        = "gtk-revert-to-saved";
     this.hbuttonbox4.Add(this.KeybindRevertButton);
     Gtk.ButtonBox.ButtonBoxChild w28 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.KeybindRevertButton]));
     w28.Expand = false;
     w28.Fill   = false;
     // Container child hbuttonbox4.Gtk.ButtonBox+ButtonBoxChild
     this.KeybindApplyButton              = new Gtk.Button();
     this.KeybindApplyButton.Sensitive    = false;
     this.KeybindApplyButton.CanFocus     = true;
     this.KeybindApplyButton.Name         = "KeybindApplyButton";
     this.KeybindApplyButton.UseStock     = true;
     this.KeybindApplyButton.UseUnderline = true;
     this.KeybindApplyButton.Label        = "gtk-apply";
     this.hbuttonbox4.Add(this.KeybindApplyButton);
     Gtk.ButtonBox.ButtonBoxChild w29 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox4[this.KeybindApplyButton]));
     w29.Position = 1;
     w29.Expand   = false;
     w29.Fill     = false;
     this.vbox4.Add(this.hbuttonbox4);
     Gtk.Box.BoxChild w30 = ((Gtk.Box.BoxChild)(this.vbox4[this.hbuttonbox4]));
     w30.Position = 2;
     w30.Expand   = false;
     w30.Fill     = false;
     this.hbox1.Add(this.vbox4);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox4]));
     w31.Position = 1;
     this.notebook1.Add(this.hbox1);
     Gtk.Notebook.NotebookChild w32 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.hbox1]));
     w32.Position = 1;
     // Notebook tab
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Keybindings");
     this.notebook1.SetTabLabel(this.hbox1, this.label2);
     this.label2.ShowAll();
     this.Add(this.notebook1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Show();
     this.AddEffect.Clicked         += new System.EventHandler(this.OnAddEffectClicked);
     this.RemoveEffect.Clicked      += new System.EventHandler(this.OnRemoveEffectClicked);
     this.UpButton.Clicked          += new System.EventHandler(this.OnUpButtonClicked);
     this.DownButton.Clicked        += new System.EventHandler(this.OnDownButtonClicked);
     this.KeybindEventCheck.Toggled += new System.EventHandler(this.OnKeybindEventCheckToggled);
 }