Re: [ROOT] What happened to TGTextFrame ? (fwd)

From: Peter H. L. Christiansen (pchristi@nbi.dk)
Date: Thu Aug 10 2000 - 11:57:40 EDT

  • Next message: hagel@comp.tamu.edu: "Re: BRAHMS Run DB in BRAT"

    Hi
    
    I tried to compile brat with the new ROOT version 2.25/01 and noticed that
    there was no TGTextFrame anymore. This is used by BrDetectorMonitor I
    think and a few places more, meaning that BRAT won't compile. I wrote to
    Christian and then roottalk and asked them and here is what they wrote.
    
    Just to let you know
       Peter
    
    ---------- Forwarded message ----------
    Date: Thu, 10 Aug 2000 15:48:42 +0000
    From: Fons Rademakers <Fons.Rademakers@cern.ch>
    To: Peter H. L. Christiansen <pchristi@nbi.dk>
    Cc: Roottalk <roottalk@pcroot.cern.ch>
    Subject: Re: [ROOT] What happened to TGTextFrame ?
    
    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 : Thu Aug 10 2000 - 11:58:11 EDT