I'm using PyQt. I want to detect when a user resizes columns in a QTableWidget.
This answer for C++ suggests that the signal will be QTableWidget.horizontalHeader.sectionResized
, but that gives this error:
AttributeError: 'builtin_function_or_method' object has no attribute 'sectionResized'
How can I connect in Python to the sectionResized
signal?