Re: [Tkinter-discuss] Focus issue

2024-01-10 Thread Michael Lange via Tkinter-discuss
Hi, On Wed, 10 Jan 2024 16:33:46 -0400 Cam Farnell wrote: > To answer my own question: the focus was being given to another widget > after the code in question had executed. > > That said, I still don't understand why focus_set followed by > update_idletasks followed by focus_get would return No

Re: [Tkinter-discuss] Focus issue

2024-01-10 Thread Cam Farnell
To answer my own question: the focus was being given to another widget after the code in question had executed. That said, I still don't understand why focus_set followed by update_idletasks followed by focus_get would return None, but tkinter something works in strange and mysterious ways. C