[pygtk] HTML Rendering

John Stowers john.stowers.lists at gmail.com
Thu Jul 24 06:51:59 WST 2008


On Tue, 2008-07-22 at 21:36 -0700, Jake Ackermann wrote:
> hi,
> 
> 
> i am trying to render some html code. i know there are several
> packages out there that can do this in pygtk, but have their own
> flaws. gtkmozembed always seems to crash even when adding in the
> necessary environment variables. 

(py)gtkmozembed is a great wad of fail. Depending on the version, and
what version/s of firefox you have installed, you may need to initialize
it before import with dirty environment variable hacks. See

http://svn.gnome.org/viewvc/conduit/trunk/conduit/conduit?view=markup

I recommend using pywebkit instead

John

> pango works but is not really complete (tables and images are not
> supported). i looked into gtkhtml2, and though that seemed a really
> great choice, i can't seem to get it to work.
> does anybody have an example? i would so appreciate it.
> 
> 
> 
> 
> thanks in advance.
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



More information about the pygtk mailing list