Add image to button : Image : Tkinker PYTHON TUTORIALS


PYTHON TUTORIALS » Tkinker » Image »

 

Add image to button


from Tkinter import *

win = Tk()
igm = PhotoImage(file="a.gif")
Button(win, image=igm).pack()
win.mainloop()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Tkinker
» Image