Replacements for GtkMozEmbed

Glen Gray <[email protected]> Wed, 20 Apr 2011 16:16:43 +0100
Newsgroups gmane.comp.mozilla.devel.embedding
Message-ID <[email protected]>
Hey guys,

So, further to the discussions about dropping the embedding technologies, I'm interested in learning about what I can do to replace using GtkMozEmbed.

Somebody mentioned creating a xulrunner application. I don't really know anything about that so I'm going to look into it. Answers to a couple of questions could help speed up my understanding though.

Will a xulrunner application be able to integrate with actions that xulrunner takes like opening uri's etc. ? 
We use uri's as service tags and some uri's are processed externally by our application stack. The GtkMozEmbed application will get a callback from Gecko for a uri open if someone clicks on a Video button for example, the has <a href="video:SomeVideoFile">Movie</a>. We'll route execution to a media application passing over the uri. 

If the above is possible then I'm happy. I'm wondering if the pyxpcom wrappers are still valid, we could replace our application with something like http://pyxpcomext.mozdev.org/no_wrap/tutorials/pyxulrunner/python_xulrunner_about.html
From the looks of that documentation, I could do all I need with xulrunner and Python.

--
Glen Gray
<[email protected]>