Re: Tkinter Question

Guido.van.Rossum@cwi.nl
Thu, 16 Feb 1995 09:56:20 +0100

> I seem to have come across an anomaly, which is probably because I
> am using a weird version of something.

> In my TK (which I think is 3.6) the Entry class has a 'view' method.
> However, in Tkinter.py this is defined as select_view, which doesn't
> work. You need this to link a scrollbar to an entry widget.

> Here is the error:

> TclError: bad select option "view": must be adjust, clear, from, or to
> > /usr/home/marko/lib/python/tkinter/Tkinter.py(931)select_view
> -> self.tk.call(self._w, 'select', 'view', index)

> The fix is fairly simple, but I was wondering if this was a bug or
> just because I need a newer Tk.
[...]

It's not your fault, and a newer version of Tk is not needed. It's
actually a bug in Tkinter.py -- whoever wrote this bit must've been
asleep. I'll fix this in the release of 1.2.

--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>