comparison light8/stage.py @ 238:fca9832d207f

turn on background image in stage.py
author drewp@bigasterisk.com
date Mon, 13 Jun 2005 00:42:20 +0000
parents e04f7b552bcd
children
comparison
equal deleted inserted replaced
237:86fe0b29d08b 238:fca9832d207f
70 70
71 def setimage(self,stageimage): 71 def setimage(self,stageimage):
72 img = Image('photo',file=stageimage) 72 img = Image('photo',file=stageimage)
73 self.img=img # can't lose this! 73 self.img=img # can't lose this!
74 # print img.width() 74 # print img.width()
75 # self.create_image(0,0,anchor='nw',image=img) 75 self.create_image(0,0,anchor='nw',image=img)
76 # self.config(width=img.width(),height=img.height()) 76 self.config(width=img.width(),height=img.height())
77 77
78 # we had the picture removed for good luck, but we remember 78 # we had the picture removed for good luck, but we remember
79 # what the dimensions formerly was 79 # what the dimensions formerly was
80 self.config(width=821,height=681, bg="grey40") 80 self.config(width=821,height=681, bg="grey40")
81 81