lazy Tkinter question - [focus / virtual keyboard]

K

Kim Petersen

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top