[pygtk] passing event handling to parent widget
lambacck at computer.org
Fri Aug 12 21:26:09 WST 2005
If you are using UIManager to create your toolbar and menus, it allows you to
define an accelerator key as well.
On Fri, Aug 12, 2005 at 08:33:09AM +0000, Vinay Reddy wrote:
> I have a menu in my pygtk application, which has a toolbar and a
> couple of range widgets (HScale). They are all added to a hbox.
> No matter where the keyboard focus is, I want to have a common set of
> short-cuts. I defined these shortcuts for the vbox by connecting the
> key-press-event for vbox to a function that maps the keys to
> shortcuts. Is it possible to pass the key-press-event generated in the
> widgets to the vbox? Is there an elegant way to do what I require?
> pygtk mailing list pygtk at daa.com.au
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
More information about the pygtk