Re: Checking modifier keys at any moment
- From: Jarek Dukat <madmaxer poczta fm>
- To: Gtk-List <gtk-list gnome org>
- Subject: Re: Checking modifier keys at any moment
- Date: 19 Jul 2002 19:28:20 +0200
On Fri, 2002-07-19 at 04:58, Paul Davis wrote:
> >
> >the GdkEventKey struct has a state value that has the state of the
> >modifier keys as a bit mask using the GdkModifierType.
>
> right, but the question was "is there a function that returns the
> current state of these keys at any moment". if you don't have a
> GdkEventKey or GdkEventButton handy, the answer is really "no". it
> sounded as if the questioner wanted to be able to check on this from
> situations where such a struct would not be available.
Yes, that's exactly what I wanted. I'll use your tip to connect a
top-level key snooper :)
--
struct Sig {
string name(" J a r e k D u k a t ");
string mail(" madmaxer (at) poczta (dot) fm ");
};
----------------------------------------------------------------------
Czy arogancja wladzy ma jakiekolwiek granice?
>>> http://link.interia.pl/f162c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]