Message302818
| Author |
terry.reedy |
| Recipients |
kbk, markroseman, rhettinger, roger.serwy, terry.reedy |
| Date |
2017年09月23日.23:11:37 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1506208297.2.0.0384854678493.issue25090@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|