tkinter: progress list not updating tkinter: progress list not updating tkinter tkinter

tkinter: progress list not updating


You should use the update() method on your window. Normally tkinter updates the window in mainloop(). It re-draws the window content very fast (many, many times per second). When you now call f_run() the mainloop() is interrupted until the function is completed. Everywhere you want to re-draw the window content, type root.update() into the code. For example:

for i in range(len(fl_names)):    Xfunct(i)    root.update()    prog_list...

Or you should use

update_idletasks()

As described in the comment(s)