Terry J. Reedy <tjre...@udel.edu> added the comment:

Two concrete reasons to make the conversion: two issues are stymied by current 
tree.TreeNode.

1. #25090 tree.TreeNode requires an icon for every line.  Hence functions and 
classes get python file and director icons and they are difficult to remove.  
By default, Treeview items do not get an image beside the text.

2. #20827 tree.TreeNode hardcodes single click behavior (in multiple places). 
TreeItems can only override or augment double clicks.  So it would be hard to 
keep hilites synchronized in browser and editor.  Treeview generates 
'<<TreeviewSelect>>' when a line is clicked on; setting the editor line can be 
done in a select handler.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31552>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to