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