|FAQ Index - Search - Recent Changes - Everything - Add entry|
19.1. Are there any HTML rendering widgets for PyGTK?
Yes, there are several different HTML widgets you can use in Python program.
There is however currently no stable, up to date, flexible and multi-platform widget.
- gtkhtml2 - Not maintained. Bindings shipped with gnome-python. Not up to date, but can be used to render css and some advanced HTML. No win32 port.
- gtkmozembed - Basically unmaintained. Bindings shipped with gnome-python-extras. Support basically everything firefox does. API is limited and not flexible. There are known ports of the C library to win32.
- pango markup - Included in pango, for which PyGTK ship bindings for. Is very limited, only basic markup is supported. No tables, images, layout, css etc. Up to date documentation can be found here: [library.gnome.org]
- htmltextview - Written in Python. Limited but supports more than pango markup. [www.gnome.org]
- pywebkitgtk - Uses the Webkit/GTK port. Provides a stable API for embedding. No wi32 port, should work under OSX. Still not widely distributed and probably requires compiling. [live.gnome.org]
- internet explorer via OLE - It is possible to embed a OLE control containing internet explorer on win32. [www.daa.com.au] describes how to do that