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

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Aug 07 2001 - 09:30:14 MEST


Hi Denis,

The TFitPanel or TDrawPanel are not owned by a TCanvas.
You can create a TFitPanel by selecting "Fitpanel" on histogram "h1" in
canvas "c1", then select again "FitPanel" on "h2" of "c2", etc.

Rene Brun

Denis Bertini wrote:
> 
>  Hi ,
>  I noticed that if i create a TFitPanel or a TDrawPanel canvas from
>  a dedicated TCanvas where i put my displayed histogram, then when
>  closing the TCanvas owning the histogram doesn't close the corresponding
>  windows created for the TFitPanel or TDrawPanel.
>  I can then do nothing with those windows but closing them by hand, ie i
>  cannot reuse them at all.
> 
>  Could it be cleaner to have let's say automatic closing of childs
>  (TFitPanel/TDrawPanel ..) when closing the parent TCanvas ?
> 
>                                             Denis



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