TreeModelFilter.clearCache

void clearCache()

This function should almost never be called. It clears the filter of any cached iterators that haven’t been reffed with [gtk.tree_model.TreeModel.refNode]. This might be useful if the child model being filtered is static (and doesn’t change often) and there has been a lot of unreffed access to nodes. As a side effect of this function, all unreffed iters will be invalid.