Hi Thomas, see guitest.C: ULong_t yellow; gClient->GetColorByName("yellow", yellow); TGTabElement *tabel = fTab->GetTabTab(2); tabel->ChangeBackground(yellow); Cheers, Fons. On Thu, 2002-04-04 at 16:11, Thomas Bretz wrote: > Hi all, > > I try to set the Background Color of a TGTextButton via > SetBackgroundColor, but where do I know which ULong_t correnspondes to > which color (eg. red) > > Thanks a lot, > 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 : Sat Jan 04 2003 - 23:50:48 MET