Re: Bind failure in ActiveState Python when using tkFileDialog

2005-01-20 Thread Bob Kline
Trent Mick wrote: Bob, some (hopefully helpful) advice from JeffH (Tcl/Tk dude) here. Trent -- Bob Kline wrote: We have some code which binds events to a Tkinter widget. Works fine on Linux, but fails using the ActiveState Python on Windows. Here's the problem boiled dow

Re: Bind failure in ActiveState Python when using tkFileDialog

2005-01-20 Thread Trent Mick
Bob, some (hopefully helpful) advice from JeffH (Tcl/Tk dude) here. Trent -- Bob Kline wrote: We have some code which binds events to a Tkinter widget. Works fine on Linux, but fails using the ActiveState Python on Windows. Here's the problem boiled down to the tiniest r

Bind failure in ActiveState Python when using tkFileDialog

2005-01-20 Thread Bob Kline
We have some code which binds events to a Tkinter widget. Works fine on Linux, but fails using the ActiveState Python on Windows. Here's the problem boiled down to the tiniest repro case I can produce: #!/usr/bin/python import tkFileDialog, Tkinter def onKeyPress(event): print "event.char=%s"