Mailing List Archive

Dumb key-binding question
Pardon, but I can not get binding
<Control-KeyPress> to work correctly.
<Control-KeyRelease> works fine, but
<Control-KeyPress> only functions while
the holding the key. This is not exactly
what I was expecting... Hmm ?


--
--
Regards & Gruesse from Mickey @ http://www.Vanille.de
---------------------------------------------------------
How could anyone know me - when I don't even know myself ?
Dumb key-binding question [ In reply to ]
Hallo!
Ist mal schoen jemanden auf Deutsch zu fragen, nicht das ich was gegen
Fremdsprachen habe, aber ist halt einfacher.
Ich las, dass Du es geschafft hast Key-Bindings zu implementieren.
Ich versuche das schon seit laengerem, aber ohne Erfolg.
Mit:
name.bind("<keypress-a>", command)
klappt das naemlich nicht so richtig. Und das mit den Keysyms hab ich
nicht so richtig verstanden. Waere schoen, wenn Du mir weiter helfen
koenntest. Ueber ein kleines Beispiel wuerde ich mich freuen.

Danke
Sven

mlauer@amalia-atm.rz.uni-frankfurt.de wrote:

> Pardon, but I can not get binding
> <Control-KeyPress> to work correctly.
> <Control-KeyRelease> works fine, but
> <Control-KeyPress> only functions while
> the holding the key. This is not exactly
> what I was expecting... Hmm ?
>
> --
> --
> Regards & Gruesse from Mickey @ http://www.Vanille.de
> ---------------------------------------------------------
> How could anyone know me - when I don't even know myself ?



--
_______________________________________
German Aerospace Research Establishment
Institute of Flight Guidance
Air Traffic Management Systems
Tel.: (0531 -) 295 2515