how to switch image in tkinter? making it mutable? how?
ChrisChia
chrischia82 at gmail.com
Mon Aug 16 10:30:08 EDT 2010
I have this:
image1 = ImageTk.PhotoImage(file = "c:\\f1.jpg")
image2 = ImageTk.PhotoImage(file = "c:\\f2.jpg")
imagelist.append(image1)
imagelist.append(image2)
self.label = tk.Label(image = imagelist[0])
is there a way that i can create a method to switch the display the
image2 (imagelist 2nd element)
without using label.bind?
can i make an image mutable?
More information about the Python-list
mailing list