Re: TreeView



Scribit Ed Leaver dies 26/01/2006 hora 19:08:
> I frequently want to iterate over every item in a TreeModel in a
> single loop

What you want is to iterate over the list of nodes of the tree, sorted
topologically (or visit topologically the tree). You should maybe take a
look at a tree or graph library, that would kindly do this for you, for
example the BGL or GTL...

Topologically,
Nowhere man
-- 
nowhere man levallois eu org
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature



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