wasm-demo/demo/ermis-f/python_m/cur/1612

32 lines
1.0 KiB
Plaintext

From: fredrik at pythonware.com (Fredrik Lundh)
Date: Tue, 13 Apr 1999 15:58:41 GMT
Subject: Help: Tkinter, bad event type
References: <37134F3B.8C583E0@btk.utu.fi>
Message-ID: <002b01be85c6$8d62bdf0$f29b12c2@pythonware.com>
X-UID: 1612
M?rten Hedman <Marten.Hedman at btk.utu.fi> wrote:
> I'm running Python 1.5.2c1 under Win NT with SP4 and Tcl/Tk 8.05. When I
> try to run any script that uses Tkinter, even hello.py from the Tkinter
> Life Preserver, I get two identical error messages:
>
> bad event type or keysym "MouseWheel"
> while executing "bind Listbox <MouseWheel> ..." invoked from
> <Tk library path>/listbox.tcl
> ...
> invoked from <Tk library path>/tk.tcl
>
> I can work around this by editing listbox.tcl and commenting out the
> "bind Listbox <MouseWheel> ..." statement, but I have to do this every
> time I install a new version of Tcl/Tk, and it's annoying.
looks like you pick up the wrong Tcl/Tk DLL's when running
Python. better double-check your installation.
</F>