Re: [ROOT] trying to set border, text color of TGTextButton

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Aug 28 2001 - 16:37:41 MEST


Hi Thomas,

  you can't change the border color, but you can change the background
and text color. See guitest.C, go to menu Test->Message Dialog... and
you see the green test button. Check in the code how it is done.

Cheers, Fons.



Thomas Bretz wrote:
> 
> Hello,
> 
> I'm searching for commands to set the border and text color of a
> TGTextButton (I found SetBackgroundColor only) Have I missed something,
> or is this feature not implemented?
> 
> I want to display a Button completely for example in dark green with a
> light green text in it.
> 
> Best regards,
> Thomas.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



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