I'm trying to emulate Word behaviour where the context-help cursor (after
Shift+F1) can descend into menus to pop up help on items in those menus. For
example, Shift+F1 followed by File->Print shows a popup about Printing.
Can I get this behaviour with wxPython 2.4.0.7 under Windows? For the moment
I'm trying using a wxSimpleHelpProvider and using wxContextHelp to get into
context help mode. It works fine for various wxWindow objects in my
application, but the help cursor just does nothing on menu items.
It feels like maybe I should try trapping a wxEVT_HELP event on menu items
and doing something funky there, but now I realise I can't find out how I
would cause the required menu to appear (and don't know if this would take
us out of context mode).
Has anyone done this, or are menu tooltips the "wxWindows Way" of doing
things?
I'm trying to emulate Word behaviour where the context-help cursor (after
Shift+F1) can descend into menus to pop up help on items in those menus. For
example, Shift+F1 followed by File->Print shows a popup about Printing.
Can I get this behaviour with wxPython 2.4.0.7 under Windows? For the moment
I'm trying using a wxSimpleHelpProvider and using wxContextHelp to get into
context help mode. It works fine for various wxWindow objects in my
application, but the help cursor just does nothing on menu items.
It feels like maybe I should try trapping a wxEVT_HELP event on menu items
and doing something funky there, but now I realise I can't find out how I
would cause the required menu to appear (and don't know if this would take
us out of context mode).
I don't think this is possible in wxWindows, but you may want to ask on wx-users to be sure.
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!