Re: [matplotlib-devel] example: wx.ToolTip for MPL axes

2006-09-14 Thread Martin Spacek
> What is this supposed to give you. I get a Very long tooltip box with:
> 
> tip with a
> long
> line and a newline
> 
> 
> In it.
> 
> then, when the mouse starts moving, I get a tip that is just the right 
> size to hold the two coords, each on their own line.

That initial tooltip never shows up for me, which I think is the correct 
behaviour, so I just put whatever in there to make it a really long line 
to get around the wx bug.

> wxGTK2
> 
>> Also, disables the tooltip when the mouse moves off of the axes, which 
>> prevents stray tooltips from hanging around.
> 
> this doesn't work for me either. If that code in enables, the tip goes 
> away and does not come back at all.
> 
> I guess I'll make a non-MPL version, and send a note to the wxPython list.
> 
> -Chris
> 

Cool. Yeah, I don't think wx gets as much testing on GTK as it does on 
Windows.

Martin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] example: wx.ToolTip for MPL axes

2006-09-14 Thread Christopher Barker
Martin Spacek wrote:
> That initial tooltip never shows up for me, which I think is the correct 
> behaviour,

Probably. You have that Enable(False) call in there. However, I notice 
from the docs that wx.ToolTip.Enable() is a "global" call -- it doesn't 
just enable or disable that particular tooltip. I can't say I really 
understand what that means, though.

> so I just put whatever in there to make it a really long line 
> to get around the wx bug.

Well, it seems to work OK for all the next tips.

> Cool. Yeah, I don't think wx gets as much testing on GTK as it does on 
> Windows.

I think it does. I think GTK and MSW get about equal usage, with wxMac a 
very distant third.

(and this is working very poorly on Mac)

Some things work better on Windows, some on GTK. In this case, I thihk 
we're bumping into cross-platfrom issues. wx tries to use native 
functionality where it can and that does make for differences.

I'm going to take this discussion over to wxpython-users -- are you on 
that list too?

-Chris



-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel