This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:37terry.reedysetrecipients: + terry.reedy, rhettinger, kbk, roger.serwy, markroseman
2017-09-23 23:11:37terry.reedysetmessageid: <1506208297.2.0.0384854678493.issue25090@psf.upfronthosting.co.za>
2017-09-23 23:11:37terry.reedylinkissue25090 messages
2017-09-23 23:11:37terry.reedycreate