On 1/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

 Hi all:

 Can anyone tell me how to set pygtk global font with code instead of
editing gtkrc file?


You can use gtk.rc_parse_string.

That takes as its argument whatever you would put in the rc file.

e.g.
gtk.rc_parse_string('''

style
"default"
{

  font_name = "arial 17"
}
''')

Tom
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to