Changeset - fca9832d207f
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 20 years ago 2005-06-13 00:42:20
drewp@bigasterisk.com
turn on background image in stage.py
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light8/stage.py
Show inline comments
 
@@ -69,14 +69,14 @@ class Stage(Canvas):
 

	
 

	
 
    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, bg="grey40")
 

	
 

	
0 comments (0 inline, 0 general)