cpython/Lib/tkinter
Serhiy Storchaka 675c97eb6c
bpo-42721: Improve using simple dialogs without root window (GH-23897)
When simple query dialogs (tkinter.simpledialog), message boxes
(tkinter.messagebox) or color choose dialog (tkinter.colorchooser)
are created without arguments master and parent, and the default
root window is not yet created, a new temporary hidden root window
will be created automatically. It will not be set as the default root
window and will be destroyed right after closing the dialog window.
It will help to use these simple dialog windows in programs which do
not need other GUI.

Previously, message boxes and color chooser created the blank root
window and left it after closing the dialog window, and query dialogs
just raised an exception.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2020-12-25 20:19:20 +02:00
..
test bpo-42721: Improve using simple dialogs without root window (GH-23897) 2020-12-25 20:19:20 +02:00
__init__.py bpo-42721: Improve using simple dialogs without root window (GH-23897) 2020-12-25 20:19:20 +02:00
__main__.py
colorchooser.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
commondialog.py bpo-42721: Improve using simple dialogs without root window (GH-23897) 2020-12-25 20:19:20 +02:00
constants.py
dialog.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
dnd.py bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904) 2020-12-25 17:04:26 +02:00
filedialog.py Fix typos mostly in comments, docs and test names (GH-15209) 2019-08-30 16:21:19 -04:00
font.py bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904) 2020-12-25 17:04:26 +02:00
messagebox.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
scrolledtext.py bpo-29446: tkinter 'import *' only imports what it should (GH-14864) 2019-07-25 21:30:33 -04:00
simpledialog.py bpo-42721: Improve using simple dialogs without root window (GH-23897) 2020-12-25 20:19:20 +02:00
tix.py bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904) 2020-12-25 17:04:26 +02:00
ttk.py bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904) 2020-12-25 17:04:26 +02:00