Re: keyboard input from all gtk windows



On Tue, 2007-12-04 at 10:52 +0100, Andrei Smahlei wrote:
> Hi all,
>  
> I have two gtk-based applications and in one of them I need to have
> keyboard events from all the applications. 
> This is some kind of a 'system' level keyborad events.

there is no such thing: the backends (X11, win32, Quartz, DirectFB,
etc.) direct keyboard events to the application that has keyboard focus.
an application like a window manager can arrange to "steal" specific
keys for its own purposes but it would be silly to do this for all keys,
and its also a fairly backend specific mechanism. the idea that one
application can somehow be informed about keyboard events for other
applications goes against the intent of the backend designs, as well as
any sense of system security.

--p




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