Re: Writing GUI - objects to a root file

Fons Rademakers (Fons.Rademakers@cern.ch)
Thu, 27 Aug 1998 16:21:33 +0200


Hi Reiner,

none of the TG classes are I/O capable at the moment (ClassDef(TGxxx,0),
note the 0). I did not really think it would be necessary to make the
GUI persistent capable. If there is a need it is fairly easy to do (change 0
to 1 in ClassDef and provide default ctors).

Cheers, Fons.

ROHLFS Reiner wrote:
>
> Hi Root Team,
>
> I want to write a TGMainFrame - object to a root file and and read it back
> again to display the same window. But I noticed, there is no default
> constructor for this class.
>
> Is there an other way to store GUI windows or do you plan to implement the
> default constructors for these classes?
>
> Thanks Reiner.

-- 
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