Re: Confusing: Canvas image working in function but not in class

2005-04-22 Thread Mudcat
I will answer my own question in case anyone else ever has this problem. I knew the problem (although some say it's not) existed with the namespace of pictures, that if you didn't save the pictures in persistent memory they would disappear as soon as the function that called them was exited. So a

Confusing: Canvas image working in function but not in class

2005-04-21 Thread Mudcat
I have an image that displays on a canvas that works unless I put the same code in a class. I can't figure that out. Here's what works: def uts5100(self): self.screen = Toplevel( self.master ) self.screen.geometry("+100+50") self.screen.grab_set() self.screen.fo