Block All Keyboard Input in a Linux Application (Using Qt or Mono)
Posted
by Evans
on Stack Overflow
See other posts from Stack Overflow
or by Evans
Published on 2010-03-10T11:52:12Z
Indexed on
2010/03/11
17:24 UTC
Read the original article
Hit count: 328
Hi, I'm working on a online quiz client where we use a dedicated custom-made linux distro which contains only the quiz client software along with text editors and other utility software. When the user has started the quiz, I want to prevent him/her from minimizing the window/closing it/switching to the desktop or other windows. The quizzes can be attempted using only the mouse, so I need the keyboard to be completed disabled for the period of the quiz. How could I do this, using Qt or Mono? I'm ready to use any low-level libraries/drivers, if required. Thanks Evans
© Stack Overflow or respective owner