I’m trying to dynamically update the tooltip of some of the buttons on a toolbar. However, it seems as if toolbar.SetToolShortHelp(toolId, ‘tooltip’) has no visible effect. After I do the update (from an UpdateUI event handler) I query the tool with toolbar.GetToolShortHelp(toolId) and the text is indeed changed. However, the tooltip on the screen is not changed. Calling toolbar.Realize after the SetToolShortHelp has no effect. This is with wxPython 2.8.0 on Mac OSX.
I'm trying to dynamically update the tooltip of some of the buttons on a toolbar. However, it seems as if toolbar.SetToolShortHelp(toolId, 'tooltip') has no visible effect. After I do the update (from an UpdateUI event handler) I query the tool with toolbar.GetToolShortHelp(toolId) and the text is indeed changed. However, the tooltip on the screen is not changed. Calling toolbar.Realize after the SetToolShortHelp has no effect. This is with wxPython 2.8.0 on Mac OSX.
Sounds like a bug. Please log a bug report, with a category of "wxMac Specific"
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!