lazy Tkinter question - [focus / virtual keyboard]

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kim Petersen

    lazy Tkinter question - [focus / virtual keyboard]

    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 - Innovationshuse t
    Havneparken 2
    7100 Vejle
    Tlf. +4576408183 || Fax. +4576408188

Working...