Bruce Who wrote:
Robin Dunn:
This works. But consider this situation: a TreeCtrl is used to list a directory tree, every item is a file with a file ico as the item image, and a checkbox which is used to select/unselect the file.
It may be ugly to put a tick mark on the icon.
You can use the file's icon to make a new one that has room for the
checkbox.
Is it possible to make this widget in pure python? I don't want to touch C/C++ any more.
Sure. It would be a lot of work though. You could use the C++ code for
the generic wxTreeCtrl or for the wxTreeListCtrl as a guide.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!