[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QWidget::event(QEvent *)
From:       Patrick Stinson <ajole-1 () gci ! net>
Date:       2003-11-26 18:43:38
[Download RAW message or body]

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@mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic