On 29 March 2013 19:47, Vadim <va...@dbfin.com> wrote: > 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.
For gnome-shell you can do it like that: https://git.gnome.org/browse/gnome-shell/tree/js/ui/switcherPopup.js#n153 Rui _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list