Re: Proper Handling of GtkTreeModelFilters



Yeti,

What holds references to currentModel after the
gtk_tree_view_set_model() call?

If it is a filter model, then nothing. If it was the base model then I was maintaining my own global pointer to it.

I apologize for the difficult code snippet but regardless you have helped me tremendously. I'll be re-working my framework to align more closely with what you've described. (Makes way more sense.)

Thanks so much!

Matt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]