On 02/08/2013 05:32 AM, Oneill wrote:



Your emails are very hard to read, since your mailer doublespaces nearly everything you quote.

 <snip>


What's the objc module got to do with the mouse?



      http://packages.python.org/pyobjc/api/module-objc.html



Perhaps you meant some other module.  Could you be specific?  What

modules did you import, what other code did you write, what version of

Python are you running, and on which computer OS did you get the results

you describe?



--

DaveA



Well without PyObjc i couldnt control the mouse... I saw some examples 
importing Quartz  but that also failed...

Well, now I can guess some of the answers to my questions. You mentioned Windows, but apparently that was a red herring. You are apparently writing an objective C application (Cocoa) for the iPhone, and using the pyobjc module to translate Python to Objective C.

so the answer to your original problem (mouse going to 0,0) could need some combination of Mac development tools, Cocoa runtime environment, etc. to solve. You're not writing cross-platform, so you've rejected the standard guis for doing this sort of thing.

Perhaps the page at
    http://docs.python-guide.org/en/latest/scenarios/gui/

could be of help in choosing a different gui toolkit.

But I can't figure I'd be of any help, since I don't have a Mac, nor a license for their development environment, nor any docs for either.



--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to