Search code examples
pythonwxpythonwxwidgets

iFrame within wxpython?


Hi i am wondering if there is a widget or someway to put an iFrame in a program with wxpython. An iFrame with the same capabilities as the HTML one, (ability to see other websites).

Thanks.


Solution

  • wxPython 2.9 has a new WebView widget, which can be accessed with wx.html2. It uses IE's Trident on Windows and Webkit on Linux and Mac. See http://www.wxpython.org/CHANGES.html for more information. I think there's a demo in the latest wxPython demo as well.