[wxpython-users] Which TreeCtrl for Eclipe-like IDE?
Edward Bishop
binutils at gmail.com
Wed May 21 12:23:08 PDT 2008
Hello,
I am developing a wxPython Data Monitor application with a
TreeListCtrl-like interface for the hierarchical data. Something very
much like the "Variables" window in Eclipe/Pydev/Debug. Thus the
features would be:
1) Tree and List - like TreeListCtrl
2) Underlying data changes dynamically - MVCTree? VirtualTree mixin?
Items that have changed get highlighted.
and
3) Enable / Disable branches - like CustomTreeCtrl but without the
mutually exclusive radio buttons.
This last feature is to enable/disable certain triggers when the
underlying data changes.
PyFilling creates an object tree based on TreeCtrl. I was able to
modify it to use CustomTreeCtrl, but it still doesn't have the
ListCtrl.
I can think of various options based on:
a) TreeListCtrl - with VirtualTree mixin and some custom code to handle (3).
b) SplitTree demo - with VirtualTree mixin and some custom code to handle (3).
c) New wxPython Tree class - loosely based on CustomTreeCtrl, MVCTree,
and adding (non-native?) ListCtrl.
d) New wx native Tree class - loosely based on TreeListCtrl.
e) wxDataViewCtrl - new in wx. not sure exactly what are the features
or when it will be ported to wxPython.
I am only moderately experienced in wxPython, and still don't have a
good grasp of mixins and calls to super(). Any advice would be
appreciated.
-Edward
More information about the wxpython-users
mailing list