homepage

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 mark
Date 2012年06月26日.07:19:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340695188.66.0.13086714969.issue15189@psf.upfronthosting.co.za>
In-reply-to
Content
The tkinter.messagebox functions, e.g., askyesno(), do not use the application's icon (if it has one). Nor do they accept a bitmapicon option, so ISTM that it is "impossible" to set one.
The same is true of tkinter.dialog, but for that it is easy enough to write one's own replacement with the code like this:
 try:
 tkinter._default_root.iconbitmap(iconName)
 except tk.TclError as err:
 print(err)
(where iconName is "path/to/icon.ico" on windows, "@path/to/icon.xbm" on Unix; and this isn't done on Mac).
History
Date User Action Args
2012年06月26日 07:19:48marksetrecipients: + mark
2012年06月26日 07:19:48marksetmessageid: <1340695188.66.0.13086714969.issue15189@psf.upfronthosting.co.za>
2012年06月26日 07:19:48marklinkissue15189 messages
2012年06月26日 07:19:47markcreate

AltStyle によって変換されたページ (->オリジナル) /