[wxPython-users] SetToolTip does not work on all windows?
Raffaello Barella
barbarossa.platz at gmail.com
Tue Nov 20 07:35:13 PST 2007
In my program, I was trying to assign the same tooltip to a
wx.StaticTextand to a
wx.Choice.
When writing a sample code for your use, I remarked that the tooltip with
only the wx.Choice worked fine. The trouble was that I'd tried to assign the
same instance of wx.ToolTip to more than one control, and this is not
possible because wx.ToolTip is not a string but an object.
Thanks for for the tip, Mr. Dunn.
2007/11/20, Robin Dunn <robin at alldunn.com>:
>
> Raffaello Barella wrote:
> > In a wxPython application running in Windows XP I tried to attach a
> > tooltip to a wx.Choice.
> > Not only no tooltip appears on this window, but when the application is
> > closed the system signals an 'unknown error'.
> > Did I try to do what is in wxPython merely impossible, or I forget
> > something?
>
> Sample code?
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200711=
20/29d33aa8/attachment.htm
More information about the wxpython-users
mailing list