On 20Oct2021 20:18, Stefan Ram <r...@zedat.fu-berlin.de> wrote: >r...@zedat.fu-berlin.de (Stefan Ram) writes: >>I want to diplay images fast in a slideshow (i.e., 10 images > > (There's a problem with my [S] key.) > > It seems that update_idletasks() solved my problem!
Yes. That causes the event loop to resume, render, then run any pending idle tasks (which run when the event loop is idle, implying that any pending rendering is complete). So you know at that time that a new image will have been displayed. Think of it like flush() for file output, but for a GUI. Cheers, Cameron Simpson <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list