Re: [ROOT] color

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Nov 02 2000 - 14:37:10 MET


Hi Patrick,

  look for most of these things in $ROOTSYS/test/guitest.cxx.
To change the background color do:
   ULong_t green;
   fClient->GetColorByName("green", green);
   fTestButton->ChangeBackground(green);

Cheers, Fons.


Patrick Dupre LCMI wrote:
> 
> Hello,
> 
> How to change the color and the text color of a TGTextButton ?
> Thank.
> 
> --
> ---
> ==============================================================================
>    Patrick DUPRE                |   |   Tel:  (33 4) 76-88-78-51
>    CNRS/LCMI (GHMFL)            |   |   Fax:  (33 4) 76-85-56-10
>    25 Rue des Martyrs, BP 166   |   |   http://eschyle.polycnrs-gre.fr
>    F-38042 GRENOBLE Cedex 09    |   |   email: pdupre@polycnrs-gre.fr
> ==============================================================================

-- 
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 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET