mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string. Based on patch by Guilherme Polo.
This commit is contained in:
commit
0de5362a40
3 changed files with 16 additions and 1 deletions
|
|
@ -3472,7 +3472,7 @@ class Spinbox(Widget, XView):
|
|||
bounding box may refer to a region outside the
|
||||
visible area of the window.
|
||||
"""
|
||||
return self.tk.call(self._w, 'bbox', index)
|
||||
return self._getints(self.tk.call(self._w, 'bbox', index)) or None
|
||||
|
||||
def delete(self, first, last=None):
|
||||
"""Delete one or more elements of the spinbox.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue