[pygtk] pyGTK help subsystem?

John Dennis jdennis at redhat.com
Tue Dec 11 06:21:31 WST 2007


> There are two problems with gtkhtml2:
> 1. Zero documentation.
> 2. It seems to be unsupported.
>
> Imo, putting effort into mozembed and/or webkit gtk+ bindings
> has more perspective.
>   
Those in the know (gnome developers) have told me gtkhtml{2,3} is 
deprecated in favor of mozembed.

I've been using gtkhtml2 in an application of mine and I'm not a fan of 
it, to be perfectly honest, it's kind of a hack and a limited one at 
that. gtkhtml2 has serious problems with selections written to the 
clipboard as well as printing, mozembed is supposed to remedy a number 
of these limitations. I tried to convert from gtkhtml2 to mozembed about 
a year ago and ran into problems loading mozilla extension libraries 
required by mozembed because the library load path was not properly 
defined when mozembed was built. I have not revisited this since then 
but I think that problem may have since been fixed, just a heads up. If 
you hit that problem you might need to upgrade to the latest, but that 
might be an issue for installation on systems you have no control over. 
If you do get mozembed fully working there are others who would 
appreciate documenting what you did with some example code.  While it's 
true gtkhtml2 has virtually no documentation, my recollection is 
mozembed's documentation is also quite limited, albeit a bit better than 
gtkhtml2, most of the documentation seems to be contained in the example 
code (some of which is just C). Wishing you success!

--
John Dennis <jdennis at redhat.com>


More information about the pygtk mailing list