469,343 Members | 5,478 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,343 developers. It's quick & easy.

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

Jul 18 '05 #1
0 1594

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mike | last post: by
6 posts views Thread by Elaine Jackson | last post: by
5 posts views Thread by Sean McIlroy | last post: by
1 post views Thread by sconeek | last post: by
8 posts views Thread by sconeek | last post: by
1 post views Thread by Rob | last post: by
1 post views Thread by vigacmoe | last post: by
44 posts views Thread by bg_ie | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.