[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to capture keystrokes when GTK menu is open?
- From: Justin Clift <justin postgresql org>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to capture keystrokes when GTK menu is open?
- Date: Wed, 21 Feb 2007 09:19:12 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David Nečas (Yeti) wrote:
> On Wed, Feb 21, 2007 at 08:41:10AM +1100, Justin Clift wrote:
>> Though, the more I think about this, I'm kind of surprised there isn't
>> some kind of gtk-wide configurable exception list of key's that are
>> passed through. Just for apps that really do need those keystrokes!
>
> As Tristan explained, having such a list in Gtk+ would be of
> no avail. When some window grabs the keyboard, it
> essentially tells the X server `send all keyboard events to
> me'. If the window has already received the keyboard event,
> it cannot tell `hey, I do not want this one, take it back
> and process as if no grab existed'.
Thanks Yeti. :)
Just started reading up on keyboard "grabbing", and am now starting to
clue in regarding it's operation.
Will need to think on this more...
Regards and best wishes,
Justin Clift
> Yeti
<snip>
- --
The Flame Project - Open Source GUI for animated SVG & Flash
http://www.flameproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF23PgFAuZn5lS2IMRAshQAKC1F9ba2d5jc0BNgC9AtacKlW+ELwCeI/Ht
nbkriKcH/m8AB8SoWY+nTeM=
=9GCv
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]