[wxPython-users] MenuBar and Mouse Motion Events

Marc Lebrun marclebrun at skynet.be
Fri Dec 28 07:31:01 PST 2007


Dominik wrote :
> I have a problem with catching Mouse Motion Events on a MenuBar widget.
> I tried almost eveything - at first I used MenuBar.Bind to bind EVT_Motion
> events with my function - it didn't work.
> Then I tried to create my own event handler - I subclassed EvtHandler and used
> MenuBar.SetEvtHandler - it didn't work so I tried to use
> MenuBar.PushEventHandler - still didn't work. Finally I tried to subclass
> MenuBar - and bind the events inside the class - and once more I wasn't able to
> catch mouse motion events. 
>
>   

Could you also explain what goal you're trying to reach, maybe we could 
find another way to do it, instead of catching mouse events...




More information about the wxpython-users mailing list