Re: [Gnome-desarrollo] Re: Perl + OAF



On 10 Jan 2001 22:24:59 +0100, Paolo Molaro wrote:
On 12/20/00 Rodrigo Moya wrote:
Is there anybody working on the Perl bindings for OAF? I haven't seen
nothing on the gnome-perl CVS module.

I did a stub at that, but lately I'm working on the bonobo binding
for perl, you can find it in cvs gnome-perl, directory Bonobo.
It requires a few changes to CORBA::ORBit though, let me know
if you have problems building it.
With that I use the moniker API to activate objects:
      $obj = Bonobo->get_object("file:/etc/motd", "IDL:Bonobo/Stream:1.0");
or
      $obj = Bonobo->get_object("file:image.png", "IDL:Bonobo/Control:1.0");
it's a lot nicer and more powerful as well.

yes, I agree with you, but I think it would be great to also have OAF-only bindings,

since there may be cases when you only want to use OAF, and not Bonobo
to activate objects.

Anyway, I suppose doing something like:

$obj = Bonobo->get_object("OAFIID:GNOME_App_MyComponent",
"IDL:GNOME/App:1.0");

would work?

cheers





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]