Re: Writing GUI - objects to a root file

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Aug 27 1998 - 16:21:33 MEST


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



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