Nathan Samson wrote:
> Since it seems you need to pass a pango.FontDescription you could try:
> 
> spin.get_layout().set_font_description(pango.FontDescription('normal 10'))

The C documentation for gtk_entry_get_layout(), at least the version I'm 
reading, specifies that you shouldn't modify the returned layout.  I 
think it would be better to use:

     spin.modify_font(pango.FontDescription('10'))

You also don't need to specofy 'normal', '10' is a font description.

-- 
Tim Evans
Applied Research Associates NZ
http://www.aranz.com/
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to