TreeModelSort.clearCache

void clearCache()

This function should almost never be called. It clears the tree_model_sort of any cached iterators that haven’t been reffed with [gtk.tree_model.TreeModel.refNode]. This might be useful if the child model being sorted 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.