RE: GtkTreeIter internals (was RE: signals versus vfuncs)



> you get to implement the glue object (or objects, this could 
> for instance be a vector<int> to remember row numbers) and 
> the model yourself, so you release the glue object (delete 
> the vecotr) when you increment the stamp,

Hmm, this might just work. Thanks.

> since then all 
> iterators referring to your glue object (or to a member of 
> your vector) become invalid. i.e. all external references are 
> gone => you can get rid of it.

I guess my brain couldn't deal with allowing orphaned pointers to go
unnulled. Cheers.

Murray Cumming
www.murrayc.com
murrayc usa net



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