Re: disable a TGFrame

Fons Rademakers (rdm@pcsalo.cern.ch)
Wed, 13 May 1998 22:27:38 +0200 (METDST)


Hi Rutger,

use TGCompositeFrame::HideFrame(TGFrame *) and ShowFrame()
see http://root.cern.ch/root/html/TGCompositeFrame.html.
It is used in:
http://root.cern.ch/root/html/src/TRootBrowser.cxx.html#TRootBrowser:ShowToolBar

Cheers, Fons.

>
>
> Hi ROOTERS,
>
> Is it somehow possible to disable a frame like buttons and menu entries
> can be disabled?
>
> Rutger
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910