[pygtk] LDTP - Your inputs will drive us

Christian Robottom Reis kiko at async.com.br
Thu Jul 15 21:55:35 WST 2004


On Wed, Jul 14, 2004 at 03:37:01PM -0700, Nagappan wrote:
> Flow of libgtkauto: The current implementation is done in C and GTK
> module. So, this code can be plugged into any GTK applications at
> run-time. 

So it is clear, note that this is done by supplying
--gtk-module=libgtkauto.so

> 3) If Python / Perl / Java / Guile / Tcl provides a function like
> gtk_module_init, then all my problems may be solved :) 

Given that the "--gtk-module" argument is passed by PyGTK into GTK+, I
think it is indeed possible to use it for Python programs by supplying
it via sys.argv. 

However, this would only allow you to test Python programs using Python
-- you wouldn't have the flexible system that D-BUS/Bonobo could allow.
Then again, I wonder if YAGNI.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331


More information about the pygtk mailing list