Fix initial fill color of square

.,
This commit is contained in:
Guido van Rossum 1994-06-20 11:36:09 +00:00
parent 1e9e400ba7
commit e7571856f3
1 changed files with 1 additions and 1 deletions

View File

@ -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)