bool FilterTree(Gtk.TreeModel model, Gtk.TreeIter iter) { ProjectDescription project = (ProjectDescription)model.GetValue(iter, COL_PROJECT_DESCRIPTION); if (project == null) { return(true); } return(project.Search(filterEntry.Text)); }