Tkinter: repeated calls to Text.window_create() gradually slow down

2025-06-10 Thread John O'Hagan
Hi list I noticed this issue with a long-running application that displays information from a variable number of sources by opening an embedded window on a Text widget for each new source, and closing it when the source is completed. To prevent increasing memory use, the widgets inside the windows

Re: Tkinter: repeated calls to Text.window_create() gradually slow down

2025-06-10 Thread MRAB
On 2025-06-10 09:39, John O'Hagan wrote: Hi list I noticed this issue with a long-running application that displays information from a variable number of sources by opening an embedded window on a Text widget for each new source, and closing it when the source is completed. To prevent increasing