On Saturday 24 October 2009 17:45:24 Andreas Saeger wrote:
> Anthony Messina wrote:
> > I am working on an application in Python/PyUNO (to which I am very new)
> > and am  having a heck of a time creating an XTerminateListener for the
> > desktop. 
> > The connection to OpenOffice is extablised as follows, where OO is
> > already  listening on the 'fax-gw' pipe:
> > 
> 
> import unohelper
> 
> # lots of code...
> 
> g_ImplementationHelper = unohelper.ImplementationHelper()
> g_ImplementationHelper.addImplementation(
>      TerminateListener,
>      'com.sun.star.frame.Desktop',()
> )
> 

Andreas, thank you.  This worked very well.

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to