Exemplo n.º 1
0
 protected virtual void Build()
 {
     Name = "GtkSharpTest.Database";
     // Container child GtkSharpTest.Database.Gtk.Container+ContainerChild
     vbox5 = new Gtk.VBox();
     vbox5.Name = "vbox5";
     vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     CurrentPath = new Gtk.Label();
     CurrentPath.Name = "CurrentPath";
     CurrentPath.Xalign = 0F;
     CurrentPath.LabelProp = Mono.Unix.Catalog.GetString("label11");
     vbox5.Add(CurrentPath);
     Gtk.Box.BoxChild w1 = (Gtk.Box.BoxChild) vbox5[CurrentPath];
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     GtkScrolledWindow = new Gtk.ScrolledWindow();
     GtkScrolledWindow.Name = "GtkScrolledWindow";
     GtkScrolledWindow.ShadowType = (Gtk.ShadowType) 1;
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     Contents = new Gtk.IconView();
     Contents.CanFocus = true;
     Contents.Name = "Contents";
     GtkScrolledWindow.Add(Contents);
     vbox5.Add(GtkScrolledWindow);
     Gtk.Box.BoxChild w3 = (Gtk.Box.BoxChild) vbox5[GtkScrolledWindow];
     w3.Position = 1;
     Add(vbox5);
     /*if ((this.Child != null))
     {
         this.Child.ShowAll();
     }*/
     Hide();
 }
