Re: how to get a key_press_event for unfocussed windows?
- From: "Karl H. Beckers" <karl h beckers gmx net>
- To: Tristan Van Berkom <vantr touchtunes com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: how to get a key_press_event for unfocussed windows?
- Date: Tue, 13 Jan 2004 01:32:36 +0100
Tristan Van Berkom schrieb:
Karl H. Beckers wrote:
<snip>
Is there a way to catch the key press from an unfocused (perhaps even
iconified) window?
Without the help of the window manager?
http://developer.gnome.org/doc/API/2.0/gtk/gtk-General.html#gtk-key-snooper-install
Cheers,
-Tristan
Hmm,
that didn't do the trick ...
lemme try to make myself clear again ;)
I'd like to catch a keypress even if my application's window doesn't
have keyboard focus.
Much like e.g. Alt-F1 opens the Gnome main menu even if I'm typing in a
Mozilla message
window.
Is that possible without having to register with the window manager?
Any ideas (short of studying gnome-panel source ;) )?
TIA,
Karl.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]