event type as a string with tkinter

Discussion in 'Python' started by =?ISO-8859-1?Q?St=E9phane_Conversy?=, Jun 16, 2004.

  1. 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
     
    =?ISO-8859-1?Q?St=E9phane_Conversy?=, Jun 16, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. heyo
    Replies:
    3
    Views:
    1,411
    Dan Pop
    Apr 1, 2004
  2. pete
    Replies:
    4
    Views:
    1,031
    Dan Pop
    Apr 2, 2004
  3. wang xiaoyu
    Replies:
    0
    Views:
    976
    wang xiaoyu
    Jun 25, 2003
  4. Yevgen Muntyan

    #define ALLOCIT(Type) ((Type*) malloc (sizeof (Type)))

    Yevgen Muntyan, Feb 9, 2007, in forum: C Programming
    Replies:
    10
    Views:
    1,217
    Yevgen Muntyan
    Feb 13, 2007
  5. Replies:
    9
    Views:
    869
    Steve Holden
    Apr 6, 2008
  6. Noah
    Replies:
    1
    Views:
    680
    Mike Driscoll
    May 5, 2008
  7. Anthony Papillion

    TkInter bind() event is not firing event trigger

    Anthony Papillion, Jun 23, 2010, in forum: Python
    Replies:
    3
    Views:
    2,211
    rantingrick
    Jun 23, 2010
  8. kj
    Replies:
    5
    Views:
    624
Loading...