void InsertFilterEntry() { filterEntry = new SearchEntry(); filterEntry.Entry.SetSizeRequest(200, filterEntry.Entry.SizeRequest().Height); filterEntry.Show(); notebook.SizeAllocated += delegate { RepositionFilter(); }; filterEntry.TextChanged += delegate { tree.SetFilter(filterEntry.Text); galleryTree.SetFilter(filterEntry.Text); updatesTree.SetFilter(filterEntry.Text); LoadAll(); addinTree.ExpandAll(); galleryTreeView.ExpandAll(); }; RepositionFilter(); }
void InsertFilterEntry() { filterEntry = new SearchEntry (); filterEntry.Entry.SetSizeRequest (200, filterEntry.Entry.SizeRequest ().Height); filterEntry.Parent = notebook; filterEntry.Show (); notebook.SizeAllocated += delegate { RepositionFilter (); }; filterEntry.TextChanged += delegate { tree.SetFilter (filterEntry.Text); galleryTree.SetFilter (filterEntry.Text); updatesTree.SetFilter (filterEntry.Text); LoadAll (); addinTree.ExpandAll (); galleryTreeView.ExpandAll (); }; RepositionFilter (); }