Python Forum
Tkinter Animation - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: Tkinter Animation (/thread-22192.html)



Tkinter Animation - Evil_Patrick - Nov-03-2019

How to use gif for Animation Movement in Tkinter

from tkinter import *

root = Tk()

img = PhotoImage(file = 'Image_21.gif')
panel = Label(root, image = img)
panel.pack()

root.mainloop()



RE: Tkinter Animation - Larz60+ - Nov-03-2019

Here's a tkinter animation script to study: http://effbot.org/zone/tkinter-animation.htm


RE: Tkinter Animation - Evil_Patrick - Nov-04-2019

(Nov-03-2019, 07:03 PM)Larz60+ Wrote: Here's a tkinter animation script to study: http://effbot.org/zone/tkinter-animation.htm
But i want to insert my own gif


RE: Tkinter Animation - Larz60+ - Nov-04-2019

just search youtube and google there are many tutorials and videos available on the subject.