I would like to share with you some code I developed for one of my
projects, hoping it is useful for someone to understand and experiment
with gnomevfs and gtkhtml2.
BrowserWidget is a HTML rendering widget implemented in Python, using
gtkhtml2. PyBrowser is an Internet browser implemented in
Python, using BrowserWidget. They can be downloaded from this url:
http://club.telepolis.com/drfingers/pybrowser.html
BrowserWidgets uses gtkhtml2 to render html and gnomevfs.async to
resolve urls. It has also a cache system and a next/back navigation
system. Gtkhtml2 is not usable as a HTML rendering engine for a
general-use Internet browser because it lacks support for a lot CSS
and HTML properties. But it can be useful in some cases, for example,
to implement a simple html help system, or to display html emails.
Also, BrowserWidget has a cache system and navigation history you can
reuse for other projects, or at least it can "inspire" some newbies.
Don't hesitate in contacting me for doubts, bugs, complaints...
Enjoy,
Víctor M. Hernández
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/