[ROOT] "hiding" or un-enabling widgets

From: Edward Moyse (edward.moyse@cern.ch)
Date: Thu Aug 07 2003 - 12:11:32 MEST


Hi,

I have a TGCheckButton that I'd like to "gray out" or hide. 

I tried using:                  
fCheck1[i]->SetFlags(kWidgetIsEnabled);

but the SetFlags() method is protected. 

Does anyone know the correct way of achieving this? 

Thanks!

Edward Moyse

 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET