Re: Tkinter PhotoImage won't show ***SOLVED***

2006-01-29 Thread vm
I was missing "global pic" line at the begining of putpic function. doh! "vm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > please help! > > I can't find anything wrong (except the result ofc ;-) > > This: > > > > picfile = 'logo.gif' > > pic = tk.PhotoImage(file=picfile, master=r

Re: Tkinter PhotoImage won't show ;-(

2006-01-29 Thread Fredrik Lundh
"vm" wrote: > I can't find anything wrong (except the result ofc ;-) > > This: > > picfile = 'logo.gif' > > pic = tk.PhotoImage(file=picfile, master=root) > > canpic = cv.create_image(320, 240, image=pic) #cv is is a Tkinter > Canvas ofc > > ...works just fine, but when I put it in the eve

Tkinter PhotoImage won't show ;-(

2006-01-29 Thread vm
please help! I can't find anything wrong (except the result ofc ;-) This: picfile = 'logo.gif' pic = tk.PhotoImage(file=picfile, master=root) canpic = cv.create_image(320, 240, image=pic) #cv is is a Tkinter Canvas ofc ...works just fine, but when I put it in the event binding fu