XUL Parser?

A

Alex Stapleton

Is there a Python XUL parser which will create GUIs in a Mozilla like
fashion for me? I've had a poke around but the closest I could find was
Luxor, and thats Jython bound (which isn't feasible.)

If not is anyone interested in helping design and implment one? I'm
rather keen on seeing a python XUL module which supports multiple widget
systems (wxPython, Qt , GTK+ etc)
 
A

A.M. Kuchling

Is there a Python XUL parser which will create GUIs in a Mozilla like
fashion for me? I've had a poke around but the closest I could find was
Luxor, and thats Jython bound (which isn't feasible.)

I'm not aware of any. Considering that there's no real XUL specification,
implementing a XUL renderer would be difficult. Note that Luxor implements
its own format, also called XUL, that has nothing to do with the XUL
implemented by Mozilla.

--amk
 
A

Anthony

A.M. Kuchling said:
Unmaintained since 2001 and not complete. Apparently there isn't even an
official DTD or RELAX NG schema for XUL.

--amk

There are always reason to do, and reasons not to do, anything. Just
decide which makes more sense for yourself and leave others their right
to make their own decision.

Oh an btw there is a schema from the XULMaker project @ mozdev
http://xulmaker.mozdev.org/xpath-evaluator/


Anthony
 
A

Alberto Berti

Hi,
I'm slowly developing a "thin client environment" that will use xul, or a part
of it as gui language, all done in python and that uses python instead of js as
scripting language and "event binding". It builds the gui using pyGTK.

Who is interested can find more info here:

http://artiemestieri.tn.it/~azazel/darcs/snakegtk

The project is currently halted due to time constraints. On the repository there
is a tag "0.1" from wich the demo was generated, the "HEAD" is not functional
yet and it's current 0.2 code, a release that will add:

- a test suite;

- remote loading of xul files and python libraries with support for
"file", "http", "https", "ftp" url schemes, with remote import of python
modules too;

- importing of external module via <script src="<an url>"/>

- refactoring of the overall environment;

If you are interested, please download the code and contribute, it's GPL.

bye, Alberto
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,212
Messages
2,571,102
Members
47,697
Latest member
looped_monk

Latest Threads

Top