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. Advertising

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. wang xiaoyu
    Replies:
    0
    Views:
    885
    wang xiaoyu
    Jun 25, 2003
  2. Jeff Epler
    Replies:
    0
    Views:
    533
    Jeff Epler
    Aug 20, 2004
  3. Jeff Epler
    Replies:
    0
    Views:
    482
    Jeff Epler
    Aug 23, 2004
  4. Noah
    Replies:
    1
    Views:
    626
    Mike Driscoll
    May 5, 2008
  5. Anthony Papillion

    TkInter bind() event is not firing event trigger

    Anthony Papillion, Jun 23, 2010, in forum: Python
    Replies:
    3
    Views:
    1,797
    rantingrick
    Jun 23, 2010
Loading...

Share This Page