Get current key modifiers
- From: Vadim <vadim dbfin com>
- To: Gnome-Shell List <gnome-shell-list gnome org>
- Subject: Get current key modifiers
- Date: Fri, 29 Mar 2013 13:47:43 -0500
Hi everyone,
It seems as an easy question, but cannot find the answer: how do you get
in Gjs (writing an extension) all the currently pressed/set key
modifiers (such as Ctrl, Shift keys and/or Caps-Lock etc.)? I know how
you get this in an event, but need to get it just in a method.
Also, would be interesting to know if there are different (more/less
reliable) ways to do this.
Thanks in advance,
Vadim.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]