| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| # CALL BEFORE ANY TK OPERATIONS! | ||
| # URL for arguments for the ...Awareness call below. | ||
| # https://msdn.microsoft.com/en-us/library/windows/desktop/dn280512(v=vs.85).aspx | ||
| if sys.platform == 'win32': |
There was a problem hiding this comment.
In my humble opinion, can you guarantee that this code will not be called repeatedly? Maybe it only needs to be called once?
Sorry, something went wrong.
There was a problem hiding this comment.
Add a print statement to your code and just try the code below:
from tkinter import messagebox
messagebox.showinfo("info", "test")
messagebox.showinfo("info", "test")Then you'll find that it runs twice.
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Refer #119459 , we believe this is a tk/tkinter bug that should be fixed in tkinter. In this PR, I added the fix code to tkinter/__init__.py, which fixes the window blurring problem that every program that uses tkinter has. Since I had already committed fix for turtledemo and terryjreedy fix IDLE earlier, I removed them here. Also #119175 was backported to 3.12 3.13 and I think this PR should be as well.
↓Fix
