Terry J. Reedy added the comment:

The blue feather is the tk 8.6 icon.  The tk 8.5 and before icon is a red 
script 'Tk'.

The title bar icons for Idle were added in #20406.  It was a bit of a challenge 
to get them to work right and look good enough for all versions on all systems. 
 The icons were taken from the repository PC directory, which does not get 
installed.  I forget whether the ones committed were direct copies or modified. 
 I know I had in mind some future editing.  See msg209747

I agree with the general idea.  However, PEP 434 defines the idlelib api as 
mostly private.  Indeed, I might like to someday rename and refactor 
PyShell.py.  Rather than add an idlelib dependency (in particular PyShell.py) 
to turtle, I would prefer to move generic tkinter code to the tkinter tree.  (I 
might even like to remove the idlelib dependency from turtledemo this way, but 
this is a future issue.)

In this case, the tkinter addition would be a new method on the application 
window or toplevel class: def set_icon(self, icon_dir, icon_file): <code pretty 
much as already written>.  Icon_file is the base name which gets .ico, .gif, or 
.png added.  This non-obvious code would then be available to all.  Serhiy, 
what do you think of this?

However, I have no reason to rename the icon files, so turtle could reuse 
those.  But a better application icon for turtle and turtledemo might be new 
icons with the two snakes on the back of a turtle shell.

----------
nosy: +serhiy.storchaka

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

Reply via email to