[PyKDE] QWidget::event(QEvent *)

Phil Thompson phil at riverbankcomputing.co.uk
Fri Nov 21 08:39:01 GMT 2003


On Wednesday 12 November 2003 9:26 pm, Patrick Stinson wrote:
> what should a python method return from QWidget.event()? Will sip correctly
> parse a 1 or 0 to a C++ bool inside the wrapping bumble?

Yes.

> At the moment I
> get
>
> TypeError: Invalid result type from QObject.event()

Phil




More information about the PyQt mailing list