littleflylongbow / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Hook to capture unclaimed keyboard input #63

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if a hook was implemented so that any keyboard input that
wasn't used by a global key listener, nor the focussed window.

Original issue reported on code.google.com by Douglas....@gmail.com on 1 Sep 2008 at 8:41

GoogleCodeExporter commented 8 years ago
There is always the possibility of adding a key listener to the top widget and 
check
if a key input was consumed or not. Non consumed input hasn't been processed by 
the
GUI. Of course, global listeners might have processed the input, but you don't 
need
global listeners if you listen for input from the top widget.

Original comment by olof.nae...@gmail.com on 1 Sep 2008 at 9:05

GoogleCodeExporter commented 8 years ago
Other then if nothing is focused, the top widget never gets it.  And having 
focus set to nothing happens quite a bit.

Original comment by shadow...@gmail.com on 15 Dec 2010 at 5:29