On Fri, May 29, 2009 at 3:13 PM, Tony Willis <[email protected]> wrote:

> According to the Qt QMenu documentation, a QMenu should be capable
> of generating its own 'triggered' event when any action that
> has been added to the menu generates such an event. However, while
> I can successfully connect 'triggered' events from individual actions
> in a menu to separate callbacks, I can't seem to get a QMenu
> to produce a global 'triggered' event. The appended script
> illustrates the problem. Can someone tell me what I'm doing wrong?

Did you try hooking on triggered(QAction) of the QMenuBar also?
-- 
Ville M. Vainio
http://tinyurl.com/vainio
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to