PyGtkWebWidget provides a base type for building GTK UI widgets that are implemented as HTML+JavaScript. It provides a JavaScript API for notifying the GTK widget of events and a Python API for consuming JavaScript events and invoking JavaScript methods.
GPL v2+
Copy gtkweb.py and gtkweb.js into your source tree.
- pygtk 2.22
- pywebkitgtk 1.1.8
See demo-simple.py or demo-maps.py for example usage. These scripts are executable.