tkinter-tutorial
tkinter-tutorial copied to clipboard
main loop explanation doesn't mention .update()
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")