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:
Serhiy Storchaka 2013-11-03 14:15:00 +02:00
commit 0de5362a40
3 changed files with 16 additions and 1 deletions

View file

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