[Tkinter-discuss] ttk.Spinbox missing?

Michael Lange klappnase at web.de
Wed Jun 13 20:17:33 CEST 2012


Thus spoketh "Douglas S. Blank" <dblank at cs.brynmawr.edu> 
unto us on Wed, 13 Jun 2012 09:34:57 -0400:

> 
> It does look like there is an error in current(): there is a newindex 
> and index, but it doesn't look like index is defined, right?

Oops, clear case of a copy and paste accident, should be

    def current(self, newindex=None):
        return self.tk.call(self._w, 'current', newindex)

of course ;)

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Insults are effective only where emotion is present.
		-- Spock, "Who Mourns for Adonais?"  stardate 3468.1


More information about the Tkinter-discuss mailing list