Hi!
I modified RootShower as proposed, and the tooltips worked fine: they appear
when the mouse is near the shown objects.
But.. now, clicking with the mouse when the tooltip appears (on the object
generating the tooltip) makes the image turn to negative! Black->White and
so on.
I tried the code on my program (with some differences, because the
DistancetoPrimitive member I modified is the one belonging to my TAnnotation
class, and not to the background image) and the behaviour is similar.
Any hint?
Thanks again for your help and patience!
Giorgio
>As Tooltips are working with widgets (and not graphics), you will have
>to use DistancetoPrimitive() and manage yourself the TGToolTip
>behaviour.
>Here is an example working with $(ROOTSYS)/test/RootShower :
Received on Wed Oct 19 2005 - 07:11:52 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET