Re: Fixed size TPad/TCanvas

From: Laurent Aphecetche (aphecetc@in2p3.fr)
Date: Wed Jul 21 1999 - 10:59:42 MEST


Onuchin Valeriy wrote:
> 
> >
> > Hi Rooters,
> >
> > Is there a way to prevent the user from resizing/moving a TPad or a
> > TCanvas ?
> >
> 
>  Hi Laurent!
> The example of fixed-size TCanvas you can find
> at $ROOTSYS/test/Tetris.cxx
> 
> just look at void Tetris::SetFixedSize() method

I'm afraid this only works with top level windows.
 What I have is a TRootEmbeddedCanvas with some TPad in it. I would like
both the TCanvas from
 the TRootEmbeddedCanvas AND the TPad inside to be of fixed size.

-- 
APHECETCHE Laurent (mailto:aphecetc@in2p3.fr) | TAPS/PHENIX/ALICE
SUBATECH-Ecole des Mines de Nantes-4 rue Alfred Kastler-44070 NANTES
cedex 03
TEL (+33/0) 2 51 85 84 17 - FAX (+33/0) 2 51 85 84 24
WWW: http://www-subatech.in2p3.fr/~photons



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