[Mono-dev] Catch keys outside the Window?

Xeon06 alex.turpin at gmail.com
Tue Jun 24 18:48:04 EDT 2008


Hey all,

I'm trying to make a keybinding application in C# using Mono. However, I
have no experience whatsoever in programming under Linux (more specifically
I'm under Ubuntu and GNOME). I need to be able to detect keypresses outside
the window of my application. I also want the application to be in the tray
(left of the clock, however thats called in Linux). In Windows I would just
hook the user32.dll but under Linux I am well... Stuck. Is there something
in the Mono library that allows this? Or can I "hook" some Linux binary? I
read a bit and I'd need to use the X server but I'm not even sure if I can
do this with Mono.

Thanks.
-- 
View this message in context: http://www.nabble.com/Catch-keys-outside-the-Window--tp18101635p18101635.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list