Oct-02-2023, 04:11 PM
(This post was last modified: Oct-02-2023, 04:11 PM by deanhystad.)
Thanks. I t worked.Not sure what you are talking about. Looking at your code I don't see anything that looks like my code or uses any of the ideas I mentioned in my posts. For example, my last post showed a way where you don't need to stop the keyboard listener when the popup is visible, you just redirect keyboard input to the popup. You also don't have to force focus on the popup, nor do you have to make it topmost. In my post before that I showed that you can (should) use the same root window for the popup. That post mentioned that tkinter does not like it when you create root windows or call mainloop from outside the main thread. You didn't follow those suggestions either.