Re: [ROOT] What happened to TGTextFrame ?

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Aug 10 2000 - 17:48:42 MEST


Hi Peter,

   a TGTextFrame was basically TGTextView without scrollbar (if text was more
than window height you get a scrollbar). TGTextView derived from TGTextFrame.
In the new scheme you could use:

f = TGTextView(parent, w, h, -1, kNoHSB | kNoVSB, fgDefaultFrameBackground)
f->ChangeOptions(0);  // to turn off border drawing

For the rest the functionality is the same and more than the old TGTextFrame.

Cheers, Fons.



"Peter H. L. Christiansen" wrote:
> 
> Hi,
> 
> I was wondering wht happened to TGTextFrame, it is not there anymore and
> was there at least in version 2.24/04.
> 
> There seems to be no mention of it in the root update documentation.
> 
> I am using a package of libraries where some of the classes uses this
> class. If it rip, what to use instead ?
> 
> Thanks,
>    Peter
> 
> :-) --------------------------------- )-:
> |Peter H L Christiansen aka PAN @ NBI   |
> |EMAIL  : pchristi@nbi.dk               |
> |OFFICE : Tb1 @ NBI                     |
> |PHONE  : 353 25269 <- New!!            |
> |SNAIL  : Sdr. Fasanvej 14 ST 2000 F    |
> |PHONE  : 38 872042                     |
> :-D --------------------------------- \-:

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



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET