[PyKDE] QWidget::event(QEvent *)

Patrick Stinson ajole-1 at gci.net
Mon Dec 1 22:41:01 GMT 2003


Like I said, I get

TypeError: Invalid result type from QObject.event()

when I return a 0 or a 1.

On Thursday 20 November 2003 22:38, Phil Thompson wrote:
> 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
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde




More information about the PyQt mailing list