Skip to content Skip to sidebar Skip to footer

Updating Entry Widget Using Text From Onscreen Keyboard In Tkinter

I want to run my code on raspberry pi which has a touchscreen attached to it. The GUI is made using Tkinter and I want to pop up the system onscreen keyboard when the entry is focu

Solution 1:

For someone looking for the answer, I found 2 ways of solving this:

First, use subprocess.popen to create seperate threads of UI and the Keyboard. This works fine on onboard keyboard but florence lags

Second method is to run florence in background before opening the app. Then use

florence hide
florence show

to hide or display florence on the events you want to bind.

Post a Comment for "Updating Entry Widget Using Text From Onscreen Keyboard In Tkinter"