Re: How to capture keystrokes when GTK menu is open?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tristan Van Berkom wrote:
<snip>
I'm not sure what you're looking for, seems normal behaviour
for menus to grab the focus when they're active (at least I'm
used to that behaviour) - if your app has a specific need to
trap a key when a popup menu is active - is there any reason
why using a keyboard snooper[1] wouldnt work ?

Thanks Tristan, hadn't seen that before. :)

Unsure if it gives keyboard events for the whole window system or not,
but I'll play with it and find out!

Cool.

Regards and best wishes,

Justin Clift

<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

iD8DBQFF22fZFAuZn5lS2IMRAvH7AKDmwmQJMAwrglqMcmgto+x51A19FACcDHBv
oZTI5dRkryA2GW3EQ/DS4+k=
=HlVS
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]