Re: pyspi buch of questions
- From: Zack Cerza <zcerza redhat com>
- To: rock p <rockp414 gmail com>
- Cc: pyspi-list gnome org
- Subject: Re: pyspi buch of questions
- Date: Wed, 30 Jun 2010 13:18:54 -0400
First, pyspi has been obseleted by pyatspi, which should be available
in your distribution either as pyatspi, python-at-spi, or at-spi-python.
To track the mouse cursor's location, you can use
pyatspi.Registry.registerEventListener to listen for the "mouse:rel"
events. The best documentation I know of is located here 
As for your second problem, I would try it with pyatspi and see if it's
On Wed, 2010-06-30 at 00:30 -0700, rock p wrote:
> I quickly look but i din't find what i was looking for.
> Do you know if it's possible to have the position of the cursor
> (mouse), and the screen resolution ?
> I have also a wired bug when i use the press fonction (1) on the
> header of a window in order to move it, the mouse stay as press
> position even if i use the click double click or the release (2).
> Does anyone have the same problem ?
> (1) Registry.generateMouseEvent(self.posX,self.posY, 'b1sp')
> (2) Registry.generateMouseEvent(self.posX,self.posY, 'b1sr')
> pyspi-list mailing list
> pyspi-list gnome org
][Date Next] [Thread Prev