Message383391
It is addressed in issue42630. Now a RuntimeError with relevant error message is raised when call askinteger() without explicit parent if there is no default root widget.
Autocreating a top-level root window is not good idea. It pops up an empty window with default size and title and left it open after closing the dialog window. If withdraw it right after creation, it would look less weird, but it may break the following code which calls Tk() and expects it to be set as a default root window. |
|
Date |
User |
Action |
Args |
2020-12-19 17:46:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gpolo, dominic108, epaine |
2020-12-19 17:46:05 | serhiy.storchaka | set | messageid: <1608399965.51.0.871310375556.issue39171@roundup.psfhosted.org> |
2020-12-19 17:46:05 | serhiy.storchaka | link | issue39171 messages |
2020-12-19 17:46:05 | serhiy.storchaka | create | |
|