[pygtk] Larger Font Size?

Art Hunkins abhunkin at uncg.edu
Thu Aug 13 12:14:59 WST 2009


I'd like to make a general
declaration to set font size to 14 in my script.

On another list I was given a suggestion that gave rise to the following:

Would it be sufficient to:
declare:
from sugar.graphics import style

and early in my __init__ method specify:
style.font_zoom(14)
?

I tried this and it didn't work; the script ran but font size (default size 
= 10) didn't change.

Can anyone massage this for me, or indicate another simple way to accomplish 
the same?

Art Hunkins 



More information about the pygtk mailing list