]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix initial fill color of square
authorGuido van Rossum <guido@python.org>
Mon, 20 Jun 1994 11:36:09 +0000 (11:36 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Jun 1994 11:36:09 +0000 (11:36 +0000)
.,

Demo/tkinter/guido/tst.py

index ea573d24de833fff23adf838e75cd3929d5187f6..818d90bf659e08890ac72ddfa69368d98ca8757a 100755 (executable)
@@ -26,7 +26,7 @@ class Stuff(Canvas):
                                {'width': 100, 'height': 100})
                Canvas.config(self, cnf)
                self.create_rectangle(30, 30, 70, 70, 
-                                     {'fill': 'red', 'tags': 'box'})
+                                     {'fill': 'blue', 'tags': 'box'})
                Canvas.bind(self, 'box', '<Enter>', self.enter)
                Canvas.bind(self, 'box', '<Leave>', self.leave)