From: Pierre Baillet Date: 2003-10-30T02:09:59+09:00 Subject: Re: [Q] Ruby and XUL? Hi, sorry to sound like a bad boy, but XPCOM bindings only allows you to call mozilla XPComp components from your favortie scriting langage. So you can, for instance, create a mqil component, make it connacts and fetch mail via ruby but you'll never be able to ask it to draw an alert on the user's screen. XPCOM is the equivalent of windows' COM while XUL is the equivalent of a higher level GDI. They only share javascript in common and the *XPCOM bridges allows you to connect to the XPCOM world, not the xul one. Plus the rbxpcom is, IIRC, a bit outdated thoug I don't think i've managed to build it back when mozilla 1.0 went out. hth, On Wed, Oct 29, 2003, Eric Hodel wrote: > > In order to script XUL, you need to plug into Mozilla's XPCOM layer, > Mozilla ships with Javascript and C++ support built in, but all the > popular scripting languages are also supported: > > http://rbxpcom.mozdev.org/ -- Ruby > http://aspn.activestate.com/ASPN/Downloads/Komodo/PyXPCOM/ -- Python > http://plxpcom.mozdev.org/ -- Perl > http://www.mozilla.org/projects/blackwood/connect/ -- Java > > Of course, you'll need to compile the component and plug it into > Mozilla. Pierre. -- Pierre Baillet Je pompe donc je suis. Devise Shadok