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 08:41:10 +1100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David NeÄas (Yeti) wrote:
<snip>
So, recommendations on what to do from here? Is there a way to tell
GTK to feed keystrokes onwards when a menu is open?
I don't believe so, no, but someone else may have a better answer.
I'm afraid the only way to tell Gtk+ to stop doing this
globally is to patch it.
Awww rats...
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!
(No wonder there aren't any really good elearning creation apps for *nix
out there yet!)
Add this to ServerFlags section of xorg.conf:
Option "AllowDeactivateGrabs" "true"
and then press Ctrl-Alt-KP_Divide when you need to get rid
of the grab.
Cool, interesting info. If the keyboard snooper idea doesn't work, I'll
give that a shot. :)
Thanks Yeti!
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
iD8DBQFF22r2FAuZn5lS2IMRAkZDAKCSqvHvR/AxxGZGkNx/a7GiVPSJZQCgjS+L
Gf7AN7KtdeZSZTByeZLDL1A=
=UJRu
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]