Relative Content

Tag Archive for pythonmultithreadingtkinterpython-imaging-librarytkinter-canvas

TkInter Canvas flickering when drawing on it from a Thread

I’m trying to make a simultaneous drawing of plants, the plant is a class that contains the method get_circles() , and also is_growing() that returns the status of the plant. get_circles() returns a generator object that draws some circle on each iteration. However, when drawing in another thread, Canvas flickers a lot, which is, of course, quite unpleasant.