> It's not that much more complicated (I'm assuming you're using gtk 2.x) 
> -- you can connect to Window::key_pressed_event to inspect key events 
> before they are dispatched to widgets.  If you return false, the default 
> key dispatching machinery will be called, but it will be bypassed if you 
> return true.  I've used this mechanism to implement global key-bindings 
>   and it works reasonably well.

Thanks, this is now explained in FAQ 5.5:

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq05.005.htp

-- 
Johan Dahlin <[EMAIL PROTECTED]>

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to