Re: [Orbit-python-list] Hello, hints anyone?
Status: Inactive
Brought to you by:
tack
From: Johan D. <zil...@ho...> - 2001-08-26 19:57:28
|
s_ 2001-08-26 klockan 21.35 skrev Michele Campeotto: > On 26 Aug 2001 20:27:38 +0200, Johan Dahlin wrote: > > It's really simple to create your own container with help of > > BonoboWidget: > [code snipped] > > Yeah, this is what I see from the samples. But how I call methods on > the BonoboWidget? You can use: object_client = control.get_server () object_client.query_interface (...) as you did or do it directly through CORBA: control_corba = control.get_objref () control_corba.queryInterface (...) > I have attached what I have done so far (the example HTML is in > italian, but I don't think this to be a problem ;). > > Am I on the right track? Is it right to directly import the interfaces > I need or there is some other "automatic" way to do it? > How can I import the GNOME.GtkHTML.Editor.Engine interface without > manually loading the IDL? GtkHTML is broken. GtkHTML installs idl-files in /usr/share/gtkhtml when it should install idl files in /usr/share/idl. When GtkHTML install it's files in the correct dir, from GNOME.GtkHTML.Editor import Engine should work just fine. > Why does the NautilusView example doesn't work? Is the problem in the > sample code or in the wrapper? Because newer versions of GtkHTML requires gconf and it's not wrapped in python (yet). But i might fix this by using the GtkHTML component in a container, so i don't need to talk to GtkHTML directly. > > Sorry for putting so many questions on a single message, but I'm > really excited about Bonobo-Python! I'd like to have a complete > GNOME-Python development environment... > > > Thanks, > Michele > > P.S. How about moving Bonobo-Python development to SourceForge? > Na, i like GNOME CVS, but i need to put up a separate mailing list soon :) -- ------------------------------------------------- - Johan Dahlin Address: - - zi...@as... Nygatan 17, nb - - zil...@ho... 523 30 Ulricehamn - - PHONE: +46 (0)321-17559 SWEDEN - - IRC: zilch @ irc.gnome.org - ------------------------------------------------- |