James Henstridge wrote:
the Uploader object here is a Servant object, while the factory function is required to return a bonobo.Object instance. It is currently not possible to do this for custom interfaces in Python.

:-(


If that requirement is part of the bonobo GenericFactory interface, can I instead create my own UploaderFactory interface that is declared to return an Uploader object? If I do that, though, will I still be able to use bonobo's activation infrastructure? Or is the activation infrastructure fundamentally tied to GenericFactory and therefore to bonobo.Object?

Taking a different approach, what are other examples of (non-custom) interfaces for which GenericFactory does work? I know about bonobo.Component, but I assumed that this provides widget embedding support which I do not need. Is there some other bonobo.Object subclass that would be a suitable superclass for my service? (Again, my service has a standalone PyGTK GUI in the form of a notification area icon, but is not intended for embedding within clients.)

Thanks!

_______________________________________________
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