Please help - Expanding Tree

Please forgive me for not trying it first or if you've already seen it,
but have you taken a look at this page on the wxPyWiki?

http://wiki.wxpython.org/index.cgi/expand_20all_20wxTreeCtrl_20items?act
ion=highlight&value=wxtreectrl

I ask only because in the traverse method, it does not seem to call
function on the traverseroot.

Mike

···

-----Original Message-----
From: Eugene Borodkin [mailto:eborodki@eos.east.hitc.com]
Sent: Thursday, July 29, 2004 12:39 PM
To: wxPython-users@lists.wxwidgets.org
Subject: [wxPython-users] Please help - Expanding Tree

I posted this earlier but no one responded.

I have a tree which happens to have the hidden root flag.
I need to expand the entire tree, all the way down to the last nodes.

How can I do this?

I tried writing a nested-while to walk through each node and expand, but
the problem is, you can't expand a hidden element (and that is the
root). When I tried just expanding everything else that's visible (under
the root), the program freezes.

Please help!

Thanks - Eugene

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org