Questions and suggestion about TGFrame (s)

From: Mathieu de Naurois (denauroi@polhp1.in2p3.fr)
Date: Fri Sep 04 1998 - 19:44:06 MEST


Hello ROOTers

The Html documentation says that a TGCompositeFrame adopts its Layout
Manager and delete it. I think this is not the case, because
TGCompositeFrame::~TGCompositeFrame() does not delete fLayoutManager.
Was it forgotten?


Connected to this: the destructor of a Frame deletes the list of its
TGFrameElement, but does not delete the child Frames. Is it intended? May
be it would be a good idea to provide a mechanism to delete recursively
all the frames of a dialog window. It should be possible to add a
destructor to the class TGFrameElement, that will do this job.

Thank you.

--------------------------------------------------------

Mathieu de Naurois
LPNHE Ecole Polytechnique
denauroi@polhp1.in2p3.fr



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