in reply to Re^2: Tk fileevent 'readable' stops working
in thread Tk fileevent 'readable' stops working

Dunno what's wrong with it... I didn't dig much into Tk internals and have not time for that currently. But thinking again... do you attempt to bind the fileevent to the same widget? If so, that could be the gotcha. I don't know whether it is possible to bind multiple fileevents to the same widget, but I suspect it not being possible.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^3: Tk fileevent 'readable' stops working