Re: [pygtk] FontSelection set_font_name() returns false on valid name

2004-10-19 Thread John Finlay
Jamie Norrish wrote: 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 di

Re: [pygtk] FontSelection set_font_name() returns false on valid name

2004-10-18 Thread Jamie Norrish
John Finlay writes: > It needs to be added to a window before the font lists are > populated. Ah, thank you! I had tried calling the method after it had been added to its container (which is not a window), but not after the container had been added to the window. Jamie -- Artefact Publishing:

[pygtk] FontSelection set_font_name() returns false on valid name

2004-10-18 Thread Jamie Norrish
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