// Enter event loop until all pending events have been processed by Tcl. Tk.update() // Enter event loop until all idle callbacks have been called. Tk.update_idletasks()