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

41 lines
1.2 KiB
Plaintext

From: Marten.Hedman at btk.utu.fi (=?iso-8859-1?Q?M=E5rten?= Hedman)
Date: Tue, 13 Apr 1999 17:05:47 +0300
Subject: Help: Tkinter, bad event type
Message-ID: <37134F3B.8C583E0@btk.utu.fi>
X-UID: 1328
Hi
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.
The same thing happened when I downloaded Python 1.5.2b2, and allowed
the installer to install Tcl/Tk. I have tried downloading a fresh copy
of Tcl/Tk and reinstalling it, but the problem persists.
Tk scripts work fine without the modifying of listbox.tcl, so it seems
to be a problem in the interface between Python and Tk.
Any help would be appreciated
Yours
Marten Hedman
Centre for Biotechnology
Turku, Finland