[ROOT] changing the GUI font locally

From: Stephane Tourneur (tourneur@fnal.gov)
Date: Tue Aug 14 2001 - 02:27:34 MEST


Dear rooters,

I'm using the GUI class TGLabel to display some titles in my
root application.
But the default font is very small. I'd like to have my titles more or
less bigger.
I already know that we can globally change the GUI default size by editing 
a .rootrc file where we can increase the numbers 10 and 12 :

{//.rootrc file
Gui.NormalFont: -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1
Gui.BoldFont: -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1
Gui.SmallFont: -adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1
Gui.ProportionalFont: -adobe-courier-medium-r-*-*-10-*-*-*-*-*-iso8859-1
}

But, does somebody know how to do it in a less global way, that is to say
how to use several different fonts for different GUI objects of an
application?
Thanks a lot for your help

Stephane



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