Re: Problems with SetToolTipText

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Jan 06 1999 - 17:11:54 MET


Hi Glen,

   the tooltips stopped working in 2.20/06 after I "fixed" something in
TUnixSystem::DispatchOneEvent(). To get it working again make the following
change in UNIX_UnixSystem.cxx:

         if (DispatchTimers(kTRUE)) {
            // prevent timers from blocking file descriptor monitoring
            if (NextTimeOut(kTRUE) > kItimerResolution)
               return;
         }

to

         if (DispatchTimers(kTRUE)) {
            // prevent timers from blocking file descriptor monitoring
            Long_t to = NextTimeOut(kTRUE);
            if (to > kItimerResolution || to == -1)
               return;
         }


This has of course been fixed in our dev version.

Cheers, Fons.



Glen R. Salo wrote:
> 
> I am unable to get SetToolTipText working with a TGTextButton GUI.  This also
> appears to be a problem with the example given in guitest as "Pops up dialog
> tester" does not appear when I put the cursor over the 'Click here...' button.
> I am running 2.20/06 under Linux.  Does anyone else have this problem and do you
> know how to fix it?
> 
> Thanks for your help.
> 
> Glen
> 
> *********************************************************************
> 
> Glen R. Salo                                   g.r.salo@ieee.org
> Mission Research Corporation                   (937)429-9261 Ext. 119
> 3975 Research Boulevard                        (937)429-2625 Fax
> Dayton, Ohio 45430-2108
> 
> *********************************************************************

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:27 MET