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

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

 



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 should so support!!! (so this is something for the
gtk-devel list i think)

i really like gtk am a gnome user (and started to like vala) but i do
develop a lot of applications who need global hotkey registration
and atm i can't do that with gtk so i might switch...

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


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux