Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > event type as a string with tkinter

Reply
Thread Tools

event type as a string with tkinter

 
 
=?ISO-8859-1?Q?St=E9phane_Conversy?=
Guest
Posts: n/a
 
      06-16-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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TkInter bind() event is not firing event trigger Anthony Papillion Python 3 06-23-2010 12:55 AM
Where are Tkinter event.type constants defined? Noah Python 1 05-05-2008 01:06 PM
Tkinter, add pressed buttons onto string display string, how to? skanemupp@yahoo.se Python 9 04-06-2008 02:24 AM
Re: [Tkinter-discuss] Please help -- Tkinter Scale widget withDoubleVar is acting weird Jeff Epler Python 0 08-20-2004 12:07 PM
Only One Tkinter Entry can receive key event event in Linux RH8.0 wang xiaoyu Python 0 06-25-2003 04:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57