Re: complex hotkey



Hi,

> depends on what you mean by implement.
> 
> Gtk accelerators are by definition combinations of
> a single non-modifier
> keyval with 0 or more modifiers. You therefore cannot use Gtk
> accelerators for this purpose.
> 
> You can write your own key handling code,
> probably using either the
> key_press and key_release events on a top
> level window, or a keysnooper.
> This code is free to do anything it wants.
> 
I am currently use `keysnooper' for autocompletion.
It's quite hard... (in my opinion).

I asked the question as I wondered there's an easy way.

Thank you very much!

kyanh




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