Reputation: 1833
I have problems rendering HTML in wxPython's HtmlWindow. It looks like, it doesn't load .css or image files!. But maybe there is a way to fix it? I know of WebView
but it is not available on Linux yet.
EDIT
There is a way to do that using wxPython and PyGTK: http://wiki.wxpython.org/wxGTKWebKit
Upvotes: 1
Views: 709
Reputation: 1833
Ok, everyone. I found a way to render HTML on Linux. Who is interested take a look here:
http://wiki.wxpython.org/wxGTKWebKit
Upvotes: 1
Reputation: 6390
Please see: http://wxpython.org/Phoenix/docs/html/html.HtmlWindow.html
If you want complete HTML/CSS support as well as a Javascript engine, see instead
WebView
.HtmlWindow
uses theImage
class for displaying images, as such you need to initialize the handlers for any image formats you use before loading a page. SeeInitAllImageHandlers
andImage.AddHandler
.
So, as the web page said, use WebView
instead of HtmlWindow
.
Upvotes: 1