Index: Lib/lib-tk/Tkinter.py =================================================================== --- Lib/lib-tk/Tkinter.py (revision 73085) +++ Lib/lib-tk/Tkinter.py (working copy) @@ -3390,7 +3390,7 @@ 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)) def delete(self, first, last=None): """Delete one or more elements of the spinbox. @@ -3399,9 +3399,9 @@ and last is the index of the character just after the last one to delete. If last isn't specified it defaults to first+1, i.e. a single character is - deleted. This command returns an empty string. + deleted. """ - return self.tk.call(self._w, 'delete', first, last) + self.tk.call(self._w, 'delete', first, last) def get(self): """Returns the spinbox's string""" @@ -3411,9 +3411,9 @@ """Alter the position of the insertion cursor. The insertion cursor will be displayed just before - the character given by index. Returns an empty string + the character given by index. """ - return self.tk.call(self._w, 'icursor', index) + self.tk.call(self._w, 'icursor', index) def identify(self, x, y): """Returns the name of the widget at position x, y @@ -3423,24 +3423,20 @@ return self.tk.call(self._w, 'identify', x, y) def index(self, index): - """Returns the numerical index corresponding to index - """ + """Returns the numerical index corresponding to index.""" return self.tk.call(self._w, 'index', index) def insert(self, index, s): - """Insert string s at index + """Insert string s at index.""" + self.tk.call(self._w, 'insert', index, s) - Returns an empty string. - """ - return self.tk.call(self._w, 'insert', index, s) - def invoke(self, element): """Causes the specified element to be invoked The element could be buttondown or buttonup triggering the action associated with it. """ - return self.tk.call(self._w, 'invoke', element) + self.tk.call(self._w, 'invoke', element) def scan(self, *args): """Internal function."""