key repeat in tkinter

Stephane Conversy conversy at lri.fr
Wed Aug 30 07:14:13 EDT 2000


That's what I did eventually.
I trigger an os.system("xset r off") then an os.system("set r on") on
finish.
The problem is that all running apps are set to this behavior until
my app finishes....


Richard Chamberlain wrote:

> Hi Stephane,
>
> I believe that is an os thing rather than Tk, having said that you may be
> able to intercept the events before they output. You'd have to be clever
> about it though.
>
> Richard
>
> Stephane Conversy <conversy at lri.fr> wrote in message
> news:39ABC5A8.FED21082 at lri.fr...
> > Hello.
> >
> > I couldn't find it neither in the FAQ nor in tkinter doc, but is it
> > possible
> > to disable the automatic key repeat when one presses a key and does not
> > release it immediately ?
> >
> > Thanks.
>

--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:conversy at lri.fr






More information about the Python-list mailing list