<div dir="ltr"><div><div>I'm trying to override and call the base class version of QWidget.nativeEvent() and just print out<br>what is happening.<br><br></div>I am having difficulty understanding how to pass a long* as result. <br>
</div><div>And calling it via super() gives me this strange message:<br><br>TypeError: nativeEvent() missing 1 required positional argument: 'result'<br></div><div><br>def nativeEvent(self, eventType, message, result):<br>
retval = super(QWidget, self).nativeEvent(eventType, message, result)<br> print ("nativeevent: %s %s" % (eventType, message))<br> return retval<br><br></div>What am I doing wrong?<br><br></div>