[PyQt] Inspecting a pyqtBoundSignal
Elvis Stansvik
elvstone at gmail.com
Wed Jun 1 12:48:33 BST 2016
2016-06-01 13:47 GMT+02:00 Elvis Stansvik <elvstone at gmail.com>:
> 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']
Err, that was of course supposed to be someSignal = pyqtSignal(int,
str, arguments=['foo', 'bar'].
Elvis
>
> Can I at a later point get [int, str] and ['foo', 'bar'] from
> someObj.someSignal?
>
> Thanks in advance,
> Elvis
More information about the PyQt
mailing list