monitor mouse coordinates in real-time
jabba.laci at gmail.com
Wed Aug 17 17:20:52 CEST 2011
Thanks, the problem got solved. The updated version can be found at
https://gist.github.com/1144708 in a comment below the original post.
def quit(self, widget):
It was not evident that quit() must be passed the argument "widget" too.
On Wed, Aug 17, 2011 at 16:48, MrJean1 <mrjean1 at gmail.com> wrote:
> Check that the app.quit method registered with atexit is called. E.g.
> on Windows, that may not be the case.
> On Aug 14, 9:39 am, Jabba Laci <jabba.l... at gmail.com> wrote:
>> I'm trying something similar. In the thread there is a variable which
>> is modified by the parent. However, the thread doesn't quit the
>> infinite loop. If someone could provide a patch, that'd be really
>> On Sun, Aug 14, 2011 at 13:00, TheSaint <n... at nowhere.net.no> wrote:
>> > Jabba Laci wrote:
>> >> Could you please help me out how to close the application correctly?
>> > I think you should put a flag into the code, which the parent might modify
>> > it, so it will tell the child process to quit.
>> > Then the flag should need to be read periodically to know whether is time to
>> > quit.
>> > --
More information about the Python-list