how to use a filter in wx.htmlwindow ? (for using CSS stylesheets)

Stef Mientki wrote:

<snip>

Now writing the converted string to a file is very clumsy:
I might not have write permission over there.
So I would like to stream the string from a string-variable.
I see there's a htmlfilter but I don't know how it works.

Is there a (simpel) way to load the htmlwindow with a memory-string ?

thanks,
Stef Mientki

If you are using wx.html.HtmlWindow, you can use
HtmlWindow.SetPage(<html_source>)

http://www.wxwidgets.org/manuals/2.8/wx_wxhtmlwindow.html#wxhtmlwindowse
tpage

http://www.wxpython.org/docs/api/wx.html.HtmlWindow-class.html#SetPage

Hope that helps,

Simon