# HG changeset patch # User drewp # Date 2002-07-12 10:02:31 # Node ID 5649f5d9c798d15e85cdb4bdd04ca3175cf44607 # Parent 4455a7e86643b937c9f1dc96d10caad4317f6bb9 hid the image diff --git a/light8/stage.py b/light8/stage.py --- a/light8/stage.py +++ b/light8/stage.py @@ -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