[PyKDE] QWidget::event(QEvent *)

Simon Edwards simon at simonzone.com
Fri Nov 21 08:42:01 GMT 2003


On Wednesday 12 November 2003 22:26, 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? At the moment I get 
> 
> TypeError: Invalid result type from QObject.event()

errr... have you tried True and False? python bools.

-- 
Simon Edwards             | Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."




More information about the PyQt mailing list