event type as a string with tkinter

Stéphane Conversy conversy at cena.fr
Wed Jun 16 17:43:41 CEST 2004


Hello,

is it possible to get a string description of an event.type ?
event.type gives an int (corrsponding to the Tk %T field), but it's 
useless if we can't have access to a named constant or a string
that match an event code to its description...

thanks and best regards,

stephane

ps: I'm not subscribed to the list, please cc: any answer to me...

--
stéphane conversy
svgl: displaying SVG with OpenGL
http://www.tls.cena.fr/~conversy/research/svgl




More information about the Python-list mailing list