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 hakonhagland, serhiy.storchaka, terry.reedy
Date 2017-06-30.21:59:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498859980.32.0.481251290309.issue30791@psf.upfronthosting.co.za>
In-reply-to
Content
> tkinter has added a #2
I think you yourself proved otherwise. Additional evidence is that ' #2' is not added on Windows.  I have 3 windows titled 'myApp' stacked behind my installed python/IDLE icon. root.winfo_class() returns the class name capitalized, but the window title is not.  root.winfo_class('newname') does not work.  Note: I added more chars to the label to make it big enough to force the window to be big enough to display the title.

There might be a reason why tcl deduplicates class names on *nix.  So even if you found a way to set a classname after the Tk call, tcl might still deduplicate it.  Or we might decide not to force change the current behavior.

I suspect that this will be closed as a 3rd-party issue.
History
Date User Action Args
2017-06-30 21:59:40terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, hakonhagland
2017-06-30 21:59:40terry.reedysetmessageid: <1498859980.32.0.481251290309.issue30791@psf.upfronthosting.co.za>
2017-06-30 21:59:40terry.reedylinkissue30791 messages
2017-06-30 21:59:40terry.reedycreate