Add gif image to a button : Button « GUI Tk « Python
- Python
- GUI Tk
- Button
Add gif image to a button

gifdir = "./"
from Tkinter import *
win = Tk()
igm = PhotoImage(file=gifdir+"logo.gif")
Button(win, image=igm).pack()
win.mainloop()
Related examples in the same category