[pygtk] to change font size at gtk.label(), is possible?

markus espenhain me at mocisoft.com
Fri Feb 15 00:06:03 WST 2008


On Thu, 2008-02-14 at 10:08 -0200, airton arantes wrote:
> Folks, is there some way to set a font size in gtk.labe() using the
> glade or even in code?
> I was seeing the reference manual but I haven't found any function to do it.
> 
> thanks
> 

sure

http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--modify-font
http://www.pygtk.org/docs/pygtk/class-pangofontdescription.html

markus



More information about the pygtk mailing list