Exemplo n.º 2
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget Adroit.Gui.PlanningView
     Stetic.BinContainer.Attach(this);
     this.Name = "Adroit.Gui.PlanningView";
     // Container child Adroit.Gui.PlanningView.Gtk.Container+ContainerChild
     this.m_hpaned = new Gtk.HPaned();
     this.m_hpaned.CanFocus = true;
     this.m_hpaned.Name = "m_hpaned";
     this.m_hpaned.Position = 175;
     // Container child m_hpaned.Gtk.Paned+PanedChild
     this.notebook1 = new Gtk.Notebook();
     this.notebook1.CanFocus = true;
     this.notebook1.Name = "notebook1";
     this.notebook1.CurrentPage = 0;
     this.notebook1.ShowTabs = false;
     // Container child notebook1.Gtk.Notebook+NotebookChild
     this.scrolledwindow1 = new Gtk.ScrolledWindow();
     this.scrolledwindow1.CanFocus = true;
     this.scrolledwindow1.Name = "scrolledwindow1";
     // Container child scrolledwindow1.Gtk.Container+ContainerChild
     Gtk.Viewport w1 = new Gtk.Viewport();
     w1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport.Gtk.Container+ContainerChild
     this.m_projectsTreeView = new Gtk.TreeView();
     this.m_projectsTreeView.CanFocus = true;
     this.m_projectsTreeView.Name = "m_projectsTreeView";
     w1.Add(this.m_projectsTreeView);
     this.scrolledwindow1.Add(w1);
     this.notebook1.Add(this.scrolledwindow1);
     // Notebook tab
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("page1");
     this.notebook1.SetTabLabel(this.scrolledwindow1, this.label1);
     this.label1.ShowAll();
     this.m_hpaned.Add(this.notebook1);
     Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.m_hpaned[this.notebook1]));
     w5.Resize = false;
     // Container child m_hpaned.Gtk.Paned+PanedChild
     this.vbox1 = new Gtk.VBox();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.notebook2 = new Gtk.Notebook();
     this.notebook2.CanFocus = true;
     this.notebook2.Name = "notebook2";
     this.notebook2.CurrentPage = 0;
     this.notebook2.ShowTabs = false;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.scrolledwindow2 = new Gtk.ScrolledWindow();
     this.scrolledwindow2.CanFocus = true;
     this.scrolledwindow2.Name = "scrolledwindow2";
     // Container child scrolledwindow2.Gtk.Container+ContainerChild
     Gtk.Viewport w6 = new Gtk.Viewport();
     w6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport1.Gtk.Container+ContainerChild
     this.m_tasksTreeView = new Gtk.TreeView();
     this.m_tasksTreeView.CanFocus = true;
     this.m_tasksTreeView.Name = "m_tasksTreeView";
     this.m_tasksTreeView.RulesHint = true;
     w6.Add(this.m_tasksTreeView);
     this.scrolledwindow2.Add(w6);
     this.notebook2.Add(this.scrolledwindow2);
     // Notebook tab
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("page1");
     this.notebook2.SetTabLabel(this.scrolledwindow2, this.label2);
     this.label2.ShowAll();
     this.vbox1.Add(this.notebook2);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook2]));
     w10.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.m_attachmentExpander = new Gtk.Expander(null);
     this.m_attachmentExpander.CanFocus = true;
     this.m_attachmentExpander.Name = "m_attachmentExpander";
     // Container child m_attachmentExpander.Gtk.Container+ContainerChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.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
     Gtk.Viewport w11 = new Gtk.Viewport();
     w11.ShadowType = ((Gtk.ShadowType)(0));
     // Container child GtkViewport2.Gtk.Container+ContainerChild
     this.m_tasksIconView = new Gtk.IconView();
     this.m_tasksIconView.CanFocus = true;
     this.m_tasksIconView.Name = "m_tasksIconView";
     this.m_tasksIconView.Orientation = ((Gtk.Orientation)(0));
     w11.Add(this.m_tasksIconView);
     this.scrolledwindow3.Add(w11);
     this.hbox1.Add(this.scrolledwindow3);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow3]));
     w14.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     // Container child vbox2.Gtk.Box+BoxChild
     this.m_addAttachmentButton = new Gtk.Button();
     this.m_addAttachmentButton.TooltipMarkup = "Add an attachment";
     this.m_addAttachmentButton.CanFocus = true;
     this.m_addAttachmentButton.Name = "m_addAttachmentButton";
     this.m_addAttachmentButton.Relief = ((Gtk.ReliefStyle)(2));
     // Container child m_addAttachmentButton.Gtk.Container+ContainerChild
     this.image1 = new Gtk.Image();
     this.image1.Name = "image1";
     this.image1.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
     this.m_addAttachmentButton.Add(this.image1);
     this.m_addAttachmentButton.Label = null;
     this.vbox2.Add(this.m_addAttachmentButton);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.m_addAttachmentButton]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.m_removeAttachmentButton = new Gtk.Button();
     this.m_removeAttachmentButton.TooltipMarkup = "Remove the selected attachment";
     this.m_removeAttachmentButton.Sensitive = false;
     this.m_removeAttachmentButton.CanFocus = true;
     this.m_removeAttachmentButton.Name = "m_removeAttachmentButton";
     this.m_removeAttachmentButton.Relief = ((Gtk.ReliefStyle)(2));
     // Container child m_removeAttachmentButton.Gtk.Container+ContainerChild
     this.image2 = new Gtk.Image();
     this.image2.Name = "image2";
     this.image2.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Menu, 16);
     this.m_removeAttachmentButton.Add(this.image2);
     this.m_removeAttachmentButton.Label = null;
     this.vbox2.Add(this.m_removeAttachmentButton);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox2[this.m_removeAttachmentButton]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     this.hbox1.Add(this.vbox2);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
     w19.Position = 1;
     w19.Expand = false;
     this.m_attachmentExpander.Add(this.hbox1);
     this.GtkLabel = new Gtk.Label();
     this.GtkLabel.Name = "GtkLabel";
     this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Show Attachment Bar");
     this.GtkLabel.UseUnderline = true;
     this.m_attachmentExpander.LabelWidget = this.GtkLabel;
     this.vbox1.Add(this.m_attachmentExpander);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.m_attachmentExpander]));
     w21.Position = 1;
     w21.Expand = false;
     this.m_hpaned.Add(this.vbox1);
     this.Add(this.m_hpaned);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.m_tasksTreeView.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnTasksTreeViewButtonPressEvent);
     this.m_attachmentExpander.Activated += new System.EventHandler(this.AttachmentExpander_Activated);
     this.m_addAttachmentButton.Clicked += new System.EventHandler(this.OnAddAttachmentButtonClicked);
     this.m_removeAttachmentButton.Clicked += new System.EventHandler(this.OnRemoveAttachmentButtonClicked);
 }
 void InvokeNative(Gtk.IconView icon_view, Gtk.TreePath path)
 {
     native_cb(icon_view == null ? IntPtr.Zero : icon_view.Handle, path == null ? IntPtr.Zero : path.Handle, __data);
 }
