1 year ago
#337523
Mohamed-Ali Taha
How can I check if a PyQt5 QTextLine has focus or not?
I am using PyQt5 for a project I am working on currently, and have run into an issue. I am using the pynput module on a different thread to capture certain key clicks, but I want the thread to stop when focus is on a text box. Is there an easy way to do this or can someone help me find a solution?
python
multithreading
pyqt5
pynput
0 Answers
Your Answer