changeset 77:5649f5d9c798

hid the image
author drewp
date Fri, 12 Jul 2002 10:02:31 +0000
parents 4455a7e86643
children 0969d8a6729d
files light8/stage.py
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/light8/stage.py	Fri Jul 12 10:00:10 2002 +0000
+++ b/light8/stage.py	Fri Jul 12 10:02:31 2002 +0000
@@ -67,12 +67,18 @@
 
         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