Updating toolbar tooltip?

Hi all,

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.

Suggestions?

Thanks, Frank

Frank Niessink wrote:

Hi all,

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!

Robin wrote:

Sounds like a bug. Please log a bug report, with a category of "wxMac

Specific"

Done: http://sourceforge.net/tracker/index.php?func=detail&aid=1637047&group_id=9863&atid=109863

Cheers, Frank