html window

Robin

Someone said to use the SetFonts method of the
HTMLWindow but there is not way to know what fonts are
available AND the object seems to be different from
wx.Font.

Nigel

···

---
Nigel W. Moriarty, \alphabet_soup

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Nigel W. Moriarty wrote:

Robin

Someone said to use the SetFonts method of the
HTMLWindow but there is not way to know what fonts are
available AND the object seems to be different from
wx.Font.

See the docs. SetFonts takes two strings for the face names to use for the proportional and fixed fonts, and also an optional list of 7 integers representing sizes. You can find out the fonts that are installed by using the wx.FontEnumerator.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!