Re: Glib::RefPtr



If you want to keep the models around, then you should keep a RefPtr to them around, so that you hold an extra reference to stop them being destroyed.

FlowBox should only destroy the binding, not the model itself; if the latter occurs, it must be a result of you not having kept a reference to the model to keep it alive.

Or did I misunderstand?



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