mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix initial fill color of square
.,
This commit is contained in:
parent
1e9e400ba7
commit
e7571856f3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue