<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Piñeiro schrieb:
<blockquote cite="mid:20100128.111331.36933787.apinheiro@igalia.com"
type="cite">
<pre wrap="">From: Stefan Iwanowitsch <a class="moz-txt-link-rfc2396E" href="mailto:stiw@ised.de"><stiw@ised.de></a>
</pre>
<blockquote type="cite">
<pre wrap="">Hi everybody,
I've tried to figure out for some days, how I can capture ALL key events
even if I have no focus on my window or if my app is running without GUI.
Failed sofar :(
Using Fremantle/Hildon/GTK
</pre>
</blockquote>
<pre wrap=""><!---->
I suppose that you are talking about all key events redirected to your
app.
You can try to install a key snooper:
<a class="moz-txt-link-freetext" href="http://library.gnome.org/devel/gtk/stable/gtk-General.html#gtk-key-snooper-install">http://library.gnome.org/devel/gtk/stable/gtk-General.html#gtk-key-snooper-install</a>
If you are thinking in all key events in the device, I suppose that
this would be more complex.
===
API (<a class="moz-txt-link-abbreviated" href="mailto:apinheiro@igalia.com">apinheiro@igalia.com</a>)
</pre>
</blockquote>
Key snooping just gives you an early view of key events intended for
your app. As soon as you loose focus you get nothing.<br>
Isn't there perhaps a special window attribute or kind of a top level
where I can attach?!?<br>
<br>
<pre class="moz-signature" cols="72">--</pre>
</body>
</html>