Share

Python X Library

Code

Programming Languages: Python

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2009-06-05 svn co https://python-xlib.svn.sourceforge.net/svnroot/python-xlib python-xlib

Show:

What's happening?

  • error.MethodOverrideError not found

    display.py uses error.MethodOverrideError (line 266 on trunk), but this is not defined on module error.py.

    2009-09-04 10:51:53 UTC by nobody

  • Comment: record extension no longer works

    Considering this is broken, there is some small discussion if it will ever be fixed. Is there any chance that there's an XInput extension planned/in the works/already done? With that, I could at least hook x events, though in a kludgy/not meant for it way.

    2009-07-26 05:26:46 UTC by nobody

  • Comment: display.send_event works, window.send_event doesn't

    This may be a bug in my code, but I'm not sure. Probably what I'm doing with display is non-standard... Here's some more details of what I'm doing: 1. I have one function that grabs the pointer and then has the user select a window. I take the click event and use it to find the window (event.child). I save this event. The display object is local to this function so it falls out of scope. 2. I...

    2009-07-17 05:43:08 UTC by nobody

  • Comment: display.send_event works, window.send_event doesn't

    In that context, self.id is identical to self, just a bit of an optimization, so that's not the cause. Did you pass the same window object as first argument to display.send_event()? Sending input events directly to windows with send_event() is quite complicated (at least I have never tried to understand the propagation etc) while PointerWindow and InputFocus is a bit more straight-forward...

    2009-06-21 18:23:40 UTC by petli

  • display.send_event works, window.send_event doesn't

    I was using python-xlib-0.14 to send keypresses to another window. When I used window.send_event to send keypresses, the keypresses silently disappeared (even when the onerror handler was provided). Then I used display.send_event, the keypresses were correctly received by the application. Probably need to change window.send_event to specify the window (self), not the window.id (self.id)...

    2009-06-18 05:06:05 UTC by shadowslicer

  • Python X Library

    funkiedamouse committed revision 135 to the Python X Library SVN repository, changing 1 files.

    2009-06-05 20:49:07 UTC by funkiedamouse

  • Python X Library

    funkiedamouse committed revision 134 to the Python X Library SVN repository, changing 4 files.

    2009-06-02 21:14:36 UTC by funkiedamouse

  • Comment: record extension no longer works

    Looks like this is probably an upstream problem :( See https://bugs.freedesktop.org/show_bug.cgi?id=20500 - quote "RECORD is heavily broken at the moment and in desperate need of love. The whole event delivery changed under it. How quickly that'll get fixed, I don't know.".

    2009-05-26 19:09:14 UTC by mggrant

  • record extension no longer works

    Record extension no longer works on the last ubuntu (9.04). There is no error, but no event is recorded and many code based on python-xlib and record extension no longer works. Try record_demo in examples to see the problem.

    2009-05-26 09:47:44 UTC by nobody

  • Comment: get_motion_events always returning []

    Oh, I missed lkd's comment that said the same thing. Now I feel old and silly.

    2009-04-11 23:24:04 UTC by petli