Get slot information from PythonQt object #73
-
Hey @florianlink , @sboehmann , I've try to build a Is there any possiblity (maybe via patch) to get to this information without raising an error per PythonQt object? The information seems to be stored in Any idea, help? Thanks in advance Tonka |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry, I overlooked this... Slots have the following methods, which return tuples for all overloads: parameterTypes", (PyCFunction)PythonQtSlotFunction_parameterTypes, METH_NOARGS, |
Beta Was this translation helpful? Give feedback.
Sorry, I overlooked this...
Slots have the following methods, which return tuples for all overloads:
parameterTypes", (PyCFunction)PythonQtSlotFunction_parameterTypes, METH_NOARGS,
"Returns a tuple of tuples of the C++ parameter types for all overloads of the slot"
},
{"parameterNames", (PyCFunction)PythonQtSlotFunction_parameterNames, METH_NOARGS,
"Returns a tuple of tuples of the C++ parameter type names (if available), for all overloads of the slot"
},
{"typeName", (PyCFunction)PythonQtSlotFunction_typeName, METH_NOARGS,
"Returns a tuple of the C++ return value types of each slot overload"
},