When passing the font name returned by gtk.FontSelection's get_font_name to set_font_name, that method always returns False and the font is not set in the selection. The font name is valid, and the font specified is available on the system (having selected it, it is used in displaying text).
This is using Debian unstable's packages (python-gtk2 2.4.0-2). The problem also occured with the earlier 2.2 package. It appears that someone else had this same problem in July of last year (http://www.daa.com.au/pipermail/pygtk/2003-July/005546.html) but met with no public response. Here's a minimal demonstration: Python 2.3.4 (#2, Sep 24 2004, 08:39:09) [GCC 3.3.4 (Debian 1:3.3.4-12)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gtk >>> f = gtk.FontSelection() >>> f.get_font_name() 'Sans 10' >>> f.set_font_name('Sans 12') False >>> f.get_font_name() 'Sans 10' Jamie -- Artefact Publishing: http://www.artefact.org.nz/ GnuPG Public Key: http://www.artefact.org.nz/people/jamie.html _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/