[PyKDE] Re: sender() and PYSIGNALs

Giovanni Bajo rasky at develer.com
Mon Oct 24 15:53:19 BST 2005


Phil Thompson <phil at riverbankcomputing.co.uk> wrote:

>> It appears that QObject::sender() returns None when called from a slot
>> invoked through a PYSIGNAL. Is there a way to access the information also
>> for PYSIGNALs? Would it be possible to modify sender() so that it works
>> also for PYSIGNALs?
>
> Try tonight's snapshots (SIP and PyQt) - not heavily tested.

It works, thanks!
-- 
Giovanni Bajo




More information about the PyQt mailing list