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.

> I don't have VC++. Is there
> any other way of getting a windows binary for pyXPCOM?

Not that I am aware of :(  Theoretically the free VC compiler that comes 
with the .NET SDK may be capable, but that is alot to install just for a 
compiler.


> 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.


Reply via email to