here is the lib it's called libgtkhotkey but there is only a blog with old entrys... so i dunno also it's not very nice to use it in vala without vapi so i don't atm http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=libgtkhotkey boscowitch Am Samstag, den 04.12.2010, 10:00 -0700 schrieb richard boaz: > not entirely sure what you mean: global to your application, or global > to the window system? > > if you mean your application, then it's easy: > * make your top level window > * connect "key-press-event" signal to the top level window > * process the key press action in your registered callback > function > * done > richard > > On Sun, Nov 21, 2010 at 2:25 AM, Shuge Lee <shuge.lee@xxxxxxxxx> > wrote: > Hi all: > > > Any good idea about grab key global and works on Linux, Mac OS > X and Windows ? > > > XgrabKey seems not works well on Windows. > > -- > Shuge Lab. Lee Li > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list > > > _______________________________________________ > gtk-list mailing list > gtk-list@xxxxxxxxx > http://mail.gnome.org/mailman/listinfo/gtk-list _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list