X/Linux mouse_event (like in win32api)
Jorgen Grahn
grahn+nntp at snipabacken.dyndns.org
Sun Dec 2 10:34:14 EST 2007
On Thu, 29 Nov 2007 01:59:20 -0800 (PST), Atila Olah <jolafix at gmail.com> wrote:
> Hello everyone.
> I would like to be able to emit a mouse click on my xgl/compiz
> desktop, like I used to do in Windows:
...
> Is there a way to interact directly with the X server (or with the
> kernel?) to simulate a click? And if it can't be done in Python, where
> should I go?
This is probably best done in Xlib, the lowest-level X11 API. See the
XSendEvent() call, and feed it to Google for more information.
I think there is a Python interface to Xlib, although I haven't used it.
/Jorgen
--
// Jorgen Grahn <grahn@ Ph'nglui mglw'nafh Cthulhu
\X/ snipabacken.dyndns.org> R'lyeh wgah'nagl fhtagn!
More information about the Python-list
mailing list