Hi,
I'm a little new to Tk so hope this isn't a dumb question.
I've created a window using Tk and I'd like to change a gif image based on an event in my mainloop (change a green check to a red stop sign). I'm using a label widget right now but I could use a different one. This is easy for text using the message or label widget because of -textvariable option. Unfortunately there isn't an -imagevariable option.
Any ideas on a event driven image change?
Thanks.
I'm a little new to Tk so hope this isn't a dumb question.
I've created a window using Tk and I'd like to change a gif image based on an event in my mainloop (change a green check to a red stop sign). I'm using a label widget right now but I could use a different one. This is easy for text using the message or label widget because of -textvariable option. Unfortunately there isn't an -imagevariable option.
Any ideas on a event driven image change?
Thanks.