Terry J. Reedy added the comment:

tkinter.messagebox is based on tkinter.commondialog, first written in 1997. 
Since it works as originally designed, it does not seem to have been 
significantly altered since before themed widgets. Upgrading would be an 
enhancement for future versions, not a bugfix for all versions.

The SO answer is correct that tkinter does not build the messagebox, but indeed 
calls into tk with, for message boxes, the command "tk_messageBox", to get the 
builtin box.

Since I am converting IDLE on 3.6 to use ttk where appropriate, I would very 
mush like to be able to get the better looking versions of the builtin dialogs 
-- and in 3.6 -- and on all 3 majore systems, not just Windows.  Since tkinter 
still supports 8.4 (should this change?) and ttk requires 8.5, this needs to be 
an option or at least version dependent.

I report this issue in a comment on 'patthoyts' answer.

----------
components: +Tkinter
nosy: +serhiy.storchaka, terry.reedy
stage:  -> test needed
title: Visual Styles support -> Visual Styles support to tk/tkinter file and 
message dialogs
type: behavior -> enhancement
versions: +Python 3.6 -Python 3.4, Python 3.5

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

Reply via email to