Is the situation Mark described still true? i.e. that your XUL must still use JS code and there's no way to replace it with calls to Python code when responding to events?
This would be disappointing.
Mark Hammond wrote on 3/11/2002:
Guy Robinson wrote:
I've been using xul to prototype some UI's and I'd like to interface some
python code to some of the button etc.
Am I right in saying I need pyXPCOM to do this?
Yes.
Also are there any examples of using xul/xbl with python.
Nope :( Basically your XUL must still use JS code to respond to events. This JS code can then create XPCOM components to do their work. There is no way to have Python code directly in the XUL, or directly responding to events.
Mark.
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
