PyGTK and fonts

Tad Marko tad at tadland.net
Mon Sep 8 23:34:12 EDT 2003


Howdy!

I'm pretty new to both Python and PyGTK (about 10 hours at this
point), so please forgive me if this question has already been
answered somewhere. Basically, I've got a small program with a
GtkTextView and I'd like to change the font to a monospaced font.
Preferably the default monspace font for Gnome 2. Can anyone show me
the steps necessary to programatically change the font on the text
view?

Thanks for any help!

Tad




More information about the Python-list mailing list