Hi Galina,
To change the color of the group frame title you need:
TGGC *uGC;
GCValues_t gval;
gval.fMask = kGCForeground; // sets which members of GCValues_t
will be changed
gClient->GetColorByName("#ff0000",gval.fForeground); // red color
uGC = gClient->GetGC(&gval, kTRUE);
// "Check Buttons" group frame
TGGroupFrame *gr = new TGGroupFrame(parent,"Check Buttons",
kVerticalFrame,uGC->GetGC());
Best regards, Ilka
Galina Asova wrote:
>
> Hello users,
> any idea how to change the colour of TGGroupFrame title?
> Thanks
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET