Message302818
I merged the nested functions and classes patch yesterday, so I really want to stop using file and folder icons for functions and classes.
However, this is not as easy as I was hoping. By default, tree.TreeItem.GetIconName returns None. tree.TreeNode then uses the default closed and open folder icons for contracted and expanded nodes. There is no provision for 'no icon'. The text print function hardcodes space for the icon. The one thing I tried worked with module browser for at least a few node, but sent pathbrowser into a do-nothing state, probably a loop.
I decided to let this sit longer. I hope to soon replace at least the low level part of tree (TreeNode) with ttk.Treeview, which does not require icons. |
|
Date |
User |
Action |
Args |
2017-09-23 23:11:37 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, kbk, roger.serwy, markroseman |
2017-09-23 23:11:37 | terry.reedy | set | messageid: <1506208297.2.0.0384854678493.issue25090@psf.upfronthosting.co.za> |
2017-09-23 23:11:37 | terry.reedy | link | issue25090 messages |
2017-09-23 23:11:37 | terry.reedy | create | |
|