From: Ed L. <ed...@le...> - 2006-09-20 22:51:50
|
On Sep 20, 2006, at 6:06 PM, Alex Tweedly wrote: >> No, I know how to get it when an menuItem is clicked. >> >> I need it when the menu itself is clicked. >> >> > I don't think it is possible - certainly nothing shows up in the > MessageWatcher. > > It may be possible to use some wxPython facility directly - but I > didn't > see anything helpful in a quick scan through the wxPython docs. Check out wx.EVT_MENU_OPEN and wx.EVT_MENU_CLOSE - they should do what you need, although in my experience, they are flaky in Windows. -- Ed Leafe -- http://leafe.com -- http://dabodev.com |