lazy Tkinter question - [focus / virtual keyboard]

Discussion in 'Python' started by Kim Petersen, Oct 31, 2003.

  1. Kim Petersen

    Kim Petersen Guest

    Is it possible in Tkinter to simulate a keystroke into the current
    active (focused widget) by pressing another button (this is for a
    virtual keyboard on a touchscreen pc).

    the troubles i see is:
    on pressing the button focus changes to it
    if you set focus back, some inputfields will act specially (eg. on
    focus out/focus in, keypress)
    i know i have to use the "event" function in tkinter to send the
    keystroke - but i still have the above troubles?

    Input would be extremely appreciated...

    --
    Med Venlig Hilsen / Regards

    Kim Petersen - Kyborg A/S (Udvikling)
    IT - Innovationshuset
    Havneparken 2
    7100 Vejle
    Tlf. +4576408183 || Fax. +4576408188
     
    Kim Petersen, Oct 31, 2003
    #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. Ken Pu
    Replies:
    3
    Views:
    695
    Steven D'Aprano
    Jan 16, 2009
  2. Boris Borcic
    Replies:
    0
    Views:
    570
    Boris Borcic
    Jan 16, 2009
  3. Boris Borcic
    Replies:
    0
    Views:
    566
    Boris Borcic
    Jan 16, 2009
  4. galyle
    Replies:
    6
    Views:
    332
    galyle
    Oct 4, 2011
  5. Virtual keyboard focus

    , Dec 20, 2005, in forum: Javascript
    Replies:
    7
    Views:
    143
Loading...

Share This Page