[PyKDE] Static member functions

Hihn, Jason Jason.Hihn at verint.com
Mon Dec 13 21:06:13 GMT 2004

I need to have a lostfocus event store the object that created the
event. In my previous language, I had a global function that could do
it, because I could bring it in to the class by setting it at run-time.
The 'this' object, would then be the object that generated the event. It
was then easy enough to say : global lostFicusObj=this

Then later, I could use this.whatever()

How can I do this in python? I'd really hate to have a function for
every possible widget.


This electronic message may contain proprietary and confidential information of Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above.  If you are not the intended recipient (or authorized to receive this e-mail for the intended recipient), you may not use, copy, disclose or distribute to anyone this message or any information contained in this message.  If you have received this electronic message in error, please notify us by replying to this e-mail. (1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20041213/6d970894/attachment.html

More information about the PyQt mailing list