Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Tkinter] How to run animations in background with tkinter?
#1
Hello! I am making a tkinter app and I want to make an animation, for example, a character walking (by displaying each frame individually). But when I do this, the rest of the commands stop executing and the only thing that happens is the animation, but I want to execute other commands while the animation is running. There must be a better way to animate stuff in tkinter!?
Quote
#2
How are you doing the animation? Do you have a while loop and/or sleep blocking the gui mainloop.
See the following forum thread on using tkinter's after
https://python-forum.io/Thread-Tkinter-H...ng-the-gui
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Restoring Tkinter widget background to original color pythonprogrammer 1 385 Dec-16-2019, 04:59 AM
Last Post: woooee
  Make Label Text background (default color) transparent using tkinter in python barry76 1 5,423 Nov-28-2019, 10:19 AM
Last Post: Larz60+
  Unable to put background image on Tkinter Frame jenkins43 2 2,565 Nov-27-2019, 11:38 AM
Last Post: jenkins43
  set button background with image of window background gray 3 9,382 Oct-18-2017, 08:22 AM
Last Post: gray

Forum Jump:


Users browsing this thread: 1 Guest(s)