summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/simpledialog.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43655: Tkinter and IDLE dialog windows are now recognized as dialogs by ↵Serhiy Storchaka2021-04-251-0/+12
| | | | window managers on macOS and X Window (#25187)
* bpo-42721: Improve using simple dialogs without root window (GH-23897)Serhiy Storchaka2020-12-251-2/+4
| | | | | | | | | | | | | | | | | 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>
* bpo-15303: Support widgets with boolean value False in Tkinter (GH-23904)Serhiy Storchaka2020-12-251-2/+2
| | | Use `widget is None` instead of checking the boolean value of a widget.
* bpo-42685: Improve placing of simple query windows. (GH-23856)Serhiy Storchaka2020-12-241-35/+34
| | | | | | * If parent is specified and mapped, the query widget is centered at the center of parent. Its position and size can be corrected so that it fits in the virtual root window. * Otherwise it is centered at the center of the screen.
* bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781)Serhiy Storchaka2020-12-191-10/+9
| | | | | | | | | | | * Tkinter functions and constructors which need a default root window raise now RuntimeError with descriptive message instead of obscure AttributeError or NameError if it is not created yet or cannot be created automatically. * Add tests for all functions which use default root window. * Fix import in the pynche script.
* bpo-34964: Make Tkinter sources more readable by adding blank lines. (GH-9822)Serhiy Storchaka2018-10-121-2/+8
|
* Issue #23880: Tkinter's getint() and getdouble() now support Tcl_Obj.Serhiy Storchaka2015-05-061-2/+2
| | | | Tkinter's getdouble() now supports any numbers (in particular int).
* Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter ↵Andrew Svetlov2012-07-301-1/+1
| | | | SimpleDialog.
* Merged revisions 70223 via svnmerge fromGuilherme Polo2009-03-071-3/+6
| | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r70223 | guilherme.polo | 2009-03-06 23:14:38 -0300 (Fri, 06 Mar 2009) | 4 lines Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after it is has been populated and properly configured in order to prevent window flashing. ........
* Tkinter, step 4: merge simple- and filedialog modules.Georg Brandl2008-05-171-1/+309
|
* Tkinter, step 2: adapt imports.Georg Brandl2008-05-171-1/+1
|
* Tkinter move, part 1: move modules.Georg Brandl2008-05-171-0/+112