XUL behavior in Python via XPCOM, Mozilla

Fredrik Lundh fredrik at pythonware.com
Sat Nov 12 15:38:00 EST 2005


Terry Hancock wrote:

>I recently saw a claim that Mozilla XUL behaviors (normally
> scripted in Javascript) can (or perhaps will) be scriptable
> in Python.
>
> Also, "other languages such as Java or Python are supported
> through XPCOM", said about Mozilla (from Luxor website).
>
> Yes, I know several ways to *generate* XUL from Python, and
> at least one way to use XUL to create interfaces for Python
> programs, but in this case, I'm talking about defining
> button action behavior in XUL by calling Python scripts.
>
> I know that Javascript is the preferred language, but I've
> seen several references to being able to do this in Python,
> including a claim that a release was targeted for early
> November (2005), to provide this.
>
> Now I can't find it again.  Anyway, I was hoping someone
> on c.l.p / python.org would have a reliable reference on
> this.

"mozilla xul python" + "I feel lucky" =>

    http://weblogs.mozillazine.org/roadmap/archives/008865.html

    "Python for XUL will be available in the Mozilla 1.9 milestone time
    frame, when the DOM_AGNOSTIC_BRANCH is landed some
    time this calendar year for sure /.../ The next major Firefox release
    based on the 1.9 milestone (Firefox 1.5 is based on the Mozilla 1.8
    milestone) will include Mark's work -- but not a C-Python en-
    vironment by default."

also see

    http://www.mozilla.org/roadmap/gecko-1.9-roadmap.html#Python_for_XUL

(which says the same thing)

</F> 






More information about the Python-list mailing list