[wxPython] Walking a wxTree

I'd like a wxTreeCtrl that behaves like the tree control in Microsoft Internet explorer: the closing of unused branches and timed movement.

Anybody done that.

Nigel

···

From: "Robin Dunn" <robin@alldunn.com>
To: <wxpython-users@lists.sourceforge.net>
Subject: Re: [wxPython] Walking a wxTree
Reply-To: wxpython-users@lists.sourceforge.net
Date: Sat, 3 Feb 2001 13:23:21 -0800

I would like to be able to contruct a tree using the wxTreeCtrl in Python,
select a node anywhere within the tree, and walk the tree starting with that
node, examining all its children and ending at its next sibling. Has anyone
already developed a piece of code which can do that?

It should be fairly easy to do with the ItemHasChildren, GetFirstChild and GetNextChild methods.

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users