[sugar] [pyxpcom] PyXPCOM viability and OLPC

Marco Pesenti Gritti mpg at redhat.com
Wed May 9 08:29:32 EDT 2007


On Tue, 2007-05-08 at 20:50 -0400, edward baafi wrote:
> > 2 Use gtkmozembed (written in C) but give access to the gtkmozembed
> > nsIWebBrowser as a PyXPCOM object so that we can access the DOM document
> > from python. It should be possible but I never investigated it much.
> 
> You said earlier that gtkmozembed exposes nsiWebBrowser.. Is the
> problem that this is not exposed to the python gtkmozembed wrapper?
> If that's the case, why not improve the wrapper and expose
> nsiWebBrowser as a regular python, rather than pyxpcom object?

I looked a bit into this, it seem pretty simple in theory. Then I tried
to compile pyxpcom and it fails to build on the trunk:

https://bugzilla.mozilla.org/show_bug.cgi?id=375318

The last patch there apply cleanly but doesn't solve the problem for me.
I didn't try the previous patches but bsmedberg think they are wrong
so...

Pyxpcom looks pretty much unmaintained, which isn't promising :/

Marco



More information about the Sugar mailing list