Exemplo n.º 4
0
 public static void Activated(Gtk.IconView icon_view, Gtk.TreePath path)
 {
     gtk_icon_view_item_activated(icon_view == null ? IntPtr.Zero : icon_view.Handle, path == null ? IntPtr.Zero : path.Handle);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.ImagesWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.ImagesWidget";
     // Container child ocmgtk.ImagesWidget.Gtk.Container+ContainerChild
     this.vbox2             = new Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.image33        = new Gtk.Image();
     this.image33.Name   = "image33";
     this.image33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24);
     this.hbox2.Add(this.image33);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.image33]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.fileLabel           = new Gtk.Label();
     this.fileLabel.Name      = "fileLabel";
     this.fileLabel.LabelProp = "<file location>";
     this.hbox2.Add(this.fileLabel);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.fileLabel]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1             = new Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Spacing     = 6;
     this.hbox1.BorderWidth = ((uint)(6));
     // Container child hbox1.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.imagesView          = new Gtk.IconView();
     this.imagesView.CanFocus = true;
     this.imagesView.Name     = "imagesView";
     this.scrolledwindow1.Add(this.imagesView);
     this.hbox1.Add(this.scrolledwindow1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1]));
     w5.Position = 0;
     // Container child hbox1.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.viewButton              = new Gtk.Button();
     this.viewButton.Sensitive    = false;
     this.viewButton.CanFocus     = true;
     this.viewButton.Name         = "viewButton";
     this.viewButton.UseUnderline = true;
     this.viewButton.Label        = Mono.Unix.Catalog.GetString("View");
     this.vbuttonbox1.Add(this.viewButton);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewButton]));
     w6.Expand = false;
     w6.Fill   = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.GrabImagesButton              = new Gtk.Button();
     this.GrabImagesButton.CanFocus     = true;
     this.GrabImagesButton.Name         = "GrabImagesButton";
     this.GrabImagesButton.UseUnderline = true;
     this.GrabImagesButton.Label        = Mono.Unix.Catalog.GetString("Grab Images...");
     this.vbuttonbox1.Add(this.GrabImagesButton);
     Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.GrabImagesButton]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.openFolderButton              = new Gtk.Button();
     this.openFolderButton.CanFocus     = true;
     this.openFolderButton.Name         = "openFolderButton";
     this.openFolderButton.UseUnderline = true;
     this.openFolderButton.Label        = Mono.Unix.Catalog.GetString("Open Folder");
     this.vbuttonbox1.Add(this.openFolderButton);
     Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.openFolderButton]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     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.vbuttonbox1.Add(this.buttonRefresh);
     Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonRefresh]));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     this.hbox1.Add(this.vbuttonbox1);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w11.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.imagesView.ItemActivated += new Gtk.ItemActivatedHandler(this.OnDoubleClick);
     this.viewButton.Clicked       += new System.EventHandler(this.OnViewClick);
     this.GrabImagesButton.Clicked += new System.EventHandler(this.OnGrabImagesClick);
     this.openFolderButton.Clicked += new System.EventHandler(this.OnOpenFolderClick);
     this.buttonRefresh.Clicked    += new System.EventHandler(this.OnRefesh);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.ImagesWidget
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.ImagesWidget";
     // Container child ocmgtk.ImagesWidget.Gtk.Container+ContainerChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.image33 = new Gtk.Image();
     this.image33.Name = "image33";
     this.image33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.LargeToolbar, 24);
     this.hbox2.Add(this.image33);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.image33]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.fileLabel = new Gtk.Label();
     this.fileLabel.Name = "fileLabel";
     this.fileLabel.LabelProp = "<file location>";
     this.hbox2.Add(this.fileLabel);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.fileLabel]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     this.vbox2.Add(this.hbox2);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new Gtk.HBox();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     this.hbox1.BorderWidth = ((uint)(6));
     // Container child hbox1.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.imagesView = new Gtk.IconView();
     this.imagesView.CanFocus = true;
     this.imagesView.Name = "imagesView";
     this.scrolledwindow1.Add(this.imagesView);
     this.hbox1.Add(this.scrolledwindow1);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1]));
     w5.Position = 0;
     // Container child hbox1.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.viewButton = new Gtk.Button();
     this.viewButton.Sensitive = false;
     this.viewButton.CanFocus = true;
     this.viewButton.Name = "viewButton";
     this.viewButton.UseUnderline = true;
     this.viewButton.Label = Mono.Unix.Catalog.GetString("View");
     this.vbuttonbox1.Add(this.viewButton);
     Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.viewButton]));
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.GrabImagesButton = new Gtk.Button();
     this.GrabImagesButton.CanFocus = true;
     this.GrabImagesButton.Name = "GrabImagesButton";
     this.GrabImagesButton.UseUnderline = true;
     this.GrabImagesButton.Label = Mono.Unix.Catalog.GetString("Grab Images...");
     this.vbuttonbox1.Add(this.GrabImagesButton);
     Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.GrabImagesButton]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     this.openFolderButton = new Gtk.Button();
     this.openFolderButton.CanFocus = true;
     this.openFolderButton.Name = "openFolderButton";
     this.openFolderButton.UseUnderline = true;
     this.openFolderButton.Label = Mono.Unix.Catalog.GetString("Open Folder");
     this.vbuttonbox1.Add(this.openFolderButton);
     Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.openFolderButton]));
     w8.Position = 2;
     w8.Expand = false;
     w8.Fill = false;
     // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
     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.vbuttonbox1.Add(this.buttonRefresh);
     Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1[this.buttonRefresh]));
     w9.Position = 3;
     w9.Expand = false;
     w9.Fill = false;
     this.hbox1.Add(this.vbuttonbox1);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox1]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     this.vbox2.Add(this.hbox1);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
     w11.Position = 1;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.imagesView.ItemActivated += new Gtk.ItemActivatedHandler(this.OnDoubleClick);
     this.viewButton.Clicked += new System.EventHandler(this.OnViewClick);
     this.GrabImagesButton.Clicked += new System.EventHandler(this.OnGrabImagesClick);
     this.openFolderButton.Clicked += new System.EventHandler(this.OnOpenFolderClick);
     this.buttonRefresh.Clicked += new System.EventHandler(this.OnRefesh);
 }