trouble creating tooltips using Wx in Tk canvas

Kevin Walzer kw at codebykevin.com
Wed Jul 6 21:04:34 EDT 2011


On 7/6/11 3:35 PM, Ravikanth wrote:

>> As it says, you haven't created the wx.App object necessary for pretty
>> much all wxPython code.  You could create one, but your tooltip still
>> would not work correctly because you would be running the Tkinter
>> event loop rather than the wxPython event loop.  If you want to use
>> the wxToolTip widget, then you should write your program to use
>> wxPython only.  Alternatively, googling for "tkinter tooltip" turns up
>> a couple of recipes; you could try one of those.
>>
>> Cheers,
>> Ian
>
> Thank you Ian for your insights to me on this.
> I will migrate to wxPython to achieve the functionality.

Tooltips are trivial to create in Tkinter:

http://tkinter.unpythonic.net/wiki/ToolTip

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com



More information about the Python-list mailing list