Re: How to implement a global hot-key listener ?
- From: boscowitch <lists boscowitch de>
- To: richard boaz <ivor boaz gmail com>
- Cc: Shuge Lee <shuge lee gmail com>, gtk-list gnome org
- Subject: Re: How to implement a global hot-key listener ?
- Date: Sat, 04 Dec 2010 18:52:24 +0100
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 gmail com>
> 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 gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]