Re: [Tutor] what is the meaning of variable e

2013-04-25 Thread Dave Angel
On 04/26/2013 01:45 AM, wang yong wrote: Hi tutors, I am a newb. Please bear with my simple question. If you're new to Python, then any GUI question isn't "simple." But perhaps you're not new to Python, but only to PyQT. I'll qualify my remarks with the statement that I'm not familiar with

Re: [Tutor] what is the meaning of variable e

2013-04-25 Thread Steven D'Aprano
On 26/04/13 15:45, wang yong wrote: 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'. 'e' is the argument to the dragEnterEvent and dropEvent methods. You w

[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'.