Re: [ROOT] TCanvas, TFitPanel TDrawPanel ownership?...

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Aug 07 2001 - 12:33:32 MEST


Hi Denis,

No, this is not possible. The TFitPanel created by "h1" may be used
by "h2" when you delete "h1".
Same principle for a normal TCanvas created by double clicking in a TBrowser.
You do not want to delete this canvas when deleting the histogram.

Rene Brun

Denis Bertini wrote:
> 
>   Hi Rene,
> 
>   Is there a chance then from the histogram which generates the TFitPanel
>   , TDrawPanel ect ... to ask this histogram to automatically close the
>   child canvases when it is released ?
> 
>                                                     Denis
> 
>



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:56 MET