[Idle-dev] TreeWidget

Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Wed, 15 Mar 2000 11:41:55 +0200 (IST)


The TreeWidget module contains two parts:

- An absrtact interface for a tree node
- A Tk widget to use that interface

If those two parts were seperated, it would allow users of other Toolkit
to use that interface to display  Python object trees

Changes needed:
-- Sperate TreeWidget into two modules
-- Modify ObjectBrowser into importing the Tk-specific part only in the
   test function
-- Seperate ClassBrowser into two seperate modules, Tk-specific and
   generic
-- Ditto for PathBrowser

(Random bonus: A PostScript output device wouldn't be too hard to attach
to that interface, and we'd have high-quality prinitng of class
hierarchies)

Any thoughts? I might try to do this over the weekend.


--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com