UnoService in PyUNO for keyboard shortcuts in extensions: JobExecutor never called.

Miklos Vajna vmiklos at collabora.co.uk
Tue Aug 8 07:30:59 UTC 2017


Hi,

On Tue, Aug 08, 2017 at 09:21:36AM +0200, jan d <dittrich.c.jan at gmail.com> wrote:
> POSSIBLE PROBLEM SOURCES:
> * I was unable to find the docuementation for
> g_ImplementationHelper.addImplementation e.g. if it takes a class or an
> instance. I tried with both (the inked example is an instance), non worked.

https://gerrit.libreoffice.org/gitweb?p=sdk-examples.git;a=blob;f=TuesdayPython/TuesdayPrinter.py;hb=HEAD#l61

I think this does something similar to your use-case, and there you can
see that addImplementation() takes a class, not an instance.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170808/6c70d3e8/attachment.sig>


More information about the LibreOffice mailing list