[issue15189] tkinter.messagebox does not use the application's icon

2014-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: After applying the .wm_iconphoto patch, I verifies that the icon specified is used for the options dialog and an ask file name message box opened by the dialog. In other words, dialogs and boxes *do* use the application title bar icon if one is provided. So I

[issue15189] tkinter.messagebox does not use the application's icon

2014-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mark's recipe works pretty well (requires Tk 8.5+). And you can use special method for this: app.wm_iconphoto(True, icon). What we can made more? We can set Python-related application icon for IDLE (issue20406). But for user applications their authors are r

[issue15189] tkinter.messagebox does not use the application's icon

2014-01-26 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue15189] tkinter.messagebox does not use the application's icon

2012-07-12 Thread Mark Summerfield
Mark Summerfield added the comment: 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

[issue15189] tkinter.messagebox does not use the application's icon

2012-07-09 Thread Drew French
Drew French added the comment: This is also true for some of the other dialogs (such as the file dialogs). Does anyone know if this behavior can be changed in Tk itself? -- nosy: +Drew.French ___ Python tracker

[issue15189] tkinter.messagebox does not use the application's icon

2012-07-09 Thread Mark Summerfield
Mark Summerfield added the comment: On Linux & Windows every top-level window (including dialogs) normally has an icon at the left of the title bar. Typically this icon is the application's icon. But tkinter doesn't provide such an icon and so a system default icon is used instead. For one's

[issue15189] tkinter.messagebox does not use the application's icon

2012-06-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is not clear to me what change your are proposing. -- nosy: +gpolo, terry.reedy type: -> enhancement versions: +Python 3.4 -Python 3.2 ___ Python tracker _

[issue15189] tkinter.messagebox does not use the application's icon

2012-06-26 Thread Mark Summerfield
New submission from Mark Summerfield : 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 t