Thanks
Not that I'm aware of. You'll probably need to keep a list of the
widgets that get the tooltips and use that list to apply your settings
against.
-------------------
Mike Driscoll
On Thu, Dec 17, 2009 at 2:53 PM, Mike Driscoll <kyos...@gmail.com> wrote:
> Hi,
>
> On Dec 17, 2:10 pm, cappy2112 <cappy2...@gmail.com> wrote:
>> I went to a lot of trouble adding tooltips to my widgets, now some
>> users don't like them.
>> Is there a 1-stop-shop to disable all the tooltips or do I need to
>> disable each one manually?
>> Ideally, I'd like to do this from a menu option- that part I can
>> figure out- if there is a way to globally enable/disable them.
>>
>> Thanks
>
> Not that I'm aware of. You'll probably need to keep a list of the
> widgets that get the tooltips and use that list to apply your settings
> against.
The tooltip class has a static method that should do this try calling
wx.ToolTip.Enable(False)
To globally disable all tooltips
see the manual:
http://docs.wxwidgets.org/stable/wx_wxtooltip.html#wxtooltipenable
Cody
Oops...pardon my ignorance. Thanks for the correction, Cody!