Akuli / tkinter-tutorial

Tkinter tutorial for beginners.
Other
122 stars 25 forks source link

main loop explanation doesn't mention .update() #7

Open Akuli opened 2 years ago

Akuli commented 2 years ago

It should at least mention why not to use it, and why it is a "quick and dirty" solution in situations like this:

button.config(state="disabled")
button.update()
long_running_function()
button.config(state="normal")