mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
From: Nicolas CHAUVAT <nico@caesium.fr>
In the bbox method of Group (Canvas.py file), you should read return self.canvas._getints(self._do('bbox')) instead of return self._getints(self._do('bbox'))
This commit is contained in:
parent
98c92c83a5
commit
93d1fe1c56
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class Group:
|
||||||
def addtag_withtag(self, tagOrId):
|
def addtag_withtag(self, tagOrId):
|
||||||
self._do('addtag', 'withtag', tagOrId)
|
self._do('addtag', 'withtag', tagOrId)
|
||||||
def bbox(self):
|
def bbox(self):
|
||||||
return self._getints(self._do('bbox'))
|
return self.canvas._getints(self._do('bbox'))
|
||||||
def bind(self, sequence=None, command=None):
|
def bind(self, sequence=None, command=None):
|
||||||
return self.canvas.tag_bind(self.id, sequence, command)
|
return self.canvas.tag_bind(self.id, sequence, command)
|
||||||
def unbind(self, sequence):
|
def unbind(self, sequence):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue