Skip to content Skip to sidebar Skip to footer

Ttk Progress Bar Freezing

I want a progress bar that shows the user the download progress. When updating the GUI and downloading at the same time the progress bar freezes, and I understand why but I don't k

Solution 1:

Try this:

# Update progress barself.Progressbar["value"] += 1self.Progressbar.update_idletasks()

If it does not work then use self.Progressbar.update() instead.

The GUI won't reflect your changes if there is something else to do (like downloading the next file) unless you call update_idletasks() or update().

Post a Comment for "Ttk Progress Bar Freezing"