[Pyobjc-dev] Detecting mouse down in menu bar
Brought to you by:
ronaldoussoren
|
From: Greg E. <gre...@ca...> - 2009-04-09 08:40:08
|
Anyone have any ideas how I can detect a mouse down event in the menu bar? I need this in PyGUI so I can set up the menus before they get pulled down. I've tried overriding sendEvent_() in NApplication, but mouse events in the menu bar seem to get swallowed before making it that far. So far I've been using a strange system-defined event that 10.4 produces when you click on the menu bar, but I'm told that this event no longer occurs in 10.5, so I need to find another way. -- Greg |