Hi all,

I am developping an addon for Draw that add functions to use it as a ligth CAD software. It worked with OO.o 1.1.5 using mouseMotionListener to do interactive drawing, but with 2.0.x the api changed, for example the XWindow interface of the DrawingDocumentDrawView service became optionnal.

I tried the folowing python code :
       self.aComponentWindow = self.aController.Frame.ComponentWindow
self.aContainerWindow = self.aController.Frame.ContainerWindow
       self.aComponentWindow.addMouseMotionListener(self)
       for w in self.aComponentWindow.Windows:
           w.addMouseMotionListener(self)
       self.aContainerWindow.addMouseMotionListener(self)
       for w in self.aContainerWindow.Windows:
           w.addMouseMotionListener(self)

Some of that windows gives an answer, but the interesting one does not.

Is it anymore impossible to register mouseMotionListener at a main window ?

Thanks,
Gerard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to