This was the problem found by acw1668:
Everytime
Item.tkImage()
is called, a new instance ofImageTk.PhotoImage()
is created and returned. Sobut.config(image=newitem.tkImage(),...)
andbut.image = newitem.tkImage()
refer to different instances ofImageTk.PhotoImage()
.
CLICK HERE to find out more related problems solutions.