[PyKDE] Re: sender() and PYSIGNALs

Giovanni Bajo rasky at develer.com
Mon Oct 24 00:14:07 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.


I assume that the so-called PyQt4 snapshot also works for Qt 3?

Giovanni Bajo




More information about the PyQt mailing list