On 13/08/2003 12:04 PM, Tessa Lau wrote:

James,

Thanks for the reply.

Do you have sample code that shows how to call these functions?  By
grepping around in /usr/lib/python2.2/site-packages I found a bonobo
package, but I can't figure out how to import it.  Ditto for repo_ids
--- what's that, and how do I get it?

Here's what I tried:



import pygtk
pygtk.require('2.0')
import gtk
import gtk.bonobo


AttributeError: 'module' object has no attribute 'bonobo'

I'm sorry to ask such basic questions, but I haven't found any
documentation for this stuff at all, and I've been looking all over.


"import bonobo"

(assuming you have gnome-python installed)

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
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