Re: How to implement a global hot-key listener ?

2010-12-06 Thread richard boaz
indeed. and if i'm not wrong, it seems the future here will be solved by D-Bus: http://www.freedesktop.org/wiki/Software/dbus in time, i hope, this solution/implementation will take hold at the WM level and this problem will be solved in a generic and universal manner for now and ever. but, as

Re: How to implement a global hot-key listener ?

2010-12-06 Thread Mike Massonnet
Hi, 2010/11/21 Shuge Lee shuge@gmail.com: 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. keybinder looks to be in good shape, however it works for the X Window System only, atleast it's what the website

Re: How to implement a global hot-key listener ?

2010-12-06 Thread boscowitch
Am Montag, den 06.12.2010, 01:19 -0300 schrieb Erick Pérez Castellanos: Hey: so i think system wide hotkey registrations and management is something at least GTK 3 should so support!!! (so this is something for the gtk-devel list i think) You do realize there's no way that is gtk

Re: How to implement a global hot-key listener ?

2010-12-05 Thread Erick Pérez Castellanos
Hey: so i think system wide hotkey registrations and management is something at least GTK 3 should so support!!! (so this is something for the gtk-devel list i think) You do realize there's no way that is gtk responsibility. Global, system wide hotkey is not for gtk to handle, That is for the

Re: How to implement a global hot-key listener ?

2010-12-04 Thread 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

Re: How to implement a global hot-key listener ?

2010-12-04 Thread boscowitch
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=chromeie=UTF-8q=libgtkhotkey boscowitch Am Samstag, den 04.12.2010, 10:00 -0700 schrieb

Re: How to implement a global hot-key listener ?

2010-12-04 Thread boscowitch
i think he means system wide, i wanted to do that in the past too and gtk seems to lack it. windows can qt maby too but gtk can atm there is a libhotkey for gtk but it's independent and not very active atm. so i think system wide hotkey registrations and management is something at least GTK 3

Re: How to implement a global hot-key listener ?

2010-12-04 Thread Vikram Ambrose
On 12/04/2010 12:52 PM, boscowitch wrote: i think he means system wide, i wanted to do that in the past too and gtk seems to lack it. This is unlikely a solution for you, as its not portable, but this is how I do it: http://en.pastebin.ca/2010642 My only issue is that, I don't know how to

How to implement a global hot-key listener ?

2010-11-21 Thread Shuge Lee
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@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list