[PyQt] Inspecting a pyqtBoundSignal

Elvis Stansvik elvstone at gmail.com
Wed Jun 1 12:56:44 BST 2016


2016-06-01 13:54 GMT+02:00 Phil Thompson <phil at riverbankcomputing.com>:
> On 1 Jun 2016, at 12:47 pm, Elvis Stansvik <elvstone at gmail.com> wrote:
>>
>> Hi all,
>>
>> Is there some way of inspecting a pyqtBoundSignal? In my case, I'd
>> like to get the types and names of its arguments.
>>
>> E.g. if I have declared:
>>
>>    someSignal(int, str, arguments=['foo', 'bar']
>>
>> Can I at a later point get [int, str] and ['foo', 'bar'] from
>> someObj.someSignal?
>
> Sorry, no.

Alright, thanks for the quick response!

Elvis

>
> Phil


More information about the PyQt mailing list