Questions and suggestion about TGFrame (s)

Mathieu de Naurois (denauroi@polhp1.in2p3.fr)
Fri, 4 Sep 1998 19:44:06 +0200 (METDST)


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