[Tutor] what is the meaning of variable e

2013-04-25 Thread wang yong
Hi tutors, I am a newb. Please bear with my simple question. Please refer to the code as following. The question is: what is the special meaning of 'e' variable in the class of 'Button'. The second one is how function 'dragEnterEvent' and 'dropEvent' got executed with calling from class 'example'.

[Tutor] Use python to read data from mouse but not move cursor

2012-12-24 Thread wang yong
Hi Tutors, I am new to Python. I am trying to use win32api to read out mouse movement from an additional mouse attached to my compputer. But, I do not want this mouse to move my cursor. So, do you guys have any suggestions or codes for this task! Really appreciate it! Thanks for the help. Yong ___