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



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 figure out if someone else has already registered a particular key. And thus, when I blindly register keys, if its already been registered, my app crashes right away.

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