[Orbit-python-list] bonobo-python, get_object, and wrapping
Status: Inactive
Brought to you by:
tack
|
From: Thomas M. <ma...@ma...> - 2001-09-21 02:29:55
|
Hi list. I am currently playing around with orbit-python, and decided to
have a look at the bonobo bindings, and as a small project to get
started I wanted to play a bit with Evolution through the bonobo/corba
interface.
Now, my approach to this would be writing something like
import bonobo
shell = bonobo.get_object("OAFIID:GNOME_Evolution_Shell",
"IDL:GNOME/Evolution/Shell:1.0")
and then start accessing the evolution shell through 'shell'. The
problem then is, that bonobo.get_object gives me a CORBA.Object, and not
an object wrapping with an Evolution/Shell interface. Am I on the right
track here? If so, how do I actually access the shell-interface? If not,
how can I get access to the evolution shell by other means?
I am using orbit-python 0.3 and bonobo-python from CVS, btw.
Cheers,
/mailund
--
Keep Smiling Everyone Loves A Moron
|