I'm moving this off the desktop-devel list.  You should post to the
pyGTK list in the future.

On Thu, 2004-02-05 at 16:17, Bob Smith wrote:
> So right now, without modification, I should be able to write a python
> module that introspects a GObject and creates a binding on the fly? 

Not sure.  You still have to deal with marshalling data-types but I am
guessing that as long as you have the correct bindings in pyGTK this
would be possible.  If the API uses an object that is not wrapped you
might be out of luck.  Then again you might be able to introspect it
also :-)  I am not sure how fully GObjects describe themselves either. 
It might just be properties and signals.

> Or I
> can create a program to generate IDL and a set of stubs/skels for making
> a CORBA object out of the GObject by inspecting the GObject? If so,
> sweet. We're almost there. If not, what more is needed to do this?

You could just use the GObject python binding utilities and save
yourself some trouble. 
http://www-106.ibm.com/developerworks/linux/library/l-wrap/

--
J5
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to