Changeset - 5649f5d9c798
[Not reviewed]
default
0 1 0
drewp - 22 years ago 2002-07-12 10:02:31

hid the image
1 file changed with 8 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light8/stage.py
Show inline comments
 
@@ -67,12 +67,18 @@ class Stage(Canvas):
 

	
 
        self.subeditor = None
 

	
 

	
 
    def setimage(self,stageimage):
 
        img = Image('photo',file=stageimage)
 
        self.img=img # can't lose this!
 
        print img.width()
 
        self.create_image(0,0,anchor='nw',image=img)
 
        self.config(width=img.width(),height=img.height())
 
#        self.create_image(0,0,anchor='nw',image=img)
 
#        self.config(width=img.width(),height=img.height())
 

	
 
        # we had the picture removed for good luck, but we remember
 
        # what the dimensions formerly was
 
        self.config(width=821,height=681)
 

	
 

	
 
    def setsubediting(self,subeditor):
 
        self.subeditor = subeditor
0 comments (0 inline, 0 general)