Re: How to implement a global hot-key listener ?
- From: richard boaz <ivor boaz gmail com>
- To: Shuge Lee <shuge lee gmail com>
- Cc: gtk-list gnome org
- Subject: Re: How to implement a global hot-key listener ?
- Date: Sat, 4 Dec 2010 10:00:52 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]