My problem can be easily defined with the following code:
self.Bind(wx.EVT_MENU_OPEN, self.OnAbout)
This will mean that when I click on any wx.Menu() in the MenuBar, the function 'onAbout()' is called. How do I bind this event to a specific wx.Menu() which is called wx.MenuAbout() ?
If you are feeling extra helpful, perhaps you could provide me with a link to the documentation for event handlers. I could find documentation for the event handler function but not for the actual event handlers (such as wx.EVT_MENU).
Similar question but I am not looking to bind a range of wx.Menu()'s to the event: http://stackoverflow.com/questions/300032/is-it-possible-to-bind-an-event-against-a-menu-instead-of-a-menu-item-in-wxpython
Edit: Ideally, this is what I'd like to be able to do:
menuAbout = wx.Menu()
self.Bind(wx.EVT_MENU, self.OnAbout, id=menuAbout.GetId())
The result would be that any other items in the .menuBar() (such as: File, Edit, Tools) work as normal menu's, but 'About' works like a clickable link.
Using the wx.EVT_MENU_OPEN means that the File menu can be opened, then when the mouse hovers over 'about', the self.OnAbout function get's called which I only what to happen when the user clicks specifically on the 'About' menu.