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 mark
Recipients Drew.French, gpolo, mark, terry.reedy
Date 2012-07-12.09:06:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342084011.17.0.175871135986.issue15189@psf.upfronthosting.co.za>
In-reply-to
Content
I think there is a solution to this that can be applied in one's own code:

app = tkinter.Tk()
icon = tkinter.PhotoImage(file="icon.gif")
app.tk.call("wm", "iconphoto", app, "-default", icon)

According to the docs (and it seems to be true), the icon thus set will be used for *all* the applications top-level windows.
History
Date User Action Args
2012-07-12 09:06:51marksetrecipients: + mark, terry.reedy, gpolo, Drew.French
2012-07-12 09:06:51marksetmessageid: <1342084011.17.0.175871135986.issue15189@psf.upfronthosting.co.za>
2012-07-12 09:06:50marklinkissue15189 messages
2012-07-12 09:06:50markcreate