Question

I'm wondering if it is possible to implement a very simple web browser with wxPython, I know you can use wx.html.LoadPage() function but it does not work very well, I want a basic standalone/browser just like the following code (image link) written with Pyjamas with the pyjd.setup() function

Was it helpful?

Solution

Then you'll want to look at the HTML2_WebView widget. It's cross platform and should work for most websites. There is an example in the wxPython demo. Note that it's new in wxPython 2.9. You can read more about it in the documentation:

Or check out the following link for another example:

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top